// This file is auto-generated by @hey-api/openapi-ts

export type ClientOptions = {
    baseURL: 'http://localhost:8080' | (string & {});
};

export type SearchEntryDto = {
    id?: string;
    posterURLs?: Array<string>;
    title?: string;
    episodeCount?: number;
    rating?: number;
    ratingSource?: string;
    type?: string;
    studio?: string;
    genres?: Array<string>;
    durationMin?: number;
};

export type SearchResponseDto = {
    result?: Array<SearchEntryDto>;
};

export type GetSearchData = {
    body?: never;
    path?: never;
    query?: {
        title?: string;
    };
    url: '/search';
};

export type GetSearchResponses = {
    /**
     * OK
     */
    200: SearchResponseDto;
};

export type GetSearchResponse = GetSearchResponses[keyof GetSearchResponses];
