@mikle7/litty-api-client
Version:
TypeScript client for Litty API with clean, semantic type definitions
76 lines (75 loc) • 3.19 kB
TypeScript
/**
* 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 { WaitlistTierDto } from './WaitlistTierDto';
/**
*
* @export
* @interface WaitlistProgressResponseDto
*/
export interface WaitlistProgressResponseDto {
/**
* Silver tier status
* @type {WaitlistTierDto}
* @memberof WaitlistProgressResponseDto
*/
silver: WaitlistTierDto;
/**
* Gold tier status
* @type {WaitlistTierDto}
* @memberof WaitlistProgressResponseDto
*/
gold: WaitlistTierDto;
/**
* Boujee tier status
* @type {WaitlistTierDto}
* @memberof WaitlistProgressResponseDto
*/
boujee: WaitlistTierDto;
/**
* Premium tier status
* @type {WaitlistTierDto}
* @memberof WaitlistProgressResponseDto
*/
premium: WaitlistTierDto;
/**
* Elite tier status
* @type {WaitlistTierDto}
* @memberof WaitlistProgressResponseDto
*/
elite: WaitlistTierDto;
/**
* User's referral code
* @type {string}
* @memberof WaitlistProgressResponseDto
*/
referralCode: string;
/**
* Total number of referrals
* @type {number}
* @memberof WaitlistProgressResponseDto
*/
referralsCount: number;
/**
* Whether email is verified
* @type {boolean}
* @memberof WaitlistProgressResponseDto
*/
emailVerified: boolean;
}
/**
* Check if a given object implements the WaitlistProgressResponseDto interface.
*/
export declare function instanceOfWaitlistProgressResponseDto(value: object): value is WaitlistProgressResponseDto;
export declare function WaitlistProgressResponseDtoFromJSON(json: any): WaitlistProgressResponseDto;
export declare function WaitlistProgressResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaitlistProgressResponseDto;
export declare function WaitlistProgressResponseDtoToJSON(json: any): WaitlistProgressResponseDto;
export declare function WaitlistProgressResponseDtoToJSONTyped(value?: WaitlistProgressResponseDto | null, ignoreDiscriminator?: boolean): any;