UNPKG

esiil

Version:

Minimalist library for EVE Online's ESI

41 lines (40 loc) 1.7 kB
import Core from './classes/Core'; import Alliance from './classes/Alliance'; import Calendar from './classes/Calendar'; import Character from './classes/Character'; import Contract from './classes/Contract'; import Corp from './classes/Corp'; import Dogma from './classes/Dogma'; import FactionWarfare from './classes/FactionWarfare'; import General from './classes/General'; import Industry from './classes/Industry'; import Market from './classes/Market'; import Opportunity from './classes/Opportunity'; import Sovereignty from './classes/Sovereignty'; import Universe from './classes/Universe'; import War from './classes/War'; import IInstanceConfig from "./interfaces/InstanceConfig"; declare class ESIIL extends Core.CoreClass { constructor(cfg: IInstanceConfig); defaultAuthRequestURL(state: string): string; targetedAuthRequestURL(state: string, scopes: string[]): string; receiveAuthCode(authCode: string): Promise<import("./interfaces/responses/TokenPlus").default>; refreshAuthCode(refreshToken: string): Promise<import("./interfaces/responses/TokenPlus").default>; reduceScope(refreshToken: string, updatedScopes: string[]): Promise<import("./interfaces/responses/TokenPlus").default>; newAlliance(): Alliance; newCalendar(): Calendar; newCharacter(): Character; newContract(): Contract; newCorp(): Corp; newDogma(): Dogma; newFactionWarfare(): FactionWarfare; newGeneral(): General; newIndustry(): Industry; newMarket(): Market; newOpportunity(): Opportunity; newSovereignty(): Sovereignty; newUniverse(): Universe; newWar(): War; } declare function init(cfg: IInstanceConfig): ESIIL; export default init;