UNPKG

@mikle7/litty-api-client

Version:

TypeScript client for Litty API with clean, semantic type definitions

70 lines (69 loc) 2.94 kB
/** * Litty API * Complete API documentation for the Litty platform. ## Authentication Most endpoints require authentication via Supabase JWT tokens. Include the token in the Authorization header: `Bearer <token>` ## API Structure - **Contests**: Create and manage contests, entries, and settlements - **Markets**: Manage prediction markets within contests - **Transactions**: Handle financial transactions for contest entries and rewards - **Wallet**: Manage user wallet balances (cashable, points, tickets) - **Users**: User management and profiles - **Leaderboards**: Competition rankings and scoring - **Uploads**: File upload management - **Shows**: TV show and episode management (admin only) ## Response Formats All endpoints return JSON responses with consistent error handling. Error responses include `statusCode`, `message`, and `error` fields. * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { GetAllShows200ResponseInnerSeasonsInner } from './GetAllShows200ResponseInnerSeasonsInner'; /** * * @export * @interface GetAllShows200ResponseInner */ export interface GetAllShows200ResponseInner { /** * * @type {string} * @memberof GetAllShows200ResponseInner */ id?: string; /** * * @type {string} * @memberof GetAllShows200ResponseInner */ name?: string; /** * * @type {string} * @memberof GetAllShows200ResponseInner */ description?: string; /** * * @type {string} * @memberof GetAllShows200ResponseInner */ imageUrl?: string; /** * * @type {string} * @memberof GetAllShows200ResponseInner */ network?: string; /** * * @type {string} * @memberof GetAllShows200ResponseInner */ status?: string; /** * * @type {Array<GetAllShows200ResponseInnerSeasonsInner>} * @memberof GetAllShows200ResponseInner */ seasons?: Array<GetAllShows200ResponseInnerSeasonsInner>; } /** * Check if a given object implements the GetAllShows200ResponseInner interface. */ export declare function instanceOfGetAllShows200ResponseInner(value: object): value is GetAllShows200ResponseInner; export declare function GetAllShows200ResponseInnerFromJSON(json: any): GetAllShows200ResponseInner; export declare function GetAllShows200ResponseInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllShows200ResponseInner; export declare function GetAllShows200ResponseInnerToJSON(json: any): GetAllShows200ResponseInner; export declare function GetAllShows200ResponseInnerToJSONTyped(value?: GetAllShows200ResponseInner | null, ignoreDiscriminator?: boolean): any;