Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435import Lacuna from '../../lacuna';import Building from '../building';import * as B from '../../types/building';import * as planetaryCommand from '../../types/planetary-command';
class PlanetaryCommand extends Building { constructor(lacuna: Lacuna, module: string) { super(lacuna, module); }
view(params: B.ViewParams) { return this.callWithSession<planetaryCommand.ViewResponse>('view', params); }
viewPlans(params: planetaryCommand.ViewPlansParams) { return this.callWithSession<planetaryCommand.ViewPlansResponse>('view_plans', params); }
viewIncomingSupplyChains(params: planetaryCommand.ViewIncomingSupplyChainsParams) { return this.callWithSession<planetaryCommand.ViewIncomingSupplyChainsResponse>( 'view_incoming_supply_chains', params ); }
subsidizePodCooldown(params: planetaryCommand.SubsidizePodCooldownParams) { return this.callWithSession<planetaryCommand.SubsidizePodCooldownResponse>( 'subsidize_pod_cooldown', params ); }}
export default PlanetaryCommand;