@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
16 lines (15 loc) • 690 B
TypeScript
import type { CompanyTypesValue } from '../../core/models/api/company-types-value';
import type { CountryCode } from '../../core/models/country-code';
import type { TranslationKey } from '../../language/types';
import type { DocumentUploadProps } from '../DocumentUpload/types';
export interface RegistrationDocumentProps extends DocumentUploadProps {
country: CountryCode;
companyType: CompanyTypesValue | undefined;
heading?: TranslationKey;
description?: TranslationKey;
}
export interface CompanyTypeDocuments {
header: TranslationKey;
documents: Array<TranslationKey>;
}
export type AcceptedDocuments = Partial<Record<CompanyTypesValue, CompanyTypeDocuments>>;