import { paths } from './apiSchema.generated'; type ExcludeAk>> = Omit & { query?: Omit; }; export type RequestParamsType = ExcludeAk['parameters'], 'header'>> & OperationSchema['requestBody']; export type ResponseContent = (OperationSchema['responses'][200] extends NotNullAnyContent ? OperationSchema['responses'][200]['content']['*/*'] : OperationSchema['responses'][200] extends NotNullJsonHalContent ? OperationSchema['responses'][200]['content']['application/hal+json'] : OperationSchema['responses'][200] extends NotNullJsonContent ? OperationSchema['responses'][200]['content']['application/json'] : OperationSchema['responses'][201] extends NotNullAnyContent ? OperationSchema['responses'][201]['content']['*/*'] : void) & { _internal?: { version?: string; }; }; type NotNullAnyContent = { content: { '*/*': any; }; }; type NotNullJsonHalContent = { content: { 'application/hal+json': any; }; }; type NotNullJsonContent = { content: { 'application/json': any; }; }; type ResponseType = { 200?: { content?: { '*/*'?: any; 'application/json'?: any; 'application/hal+json'?: any; }; } | unknown; 201?: { content?: { '*/*'?: any; }; } | unknown; }; type OperationSchemaType = { requestBody?: { content?: { 'multipart/form-data'?: { [key: string]: any; }; 'application/json'?: any; }; }; parameters?: { path?: { [key: string]: any; }; query?: { [key: string]: { [key: string]: any; } | any; }; }; responses: ResponseType; }; type OperationSchema = Paths[Url][Method] extends OperationSchemaType ? Paths[Url][Method] : never; export {};