eve-esi-types
Version:
Extracted the main type of ESI. use for ESI request response types (version 2 only)
83 lines (76 loc) • 1.5 kB
TypeScript
// Generated by scripts/lib/code-synthesizer.mjs
// - - - - - - - - - - - - - - - - - - - -
// @method {get}
// - - - - - - - - - - - - - - - - - - - -
/*!
* ESI endpoint: get:/alliances/
*/
/**
* 200 ok array
*
* @maxItems 5000
*/
type GetAlliancesOk = number[];
/*!
* ESI endpoint: get:/alliances/{alliance_id}/
*/
/**
* 200 ok object
*/
interface GetAlliancesAllianceIdOk {
/**
* ID of the corporation that created the alliance
*/
creator_corporation_id: number;
/**
* ID of the character that created the alliance
*/
creator_id: number;
/**
* date_founded string
*/
date_founded: string;
/**
* the executor corporation ID, if this alliance is not closed
*/
executor_corporation_id?: number;
/**
* Faction ID this alliance is fighting for, if this alliance is enlisted in factional warfare
*/
faction_id?: number;
/**
* the full name of the alliance
*/
name: string;
/**
* the short name of the alliance
*/
ticker: string;
[k: string]: unknown | undefined;
}
/*!
* ESI endpoint: get:/alliances/{alliance_id}/corporations/
*/
/**
* 200 ok array
*
* @maxItems 1000
*/
type GetAlliancesAllianceIdCorporationsOk = number[];
/*!
* ESI endpoint: get:/alliances/{alliance_id}/icons/
*/
/**
* 200 ok object
*/
interface GetAlliancesAllianceIdIconsOk {
/**
* px128x128 string
*/
px128x128?: string;
/**
* px64x64 string
*/
px64x64?: string;
[k: string]: unknown | undefined;
}