Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138import type { components } from './schema';
export interface SearchForGlyphParams { building_id: number; ore_type: | 'rutile' | 'chromite' | 'chalcopyrite' | 'galena' | 'gold' | 'uraninite' | 'bauxite' | 'goethite' | 'halite' | 'gypsum' | 'trona' | 'kerogen' | 'methane' | 'anthracite' | 'sulfur' | 'zircon' | 'monazite' | 'fluorite' | 'beryl' | 'magnetite';}
export interface SearchForGlyphResponse { building: components['schemas']['building']; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface SubsidizeSearchParams { building_id: number;}
export interface SubsidizeSearchResponse { building: components['schemas']['building']; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface GetGlyphSummaryParams { building_id: number;}
export interface GetGlyphSummaryResponse { glyphs: Array<{ id: number; name: string; type: string; quantity: number }>; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface AssembleGlyphsParams { building_id: number; glyphs: Array<string>; quantity?: number;}
export interface AssembleGlyphsResponse { status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; item_name: string;}
export interface GetOresAvailableForProcessingParams { building_id: number;}
export interface GetOresAvailableForProcessingResponse { ore: Record<string, number>; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface ViewExcavatorsParams { building_id: number;}
export interface ViewExcavatorsResponse { max_excavators: number; travelling: number; excavators: Array<{ id: number; date_landed: string; body?: { id: number; name: string; x: number; y: number; image: string }; artifact_chance?: number; glyph_chance?: number; plan_chance?: number; resource_chance?: number; }>; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface AbandonExcavatorParams { building_id: number; site_id: number;}
export interface AbandonExcavatorResponse { status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface MassAbandonExcavatorParams { building_id: number;}
export interface MassAbandonExcavatorResponse { status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}