@adyen/kyc-components 3.43.4 → 3.44.1
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 +727 -150
- package/dist/style.css +6 -4
- 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
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { ComponentChild, JSX } from 'preact';
|
|
2
|
+
export interface SelectItem {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
icon?: JSX.Element;
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
selectedOptionName?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface AddressSpecificSelectItem extends SelectItem {
|
|
12
|
+
text?: string;
|
|
13
|
+
type?: string;
|
|
14
|
+
addressAmount?: string;
|
|
15
|
+
highlight?: string;
|
|
16
|
+
}
|
|
17
|
+
interface BaseSelectProps {
|
|
18
|
+
className?: string;
|
|
19
|
+
classNameModifiers?: string[];
|
|
20
|
+
filterable?: boolean;
|
|
21
|
+
isInvalid?: boolean;
|
|
22
|
+
items: ReadonlyArray<SelectItem>;
|
|
23
|
+
name?: string;
|
|
24
|
+
placeholder?: string;
|
|
25
|
+
readonly?: boolean;
|
|
26
|
+
selected: string | string[] | undefined;
|
|
27
|
+
isValid?: boolean;
|
|
28
|
+
uniqueId?: string;
|
|
29
|
+
showSelectedItemsAsTags?: boolean;
|
|
30
|
+
isSearch?: boolean;
|
|
31
|
+
onSearch?: (text: string) => void;
|
|
32
|
+
resetSearch?: boolean;
|
|
33
|
+
loading?: boolean;
|
|
34
|
+
getSearchItem?: (item: SelectItem) => ComponentChild;
|
|
35
|
+
searchText?: string;
|
|
36
|
+
onSearchTextChange?: (text: string) => void;
|
|
37
|
+
showSearchList?: boolean;
|
|
38
|
+
}
|
|
39
|
+
interface SingleSelectOnChangeTarget {
|
|
40
|
+
value: string;
|
|
41
|
+
name: string;
|
|
42
|
+
}
|
|
43
|
+
interface MultiSelectOnChangeTarget {
|
|
44
|
+
value: string[];
|
|
45
|
+
name: string;
|
|
46
|
+
}
|
|
47
|
+
export interface SingleSelectOnChangeProps {
|
|
48
|
+
target: SingleSelectOnChangeTarget;
|
|
49
|
+
}
|
|
50
|
+
export interface MultiSelectOnChangeProps {
|
|
51
|
+
target: MultiSelectOnChangeTarget;
|
|
52
|
+
}
|
|
53
|
+
interface SingleSelectProps extends BaseSelectProps {
|
|
54
|
+
isMulti?: false;
|
|
55
|
+
onChange: (e: SingleSelectOnChangeProps) => void;
|
|
56
|
+
}
|
|
57
|
+
interface MultiSelectProps extends BaseSelectProps {
|
|
58
|
+
isMulti: true;
|
|
59
|
+
onChange: (e: MultiSelectOnChangeProps) => void;
|
|
60
|
+
}
|
|
61
|
+
export type SelectProps = SingleSelectProps | MultiSelectProps;
|
|
62
|
+
export {};
|
package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectButton}/SelectButton.d.ts
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import type { SelectButtonProps } from './types';
|
|
1
|
+
import '../Select/SelectGeneric.scss';
|
|
2
|
+
import type { SelectButtonProps } from './SelectButton.types';
|
|
3
3
|
export declare function SelectButton({ active, readonly, showList, isInvalid, isValid, toggleList, onButtonKeyDown, filterable, placeholder, toggleButtonRef, ariaDescribedBy, selectListId, filterInputRef, onInput, isMulti, id, isSearch, hideSearchIcon, loading, textFilter, }: SelectButtonProps): import("preact").JSX.Element;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { JSX, RefObject } from 'preact';
|
|
2
|
+
import type { SelectItem } from '../Select/Select.types';
|
|
3
|
+
export interface SelectButtonProps {
|
|
4
|
+
active: SelectItem[];
|
|
5
|
+
filterInputRef: RefObject<HTMLInputElement>;
|
|
6
|
+
filterable: boolean;
|
|
7
|
+
isInvalid: boolean;
|
|
8
|
+
onButtonKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLInputElement>) => void;
|
|
9
|
+
onInput: (e: JSX.TargetedEvent<HTMLInputElement>) => void;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
readonly: boolean;
|
|
12
|
+
selectListId: string;
|
|
13
|
+
showList: boolean;
|
|
14
|
+
toggleButtonRef: RefObject<HTMLButtonElement>;
|
|
15
|
+
toggleList: (e: Event) => void;
|
|
16
|
+
isValid?: boolean;
|
|
17
|
+
ariaDescribedBy: string;
|
|
18
|
+
isMulti: boolean;
|
|
19
|
+
id?: string;
|
|
20
|
+
showSelectedItemsAsTags?: boolean;
|
|
21
|
+
isSearch?: boolean;
|
|
22
|
+
hideSearchIcon?: boolean;
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
textFilter?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface SelectButtonContentSingleProps {
|
|
27
|
+
active: SelectItem[];
|
|
28
|
+
filterInputRef: RefObject<HTMLInputElement>;
|
|
29
|
+
filterable: boolean;
|
|
30
|
+
onInput: (e: JSX.TargetedEvent<HTMLInputElement>) => void;
|
|
31
|
+
placeholder: string;
|
|
32
|
+
selectListId: string;
|
|
33
|
+
showList: boolean;
|
|
34
|
+
showSelectedItemsAsTags?: boolean;
|
|
35
|
+
isSearch?: boolean;
|
|
36
|
+
hideSearchIcon?: boolean;
|
|
37
|
+
loading?: boolean;
|
|
38
|
+
textFilter?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface SelectButtonContentMultiProps {
|
|
41
|
+
active: SelectItem[];
|
|
42
|
+
placeholder: string;
|
|
43
|
+
}
|
|
44
|
+
export interface SelectedItemsAsTagsProps {
|
|
45
|
+
active: SelectItem[];
|
|
46
|
+
isMulti?: boolean;
|
|
47
|
+
}
|
package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectList}/SelectList.d.ts
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import type { SelectListProps } from './types';
|
|
1
|
+
import '../Select/SelectGeneric.scss';
|
|
2
|
+
import type { SelectListProps } from './SelectList.types';
|
|
3
3
|
export declare function SelectList({ selectListId, active, items, showList, textFilter, isMulti, showAbove, isSearch, loading, getSearchItem, onKeyDown, onSelect, }: SelectListProps): import("preact").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ComponentChild, JSX, RefObject } from 'preact';
|
|
2
|
+
import type { SelectItem, AddressSpecificSelectItem } from '../Select/Select.types';
|
|
3
|
+
export interface SelectListProps {
|
|
4
|
+
active: SelectItem[];
|
|
5
|
+
items: ReadonlyArray<SelectItem>;
|
|
6
|
+
onKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLLIElement>, item: SelectItem) => void;
|
|
7
|
+
onSelect: (item: SelectItem) => void;
|
|
8
|
+
selectListId: string;
|
|
9
|
+
selectListRef: RefObject<HTMLUListElement>;
|
|
10
|
+
showList: boolean;
|
|
11
|
+
textFilter: string;
|
|
12
|
+
isMulti: boolean;
|
|
13
|
+
showAbove?: boolean;
|
|
14
|
+
isSearch?: boolean;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
getSearchItem?: (item: AddressSpecificSelectItem) => ComponentChild;
|
|
17
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import type { SelectItemProps } from './types';
|
|
1
|
+
import '../Select/SelectGeneric.scss';
|
|
2
|
+
import type { SelectItemProps } from './SelectListItem.types';
|
|
3
3
|
export declare const SelectListItem: ({ item, selected, isMulti, isSearch, children, onSelect, onKeyDown, className, }: SelectItemProps) => import("preact").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentChild, JSX } from 'preact';
|
|
2
|
+
import type { SelectItem } from '../Select/Select.types';
|
|
3
|
+
export interface SelectItemProps {
|
|
4
|
+
item: SelectItem;
|
|
5
|
+
selected: boolean;
|
|
6
|
+
onKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLLIElement>) => void;
|
|
7
|
+
onSelect: (selected: boolean) => void;
|
|
8
|
+
isMulti: boolean;
|
|
9
|
+
isSearch?: boolean;
|
|
10
|
+
children?: ComponentChild;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentChild } from 'preact';
|
|
2
|
-
import type { TranslationKey } from '
|
|
2
|
+
import type { TranslationKey } from '../../../../language/types';
|
|
3
3
|
export interface StructuredListItem {
|
|
4
4
|
labelKey: TranslationKey;
|
|
5
5
|
value: string | ComponentChild;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './_typography.scss';
|
|
2
|
-
import type { TypographyProps } from './types';
|
|
2
|
+
import type { TypographyProps } from './Typography.types';
|
|
3
3
|
export declare const Typography: ({ el, variant, color, className, children, ...props }: TypographyProps) => import("preact").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentChild } from 'preact';
|
|
2
|
-
import type { EntityProblems } from '
|
|
2
|
+
import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
|
|
3
3
|
export interface AlertProps {
|
|
4
4
|
title?: string | ComponentChild;
|
|
5
5
|
variant?: AlertVariant;
|
package/dist/types/components/{embedded-ui → ui/molecules}/EmbeddedStatus/EmbeddedStatus.d.ts
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { OnboardingStatus } from '
|
|
2
|
-
import type { Translatable, TranslationKey } from '
|
|
3
|
-
import type { IconName } from '../../
|
|
4
|
-
import { type TagVariant } from '../../
|
|
5
|
-
import type { TaskStatus } from '
|
|
1
|
+
import type { OnboardingStatus } from '../../../../core/models/api/view-verification-status';
|
|
2
|
+
import type { Translatable, TranslationKey } from '../../../../language/types';
|
|
3
|
+
import type { IconName } from '../../atoms/Icon/Icon';
|
|
4
|
+
import { type TagVariant } from '../../atoms/Tag/Tag';
|
|
5
|
+
import type { TaskStatus } from '../../../../components/TaskList/types';
|
|
6
6
|
export interface EmbeddedStatusProps {
|
|
7
7
|
title?: string;
|
|
8
8
|
subtitle?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OnboardingStatus } from '
|
|
2
|
-
import type { Translatable } from '
|
|
3
|
-
import type { TagVariant } from '../../
|
|
4
|
-
import { TaskStatus } from '
|
|
1
|
+
import { OnboardingStatus } from '../../../../core/models/api/view-verification-status';
|
|
2
|
+
import type { Translatable } from '../../../../language/types';
|
|
3
|
+
import type { TagVariant } from '../../atoms/Tag/Tag';
|
|
4
|
+
import { TaskStatus } from '../../../../components/TaskList/types';
|
|
5
5
|
/**
|
|
6
6
|
* Maps a Status to Tag-compatible props
|
|
7
7
|
* Similar to TaskItemStatus (without the css class overrides),
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './_toast.scss';
|
|
2
|
-
import type { ToastProps } from './types';
|
|
2
|
+
import type { ToastProps } from './Toast.types';
|
|
3
3
|
export declare const Toast: ({ label, subLabel, actionLabel, type, duration, onToastHide, onToastAction, }: ToastProps) => import("preact").JSX.Element;
|
|
@@ -7,6 +7,7 @@ import type { GetConfigurationRequest, GetConfigurationResponse } from '../../mo
|
|
|
7
7
|
import type { VerifyIdNumberRequest, VerifyIdNumberResponse } from '../../models/api/verify-id-number';
|
|
8
8
|
import type { CountryCode } from '../../models/country-code';
|
|
9
9
|
import type { AccountValidationResponse, ValidationResponse } from '../../models/errors/validation-error';
|
|
10
|
+
import type { BusinessLinesType } from '../../models/api/source-of-funds';
|
|
10
11
|
export type ConfigurationApi = {
|
|
11
12
|
getConfiguration: (request: GetConfigurationRequest) => Promise<GetConfigurationResponse>;
|
|
12
13
|
getAllowedCountries: () => Promise<GetAllowedCountriesResponse>;
|
|
@@ -18,5 +19,6 @@ export type ConfigurationApi = {
|
|
|
18
19
|
getImageUrl: () => string;
|
|
19
20
|
getLegalForms: (countryCode?: CountryCode) => Promise<DataSet>;
|
|
20
21
|
getNaceCodes: () => Promise<DataSet>;
|
|
22
|
+
getBusinessLines: (legalEntityId: string) => Promise<BusinessLinesType[]>;
|
|
21
23
|
};
|
|
22
24
|
export declare const ConfigurationApiContext: import("preact").Context<ConfigurationApi>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AccountHolderOption } from '
|
|
2
|
-
import type { BankAccountFormatType } from '../../components/
|
|
1
|
+
import type { AccountHolderOption } from '../types/AccountHolder.types';
|
|
2
|
+
import type { BankAccountFormatType } from '../../components/BankAccountFormat/types';
|
|
3
3
|
import type { CountryCode } from '../models/country-code';
|
|
4
4
|
export interface CoreContextType {
|
|
5
5
|
setContextCountry: (country: CountryCode) => void;
|
|
@@ -5,4 +5,4 @@ import type { ExperimentsProps } from './types';
|
|
|
5
5
|
* @param children - components rendered
|
|
6
6
|
* @param experiments - dictionary of type Experiments
|
|
7
7
|
*/
|
|
8
|
-
export declare function ExperimentsContextProvider({ children, experiments: initialExperiments, }: ExperimentsProps): import("preact").JSX.Element;
|
|
8
|
+
export declare function ExperimentsContextProvider({ children, experiments: initialExperiments, refreshExperiments, }: ExperimentsProps): import("preact").JSX.Element;
|
|
@@ -29,7 +29,8 @@ export declare enum ExperimentNames {
|
|
|
29
29
|
EnablePhoneFieldScenario = "EnablePhoneFieldScenario",
|
|
30
30
|
EnableAUIncorporatedPartnershipSkipRegistrationNumber = "EnableAUIncorporatedPartnershipSkipRegistrationNumber",
|
|
31
31
|
EnableCompanyTrusteeSkipABN = "EnableCompanyTrusteeSkipABN",
|
|
32
|
-
ShowCustomerSupportV4 = "ShowCustomerSupportV4"
|
|
32
|
+
ShowCustomerSupportV4 = "ShowCustomerSupportV4",
|
|
33
|
+
CredentialBankingWeightage_EmphasizeCredentialBankingFlow = "CredentialBankingWeightage_EmphasizeCredentialBankingFlow"
|
|
33
34
|
}
|
|
34
35
|
export type ExperimentName = `${ExperimentNames}`;
|
|
35
36
|
export type Experiments = {
|
|
@@ -38,8 +39,10 @@ export type Experiments = {
|
|
|
38
39
|
export interface ExperimentsProps {
|
|
39
40
|
children?: ComponentChildren;
|
|
40
41
|
experiments: Experiments;
|
|
42
|
+
refreshExperiments?: () => void;
|
|
41
43
|
}
|
|
42
44
|
export interface ExperimentsContextValue {
|
|
43
45
|
isExperimentEnabled(key: ExperimentName): boolean;
|
|
44
46
|
enableVersionExperiment(key: ExperimentName): void;
|
|
47
|
+
refreshExperiments?: () => void;
|
|
45
48
|
}
|
|
@@ -8,6 +8,7 @@ import type { PayoutDetailsSchema } from '../../../components/PayoutDetails/type
|
|
|
8
8
|
import type { SolePropSchema } from '../../../components/SoleProp/types';
|
|
9
9
|
import type { TrustSchema } from '../../../components/Trust/types';
|
|
10
10
|
import type { ValidationRuleResult } from '../../../utils/validation/types';
|
|
11
|
+
import type { SourceOfFundsSchema } from '../../../components/Dropins/SourceOfFundsDropin/types';
|
|
11
12
|
export interface SFValue {
|
|
12
13
|
caller?: string;
|
|
13
14
|
data?: object;
|
|
@@ -49,7 +50,7 @@ export type StateModel<TLDS extends TopLevelDataSchema = TopLevelDataSchema> = {
|
|
|
49
50
|
prevState?: State<TLDS>;
|
|
50
51
|
};
|
|
51
52
|
};
|
|
52
|
-
export type TopLevelDataSchema = IndividualSchema | BusinessDetailsSchema | CompanySchema | CustomerSupportSchema | PayoutDetailsSchema | TrustSchema | TrustMemberSchema | SolePropSchema | HighExposureSchema;
|
|
53
|
+
export type TopLevelDataSchema = IndividualSchema | BusinessDetailsSchema | CompanySchema | CustomerSupportSchema | PayoutDetailsSchema | TrustSchema | TrustMemberSchema | SolePropSchema | HighExposureSchema | SourceOfFundsSchema;
|
|
53
54
|
export type AnyFormIdOfTLDS = keyof IndividualSchema | keyof BusinessDetailsSchema | keyof CompanySchema | keyof PayoutDetailsSchema | keyof TrustSchema | keyof TrustMemberSchema | keyof SolePropSchema;
|
|
54
55
|
export interface State<TLDS extends TopLevelDataSchema> {
|
|
55
56
|
data: TLDS;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ToastOptions } from '../../../components/
|
|
1
|
+
import type { ToastOptions } from '../../../components/ui/molecules/Toast/Toast.types';
|
|
2
2
|
export interface ToastContextValue {
|
|
3
3
|
showToast: (options: ToastOptions) => void;
|
|
4
4
|
clearToasts: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SingpassLinkResponse } from '../../../components/Dropins/types';
|
|
2
|
-
import type { AccountHolderOption } from '
|
|
3
|
-
import type { UniqueEntityAssociation } from '../../../components/
|
|
2
|
+
import type { AccountHolderOption } from '../../types/AccountHolder.types';
|
|
3
|
+
import type { UniqueEntityAssociation } from '../../../components/EntityAssociation/types';
|
|
4
4
|
import type { Translatable } from '../../../language/types';
|
|
5
5
|
import type { ExistingLegalEntity } from '../../models/api/legal-entity';
|
|
6
6
|
export declare enum SingpassMyInfoLoginActionType {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountHolderOption } from '
|
|
1
|
+
import type { AccountHolderOption } from '../types/AccountHolder.types';
|
|
2
2
|
interface UseAccountHolder {
|
|
3
3
|
accountHolder: AccountHolderOption | undefined;
|
|
4
4
|
setAccountHolder: (accountHolder: AccountHolderOption | undefined) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BankVerificationVendor } from '../../components/BankVerification/types';
|
|
2
2
|
import type { DropinAPIHandlers } from '../../components/Dropins/types';
|
|
3
|
-
import type { LoadingStatus } from '../../components/
|
|
3
|
+
import type { LoadingStatus } from '../../components/ui/atoms/LoaderWrapper/constants';
|
|
4
4
|
import type { ConfigurationApi } from '../context/ConfigurationApiContext/ConfigurationApiContext';
|
|
5
5
|
import type { CapabilityName } from '../models/api/capability';
|
|
6
6
|
import type { GetConfigurationResponse } from '../models/api/get-configuration';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountHolderOption } from '
|
|
1
|
+
import type { AccountHolderOption } from '../types/AccountHolder.types';
|
|
2
2
|
import { CompanyTypesValue } from '../models/api/company-types-value';
|
|
3
3
|
import type { ExistingLegalEntity } from '../models/api/legal-entity';
|
|
4
4
|
import { LegalEntityType } from '../models/api/legal-entity-type';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DropinAPIHandlers } from '../../components/Dropins/types';
|
|
2
2
|
import type { UserDetails } from '../../components/IdVerification/types';
|
|
3
|
-
import type { LoadingStatus } from '../../components/
|
|
3
|
+
import type { LoadingStatus } from '../../components/ui/atoms/LoaderWrapper/constants';
|
|
4
4
|
export declare const useIdVerificationToken: ({ userDetails, legalEntityId, handleGetIdVerificationToken, onIdVerificationError, }: {
|
|
5
5
|
userDetails: UserDetails;
|
|
6
6
|
legalEntityId?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
-
import type { BankAccountFormatType } from '../../components/
|
|
3
|
-
import type { LoadingStatus } from '../../components/
|
|
2
|
+
import type { BankAccountFormatType } from '../../components/BankAccountFormat/types';
|
|
3
|
+
import type { LoadingStatus } from '../../components/ui/atoms/LoaderWrapper/constants';
|
|
4
4
|
import type { AccountFormatRequirements, PayoutAccountFormats } from '../../datasets/accountFormats/getAccountFormatForCountry';
|
|
5
5
|
import type { GetConfigurationResponse } from '../models/api/get-configuration';
|
|
6
6
|
import type { CountryCode } from '../models/country-code';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { LoadingStatus } from '../../components/
|
|
1
|
+
import type { LoadingStatus } from '../../components/ui/atoms/LoaderWrapper/constants';
|
|
2
2
|
export declare const useUnifyLoadingStatus: (setParentLoadingStatus: (status: LoadingStatus) => void, ...childLoadingStatuses: Array<LoadingStatus>) => void;
|
|
@@ -13,7 +13,7 @@ export interface Organization {
|
|
|
13
13
|
countryOfGoverningLaw?: CountryCode;
|
|
14
14
|
description?: string;
|
|
15
15
|
doingBusinessAs?: string;
|
|
16
|
-
doingBusinessAsAbsent?:
|
|
16
|
+
doingBusinessAsAbsent?: boolean;
|
|
17
17
|
email?: string;
|
|
18
18
|
headOfficeIndicator?: boolean;
|
|
19
19
|
legalFormDescription?: string;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Currency } from '../currency';
|
|
2
|
+
export interface BusinessLinesType {
|
|
3
|
+
id: string;
|
|
4
|
+
industryCode: string;
|
|
5
|
+
legalEntityId: string;
|
|
6
|
+
service: BusinessLinesServiceType;
|
|
7
|
+
sourceOfFunds?: SourceOfFundsType;
|
|
8
|
+
webData?: BusinessLinesWebDataType[];
|
|
9
|
+
}
|
|
10
|
+
export interface SourceOfFundsType {
|
|
11
|
+
type?: SourceOfFundsCategoryType;
|
|
12
|
+
adyenProcessedFunds?: boolean;
|
|
13
|
+
description?: string;
|
|
14
|
+
annualTurnover?: string;
|
|
15
|
+
dateOfFundsReceived?: string;
|
|
16
|
+
purpose?: string;
|
|
17
|
+
relationship?: string;
|
|
18
|
+
originatorSourceOfFundsType?: SourceOfFundsCategoryType;
|
|
19
|
+
originatorLegalEntityId?: string;
|
|
20
|
+
amount?: SourceOfFundsAmount;
|
|
21
|
+
cryptocurrencyExchange?: string;
|
|
22
|
+
dateOfSourceEvent?: string;
|
|
23
|
+
website?: string;
|
|
24
|
+
financiers?: SourceOfFundsFinancierType[];
|
|
25
|
+
}
|
|
26
|
+
export interface SourceOfFundsAmount {
|
|
27
|
+
currency: Currency;
|
|
28
|
+
value: number;
|
|
29
|
+
}
|
|
30
|
+
export interface SourceOfFundsFinancierType {
|
|
31
|
+
firstName: string;
|
|
32
|
+
lastName: string;
|
|
33
|
+
amount: SourceOfFundsAmount;
|
|
34
|
+
location: string;
|
|
35
|
+
}
|
|
36
|
+
export interface BusinessLinesWebDataType {
|
|
37
|
+
webAddress: string;
|
|
38
|
+
webAddressId: string;
|
|
39
|
+
}
|
|
40
|
+
export type BusinessLinesServiceType = 'banking' | 'issuing' | 'payment';
|
|
41
|
+
export type SourceOfFundsCategoryType = 'business' | 'employment' | 'donations' | 'inheritance' | 'financialAid' | 'rentalIncome' | 'dividendIncome' | 'royaltyIncome' | 'thirdPartyFunding' | 'pensionIncome' | 'insuranceSettlement' | 'cryptocurrencyIncome' | 'assetSale' | 'loans' | 'gamblingWinnings';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountHolderOption } from '
|
|
1
|
+
import type { AccountHolderOption } from '../types/AccountHolder.types';
|
|
2
2
|
import type { TaskTypes } from '../../components/TaskList/types';
|
|
3
3
|
import type { AccountFormatRequirements } from '../../datasets/accountFormats/getAccountFormatForCountry';
|
|
4
4
|
import type { ExperimentName } from '../context/ExperimentContext/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BankAccountFormatType } from '../../components/
|
|
1
|
+
import type { BankAccountFormatType } from '../../components/BankAccountFormat/types';
|
|
2
2
|
import type { PayoutAccountSchema } from '../../components/PayoutAccount/types';
|
|
3
3
|
import type { CountryCode } from './country-code';
|
|
4
4
|
import type { CountryConfig } from './country-config';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LegalArrangementOption } from '../../../
|
|
1
|
+
import type { LegalArrangementOption } from '../../../core/types/AccountHolder.types';
|
|
2
2
|
import type { CountryCode } from '../../../core/models/country-code';
|
|
3
3
|
export type LegalArrangementTypeExamples = Partial<Record<LegalArrangementOption, string[]>>;
|
|
4
4
|
export declare const getLegalArrangementTypeExamplesForCountry: (country: CountryCode) => Promise<LegalArrangementTypeExamples>;
|
|
@@ -6,7 +6,7 @@ import type { TransferInstrumentOverview } from '../../core/models/api/transfer-
|
|
|
6
6
|
import type { TaskStatusWithReason } from './taskStatus';
|
|
7
7
|
import { TaskTypes } from './taskTypes';
|
|
8
8
|
import type { TaskIdentifier } from './taskStore';
|
|
9
|
-
import type { AccountHolderOption } from '../../
|
|
9
|
+
import type { AccountHolderOption } from '../../core/types/AccountHolder.types';
|
|
10
10
|
export declare const calculateTaskStatus: ({ taskIdentifier, capabilityProblems, rootLegalEntity, accountHolder, legalRepresentative, trustMembers, transferInstruments, }: {
|
|
11
11
|
taskIdentifier: TaskIdentifier;
|
|
12
12
|
capabilityProblems: CapabilityProblems;
|
|
@@ -5,7 +5,7 @@ import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
|
|
|
5
5
|
import type { LegalEntityAssociation } from '../../core/models/api/legal-entity-association';
|
|
6
6
|
import type { TrustMember } from '../../components/TrustMembers/types';
|
|
7
7
|
import type { TransferInstrumentOverview } from '../../core/models/api/transfer-instrument';
|
|
8
|
-
import type { AccountHolderOption } from '../../
|
|
8
|
+
import type { AccountHolderOption } from '../../core/types/AccountHolder.types';
|
|
9
9
|
export declare const determineTaskIdentifiers: ({ taskTypes: receivedTaskTypes, rootLegalEntity, accountHolder, capabilityProblems, trustMembers, transferInstruments, }: {
|
|
10
10
|
taskTypes: TaskTypes[];
|
|
11
11
|
rootLegalEntity: ExistingLegalEntity | undefined;
|
|
@@ -7,7 +7,7 @@ import type { CapabilityProblems } from '../../core/models/errors/capability-pro
|
|
|
7
7
|
import type { LegalEntityAssociation } from '../../core/models/api/legal-entity-association';
|
|
8
8
|
import type { TrustMember } from '../../components/TrustMembers/types';
|
|
9
9
|
import type { TransferInstrumentOverview } from '../../core/models/api/transfer-instrument';
|
|
10
|
-
import type { AccountHolderOption } from '../../
|
|
10
|
+
import type { AccountHolderOption } from '../../core/types/AccountHolder.types';
|
|
11
11
|
export type TaskIdentifier = `${TaskTypes}` | `${TaskTypes}-${string}`;
|
|
12
12
|
interface BaseTaskState {
|
|
13
13
|
taskTypes: TaskTypes[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountHolderOption } from '../
|
|
1
|
+
import type { AccountHolderOption } from '../core/types/AccountHolder.types';
|
|
2
2
|
import type { CapabilityName } from '../core/models/api/capability';
|
|
3
3
|
import type { ExistingLegalEntity } from '../core/models/api/legal-entity';
|
|
4
4
|
import { LegalEntityType } from '../core/models/api/legal-entity-type';
|
|
@@ -6,8 +6,9 @@ import type { FormList, FormModel, FormModelWithValidity } from '../core/models/
|
|
|
6
6
|
* @param forms
|
|
7
7
|
* @param requiredFields
|
|
8
8
|
* @param optionalFields
|
|
9
|
+
* @param skipSummary
|
|
9
10
|
*/
|
|
10
|
-
export declare const getRequiredForms: (forms: FormList, requiredFields: Record<string, string[]> | undefined, optionalFields: Record<string, string[]> | undefined) => FormModel[];
|
|
11
|
+
export declare const getRequiredForms: (forms: FormList, requiredFields: Record<string, string[]> | undefined, optionalFields: Record<string, string[]> | undefined, skipSummary?: boolean) => FormModel[];
|
|
11
12
|
/**
|
|
12
13
|
* @description Based on validity of fields from formValidity and existence of validationErrors/Verification errors from backend determine whether the forms needs to be shown as valid or not
|
|
13
14
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountHolderOption } from '../
|
|
1
|
+
import type { AccountHolderOption } from '../core/types/AccountHolder.types';
|
|
2
2
|
import type { PersonalDetailsSchema } from '../components/PersonalDetails/types';
|
|
3
3
|
import { TaskTypes } from '../components/TaskList/types';
|
|
4
4
|
import type { ExistingLegalEntity, LegalEntity } from '../core/models/api/legal-entity';
|