import type { components } from './schema'; import type { ViewResponse as BuildingViewResponse } from './building'; import type { RecycleBlock } from './waste-recycling'; export type { RecycleBlock }; export interface ViewResponse extends BuildingViewResponse { recycle: RecycleBlock; } export interface RecycleParams { building_id: number; water: number; ore: number; energy: number; use_essentia?: 1 | 0; } export interface RecycleResponse { building: components['schemas']['building']; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; recycle: RecycleBlock; } export interface SubsidizeRecyclingParams { building_id: number; } export interface SubsidizeRecyclingResponse { building: components['schemas']['building']; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; recycle: RecycleBlock; }