@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
|
@@ -16,6 +16,9 @@ export interface ExistingDocument extends Document {
|
|
|
16
16
|
id: string;
|
|
17
17
|
type: DocumentType;
|
|
18
18
|
}
|
|
19
|
+
export interface ExistingDocumentWithModificationDate extends ExistingDocument {
|
|
20
|
+
modificationDate: string;
|
|
21
|
+
}
|
|
19
22
|
export declare enum DocumentType {
|
|
20
23
|
BANK_STATEMENT = "bankStatement",
|
|
21
24
|
CONSTITUTIONAL_DOCUMENT = "constitutionalDocument",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { TaskTypes } from '#stores/globalStore/taskTypes';
|
|
1
2
|
import type { BankVerificationVendor, CountryBankVerificationVendors } from '../../../components/BankAccount/forms/BankVerification/types';
|
|
2
|
-
import type { TaskTypes } from '../../../stores/globalStore/taskTypes';
|
|
3
3
|
import type { CountryCode } from '../country-code';
|
|
4
4
|
import type { CapabilityName } from './capability';
|
|
5
5
|
import type { GetScenariosResponse } from './get-scenarios';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { TaskTypes } from '
|
|
1
|
+
import type { TaskTypes } from '#stores/globalStore/taskTypes';
|
|
2
2
|
export type GetTasksResponse = TaskTypes[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TranslationKey } from '
|
|
1
|
+
import type { TranslationKey } from '#language/types';
|
|
2
2
|
import { CompanyTypesValue } from './api/company-types-value';
|
|
3
3
|
import type { CountryConfig } from './country-config';
|
|
4
4
|
import type { ScenarioFields, ScenarioFieldSettings } from './scenario-fields';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { MaskSettings } from '#hooks/useForm/types';
|
|
2
|
+
import type { Translatable, TranslationKey } from '#language/types';
|
|
1
3
|
import type { ValidatorRule } from '#utils/validation/types';
|
|
2
|
-
import type { Translatable, TranslationKey } from '../../language/types';
|
|
3
|
-
import type { MaskSettings } from '../hooks/useForm/types';
|
|
4
4
|
import type { CountryCode } from './country-code';
|
|
5
5
|
export type CountryConfig<Options = unknown> = Partial<Record<CountryCode, {
|
|
6
6
|
[field: string]: FieldMetadata<Record<string, string>, string> | ((options: Options) => FieldMetadata<Record<string, string>, string>);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TaskStatusWithReason } from '
|
|
1
|
+
import type { TaskStatusWithReason } from '#stores/globalStore/taskStatus';
|
|
2
2
|
import type { EntityType } from '../api/entity-type';
|
|
3
3
|
import type { LegalEntityType } from '../api/legal-entity-type';
|
|
4
4
|
import type { VerificationError } from '../api/verification-error';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { TranslationKey } from '
|
|
1
|
+
import type { TranslationKey } from '#language/types';
|
|
2
2
|
export type ErrorCode = Extract<TranslationKey, `errorMessage_${string}`> extends `errorMessage_${infer R}` ? R : never;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TranslationKey } from '
|
|
1
|
+
import type { TranslationKey } from '#language/types';
|
|
2
2
|
export type RemediationCode = Extract<TranslationKey, `remediationMessage_${string}`> extends `remediationMessage_${infer R}` ? R : never;
|
|
3
3
|
export interface Remediation {
|
|
4
4
|
code: RemediationCode;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
1
|
+
import type { ExperimentName } from '#context/ExperimentContext/types';
|
|
2
|
+
import type { SettingName } from '#context/SettingsContext/types';
|
|
3
|
+
import type { TopLevelDataSchema } from '#context/StateContext/types';
|
|
4
|
+
import type { AccountFormatRequirements } from '#datasets/generators/getAccountFormatForCountry';
|
|
5
|
+
import type { TaskTypes } from '#stores/globalStore/taskTypes';
|
|
6
6
|
import type { AccountHolderOption } from '../types/AccountHolder.types';
|
|
7
7
|
import type { ExistingLegalEntity } from './api/legal-entity';
|
|
8
8
|
import type { CountryCode } from './country-code';
|
|
@@ -7,22 +7,22 @@ export declare const fieldsPerScenario: {
|
|
|
7
7
|
[key: string]: ScenarioFieldSettings<unknown>;
|
|
8
8
|
};
|
|
9
9
|
L1_ID: {
|
|
10
|
+
expiryDate: ScenarioFieldSettings<unknown>;
|
|
10
11
|
issuerState: ScenarioFieldSettings<unknown>;
|
|
11
12
|
licenseCardNumber: ScenarioFieldSettings<unknown>;
|
|
12
13
|
typeOfIdentity: ScenarioFieldSettings<unknown>;
|
|
13
|
-
expiryDate: ScenarioFieldSettings<unknown>;
|
|
14
14
|
};
|
|
15
15
|
L1_IDO: {
|
|
16
|
+
expiryDate: ScenarioFieldSettings<unknown>;
|
|
16
17
|
issuerState: ScenarioFieldSettings<unknown>;
|
|
17
18
|
licenseCardNumber: ScenarioFieldSettings<unknown>;
|
|
18
19
|
typeOfIdentity: ScenarioFieldSettings<unknown>;
|
|
19
|
-
expiryDate: ScenarioFieldSettings<unknown>;
|
|
20
20
|
};
|
|
21
21
|
L1_NAT: {
|
|
22
|
+
expiryDate: ScenarioFieldSettings<unknown>;
|
|
22
23
|
issuerState: ScenarioFieldSettings<unknown>;
|
|
23
24
|
licenseCardNumber: ScenarioFieldSettings<unknown>;
|
|
24
25
|
typeOfIdentity: ScenarioFieldSettings<unknown>;
|
|
25
|
-
expiryDate: ScenarioFieldSettings<unknown>;
|
|
26
26
|
};
|
|
27
27
|
L1_IDDOC: {
|
|
28
28
|
[key: string]: ScenarioFieldSettings<unknown>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TranslationKey } from '
|
|
1
|
+
import type { TranslationKey } from '#language/types';
|
|
2
2
|
import type { TrustMemberType } from './api/trust-member-type';
|
|
3
3
|
import type { CountryCode } from './country-code';
|
|
4
4
|
import type { CountryConfig } from './country-config';
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import type { BaseOuterFormProps } from '#hooks/useForm/types';
|
|
2
|
+
import type { Scenario } from '#models/api/get-scenarios';
|
|
3
|
+
import type { LegalEntityTrustedFields } from '#models/api/legal-entity';
|
|
4
|
+
import type { LegalEntityType } from '#models/api/legal-entity-type';
|
|
5
|
+
import type { VerificationError } from '#models/api/verification-error';
|
|
6
|
+
import type { CountryCode } from '#models/country-code';
|
|
7
|
+
import type { Remediation } from '#models/errors/remediation';
|
|
8
|
+
import type { FieldConfigurations } from '#models/field-configurations';
|
|
9
|
+
import type { FormList } from '#models/form';
|
|
1
10
|
import type { AnyTLDSFieldName } from '#utils/getFieldsWithExistingData';
|
|
2
11
|
import type { ValidatorRules } from '#utils/validation/types';
|
|
3
12
|
import type { PayoutAccountSchema } from '../components/BankAccount/forms/PayoutAccount/types';
|
|
@@ -7,15 +16,6 @@ import type { HighExposureSchema } from '../components/EFP/tasks/HighExposureDro
|
|
|
7
16
|
import type { IndividualSchema } from '../components/Individual/forms/Individual/types';
|
|
8
17
|
import type { SolePropSchema } from '../components/SoleProprietorship/forms/SoleProp/types';
|
|
9
18
|
import type { TrustSchema } from '../components/Trust/forms/Trust/types';
|
|
10
|
-
import type { BaseOuterFormProps } from './hooks/useForm/types';
|
|
11
|
-
import type { Scenario } from './models/api/get-scenarios';
|
|
12
|
-
import type { LegalEntityTrustedFields } from './models/api/legal-entity';
|
|
13
|
-
import type { LegalEntityType } from './models/api/legal-entity-type';
|
|
14
|
-
import type { VerificationError } from './models/api/verification-error';
|
|
15
|
-
import type { CountryCode } from './models/country-code';
|
|
16
|
-
import type { Remediation } from './models/errors/remediation';
|
|
17
|
-
import type { FieldConfigurations } from './models/field-configurations';
|
|
18
|
-
import type { FormList } from './models/form';
|
|
19
19
|
export declare const parseIndividualScenarios: (scenario: Scenario[] | undefined) => FieldConfigurations<IndividualSchema>;
|
|
20
20
|
export declare function parseBusinessDetailsScenarios(scenario: Scenario[] | undefined, country: CountryCode): FieldConfigurations<BusinessDetailsSchema>;
|
|
21
21
|
export declare function parseCompanyScenarios(scenario: Scenario[], country: CountryCode): FieldConfigurations<CompanySchema>;
|
|
@@ -70,4 +70,4 @@ export type PropsFromConfiguration<FormSchema> = Required<Pick<BaseOuterFormProp
|
|
|
70
70
|
* }
|
|
71
71
|
* ```
|
|
72
72
|
*/
|
|
73
|
-
export declare function getPropsFromConfigurations<FormSchema extends object>(scenarioConfiguration: FieldConfigurations<FormSchema> | undefined, forms: FormList, remediationActions: Remediation[], dataMissingErrors: VerificationError[], fieldsWithExistingData: AnyTLDSFieldName[], customRules: {}, customLabels: {}, customValidators: {}, legalEntityType: LegalEntityType, legalEntityTrustedFields?: LegalEntityTrustedFields[], remediationFieldAsOptional?: boolean): PropsFromConfiguration<FormSchema> | undefined;
|
|
73
|
+
export declare function getPropsFromConfigurations<FormSchema extends object>(scenarioConfiguration: FieldConfigurations<FormSchema> | undefined, forms: FormList, remediationActions: Remediation[], dataMissingErrors: VerificationError[], fieldsWithExistingData: AnyTLDSFieldName[], customRules: {}, customLabels: {}, customValidators: {}, legalEntityType: LegalEntityType | undefined, legalEntityTrustedFields?: LegalEntityTrustedFields[], remediationFieldAsOptional?: boolean): PropsFromConfiguration<FormSchema> | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
+
import type { DataSet } from '#models/api/data-set';
|
|
1
2
|
import type { DatasetIdentifier } from '#utils/datasetUtil';
|
|
2
|
-
import type { DataSet } from '../../models/api/data-set';
|
|
3
3
|
export declare const getDataset: (identifier: DatasetIdentifier, locale: string) => Promise<DataSet>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ServiceAgreementSignRequest, ServiceAgreementSignResponse } from '
|
|
1
|
+
import type { ServiceAgreementSignRequest, ServiceAgreementSignResponse } from '#models/api/contracts';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const acceptServiceAgreement: (context: ComponentApiRequestContext, termsOfServiceDocumentId: string, data: ServiceAgreementSignRequest) => Promise<ServiceAgreementSignResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CompanySearchRequest, CompanySearchResponse } from '
|
|
1
|
+
import type { CompanySearchRequest, CompanySearchResponse } from '#models/api/company-search';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const companyDeepSearch: (context: ComponentApiRequestContext, data: CompanySearchRequest) => Promise<CompanySearchResponse>;
|
|
4
4
|
export declare const companyRegistrationNumberDeepSearch: (context: ComponentApiRequestContext, data: CompanySearchRequest) => Promise<CompanySearchResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CompanySearchRequest, CompanySearchResponse } from '
|
|
1
|
+
import type { CompanySearchRequest, CompanySearchResponse } from '#models/api/company-search';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const companyIndexSearch: (context: ComponentApiRequestContext, data: CompanySearchRequest) => Promise<CompanySearchResponse>;
|
|
4
4
|
export declare const companyRegistrationNumberIndexSearch: (context: ComponentApiRequestContext, data: CompanySearchRequest) => Promise<CompanySearchResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ReviewCompletion } from '
|
|
1
|
+
import type { ReviewCompletion } from '#models/api/review';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const confirmDataReview: (context: ComponentApiRequestContext) => Promise<ReviewCompletion>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Document, ExistingDocument } from '
|
|
1
|
+
import type { Document, ExistingDocument } from '#models/api/document';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const createDocument: (context: ComponentApiRequestContext, document: Document, ownerId: string) => Promise<ExistingDocument>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExistingLegalEntity, LegalEntity } from '
|
|
1
|
+
import type { ExistingLegalEntity, LegalEntity } from '#models/api/legal-entity';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const createLegalEntity: (context: ComponentApiRequestContext, legalEntity: LegalEntity) => Promise<ExistingLegalEntity>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExistingTransferInstrument, TransferInstrument } from '
|
|
1
|
+
import type { ExistingTransferInstrument, TransferInstrument } from '#models/api/transfer-instrument';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const createTransferInstrument: (context: ComponentApiRequestContext, transferInstrument: TransferInstrument) => Promise<ExistingTransferInstrument>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CreateTrustedTransferInstrumentResponse } from '
|
|
1
|
+
import type { CreateTrustedTransferInstrumentResponse } from '#models/api/trusted-transferInstrument';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const createTrustedTransferInstrument: (context: ComponentApiRequestContext, code: string, state: string) => Promise<CreateTrustedTransferInstrumentResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExistingDocument } from '
|
|
1
|
+
import type { ExistingDocument } from '#models/api/document';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const deleteDocument: (context: ComponentApiRequestContext, documentId: string) => Promise<ExistingDocument>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExistingTransferInstrument } from '
|
|
1
|
+
import type { ExistingTransferInstrument } from '#models/api/transfer-instrument';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const deleteTransferInstrument: (context: ComponentApiRequestContext, transferInstrumentId: ExistingTransferInstrument["id"]) => Promise<ExistingTransferInstrument>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { DownloadPci } from '
|
|
1
|
+
import type { DownloadPci } from '#models/api/contracts';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const downloadPci: (context: ComponentApiRequestContext, pciDocumentReference: string) => Promise<DownloadPci>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ServiceAgreementAcceptedDocumentResponse, TermsOfServiceDocumentFormat } from '
|
|
1
|
+
import type { ServiceAgreementAcceptedDocumentResponse, TermsOfServiceDocumentFormat } from '#models/api/contracts';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getAcceptedServiceAgreement: (context: ComponentApiRequestContext, termsOfServiceAcceptanceReference: string, documentFormat: TermsOfServiceDocumentFormat) => Promise<ServiceAgreementAcceptedDocumentResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { LoqateAddress } from '
|
|
1
|
+
import type { LoqateAddress } from '#models/api/address-search';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getAddress: (context: ComponentApiRequestContext, addressId: string) => Promise<LoqateAddress>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { GetAllowedLocalesResponse } from '
|
|
1
|
+
import type { GetAllowedLocalesResponse } from '#models/api/get-allowed-locales';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getAllowedLocales: (context: ComponentApiRequestContext) => Promise<GetAllowedLocalesResponse>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { EmbeddedAnalyticsSessionRequest, EmbeddedAnalyticsSessionResponse } from '
|
|
1
|
+
import type { EmbeddedAnalyticsSessionRequest, EmbeddedAnalyticsSessionResponse } from '#models/api/analytics';
|
|
2
2
|
export declare const getAnalyticsSession: (loadingContext: string, data: EmbeddedAnalyticsSessionRequest) => Promise<EmbeddedAnalyticsSessionResponse>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Language } from '
|
|
2
|
-
import type { BankVerificationVendorsResponse } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { Language } from '#language/Language';
|
|
2
|
+
import type { BankVerificationVendorsResponse } from '#models/api/get-bankVerification-providers';
|
|
3
|
+
import type { CountryCode } from '#models/country-code';
|
|
4
4
|
import type { ComponentApiRequestContext } from '../types';
|
|
5
5
|
export declare const getBankVerificationVendor: (context: ComponentApiRequestContext, country: CountryCode, openBankingPartnerConfigId?: string, locale?: Language["locale"]) => Promise<BankVerificationVendorsResponse>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { BusinessLinesType } from '
|
|
1
|
+
import type { BusinessLinesType } from '#models/api/source-of-funds';
|
|
2
2
|
export declare const getBusinessLines: (loadingContext: string, legalEntityId: string) => Promise<BusinessLinesType[]>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CompanyDatasetRequest, CompanyDatasetResponse } from '
|
|
1
|
+
import type { CompanyDatasetRequest, CompanyDatasetResponse } from '#models/api/company-search';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getCompanyDataset: (context: ComponentApiRequestContext, data: CompanyDatasetRequest) => Promise<CompanyDatasetResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExistingDocument } from '
|
|
1
|
+
import type { ExistingDocument } from '#models/api/document';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getDocument: (context: ComponentApiRequestContext, documentId: string) => Promise<ExistingDocument>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '
|
|
1
|
+
import type { InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '#models/api/instant-id-verification';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getIdverificationToken: (context: ComponentApiRequestContext, request: InstantIdVerificationTokenRequest) => Promise<InstantIdVerificationTokenResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExistingLegalEntity, LegalEntity } from '
|
|
1
|
+
import type { ExistingLegalEntity, LegalEntity } from '#models/api/legal-entity';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getLegalEntity: (context: ComponentApiRequestContext, legalEntityId: LegalEntity["id"]) => Promise<ExistingLegalEntity>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { DataSet } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { DataSet } from '#models/api/data-set';
|
|
2
|
+
import type { CountryCode } from '#models/country-code';
|
|
3
3
|
export declare const getLegalForms: (base: string, countryCode?: CountryCode) => Promise<DataSet>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { DataSet } from '
|
|
1
|
+
import type { DataSet } from '#models/api/data-set';
|
|
2
2
|
export declare const getNaceCodes: (base: string) => Promise<DataSet>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { PciQuestionnaires } from '
|
|
1
|
+
import type { PciQuestionnaires } from '#models/api/contracts';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getPciQuestionnaires: (context: ComponentApiRequestContext) => Promise<PciQuestionnaires>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PciStatus, PciStatusRequest } from '
|
|
1
|
+
import type { PciStatus, PciStatusRequest } from '#models/api/contracts';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
/** @deprecated - migrating to fetchPciStatus */
|
|
4
4
|
export declare const getPciStatus: (context: ComponentApiRequestContext, data: PciStatusRequest) => Promise<PciStatus>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { PciTemplateRequest, PciTemplateResponse } from '
|
|
1
|
+
import type { PciTemplateRequest, PciTemplateResponse } from '#models/api/contracts';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getPciTemplate: (context: ComponentApiRequestContext, data: PciTemplateRequest) => Promise<PciTemplateResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ProviderStatusRequest, ProviderStatusResponse } from '
|
|
1
|
+
import type { ProviderStatusRequest, ProviderStatusResponse } from '#models/api/provider-status';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getProviderStatus: (context: ComponentApiRequestContext, request: ProviderStatusRequest) => Promise<ProviderStatusResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GetConfigurationRequest } from '
|
|
2
|
-
import type { GetScenariosResponse } from '
|
|
1
|
+
import type { GetConfigurationRequest } from '#models/api/get-configuration';
|
|
2
|
+
import type { GetScenariosResponse } from '#models/api/get-scenarios';
|
|
3
3
|
import type { ComponentApiRequestContext } from '../types';
|
|
4
4
|
export declare const getScenarios: (request: GetConfigurationRequest, context: ComponentApiRequestContext) => Promise<GetScenariosResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ServiceAgreementAcceptanceInfos } from '
|
|
1
|
+
import type { ServiceAgreementAcceptanceInfos } from '#models/api/contracts';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getServiceAgreementAcceptanceInfos: (context: ComponentApiRequestContext) => Promise<ServiceAgreementAcceptanceInfos>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type ServiceAgreementStatus } from '
|
|
1
|
+
import { type ServiceAgreementStatus } from '#models/api/contracts';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getServiceAgreementStatus: (context: ComponentApiRequestContext) => Promise<ServiceAgreementStatus>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type ServiceAgreementRequest, type ServiceAgreementResponse } from '
|
|
1
|
+
import { type ServiceAgreementRequest, type ServiceAgreementResponse } from '#models/api/contracts';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getServiceAgreement: (context: ComponentApiRequestContext, data: ServiceAgreementRequest) => Promise<ServiceAgreementResponse>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { DataSet } from '
|
|
1
|
+
import type { DataSet } from '#models/api/data-set';
|
|
2
2
|
export declare const getSourceOfFundsTypes: (base: string) => Promise<DataSet>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { GetAllowedCountriesResponse } from '
|
|
1
|
+
import type { GetAllowedCountriesResponse } from '#models/api/get-allowed-countries';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getSupportedCountries: (context: ComponentApiRequestContext) => Promise<GetAllowedCountriesResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { GetTasksResponse } from '
|
|
1
|
+
import type { GetTasksResponse } from '#models/api/get-tasks';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getTasks: (context: ComponentApiRequestContext) => Promise<GetTasksResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExistingTransferInstrument } from '
|
|
1
|
+
import type { ExistingTransferInstrument } from '#models/api/transfer-instrument';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getTransferInstrument: (context: ComponentApiRequestContext, transferInstrumentId: string) => Promise<ExistingTransferInstrument>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { TransferInstrumentReference } from '
|
|
1
|
+
import type { TransferInstrumentReference } from '#models/api/transfer-instrument-reference';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getTransferInstruments: (context: ComponentApiRequestContext) => Promise<TransferInstrumentReference[]>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { VersionConfiguration } from '
|
|
1
|
+
import type { VersionConfiguration } from '#models/api/version-configuration';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const getVersionConfiguration: (context: ComponentApiRequestContext) => Promise<VersionConfiguration>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { BankVerificationErrorResponse } from '
|
|
1
|
+
import type { BankVerificationErrorResponse } from '#models/api/trusted-transferInstrument';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const handleBankVerificationError: (context: ComponentApiRequestContext, errorCode: string, errorMessage: string, state: string, metadata?: Map<string, string>) => Promise<BankVerificationErrorResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { InstantIdVerificationStartCheckRequest, InstantIdVerificationStartCheckResponse } from '
|
|
1
|
+
import type { InstantIdVerificationStartCheckRequest, InstantIdVerificationStartCheckResponse } from '#models/api/instant-id-verification';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const idVerificationStartcheck: (context: ComponentApiRequestContext, request: InstantIdVerificationStartCheckRequest) => Promise<InstantIdVerificationStartCheckResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CompanyDatasetRequest, CompanyDatasetResponse } from '
|
|
1
|
+
import type { CompanyDatasetRequest, CompanyDatasetResponse } from '#models/api/company-search';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const refreshCompanyDataset: (context: ComponentApiRequestContext, data: CompanyDatasetRequest) => Promise<CompanyDatasetResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { AddressSearchRequest, AddressSearchResponse } from '
|
|
1
|
+
import type { AddressSearchRequest, AddressSearchResponse } from '#models/api/address-search';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const searchAddress: (context: ComponentApiRequestContext, address: AddressSearchRequest) => Promise<AddressSearchResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { PciQuestionnaireIds, SignedBy } from '
|
|
1
|
+
import type { PciQuestionnaireIds, SignedBy } from '#models/api/contracts';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const signPci: (context: ComponentApiRequestContext, data: SignedBy) => Promise<PciQuestionnaireIds>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Document, ExistingDocument } from '
|
|
1
|
+
import type { Document, ExistingDocument } from '#models/api/document';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const updateDocument: (context: ComponentApiRequestContext, document: Document, documentId: string, ownerId: string) => Promise<ExistingDocument>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExistingLegalEntity, LegalEntity } from '
|
|
1
|
+
import type { ExistingLegalEntity, LegalEntity } from '#models/api/legal-entity';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const updateLegalEntity: (context: ComponentApiRequestContext, legalEntity: LegalEntity, legalEntityId: LegalEntity["id"]) => Promise<ExistingLegalEntity>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { BusinessLinesType, SourceOfFundsPayloadType } from '
|
|
1
|
+
import type { BusinessLinesType, SourceOfFundsPayloadType } from '#models/api/source-of-funds';
|
|
2
2
|
export declare const updateSourceOfFunds: (loadingContext: string, legalEntityId: string, businessLineId: string, sourceOfFundData: SourceOfFundsPayloadType) => Promise<BusinessLinesType>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExistingTransferInstrument, TransferInstrument } from '
|
|
1
|
+
import type { ExistingTransferInstrument, TransferInstrument } from '#models/api/transfer-instrument';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const updateTransferInstrument: (context: ComponentApiRequestContext, transferInstrument: TransferInstrument, transferInstrumentId: string) => Promise<ExistingTransferInstrument>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountIdentification } from '
|
|
2
|
-
import type { AccountValidationResponse } from '
|
|
1
|
+
import type { AccountIdentification } from '#models/api/accountIdentification';
|
|
2
|
+
import type { AccountValidationResponse } from '#models/errors/validation-error';
|
|
3
3
|
import type { ComponentApiRequestContext } from '../types';
|
|
4
4
|
export declare const validateAccountIdentification: (context: ComponentApiRequestContext, payoutAccountDetails: AccountIdentification) => Promise<AccountValidationResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ValidationResponse } from '
|
|
1
|
+
import type { ValidationResponse } from '#models/errors/validation-error';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const validatePhoneNumber: (context: ComponentApiRequestContext, phoneNumber: string) => Promise<ValidationResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { VerifyIdNumberRequest, VerifyIdNumberResponse } from '
|
|
1
|
+
import type { VerifyIdNumberRequest, VerifyIdNumberResponse } from '#models/api/verify-id-number';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const verifyIdNumber: (context: ComponentApiRequestContext, request: VerifyIdNumberRequest) => Promise<VerifyIdNumberResponse | undefined>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { TinVerificationRequest, TinVerificationResponse } from '
|
|
1
|
+
import type { TinVerificationRequest, TinVerificationResponse } from '#models/api/company-search';
|
|
2
2
|
import type { ComponentApiRequestContext } from '../types';
|
|
3
3
|
export declare const verifyTin: (context: ComponentApiRequestContext, data: TinVerificationRequest) => Promise<TinVerificationResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { GetAllowedCountriesResponse } from '
|
|
1
|
+
import type { GetAllowedCountriesResponse } from '#models/api/get-allowed-countries';
|
|
2
2
|
import type { RequestContext } from '../types';
|
|
3
3
|
export declare const getAllowedCountries: (context: RequestContext) => Promise<GetAllowedCountriesResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { GetAllowedLocalesResponse } from '
|
|
1
|
+
import type { GetAllowedLocalesResponse } from '#models/api/get-allowed-locales';
|
|
2
2
|
import type { RequestContext } from '../types';
|
|
3
3
|
export declare const getAllowedLocales: (context: RequestContext) => Promise<GetAllowedLocalesResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { GetConfigurationRequest, GetConfigurationResponse } from '
|
|
1
|
+
import type { GetConfigurationRequest, GetConfigurationResponse } from '#models/api/get-configuration';
|
|
2
2
|
import type { RequestContext } from '../types';
|
|
3
3
|
export declare const getConfiguration: (context: RequestContext, request: GetConfigurationRequest) => Promise<GetConfigurationResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountIdentification } from '
|
|
2
|
-
import type { AccountValidationResponse } from '
|
|
1
|
+
import type { AccountIdentification } from '#models/api/accountIdentification';
|
|
2
|
+
import type { AccountValidationResponse } from '#models/errors/validation-error';
|
|
3
3
|
import type { RequestContext } from '../types';
|
|
4
4
|
export declare const validateAccountIdentification: (context: RequestContext, payoutAccountDetails: AccountIdentification) => Promise<AccountValidationResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ValidationResponse } from '
|
|
1
|
+
import type { ValidationResponse } from '#models/errors/validation-error';
|
|
2
2
|
import type { RequestContext } from '../types';
|
|
3
3
|
export declare const validatePhoneNumber: (context: RequestContext, phoneNumber: string) => Promise<ValidationResponse>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { VerifyIdNumberRequest, VerifyIdNumberResponse } from '
|
|
1
|
+
import type { VerifyIdNumberRequest, VerifyIdNumberResponse } from '#models/api/verify-id-number';
|
|
2
2
|
import type { RequestContext } from '../types';
|
|
3
3
|
export declare const verifyIdNumber: (context: RequestContext, request: VerifyIdNumberRequest) => Promise<VerifyIdNumberResponse | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NonEmbeddedAuthContextType } from '
|
|
1
|
+
import type { NonEmbeddedAuthContextType } from '#context/AuthContext/AuthContext';
|
|
2
2
|
export type FetchErrorLevel = 'silent' | 'info' | 'warn' | 'error' | 'fatal';
|
|
3
3
|
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'OPTIONS' | 'PATCH';
|
|
4
4
|
export type RequestContext = Partial<NonEmbeddedAuthContextType> & Required<Pick<NonEmbeddedAuthContextType, 'clientKey'>> & {
|