// This file is auto-generated by @hey-api/openapi-ts import type { Client, Composable, Options as Options2, TDataShape } from './client'; import { client } from './client.gen'; import type { GetDetailData, GetDetailResponse, GetListKodikData, GetListKodikResponse, GetSearchKodikData, GetSearchKodikResponse } from './types.gen'; export type Options = Options2 & { /** * You can provide a client instance returned by `createClient()` instead of * individual options. This might be also useful if you want to implement a * custom client. */ client?: Client; /** * You can pass arbitrary values through the `meta` object. This can be * used to access values that aren't defined as part of the SDK function. */ meta?: Record; }; /** * Detail */ export const getDetail = (options: Options) => (options.client ?? client).get({ url: '/detail', ...options }); /** * List */ export const getListKodik = (options: Options) => (options.client ?? client).get({ url: '/list/kodik', ...options }); /** * Search Kodik */ export const getSearchKodik = (options: Options) => (options.client ?? client).get({ url: '/search/kodik', ...options });