@adyen/kyc-components 3.43.4 → 3.44.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/adyen-kyc-components.es.js +712 -144
- package/dist/style.css +3 -3
- package/dist/types/components/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
- package/dist/types/components/AdditionalInformation/types.d.ts +10 -10
- package/dist/types/components/AdditionalInformation/utils.d.ts +1 -1
- package/dist/types/components/{internal/Address → Address}/constants.d.ts +1 -1
- package/dist/types/components/{internal/Address → Address}/types.d.ts +7 -7
- package/dist/types/components/Address/utils.d.ts +20 -0
- package/dist/types/components/{internal/Address → Address}/validate.d.ts +3 -3
- package/dist/types/components/{internal/Address → Address}/validate.formats.d.ts +1 -1
- package/dist/types/components/{internal/BankAccountNumber → BankAccountNumber}/fieldConfig.d.ts +2 -2
- package/dist/types/components/{internal/BankAccountNumber → BankAccountNumber}/types.d.ts +2 -2
- package/dist/types/components/{internal/BankCity → BankCity}/types.d.ts +1 -1
- package/dist/types/components/{internal/BankCode → BankCode}/fieldConfig.d.ts +2 -2
- package/dist/types/components/{internal/BankCode → BankCode}/types.d.ts +2 -2
- package/dist/types/components/{internal/BankName → BankName}/types.d.ts +1 -1
- package/dist/types/components/BasicInformation/types.d.ts +6 -6
- package/dist/types/components/{internal/BranchCode → BranchCode}/fieldConfig.d.ts +2 -2
- package/dist/types/components/{internal/BranchCode → BranchCode}/types.d.ts +2 -2
- package/dist/types/components/BusinessDetails/forms.d.ts +1 -1
- package/dist/types/components/{internal/BusinessNameField → BusinessNameField}/fieldConfig.d.ts +1 -1
- package/dist/types/components/{internal/BusinessNameField → BusinessNameField}/types.d.ts +1 -1
- package/dist/types/components/{internal/BusinessRegistrationNumber → BusinessRegistrationNumber}/fieldConfig.d.ts +5 -5
- package/dist/types/components/{internal/BusinessRegistrationNumber → BusinessRegistrationNumber}/types.d.ts +3 -3
- package/dist/types/components/{internal/BusinessRegistrationNumberField → BusinessRegistrationNumberField}/types.d.ts +3 -3
- package/dist/types/components/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +1 -1
- package/dist/types/components/BusinessTypeSelection/types.d.ts +1 -1
- package/dist/types/components/BusinessTypeSelection/utils.d.ts +2 -2
- package/dist/types/components/Company/Company.d.ts +1 -1
- package/dist/types/components/CompanyNameAndCountry/types.d.ts +3 -3
- package/dist/types/components/CompanyRegistrationDetails/types.d.ts +10 -10
- package/dist/types/components/ContactDetails/ContactDetails.d.ts +2 -3
- package/dist/types/components/ContactDetails/types.d.ts +2 -2
- package/dist/types/components/{internal/CountryField → CountryField}/types.d.ts +2 -2
- package/dist/types/components/{internal/CountryField → CountryField}/validate.d.ts +1 -1
- package/dist/types/components/{internal/CountryOfGoverningLawField → CountryOfGoverningLawField}/types.d.ts +2 -2
- package/dist/types/components/{internal/CountryOfGoverningLawField → CountryOfGoverningLawField}/validate.d.ts +1 -1
- package/dist/types/components/{internal/Currency → Currency}/types.d.ts +3 -3
- package/dist/types/components/{internal/DBANameField → DBANameField}/fieldConfig.d.ts +1 -1
- package/dist/types/components/{internal/DBANameField → DBANameField}/types.d.ts +1 -1
- package/dist/types/components/{internal/DateOfIncorporationField → DateOfIncorporationField}/fieldConfig.d.ts +1 -1
- package/dist/types/components/{internal/DateOfIncorporationField → DateOfIncorporationField}/types.d.ts +1 -1
- package/dist/types/components/{internal/DebugTable → DebugTable}/DebugTable.d.ts +1 -1
- package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/types.d.ts +5 -5
- package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/validate.d.ts +1 -1
- package/dist/types/components/DecisionMakers/types.d.ts +1 -1
- package/dist/types/components/{internal/DocumentGuidance → DocumentGuidance}/types.d.ts +3 -3
- package/dist/types/components/Dropins/BusinessDetailsDropin/types.d.ts +3 -3
- package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Dropins/HighExposureDropin/types.d.ts +1 -1
- package/dist/types/components/Dropins/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
- package/dist/types/components/Dropins/ServiceAgreementDropin/useServiceAgreement.d.ts +1 -1
- package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFunds.d.ts +2 -0
- package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFundsDropin.d.ts +4 -1
- package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFundsTellUsMore.d.ts +3 -0
- package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFundsType.d.ts +3 -0
- package/dist/types/components/Dropins/SourceOfFundsDropin/types.d.ts +30 -2
- package/dist/types/components/Dropins/SourceOfFundsDropin/validate.d.ts +4 -0
- package/dist/types/components/{internal/EInvoicingCodeField → EInvoicingCodeField}/fieldConfig.d.ts +1 -1
- package/dist/types/components/{internal/EInvoicingCodeField → EInvoicingCodeField}/types.d.ts +1 -1
- package/dist/types/components/{internal/EntityAssociation → EntityAssociation}/types.d.ts +5 -5
- package/dist/types/components/{internal/EntityGuidanceStatus → EntityGuidanceStatus}/types.d.ts +4 -4
- package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/types.d.ts +3 -3
- package/dist/types/components/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/{internal/FinancialReportingDate → FinancialReportingDate}/types.d.ts +1 -1
- package/dist/types/components/{internal/FormEndState → FormEndState}/types.d.ts +1 -1
- package/dist/types/components/{internal/Iban → Iban}/fieldConfig.d.ts +2 -2
- package/dist/types/components/Iban/ibanValidator.d.ts +3 -0
- package/dist/types/components/{internal/Iban → Iban}/types.d.ts +2 -2
- package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/CompanyRegistrationNumberTypeSelector.d.ts +3 -3
- package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/IndividualIdNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/TaxIdNumberTypeSelector.d.ts +4 -4
- package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/countryIdNumberTypes.d.ts +4 -4
- package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/inferCompanyRegistrationNumberType.d.ts +2 -2
- package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/inferTaxIdNumberType.d.ts +3 -3
- package/dist/types/components/IdVerificationMethod/idVerificationMethodMetadata.d.ts +1 -1
- package/dist/types/components/IdentityNumber/fieldConfig.d.ts +1 -1
- package/dist/types/components/IdentityNumber/type.d.ts +1 -1
- package/dist/types/components/Individual/types.d.ts +3 -3
- package/dist/types/components/{internal/LegalCompanyNameField → LegalCompanyNameField}/fieldConfig.d.ts +2 -2
- package/dist/types/components/{internal/LegalCompanyNameField → LegalCompanyNameField}/types.d.ts +1 -1
- package/dist/types/components/{internal/LegalFormField → LegalFormField}/types.d.ts +2 -2
- package/dist/types/components/{internal/NaceCodeField → NaceCodeField}/types.d.ts +1 -1
- package/dist/types/components/{internal/Name → Name}/Name.d.ts +2 -2
- package/dist/types/components/{internal/Name → Name}/types.d.ts +1 -1
- package/dist/types/components/{internal/Name → Name}/validate.d.ts +1 -1
- package/dist/types/components/{internal/NumberOfEmployees → NumberOfEmployees}/types.d.ts +1 -1
- package/dist/types/components/PayoutAccount/types.d.ts +2 -2
- package/dist/types/components/PayoutDetails/types.d.ts +1 -1
- package/dist/types/components/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +1 -1
- package/dist/types/components/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
- package/dist/types/components/PayoutVerificationMethod/types.d.ts +1 -1
- package/dist/types/components/PersonalDetails/Identity/IdentityAu/DriversLicense.d.ts +1 -1
- package/dist/types/components/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +1 -1
- package/dist/types/components/PersonalDetails/Identity/types.d.ts +1 -1
- package/dist/types/components/PersonalDetails/types.d.ts +3 -3
- package/dist/types/components/{internal/PhoneField → PhoneField}/PhoneField.d.ts +1 -1
- package/dist/types/components/{internal/PhoneField → PhoneField}/PhoneFieldExperimentWrapper.d.ts +1 -1
- package/dist/types/components/{internal/PhoneField → PhoneField}/fieldConfig.d.ts +3 -3
- package/dist/types/components/PhoneField/types.d.ts +10 -0
- package/dist/types/components/{internal/PhoneInput → PhoneInput}/PhoneInput.d.ts +2 -2
- package/dist/types/components/{internal/PhoneInput/types.d.ts → PhoneInput/PhoneInput.types.d.ts} +2 -2
- package/dist/types/components/{internal/PhoneInput → PhoneInput}/validate.d.ts +2 -2
- package/dist/types/components/RegistrationAddress/types.d.ts +1 -1
- package/dist/types/components/SingpassSelection/types.d.ts +1 -1
- package/dist/types/components/SoleProp/SoleProp.d.ts +1 -1
- package/dist/types/components/{internal/StateField → StateField}/fieldConfig.d.ts +2 -2
- package/dist/types/components/StateField/types.d.ts +10 -0
- package/dist/types/components/{internal/StockExchangeMICField → StockExchangeMICField}/fieldConfig.d.ts +1 -1
- package/dist/types/components/{internal/StockExchangeMICField → StockExchangeMICField}/types.d.ts +1 -1
- package/dist/types/components/{internal/StockISINField → StockISINField}/fieldConfig.d.ts +1 -1
- package/dist/types/components/{internal/StockISINField → StockISINField}/types.d.ts +1 -1
- package/dist/types/components/{internal/StockTickerSymbol → StockTickerSymbol}/fieldConfig.d.ts +1 -1
- package/dist/types/components/{internal/StockTickerSymbol → StockTickerSymbol}/types.d.ts +1 -1
- package/dist/types/components/{internal/Summary → Summary}/Summary.d.ts +2 -2
- package/dist/types/components/{internal/Summary → Summary}/summaryItem.d.ts +1 -1
- package/dist/types/components/{internal/Summary → Summary}/types.d.ts +2 -2
- package/dist/types/components/{internal/SwiftCode → SwiftCode}/fieldConfig.d.ts +1 -1
- package/dist/types/components/{internal/SwiftCode → SwiftCode}/types.d.ts +1 -1
- package/dist/types/components/TaskList/types.d.ts +3 -3
- package/dist/types/components/{internal/TaxId → TaxId}/fieldConfig.d.ts +4 -4
- package/dist/types/components/{internal/TaxId → TaxId}/types.d.ts +4 -4
- package/dist/types/components/{internal/TaxInformationField → TaxInformationField}/fieldConfig.d.ts +1 -1
- package/dist/types/components/{internal/TaxInformationField → TaxInformationField}/types.d.ts +5 -5
- package/dist/types/components/{internal/TradingNameField → TradingNameField}/fieldConfig.d.ts +1 -1
- package/dist/types/components/{internal/TradingNameField → TradingNameField}/types.d.ts +1 -1
- package/dist/types/components/TrustRegistrationDetails/types.d.ts +3 -3
- package/dist/types/components/TrustRoleAndEntityType/types.d.ts +1 -1
- package/dist/types/components/{internal/VatNumberField → VatNumberField}/fieldConfig.d.ts +2 -2
- package/dist/types/components/{internal/VatNumberField → VatNumberField}/types.d.ts +3 -3
- package/dist/types/components/{internal → ui/atoms}/Accordion/Accordion.d.ts +1 -1
- package/dist/types/components/{internal/Menu → ui/atoms/ActionsMenu}/ActionsMenu.d.ts +1 -2
- package/dist/types/components/{internal → ui/atoms}/Button/Button.d.ts +1 -1
- package/dist/types/components/{internal/FormFields → ui/atoms}/Field/Field.d.ts +1 -1
- package/dist/types/components/{internal → ui/atoms}/FormHeader/FormHeader.d.ts +1 -1
- package/dist/types/components/{internal/FormFields → ui/atoms/InputCurrency}/InputCurrency.d.ts +3 -4
- package/dist/types/components/{internal/FormFields → ui/atoms}/InputDate/InputDate.d.ts +1 -1
- package/dist/types/components/{internal/FormFields → ui/atoms/InputEmail}/InputEmail.d.ts +1 -1
- package/dist/types/components/{internal/FormFields → ui/atoms/InputNumber}/InputNumber.d.ts +1 -1
- package/dist/types/components/{internal/FormFields → ui/atoms/InputTelephone}/InputTelephone.d.ts +1 -1
- package/dist/types/components/{internal/FormFields → ui/atoms/InputText}/InputText.d.ts +1 -1
- package/dist/types/components/{internal → ui/atoms}/Link/Link.d.ts +1 -1
- package/dist/types/components/{internal → ui/atoms}/List/List.d.ts +1 -1
- package/dist/types/components/ui/atoms/List/List.types.d.ts +8 -0
- package/dist/types/components/{internal/List → ui/atoms/ListItem}/ListItem.d.ts +1 -1
- package/dist/types/components/{internal/List/types.d.ts → ui/atoms/ListItem/ListItem.types.d.ts} +0 -7
- package/dist/types/components/{internal → ui/atoms}/LoaderWrapper/LoaderWrapper.d.ts +1 -2
- package/dist/types/components/{internal/FormFields → ui/atoms}/MaskedInput/MaskedInput.d.ts +2 -1
- package/dist/types/components/{internal/FormFields → ui/atoms}/MultiSelectList/MultiSelectList.d.ts +2 -3
- package/dist/types/components/{embedded-ui → ui/atoms}/OutlinedIcon/OutlinedIcon.d.ts +1 -1
- package/dist/types/components/{internal/FormFields/RadioGroupCard → ui/atoms/RadioCard}/RadioCard.d.ts +1 -1
- package/dist/types/components/{internal/FormFields → ui/atoms}/RadioGroupCard/RadioGroupCard.d.ts +1 -1
- package/dist/types/components/{internal/FormFields/Radio → ui/atoms/RadioWithLabel}/RadioWithLabel.d.ts +1 -1
- package/dist/types/components/{internal → ui/atoms}/Remove/Remove.d.ts +1 -1
- package/dist/types/components/{internal/Remove/types.d.ts → ui/atoms/Remove/Remove.types.d.ts} +1 -1
- package/dist/types/components/{internal/FormFields → ui/atoms}/Select/Select.d.ts +1 -1
- package/dist/types/components/ui/atoms/Select/Select.types.d.ts +62 -0
- package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectButton}/SelectButton.d.ts +2 -2
- package/dist/types/components/ui/atoms/SelectButton/SelectButton.types.d.ts +47 -0
- package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectList}/SelectList.d.ts +2 -2
- package/dist/types/components/ui/atoms/SelectList/SelectList.types.d.ts +17 -0
- package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectListItem}/SelectListItem.d.ts +2 -2
- package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.types.d.ts +12 -0
- package/dist/types/components/{internal → ui/atoms}/Status/Status.d.ts +1 -1
- package/dist/types/components/{internal → ui/atoms}/StructuredList/StructuredList.d.ts +1 -1
- package/dist/types/components/{internal → ui/atoms}/Typography/Typography.d.ts +1 -1
- package/dist/types/components/{internal → ui/molecules}/Alert/types.d.ts +1 -1
- package/dist/types/components/{embedded-ui → ui/molecules}/EmbeddedStatus/EmbeddedStatus.d.ts +5 -5
- package/dist/types/components/{embedded-ui → ui/molecules}/EmbeddedStatus/statusToTag.d.ts +4 -4
- package/dist/types/components/{embedded-ui → ui/molecules}/Splashscreen/Splashscreen.d.ts +1 -1
- package/dist/types/components/{internal → ui/molecules}/Toast/Toast.d.ts +1 -1
- package/dist/types/core/context/ConfigurationApiContext/ConfigurationApiContext.d.ts +2 -0
- package/dist/types/core/context/CoreContext.d.ts +2 -2
- package/dist/types/core/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/core/context/ExperimentContext/types.d.ts +4 -1
- package/dist/types/core/context/StateContext/types.d.ts +2 -1
- package/dist/types/core/context/ToastContext/ToastContext.d.ts +1 -1
- package/dist/types/core/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -2
- package/dist/types/core/hooks/useAccountHolder.d.ts +1 -1
- package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +1 -1
- package/dist/types/core/hooks/useBusinessSetup.d.ts +1 -1
- package/dist/types/core/hooks/useIdVerificationToken.d.ts +1 -1
- package/dist/types/core/hooks/useScenarioConfiguration.d.ts +2 -2
- package/dist/types/core/hooks/useUnifyLoadingStatus.d.ts +1 -1
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/core/models/api/source-of-funds.d.ts +41 -0
- package/dist/types/core/models/form-rules.d.ts +1 -1
- package/dist/types/core/models/payout-account.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-business-lines.d.ts +2 -0
- package/dist/types/datasets/localized/legalArrangementTypeExamples/getLegalArrangementTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/stores/taskStore/calculateTaskStatus.d.ts +1 -1
- package/dist/types/stores/taskStore/determineTaskIdentifiers.d.ts +1 -1
- package/dist/types/stores/taskStore/taskStore.d.ts +1 -1
- package/dist/types/utils/accountHolderUtils.d.ts +1 -1
- package/dist/types/utils/dropinUtils.d.ts +2 -1
- package/dist/types/utils/entityAssociationUtil.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +2 -2
- package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
- package/dist/types/utils/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
- package/dist/types/utils/mapping/componentApiMapping.d.ts +18 -0
- package/dist/types/utils/mapping/mapping.d.ts +4 -0
- package/dist/types/utils/masking/matchAgainstMask.d.ts +1 -1
- package/dist/types/utils/masking/stripNonAllowedValues.d.ts +2 -0
- package/dist/types/utils/payoutAccountUtil.d.ts +1 -1
- package/dist/types/utils/roleMetadata.d.ts +1 -1
- package/package.json +4 -2
- package/dist/types/components/internal/Address/utils.d.ts +0 -20
- package/dist/types/components/internal/FormFields/Select/types.d.ts +0 -132
- package/dist/types/components/internal/Iban/ibanValidator.d.ts +0 -3
- package/dist/types/components/internal/PhoneField/types.d.ts +0 -9
- package/dist/types/components/internal/StateField/types.d.ts +0 -10
- /package/dist/types/components/{internal/Address → Address}/Address.d.ts +0 -0
- /package/dist/types/components/{internal/Address → Address}/AddressExperimentWrapper.d.ts +0 -0
- /package/dist/types/components/{internal/Address → Address}/AddressForm.d.ts +0 -0
- /package/dist/types/components/{internal/Address → Address}/FieldContainer.d.ts +0 -0
- /package/dist/types/components/{internal/Address → Address}/FieldWrapper.d.ts +0 -0
- /package/dist/types/components/{internal/Address → Address}/SearchAddress.d.ts +0 -0
- /package/dist/types/components/{internal/BankAccountFormat → BankAccountFormat}/BankAccountFormat.d.ts +0 -0
- /package/dist/types/components/{internal/BankAccountFormat → BankAccountFormat}/types.d.ts +0 -0
- /package/dist/types/components/{internal/BankAccountNumber → BankAccountNumber}/BankAccountNumber.d.ts +0 -0
- /package/dist/types/components/{internal/BankCity → BankCity}/BankCity.d.ts +0 -0
- /package/dist/types/components/{internal/BankCode → BankCode}/BankCode.d.ts +0 -0
- /package/dist/types/components/{internal/BankName → BankName}/BankName.d.ts +0 -0
- /package/dist/types/components/{internal/BranchCode → BranchCode}/BranchCode.d.ts +0 -0
- /package/dist/types/components/{internal/BusinessNameField → BusinessNameField}/BusinessNameField.d.ts +0 -0
- /package/dist/types/components/{internal/BusinessRegistrationNumber → BusinessRegistrationNumber}/BusinessRegistrationNumber.d.ts +0 -0
- /package/dist/types/components/{internal/BusinessRegistrationNumberField → BusinessRegistrationNumberField}/BusinessRegistrationNumberField.d.ts +0 -0
- /package/dist/types/components/{internal/ContextGuidance → ContextGuidance}/ContextGuidance.d.ts +0 -0
- /package/dist/types/components/{internal/ContextGuidance → ContextGuidance}/types.d.ts +0 -0
- /package/dist/types/components/{internal/ContractViewer → ContractViewer}/ContractViewer.d.ts +0 -0
- /package/dist/types/components/{internal/ContractViewer → ContractViewer}/types.d.ts +0 -0
- /package/dist/types/components/{internal/CountryField → CountryField}/CountryField.d.ts +0 -0
- /package/dist/types/components/{internal/CountryOfGoverningLawField → CountryOfGoverningLawField}/CountryOfGoverningLawField.d.ts +0 -0
- /package/dist/types/components/{internal/Currency → Currency}/Currency.d.ts +0 -0
- /package/dist/types/components/{internal/DBANameField → DBANameField}/DBANameField.d.ts +0 -0
- /package/dist/types/components/{internal/DateOfIncorporationField → DateOfIncorporationField}/DateOfIncorporationField.d.ts +0 -0
- /package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/DecisionMakerRole.d.ts +0 -0
- /package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/NomineeDecisionMakerRole.d.ts +0 -0
- /package/dist/types/components/{internal/DocumentGuidance → DocumentGuidance}/DocumentGuidance.d.ts +0 -0
- /package/dist/types/components/{internal/EInvoicingCodeField → EInvoicingCodeField}/EInvoicingCodeField.d.ts +0 -0
- /package/dist/types/components/{internal/EntityAssociation → EntityAssociation}/EntityAssociation.d.ts +0 -0
- /package/dist/types/components/{internal/EntityGuidanceStatus → EntityGuidanceStatus}/EntityGuidanceStatus.d.ts +0 -0
- /package/dist/types/components/{internal/EntityGuidanceStatus → EntityGuidanceStatus}/EntityStatusIcon.d.ts +0 -0
- /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/ErrorPanel.d.ts +0 -0
- /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/NavigateToFieldLink.d.ts +0 -0
- /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/ServerValidationErrors.d.ts +0 -0
- /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/VerificationErrors.d.ts +0 -0
- /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/constants.d.ts +0 -0
- /package/dist/types/components/{internal/FinancialReportingDate → FinancialReportingDate}/FinancialReportingDate.d.ts +0 -0
- /package/dist/types/components/{internal/FormEndState → FormEndState}/FormEndState.d.ts +0 -0
- /package/dist/types/components/{internal/Iban → Iban}/Iban.d.ts +0 -0
- /package/dist/types/components/{internal/LegalCompanyNameField → LegalCompanyNameField}/LegalCompanyNameField.d.ts +0 -0
- /package/dist/types/components/{internal/LegalFormField → LegalFormField}/LegalFormField.d.ts +0 -0
- /package/dist/types/components/{internal/NaceCodeField → NaceCodeField}/NaceCodeField.d.ts +0 -0
- /package/dist/types/components/{internal/NumberOfEmployees → NumberOfEmployees}/NumberOfEmployees.d.ts +0 -0
- /package/dist/types/components/{internal/StateField → StateField}/StateField.d.ts +0 -0
- /package/dist/types/components/{internal/StockExchangeMICField → StockExchangeMICField}/StockExchangeMICField.d.ts +0 -0
- /package/dist/types/components/{internal/StockISINField → StockISINField}/StockISINField.d.ts +0 -0
- /package/dist/types/components/{internal/StockTickerSymbol → StockTickerSymbol}/StockTickerSymbolField.d.ts +0 -0
- /package/dist/types/components/{internal/SwiftCode → SwiftCode}/SwiftCode.d.ts +0 -0
- /package/dist/types/components/{internal/TaxId → TaxId}/TaxId.d.ts +0 -0
- /package/dist/types/components/{internal/TaxInformationField → TaxInformationField}/TaxInformationField.d.ts +0 -0
- /package/dist/types/components/{internal/TradingNameField → TradingNameField}/TradingNameField.d.ts +0 -0
- /package/dist/types/components/{internal/VatNumberField → VatNumberField}/VatNumberField.d.ts +0 -0
- /package/dist/types/components/{internal/Button/types.d.ts → ui/atoms/Button/Button.types.d.ts} +0 -0
- /package/dist/types/components/{internal/FormFields → ui/atoms}/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/types/components/{internal → ui/atoms}/Divider/Divider.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields/Field/types.d.ts → ui/atoms/Field/Field.types.d.ts} +0 -0
- /package/dist/types/components/{internal/FormHeader/type.d.ts → ui/atoms/FormHeader/FormHeader.types.d.ts} +0 -0
- /package/dist/types/components/{internal → ui/atoms}/Icon/Icon.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields → ui/atoms/InputBase}/InputBase.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields/InputDate/utils.d.ts → ui/atoms/InputDate/InputDate.utils.d.ts} +0 -0
- /package/dist/types/components/{internal/FormFields → ui/atoms}/InputGroup/InputGroup.d.ts +0 -0
- /package/dist/types/components/{internal/Link/types.d.ts → ui/atoms/Link/Link.types.d.ts} +0 -0
- /package/dist/types/components/{internal → ui/atoms}/Loader/Loader.d.ts +0 -0
- /package/dist/types/components/{internal → ui/atoms}/LoaderWrapper/constants.d.ts +0 -0
- /package/dist/types/components/{internal → ui/atoms}/Modal/MaybeModal.d.ts +0 -0
- /package/dist/types/components/{internal → ui/atoms}/Modal/Modal.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields → ui/atoms}/Radio/Radio.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields → ui/atoms}/RadioGroup/RadioGroup.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields/RadioGroupCard/types.d.ts → ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts} +0 -0
- /package/dist/types/components/{internal → ui/atoms}/Skeleton/Skeleton.d.ts +0 -0
- /package/dist/types/components/{internal/Status/types.d.ts → ui/atoms/Status/Status.types.d.ts} +0 -0
- /package/dist/types/components/{StepProgressIndicator → ui/atoms/StepProgressIndicator}/StepProgressIndicator.d.ts +0 -0
- /package/dist/types/components/{internal → ui/atoms}/Svg/Svg.d.ts +0 -0
- /package/dist/types/components/{internal → ui/atoms}/Svg/svgs.d.ts +0 -0
- /package/dist/types/components/{internal → ui/atoms}/Tag/Tag.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields → ui/atoms/TextArea}/TextArea.d.ts +0 -0
- /package/dist/types/components/{internal/Typography/types.d.ts → ui/atoms/Typography/Typography.types.d.ts} +0 -0
- /package/dist/types/components/{internal → ui/molecules}/Alert/Alert.d.ts +0 -0
- /package/dist/types/components/{internal → ui/molecules}/Alert/VerificationErrorAlert.d.ts +0 -0
- /package/dist/types/components/{internal → ui/molecules}/Card/Card.d.ts +0 -0
- /package/dist/types/components/{internal → ui/molecules}/Card/CardGroup.d.ts +0 -0
- /package/dist/types/components/{internal → ui/molecules}/Card/types.d.ts +0 -0
- /package/dist/types/components/{internal → ui/molecules}/Confirm/Confirm.d.ts +0 -0
- /package/dist/types/components/{internal → ui/molecules}/Confirm/types.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/Dropzone.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/DropzoneFile.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/FilePicker.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/types.d.ts +0 -0
- /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/validate.d.ts +0 -0
- /package/dist/types/components/{internal/Toast/types.d.ts → ui/molecules/Toast/Toast.types.d.ts} +0 -0
- /package/dist/types/{components/internal/AccountHolder/types.d.ts → core/types/AccountHolder.types.d.ts} +0 -0
- /package/dist/types/{components/internal/FormFields/utils.d.ts → utils/formFields/formFieldsUtils.d.ts} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FieldMetadata } from '
|
|
1
|
+
import type { FieldMetadata } from '../../core/models/country-config';
|
|
2
2
|
import type { DateOfIncorporationFieldSchema } from './types';
|
|
3
3
|
export declare const dateOfIncorporationFieldMetadata: FieldMetadata<DateOfIncorporationFieldSchema, 'dateOfIncorporation'>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { BaseInnerFormProps } from '
|
|
2
|
-
import type { DecisionMakerType } from '
|
|
3
|
-
import type { LegalEntityAssociation } from '
|
|
4
|
-
import type { CountryCode } from '
|
|
5
|
-
import type { TaskTypes } from '
|
|
1
|
+
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
|
|
2
|
+
import type { DecisionMakerType } from '../../core/models/api/decision-maker-type';
|
|
3
|
+
import type { LegalEntityAssociation } from '../../core/models/api/legal-entity-association';
|
|
4
|
+
import type { CountryCode } from '../../core/models/country-code';
|
|
5
|
+
import type { TaskTypes } from '../TaskList/types';
|
|
6
6
|
export interface DecisionMakerRoleSchema {
|
|
7
7
|
role?: DecisionMakerType[];
|
|
8
8
|
}
|
package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/validate.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ValidatorRules } from '
|
|
1
|
+
import type { ValidatorRules } from '../../utils/validation/types';
|
|
2
2
|
import type { DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema } from './types';
|
|
3
3
|
export declare const decisionMakerRoleValidationRules: ValidatorRules<DecisionMakerRoleSchema>;
|
|
4
4
|
export declare const nomineeDecisionMakerRoleValidationRules: ValidatorRules<NomineeDecisionMakerRoleSchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
|
|
2
2
|
import type { CapabilityProblems } from '../../core/models/errors/capability-problems';
|
|
3
3
|
import type { DropinAPIHandlers, DropinProps } from '../Dropins/types';
|
|
4
|
-
import type { UniqueEntityAssociation } from '../
|
|
4
|
+
import type { UniqueEntityAssociation } from '../EntityAssociation/types';
|
|
5
5
|
export interface DecisionMakersProps extends DropinAPIHandlers, DropinProps {
|
|
6
6
|
parentLegalEntity?: ExistingLegalEntity;
|
|
7
7
|
onNavigateToIndividual(legalEntityId?: string): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { DocumentType } from '
|
|
2
|
-
import type { Translatable } from '
|
|
3
|
-
import type { SvgName } from '../Svg/Svg';
|
|
1
|
+
import type { DocumentType } from '../../core/models/api/document';
|
|
2
|
+
import type { Translatable } from '../../language/types';
|
|
3
|
+
import type { SvgName } from '../ui/atoms/Svg/Svg';
|
|
4
4
|
export interface DocumentGuidanceProps {
|
|
5
5
|
type?: DocumentType;
|
|
6
6
|
className?: string;
|
|
@@ -6,9 +6,9 @@ import type { BaseTrackingPayload } from '../../../core/utils';
|
|
|
6
6
|
import type { Language } from '../../../language/Language';
|
|
7
7
|
import type { DocumentApiUtils } from '../../../utils/api/documentUtils';
|
|
8
8
|
import type { BusinessDetailsProps, BusinessDetailsSchema } from '../../BusinessDetails/types';
|
|
9
|
-
import type { AccountHolderOption } from '
|
|
10
|
-
import type { LoadingStatus } from '../../
|
|
11
|
-
import type { ToastOptions } from '../../
|
|
9
|
+
import type { AccountHolderOption } from '../../../core/types/AccountHolder.types';
|
|
10
|
+
import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
|
|
11
|
+
import type { ToastOptions } from '../../ui/molecules/Toast/Toast.types';
|
|
12
12
|
import type { TrustMember } from '../../TrustMembers/types';
|
|
13
13
|
import type { DropinAPIHandlers, DropinProps } from '../types';
|
|
14
14
|
import type { ExperimentName } from '../../../core/context/ExperimentContext/types';
|
|
@@ -4,9 +4,9 @@ import type { EntityProblems } from '../../../core/models/errors/entity-problems
|
|
|
4
4
|
import type { FormModelWithValidity } from '../../../core/models/form';
|
|
5
5
|
import type { BaseTrackingPayload } from '../../../core/utils';
|
|
6
6
|
import type { TranslationKey } from '../../../language/types';
|
|
7
|
-
import type { LoadingStatus } from '../../
|
|
7
|
+
import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
|
|
8
8
|
import type { DropinAPIHandlers } from '../types';
|
|
9
|
-
import type { Omitted } from '../../
|
|
9
|
+
import type { Omitted } from '../../Summary/types';
|
|
10
10
|
export interface FormWrapperProps {
|
|
11
11
|
summary?: {
|
|
12
12
|
data?: any;
|
|
@@ -7,7 +7,7 @@ import type { FormList, FormModel } from '../../../core/models/form';
|
|
|
7
7
|
import type { Translatable, TranslationKey } from '../../../language/types';
|
|
8
8
|
import type { FormUtils } from '../../../utils/formUtils';
|
|
9
9
|
import type { ValidationRuleResult, ValidatorMode } from '../../../utils/validation/types';
|
|
10
|
-
import type { AddressSchema } from '../../
|
|
10
|
+
import type { AddressSchema } from '../../Address/types';
|
|
11
11
|
import type { DropinAPIHandlers } from '../types';
|
|
12
12
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
13
13
|
export interface HighExposureCompanySchema {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Language } from '../../../language/Language';
|
|
2
|
-
import type { SummaryOf } from '../../
|
|
2
|
+
import type { SummaryOf } from '../../Summary/types';
|
|
3
3
|
import type { TrustMember } from '../../TrustMembers/types';
|
|
4
4
|
import type { TrustRoleAndEntityTypeSchema } from '../../TrustRoleAndEntityType/types';
|
|
5
5
|
export declare const formatRoleAndEntityTypeSummary: (data: TrustMember, i18n: Language, isOrganizationSettlorWithExemptionEnabled: boolean | undefined) => SummaryOf<TrustRoleAndEntityTypeSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Document } from '@adyen/adyen-document-viewer';
|
|
2
2
|
import type { ServiceAgreementRequest, ServiceAgreementResponse } from '../../../core/models/api/contracts';
|
|
3
|
-
import type { LoadingStatus } from '../../
|
|
3
|
+
import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
|
|
4
4
|
import type { DropinAPIHandlers } from '../types';
|
|
5
5
|
import type { ServiceAgreementType } from './types';
|
|
6
6
|
export type ServiceAgreement = {
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import type { SourceOfFundsDropinProps } from './types';
|
|
2
|
-
|
|
2
|
+
import type { FormList } from '../../../core/models/form';
|
|
3
|
+
export declare const sourceOfFundsForms: FormList;
|
|
4
|
+
export declare const sourceOfFundsRequiredFields: Record<string, string[]>;
|
|
5
|
+
export declare function SourceOfFundsDropin({ legalEntityResponse, country, problems, trackingConfig, handleHomeClick, }: SourceOfFundsDropinProps): import("preact").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { SourceOfFundsTellUsMoreSchema, SourceOfFundsTellUsMoreProps } from './types';
|
|
2
|
+
export declare const sourceOfFundsTellUsMoreFields: Array<keyof SourceOfFundsTellUsMoreSchema>;
|
|
3
|
+
export declare function SourceOfFundsTellUsMore(props: SourceOfFundsTellUsMoreProps): import("preact").JSX.Element;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { DropinAPIHandlers, DropinProps } from '../types';
|
|
2
2
|
import type { CapabilityName } from '../../../core/models/api/capability';
|
|
3
|
-
import type { BaseOuterFormProps } from '../../../core/hooks/useForm/types';
|
|
3
|
+
import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../core/hooks/useForm/types';
|
|
4
4
|
import type { FormModel } from '../../../core/models/form';
|
|
5
5
|
import type { EntityProblems } from '../../../core/models/errors/entity-problems';
|
|
6
6
|
import type { TaskTypes } from '../../../stores/taskStore/taskTypes';
|
|
7
7
|
import type { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
|
|
8
8
|
import type { CountryCode } from '../../../core/models/country-code';
|
|
9
9
|
import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
|
|
10
|
+
import type { BusinessLinesType, SourceOfFundsAmount, SourceOfFundsCategoryType, SourceOfFundsFinancierType } from '../../../core/models/api/source-of-funds';
|
|
10
11
|
export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSchema> {
|
|
11
12
|
activeForm?: FormModel;
|
|
12
13
|
forms?: FormModel[];
|
|
@@ -15,15 +16,42 @@ export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSche
|
|
|
15
16
|
taskType?: TaskTypes;
|
|
16
17
|
allowedRoles?: DecisionMakerType[];
|
|
17
18
|
country: CountryCode;
|
|
19
|
+
activeBusinessLine?: BusinessLinesType;
|
|
18
20
|
onNext?(e: any, callbacks: any, isValid: any): void;
|
|
19
21
|
onBack?(): void;
|
|
20
22
|
}
|
|
21
23
|
export type SourceOfFundsDropinApiHandlers = Pick<Required<DropinAPIHandlers>, 'handleUpdateLegalEntity'>;
|
|
22
24
|
export interface SourceOfFundsSchema {
|
|
23
|
-
|
|
25
|
+
sourceOfFundsType?: SourceOfFundsTypeSchema;
|
|
26
|
+
tellUsMore?: SourceOfFundsTellUsMoreSchema;
|
|
27
|
+
adyenProcessedFunds?: boolean;
|
|
28
|
+
description?: string;
|
|
29
|
+
purpose?: string;
|
|
30
|
+
relationship?: string;
|
|
31
|
+
originatorSourceOfFundsType?: SourceOfFundsCategoryType;
|
|
32
|
+
originatorLegalEntityId?: string;
|
|
33
|
+
amount?: SourceOfFundsAmount;
|
|
34
|
+
cryptocurrencyExchange?: string;
|
|
35
|
+
dateOfSourceEvent?: string;
|
|
36
|
+
website?: string;
|
|
37
|
+
financiers?: SourceOfFundsFinancierType[];
|
|
24
38
|
}
|
|
25
39
|
export interface SourceOfFundsDropinProps extends Omit<SourceOfFundsProps, 'legalEntityId'>, DropinProps, SourceOfFundsDropinApiHandlers {
|
|
26
40
|
legalEntityResponse: ExistingLegalEntity;
|
|
27
41
|
capabilities?: CapabilityName[];
|
|
28
42
|
onSubmit?(dataSubmitted: SourceOfFundsSchema): void;
|
|
29
43
|
}
|
|
44
|
+
export interface SourceOfFundsTypeSchema {
|
|
45
|
+
type?: SourceOfFundsCategoryType;
|
|
46
|
+
}
|
|
47
|
+
export interface SourceOfFundsTellUsMoreSchema {
|
|
48
|
+
annualTurnover?: string;
|
|
49
|
+
description?: string;
|
|
50
|
+
annualTurnoverCurrency?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface SourceOfFundsTypeProps extends BaseInnerFormProps<SourceOfFundsTypeSchema> {
|
|
53
|
+
defaultData?: SourceOfFundsSchema;
|
|
54
|
+
}
|
|
55
|
+
export interface SourceOfFundsTellUsMoreProps extends BaseInnerFormProps<SourceOfFundsTellUsMoreSchema> {
|
|
56
|
+
defaultData?: SourceOfFundsSchema;
|
|
57
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SourceOfFundsTellUsMoreSchema, SourceOfFundsTypeSchema } from './types';
|
|
2
|
+
import type { ValidatorRules } from '../../../utils/validation/types';
|
|
3
|
+
export declare const sourceOfFundsTypeValidations: ValidatorRules<SourceOfFundsTypeSchema>;
|
|
4
|
+
export declare const sourceOfFundsTellUsMoreValidations: ValidatorRules<SourceOfFundsTellUsMoreSchema>;
|
package/dist/types/components/{internal/EInvoicingCodeField → EInvoicingCodeField}/fieldConfig.d.ts
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FieldMetadata } from '
|
|
1
|
+
import type { FieldMetadata } from '../../core/models/country-config';
|
|
2
2
|
import type { EInvoicingCodeFieldSchema } from './types';
|
|
3
3
|
export declare const eInvoicingCodeFieldMetadata: FieldMetadata<EInvoicingCodeFieldSchema, 'eInvoicingCode'>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ComponentChild } from 'preact';
|
|
2
2
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
3
|
-
import type { LegalEntityAssociation } from '
|
|
4
|
-
import type { LegalEntityType } from '
|
|
5
|
-
import type { EntityProblems } from '
|
|
6
|
-
import type { TaskStatus } from '
|
|
7
|
-
import type { ActionsMenuOption } from '../
|
|
3
|
+
import type { LegalEntityAssociation } from '../../core/models/api/legal-entity-association';
|
|
4
|
+
import type { LegalEntityType } from '../../core/models/api/legal-entity-type';
|
|
5
|
+
import type { EntityProblems } from '../../core/models/errors/entity-problems';
|
|
6
|
+
import type { TaskStatus } from '../TaskList/types';
|
|
7
|
+
import type { ActionsMenuOption } from '../ui/atoms/ActionsMenu/ActionsMenu';
|
|
8
8
|
export interface EntityAssociationProps {
|
|
9
9
|
name: string;
|
|
10
10
|
types: Array<LegalEntityAssociation['type']>;
|
package/dist/types/components/{internal/EntityGuidanceStatus → EntityGuidanceStatus}/types.d.ts
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { DecisionMakerType } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
3
|
-
import type { TrustMemberGuidanceLabel } from '
|
|
4
|
-
import type { TaskTypes } from '
|
|
1
|
+
import type { DecisionMakerType } from '../../core/models/api/decision-maker-type';
|
|
2
|
+
import type { CountryCode } from '../../core/models/country-code';
|
|
3
|
+
import type { TrustMemberGuidanceLabel } from '../../core/models/trust';
|
|
4
|
+
import type { TaskTypes } from '../TaskList/types';
|
|
5
5
|
export type EntityStatus = 'empty' | 'satisfied';
|
|
6
6
|
export interface EntityGuidanceStatusProps {
|
|
7
7
|
country: CountryCode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { FormVerificationErrors } from '
|
|
2
|
-
import type { Remediation } from '
|
|
3
|
-
import type { FormUtils } from '
|
|
1
|
+
import type { FormVerificationErrors } from '../../core/models/errors/form-verification-errors';
|
|
2
|
+
import type { Remediation } from '../../core/models/errors/remediation';
|
|
3
|
+
import type { FormUtils } from '../../utils/formUtils';
|
|
4
4
|
export interface ErrorPanelProps<Schema> {
|
|
5
5
|
id?: string;
|
|
6
6
|
formUtils: FormUtils<Schema>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Language } from '../../language/Language';
|
|
2
|
-
import type { SummaryOf } from '../
|
|
2
|
+
import type { SummaryOf } from '../Summary/types';
|
|
3
3
|
import type { FinancialInformationSchema } from './types';
|
|
4
4
|
export declare const formatFinancialInformationSummary: (data: FinancialInformationSchema | undefined, i18n: Language) => SummaryOf<FinancialInformationSchema>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FieldMetadata } from '
|
|
2
|
-
import type { NoParams, PerCountryFieldConfig } from '
|
|
1
|
+
import type { FieldMetadata } from '../../core/models/country-config';
|
|
2
|
+
import type { NoParams, PerCountryFieldConfig } from '../../core/models/field-configurations';
|
|
3
3
|
import type { IbanSchema } from './types';
|
|
4
4
|
export declare const defaultFieldMetadata: FieldMetadata<IbanSchema, 'iban'>;
|
|
5
5
|
export declare const defaultFieldConfig: PerCountryFieldConfig<IbanSchema, 'iban', NoParams>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BaseInnerFormProps } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
|
|
2
|
+
import type { CountryCode } from '../../core/models/country-code';
|
|
3
3
|
import type { defaultFieldConfig } from './fieldConfig';
|
|
4
4
|
export interface IbanSchema {
|
|
5
5
|
iban?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CompanyTypesValue } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
3
|
-
import type { TranslationKey } 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
4
|
import type { CompanyRegistrationNumberType } from './countryIdNumberTypes';
|
|
5
5
|
interface PropsWithNoExemption {
|
|
6
6
|
exemptedOption?: false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { CountryCode } from '../../core/models/country-code';
|
|
2
2
|
import type { IndividualIdNumberType } from './countryIdNumberTypes';
|
|
3
3
|
interface IndividualIdNumberTypeSelectorProps {
|
|
4
4
|
country: CountryCode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CompanyTypesValue } from '
|
|
2
|
-
import type { LegalEntityType } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
4
|
-
import type { TranslationKey } from '
|
|
1
|
+
import type { CompanyTypesValue } from '../../core/models/api/company-types-value';
|
|
2
|
+
import type { LegalEntityType } from '../../core/models/api/legal-entity-type';
|
|
3
|
+
import type { CountryCode } from '../../core/models/country-code';
|
|
4
|
+
import type { TranslationKey } from '../../language/types';
|
|
5
5
|
import type { TaxIdNumberType } from './countryIdNumberTypes';
|
|
6
6
|
interface PropsWithNoExemption {
|
|
7
7
|
exemptedOption?: false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CompanyTypesValue } from '
|
|
2
|
-
import type { LegalEntityType } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
4
|
-
import type { TranslationKey } from '
|
|
1
|
+
import { CompanyTypesValue } from '../../core/models/api/company-types-value';
|
|
2
|
+
import type { LegalEntityType } from '../../core/models/api/legal-entity-type';
|
|
3
|
+
import type { CountryCode } from '../../core/models/country-code';
|
|
4
|
+
import type { TranslationKey } from '../../language/types';
|
|
5
5
|
export interface CompanyRegistrationNumberOption {
|
|
6
6
|
id: string;
|
|
7
7
|
name: TranslationKey;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CompanyTypesValue } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { CompanyTypesValue } from '../../core/models/api/company-types-value';
|
|
2
|
+
import type { CountryCode } from '../../core/models/country-code';
|
|
3
3
|
import type { CompanyRegistrationNumberType } from './countryIdNumberTypes';
|
|
4
4
|
/**
|
|
5
5
|
* For existing data, we need to infer the company registration number type from the existing data.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CompanyTypesValue } from '
|
|
2
|
-
import type { LegalEntityType } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { CompanyTypesValue } from '../../core/models/api/company-types-value';
|
|
2
|
+
import type { LegalEntityType } from '../../core/models/api/legal-entity-type';
|
|
3
|
+
import type { CountryCode } from '../../core/models/country-code';
|
|
4
4
|
import type { TaxIdNumberType } from './countryIdNumberTypes';
|
|
5
5
|
/**
|
|
6
6
|
* For existing data, we need to infer the tax ID number type from the existing data.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TranslationKey } from '../../language/types';
|
|
2
|
-
import type { SvgName } from '../
|
|
2
|
+
import type { SvgName } from '../ui/atoms/Svg/Svg';
|
|
3
3
|
import type { IdVerificationMethodType } from './types';
|
|
4
4
|
interface IdVerificationMethodMetadata {
|
|
5
5
|
name: TranslationKey;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FieldMetadata } from '../../core/models/country-config';
|
|
2
2
|
import type { NoParams, PerCountryFieldConfig } from '../../core/models/field-configurations';
|
|
3
|
-
import type { IndividualIdNumberType } from '../
|
|
3
|
+
import type { IndividualIdNumberType } from '../IdFieldTypeSelector/countryIdNumberTypes';
|
|
4
4
|
import type { IdentitySchema } from '../PersonalDetails/Identity/types';
|
|
5
5
|
import type { IdentityNumberSchema } from './type';
|
|
6
6
|
export interface FieldConfigParams {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
|
|
2
2
|
import type { CountryCode } from '../../core/models/country-code';
|
|
3
3
|
import type { ValidationRuleResults } from '../../utils/validation/types';
|
|
4
|
-
import type { IndividualIdNumberType } from '../
|
|
4
|
+
import type { IndividualIdNumberType } from '../IdFieldTypeSelector/countryIdNumberTypes';
|
|
5
5
|
import type { defaultFieldConfig } from './fieldConfig';
|
|
6
6
|
export interface IdentityNumberSchema {
|
|
7
7
|
idNumber?: string;
|
|
@@ -11,9 +11,9 @@ import type { DocumentUploadSchema } from '../DocumentUpload/types';
|
|
|
11
11
|
import type { DropinAPIHandlers, DropinProps } from '../Dropins/types';
|
|
12
12
|
import type { IdDocumentUploadSchema } from '../IdDocumentUpload/types';
|
|
13
13
|
import type { IdVerificationMethodSchema } from '../IdVerificationMethod/types';
|
|
14
|
-
import type { AccountHolderOption } from '
|
|
15
|
-
import type { AddressSchema } from '../
|
|
16
|
-
import type { NomineeDecisionMakerRoleSchema } from '../
|
|
14
|
+
import type { AccountHolderOption } from '../../core/types/AccountHolder.types';
|
|
15
|
+
import type { AddressSchema } from '../Address/types';
|
|
16
|
+
import type { NomineeDecisionMakerRoleSchema } from '../DecisionMakerRole/types';
|
|
17
17
|
import type { PersonalDetailsSchema } from '../PersonalDetails/types';
|
|
18
18
|
import type { TrustMember } from '../TrustMembers/types';
|
|
19
19
|
import type { TaskTypes } from '../../stores/taskStore/taskTypes';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FieldMetadata } from '
|
|
2
|
-
import type { PerCountryFieldConfig } from '
|
|
1
|
+
import type { FieldMetadata } from '../../core/models/country-config';
|
|
2
|
+
import type { PerCountryFieldConfig } from '../../core/models/field-configurations';
|
|
3
3
|
import type { LegalCompanyNameFieldSchema } from './types';
|
|
4
4
|
interface FieldConfigParams {
|
|
5
5
|
isBusiness?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { JSX } from 'preact';
|
|
2
|
-
import type { BaseFormFieldProps } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
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
|
}
|
|
@@ -7,8 +7,8 @@ declare namespace Name {
|
|
|
7
7
|
onChange: () => void;
|
|
8
8
|
visibility: string;
|
|
9
9
|
validationRules: Partial<{
|
|
10
|
-
firstName?: import("
|
|
11
|
-
lastName?: import("
|
|
10
|
+
firstName?: import("../../utils/validation/types").ValidatorRule<string, NameSchema> | import("../../utils/validation/types").ValidatorRule<string, NameSchema>[];
|
|
11
|
+
lastName?: import("../../utils/validation/types").ValidatorRule<string, NameSchema> | import("../../utils/validation/types").ValidatorRule<string, NameSchema>[];
|
|
12
12
|
}>;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FormatRules, ValidatorRules } from '
|
|
1
|
+
import type { FormatRules, ValidatorRules } from '../../utils/validation/types';
|
|
2
2
|
import type { NameSchema } from './types';
|
|
3
3
|
export declare const nameValidationRules: ValidatorRules<NameSchema>;
|
|
4
4
|
export declare const nameValidationRulesV4: ValidatorRules<NameSchema>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
|
|
2
2
|
import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
|
|
3
3
|
import type { CountryCode } from '../../core/models/country-code';
|
|
4
|
-
import type { BankAccountNumberSchema } from '../
|
|
5
|
-
import type { CurrencySchema } from '../
|
|
4
|
+
import type { BankAccountNumberSchema } from '../BankAccountNumber/types';
|
|
5
|
+
import type { CurrencySchema } from '../Currency/types';
|
|
6
6
|
export interface PayoutAccountSchema extends CurrencySchema, BankAccountNumberSchema {
|
|
7
7
|
transferInstrumentId?: string;
|
|
8
8
|
accountHolder?: string;
|
|
@@ -10,7 +10,7 @@ import type { FormModel } from '../../core/models/form';
|
|
|
10
10
|
import type { BankDocumentSchema } from '../BankDocument/types';
|
|
11
11
|
import type { AccountVerificationSchema, BankVerificationVendor } from '../BankVerification/types';
|
|
12
12
|
import type { DropinAPIHandlers, DropinProps } from '../Dropins/types';
|
|
13
|
-
import type { LoadingStatus } from '../
|
|
13
|
+
import type { LoadingStatus } from '../ui/atoms/LoaderWrapper/constants';
|
|
14
14
|
import type { PayoutAccountSchema } from '../PayoutAccount/types';
|
|
15
15
|
import type { PayoutVerificationMethodSchema } from '../PayoutVerificationMethod/types';
|
|
16
16
|
import type { TaskTypes } from '../TaskList/types';
|
|
@@ -3,7 +3,7 @@ import type { LegalEntity } from '../../../core/models/api/legal-entity';
|
|
|
3
3
|
import type { BankVerificationErrorResponse } from '../../../core/models/api/trusted-transferInstrument';
|
|
4
4
|
import type { ValidatorMode } from '../../../utils/validation/types';
|
|
5
5
|
import type { BankVerificationVendor, InstantVerificationErrorNotification } from '../../BankVerification/types';
|
|
6
|
-
import type { LoadingStatus } from '../../
|
|
6
|
+
import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
|
|
7
7
|
import type { PayoutDetailsProps } from '../../PayoutDetails/types';
|
|
8
8
|
import type { PayoutVerificationMethodSchema, VerificationMethod } from '../types';
|
|
9
9
|
interface PreferInstantVerificationMethodProps {
|
package/dist/types/components/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TranslationKey } from '../../language/types';
|
|
2
|
-
import type { SvgName } from '../
|
|
2
|
+
import type { SvgName } from '../ui/atoms/Svg/Svg';
|
|
3
3
|
import type { VerificationMethod } from './types';
|
|
4
4
|
export interface PayoutVerificationMethodMetadata {
|
|
5
5
|
name: TranslationKey;
|
|
@@ -4,7 +4,7 @@ import type { ExistingLegalEntity, LegalEntity } from '../../core/models/api/leg
|
|
|
4
4
|
import type { CountryCode } from '../../core/models/country-code';
|
|
5
5
|
import type { FormModel } from '../../core/models/form';
|
|
6
6
|
import type { AccountVerificationSchema, BankVerificationVendor, InstantVerificationErrorNotification } from '../BankVerification/types';
|
|
7
|
-
import type { LoadingStatus } from '../
|
|
7
|
+
import type { LoadingStatus } from '../ui/atoms/LoaderWrapper/constants';
|
|
8
8
|
import type { PayoutDetailsProps } from '../PayoutDetails/types';
|
|
9
9
|
export declare const payoutVerificationMethods: readonly ["instantVerification", "manualVerification"];
|
|
10
10
|
export type VerificationMethod = (typeof payoutVerificationMethods)[number];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FormUtils } from '../../../../utils/formUtils';
|
|
2
2
|
import type { IdentityNumberSchema } from '../../../IdentityNumber/type';
|
|
3
|
-
import type { MultiSelectOnChangeProps, SingleSelectOnChangeProps } from '../../../
|
|
3
|
+
import type { MultiSelectOnChangeProps, SingleSelectOnChangeProps } from '../../../ui/atoms/Select/Select.types';
|
|
4
4
|
import type { AdditionalIdentityInfoSchema } from '../types';
|
|
5
5
|
interface AuDriversLicenseSchema {
|
|
6
6
|
idNumber?: IdentityNumberSchema['idNumber'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IndividualIdNumberOption, IndividualIdNumberType } from '../../../
|
|
1
|
+
import type { IndividualIdNumberOption, IndividualIdNumberType } from '../../../IdFieldTypeSelector/countryIdNumberTypes';
|
|
2
2
|
export interface TypeOfIdentityProps {
|
|
3
3
|
availableIdentityTypesOptions: readonly IndividualIdNumberOption[];
|
|
4
4
|
selectedIdentityType: IndividualIdNumberType | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BaseInnerFormProps } from '../../../core/hooks/useForm/types';
|
|
2
2
|
import type { IdentityNumberSchema } from '../../IdentityNumber/type';
|
|
3
|
-
import type { IndividualIdNumberType } from '../../
|
|
3
|
+
import type { IndividualIdNumberType } from '../../IdFieldTypeSelector/countryIdNumberTypes';
|
|
4
4
|
export interface AdditionalIdentityInfoSchema {
|
|
5
5
|
typeOfIdentity?: IndividualIdNumberType;
|
|
6
6
|
issuerState?: string;
|