@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
8 lines (7 loc) • 507 B
TypeScript
import type { OrganizationType } from '../../core/models/api/organization-type';
import type { components } from './companyDataset.contract';
export type CompanyDatasetRequest = components['schemas']['ProviderAgnosticCompanyDataSetRequest'];
export type CompanyDatasetResponse = Omit<components['schemas']['ProviderAgnosticCompanyDataSetResponse'], 'companyType'> & {
companyType: OrganizationType | null;
};
export type CompanyDatasetResponseAddress = components['schemas']['ProviderAgnosticAddress'];