/** * Sleeper API * The Sleeper API is a read-only HTTP API that is free to use and allows access to a users leagues, drafts, and rosters. No API Token is necessary, as you cannot modify contents via this API. Be mindful of the frequency of calls. A general rule is to stay under 1000 API calls per minute, otherwise, you risk being IP-blocked. * * The version of the OpenAPI document: 1.0.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 { DraftSettings } from './draftSettings'; import { DraftMetadata } from './draftMetadata'; export interface Draft { type: string; status: string; start_time: number; sport: string; settings: DraftSettings; season_type: string; season: string; metadata: DraftMetadata; league_id: string; last_picked: number; last_message_time: number; last_message_id: string; /** * this is the user_id to draft slot mapping */ draft_order: { [key: string]: number; } | null; /** * this is the draft slot to roster_id mapping. leagues have rosters, which have roster_ids. this means draft slot 1 (column 1) will go to roster 10, slot 2 will go to roster_id 3, etc */ slot_to_roster_id?: { [key: string]: number; } | null; draft_id: string; creators: Array | null; created: number; }