UNPKG

@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.

10 lines (9 loc) 608 B
import type { OrganizationType } from '../../core/models/api/organization-type'; import type { Currency } from '../../types/datasets/currency'; import type { components } from './companyDataset.contract'; export type CompanyDatasetRequest = components['schemas']['ProviderAgnosticCompanyDataSetRequest']; export type CompanyDatasetResponse = Omit<components['schemas']['ProviderAgnosticCompanyDataSetResponse'], 'companyType' | 'currency'> & { companyType: OrganizationType | null; currency?: Currency; }; export type CompanyDatasetResponseAddress = components['schemas']['ProviderAgnosticAddress'];