import type { ExtractStrict } from 'type-fest'; import type { SalesChannel } from '../../components/BusinessLines/fields/SalesChannels/types'; import type { EndpointFromPaths } from '../types'; import type { components, paths } from './pci.contract'; export type PciEndpoint = EndpointFromPaths; export type PciQuestionnaireResponse = components['schemas']['PciQuestionnaireResponse']; export type PciQuestionnaireListEndpoint = ExtractStrict; export type PciQuestionnaireListResponse = components['schemas']['PciQuestionnairesResponse']; export type PciStatusEndpoint = ExtractStrict; export type PciStatusResponse = components['schemas']['PciSigningStatusResponse']; export type PciStatusRequest = Omit & { additionalSalesChannels?: SalesChannel[]; }; export type PciTemplateEndpoint = ExtractStrict; export type PciTemplateResponse = Required; export type PciTemplateRequest = Omit & { additionalSalesChannels?: SalesChannel[]; };