Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566import type { components } from './schema';
export interface ViewPrisonersParams { building_id: number; page_number?: number;}
export interface ViewPrisonersResponse { status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; prisoners: Array<{ id: number; name: string; level: number; task: 'Captured' | 'Prisoner Transport'; sentence_expires: string; }>; /** Total prisoners across all pages (25 per page). */ captured_count: number;}
export interface ExecutePrisonerParams { building_id: number; prisoner_id: number;}
export interface ExecutePrisonerResponse { status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface ReleasePrisonerParams { building_id: number; prisoner_id: number;}
export interface ReleasePrisonerResponse { status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface ViewForeignSpiesParams { building_id: number; page_number?: number;}
export interface ViewForeignSpiesResponse { status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; spies: Array<{ name: string; level: number; task: string; next_mission: string }>; /** Total foreign spies across all pages (25 per page). */ spy_count: number;}