@adyen/kyc-components
Version:
`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar
13 lines (12 loc) • 767 B
TypeScript
import { CompanyTypesValue } from '../../core/models/api/company-types-value';
import type { LegalEntityType } from '../../core/models/api/legal-entity-type';
import type { FieldMetadata } from '../../core/models/country-config';
import type { PerCountryFieldConfig } from '../../core/models/field-configurations';
import type { TaxIdNumberType } from '../IdFieldTypeSelector/countryIdNumberTypes';
import type { TaxIdSchema } from './types';
export interface FieldConfigParams {
companyType?: CompanyTypesValue | LegalEntityType.TRUST;
taxIdNumberType?: TaxIdNumberType;
}
export declare const defaultFieldMetadata: FieldMetadata<TaxIdSchema, 'taxId'>;
export declare const defaultFieldConfig: PerCountryFieldConfig<TaxIdSchema, 'taxId', FieldConfigParams>;