@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.
22 lines (21 loc) • 987 B
TypeScript
import type { SalesChannel } from '../../components/BusinessLines/fields/SalesChannels/types';
import type { components } from './businessLines.contract';
export type CreateBusinessLineRequest = Omit<components['schemas']['BusinessLineDto'], 'salesChannels'> & {
salesChannels?: SalesChannel[];
};
export type UpdateBusinessLineRequest = Omit<components['schemas']['BusinessLineDto'], 'id' | 'salesChannels'> & {
id: string;
salesChannels?: SalesChannel[];
};
export type BusinessLinesResponse = Omit<components['schemas']['BusinessLineDto'], 'salesChannels' | 'id' | 'industryCodeDescription' | 'webData'> & {
salesChannels?: SalesChannel[];
id: string;
industryCodeDescription: string;
webData?: {
webAddress?: string;
webAddressId?: string;
commerceDisclosureAddress?: string;
}[];
};
export type SourceOfFundsType = components['schemas']['SourceOfFundsDto'];
export type BusinessLineService = components['schemas']['Service'];