diff --git a/package.json b/package.json index 4b4d586..3133857 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "esi-swagger": "npx swagger-typescript-api -p https://esi.evetech.net/latest/swagger.json -o ./src -n esi-api.ts" + "esi-swagger": "npx swagger-typescript-api -p https://esi.evetech.net/_latest/swagger.json -o ./src -n esi-api.ts" }, "dependencies": { "@emotion/react": "^11.11.1", diff --git a/src/esi-api.ts b/src/esi-api.ts index 466dd19..155bbbb 100644 --- a/src/esi-api.ts +++ b/src/esi-api.ts @@ -122,7 +122,7 @@ export enum ContentType { } export class HttpClient { - public baseUrl: string = "https://esi.evetech.net/latest"; + public baseUrl: string = "https://esi.evetech.net"; private securityData: SecurityDataType | null = null; private securityWorker?: ApiConfig["securityWorker"]; private abortControllers = new Map(); @@ -289,19 +289,19 @@ export class HttpClient { /** * @title EVE Swagger Interface * @version 1.17 - * @baseUrl https://esi.evetech.net/latest + * @baseUrl https://esi.evetech.net * * An OpenAPI for EVE Online */ export class Api extends HttpClient { - alliances = { + v1 = { /** - * @description List all active player alliances --- Alternate route: `/dev/alliances/` Alternate route: `/legacy/alliances/` Alternate route: `/v1/alliances/` Alternate route: `/v2/alliances/` --- This route is cached for up to 3600 seconds + * @description List all active player alliances --- This route is cached for up to 3600 seconds * * @tags Alliance * @name GetAlliances * @summary List all alliances - * @request GET:/alliances/ + * @request GET:/v1/alliances/ */ getAlliances: ( query?: { @@ -317,7 +317,7 @@ export class Api extends HttpClient({ - path: `/alliances/`, + path: `/v1/alliances/`, method: "GET", query: query, format: "json", @@ -325,167 +325,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_alliances_alliance_id_creator_corporation_id - * ID of the corporation that created the alliance - * @format int32 - */ - creator_corporation_id: number; - /** - * get_alliances_alliance_id_creator_id - * ID of the character that created the alliance - * @format int32 - */ - creator_id: number; - /** - * get_alliances_alliance_id_date_founded - * date_founded string - * @format date-time - */ - date_founded: string; - /** - * get_alliances_alliance_id_executor_corporation_id - * the executor corporation ID, if this alliance is not closed - * @format int32 - */ - executor_corporation_id?: number; - /** - * get_alliances_alliance_id_faction_id - * Faction ID this alliance is fighting for, if this alliance is enlisted in factional warfare - * @format int32 - */ - faction_id?: number; - /** - * get_alliances_alliance_id_name - * the full name of the alliance - */ - name: string; - /** - * get_alliances_alliance_id_ticker - * the short name of the alliance - */ - ticker: string; - }, - | void - | BadRequest - | { - /** - * get_alliances_alliance_id_404_not_found - * Not found message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/alliances/${allianceId}/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Return contacts of an alliance --- Alternate route: `/dev/alliances/{alliance_id}/contacts/` Alternate route: `/v2/alliances/{alliance_id}/contacts/` --- This route is cached for up to 300 seconds - * - * @tags Contacts - * @name GetAlliancesAllianceIdContacts - * @summary Get alliance contacts - * @request GET:/alliances/{alliance_id}/contacts/ - * @secure - */ - getAlliancesAllianceIdContacts: ( - allianceId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_alliances_alliance_id_contacts_contact_id - * contact_id integer - * @format int32 - */ - contact_id: number; - /** - * get_alliances_alliance_id_contacts_contact_type - * contact_type string - */ - contact_type: "character" | "corporation" | "alliance" | "faction"; - /** - * get_alliances_alliance_id_contacts_label_ids - * label_ids array - * @maxItems 63 - */ - label_ids?: number[]; - /** - * get_alliances_alliance_id_contacts_standing - * Standing of the contact - * @format float - */ - standing: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/alliances/${allianceId}/contacts/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return custom labels for an alliance's contacts --- Alternate route: `/dev/alliances/{alliance_id}/contacts/labels/` Alternate route: `/legacy/alliances/{alliance_id}/contacts/labels/` Alternate route: `/v1/alliances/{alliance_id}/contacts/labels/` --- This route is cached for up to 300 seconds + * @description Return custom labels for an alliance's contacts --- This route is cached for up to 300 seconds * * @tags Contacts * @name GetAlliancesAllianceIdContactsLabels * @summary Get alliance contact labels - * @request GET:/alliances/{alliance_id}/contacts/labels/ + * @request GET:/v1/alliances/{alliance_id}/contacts/labels/ * @secure */ getAlliancesAllianceIdContactsLabels: ( @@ -524,7 +369,7 @@ export class Api extends HttpClient({ - path: `/alliances/${allianceId}/contacts/labels/`, + path: `/v1/alliances/${allianceId}/contacts/labels/`, method: "GET", query: query, secure: true, @@ -533,12 +378,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/alliances/${allianceId}/corporations/`, + path: `/v1/alliances/${allianceId}/corporations/`, method: "GET", query: query, format: "json", @@ -563,12 +408,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/alliances/${allianceId}/icons/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - }; - characters = { - /** - * @description Bulk lookup of character IDs to corporation, alliance and faction --- Alternate route: `/dev/characters/affiliation/` Alternate route: `/v2/characters/affiliation/` --- This route is cached for up to 3600 seconds - * - * @tags Character - * @name PostCharactersAffiliation - * @summary Character affiliation - * @request POST:/characters/affiliation/ - */ - postCharactersAffiliation: ( - characters: number[], - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * post_characters_affiliation_alliance_id - * The character's alliance ID, if their corporation is in an alliance - * @format int32 - */ - alliance_id?: number; - /** - * post_characters_affiliation_character_id - * The character's ID - * @format int32 - */ - character_id: number; - /** - * post_characters_affiliation_corporation_id - * The character's corporation ID - * @format int32 - */ - corporation_id: number; - /** - * post_characters_affiliation_faction_id - * The character's faction ID, if their corporation is in a faction - * @format int32 - */ - faction_id?: number; - }[], - BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/characters/affiliation/`, - method: "POST", - query: query, - body: characters, - type: ContentType.Json, - format: "json", - ...params, - }), - - /** - * @description Public information about a character --- Alternate route: `/dev/characters/{character_id}/` Alternate route: `/legacy/characters/{character_id}/` Alternate route: `/v5/characters/{character_id}/` --- This route is cached for up to 86400 seconds - * - * @tags Character - * @name GetCharactersCharacterId - * @summary Get character's public information - * @request GET:/characters/{character_id}/ - */ - getCharactersCharacterId: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_alliance_id - * The character's alliance ID - * @format int32 - */ - alliance_id?: number; - /** - * get_characters_character_id_birthday - * Creation date of the character - * @format date-time - */ - birthday: string; - /** - * get_characters_character_id_bloodline_id - * bloodline_id integer - * @format int32 - */ - bloodline_id: number; - /** - * get_characters_character_id_corporation_id - * The character's corporation ID - * @format int32 - */ - corporation_id: number; - /** - * get_characters_character_id_description - * description string - */ - description?: string; - /** - * get_characters_character_id_faction_id - * ID of the faction the character is fighting for, if the character is enlisted in Factional Warfare - * @format int32 - */ - faction_id?: number; - /** - * get_characters_character_id_gender - * gender string - */ - gender: "female" | "male"; - /** - * get_characters_character_id_name - * name string - */ - name: string; - /** - * get_characters_character_id_race_id - * race_id integer - * @format int32 - */ - race_id: number; - /** - * get_characters_character_id_security_status - * security_status number - * @format float - * @min -10 - * @max 10 - */ - security_status?: number; - /** - * get_characters_character_id_title - * The individual title of the character - */ - title?: string; - }, - | void - | BadRequest - | { - /** - * get_characters_character_id_404_not_found - * Not found message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/`, + path: `/v1/alliances/${allianceId}/icons/`, method: "GET", query: query, format: "json", @@ -781,335 +461,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_agents_research_agent_id - * agent_id integer - * @format int32 - */ - agent_id: number; - /** - * get_characters_character_id_agents_research_points_per_day - * points_per_day number - * @format float - */ - points_per_day: number; - /** - * get_characters_character_id_agents_research_remainder_points - * remainder_points number - * @format float - */ - remainder_points: number; - /** - * get_characters_character_id_agents_research_skill_type_id - * skill_type_id integer - * @format int32 - */ - skill_type_id: number; - /** - * get_characters_character_id_agents_research_started_at - * started_at string - * @format date-time - */ - started_at: string; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/agents_research/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return a list of the characters assets --- Alternate route: `/dev/characters/{character_id}/assets/` Alternate route: `/v5/characters/{character_id}/assets/` --- This route is cached for up to 3600 seconds - * - * @tags Assets - * @name GetCharactersCharacterIdAssets - * @summary Get character assets - * @request GET:/characters/{character_id}/assets/ - * @secure - */ - getCharactersCharacterIdAssets: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_assets_is_blueprint_copy - * is_blueprint_copy boolean - */ - is_blueprint_copy?: boolean; - /** - * get_characters_character_id_assets_is_singleton - * is_singleton boolean - */ - is_singleton: boolean; - /** - * get_characters_character_id_assets_item_id - * item_id integer - * @format int64 - */ - item_id: number; - /** - * get_characters_character_id_assets_location_flag - * location_flag string - */ - location_flag: - | "AssetSafety" - | "AutoFit" - | "BoosterBay" - | "Cargo" - | "CorpseBay" - | "Deliveries" - | "DroneBay" - | "FighterBay" - | "FighterTube0" - | "FighterTube1" - | "FighterTube2" - | "FighterTube3" - | "FighterTube4" - | "FleetHangar" - | "FrigateEscapeBay" - | "Hangar" - | "HangarAll" - | "HiSlot0" - | "HiSlot1" - | "HiSlot2" - | "HiSlot3" - | "HiSlot4" - | "HiSlot5" - | "HiSlot6" - | "HiSlot7" - | "HiddenModifiers" - | "Implant" - | "LoSlot0" - | "LoSlot1" - | "LoSlot2" - | "LoSlot3" - | "LoSlot4" - | "LoSlot5" - | "LoSlot6" - | "LoSlot7" - | "Locked" - | "MedSlot0" - | "MedSlot1" - | "MedSlot2" - | "MedSlot3" - | "MedSlot4" - | "MedSlot5" - | "MedSlot6" - | "MedSlot7" - | "QuafeBay" - | "RigSlot0" - | "RigSlot1" - | "RigSlot2" - | "RigSlot3" - | "RigSlot4" - | "RigSlot5" - | "RigSlot6" - | "RigSlot7" - | "ShipHangar" - | "Skill" - | "SpecializedAmmoHold" - | "SpecializedAsteroidHold" - | "SpecializedCommandCenterHold" - | "SpecializedFuelBay" - | "SpecializedGasHold" - | "SpecializedIceHold" - | "SpecializedIndustrialShipHold" - | "SpecializedLargeShipHold" - | "SpecializedMaterialBay" - | "SpecializedMediumShipHold" - | "SpecializedMineralHold" - | "SpecializedOreHold" - | "SpecializedPlanetaryCommoditiesHold" - | "SpecializedSalvageHold" - | "SpecializedShipHold" - | "SpecializedSmallShipHold" - | "StructureDeedBay" - | "SubSystemBay" - | "SubSystemSlot0" - | "SubSystemSlot1" - | "SubSystemSlot2" - | "SubSystemSlot3" - | "SubSystemSlot4" - | "SubSystemSlot5" - | "SubSystemSlot6" - | "SubSystemSlot7" - | "Unlocked" - | "Wardrobe"; - /** - * get_characters_character_id_assets_location_id - * location_id integer - * @format int64 - */ - location_id: number; - /** - * get_characters_character_id_assets_location_type - * location_type string - */ - location_type: "station" | "solar_system" | "item" | "other"; - /** - * get_characters_character_id_assets_quantity - * quantity integer - * @format int32 - */ - quantity: number; - /** - * get_characters_character_id_assets_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | { - /** - * get_characters_character_id_assets_error - * error message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/assets/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return locations for a set of item ids, which you can get from character assets endpoint. Coordinates for items in hangars or stations are set to (0,0,0) --- Alternate route: `/dev/characters/{character_id}/assets/locations/` Alternate route: `/v2/characters/{character_id}/assets/locations/` - * - * @tags Assets - * @name PostCharactersCharacterIdAssetsLocations - * @summary Get character asset locations - * @request POST:/characters/{character_id}/assets/locations/ - * @secure - */ - postCharactersCharacterIdAssetsLocations: ( - characterId: number, - item_ids: number[], - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * post_characters_character_id_assets_locations_item_id - * item_id integer - * @format int64 - */ - item_id: number; - /** - * post_characters_character_id_assets_locations_position - * position object - */ - position: { - /** - * post_characters_character_id_assets_locations_x - * x number - * @format double - */ - x: number; - /** - * post_characters_character_id_assets_locations_y - * y number - * @format double - */ - y: number; - /** - * post_characters_character_id_assets_locations_z - * z number - * @format double - */ - z: number; - }; - }[], - BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/characters/${characterId}/assets/locations/`, - method: "POST", - query: query, - body: item_ids, - secure: true, - type: ContentType.Json, - format: "json", - ...params, - }), - - /** - * @description Return names for a set of item ids, which you can get from character assets endpoint. Typically used for items that can customize names, like containers or ships. --- Alternate route: `/dev/characters/{character_id}/assets/names/` Alternate route: `/legacy/characters/{character_id}/assets/names/` Alternate route: `/v1/characters/{character_id}/assets/names/` + * @description Return names for a set of item ids, which you can get from character assets endpoint. Typically used for items that can customize names, like containers or ships. --- * * @tags Assets * @name PostCharactersCharacterIdAssetsNames * @summary Get character asset names - * @request POST:/characters/{character_id}/assets/names/ + * @request POST:/v1/characters/{character_id}/assets/names/ * @secure */ postCharactersCharacterIdAssetsNames: ( @@ -1142,7 +499,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/assets/names/`, + path: `/v1/characters/${characterId}/assets/names/`, method: "POST", query: query, body: item_ids, @@ -1153,12 +510,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/attributes/`, + path: `/v1/characters/${characterId}/attributes/`, method: "GET", query: query, secure: true, @@ -1243,381 +600,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_blueprints_item_id - * Unique ID for this item. - * @format int64 - */ - item_id: number; - /** - * get_characters_character_id_blueprints_location_flag - * Type of the location_id - */ - location_flag: - | "AutoFit" - | "Cargo" - | "CorpseBay" - | "DroneBay" - | "FleetHangar" - | "Deliveries" - | "HiddenModifiers" - | "Hangar" - | "HangarAll" - | "LoSlot0" - | "LoSlot1" - | "LoSlot2" - | "LoSlot3" - | "LoSlot4" - | "LoSlot5" - | "LoSlot6" - | "LoSlot7" - | "MedSlot0" - | "MedSlot1" - | "MedSlot2" - | "MedSlot3" - | "MedSlot4" - | "MedSlot5" - | "MedSlot6" - | "MedSlot7" - | "HiSlot0" - | "HiSlot1" - | "HiSlot2" - | "HiSlot3" - | "HiSlot4" - | "HiSlot5" - | "HiSlot6" - | "HiSlot7" - | "AssetSafety" - | "Locked" - | "Unlocked" - | "Implant" - | "QuafeBay" - | "RigSlot0" - | "RigSlot1" - | "RigSlot2" - | "RigSlot3" - | "RigSlot4" - | "RigSlot5" - | "RigSlot6" - | "RigSlot7" - | "ShipHangar" - | "SpecializedFuelBay" - | "SpecializedOreHold" - | "SpecializedGasHold" - | "SpecializedMineralHold" - | "SpecializedSalvageHold" - | "SpecializedShipHold" - | "SpecializedSmallShipHold" - | "SpecializedMediumShipHold" - | "SpecializedLargeShipHold" - | "SpecializedIndustrialShipHold" - | "SpecializedAmmoHold" - | "SpecializedCommandCenterHold" - | "SpecializedPlanetaryCommoditiesHold" - | "SpecializedMaterialBay" - | "SubSystemSlot0" - | "SubSystemSlot1" - | "SubSystemSlot2" - | "SubSystemSlot3" - | "SubSystemSlot4" - | "SubSystemSlot5" - | "SubSystemSlot6" - | "SubSystemSlot7" - | "FighterBay" - | "FighterTube0" - | "FighterTube1" - | "FighterTube2" - | "FighterTube3" - | "FighterTube4" - | "Module"; - /** - * get_characters_character_id_blueprints_location_id - * References a station, a ship or an item_id if this blueprint is located within a container. If the return value is an item_id, then the Character AssetList API must be queried to find the container using the given item_id to determine the correct location of the Blueprint. - * @format int64 - */ - location_id: number; - /** - * get_characters_character_id_blueprints_material_efficiency - * Material Efficiency Level of the blueprint. - * @format int32 - * @min 0 - * @max 25 - */ - material_efficiency: number; - /** - * get_characters_character_id_blueprints_quantity - * A range of numbers with a minimum of -2 and no maximum value where -1 is an original and -2 is a copy. It can be a positive integer if it is a stack of blueprint originals fresh from the market (e.g. no activities performed on them yet). - * @format int32 - * @min -2 - */ - quantity: number; - /** - * get_characters_character_id_blueprints_runs - * Number of runs remaining if the blueprint is a copy, -1 if it is an original. - * @format int32 - * @min -1 - */ - runs: number; - /** - * get_characters_character_id_blueprints_time_efficiency - * Time Efficiency Level of the blueprint. - * @format int32 - * @min 0 - * @max 20 - */ - time_efficiency: number; - /** - * get_characters_character_id_blueprints_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/blueprints/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description A list of your character's personal bookmarks --- Alternate route: `/dev/characters/{character_id}/bookmarks/` Alternate route: `/v2/characters/{character_id}/bookmarks/` --- This route is cached for up to 3600 seconds - * - * @tags Bookmarks - * @name GetCharactersCharacterIdBookmarks - * @summary List bookmarks - * @request GET:/characters/{character_id}/bookmarks/ - * @secure - */ - getCharactersCharacterIdBookmarks: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_bookmarks_bookmark_id - * bookmark_id integer - * @format int32 - */ - bookmark_id: number; - /** - * get_characters_character_id_bookmarks_coordinates - * Optional object that is returned if a bookmark was made on a planet or a random location in space. - */ - coordinates?: { - /** - * get_characters_character_id_bookmarks_x - * x number - * @format double - */ - x: number; - /** - * get_characters_character_id_bookmarks_y - * y number - * @format double - */ - y: number; - /** - * get_characters_character_id_bookmarks_z - * z number - * @format double - */ - z: number; - }; - /** - * get_characters_character_id_bookmarks_created - * created string - * @format date-time - */ - created: string; - /** - * get_characters_character_id_bookmarks_creator_id - * creator_id integer - * @format int32 - */ - creator_id: number; - /** - * get_characters_character_id_bookmarks_folder_id - * folder_id integer - * @format int32 - */ - folder_id?: number; - /** - * get_characters_character_id_bookmarks_item - * Optional object that is returned if a bookmark was made on a particular item. - */ - item?: { - /** - * get_characters_character_id_bookmarks_item_id - * item_id integer - * @format int64 - */ - item_id: number; - /** - * get_characters_character_id_bookmarks_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }; - /** - * get_characters_character_id_bookmarks_label - * label string - */ - label: string; - /** - * get_characters_character_id_bookmarks_location_id - * location_id integer - * @format int32 - */ - location_id: number; - /** - * get_characters_character_id_bookmarks_notes - * notes string - */ - notes: string; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/bookmarks/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description A list of your character's personal bookmark folders --- Alternate route: `/dev/characters/{character_id}/bookmarks/folders/` Alternate route: `/v2/characters/{character_id}/bookmarks/folders/` --- This route is cached for up to 3600 seconds - * - * @tags Bookmarks - * @name GetCharactersCharacterIdBookmarksFolders - * @summary List bookmark folders - * @request GET:/characters/{character_id}/bookmarks/folders/ - * @secure - */ - getCharactersCharacterIdBookmarksFolders: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_bookmarks_folders_folder_id - * folder_id integer - * @format int32 - */ - folder_id: number; - /** - * get_characters_character_id_bookmarks_folders_name - * name string - */ - name: string; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/bookmarks/folders/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Get 50 event summaries from the calendar. If no from_event ID is given, the resource will return the next 50 chronological event summaries from now. If a from_event ID is specified, it will return the next 50 chronological event summaries from after that event --- Alternate route: `/dev/characters/{character_id}/calendar/` Alternate route: `/legacy/characters/{character_id}/calendar/` Alternate route: `/v1/characters/{character_id}/calendar/` Alternate route: `/v2/characters/{character_id}/calendar/` --- This route is cached for up to 5 seconds + * @description Get 50 event summaries from the calendar. If no from_event ID is given, the resource will return the next 50 chronological event summaries from now. If a from_event ID is specified, it will return the next 50 chronological event summaries from after that event --- This route is cached for up to 5 seconds * * @tags Calendar * @name GetCharactersCharacterIdCalendar * @summary List calendar event summaries - * @request GET:/characters/{character_id}/calendar/ + * @request GET:/v1/characters/{character_id}/calendar/ * @secure */ getCharactersCharacterIdCalendar: ( @@ -1678,7 +666,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/calendar/`, + path: `/v1/characters/${characterId}/calendar/`, method: "GET", query: query, secure: true, @@ -1687,160 +675,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_calendar_event_id_date - * date string - * @format date-time - */ - date: string; - /** - * get_characters_character_id_calendar_event_id_duration - * Length in minutes - * @format int32 - */ - duration: number; - /** - * get_characters_character_id_calendar_event_id_event_id - * event_id integer - * @format int32 - */ - event_id: number; - /** - * get_characters_character_id_calendar_event_id_importance - * importance integer - * @format int32 - */ - importance: number; - /** - * get_characters_character_id_calendar_event_id_owner_id - * owner_id integer - * @format int32 - */ - owner_id: number; - /** - * get_characters_character_id_calendar_event_id_owner_name - * owner_name string - */ - owner_name: string; - /** - * get_characters_character_id_calendar_event_id_owner_type - * owner_type string - */ - owner_type: "eve_server" | "corporation" | "faction" | "character" | "alliance"; - /** - * get_characters_character_id_calendar_event_id_response - * response string - */ - response: string; - /** - * get_characters_character_id_calendar_event_id_text - * text string - */ - text: string; - /** - * get_characters_character_id_calendar_event_id_title - * title string - */ - title: string; - }, - | void - | BadRequest - | Unauthorized - | Forbidden - | { - /** - * get_characters_character_id_calendar_event_id_404_not_found - * Not found message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/calendar/${eventId}/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Set your response status to an event --- Alternate route: `/dev/characters/{character_id}/calendar/{event_id}/` Alternate route: `/legacy/characters/{character_id}/calendar/{event_id}/` Alternate route: `/v3/characters/{character_id}/calendar/{event_id}/` Alternate route: `/v4/characters/{character_id}/calendar/{event_id}/` --- This route is cached for up to 5 seconds - * - * @tags Calendar - * @name PutCharactersCharacterIdCalendarEventId - * @summary Respond to an event - * @request PUT:/characters/{character_id}/calendar/{event_id}/ - * @secure - */ - putCharactersCharacterIdCalendarEventId: ( - characterId: number, - eventId: number, - response: { - /** - * put_characters_character_id_calendar_event_id_response_response - * response string - */ - response: "accepted" | "declined" | "tentative"; - }, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - void, - BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/characters/${characterId}/calendar/${eventId}/`, - method: "PUT", - query: query, - body: response, - secure: true, - type: ContentType.Json, - ...params, - }), - - /** - * @description Get all invited attendees for a given event --- Alternate route: `/dev/characters/{character_id}/calendar/{event_id}/attendees/` Alternate route: `/legacy/characters/{character_id}/calendar/{event_id}/attendees/` Alternate route: `/v1/characters/{character_id}/calendar/{event_id}/attendees/` Alternate route: `/v2/characters/{character_id}/calendar/{event_id}/attendees/` --- This route is cached for up to 600 seconds + * @description Get all invited attendees for a given event --- This route is cached for up to 600 seconds * * @tags Calendar * @name GetCharactersCharacterIdCalendarEventIdAttendees * @summary Get attendees - * @request GET:/characters/{character_id}/calendar/{event_id}/attendees/ + * @request GET:/v1/characters/{character_id}/calendar/{event_id}/attendees/ * @secure */ getCharactersCharacterIdCalendarEventIdAttendees: ( @@ -1887,7 +727,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/calendar/${eventId}/attendees/`, + path: `/v1/characters/${characterId}/calendar/${eventId}/attendees/`, method: "GET", query: query, secure: true, @@ -1896,359 +736,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_clones_home_location - * home_location object - */ - home_location?: { - /** - * get_characters_character_id_clones_location_id - * location_id integer - * @format int64 - */ - location_id?: number; - /** - * get_characters_character_id_clones_location_type - * location_type string - */ - location_type?: "station" | "structure"; - }; - /** - * get_characters_character_id_clones_jump_clones - * jump_clones array - * @maxItems 64 - */ - jump_clones: { - /** - * get_characters_character_id_clones_implants - * implants array - * @maxItems 64 - */ - implants: number[]; - /** - * get_characters_character_id_clones_jump_clone_id - * jump_clone_id integer - * @format int32 - */ - jump_clone_id: number; - /** - * get_characters_character_id_clones_jump_clone_location_id - * location_id integer - * @format int64 - */ - location_id: number; - /** - * get_characters_character_id_clones_jump_clone_location_type - * location_type string - */ - location_type: "station" | "structure"; - /** - * get_characters_character_id_clones_name - * name string - */ - name?: string; - }[]; - /** - * get_characters_character_id_clones_last_clone_jump_date - * last_clone_jump_date string - * @format date-time - */ - last_clone_jump_date?: string; - /** - * get_characters_character_id_clones_last_station_change_date - * last_station_change_date string - * @format date-time - */ - last_station_change_date?: string; - }, - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/clones/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Bulk delete contacts --- Alternate route: `/dev/characters/{character_id}/contacts/` Alternate route: `/v2/characters/{character_id}/contacts/` - * - * @tags Contacts - * @name DeleteCharactersCharacterIdContacts - * @summary Delete contacts - * @request DELETE:/characters/{character_id}/contacts/ - * @secure - */ - deleteCharactersCharacterIdContacts: ( - characterId: number, - query: { - /** - * A list of contacts to delete - * @maxItems 20 - * @minItems 1 - */ - contact_ids: number[]; - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - void, - BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/characters/${characterId}/contacts/`, - method: "DELETE", - query: query, - secure: true, - ...params, - }), - - /** - * @description Return contacts of a character --- Alternate route: `/dev/characters/{character_id}/contacts/` Alternate route: `/v2/characters/{character_id}/contacts/` --- This route is cached for up to 300 seconds - * - * @tags Contacts - * @name GetCharactersCharacterIdContacts - * @summary Get contacts - * @request GET:/characters/{character_id}/contacts/ - * @secure - */ - getCharactersCharacterIdContacts: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_contacts_contact_id - * contact_id integer - * @format int32 - */ - contact_id: number; - /** - * get_characters_character_id_contacts_contact_type - * contact_type string - */ - contact_type: "character" | "corporation" | "alliance" | "faction"; - /** - * get_characters_character_id_contacts_is_blocked - * Whether this contact is in the blocked list. Note a missing value denotes unknown, not true or false - */ - is_blocked?: boolean; - /** - * get_characters_character_id_contacts_is_watched - * Whether this contact is being watched - */ - is_watched?: boolean; - /** - * get_characters_character_id_contacts_label_ids - * label_ids array - * @maxItems 63 - */ - label_ids?: number[]; - /** - * get_characters_character_id_contacts_standing - * Standing of the contact - * @format float - */ - standing: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/contacts/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Bulk add contacts with same settings --- Alternate route: `/dev/characters/{character_id}/contacts/` Alternate route: `/v2/characters/{character_id}/contacts/` - * - * @tags Contacts - * @name PostCharactersCharacterIdContacts - * @summary Add contacts - * @request POST:/characters/{character_id}/contacts/ - * @secure - */ - postCharactersCharacterIdContacts: ( - characterId: number, - query: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Add custom labels to the new contact - * @maxItems 63 - */ - label_ids?: number[]; - /** - * Standing for the contact - * @format float - * @min -10 - * @max 10 - */ - standing: number; - /** Access token to use if unable to set a header */ - token?: string; - /** - * Whether the contact should be watched, note this is only effective on characters - * @default false - */ - watched?: boolean; - }, - contact_ids: number[], - params: RequestParams = {}, - ) => - this.request< - number[], - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - | { - /** - * post_characters_character_id_contacts_520_error_520 - * Error 520 message - */ - error?: string; - } - >({ - path: `/characters/${characterId}/contacts/`, - method: "POST", - query: query, - body: contact_ids, - secure: true, - type: ContentType.Json, - format: "json", - ...params, - }), - - /** - * @description Bulk edit contacts with same settings --- Alternate route: `/dev/characters/{character_id}/contacts/` Alternate route: `/v2/characters/{character_id}/contacts/` - * - * @tags Contacts - * @name PutCharactersCharacterIdContacts - * @summary Edit contacts - * @request PUT:/characters/{character_id}/contacts/ - * @secure - */ - putCharactersCharacterIdContacts: ( - characterId: number, - query: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Add custom labels to the contact - * @maxItems 63 - */ - label_ids?: number[]; - /** - * Standing for the contact - * @format float - * @min -10 - * @max 10 - */ - standing: number; - /** Access token to use if unable to set a header */ - token?: string; - /** - * Whether the contact should be watched, note this is only effective on characters - * @default false - */ - watched?: boolean; - }, - contact_ids: number[], - params: RequestParams = {}, - ) => - this.request< - void, - BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/characters/${characterId}/contacts/`, - method: "PUT", - query: query, - body: contact_ids, - secure: true, - type: ContentType.Json, - ...params, - }), - - /** - * @description Return custom labels for a character's contacts --- Alternate route: `/dev/characters/{character_id}/contacts/labels/` Alternate route: `/legacy/characters/{character_id}/contacts/labels/` Alternate route: `/v1/characters/{character_id}/contacts/labels/` --- This route is cached for up to 300 seconds + * @description Return custom labels for a character's contacts --- This route is cached for up to 300 seconds * * @tags Contacts * @name GetCharactersCharacterIdContactsLabels * @summary Get contact labels - * @request GET:/characters/{character_id}/contacts/labels/ + * @request GET:/v1/characters/{character_id}/contacts/labels/ * @secure */ getCharactersCharacterIdContactsLabels: ( @@ -2287,7 +780,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/contacts/labels/`, + path: `/v1/characters/${characterId}/contacts/labels/`, method: "GET", query: query, secure: true, @@ -2296,12 +789,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/contracts/`, + path: `/v1/characters/${characterId}/contracts/`, method: "GET", query: query, secure: true, @@ -2482,12 +975,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/contracts/${contractId}/bids/`, + path: `/v1/characters/${characterId}/contracts/${contractId}/bids/`, method: "GET", query: query, secure: true, @@ -2556,12 +1049,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/contracts/${contractId}/items/`, + path: `/v1/characters/${characterId}/contracts/${contractId}/items/`, method: "GET", query: query, secure: true, @@ -2640,427 +1133,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_corporationhistory_corporation_id - * corporation_id integer - * @format int32 - */ - corporation_id: number; - /** - * get_characters_character_id_corporationhistory_is_deleted - * True if the corporation has been deleted - */ - is_deleted?: boolean; - /** - * get_characters_character_id_corporationhistory_record_id - * An incrementing ID that can be used to canonically establish order of records in cases where dates may be ambiguous - * @format int32 - */ - record_id: number; - /** - * get_characters_character_id_corporationhistory_start_date - * start_date string - * @format date-time - */ - start_date: string; - }[], - void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/characters/${characterId}/corporationhistory/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Takes a source character ID in the url and a set of target character ID's in the body, returns a CSPA charge cost --- Alternate route: `/dev/characters/{character_id}/cspa/` Alternate route: `/v5/characters/{character_id}/cspa/` - * - * @tags Character - * @name PostCharactersCharacterIdCspa - * @summary Calculate a CSPA charge cost - * @request POST:/characters/{character_id}/cspa/ - * @secure - */ - postCharactersCharacterIdCspa: ( - characterId: number, - characters: number[], - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - number, - BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/characters/${characterId}/cspa/`, - method: "POST", - query: query, - body: characters, - secure: true, - type: ContentType.Json, - format: "json", - ...params, - }), - - /** - * @description Return a character's jump activation and fatigue information --- Alternate route: `/dev/characters/{character_id}/fatigue/` Alternate route: `/v2/characters/{character_id}/fatigue/` --- This route is cached for up to 300 seconds - * - * @tags Character - * @name GetCharactersCharacterIdFatigue - * @summary Get jump fatigue - * @request GET:/characters/{character_id}/fatigue/ - * @secure - */ - getCharactersCharacterIdFatigue: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_fatigue_jump_fatigue_expire_date - * Character's jump fatigue expiry - * @format date-time - */ - jump_fatigue_expire_date?: string; - /** - * get_characters_character_id_fatigue_last_jump_date - * Character's last jump activation - * @format date-time - */ - last_jump_date?: string; - /** - * get_characters_character_id_fatigue_last_update_date - * Character's last jump update - * @format date-time - */ - last_update_date?: string; - }, - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/fatigue/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return fittings of a character --- Alternate route: `/dev/characters/{character_id}/fittings/` Alternate route: `/v2/characters/{character_id}/fittings/` --- This route is cached for up to 300 seconds - * - * @tags Fittings - * @name GetCharactersCharacterIdFittings - * @summary Get fittings - * @request GET:/characters/{character_id}/fittings/ - * @secure - */ - getCharactersCharacterIdFittings: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_fittings_description - * description string - */ - description: string; - /** - * get_characters_character_id_fittings_fitting_id - * fitting_id integer - * @format int32 - */ - fitting_id: number; - /** - * get_characters_character_id_fittings_items - * items array - * @maxItems 512 - */ - items: { - /** - * get_characters_character_id_fittings_flag - * flag string - */ - flag: - | "Cargo" - | "DroneBay" - | "FighterBay" - | "HiSlot0" - | "HiSlot1" - | "HiSlot2" - | "HiSlot3" - | "HiSlot4" - | "HiSlot5" - | "HiSlot6" - | "HiSlot7" - | "Invalid" - | "LoSlot0" - | "LoSlot1" - | "LoSlot2" - | "LoSlot3" - | "LoSlot4" - | "LoSlot5" - | "LoSlot6" - | "LoSlot7" - | "MedSlot0" - | "MedSlot1" - | "MedSlot2" - | "MedSlot3" - | "MedSlot4" - | "MedSlot5" - | "MedSlot6" - | "MedSlot7" - | "RigSlot0" - | "RigSlot1" - | "RigSlot2" - | "ServiceSlot0" - | "ServiceSlot1" - | "ServiceSlot2" - | "ServiceSlot3" - | "ServiceSlot4" - | "ServiceSlot5" - | "ServiceSlot6" - | "ServiceSlot7" - | "SubSystemSlot0" - | "SubSystemSlot1" - | "SubSystemSlot2" - | "SubSystemSlot3"; - /** - * get_characters_character_id_fittings_quantity - * quantity integer - * @format int32 - */ - quantity: number; - /** - * get_characters_character_id_fittings_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }[]; - /** - * get_characters_character_id_fittings_name - * name string - */ - name: string; - /** - * get_characters_character_id_fittings_ship_type_id - * ship_type_id integer - * @format int32 - */ - ship_type_id: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/fittings/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Save a new fitting for a character --- Alternate route: `/dev/characters/{character_id}/fittings/` Alternate route: `/v2/characters/{character_id}/fittings/` - * - * @tags Fittings - * @name PostCharactersCharacterIdFittings - * @summary Create fitting - * @request POST:/characters/{character_id}/fittings/ - * @secure - */ - postCharactersCharacterIdFittings: ( - characterId: number, - fitting: { - /** - * post_characters_character_id_fittings_description - * description string - * @minLength 0 - * @maxLength 500 - */ - description: string; - /** - * post_characters_character_id_fittings_items - * items array - * @maxItems 512 - * @minItems 1 - */ - items: { - /** - * post_characters_character_id_fittings_flag - * Fitting location for the item. Entries placed in 'Invalid' will be discarded. If this leaves the fitting with nothing, it will cause an error. - */ - flag: - | "Cargo" - | "DroneBay" - | "FighterBay" - | "HiSlot0" - | "HiSlot1" - | "HiSlot2" - | "HiSlot3" - | "HiSlot4" - | "HiSlot5" - | "HiSlot6" - | "HiSlot7" - | "Invalid" - | "LoSlot0" - | "LoSlot1" - | "LoSlot2" - | "LoSlot3" - | "LoSlot4" - | "LoSlot5" - | "LoSlot6" - | "LoSlot7" - | "MedSlot0" - | "MedSlot1" - | "MedSlot2" - | "MedSlot3" - | "MedSlot4" - | "MedSlot5" - | "MedSlot6" - | "MedSlot7" - | "RigSlot0" - | "RigSlot1" - | "RigSlot2" - | "ServiceSlot0" - | "ServiceSlot1" - | "ServiceSlot2" - | "ServiceSlot3" - | "ServiceSlot4" - | "ServiceSlot5" - | "ServiceSlot6" - | "ServiceSlot7" - | "SubSystemSlot0" - | "SubSystemSlot1" - | "SubSystemSlot2" - | "SubSystemSlot3"; - /** - * post_characters_character_id_fittings_quantity - * quantity integer - * @format int32 - */ - quantity: number; - /** - * post_characters_character_id_fittings_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }[]; - /** - * post_characters_character_id_fittings_name - * name string - * @minLength 1 - * @maxLength 50 - */ - name: string; - /** - * post_characters_character_id_fittings_ship_type_id - * ship_type_id integer - * @format int32 - */ - ship_type_id: number; - }, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * post_characters_character_id_fittings_fitting_id - * fitting_id integer - * @format int32 - */ - fitting_id: number; - }, - BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/characters/${characterId}/fittings/`, - method: "POST", - query: query, - body: fitting, - secure: true, - type: ContentType.Json, - format: "json", - ...params, - }), - - /** - * @description Delete a fitting from a character --- Alternate route: `/dev/characters/{character_id}/fittings/{fitting_id}/` Alternate route: `/legacy/characters/{character_id}/fittings/{fitting_id}/` Alternate route: `/v1/characters/{character_id}/fittings/{fitting_id}/` + * @description Delete a fitting from a character --- * * @tags Fittings * @name DeleteCharactersCharacterIdFittingsFittingId * @summary Delete fitting - * @request DELETE:/characters/{character_id}/fittings/{fitting_id}/ + * @request DELETE:/v1/characters/{character_id}/fittings/{fitting_id}/ * @secure */ deleteCharactersCharacterIdFittingsFittingId: ( @@ -3081,7 +1159,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/fittings/${fittingId}/`, + path: `/v1/characters/${characterId}/fittings/${fittingId}/`, method: "DELETE", query: query, secure: true, @@ -3089,12 +1167,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/fleet/`, + path: `/v1/characters/${characterId}/fleet/`, method: "GET", query: query, secure: true, @@ -3161,12 +1239,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/fw/stats/`, + path: `/v1/characters/${characterId}/fw/stats/`, method: "GET", query: query, secure: true, @@ -3279,12 +1357,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/implants/`, + path: `/v1/characters/${characterId}/implants/`, method: "GET", query: query, secure: true, @@ -3320,12 +1398,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/industry/jobs/`, + path: `/v1/characters/${characterId}/industry/jobs/`, method: "GET", query: query, secure: true, @@ -3495,12 +1573,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/killmails/recent/`, + path: `/v1/characters/${characterId}/killmails/recent/`, method: "GET", query: query, secure: true, @@ -3555,12 +1633,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/location/`, + path: `/v1/characters/${characterId}/location/`, method: "GET", query: query, secure: true, @@ -3615,12 +1693,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/loyalty/points/`, + path: `/v1/characters/${characterId}/loyalty/points/`, method: "GET", query: query, secure: true, @@ -3669,12 +1747,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/mail/`, + path: `/v1/characters/${characterId}/mail/`, method: "GET", query: query, secure: true, @@ -3779,12 +1857,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/mail/`, + path: `/v1/characters/${characterId}/mail/`, method: "POST", query: query, body: mail, @@ -3868,181 +1946,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_mail_labels_labels - * labels array - * @maxItems 30 - */ - labels?: { - /** - * get_characters_character_id_mail_labels_color - * color string - * @default "#ffffff" - */ - color?: - | "#0000fe" - | "#006634" - | "#0099ff" - | "#00ff33" - | "#01ffff" - | "#349800" - | "#660066" - | "#666666" - | "#999999" - | "#99ffff" - | "#9a0000" - | "#ccff9a" - | "#e6e6e6" - | "#fe0000" - | "#ff6600" - | "#ffff01" - | "#ffffcd" - | "#ffffff"; - /** - * get_characters_character_id_mail_labels_label_id - * label_id integer - * @format int32 - * @min 0 - */ - label_id?: number; - /** - * get_characters_character_id_mail_labels_name - * name string - * @maxLength 40 - */ - name?: string; - /** - * get_characters_character_id_mail_labels_unread_count - * unread_count integer - * @format int32 - * @min 0 - */ - unread_count?: number; - }[]; - /** - * get_characters_character_id_mail_labels_total_unread_count - * total_unread_count integer - * @format int32 - * @min 0 - */ - total_unread_count?: number; - }, - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/mail/labels/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Create a mail label --- Alternate route: `/dev/characters/{character_id}/mail/labels/` Alternate route: `/legacy/characters/{character_id}/mail/labels/` Alternate route: `/v2/characters/{character_id}/mail/labels/` - * - * @tags Mail - * @name PostCharactersCharacterIdMailLabels - * @summary Create a mail label - * @request POST:/characters/{character_id}/mail/labels/ - * @secure - */ - postCharactersCharacterIdMailLabels: ( - characterId: number, - label: { - /** - * post_characters_character_id_mail_labels_color - * Hexadecimal string representing label color, in RGB format - * @default "#ffffff" - */ - color?: - | "#0000fe" - | "#006634" - | "#0099ff" - | "#00ff33" - | "#01ffff" - | "#349800" - | "#660066" - | "#666666" - | "#999999" - | "#99ffff" - | "#9a0000" - | "#ccff9a" - | "#e6e6e6" - | "#fe0000" - | "#ff6600" - | "#ffff01" - | "#ffffcd" - | "#ffffff"; - /** - * post_characters_character_id_mail_labels_name - * name string - * @minLength 1 - * @maxLength 40 - */ - name: string; - }, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - number, - BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/characters/${characterId}/mail/labels/`, - method: "POST", - query: query, - body: label, - secure: true, - type: ContentType.Json, - format: "json", - ...params, - }), - - /** - * @description Delete a mail label --- Alternate route: `/dev/characters/{character_id}/mail/labels/{label_id}/` Alternate route: `/legacy/characters/{character_id}/mail/labels/{label_id}/` Alternate route: `/v1/characters/{character_id}/mail/labels/{label_id}/` + * @description Delete a mail label --- * * @tags Mail * @name DeleteCharactersCharacterIdMailLabelsLabelId * @summary Delete a mail label - * @request DELETE:/characters/{character_id}/mail/labels/{label_id}/ + * @request DELETE:/v1/characters/{character_id}/mail/labels/{label_id}/ * @secure */ deleteCharactersCharacterIdMailLabelsLabelId: ( @@ -4076,7 +1985,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/mail/labels/${labelId}/`, + path: `/v1/characters/${characterId}/mail/labels/${labelId}/`, method: "DELETE", query: query, secure: true, @@ -4084,12 +1993,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/mail/lists/`, + path: `/v1/characters/${characterId}/mail/lists/`, method: "GET", query: query, secure: true, @@ -4137,12 +2046,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/mail/${mailId}/`, + path: `/v1/characters/${characterId}/mail/${mailId}/`, method: "DELETE", query: query, secure: true, @@ -4171,12 +2080,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/mail/${mailId}/`, + path: `/v1/characters/${characterId}/mail/${mailId}/`, method: "GET", query: query, secure: true, @@ -4274,12 +2183,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/mail/${mailId}/`, + path: `/v1/characters/${characterId}/mail/${mailId}/`, method: "PUT", query: query, body: contents, @@ -4323,129 +2232,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_medals_corporation_id - * corporation_id integer - * @format int32 - */ - corporation_id: number; - /** - * get_characters_character_id_medals_date - * date string - * @format date-time - */ - date: string; - /** - * get_characters_character_id_medals_description - * description string - */ - description: string; - /** - * get_characters_character_id_medals_graphics - * graphics array - * @maxItems 9 - * @minItems 3 - */ - graphics: { - /** - * get_characters_character_id_medals_color - * color integer - * @format int32 - */ - color?: number; - /** - * get_characters_character_id_medals_graphic_graphic - * graphic string - */ - graphic: string; - /** - * get_characters_character_id_medals_layer - * layer integer - * @format int32 - */ - layer: number; - /** - * get_characters_character_id_medals_part - * part integer - * @format int32 - */ - part: number; - }[]; - /** - * get_characters_character_id_medals_issuer_id - * issuer_id integer - * @format int32 - */ - issuer_id: number; - /** - * get_characters_character_id_medals_medal_id - * medal_id integer - * @format int32 - */ - medal_id: number; - /** - * get_characters_character_id_medals_reason - * reason string - */ - reason: string; - /** - * get_characters_character_id_medals_status - * status string - */ - status: "public" | "private"; - /** - * get_characters_character_id_medals_title - * title string - */ - title: string; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/medals/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Paginated record of all mining done by a character for the past 30 days --- Alternate route: `/dev/characters/{character_id}/mining/` Alternate route: `/legacy/characters/{character_id}/mining/` Alternate route: `/v1/characters/{character_id}/mining/` --- This route is cached for up to 600 seconds + * @description Paginated record of all mining done by a character for the past 30 days --- This route is cached for up to 600 seconds * * @tags Industry * @name GetCharactersCharacterIdMining * @summary Character mining ledger - * @request GET:/characters/{character_id}/mining/ + * @request GET:/v1/characters/{character_id}/mining/ * @secure */ getCharactersCharacterIdMining: ( @@ -4504,7 +2296,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/mining/`, + path: `/v1/characters/${characterId}/mining/`, method: "GET", query: query, secure: true, @@ -4513,446 +2305,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_notifications_is_read - * is_read boolean - */ - is_read?: boolean; - /** - * get_characters_character_id_notifications_notification_id - * notification_id integer - * @format int64 - */ - notification_id: number; - /** - * get_characters_character_id_notifications_sender_id - * sender_id integer - * @format int32 - */ - sender_id: number; - /** - * get_characters_character_id_notifications_sender_type - * sender_type string - */ - sender_type: "character" | "corporation" | "alliance" | "faction" | "other"; - /** - * get_characters_character_id_notifications_text - * text string - */ - text?: string; - /** - * get_characters_character_id_notifications_timestamp - * timestamp string - * @format date-time - */ - timestamp: string; - /** - * get_characters_character_id_notifications_type - * type string - */ - type: - | "AcceptedAlly" - | "AcceptedSurrender" - | "AgentRetiredTrigravian" - | "AllAnchoringMsg" - | "AllMaintenanceBillMsg" - | "AllStrucInvulnerableMsg" - | "AllStructVulnerableMsg" - | "AllWarCorpJoinedAllianceMsg" - | "AllWarDeclaredMsg" - | "AllWarInvalidatedMsg" - | "AllWarRetractedMsg" - | "AllWarSurrenderMsg" - | "AllianceCapitalChanged" - | "AllianceWarDeclaredV2" - | "AllyContractCancelled" - | "AllyJoinedWarAggressorMsg" - | "AllyJoinedWarAllyMsg" - | "AllyJoinedWarDefenderMsg" - | "BattlePunishFriendlyFire" - | "BillOutOfMoneyMsg" - | "BillPaidCorpAllMsg" - | "BountyClaimMsg" - | "BountyESSShared" - | "BountyESSTaken" - | "BountyPlacedAlliance" - | "BountyPlacedChar" - | "BountyPlacedCorp" - | "BountyYourBountyClaimed" - | "BuddyConnectContactAdd" - | "CharAppAcceptMsg" - | "CharAppRejectMsg" - | "CharAppWithdrawMsg" - | "CharLeftCorpMsg" - | "CharMedalMsg" - | "CharTerminationMsg" - | "CloneActivationMsg" - | "CloneActivationMsg2" - | "CloneMovedMsg" - | "CloneRevokedMsg1" - | "CloneRevokedMsg2" - | "CombatOperationFinished" - | "ContactAdd" - | "ContactEdit" - | "ContainerPasswordMsg" - | "ContractRegionChangedToPochven" - | "CorpAllBillMsg" - | "CorpAppAcceptMsg" - | "CorpAppInvitedMsg" - | "CorpAppNewMsg" - | "CorpAppRejectCustomMsg" - | "CorpAppRejectMsg" - | "CorpBecameWarEligible" - | "CorpDividendMsg" - | "CorpFriendlyFireDisableTimerCompleted" - | "CorpFriendlyFireDisableTimerStarted" - | "CorpFriendlyFireEnableTimerCompleted" - | "CorpFriendlyFireEnableTimerStarted" - | "CorpKicked" - | "CorpLiquidationMsg" - | "CorpNewCEOMsg" - | "CorpNewsMsg" - | "CorpNoLongerWarEligible" - | "CorpOfficeExpirationMsg" - | "CorpStructLostMsg" - | "CorpTaxChangeMsg" - | "CorpVoteCEORevokedMsg" - | "CorpVoteMsg" - | "CorpWarDeclaredMsg" - | "CorpWarDeclaredV2" - | "CorpWarFightingLegalMsg" - | "CorpWarInvalidatedMsg" - | "CorpWarRetractedMsg" - | "CorpWarSurrenderMsg" - | "CustomsMsg" - | "DeclareWar" - | "DistrictAttacked" - | "DustAppAcceptedMsg" - | "ESSMainBankLink" - | "EntosisCaptureStarted" - | "ExpertSystemExpired" - | "ExpertSystemExpiryImminent" - | "FWAllianceKickMsg" - | "FWAllianceWarningMsg" - | "FWCharKickMsg" - | "FWCharRankGainMsg" - | "FWCharRankLossMsg" - | "FWCharWarningMsg" - | "FWCorpJoinMsg" - | "FWCorpKickMsg" - | "FWCorpLeaveMsg" - | "FWCorpWarningMsg" - | "FacWarCorpJoinRequestMsg" - | "FacWarCorpJoinWithdrawMsg" - | "FacWarCorpLeaveRequestMsg" - | "FacWarCorpLeaveWithdrawMsg" - | "FacWarLPDisqualifiedEvent" - | "FacWarLPDisqualifiedKill" - | "FacWarLPPayoutEvent" - | "FacWarLPPayoutKill" - | "GameTimeAdded" - | "GameTimeReceived" - | "GameTimeSent" - | "GiftReceived" - | "IHubDestroyedByBillFailure" - | "IncursionCompletedMsg" - | "IndustryOperationFinished" - | "IndustryTeamAuctionLost" - | "IndustryTeamAuctionWon" - | "InfrastructureHubBillAboutToExpire" - | "InsuranceExpirationMsg" - | "InsuranceFirstShipMsg" - | "InsuranceInvalidatedMsg" - | "InsuranceIssuedMsg" - | "InsurancePayoutMsg" - | "InvasionCompletedMsg" - | "InvasionSystemLogin" - | "InvasionSystemStart" - | "JumpCloneDeletedMsg1" - | "JumpCloneDeletedMsg2" - | "KillReportFinalBlow" - | "KillReportVictim" - | "KillRightAvailable" - | "KillRightAvailableOpen" - | "KillRightEarned" - | "KillRightUnavailable" - | "KillRightUnavailableOpen" - | "KillRightUsed" - | "LocateCharMsg" - | "MadeWarMutual" - | "MercOfferRetractedMsg" - | "MercOfferedNegotiationMsg" - | "MissionCanceledTriglavian" - | "MissionOfferExpirationMsg" - | "MissionTimeoutMsg" - | "MoonminingAutomaticFracture" - | "MoonminingExtractionCancelled" - | "MoonminingExtractionFinished" - | "MoonminingExtractionStarted" - | "MoonminingLaserFired" - | "MutualWarExpired" - | "MutualWarInviteAccepted" - | "MutualWarInviteRejected" - | "MutualWarInviteSent" - | "NPCStandingsGained" - | "NPCStandingsLost" - | "OfferToAllyRetracted" - | "OfferedSurrender" - | "OfferedToAlly" - | "OfficeLeaseCanceledInsufficientStandings" - | "OldLscMessages" - | "OperationFinished" - | "OrbitalAttacked" - | "OrbitalReinforced" - | "OwnershipTransferred" - | "RaffleCreated" - | "RaffleExpired" - | "RaffleFinished" - | "ReimbursementMsg" - | "ResearchMissionAvailableMsg" - | "RetractsWar" - | "SeasonalChallengeCompleted" - | "SovAllClaimAquiredMsg" - | "SovAllClaimLostMsg" - | "SovCommandNodeEventStarted" - | "SovCorpBillLateMsg" - | "SovCorpClaimFailMsg" - | "SovDisruptorMsg" - | "SovStationEnteredFreeport" - | "SovStructureDestroyed" - | "SovStructureReinforced" - | "SovStructureSelfDestructCancel" - | "SovStructureSelfDestructFinished" - | "SovStructureSelfDestructRequested" - | "SovereigntyIHDamageMsg" - | "SovereigntySBUDamageMsg" - | "SovereigntyTCUDamageMsg" - | "StationAggressionMsg1" - | "StationAggressionMsg2" - | "StationConquerMsg" - | "StationServiceDisabled" - | "StationServiceEnabled" - | "StationStateChangeMsg" - | "StoryLineMissionAvailableMsg" - | "StructureAnchoring" - | "StructureCourierContractChanged" - | "StructureDestroyed" - | "StructureFuelAlert" - | "StructureImpendingAbandonmentAssetsAtRisk" - | "StructureItemsDelivered" - | "StructureItemsMovedToSafety" - | "StructureLostArmor" - | "StructureLostShields" - | "StructureOnline" - | "StructureServicesOffline" - | "StructureUnanchoring" - | "StructureUnderAttack" - | "StructureWentHighPower" - | "StructureWentLowPower" - | "StructuresJobsCancelled" - | "StructuresJobsPaused" - | "StructuresReinforcementChanged" - | "TowerAlertMsg" - | "TowerResourceAlertMsg" - | "TransactionReversalMsg" - | "TutorialMsg" - | "WarAdopted " - | "WarAllyInherited" - | "WarAllyOfferDeclinedMsg" - | "WarConcordInvalidates" - | "WarDeclared" - | "WarEndedHqSecurityDrop" - | "WarHQRemovedFromSpace" - | "WarInherited" - | "WarInvalid" - | "WarRetracted" - | "WarRetractedByConcord" - | "WarSurrenderDeclinedMsg" - | "WarSurrenderOfferMsg"; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/notifications/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return notifications about having been added to someone's contact list --- Alternate route: `/dev/characters/{character_id}/notifications/contacts/` Alternate route: `/v2/characters/{character_id}/notifications/contacts/` --- This route is cached for up to 600 seconds - * - * @tags Character - * @name GetCharactersCharacterIdNotificationsContacts - * @summary Get new contact notifications - * @request GET:/characters/{character_id}/notifications/contacts/ - * @secure - */ - getCharactersCharacterIdNotificationsContacts: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_notifications_contacts_message - * message string - */ - message: string; - /** - * get_characters_character_id_notifications_contacts_notification_id - * notification_id integer - * @format int32 - */ - notification_id: number; - /** - * get_characters_character_id_notifications_contacts_send_date - * send_date string - * @format date-time - */ - send_date: string; - /** - * get_characters_character_id_notifications_contacts_sender_character_id - * sender_character_id integer - * @format int32 - */ - sender_character_id: number; - /** - * get_characters_character_id_notifications_contacts_standing_level - * A number representing the standing level the receiver has been added at by the sender. The standing levels are as follows: -10 -> Terrible | -5 -> Bad | 0 -> Neutral | 5 -> Good | 10 -> Excellent - * @format float - */ - standing_level: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/notifications/contacts/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Checks if the character is currently online --- Alternate route: `/dev/characters/{character_id}/online/` Alternate route: `/v2/characters/{character_id}/online/` Alternate route: `/v3/characters/{character_id}/online/` --- This route is cached for up to 60 seconds - * - * @tags Location - * @name GetCharactersCharacterIdOnline - * @summary Get character online - * @request GET:/characters/{character_id}/online/ - * @secure - */ - getCharactersCharacterIdOnline: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_online_last_login - * Timestamp of the last login - * @format date-time - */ - last_login?: string; - /** - * get_characters_character_id_online_last_logout - * Timestamp of the last logout - * @format date-time - */ - last_logout?: string; - /** - * get_characters_character_id_online_logins - * Total number of times the character has logged in - * @format int32 - */ - logins?: number; - /** - * get_characters_character_id_online_online - * If the character is online - */ - online: boolean; - }, - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/online/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return a list of tasks finished by a character --- Alternate route: `/dev/characters/{character_id}/opportunities/` Alternate route: `/legacy/characters/{character_id}/opportunities/` Alternate route: `/v1/characters/{character_id}/opportunities/` --- This route is cached for up to 3600 seconds + * @description Return a list of tasks finished by a character --- This route is cached for up to 3600 seconds * * @tags Opportunities * @name GetCharactersCharacterIdOpportunities * @summary Get a character's completed tasks - * @request GET:/characters/{character_id}/opportunities/ + * @request GET:/v1/characters/{character_id}/opportunities/ * @secure */ getCharactersCharacterIdOpportunities: ( @@ -4992,7 +2350,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/opportunities/`, + path: `/v1/characters/${characterId}/opportunities/`, method: "GET", query: query, secure: true, @@ -5001,135 +2359,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_orders_duration - * Number of days for which order is valid (starting from the issued date). An order expires at time issued + duration - * @format int32 - */ - duration: number; - /** - * get_characters_character_id_orders_escrow - * For buy orders, the amount of ISK in escrow - * @format double - */ - escrow?: number; - /** - * get_characters_character_id_orders_is_buy_order - * True if the order is a bid (buy) order - */ - is_buy_order?: boolean; - /** - * get_characters_character_id_orders_is_corporation - * Signifies whether the buy/sell order was placed on behalf of a corporation. - */ - is_corporation: boolean; - /** - * get_characters_character_id_orders_issued - * Date and time when this order was issued - * @format date-time - */ - issued: string; - /** - * get_characters_character_id_orders_location_id - * ID of the location where order was placed - * @format int64 - */ - location_id: number; - /** - * get_characters_character_id_orders_min_volume - * For buy orders, the minimum quantity that will be accepted in a matching sell order - * @format int32 - */ - min_volume?: number; - /** - * get_characters_character_id_orders_order_id - * Unique order ID - * @format int64 - */ - order_id: number; - /** - * get_characters_character_id_orders_price - * Cost per unit for this order - * @format double - */ - price: number; - /** - * get_characters_character_id_orders_range - * Valid order range, numbers are ranges in jumps - */ - range: "1" | "10" | "2" | "20" | "3" | "30" | "4" | "40" | "5" | "region" | "solarsystem" | "station"; - /** - * get_characters_character_id_orders_region_id - * ID of the region where order was placed - * @format int32 - */ - region_id: number; - /** - * get_characters_character_id_orders_type_id - * The type ID of the item transacted in this order - * @format int32 - */ - type_id: number; - /** - * get_characters_character_id_orders_volume_remain - * Quantity of items still required or offered - * @format int32 - */ - volume_remain: number; - /** - * get_characters_character_id_orders_volume_total - * Quantity of items required or offered at time order was placed - * @format int32 - */ - volume_total: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/orders/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description List cancelled and expired market orders placed by a character up to 90 days in the past. --- Alternate route: `/dev/characters/{character_id}/orders/history/` Alternate route: `/legacy/characters/{character_id}/orders/history/` Alternate route: `/v1/characters/{character_id}/orders/history/` --- This route is cached for up to 3600 seconds + * @description List cancelled and expired market orders placed by a character up to 90 days in the past. --- This route is cached for up to 3600 seconds * * @tags Market * @name GetCharactersCharacterIdOrdersHistory * @summary List historical orders by a character - * @request GET:/characters/{character_id}/orders/history/ + * @request GET:/v1/characters/{character_id}/orders/history/ * @secure */ getCharactersCharacterIdOrdersHistory: ( @@ -5250,7 +2485,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/orders/history/`, + path: `/v1/characters/${characterId}/orders/history/`, method: "GET", query: query, secure: true, @@ -5259,12 +2494,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/characters/${characterId}/planets/`, + path: `/v1/characters/${characterId}/planets/`, method: "GET", query: query, secure: true, @@ -5345,741 +2580,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_planets_planet_id_links - * links array - * @maxItems 500 - */ - links: { - /** - * get_characters_character_id_planets_planet_id_destination_pin_id - * destination_pin_id integer - * @format int64 - */ - destination_pin_id: number; - /** - * get_characters_character_id_planets_planet_id_link_level - * link_level integer - * @format int32 - * @min 0 - * @max 10 - */ - link_level: number; - /** - * get_characters_character_id_planets_planet_id_source_pin_id - * source_pin_id integer - * @format int64 - */ - source_pin_id: number; - }[]; - /** - * get_characters_character_id_planets_planet_id_pins - * pins array - * @maxItems 100 - */ - pins: { - /** - * get_characters_character_id_planets_planet_id_contents - * contents array - * @maxItems 90 - */ - contents?: { - /** - * get_characters_character_id_planets_planet_id_amount - * amount integer - * @format int64 - */ - amount: number; - /** - * get_characters_character_id_planets_planet_id_content_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }[]; - /** - * get_characters_character_id_planets_planet_id_expiry_time - * expiry_time string - * @format date-time - */ - expiry_time?: string; - /** - * get_characters_character_id_planets_planet_id_extractor_details - * extractor_details object - */ - extractor_details?: { - /** - * get_characters_character_id_planets_planet_id_cycle_time - * in seconds - * @format int32 - */ - cycle_time?: number; - /** - * get_characters_character_id_planets_planet_id_head_radius - * head_radius number - * @format float - */ - head_radius?: number; - /** - * get_characters_character_id_planets_planet_id_heads - * heads array - * @maxItems 10 - */ - heads: { - /** - * get_characters_character_id_planets_planet_id_head_id - * head_id integer - * @format int32 - * @min 0 - * @max 9 - */ - head_id: number; - /** - * get_characters_character_id_planets_planet_id_head_latitude - * latitude number - * @format float - */ - latitude: number; - /** - * get_characters_character_id_planets_planet_id_head_longitude - * longitude number - * @format float - */ - longitude: number; - }[]; - /** - * get_characters_character_id_planets_planet_id_product_type_id - * product_type_id integer - * @format int32 - */ - product_type_id?: number; - /** - * get_characters_character_id_planets_planet_id_qty_per_cycle - * qty_per_cycle integer - * @format int32 - */ - qty_per_cycle?: number; - }; - /** - * get_characters_character_id_planets_planet_id_factory_details - * factory_details object - */ - factory_details?: { - /** - * get_characters_character_id_planets_planet_id_factory_details_schematic_id - * schematic_id integer - * @format int32 - */ - schematic_id: number; - }; - /** - * get_characters_character_id_planets_planet_id_install_time - * install_time string - * @format date-time - */ - install_time?: string; - /** - * get_characters_character_id_planets_planet_id_last_cycle_start - * last_cycle_start string - * @format date-time - */ - last_cycle_start?: string; - /** - * get_characters_character_id_planets_planet_id_latitude - * latitude number - * @format float - */ - latitude: number; - /** - * get_characters_character_id_planets_planet_id_longitude - * longitude number - * @format float - */ - longitude: number; - /** - * get_characters_character_id_planets_planet_id_pin_id - * pin_id integer - * @format int64 - */ - pin_id: number; - /** - * get_characters_character_id_planets_planet_id_schematic_id - * schematic_id integer - * @format int32 - */ - schematic_id?: number; - /** - * get_characters_character_id_planets_planet_id_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }[]; - /** - * get_characters_character_id_planets_planet_id_routes - * routes array - * @maxItems 1000 - */ - routes: { - /** - * get_characters_character_id_planets_planet_id_route_content_type_id - * content_type_id integer - * @format int32 - */ - content_type_id: number; - /** - * get_characters_character_id_planets_planet_id_route_destination_pin_id - * destination_pin_id integer - * @format int64 - */ - destination_pin_id: number; - /** - * get_characters_character_id_planets_planet_id_quantity - * quantity number - * @format float - */ - quantity: number; - /** - * get_characters_character_id_planets_planet_id_route_id - * route_id integer - * @format int64 - */ - route_id: number; - /** - * get_characters_character_id_planets_planet_id_route_source_pin_id - * source_pin_id integer - * @format int64 - */ - source_pin_id: number; - /** - * get_characters_character_id_planets_planet_id_waypoints - * list of pin ID waypoints - * @maxItems 5 - */ - waypoints?: number[]; - }[]; - }, - | BadRequest - | Unauthorized - | Forbidden - | { - /** - * get_characters_character_id_planets_planet_id_error - * error message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/planets/${planetId}/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Get portrait urls for a character --- Alternate route: `/dev/characters/{character_id}/portrait/` Alternate route: `/v2/characters/{character_id}/portrait/` Alternate route: `/v3/characters/{character_id}/portrait/` --- This route expires daily at 11:05 - * - * @tags Character - * @name GetCharactersCharacterIdPortrait - * @summary Get character portraits - * @request GET:/characters/{character_id}/portrait/ - */ - getCharactersCharacterIdPortrait: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_portrait_px128x128 - * px128x128 string - */ - px128x128?: string; - /** - * get_characters_character_id_portrait_px256x256 - * px256x256 string - */ - px256x256?: string; - /** - * get_characters_character_id_portrait_px512x512 - * px512x512 string - */ - px512x512?: string; - /** - * get_characters_character_id_portrait_px64x64 - * px64x64 string - */ - px64x64?: string; - }, - | void - | BadRequest - | { - /** - * get_characters_character_id_portrait_error - * error message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/portrait/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Returns a character's corporation roles --- Alternate route: `/dev/characters/{character_id}/roles/` Alternate route: `/v3/characters/{character_id}/roles/` --- This route is cached for up to 3600 seconds - * - * @tags Character - * @name GetCharactersCharacterIdRoles - * @summary Get character corporation roles - * @request GET:/characters/{character_id}/roles/ - * @secure - */ - getCharactersCharacterIdRoles: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_roles_roles - * roles array - * @maxItems 50 - */ - roles?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_characters_character_id_roles_roles_at_base - * roles_at_base array - * @maxItems 50 - */ - roles_at_base?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_characters_character_id_roles_roles_at_hq - * roles_at_hq array - * @maxItems 50 - */ - roles_at_hq?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_characters_character_id_roles_roles_at_other - * roles_at_other array - * @maxItems 50 - */ - roles_at_other?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - }, - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/roles/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Search for entities that match a given sub-string. --- Alternate route: `/dev/characters/{character_id}/search/` Alternate route: `/legacy/characters/{character_id}/search/` Alternate route: `/v3/characters/{character_id}/search/` --- This route is cached for up to 3600 seconds - * - * @tags Search - * @name GetCharactersCharacterIdSearch - * @summary Search on a string - * @request GET:/characters/{character_id}/search/ - * @secure - */ - getCharactersCharacterIdSearch: ( - characterId: number, - query: { - /** - * Type of entities to search for - * @maxItems 11 - * @minItems 1 - * @uniqueItems true - */ - categories: ( - | "agent" - | "alliance" - | "character" - | "constellation" - | "corporation" - | "faction" - | "inventory_type" - | "region" - | "solar_system" - | "station" - | "structure" - )[]; - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Language to use in the response, takes precedence over Accept-Language - * @default "en" - */ - language?: "en" | "en-us" | "de" | "fr" | "ja" | "ru" | "zh" | "ko" | "es"; - /** - * The string to search on - * @minLength 3 - */ - search: string; - /** - * Whether the search should be a strict match - * @default false - */ - strict?: boolean; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_search_agent - * agent array - * @maxItems 500 - */ - agent?: number[]; - /** - * get_characters_character_id_search_alliance - * alliance array - * @maxItems 500 - */ - alliance?: number[]; - /** - * get_characters_character_id_search_character - * character array - * @maxItems 500 - */ - character?: number[]; - /** - * get_characters_character_id_search_constellation - * constellation array - * @maxItems 500 - */ - constellation?: number[]; - /** - * get_characters_character_id_search_corporation - * corporation array - * @maxItems 500 - */ - corporation?: number[]; - /** - * get_characters_character_id_search_faction - * faction array - * @maxItems 500 - */ - faction?: number[]; - /** - * get_characters_character_id_search_inventory_type - * inventory_type array - * @maxItems 500 - */ - inventory_type?: number[]; - /** - * get_characters_character_id_search_region - * region array - * @maxItems 500 - */ - region?: number[]; - /** - * get_characters_character_id_search_solar_system - * solar_system array - * @maxItems 500 - */ - solar_system?: number[]; - /** - * get_characters_character_id_search_station - * station array - * @maxItems 500 - */ - station?: number[]; - /** - * get_characters_character_id_search_structure - * structure array - * @maxItems 500 - */ - structure?: number[]; - }, - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/search/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Get the current ship type, name and id --- Alternate route: `/dev/characters/{character_id}/ship/` Alternate route: `/legacy/characters/{character_id}/ship/` Alternate route: `/v1/characters/{character_id}/ship/` Alternate route: `/v2/characters/{character_id}/ship/` --- This route is cached for up to 5 seconds + * @description Get the current ship type, name and id --- This route is cached for up to 5 seconds * * @tags Location * @name GetCharactersCharacterIdShip * @summary Get current ship - * @request GET:/characters/{character_id}/ship/ + * @request GET:/v1/characters/{character_id}/ship/ * @secure */ getCharactersCharacterIdShip: ( @@ -6124,7 +2630,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/ship/`, + path: `/v1/characters/${characterId}/ship/`, method: "GET", query: query, secure: true, @@ -6133,301 +2639,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_skillqueue_finish_date - * Date on which training of the skill will complete. Omitted if the skill queue is paused. - * @format date-time - */ - finish_date?: string; - /** - * get_characters_character_id_skillqueue_finished_level - * finished_level integer - * @format int32 - * @min 0 - * @max 5 - */ - finished_level: number; - /** - * get_characters_character_id_skillqueue_level_end_sp - * level_end_sp integer - * @format int32 - */ - level_end_sp?: number; - /** - * get_characters_character_id_skillqueue_level_start_sp - * Amount of SP that was in the skill when it started training it's current level. Used to calculate % of current level complete. - * @format int32 - */ - level_start_sp?: number; - /** - * get_characters_character_id_skillqueue_queue_position - * queue_position integer - * @format int32 - */ - queue_position: number; - /** - * get_characters_character_id_skillqueue_skill_id - * skill_id integer - * @format int32 - */ - skill_id: number; - /** - * get_characters_character_id_skillqueue_start_date - * start_date string - * @format date-time - */ - start_date?: string; - /** - * get_characters_character_id_skillqueue_training_start_sp - * training_start_sp integer - * @format int32 - */ - training_start_sp?: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/skillqueue/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description List all trained skills for the given character --- Alternate route: `/dev/characters/{character_id}/skills/` Alternate route: `/v4/characters/{character_id}/skills/` --- This route is cached for up to 120 seconds - * - * @tags Skills - * @name GetCharactersCharacterIdSkills - * @summary Get character skills - * @request GET:/characters/{character_id}/skills/ - * @secure - */ - getCharactersCharacterIdSkills: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_skills_skills - * skills array - * @maxItems 1000 - */ - skills: { - /** - * get_characters_character_id_skills_active_skill_level - * active_skill_level integer - * @format int32 - */ - active_skill_level: number; - /** - * get_characters_character_id_skills_skill_id - * skill_id integer - * @format int32 - */ - skill_id: number; - /** - * get_characters_character_id_skills_skillpoints_in_skill - * skillpoints_in_skill integer - * @format int64 - */ - skillpoints_in_skill: number; - /** - * get_characters_character_id_skills_trained_skill_level - * trained_skill_level integer - * @format int32 - */ - trained_skill_level: number; - }[]; - /** - * get_characters_character_id_skills_total_sp - * total_sp integer - * @format int64 - */ - total_sp: number; - /** - * get_characters_character_id_skills_unallocated_sp - * Skill points available to be assigned - * @format int32 - */ - unallocated_sp?: number; - }, - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/skills/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return character standings from agents, NPC corporations, and factions --- Alternate route: `/dev/characters/{character_id}/standings/` Alternate route: `/v2/characters/{character_id}/standings/` --- This route is cached for up to 3600 seconds - * - * @tags Character - * @name GetCharactersCharacterIdStandings - * @summary Get standings - * @request GET:/characters/{character_id}/standings/ - * @secure - */ - getCharactersCharacterIdStandings: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_standings_from_id - * from_id integer - * @format int32 - */ - from_id: number; - /** - * get_characters_character_id_standings_from_type - * from_type string - */ - from_type: "agent" | "npc_corp" | "faction"; - /** - * get_characters_character_id_standings_standing - * standing number - * @format float - */ - standing: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/standings/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Returns a character's titles --- Alternate route: `/dev/characters/{character_id}/titles/` Alternate route: `/v2/characters/{character_id}/titles/` --- This route is cached for up to 3600 seconds - * - * @tags Character - * @name GetCharactersCharacterIdTitles - * @summary Get character corporation titles - * @request GET:/characters/{character_id}/titles/ - * @secure - */ - getCharactersCharacterIdTitles: ( - characterId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_characters_character_id_titles_name - * name string - */ - name?: string; - /** - * get_characters_character_id_titles_title_id - * title_id integer - * @format int32 - */ - title_id?: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/titles/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Returns a character's wallet balance --- Alternate route: `/legacy/characters/{character_id}/wallet/` Alternate route: `/v1/characters/{character_id}/wallet/` --- This route is cached for up to 120 seconds --- [Diff of the upcoming changes](https://esi.evetech.net/diff/latest/dev/#GET-/characters/{character_id}/wallet/) + * @description Returns a character's wallet balance --- This route is cached for up to 120 seconds --- [Diff of the upcoming changes](https://esi.evetech.net/diff/latest/dev/#GET-/characters/{character_id}/wallet/) * * @tags Wallet * @name GetCharactersCharacterIdWallet * @summary Get a character's wallet balance - * @request GET:/characters/{character_id}/wallet/ + * @request GET:/v1/characters/{character_id}/wallet/ * @secure */ getCharactersCharacterIdWallet: ( @@ -6454,7 +2671,7 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/wallet/`, + path: `/v1/characters/${characterId}/wallet/`, method: "GET", query: query, secure: true, @@ -6463,280 +2680,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_characters_character_id_wallet_journal_amount - * The amount of ISK given or taken from the wallet as a result of the given transaction. Positive when ISK is deposited into the wallet and negative when ISK is withdrawn - * @format double - */ - amount?: number; - /** - * get_characters_character_id_wallet_journal_balance - * Wallet balance after transaction occurred - * @format double - */ - balance?: number; - /** - * get_characters_character_id_wallet_journal_context_id - * An ID that gives extra context to the particular transaction. Because of legacy reasons the context is completely different per ref_type and means different things. It is also possible to not have a context_id - * @format int64 - */ - context_id?: number; - /** - * get_characters_character_id_wallet_journal_context_id_type - * The type of the given context_id if present - */ - context_id_type?: - | "structure_id" - | "station_id" - | "market_transaction_id" - | "character_id" - | "corporation_id" - | "alliance_id" - | "eve_system" - | "industry_job_id" - | "contract_id" - | "planet_id" - | "system_id" - | "type_id"; - /** - * get_characters_character_id_wallet_journal_date - * Date and time of transaction - * @format date-time - */ - date: string; - /** - * get_characters_character_id_wallet_journal_description - * The reason for the transaction, mirrors what is seen in the client - */ - description: string; - /** - * get_characters_character_id_wallet_journal_first_party_id - * The id of the first party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name - * @format int32 - */ - first_party_id?: number; - /** - * get_characters_character_id_wallet_journal_id - * Unique journal reference ID - * @format int64 - */ - id: number; - /** - * get_characters_character_id_wallet_journal_reason - * The user stated reason for the transaction. Only applies to some ref_types - */ - reason?: string; - /** - * get_characters_character_id_wallet_journal_ref_type - * "The transaction type for the given. transaction. Different transaction types will populate different attributes." - */ - ref_type: - | "acceleration_gate_fee" - | "advertisement_listing_fee" - | "agent_donation" - | "agent_location_services" - | "agent_miscellaneous" - | "agent_mission_collateral_paid" - | "agent_mission_collateral_refunded" - | "agent_mission_reward" - | "agent_mission_reward_corporation_tax" - | "agent_mission_time_bonus_reward" - | "agent_mission_time_bonus_reward_corporation_tax" - | "agent_security_services" - | "agent_services_rendered" - | "agents_preward" - | "alliance_maintainance_fee" - | "alliance_registration_fee" - | "asset_safety_recovery_tax" - | "bounty" - | "bounty_prize" - | "bounty_prize_corporation_tax" - | "bounty_prizes" - | "bounty_reimbursement" - | "bounty_surcharge" - | "brokers_fee" - | "clone_activation" - | "clone_transfer" - | "contraband_fine" - | "contract_auction_bid" - | "contract_auction_bid_corp" - | "contract_auction_bid_refund" - | "contract_auction_sold" - | "contract_brokers_fee" - | "contract_brokers_fee_corp" - | "contract_collateral" - | "contract_collateral_deposited_corp" - | "contract_collateral_payout" - | "contract_collateral_refund" - | "contract_deposit" - | "contract_deposit_corp" - | "contract_deposit_refund" - | "contract_deposit_sales_tax" - | "contract_price" - | "contract_price_payment_corp" - | "contract_reversal" - | "contract_reward" - | "contract_reward_deposited" - | "contract_reward_deposited_corp" - | "contract_reward_refund" - | "contract_sales_tax" - | "copying" - | "corporate_reward_payout" - | "corporate_reward_tax" - | "corporation_account_withdrawal" - | "corporation_bulk_payment" - | "corporation_dividend_payment" - | "corporation_liquidation" - | "corporation_logo_change_cost" - | "corporation_payment" - | "corporation_registration_fee" - | "courier_mission_escrow" - | "cspa" - | "cspaofflinerefund" - | "daily_challenge_reward" - | "datacore_fee" - | "dna_modification_fee" - | "docking_fee" - | "duel_wager_escrow" - | "duel_wager_payment" - | "duel_wager_refund" - | "ess_escrow_transfer" - | "external_trade_delivery" - | "external_trade_freeze" - | "external_trade_thaw" - | "factory_slot_rental_fee" - | "flux_payout" - | "flux_tax" - | "flux_ticket_repayment" - | "flux_ticket_sale" - | "gm_cash_transfer" - | "industry_job_tax" - | "infrastructure_hub_maintenance" - | "inheritance" - | "insurance" - | "item_trader_payment" - | "jump_clone_activation_fee" - | "jump_clone_installation_fee" - | "kill_right_fee" - | "lp_store" - | "manufacturing" - | "market_escrow" - | "market_fine_paid" - | "market_provider_tax" - | "market_transaction" - | "medal_creation" - | "medal_issued" - | "milestone_reward_payment" - | "mission_completion" - | "mission_cost" - | "mission_expiration" - | "mission_reward" - | "office_rental_fee" - | "operation_bonus" - | "opportunity_reward" - | "planetary_construction" - | "planetary_export_tax" - | "planetary_import_tax" - | "player_donation" - | "player_trading" - | "project_discovery_reward" - | "project_discovery_tax" - | "reaction" - | "redeemed_isk_token" - | "release_of_impounded_property" - | "repair_bill" - | "reprocessing_tax" - | "researching_material_productivity" - | "researching_technology" - | "researching_time_productivity" - | "resource_wars_reward" - | "reverse_engineering" - | "season_challenge_reward" - | "security_processing_fee" - | "shares" - | "skill_purchase" - | "sovereignity_bill" - | "store_purchase" - | "store_purchase_refund" - | "structure_gate_jump" - | "transaction_tax" - | "upkeep_adjustment_fee" - | "war_ally_contract" - | "war_fee" - | "war_fee_surrender"; - /** - * get_characters_character_id_wallet_journal_second_party_id - * The id of the second party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name - * @format int32 - */ - second_party_id?: number; - /** - * get_characters_character_id_wallet_journal_tax - * Tax amount received. Only applies to tax related transactions - * @format double - */ - tax?: number; - /** - * get_characters_character_id_wallet_journal_tax_receiver_id - * The corporation ID receiving any tax paid. Only applies to tax related transactions - * @format int32 - */ - tax_receiver_id?: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/characters/${characterId}/wallet/journal/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Get wallet transactions of a character --- Alternate route: `/dev/characters/{character_id}/wallet/transactions/` Alternate route: `/legacy/characters/{character_id}/wallet/transactions/` Alternate route: `/v1/characters/{character_id}/wallet/transactions/` --- This route is cached for up to 3600 seconds + * @description Get wallet transactions of a character --- This route is cached for up to 3600 seconds * * @tags Wallet * @name GetCharactersCharacterIdWalletTransactions * @summary Get wallet transactions - * @request GET:/characters/{character_id}/wallet/transactions/ + * @request GET:/v1/characters/{character_id}/wallet/transactions/ * @secure */ getCharactersCharacterIdWalletTransactions: ( @@ -6827,22 +2776,21 @@ export class Api extends HttpClient({ - path: `/characters/${characterId}/wallet/transactions/`, + path: `/v1/characters/${characterId}/wallet/transactions/`, method: "GET", query: query, secure: true, format: "json", ...params, }), - }; - contracts = { + /** - * @description Lists bids on a public auction contract --- Alternate route: `/dev/contracts/public/bids/{contract_id}/` Alternate route: `/legacy/contracts/public/bids/{contract_id}/` Alternate route: `/v1/contracts/public/bids/{contract_id}/` --- This route is cached for up to 300 seconds + * @description Lists bids on a public auction contract --- This route is cached for up to 300 seconds * * @tags Contracts * @name GetContractsPublicBidsContractId * @summary Get public contract bids - * @request GET:/contracts/public/bids/{contract_id}/ + * @request GET:/v1/contracts/public/bids/{contract_id}/ */ getContractsPublicBidsContractId: ( contractId: number, @@ -6904,7 +2852,7 @@ export class Api extends HttpClient({ - path: `/contracts/public/bids/${contractId}/`, + path: `/v1/contracts/public/bids/${contractId}/`, method: "GET", query: query, format: "json", @@ -6912,12 +2860,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/contracts/public/items/${contractId}/`, + path: `/v1/contracts/public/items/${contractId}/`, method: "GET", query: query, format: "json", @@ -7026,12 +2974,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/contracts/public/${regionId}/`, + path: `/v1/contracts/public/${regionId}/`, method: "GET", query: query, format: "json", ...params, }), - }; - corporation = { + /** - * @description Extraction timers for all moon chunks being extracted by refineries belonging to a corporation. --- Alternate route: `/dev/corporation/{corporation_id}/mining/extractions/` Alternate route: `/legacy/corporation/{corporation_id}/mining/extractions/` Alternate route: `/v1/corporation/{corporation_id}/mining/extractions/` --- This route is cached for up to 1800 seconds --- Requires one of the following EVE corporation role(s): Station_Manager + * @description Extraction timers for all moon chunks being extracted by refineries belonging to a corporation. --- This route is cached for up to 1800 seconds --- Requires one of the following EVE corporation role(s): Station_Manager * * @tags Industry * @name GetCorporationCorporationIdMiningExtractions * @summary Moon extraction timers - * @request GET:/corporation/{corporation_id}/mining/extractions/ + * @request GET:/v1/corporation/{corporation_id}/mining/extractions/ * @secure */ getCorporationCorporationIdMiningExtractions: ( @@ -7240,7 +3187,7 @@ export class Api extends HttpClient({ - path: `/corporation/${corporationId}/mining/extractions/`, + path: `/v1/corporation/${corporationId}/mining/extractions/`, method: "GET", query: query, secure: true, @@ -7249,12 +3196,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/corporation/${corporationId}/mining/observers/`, + path: `/v1/corporation/${corporationId}/mining/observers/`, method: "GET", query: query, secure: true, @@ -7315,12 +3262,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/corporation/${corporationId}/mining/observers/${observerId}/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - }; - corporations = { - /** - * @description Get a list of npc corporations --- Alternate route: `/dev/corporations/npccorps/` Alternate route: `/v2/corporations/npccorps/` --- This route expires daily at 11:05 - * - * @tags Corporation - * @name GetCorporationsNpccorps - * @summary Get npc corporations - * @request GET:/corporations/npccorps/ - */ - getCorporationsNpccorps: ( - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - }, - params: RequestParams = {}, - ) => - this.request< - number[], - void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/corporations/npccorps/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Public information about a corporation --- Alternate route: `/dev/corporations/{corporation_id}/` Alternate route: `/v5/corporations/{corporation_id}/` --- This route is cached for up to 3600 seconds - * - * @tags Corporation - * @name GetCorporationsCorporationId - * @summary Get corporation information - * @request GET:/corporations/{corporation_id}/ - */ - getCorporationsCorporationId: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_alliance_id - * ID of the alliance that corporation is a member of, if any - * @format int32 - */ - alliance_id?: number; - /** - * get_corporations_corporation_id_ceo_id - * ceo_id integer - * @format int32 - */ - ceo_id: number; - /** - * get_corporations_corporation_id_creator_id - * creator_id integer - * @format int32 - */ - creator_id: number; - /** - * get_corporations_corporation_id_date_founded - * date_founded string - * @format date-time - */ - date_founded?: string; - /** - * get_corporations_corporation_id_description - * description string - */ - description?: string; - /** - * get_corporations_corporation_id_faction_id - * faction_id integer - * @format int32 - */ - faction_id?: number; - /** - * get_corporations_corporation_id_home_station_id - * home_station_id integer - * @format int32 - */ - home_station_id?: number; - /** - * get_corporations_corporation_id_member_count - * member_count integer - * @format int32 - */ - member_count: number; - /** - * get_corporations_corporation_id_name - * the full name of the corporation - */ - name: string; - /** - * get_corporations_corporation_id_shares - * shares integer - * @format int64 - */ - shares?: number; - /** - * get_corporations_corporation_id_tax_rate - * tax_rate number - * @format float - * @min 0 - * @max 1 - */ - tax_rate: number; - /** - * get_corporations_corporation_id_ticker - * the short name of the corporation - */ - ticker: string; - /** - * get_corporations_corporation_id_url - * url string - */ - url?: string; - /** - * get_corporations_corporation_id_war_eligible - * war_eligible boolean - */ - war_eligible?: boolean; - }, - | void - | BadRequest - | { - /** - * get_corporations_corporation_id_404_not_found - * Not found message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Get a list of all the alliances a corporation has been a member of --- Alternate route: `/dev/corporations/{corporation_id}/alliancehistory/` Alternate route: `/v3/corporations/{corporation_id}/alliancehistory/` --- This route is cached for up to 3600 seconds - * - * @tags Corporation - * @name GetCorporationsCorporationIdAlliancehistory - * @summary Get alliance history - * @request GET:/corporations/{corporation_id}/alliancehistory/ - */ - getCorporationsCorporationIdAlliancehistory: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_alliancehistory_alliance_id - * alliance_id integer - * @format int32 - */ - alliance_id?: number; - /** - * get_corporations_corporation_id_alliancehistory_is_deleted - * True if the alliance has been closed - */ - is_deleted?: boolean; - /** - * get_corporations_corporation_id_alliancehistory_record_id - * An incrementing ID that can be used to canonically establish order of records in cases where dates may be ambiguous - * @format int32 - */ - record_id: number; - /** - * get_corporations_corporation_id_alliancehistory_start_date - * start_date string - * @format date-time - */ - start_date: string; - }[], - void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/corporations/${corporationId}/alliancehistory/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Return a list of the corporation assets --- Alternate route: `/dev/corporations/{corporation_id}/assets/` Alternate route: `/v5/corporations/{corporation_id}/assets/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director - * - * @tags Assets - * @name GetCorporationsCorporationIdAssets - * @summary Get corporation assets - * @request GET:/corporations/{corporation_id}/assets/ - * @secure - */ - getCorporationsCorporationIdAssets: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_assets_is_blueprint_copy - * is_blueprint_copy boolean - */ - is_blueprint_copy?: boolean; - /** - * get_corporations_corporation_id_assets_is_singleton - * is_singleton boolean - */ - is_singleton: boolean; - /** - * get_corporations_corporation_id_assets_item_id - * item_id integer - * @format int64 - */ - item_id: number; - /** - * get_corporations_corporation_id_assets_location_flag - * location_flag string - */ - location_flag: - | "AssetSafety" - | "AutoFit" - | "Bonus" - | "Booster" - | "BoosterBay" - | "Capsule" - | "Cargo" - | "CorpDeliveries" - | "CorpSAG1" - | "CorpSAG2" - | "CorpSAG3" - | "CorpSAG4" - | "CorpSAG5" - | "CorpSAG6" - | "CorpSAG7" - | "CrateLoot" - | "Deliveries" - | "DroneBay" - | "DustBattle" - | "DustDatabank" - | "FighterBay" - | "FighterTube0" - | "FighterTube1" - | "FighterTube2" - | "FighterTube3" - | "FighterTube4" - | "FleetHangar" - | "FrigateEscapeBay" - | "Hangar" - | "HangarAll" - | "HiSlot0" - | "HiSlot1" - | "HiSlot2" - | "HiSlot3" - | "HiSlot4" - | "HiSlot5" - | "HiSlot6" - | "HiSlot7" - | "HiddenModifiers" - | "Implant" - | "Impounded" - | "JunkyardReprocessed" - | "JunkyardTrashed" - | "LoSlot0" - | "LoSlot1" - | "LoSlot2" - | "LoSlot3" - | "LoSlot4" - | "LoSlot5" - | "LoSlot6" - | "LoSlot7" - | "Locked" - | "MedSlot0" - | "MedSlot1" - | "MedSlot2" - | "MedSlot3" - | "MedSlot4" - | "MedSlot5" - | "MedSlot6" - | "MedSlot7" - | "OfficeFolder" - | "Pilot" - | "PlanetSurface" - | "QuafeBay" - | "QuantumCoreRoom" - | "Reward" - | "RigSlot0" - | "RigSlot1" - | "RigSlot2" - | "RigSlot3" - | "RigSlot4" - | "RigSlot5" - | "RigSlot6" - | "RigSlot7" - | "SecondaryStorage" - | "ServiceSlot0" - | "ServiceSlot1" - | "ServiceSlot2" - | "ServiceSlot3" - | "ServiceSlot4" - | "ServiceSlot5" - | "ServiceSlot6" - | "ServiceSlot7" - | "ShipHangar" - | "ShipOffline" - | "Skill" - | "SkillInTraining" - | "SpecializedAmmoHold" - | "SpecializedAsteroidHold" - | "SpecializedCommandCenterHold" - | "SpecializedFuelBay" - | "SpecializedGasHold" - | "SpecializedIceHold" - | "SpecializedIndustrialShipHold" - | "SpecializedLargeShipHold" - | "SpecializedMaterialBay" - | "SpecializedMediumShipHold" - | "SpecializedMineralHold" - | "SpecializedOreHold" - | "SpecializedPlanetaryCommoditiesHold" - | "SpecializedSalvageHold" - | "SpecializedShipHold" - | "SpecializedSmallShipHold" - | "StructureActive" - | "StructureFuel" - | "StructureInactive" - | "StructureOffline" - | "SubSystemBay" - | "SubSystemSlot0" - | "SubSystemSlot1" - | "SubSystemSlot2" - | "SubSystemSlot3" - | "SubSystemSlot4" - | "SubSystemSlot5" - | "SubSystemSlot6" - | "SubSystemSlot7" - | "Unlocked" - | "Wallet" - | "Wardrobe"; - /** - * get_corporations_corporation_id_assets_location_id - * location_id integer - * @format int64 - */ - location_id: number; - /** - * get_corporations_corporation_id_assets_location_type - * location_type string - */ - location_type: "station" | "solar_system" | "item" | "other"; - /** - * get_corporations_corporation_id_assets_quantity - * quantity integer - * @format int32 - */ - quantity: number; - /** - * get_corporations_corporation_id_assets_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/assets/`, + path: `/v1/corporation/${corporationId}/mining/observers/${observerId}/`, method: "GET", query: query, secure: true, @@ -7815,93 +3342,12 @@ export class Api extends HttpClient - this.request< - { - /** - * post_corporations_corporation_id_assets_locations_item_id - * item_id integer - * @format int64 - */ - item_id: number; - /** - * post_corporations_corporation_id_assets_locations_position - * position object - */ - position: { - /** - * post_corporations_corporation_id_assets_locations_x - * x number - * @format double - */ - x: number; - /** - * post_corporations_corporation_id_assets_locations_y - * y number - * @format double - */ - y: number; - /** - * post_corporations_corporation_id_assets_locations_z - * z number - * @format double - */ - z: number; - }; - }[], - | BadRequest - | Unauthorized - | Forbidden - | { - /** - * post_corporations_corporation_id_assets_locations_404_not_found - * Not found message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/assets/locations/`, - method: "POST", - query: query, - body: item_ids, - secure: true, - type: ContentType.Json, - format: "json", - ...params, - }), - - /** - * @description Return names for a set of item ids, which you can get from corporation assets endpoint. Only valid for items that can customize names, like containers or ships --- Alternate route: `/dev/corporations/{corporation_id}/assets/names/` Alternate route: `/legacy/corporations/{corporation_id}/assets/names/` Alternate route: `/v1/corporations/{corporation_id}/assets/names/` --- Requires one of the following EVE corporation role(s): Director + * @description Return names for a set of item ids, which you can get from corporation assets endpoint. Only valid for items that can customize names, like containers or ships --- Requires one of the following EVE corporation role(s): Director * * @tags Assets * @name PostCorporationsCorporationIdAssetsNames * @summary Get corporation asset names - * @request POST:/corporations/{corporation_id}/assets/names/ + * @request POST:/v1/corporations/{corporation_id}/assets/names/ * @secure */ postCorporationsCorporationIdAssetsNames: ( @@ -7947,7 +3393,7 @@ export class Api extends HttpClient({ - path: `/corporations/${corporationId}/assets/names/`, + path: `/v1/corporations/${corporationId}/assets/names/`, method: "POST", query: query, body: item_ids, @@ -7958,231 +3404,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_corporations_corporation_id_blueprints_item_id - * Unique ID for this item. - * @format int64 - */ - item_id: number; - /** - * get_corporations_corporation_id_blueprints_location_flag - * Type of the location_id - */ - location_flag: - | "AssetSafety" - | "AutoFit" - | "Bonus" - | "Booster" - | "BoosterBay" - | "Capsule" - | "Cargo" - | "CorpDeliveries" - | "CorpSAG1" - | "CorpSAG2" - | "CorpSAG3" - | "CorpSAG4" - | "CorpSAG5" - | "CorpSAG6" - | "CorpSAG7" - | "CrateLoot" - | "Deliveries" - | "DroneBay" - | "DustBattle" - | "DustDatabank" - | "FighterBay" - | "FighterTube0" - | "FighterTube1" - | "FighterTube2" - | "FighterTube3" - | "FighterTube4" - | "FleetHangar" - | "FrigateEscapeBay" - | "Hangar" - | "HangarAll" - | "HiSlot0" - | "HiSlot1" - | "HiSlot2" - | "HiSlot3" - | "HiSlot4" - | "HiSlot5" - | "HiSlot6" - | "HiSlot7" - | "HiddenModifiers" - | "Implant" - | "Impounded" - | "JunkyardReprocessed" - | "JunkyardTrashed" - | "LoSlot0" - | "LoSlot1" - | "LoSlot2" - | "LoSlot3" - | "LoSlot4" - | "LoSlot5" - | "LoSlot6" - | "LoSlot7" - | "Locked" - | "MedSlot0" - | "MedSlot1" - | "MedSlot2" - | "MedSlot3" - | "MedSlot4" - | "MedSlot5" - | "MedSlot6" - | "MedSlot7" - | "OfficeFolder" - | "Pilot" - | "PlanetSurface" - | "QuafeBay" - | "QuantumCoreRoom" - | "Reward" - | "RigSlot0" - | "RigSlot1" - | "RigSlot2" - | "RigSlot3" - | "RigSlot4" - | "RigSlot5" - | "RigSlot6" - | "RigSlot7" - | "SecondaryStorage" - | "ServiceSlot0" - | "ServiceSlot1" - | "ServiceSlot2" - | "ServiceSlot3" - | "ServiceSlot4" - | "ServiceSlot5" - | "ServiceSlot6" - | "ServiceSlot7" - | "ShipHangar" - | "ShipOffline" - | "Skill" - | "SkillInTraining" - | "SpecializedAmmoHold" - | "SpecializedCommandCenterHold" - | "SpecializedFuelBay" - | "SpecializedGasHold" - | "SpecializedIndustrialShipHold" - | "SpecializedLargeShipHold" - | "SpecializedMaterialBay" - | "SpecializedMediumShipHold" - | "SpecializedMineralHold" - | "SpecializedOreHold" - | "SpecializedPlanetaryCommoditiesHold" - | "SpecializedSalvageHold" - | "SpecializedShipHold" - | "SpecializedSmallShipHold" - | "StructureActive" - | "StructureFuel" - | "StructureInactive" - | "StructureOffline" - | "SubSystemBay" - | "SubSystemSlot0" - | "SubSystemSlot1" - | "SubSystemSlot2" - | "SubSystemSlot3" - | "SubSystemSlot4" - | "SubSystemSlot5" - | "SubSystemSlot6" - | "SubSystemSlot7" - | "Unlocked" - | "Wallet" - | "Wardrobe"; - /** - * get_corporations_corporation_id_blueprints_location_id - * References a station, a ship or an item_id if this blueprint is located within a container. - * @format int64 - */ - location_id: number; - /** - * get_corporations_corporation_id_blueprints_material_efficiency - * Material Efficiency Level of the blueprint. - * @format int32 - * @min 0 - * @max 25 - */ - material_efficiency: number; - /** - * get_corporations_corporation_id_blueprints_quantity - * A range of numbers with a minimum of -2 and no maximum value where -1 is an original and -2 is a copy. It can be a positive integer if it is a stack of blueprint originals fresh from the market (e.g. no activities performed on them yet). - * @format int32 - * @min -2 - */ - quantity: number; - /** - * get_corporations_corporation_id_blueprints_runs - * Number of runs remaining if the blueprint is a copy, -1 if it is an original. - * @format int32 - * @min -1 - */ - runs: number; - /** - * get_corporations_corporation_id_blueprints_time_efficiency - * Time Efficiency Level of the blueprint. - * @format int32 - * @min 0 - * @max 20 - */ - time_efficiency: number; - /** - * get_corporations_corporation_id_blueprints_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/blueprints/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description A list of your corporation's bookmarks --- Alternate route: `/dev/corporations/{corporation_id}/bookmarks/` Alternate route: `/legacy/corporations/{corporation_id}/bookmarks/` Alternate route: `/v1/corporations/{corporation_id}/bookmarks/` --- This route is cached for up to 3600 seconds + * @description A list of your corporation's bookmarks --- This route is cached for up to 3600 seconds * * @tags Bookmarks * @name GetCorporationsCorporationIdBookmarks * @summary List corporation bookmarks - * @request GET:/corporations/{corporation_id}/bookmarks/ + * @request GET:/v1/corporations/{corporation_id}/bookmarks/ * @secure */ getCorporationsCorporationIdBookmarks: ( @@ -8299,7 +3526,7 @@ export class Api extends HttpClient({ - path: `/corporations/${corporationId}/bookmarks/`, + path: `/v1/corporations/${corporationId}/bookmarks/`, method: "GET", query: query, secure: true, @@ -8308,12 +3535,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/corporations/${corporationId}/bookmarks/folders/`, + path: `/v1/corporations/${corporationId}/bookmarks/folders/`, method: "GET", query: query, secure: true, @@ -8374,89 +3601,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_corporations_corporation_id_contacts_contact_id - * contact_id integer - * @format int32 - */ - contact_id: number; - /** - * get_corporations_corporation_id_contacts_contact_type - * contact_type string - */ - contact_type: "character" | "corporation" | "alliance" | "faction"; - /** - * get_corporations_corporation_id_contacts_is_watched - * Whether this contact is being watched - */ - is_watched?: boolean; - /** - * get_corporations_corporation_id_contacts_label_ids - * label_ids array - * @maxItems 63 - */ - label_ids?: number[]; - /** - * get_corporations_corporation_id_contacts_standing - * Standing of the contact - * @format float - */ - standing: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/contacts/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return custom labels for a corporation's contacts --- Alternate route: `/dev/corporations/{corporation_id}/contacts/labels/` Alternate route: `/legacy/corporations/{corporation_id}/contacts/labels/` Alternate route: `/v1/corporations/{corporation_id}/contacts/labels/` --- This route is cached for up to 300 seconds + * @description Return custom labels for a corporation's contacts --- This route is cached for up to 300 seconds * * @tags Contacts * @name GetCorporationsCorporationIdContactsLabels * @summary Get corporation contact labels - * @request GET:/corporations/{corporation_id}/contacts/labels/ + * @request GET:/v1/corporations/{corporation_id}/contacts/labels/ * @secure */ getCorporationsCorporationIdContactsLabels: ( @@ -8495,7 +3645,7 @@ export class Api extends HttpClient({ - path: `/corporations/${corporationId}/contacts/labels/`, + path: `/v1/corporations/${corporationId}/contacts/labels/`, method: "GET", query: query, secure: true, @@ -8504,257 +3654,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_corporations_corporation_id_containers_logs_action - * action string - */ - action: - | "add" - | "assemble" - | "configure" - | "enter_password" - | "lock" - | "move" - | "repackage" - | "set_name" - | "set_password" - | "unlock"; - /** - * get_corporations_corporation_id_containers_logs_character_id - * ID of the character who performed the action. - * @format int32 - */ - character_id: number; - /** - * get_corporations_corporation_id_containers_logs_container_id - * ID of the container - * @format int64 - */ - container_id: number; - /** - * get_corporations_corporation_id_containers_logs_container_type_id - * Type ID of the container - * @format int32 - */ - container_type_id: number; - /** - * get_corporations_corporation_id_containers_logs_location_flag - * location_flag string - */ - location_flag: - | "AssetSafety" - | "AutoFit" - | "Bonus" - | "Booster" - | "BoosterBay" - | "Capsule" - | "Cargo" - | "CorpDeliveries" - | "CorpSAG1" - | "CorpSAG2" - | "CorpSAG3" - | "CorpSAG4" - | "CorpSAG5" - | "CorpSAG6" - | "CorpSAG7" - | "CrateLoot" - | "Deliveries" - | "DroneBay" - | "DustBattle" - | "DustDatabank" - | "FighterBay" - | "FighterTube0" - | "FighterTube1" - | "FighterTube2" - | "FighterTube3" - | "FighterTube4" - | "FleetHangar" - | "FrigateEscapeBay" - | "Hangar" - | "HangarAll" - | "HiSlot0" - | "HiSlot1" - | "HiSlot2" - | "HiSlot3" - | "HiSlot4" - | "HiSlot5" - | "HiSlot6" - | "HiSlot7" - | "HiddenModifiers" - | "Implant" - | "Impounded" - | "JunkyardReprocessed" - | "JunkyardTrashed" - | "LoSlot0" - | "LoSlot1" - | "LoSlot2" - | "LoSlot3" - | "LoSlot4" - | "LoSlot5" - | "LoSlot6" - | "LoSlot7" - | "Locked" - | "MedSlot0" - | "MedSlot1" - | "MedSlot2" - | "MedSlot3" - | "MedSlot4" - | "MedSlot5" - | "MedSlot6" - | "MedSlot7" - | "OfficeFolder" - | "Pilot" - | "PlanetSurface" - | "QuafeBay" - | "QuantumCoreRoom" - | "Reward" - | "RigSlot0" - | "RigSlot1" - | "RigSlot2" - | "RigSlot3" - | "RigSlot4" - | "RigSlot5" - | "RigSlot6" - | "RigSlot7" - | "SecondaryStorage" - | "ServiceSlot0" - | "ServiceSlot1" - | "ServiceSlot2" - | "ServiceSlot3" - | "ServiceSlot4" - | "ServiceSlot5" - | "ServiceSlot6" - | "ServiceSlot7" - | "ShipHangar" - | "ShipOffline" - | "Skill" - | "SkillInTraining" - | "SpecializedAmmoHold" - | "SpecializedCommandCenterHold" - | "SpecializedFuelBay" - | "SpecializedGasHold" - | "SpecializedIndustrialShipHold" - | "SpecializedLargeShipHold" - | "SpecializedMaterialBay" - | "SpecializedMediumShipHold" - | "SpecializedMineralHold" - | "SpecializedOreHold" - | "SpecializedPlanetaryCommoditiesHold" - | "SpecializedSalvageHold" - | "SpecializedShipHold" - | "SpecializedSmallShipHold" - | "StructureActive" - | "StructureFuel" - | "StructureInactive" - | "StructureOffline" - | "SubSystemBay" - | "SubSystemSlot0" - | "SubSystemSlot1" - | "SubSystemSlot2" - | "SubSystemSlot3" - | "SubSystemSlot4" - | "SubSystemSlot5" - | "SubSystemSlot6" - | "SubSystemSlot7" - | "Unlocked" - | "Wallet" - | "Wardrobe"; - /** - * get_corporations_corporation_id_containers_logs_location_id - * location_id integer - * @format int64 - */ - location_id: number; - /** - * get_corporations_corporation_id_containers_logs_logged_at - * Timestamp when this log was created - * @format date-time - */ - logged_at: string; - /** - * get_corporations_corporation_id_containers_logs_new_config_bitmask - * new_config_bitmask integer - * @format int32 - */ - new_config_bitmask?: number; - /** - * get_corporations_corporation_id_containers_logs_old_config_bitmask - * old_config_bitmask integer - * @format int32 - */ - old_config_bitmask?: number; - /** - * get_corporations_corporation_id_containers_logs_password_type - * Type of password set if action is of type SetPassword or EnterPassword - */ - password_type?: "config" | "general"; - /** - * get_corporations_corporation_id_containers_logs_quantity - * Quantity of the item being acted upon - * @format int32 - */ - quantity?: number; - /** - * get_corporations_corporation_id_containers_logs_type_id - * Type ID of the item being acted upon - * @format int32 - */ - type_id?: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/containers/logs/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Returns contracts available to a corporation, only if the corporation is issuer, acceptor or assignee. Only returns contracts no older than 30 days, or if the status is "in_progress". --- Alternate route: `/dev/corporations/{corporation_id}/contracts/` Alternate route: `/legacy/corporations/{corporation_id}/contracts/` Alternate route: `/v1/corporations/{corporation_id}/contracts/` --- This route is cached for up to 300 seconds + * @description Returns contracts available to a corporation, only if the corporation is issuer, acceptor or assignee. Only returns contracts no older than 30 days, or if the status is "in_progress". --- This route is cached for up to 300 seconds * * @tags Contracts * @name GetCorporationsCorporationIdContracts * @summary Get corporation contracts - * @request GET:/corporations/{corporation_id}/contracts/ + * @request GET:/v1/corporations/{corporation_id}/contracts/ * @secure */ getCorporationsCorporationIdContracts: ( @@ -8926,7 +3831,7 @@ export class Api extends HttpClient({ - path: `/corporations/${corporationId}/contracts/`, + path: `/v1/corporations/${corporationId}/contracts/`, method: "GET", query: query, secure: true, @@ -8935,12 +3840,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/corporations/${corporationId}/contracts/${contractId}/bids/`, + path: `/v1/corporations/${corporationId}/contracts/${contractId}/bids/`, method: "GET", query: query, secure: true, @@ -9016,12 +3921,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/corporations/${corporationId}/contracts/${contractId}/items/`, + path: `/v1/corporations/${corporationId}/contracts/${contractId}/items/`, method: "GET", query: query, secure: true, @@ -9107,12 +4012,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/corporations/${corporationId}/customs_offices/`, + path: `/v1/corporations/${corporationId}/customs_offices/`, method: "GET", query: query, secure: true, @@ -9241,156 +4146,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_corporations_corporation_id_divisions_hangar - * hangar array - * @maxItems 7 - */ - hangar?: { - /** - * get_corporations_corporation_id_divisions_division - * division integer - * @format int32 - * @min 1 - * @max 7 - */ - division?: number; - /** - * get_corporations_corporation_id_divisions_name - * name string - * @maxLength 50 - */ - name?: string; - }[]; - /** - * get_corporations_corporation_id_divisions_wallet - * wallet array - * @maxItems 7 - */ - wallet?: { - /** - * get_corporations_corporation_id_divisions_wallet_division - * division integer - * @format int32 - * @min 1 - * @max 7 - */ - division?: number; - /** - * get_corporations_corporation_id_divisions_wallet_name - * name string - * @maxLength 50 - */ - name?: string; - }[]; - }, - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/divisions/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return a corporation's facilities --- Alternate route: `/dev/corporations/{corporation_id}/facilities/` Alternate route: `/v2/corporations/{corporation_id}/facilities/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Factory_Manager - * - * @tags Corporation - * @name GetCorporationsCorporationIdFacilities - * @summary Get corporation facilities - * @request GET:/corporations/{corporation_id}/facilities/ - * @secure - */ - getCorporationsCorporationIdFacilities: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_facilities_facility_id - * facility_id integer - * @format int64 - */ - facility_id: number; - /** - * get_corporations_corporation_id_facilities_system_id - * system_id integer - * @format int32 - */ - system_id: number; - /** - * get_corporations_corporation_id_facilities_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/facilities/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Statistics about a corporation involved in faction warfare --- Alternate route: `/dev/corporations/{corporation_id}/fw/stats/` Alternate route: `/legacy/corporations/{corporation_id}/fw/stats/` Alternate route: `/v1/corporations/{corporation_id}/fw/stats/` Alternate route: `/v2/corporations/{corporation_id}/fw/stats/` --- This route expires daily at 11:05 + * @description Statistics about a corporation involved in faction warfare --- This route expires daily at 11:05 * * @tags Faction Warfare * @name GetCorporationsCorporationIdFwStats * @summary Overview of a corporation involved in faction warfare - * @request GET:/corporations/{corporation_id}/fw/stats/ + * @request GET:/v1/corporations/{corporation_id}/fw/stats/ * @secure */ getCorporationsCorporationIdFwStats: ( @@ -9484,7 +4245,7 @@ export class Api extends HttpClient({ - path: `/corporations/${corporationId}/fw/stats/`, + path: `/v1/corporations/${corporationId}/fw/stats/`, method: "GET", query: query, secure: true, @@ -9493,70 +4254,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_corporations_corporation_id_icons_px128x128 - * px128x128 string - */ - px128x128?: string; - /** - * get_corporations_corporation_id_icons_px256x256 - * px256x256 string - */ - px256x256?: string; - /** - * get_corporations_corporation_id_icons_px64x64 - * px64x64 string - */ - px64x64?: string; - }, - | void - | BadRequest - | { - /** - * get_corporations_corporation_id_icons_error - * error message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/icons/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description List industry jobs run by a corporation --- Alternate route: `/dev/corporations/{corporation_id}/industry/jobs/` Alternate route: `/legacy/corporations/{corporation_id}/industry/jobs/` Alternate route: `/v1/corporations/{corporation_id}/industry/jobs/` --- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Factory_Manager + * @description List industry jobs run by a corporation --- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Factory_Manager * * @tags Industry * @name GetCorporationsCorporationIdIndustryJobs * @summary List corporation industry jobs - * @request GET:/corporations/{corporation_id}/industry/jobs/ + * @request GET:/v1/corporations/{corporation_id}/industry/jobs/ * @secure */ getCorporationsCorporationIdIndustryJobs: ( @@ -9727,7 +4430,7 @@ export class Api extends HttpClient({ - path: `/corporations/${corporationId}/industry/jobs/`, + path: `/v1/corporations/${corporationId}/industry/jobs/`, method: "GET", query: query, secure: true, @@ -9736,12 +4439,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/corporations/${corporationId}/killmails/recent/`, + path: `/v1/corporations/${corporationId}/killmails/recent/`, method: "GET", query: query, secure: true, @@ -9796,1356 +4499,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_corporations_corporation_id_medals_created_at - * created_at string - * @format date-time - */ - created_at: string; - /** - * get_corporations_corporation_id_medals_creator_id - * ID of the character who created this medal - * @format int32 - */ - creator_id: number; - /** - * get_corporations_corporation_id_medals_description - * description string - * @maxLength 1000 - */ - description: string; - /** - * get_corporations_corporation_id_medals_medal_id - * medal_id integer - * @format int32 - */ - medal_id: number; - /** - * get_corporations_corporation_id_medals_title - * title string - * @maxLength 100 - */ - title: string; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/medals/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Returns medals issued by a corporation --- Alternate route: `/dev/corporations/{corporation_id}/medals/issued/` Alternate route: `/v2/corporations/{corporation_id}/medals/issued/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director - * - * @tags Corporation - * @name GetCorporationsCorporationIdMedalsIssued - * @summary Get corporation issued medals - * @request GET:/corporations/{corporation_id}/medals/issued/ - * @secure - */ - getCorporationsCorporationIdMedalsIssued: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_medals_issued_character_id - * ID of the character who was rewarded this medal - * @format int32 - */ - character_id: number; - /** - * get_corporations_corporation_id_medals_issued_issued_at - * issued_at string - * @format date-time - */ - issued_at: string; - /** - * get_corporations_corporation_id_medals_issued_issuer_id - * ID of the character who issued the medal - * @format int32 - */ - issuer_id: number; - /** - * get_corporations_corporation_id_medals_issued_medal_id - * medal_id integer - * @format int32 - */ - medal_id: number; - /** - * get_corporations_corporation_id_medals_issued_reason - * reason string - * @maxLength 1000 - */ - reason: string; - /** - * get_corporations_corporation_id_medals_issued_status - * status string - */ - status: "private" | "public"; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/medals/issued/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return the current member list of a corporation, the token's character need to be a member of the corporation. --- Alternate route: `/dev/corporations/{corporation_id}/members/` Alternate route: `/v4/corporations/{corporation_id}/members/` --- This route is cached for up to 3600 seconds - * - * @tags Corporation - * @name GetCorporationsCorporationIdMembers - * @summary Get corporation members - * @request GET:/corporations/{corporation_id}/members/ - * @secure - */ - getCorporationsCorporationIdMembers: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - number[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/members/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return a corporation's member limit, not including CEO himself --- Alternate route: `/dev/corporations/{corporation_id}/members/limit/` Alternate route: `/v2/corporations/{corporation_id}/members/limit/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director - * - * @tags Corporation - * @name GetCorporationsCorporationIdMembersLimit - * @summary Get corporation member limit - * @request GET:/corporations/{corporation_id}/members/limit/ - * @secure - */ - getCorporationsCorporationIdMembersLimit: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - number, - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/members/limit/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Returns a corporation's members' titles --- Alternate route: `/dev/corporations/{corporation_id}/members/titles/` Alternate route: `/v2/corporations/{corporation_id}/members/titles/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director - * - * @tags Corporation - * @name GetCorporationsCorporationIdMembersTitles - * @summary Get corporation's members' titles - * @request GET:/corporations/{corporation_id}/members/titles/ - * @secure - */ - getCorporationsCorporationIdMembersTitles: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_members_titles_character_id - * character_id integer - * @format int32 - */ - character_id: number; - /** - * get_corporations_corporation_id_members_titles_titles - * A list of title_id - * @maxItems 16 - */ - titles: number[]; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/members/titles/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Returns additional information about a corporation's members which helps tracking their activities --- Alternate route: `/dev/corporations/{corporation_id}/membertracking/` Alternate route: `/v2/corporations/{corporation_id}/membertracking/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director - * - * @tags Corporation - * @name GetCorporationsCorporationIdMembertracking - * @summary Track corporation members - * @request GET:/corporations/{corporation_id}/membertracking/ - * @secure - */ - getCorporationsCorporationIdMembertracking: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_membertracking_base_id - * base_id integer - * @format int32 - */ - base_id?: number; - /** - * get_corporations_corporation_id_membertracking_character_id - * character_id integer - * @format int32 - */ - character_id: number; - /** - * get_corporations_corporation_id_membertracking_location_id - * location_id integer - * @format int64 - */ - location_id?: number; - /** - * get_corporations_corporation_id_membertracking_logoff_date - * logoff_date string - * @format date-time - */ - logoff_date?: string; - /** - * get_corporations_corporation_id_membertracking_logon_date - * logon_date string - * @format date-time - */ - logon_date?: string; - /** - * get_corporations_corporation_id_membertracking_ship_type_id - * ship_type_id integer - * @format int32 - */ - ship_type_id?: number; - /** - * get_corporations_corporation_id_membertracking_start_date - * start_date string - * @format date-time - */ - start_date?: string; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/membertracking/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description List open market orders placed on behalf of a corporation --- Alternate route: `/dev/corporations/{corporation_id}/orders/` Alternate route: `/v3/corporations/{corporation_id}/orders/` --- This route is cached for up to 1200 seconds --- Requires one of the following EVE corporation role(s): Accountant, Trader - * - * @tags Market - * @name GetCorporationsCorporationIdOrders - * @summary List open orders from a corporation - * @request GET:/corporations/{corporation_id}/orders/ - * @secure - */ - getCorporationsCorporationIdOrders: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_orders_duration - * Number of days for which order is valid (starting from the issued date). An order expires at time issued + duration - * @format int32 - */ - duration: number; - /** - * get_corporations_corporation_id_orders_escrow - * For buy orders, the amount of ISK in escrow - * @format double - */ - escrow?: number; - /** - * get_corporations_corporation_id_orders_is_buy_order - * True if the order is a bid (buy) order - */ - is_buy_order?: boolean; - /** - * get_corporations_corporation_id_orders_issued - * Date and time when this order was issued - * @format date-time - */ - issued: string; - /** - * get_corporations_corporation_id_orders_issued_by - * The character who issued this order - * @format int32 - */ - issued_by: number; - /** - * get_corporations_corporation_id_orders_location_id - * ID of the location where order was placed - * @format int64 - */ - location_id: number; - /** - * get_corporations_corporation_id_orders_min_volume - * For buy orders, the minimum quantity that will be accepted in a matching sell order - * @format int32 - */ - min_volume?: number; - /** - * get_corporations_corporation_id_orders_order_id - * Unique order ID - * @format int64 - */ - order_id: number; - /** - * get_corporations_corporation_id_orders_price - * Cost per unit for this order - * @format double - */ - price: number; - /** - * get_corporations_corporation_id_orders_range - * Valid order range, numbers are ranges in jumps - */ - range: "1" | "10" | "2" | "20" | "3" | "30" | "4" | "40" | "5" | "region" | "solarsystem" | "station"; - /** - * get_corporations_corporation_id_orders_region_id - * ID of the region where order was placed - * @format int32 - */ - region_id: number; - /** - * get_corporations_corporation_id_orders_type_id - * The type ID of the item transacted in this order - * @format int32 - */ - type_id: number; - /** - * get_corporations_corporation_id_orders_volume_remain - * Quantity of items still required or offered - * @format int32 - */ - volume_remain: number; - /** - * get_corporations_corporation_id_orders_volume_total - * Quantity of items required or offered at time order was placed - * @format int32 - */ - volume_total: number; - /** - * get_corporations_corporation_id_orders_wallet_division - * The corporation wallet division used for this order. - * @format int32 - * @min 1 - * @max 7 - */ - wallet_division: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/orders/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description List cancelled and expired market orders placed on behalf of a corporation up to 90 days in the past. --- Alternate route: `/dev/corporations/{corporation_id}/orders/history/` Alternate route: `/v2/corporations/{corporation_id}/orders/history/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Accountant, Trader - * - * @tags Market - * @name GetCorporationsCorporationIdOrdersHistory - * @summary List historical orders from a corporation - * @request GET:/corporations/{corporation_id}/orders/history/ - * @secure - */ - getCorporationsCorporationIdOrdersHistory: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_orders_history_duration - * Number of days the order was valid for (starting from the issued date). An order expires at time issued + duration - * @format int32 - */ - duration: number; - /** - * get_corporations_corporation_id_orders_history_escrow - * For buy orders, the amount of ISK in escrow - * @format double - */ - escrow?: number; - /** - * get_corporations_corporation_id_orders_history_is_buy_order - * True if the order is a bid (buy) order - */ - is_buy_order?: boolean; - /** - * get_corporations_corporation_id_orders_history_issued - * Date and time when this order was issued - * @format date-time - */ - issued: string; - /** - * get_corporations_corporation_id_orders_history_issued_by - * The character who issued this order - * @format int32 - */ - issued_by?: number; - /** - * get_corporations_corporation_id_orders_history_location_id - * ID of the location where order was placed - * @format int64 - */ - location_id: number; - /** - * get_corporations_corporation_id_orders_history_min_volume - * For buy orders, the minimum quantity that will be accepted in a matching sell order - * @format int32 - */ - min_volume?: number; - /** - * get_corporations_corporation_id_orders_history_order_id - * Unique order ID - * @format int64 - */ - order_id: number; - /** - * get_corporations_corporation_id_orders_history_price - * Cost per unit for this order - * @format double - */ - price: number; - /** - * get_corporations_corporation_id_orders_history_range - * Valid order range, numbers are ranges in jumps - */ - range: "1" | "10" | "2" | "20" | "3" | "30" | "4" | "40" | "5" | "region" | "solarsystem" | "station"; - /** - * get_corporations_corporation_id_orders_history_region_id - * ID of the region where order was placed - * @format int32 - */ - region_id: number; - /** - * get_corporations_corporation_id_orders_history_state - * Current order state - */ - state: "cancelled" | "expired"; - /** - * get_corporations_corporation_id_orders_history_type_id - * The type ID of the item transacted in this order - * @format int32 - */ - type_id: number; - /** - * get_corporations_corporation_id_orders_history_volume_remain - * Quantity of items still required or offered - * @format int32 - */ - volume_remain: number; - /** - * get_corporations_corporation_id_orders_history_volume_total - * Quantity of items required or offered at time order was placed - * @format int32 - */ - volume_total: number; - /** - * get_corporations_corporation_id_orders_history_wallet_division - * The corporation wallet division used for this order - * @format int32 - * @min 1 - * @max 7 - */ - wallet_division: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/orders/history/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return the roles of all members if the character has the personnel manager role or any grantable role. --- Alternate route: `/dev/corporations/{corporation_id}/roles/` Alternate route: `/v2/corporations/{corporation_id}/roles/` --- This route is cached for up to 3600 seconds - * - * @tags Corporation - * @name GetCorporationsCorporationIdRoles - * @summary Get corporation member roles - * @request GET:/corporations/{corporation_id}/roles/ - * @secure - */ - getCorporationsCorporationIdRoles: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_roles_character_id - * character_id integer - * @format int32 - */ - character_id: number; - /** - * get_corporations_corporation_id_roles_grantable_roles - * grantable_roles array - * @maxItems 50 - */ - grantable_roles?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_roles_grantable_roles_at_base - * grantable_roles_at_base array - * @maxItems 50 - */ - grantable_roles_at_base?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_roles_grantable_roles_at_hq - * grantable_roles_at_hq array - * @maxItems 50 - */ - grantable_roles_at_hq?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_roles_grantable_roles_at_other - * grantable_roles_at_other array - * @maxItems 50 - */ - grantable_roles_at_other?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_roles_roles - * roles array - * @maxItems 50 - */ - roles?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_roles_roles_at_base - * roles_at_base array - * @maxItems 50 - */ - roles_at_base?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_roles_roles_at_hq - * roles_at_hq array - * @maxItems 50 - */ - roles_at_hq?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_roles_roles_at_other - * roles_at_other array - * @maxItems 50 - */ - roles_at_other?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/roles/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return how roles have changed for a coporation's members, up to a month --- Alternate route: `/dev/corporations/{corporation_id}/roles/history/` Alternate route: `/v2/corporations/{corporation_id}/roles/history/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director - * - * @tags Corporation - * @name GetCorporationsCorporationIdRolesHistory - * @summary Get corporation member roles history - * @request GET:/corporations/{corporation_id}/roles/history/ - * @secure - */ - getCorporationsCorporationIdRolesHistory: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_roles_history_changed_at - * changed_at string - * @format date-time - */ - changed_at: string; - /** - * get_corporations_corporation_id_roles_history_character_id - * The character whose roles are changed - * @format int32 - */ - character_id: number; - /** - * get_corporations_corporation_id_roles_history_issuer_id - * ID of the character who issued this change - * @format int32 - */ - issuer_id: number; - /** - * get_corporations_corporation_id_roles_history_new_roles - * new_roles array - * @maxItems 50 - */ - new_roles: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_roles_history_old_roles - * old_roles array - * @maxItems 50 - */ - old_roles: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_roles_history_role_type - * role_type string - */ - role_type: - | "grantable_roles" - | "grantable_roles_at_base" - | "grantable_roles_at_hq" - | "grantable_roles_at_other" - | "roles" - | "roles_at_base" - | "roles_at_hq" - | "roles_at_other"; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/roles/history/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Return the current shareholders of a corporation. --- Alternate route: `/dev/corporations/{corporation_id}/shareholders/` Alternate route: `/legacy/corporations/{corporation_id}/shareholders/` Alternate route: `/v1/corporations/{corporation_id}/shareholders/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * @description Return the current shareholders of a corporation. --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director * * @tags Corporation * @name GetCorporationsCorporationIdShareholders * @summary Get corporation shareholders - * @request GET:/corporations/{corporation_id}/shareholders/ + * @request GET:/v1/corporations/{corporation_id}/shareholders/ * @secure */ getCorporationsCorporationIdShareholders: ( @@ -11197,7 +4556,7 @@ export class Api extends HttpClient({ - path: `/corporations/${corporationId}/shareholders/`, + path: `/v1/corporations/${corporationId}/shareholders/`, method: "GET", query: query, secure: true, @@ -11206,995 +4565,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_corporations_corporation_id_standings_from_id - * from_id integer - * @format int32 - */ - from_id: number; - /** - * get_corporations_corporation_id_standings_from_type - * from_type string - */ - from_type: "agent" | "npc_corp" | "faction"; - /** - * get_corporations_corporation_id_standings_standing - * standing number - * @format float - */ - standing: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/standings/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Returns list of corporation starbases (POSes) --- Alternate route: `/dev/corporations/{corporation_id}/starbases/` Alternate route: `/v2/corporations/{corporation_id}/starbases/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director - * - * @tags Corporation - * @name GetCorporationsCorporationIdStarbases - * @summary Get corporation starbases (POSes) - * @request GET:/corporations/{corporation_id}/starbases/ - * @secure - */ - getCorporationsCorporationIdStarbases: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_starbases_moon_id - * The moon this starbase (POS) is anchored on, unanchored POSes do not have this information - * @format int32 - */ - moon_id?: number; - /** - * get_corporations_corporation_id_starbases_onlined_since - * When the POS onlined, for starbases (POSes) in online state - * @format date-time - */ - onlined_since?: string; - /** - * get_corporations_corporation_id_starbases_reinforced_until - * When the POS will be out of reinforcement, for starbases (POSes) in reinforced state - * @format date-time - */ - reinforced_until?: string; - /** - * get_corporations_corporation_id_starbases_starbase_id - * Unique ID for this starbase (POS) - * @format int64 - */ - starbase_id: number; - /** - * get_corporations_corporation_id_starbases_state - * state string - */ - state?: "offline" | "online" | "onlining" | "reinforced" | "unanchoring"; - /** - * get_corporations_corporation_id_starbases_system_id - * The solar system this starbase (POS) is in, unanchored POSes have this information - * @format int32 - */ - system_id: number; - /** - * get_corporations_corporation_id_starbases_type_id - * Starbase (POS) type - * @format int32 - */ - type_id: number; - /** - * get_corporations_corporation_id_starbases_unanchor_at - * When the POS started unanchoring, for starbases (POSes) in unanchoring state - * @format date-time - */ - unanchor_at?: string; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/starbases/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Returns various settings and fuels of a starbase (POS) --- Alternate route: `/dev/corporations/{corporation_id}/starbases/{starbase_id}/` Alternate route: `/v2/corporations/{corporation_id}/starbases/{starbase_id}/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director - * - * @tags Corporation - * @name GetCorporationsCorporationIdStarbasesStarbaseId - * @summary Get starbase (POS) detail - * @request GET:/corporations/{corporation_id}/starbases/{starbase_id}/ - * @secure - */ - getCorporationsCorporationIdStarbasesStarbaseId: ( - corporationId: number, - starbaseId: number, - query: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * The solar system this starbase (POS) is located in, - * @format int32 - */ - system_id: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_starbases_starbase_id_allow_alliance_members - * allow_alliance_members boolean - */ - allow_alliance_members: boolean; - /** - * get_corporations_corporation_id_starbases_starbase_id_allow_corporation_members - * allow_corporation_members boolean - */ - allow_corporation_members: boolean; - /** - * get_corporations_corporation_id_starbases_starbase_id_anchor - * Who can anchor starbase (POS) and its structures - */ - anchor: - | "alliance_member" - | "config_starbase_equipment_role" - | "corporation_member" - | "starbase_fuel_technician_role"; - /** - * get_corporations_corporation_id_starbases_starbase_id_attack_if_at_war - * attack_if_at_war boolean - */ - attack_if_at_war: boolean; - /** - * get_corporations_corporation_id_starbases_starbase_id_attack_if_other_security_status_dropping - * attack_if_other_security_status_dropping boolean - */ - attack_if_other_security_status_dropping: boolean; - /** - * get_corporations_corporation_id_starbases_starbase_id_attack_security_status_threshold - * Starbase (POS) will attack if target's security standing is lower than this value - * @format float - */ - attack_security_status_threshold?: number; - /** - * get_corporations_corporation_id_starbases_starbase_id_attack_standing_threshold - * Starbase (POS) will attack if target's standing is lower than this value - * @format float - */ - attack_standing_threshold?: number; - /** - * get_corporations_corporation_id_starbases_starbase_id_fuel_bay_take - * Who can take fuel blocks out of the starbase (POS)'s fuel bay - */ - fuel_bay_take: - | "alliance_member" - | "config_starbase_equipment_role" - | "corporation_member" - | "starbase_fuel_technician_role"; - /** - * get_corporations_corporation_id_starbases_starbase_id_fuel_bay_view - * Who can view the starbase (POS)'s fule bay. Characters either need to have required role or belong to the starbase (POS) owner's corporation or alliance, as described by the enum, all other access settings follows the same scheme - */ - fuel_bay_view: - | "alliance_member" - | "config_starbase_equipment_role" - | "corporation_member" - | "starbase_fuel_technician_role"; - /** - * get_corporations_corporation_id_starbases_starbase_id_fuels - * Fuel blocks and other things that will be consumed when operating a starbase (POS) - * @maxItems 20 - */ - fuels?: { - /** - * get_corporations_corporation_id_starbases_starbase_id_quantity - * quantity integer - * @format int32 - */ - quantity: number; - /** - * get_corporations_corporation_id_starbases_starbase_id_type_id - * type_id integer - * @format int32 - */ - type_id: number; - }[]; - /** - * get_corporations_corporation_id_starbases_starbase_id_offline - * Who can offline starbase (POS) and its structures - */ - offline: - | "alliance_member" - | "config_starbase_equipment_role" - | "corporation_member" - | "starbase_fuel_technician_role"; - /** - * get_corporations_corporation_id_starbases_starbase_id_online - * Who can online starbase (POS) and its structures - */ - online: - | "alliance_member" - | "config_starbase_equipment_role" - | "corporation_member" - | "starbase_fuel_technician_role"; - /** - * get_corporations_corporation_id_starbases_starbase_id_unanchor - * Who can unanchor starbase (POS) and its structures - */ - unanchor: - | "alliance_member" - | "config_starbase_equipment_role" - | "corporation_member" - | "starbase_fuel_technician_role"; - /** - * get_corporations_corporation_id_starbases_starbase_id_use_alliance_standings - * True if the starbase (POS) is using alliance standings, otherwise using corporation's - */ - use_alliance_standings: boolean; - }, - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/starbases/${starbaseId}/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Get a list of corporation structures. This route's version includes the changes to structures detailed in this blog: https://www.eveonline.com/article/upwell-2.0-structures-changes-coming-on-february-13th --- Alternate route: `/dev/corporations/{corporation_id}/structures/` Alternate route: `/v4/corporations/{corporation_id}/structures/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Station_Manager - * - * @tags Corporation - * @name GetCorporationsCorporationIdStructures - * @summary Get corporation structures - * @request GET:/corporations/{corporation_id}/structures/ - * @secure - */ - getCorporationsCorporationIdStructures: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Language to use in the response, takes precedence over Accept-Language - * @default "en" - */ - language?: "en" | "en-us" | "de" | "fr" | "ja" | "ru" | "zh" | "ko" | "es"; - /** - * Which page of results to return - * @format int32 - * @min 1 - * @default 1 - */ - page?: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_structures_corporation_id - * ID of the corporation that owns the structure - * @format int32 - */ - corporation_id: number; - /** - * get_corporations_corporation_id_structures_fuel_expires - * Date on which the structure will run out of fuel - * @format date-time - */ - fuel_expires?: string; - /** - * get_corporations_corporation_id_structures_name - * The structure name - */ - name?: string; - /** - * get_corporations_corporation_id_structures_next_reinforce_apply - * The date and time when the structure's newly requested reinforcement times (e.g. next_reinforce_hour and next_reinforce_day) will take effect - * @format date-time - */ - next_reinforce_apply?: string; - /** - * get_corporations_corporation_id_structures_next_reinforce_hour - * The requested change to reinforce_hour that will take effect at the time shown by next_reinforce_apply - * @format int32 - * @min 0 - * @max 23 - */ - next_reinforce_hour?: number; - /** - * get_corporations_corporation_id_structures_profile_id - * The id of the ACL profile for this citadel - * @format int32 - */ - profile_id: number; - /** - * get_corporations_corporation_id_structures_reinforce_hour - * The hour of day that determines the four hour window when the structure will randomly exit its reinforcement periods and become vulnerable to attack against its armor and/or hull. The structure will become vulnerable at a random time that is +/- 2 hours centered on the value of this property - * @format int32 - * @min 0 - * @max 23 - */ - reinforce_hour?: number; - /** - * get_corporations_corporation_id_structures_services - * Contains a list of service upgrades, and their state - * @maxItems 10 - */ - services?: { - /** - * get_corporations_corporation_id_structures_service_name - * name string - */ - name: string; - /** - * get_corporations_corporation_id_structures_service_state - * state string - */ - state: "online" | "offline" | "cleanup"; - }[]; - /** - * get_corporations_corporation_id_structures_state - * state string - */ - state: - | "anchor_vulnerable" - | "anchoring" - | "armor_reinforce" - | "armor_vulnerable" - | "deploy_vulnerable" - | "fitting_invulnerable" - | "hull_reinforce" - | "hull_vulnerable" - | "online_deprecated" - | "onlining_vulnerable" - | "shield_vulnerable" - | "unanchored" - | "unknown"; - /** - * get_corporations_corporation_id_structures_state_timer_end - * Date at which the structure will move to it's next state - * @format date-time - */ - state_timer_end?: string; - /** - * get_corporations_corporation_id_structures_state_timer_start - * Date at which the structure entered it's current state - * @format date-time - */ - state_timer_start?: string; - /** - * get_corporations_corporation_id_structures_structure_id - * The Item ID of the structure - * @format int64 - */ - structure_id: number; - /** - * get_corporations_corporation_id_structures_system_id - * The solar system the structure is in - * @format int32 - */ - system_id: number; - /** - * get_corporations_corporation_id_structures_type_id - * The type id of the structure - * @format int32 - */ - type_id: number; - /** - * get_corporations_corporation_id_structures_unanchors_at - * Date at which the structure will unanchor - * @format date-time - */ - unanchors_at?: string; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/structures/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Returns a corporation's titles --- Alternate route: `/dev/corporations/{corporation_id}/titles/` Alternate route: `/v2/corporations/{corporation_id}/titles/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director - * - * @tags Corporation - * @name GetCorporationsCorporationIdTitles - * @summary Get corporation titles - * @request GET:/corporations/{corporation_id}/titles/ - * @secure - */ - getCorporationsCorporationIdTitles: ( - corporationId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - { - /** - * get_corporations_corporation_id_titles_grantable_roles - * grantable_roles array - * @maxItems 50 - */ - grantable_roles?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_titles_grantable_roles_at_base - * grantable_roles_at_base array - * @maxItems 50 - */ - grantable_roles_at_base?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_titles_grantable_roles_at_hq - * grantable_roles_at_hq array - * @maxItems 50 - */ - grantable_roles_at_hq?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_titles_grantable_roles_at_other - * grantable_roles_at_other array - * @maxItems 50 - */ - grantable_roles_at_other?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_titles_name - * name string - */ - name?: string; - /** - * get_corporations_corporation_id_titles_roles - * roles array - * @maxItems 50 - */ - roles?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_titles_roles_at_base - * roles_at_base array - * @maxItems 50 - */ - roles_at_base?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_titles_roles_at_hq - * roles_at_hq array - * @maxItems 50 - */ - roles_at_hq?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_titles_roles_at_other - * roles_at_other array - * @maxItems 50 - */ - roles_at_other?: ( - | "Account_Take_1" - | "Account_Take_2" - | "Account_Take_3" - | "Account_Take_4" - | "Account_Take_5" - | "Account_Take_6" - | "Account_Take_7" - | "Accountant" - | "Auditor" - | "Communications_Officer" - | "Config_Equipment" - | "Config_Starbase_Equipment" - | "Container_Take_1" - | "Container_Take_2" - | "Container_Take_3" - | "Container_Take_4" - | "Container_Take_5" - | "Container_Take_6" - | "Container_Take_7" - | "Contract_Manager" - | "Diplomat" - | "Director" - | "Factory_Manager" - | "Fitting_Manager" - | "Hangar_Query_1" - | "Hangar_Query_2" - | "Hangar_Query_3" - | "Hangar_Query_4" - | "Hangar_Query_5" - | "Hangar_Query_6" - | "Hangar_Query_7" - | "Hangar_Take_1" - | "Hangar_Take_2" - | "Hangar_Take_3" - | "Hangar_Take_4" - | "Hangar_Take_5" - | "Hangar_Take_6" - | "Hangar_Take_7" - | "Junior_Accountant" - | "Personnel_Manager" - | "Rent_Factory_Facility" - | "Rent_Office" - | "Rent_Research_Facility" - | "Security_Officer" - | "Starbase_Defense_Operator" - | "Starbase_Fuel_Technician" - | "Station_Manager" - | "Trader" - )[]; - /** - * get_corporations_corporation_id_titles_title_id - * title_id integer - * @format int32 - */ - title_id?: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/titles/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Get a corporation's wallets --- Alternate route: `/dev/corporations/{corporation_id}/wallets/` Alternate route: `/legacy/corporations/{corporation_id}/wallets/` Alternate route: `/v1/corporations/{corporation_id}/wallets/` --- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Accountant, Junior_Accountant + * @description Get a corporation's wallets --- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Accountant, Junior_Accountant * * @tags Wallet * @name GetCorporationsCorporationIdWallets * @summary Returns a corporation's wallet balance - * @request GET:/corporations/{corporation_id}/wallets/ + * @request GET:/v1/corporations/{corporation_id}/wallets/ * @secure */ getCorporationsCorporationIdWallets: ( @@ -12236,7 +4612,7 @@ export class Api extends HttpClient({ - path: `/corporations/${corporationId}/wallets/`, + path: `/v1/corporations/${corporationId}/wallets/`, method: "GET", query: query, secure: true, @@ -12245,281 +4621,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_corporations_corporation_id_wallets_division_journal_amount - * The amount of ISK given or taken from the wallet as a result of the given transaction. Positive when ISK is deposited into the wallet and negative when ISK is withdrawn - * @format double - */ - amount?: number; - /** - * get_corporations_corporation_id_wallets_division_journal_balance - * Wallet balance after transaction occurred - * @format double - */ - balance?: number; - /** - * get_corporations_corporation_id_wallets_division_journal_context_id - * An ID that gives extra context to the particular transaction. Because of legacy reasons the context is completely different per ref_type and means different things. It is also possible to not have a context_id - * @format int64 - */ - context_id?: number; - /** - * get_corporations_corporation_id_wallets_division_journal_context_id_type - * The type of the given context_id if present - */ - context_id_type?: - | "structure_id" - | "station_id" - | "market_transaction_id" - | "character_id" - | "corporation_id" - | "alliance_id" - | "eve_system" - | "industry_job_id" - | "contract_id" - | "planet_id" - | "system_id" - | "type_id"; - /** - * get_corporations_corporation_id_wallets_division_journal_date - * Date and time of transaction - * @format date-time - */ - date: string; - /** - * get_corporations_corporation_id_wallets_division_journal_description - * The reason for the transaction, mirrors what is seen in the client - */ - description: string; - /** - * get_corporations_corporation_id_wallets_division_journal_first_party_id - * The id of the first party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name - * @format int32 - */ - first_party_id?: number; - /** - * get_corporations_corporation_id_wallets_division_journal_id - * Unique journal reference ID - * @format int64 - */ - id: number; - /** - * get_corporations_corporation_id_wallets_division_journal_reason - * The user stated reason for the transaction. Only applies to some ref_types - */ - reason?: string; - /** - * get_corporations_corporation_id_wallets_division_journal_ref_type - * "The transaction type for the given. transaction. Different transaction types will populate different attributes. Note: If you have an existing XML API application that is using ref_types, you will need to know which string ESI ref_type maps to which integer. You can look at the following file to see string->int mappings: https://github.com/ccpgames/eve-glue/blob/master/eve_glue/wallet_journal_ref.py" - */ - ref_type: - | "acceleration_gate_fee" - | "advertisement_listing_fee" - | "agent_donation" - | "agent_location_services" - | "agent_miscellaneous" - | "agent_mission_collateral_paid" - | "agent_mission_collateral_refunded" - | "agent_mission_reward" - | "agent_mission_reward_corporation_tax" - | "agent_mission_time_bonus_reward" - | "agent_mission_time_bonus_reward_corporation_tax" - | "agent_security_services" - | "agent_services_rendered" - | "agents_preward" - | "alliance_maintainance_fee" - | "alliance_registration_fee" - | "asset_safety_recovery_tax" - | "bounty" - | "bounty_prize" - | "bounty_prize_corporation_tax" - | "bounty_prizes" - | "bounty_reimbursement" - | "bounty_surcharge" - | "brokers_fee" - | "clone_activation" - | "clone_transfer" - | "contraband_fine" - | "contract_auction_bid" - | "contract_auction_bid_corp" - | "contract_auction_bid_refund" - | "contract_auction_sold" - | "contract_brokers_fee" - | "contract_brokers_fee_corp" - | "contract_collateral" - | "contract_collateral_deposited_corp" - | "contract_collateral_payout" - | "contract_collateral_refund" - | "contract_deposit" - | "contract_deposit_corp" - | "contract_deposit_refund" - | "contract_deposit_sales_tax" - | "contract_price" - | "contract_price_payment_corp" - | "contract_reversal" - | "contract_reward" - | "contract_reward_deposited" - | "contract_reward_deposited_corp" - | "contract_reward_refund" - | "contract_sales_tax" - | "copying" - | "corporate_reward_payout" - | "corporate_reward_tax" - | "corporation_account_withdrawal" - | "corporation_bulk_payment" - | "corporation_dividend_payment" - | "corporation_liquidation" - | "corporation_logo_change_cost" - | "corporation_payment" - | "corporation_registration_fee" - | "courier_mission_escrow" - | "cspa" - | "cspaofflinerefund" - | "daily_challenge_reward" - | "datacore_fee" - | "dna_modification_fee" - | "docking_fee" - | "duel_wager_escrow" - | "duel_wager_payment" - | "duel_wager_refund" - | "ess_escrow_transfer" - | "external_trade_delivery" - | "external_trade_freeze" - | "external_trade_thaw" - | "factory_slot_rental_fee" - | "flux_payout" - | "flux_tax" - | "flux_ticket_repayment" - | "flux_ticket_sale" - | "gm_cash_transfer" - | "industry_job_tax" - | "infrastructure_hub_maintenance" - | "inheritance" - | "insurance" - | "item_trader_payment" - | "jump_clone_activation_fee" - | "jump_clone_installation_fee" - | "kill_right_fee" - | "lp_store" - | "manufacturing" - | "market_escrow" - | "market_fine_paid" - | "market_provider_tax" - | "market_transaction" - | "medal_creation" - | "medal_issued" - | "milestone_reward_payment" - | "mission_completion" - | "mission_cost" - | "mission_expiration" - | "mission_reward" - | "office_rental_fee" - | "operation_bonus" - | "opportunity_reward" - | "planetary_construction" - | "planetary_export_tax" - | "planetary_import_tax" - | "player_donation" - | "player_trading" - | "project_discovery_reward" - | "project_discovery_tax" - | "reaction" - | "redeemed_isk_token" - | "release_of_impounded_property" - | "repair_bill" - | "reprocessing_tax" - | "researching_material_productivity" - | "researching_technology" - | "researching_time_productivity" - | "resource_wars_reward" - | "reverse_engineering" - | "season_challenge_reward" - | "security_processing_fee" - | "shares" - | "skill_purchase" - | "sovereignity_bill" - | "store_purchase" - | "store_purchase_refund" - | "structure_gate_jump" - | "transaction_tax" - | "upkeep_adjustment_fee" - | "war_ally_contract" - | "war_fee" - | "war_fee_surrender"; - /** - * get_corporations_corporation_id_wallets_division_journal_second_party_id - * The id of the second party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name - * @format int32 - */ - second_party_id?: number; - /** - * get_corporations_corporation_id_wallets_division_journal_tax - * Tax amount received. Only applies to tax related transactions - * @format double - */ - tax?: number; - /** - * get_corporations_corporation_id_wallets_division_journal_tax_receiver_id - * The corporation ID receiving any tax paid. Only applies to tax related transactions - * @format int32 - */ - tax_receiver_id?: number; - }[], - | void - | BadRequest - | Unauthorized - | Forbidden - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/corporations/${corporationId}/wallets/${division}/journal/`, - method: "GET", - query: query, - secure: true, - format: "json", - ...params, - }), - - /** - * @description Get wallet transactions of a corporation --- Alternate route: `/dev/corporations/{corporation_id}/wallets/{division}/transactions/` Alternate route: `/legacy/corporations/{corporation_id}/wallets/{division}/transactions/` Alternate route: `/v1/corporations/{corporation_id}/wallets/{division}/transactions/` --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Accountant, Junior_Accountant + * @description Get wallet transactions of a corporation --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Accountant, Junior_Accountant * * @tags Wallet * @name GetCorporationsCorporationIdWalletsDivisionTransactions * @summary Get corporation wallet transactions - * @request GET:/corporations/{corporation_id}/wallets/{division}/transactions/ + * @request GET:/v1/corporations/{corporation_id}/wallets/{division}/transactions/ * @secure */ getCorporationsCorporationIdWalletsDivisionTransactions: ( @@ -12606,22 +4713,21 @@ export class Api extends HttpClient({ - path: `/corporations/${corporationId}/wallets/${division}/transactions/`, + path: `/v1/corporations/${corporationId}/wallets/${division}/transactions/`, method: "GET", query: query, secure: true, format: "json", ...params, }), - }; - dogma = { + /** - * @description Get a list of dogma attribute ids --- Alternate route: `/dev/dogma/attributes/` Alternate route: `/legacy/dogma/attributes/` Alternate route: `/v1/dogma/attributes/` --- This route expires daily at 11:05 + * @description Get a list of dogma attribute ids --- This route expires daily at 11:05 * * @tags Dogma * @name GetDogmaAttributes * @summary Get attributes - * @request GET:/dogma/attributes/ + * @request GET:/v1/dogma/attributes/ */ getDogmaAttributes: ( query?: { @@ -12637,7 +4743,7 @@ export class Api extends HttpClient({ - path: `/dogma/attributes/`, + path: `/v1/dogma/attributes/`, method: "GET", query: query, format: "json", @@ -12645,12 +4751,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/dogma/attributes/${attributeId}/`, + path: `/v1/dogma/attributes/${attributeId}/`, method: "GET", query: query, format: "json", @@ -12742,12 +4848,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/dogma/dynamic/items/${typeId}/${itemId}/`, + path: `/v1/dogma/dynamic/items/${typeId}/${itemId}/`, method: "GET", query: query, format: "json", @@ -12841,12 +4947,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/dogma/effects/`, + path: `/v1/dogma/effects/`, method: "GET", query: query, format: "json", @@ -12870,207 +4976,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_dogma_effects_effect_id_description - * description string - */ - description?: string; - /** - * get_dogma_effects_effect_id_disallow_auto_repeat - * disallow_auto_repeat boolean - */ - disallow_auto_repeat?: boolean; - /** - * get_dogma_effects_effect_id_discharge_attribute_id - * discharge_attribute_id integer - * @format int32 - */ - discharge_attribute_id?: number; - /** - * get_dogma_effects_effect_id_display_name - * display_name string - */ - display_name?: string; - /** - * get_dogma_effects_effect_id_duration_attribute_id - * duration_attribute_id integer - * @format int32 - */ - duration_attribute_id?: number; - /** - * get_dogma_effects_effect_id_effect_category - * effect_category integer - * @format int32 - */ - effect_category?: number; - /** - * get_dogma_effects_effect_id_effect_id - * effect_id integer - * @format int32 - */ - effect_id: number; - /** - * get_dogma_effects_effect_id_electronic_chance - * electronic_chance boolean - */ - electronic_chance?: boolean; - /** - * get_dogma_effects_effect_id_falloff_attribute_id - * falloff_attribute_id integer - * @format int32 - */ - falloff_attribute_id?: number; - /** - * get_dogma_effects_effect_id_icon_id - * icon_id integer - * @format int32 - */ - icon_id?: number; - /** - * get_dogma_effects_effect_id_is_assistance - * is_assistance boolean - */ - is_assistance?: boolean; - /** - * get_dogma_effects_effect_id_is_offensive - * is_offensive boolean - */ - is_offensive?: boolean; - /** - * get_dogma_effects_effect_id_is_warp_safe - * is_warp_safe boolean - */ - is_warp_safe?: boolean; - /** - * get_dogma_effects_effect_id_modifiers - * modifiers array - * @maxItems 100 - */ - modifiers?: { - /** - * get_dogma_effects_effect_id_domain - * domain string - */ - domain?: string; - /** - * get_dogma_effects_effect_id_modifier_effect_id - * effect_id integer - * @format int32 - */ - effect_id?: number; - /** - * get_dogma_effects_effect_id_func - * func string - */ - func: string; - /** - * get_dogma_effects_effect_id_modified_attribute_id - * modified_attribute_id integer - * @format int32 - */ - modified_attribute_id?: number; - /** - * get_dogma_effects_effect_id_modifying_attribute_id - * modifying_attribute_id integer - * @format int32 - */ - modifying_attribute_id?: number; - /** - * get_dogma_effects_effect_id_operator - * operator integer - * @format int32 - */ - operator?: number; - }[]; - /** - * get_dogma_effects_effect_id_name - * name string - */ - name?: string; - /** - * get_dogma_effects_effect_id_post_expression - * post_expression integer - * @format int32 - */ - post_expression?: number; - /** - * get_dogma_effects_effect_id_pre_expression - * pre_expression integer - * @format int32 - */ - pre_expression?: number; - /** - * get_dogma_effects_effect_id_published - * published boolean - */ - published?: boolean; - /** - * get_dogma_effects_effect_id_range_attribute_id - * range_attribute_id integer - * @format int32 - */ - range_attribute_id?: number; - /** - * get_dogma_effects_effect_id_range_chance - * range_chance boolean - */ - range_chance?: boolean; - /** - * get_dogma_effects_effect_id_tracking_speed_attribute_id - * tracking_speed_attribute_id integer - * @format int32 - */ - tracking_speed_attribute_id?: number; - }, - | void - | BadRequest - | { - /** - * get_dogma_effects_effect_id_404_not_found - * Not found message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/dogma/effects/${effectId}/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - }; - fleets = { - /** - * @description Return details about a fleet --- Alternate route: `/dev/fleets/{fleet_id}/` Alternate route: `/legacy/fleets/{fleet_id}/` Alternate route: `/v1/fleets/{fleet_id}/` --- This route is cached for up to 5 seconds + * @description Return details about a fleet --- This route is cached for up to 5 seconds * * @tags Fleets * @name GetFleetsFleetId * @summary Get fleet information - * @request GET:/fleets/{fleet_id}/ + * @request GET:/v1/fleets/{fleet_id}/ * @secure */ getFleetsFleetId: ( @@ -13125,7 +5036,7 @@ export class Api extends HttpClient({ - path: `/fleets/${fleetId}/`, + path: `/v1/fleets/${fleetId}/`, method: "GET", query: query, secure: true, @@ -13134,12 +5045,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/`, + path: `/v1/fleets/${fleetId}/`, method: "PUT", query: query, body: new_settings, @@ -13194,12 +5105,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/members/`, + path: `/v1/fleets/${fleetId}/members/`, method: "GET", query: query, secure: true, @@ -13305,12 +5216,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/members/`, + path: `/v1/fleets/${fleetId}/members/`, method: "POST", query: query, body: invitation, @@ -13387,12 +5298,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/members/${memberId}/`, + path: `/v1/fleets/${fleetId}/members/${memberId}/`, method: "DELETE", query: query, secure: true, @@ -13434,12 +5345,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/members/${memberId}/`, + path: `/v1/fleets/${fleetId}/members/${memberId}/`, method: "PUT", query: query, body: movement, @@ -13511,12 +5422,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/squads/${squadId}/`, + path: `/v1/fleets/${fleetId}/squads/${squadId}/`, method: "DELETE", query: query, secure: true, @@ -13558,12 +5469,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/squads/${squadId}/`, + path: `/v1/fleets/${fleetId}/squads/${squadId}/`, method: "PUT", query: query, body: naming, @@ -13615,12 +5526,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/wings/`, + path: `/v1/fleets/${fleetId}/wings/`, method: "GET", query: query, secure: true, @@ -13698,12 +5609,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/wings/`, + path: `/v1/fleets/${fleetId}/wings/`, method: "POST", query: query, secure: true, @@ -13752,12 +5663,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/wings/${wingId}/`, + path: `/v1/fleets/${fleetId}/wings/${wingId}/`, method: "DELETE", query: query, secure: true, @@ -13799,12 +5710,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/wings/${wingId}/`, + path: `/v1/fleets/${fleetId}/wings/${wingId}/`, method: "PUT", query: query, body: naming, @@ -13856,12 +5767,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fleets/${fleetId}/wings/${wingId}/squads/`, + path: `/v1/fleets/${fleetId}/wings/${wingId}/squads/`, method: "POST", query: query, secure: true, format: "json", ...params, }), - }; - fw = { + /** - * @description Top 4 leaderboard of factions for kills and victory points separated by total, last week and yesterday --- Alternate route: `/dev/fw/leaderboards/` Alternate route: `/legacy/fw/leaderboards/` Alternate route: `/v1/fw/leaderboards/` Alternate route: `/v2/fw/leaderboards/` --- This route expires daily at 11:05 + * @description Top 4 leaderboard of factions for kills and victory points separated by total, last week and yesterday --- This route expires daily at 11:05 * * @tags Faction Warfare * @name GetFwLeaderboards * @summary List of the top factions in faction warfare - * @request GET:/fw/leaderboards/ + * @request GET:/v1/fw/leaderboards/ */ getFwLeaderboards: ( query?: { @@ -14060,7 +5970,7 @@ export class Api extends HttpClient({ - path: `/fw/leaderboards/`, + path: `/v1/fw/leaderboards/`, method: "GET", query: query, format: "json", @@ -14068,12 +5978,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fw/leaderboards/characters/`, + path: `/v1/fw/leaderboards/characters/`, method: "GET", query: query, format: "json", @@ -14224,12 +6134,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fw/leaderboards/corporations/`, + path: `/v1/fw/leaderboards/corporations/`, method: "GET", query: query, format: "json", @@ -14380,12 +6290,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/fw/stats/`, + path: `/v1/fw/stats/`, method: "GET", query: query, format: "json", @@ -14476,77 +6386,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_fw_systems_contested - * contested string - */ - contested: "captured" | "contested" | "uncontested" | "vulnerable"; - /** - * get_fw_systems_occupier_faction_id - * occupier_faction_id integer - * @format int32 - */ - occupier_faction_id: number; - /** - * get_fw_systems_owner_faction_id - * owner_faction_id integer - * @format int32 - */ - owner_faction_id: number; - /** - * get_fw_systems_solar_system_id - * solar_system_id integer - * @format int32 - */ - solar_system_id: number; - /** - * get_fw_systems_victory_points - * victory_points integer - * @format int32 - */ - victory_points: number; - /** - * get_fw_systems_victory_points_threshold - * victory_points_threshold integer - * @format int32 - */ - victory_points_threshold: number; - }[], - void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/fw/systems/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Data about which NPC factions are at war --- Alternate route: `/dev/fw/wars/` Alternate route: `/legacy/fw/wars/` Alternate route: `/v1/fw/wars/` Alternate route: `/v2/fw/wars/` --- This route expires daily at 11:05 + * @description Data about which NPC factions are at war --- This route expires daily at 11:05 * * @tags Faction Warfare * @name GetFwWars * @summary Data about which NPC factions are at war - * @request GET:/fw/wars/ + * @request GET:/v1/fw/wars/ */ getFwWars: ( query?: { @@ -14575,21 +6420,20 @@ export class Api extends HttpClient({ - path: `/fw/wars/`, + path: `/v1/fw/wars/`, method: "GET", query: query, format: "json", ...params, }), - }; - incursions = { + /** - * @description Return a list of current incursions --- Alternate route: `/dev/incursions/` Alternate route: `/legacy/incursions/` Alternate route: `/v1/incursions/` --- This route is cached for up to 300 seconds + * @description Return a list of current incursions --- This route is cached for up to 300 seconds * * @tags Incursions * @name GetIncursions * @summary List incursions - * @request GET:/incursions/ + * @request GET:/v1/incursions/ */ getIncursions: ( query?: { @@ -14651,21 +6495,20 @@ export class Api extends HttpClient({ - path: `/incursions/`, + path: `/v1/incursions/`, method: "GET", query: query, format: "json", ...params, }), - }; - industry = { + /** - * @description Return a list of industry facilities --- Alternate route: `/dev/industry/facilities/` Alternate route: `/legacy/industry/facilities/` Alternate route: `/v1/industry/facilities/` --- This route is cached for up to 3600 seconds + * @description Return a list of industry facilities --- This route is cached for up to 3600 seconds * * @tags Industry * @name GetIndustryFacilities * @summary List industry facilities - * @request GET:/industry/facilities/ + * @request GET:/v1/industry/facilities/ */ getIndustryFacilities: ( query?: { @@ -14718,7 +6561,7 @@ export class Api extends HttpClient({ - path: `/industry/facilities/`, + path: `/v1/industry/facilities/`, method: "GET", query: query, format: "json", @@ -14726,12 +6569,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/industry/systems/`, + path: `/v1/industry/systems/`, method: "GET", query: query, format: "json", ...params, }), - }; - insurance = { + /** - * @description Return available insurance levels for all ship types --- Alternate route: `/dev/insurance/prices/` Alternate route: `/legacy/insurance/prices/` Alternate route: `/v1/insurance/prices/` --- This route is cached for up to 3600 seconds + * @description Return available insurance levels for all ship types --- This route is cached for up to 3600 seconds * * @tags Insurance * @name GetInsurancePrices * @summary List insurance levels - * @request GET:/insurance/prices/ + * @request GET:/v1/insurance/prices/ */ getInsurancePrices: ( query?: { @@ -14848,21 +6690,20 @@ export class Api extends HttpClient({ - path: `/insurance/prices/`, + path: `/v1/insurance/prices/`, method: "GET", query: query, format: "json", ...params, }), - }; - killmails = { + /** - * @description Return a single killmail from its ID and hash --- Alternate route: `/dev/killmails/{killmail_id}/{killmail_hash}/` Alternate route: `/legacy/killmails/{killmail_id}/{killmail_hash}/` Alternate route: `/v1/killmails/{killmail_id}/{killmail_hash}/` --- This route is cached for up to 30758400 seconds + * @description Return a single killmail from its ID and hash --- This route is cached for up to 30758400 seconds * * @tags Killmails * @name GetKillmailsKillmailIdKillmailHash * @summary Get a single killmail - * @request GET:/killmails/{killmail_id}/{killmail_hash}/ + * @request GET:/v1/killmails/{killmail_id}/{killmail_hash}/ */ getKillmailsKillmailIdKillmailHash: ( killmailHash: string, @@ -15123,21 +6964,20 @@ export class Api extends HttpClient({ - path: `/killmails/${killmailId}/${killmailHash}/`, + path: `/v1/killmails/${killmailId}/${killmailHash}/`, method: "GET", query: query, format: "json", ...params, }), - }; - loyalty = { + /** - * @description Return a list of offers from a specific corporation's loyalty store --- Alternate route: `/dev/loyalty/stores/{corporation_id}/offers/` Alternate route: `/legacy/loyalty/stores/{corporation_id}/offers/` Alternate route: `/v1/loyalty/stores/{corporation_id}/offers/` --- This route expires daily at 11:05 + * @description Return a list of offers from a specific corporation's loyalty store --- This route expires daily at 11:05 * * @tags Loyalty * @name GetLoyaltyStoresCorporationIdOffers * @summary List loyalty store offers - * @request GET:/loyalty/stores/{corporation_id}/offers/ + * @request GET:/v1/loyalty/stores/{corporation_id}/offers/ */ getLoyaltyStoresCorporationIdOffers: ( corporationId: number, @@ -15222,21 +7062,20 @@ export class Api extends HttpClient({ - path: `/loyalty/stores/${corporationId}/offers/`, + path: `/v1/loyalty/stores/${corporationId}/offers/`, method: "GET", query: query, format: "json", ...params, }), - }; - markets = { + /** - * @description Get a list of item groups --- Alternate route: `/dev/markets/groups/` Alternate route: `/legacy/markets/groups/` Alternate route: `/v1/markets/groups/` --- This route expires daily at 11:05 + * @description Get a list of item groups --- This route expires daily at 11:05 * * @tags Market * @name GetMarketsGroups * @summary Get item groups - * @request GET:/markets/groups/ + * @request GET:/v1/markets/groups/ */ getMarketsGroups: ( query?: { @@ -15252,7 +7091,7 @@ export class Api extends HttpClient({ - path: `/markets/groups/`, + path: `/v1/markets/groups/`, method: "GET", query: query, format: "json", @@ -15260,12 +7099,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/markets/groups/${marketGroupId}/`, + path: `/v1/markets/groups/${marketGroupId}/`, method: "GET", query: query, format: "json", @@ -15336,12 +7175,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/markets/prices/`, + path: `/v1/markets/prices/`, method: "GET", query: query, format: "json", @@ -15384,12 +7223,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/markets/structures/${structureId}/`, + path: `/v1/markets/structures/${structureId}/`, method: "GET", query: query, secure: true, @@ -15497,12 +7336,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/markets/${regionId}/history/`, + path: `/v1/markets/${regionId}/history/`, method: "GET", query: query, format: "json", @@ -15595,12 +7434,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/markets/${regionId}/orders/`, + path: `/v1/markets/${regionId}/orders/`, method: "GET", query: query, format: "json", @@ -15732,12 +7571,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/markets/${regionId}/types/`, + path: `/v1/markets/${regionId}/types/`, method: "GET", query: query, format: "json", ...params, }), - }; - opportunities = { + /** - * @description Return a list of opportunities groups --- Alternate route: `/dev/opportunities/groups/` Alternate route: `/legacy/opportunities/groups/` Alternate route: `/v1/opportunities/groups/` --- This route expires daily at 11:05 + * @description Return a list of opportunities groups --- This route expires daily at 11:05 * * @tags Opportunities * @name GetOpportunitiesGroups * @summary Get opportunities groups - * @request GET:/opportunities/groups/ + * @request GET:/v1/opportunities/groups/ */ getOpportunitiesGroups: ( query?: { @@ -15791,7 +7629,7 @@ export class Api extends HttpClient({ - path: `/opportunities/groups/`, + path: `/v1/opportunities/groups/`, method: "GET", query: query, format: "json", @@ -15799,12 +7637,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/opportunities/groups/${groupId}/`, + path: `/v1/opportunities/groups/${groupId}/`, method: "GET", query: query, format: "json", @@ -15868,12 +7706,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/opportunities/tasks/`, + path: `/v1/opportunities/tasks/`, method: "GET", query: query, format: "json", @@ -15897,12 +7735,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/opportunities/tasks/${taskId}/`, + path: `/v1/opportunities/tasks/${taskId}/`, method: "GET", query: query, format: "json", ...params, }), - }; - route = { + /** - * @description Get the systems between origin and destination --- Alternate route: `/dev/route/{origin}/{destination}/` Alternate route: `/legacy/route/{origin}/{destination}/` Alternate route: `/v1/route/{origin}/{destination}/` --- This route is cached for up to 86400 seconds + * @description Get the systems between origin and destination --- This route is cached for up to 86400 seconds * * @tags Routes * @name GetRouteOriginDestination * @summary Get route - * @request GET:/route/{origin}/{destination}/ + * @request GET:/v1/route/{origin}/{destination}/ */ getRouteOriginDestination: ( destination: number, @@ -16002,21 +7839,20 @@ export class Api extends HttpClient({ - path: `/route/${origin}/${destination}/`, + path: `/v1/route/${origin}/${destination}/`, method: "GET", query: query, format: "json", ...params, }), - }; - sovereignty = { + /** - * @description Shows sovereignty data for campaigns. --- Alternate route: `/dev/sovereignty/campaigns/` Alternate route: `/legacy/sovereignty/campaigns/` Alternate route: `/v1/sovereignty/campaigns/` --- This route is cached for up to 5 seconds + * @description Shows sovereignty data for campaigns. --- This route is cached for up to 5 seconds * * @tags Sovereignty * @name GetSovereigntyCampaigns * @summary List sovereignty campaigns - * @request GET:/sovereignty/campaigns/ + * @request GET:/v1/sovereignty/campaigns/ */ getSovereigntyCampaigns: ( query?: { @@ -16105,7 +7941,7 @@ export class Api extends HttpClient({ - path: `/sovereignty/campaigns/`, + path: `/v1/sovereignty/campaigns/`, method: "GET", query: query, format: "json", @@ -16113,12 +7949,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/sovereignty/map/`, + path: `/v1/sovereignty/map/`, method: "GET", query: query, format: "json", @@ -16167,12 +8003,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/sovereignty/structures/`, + path: `/v1/sovereignty/structures/`, method: "GET", query: query, format: "json", ...params, }), - }; - status = { + /** - * @description EVE Server status --- Alternate route: `/dev/status/` Alternate route: `/legacy/status/` Alternate route: `/v1/status/` Alternate route: `/v2/status/` --- This route is cached for up to 30 seconds + * @description EVE Server status --- This route is cached for up to 30 seconds * * @tags Status * @name GetStatus * @summary Retrieve the uptime and player counts - * @request GET:/status/ + * @request GET:/v1/status/ */ getStatus: ( query?: { @@ -16283,68 +8118,20 @@ export class Api extends HttpClient({ - path: `/status/`, + path: `/v1/status/`, method: "GET", query: query, format: "json", ...params, }), - }; - ui = { - /** - * @description Set a solar system as autopilot waypoint --- Alternate route: `/dev/ui/autopilot/waypoint/` Alternate route: `/legacy/ui/autopilot/waypoint/` Alternate route: `/v2/ui/autopilot/waypoint/` - * - * @tags User Interface - * @name PostUiAutopilotWaypoint - * @summary Set Autopilot Waypoint - * @request POST:/ui/autopilot/waypoint/ - * @secure - */ - postUiAutopilotWaypoint: ( - query: { - /** - * Whether this solar system should be added to the beginning of all waypoints - * @default false - */ - add_to_beginning: boolean; - /** - * Whether clean other waypoints beforing adding this one - * @default false - */ - clear_other_waypoints: boolean; - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * The destination to travel to, can be solar system, station or structure's id - * @format int64 - */ - destination_id: number; - /** Access token to use if unable to set a header */ - token?: string; - }, - params: RequestParams = {}, - ) => - this.request< - void, - BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/ui/autopilot/waypoint/`, - method: "POST", - query: query, - secure: true, - ...params, - }), /** - * @description Open the contract window inside the client --- Alternate route: `/dev/ui/openwindow/contract/` Alternate route: `/legacy/ui/openwindow/contract/` Alternate route: `/v1/ui/openwindow/contract/` + * @description Open the contract window inside the client --- * * @tags User Interface * @name PostUiOpenwindowContract * @summary Open Contract Window - * @request POST:/ui/openwindow/contract/ + * @request POST:/v1/ui/openwindow/contract/ * @secure */ postUiOpenwindowContract: ( @@ -16368,7 +8155,7 @@ export class Api extends HttpClient({ - path: `/ui/openwindow/contract/`, + path: `/v1/ui/openwindow/contract/`, method: "POST", query: query, secure: true, @@ -16376,12 +8163,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/ui/openwindow/information/`, + path: `/v1/ui/openwindow/information/`, method: "POST", query: query, secure: true, @@ -16413,12 +8200,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/ui/openwindow/marketdetails/`, + path: `/v1/ui/openwindow/marketdetails/`, method: "POST", query: query, secure: true, @@ -16450,12 +8237,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/ui/openwindow/newmail/`, + path: `/v1/ui/openwindow/newmail/`, method: "POST", query: query, body: new_mail, @@ -16528,15 +8315,14 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/ancestries/`, + path: `/v1/universe/ancestries/`, method: "GET", query: query, format: "json", @@ -16599,12 +8385,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/asteroid_belts/${asteroidBeltId}/`, + path: `/v1/universe/asteroid_belts/${asteroidBeltId}/`, method: "GET", query: query, format: "json", @@ -16677,12 +8463,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/bloodlines/`, + path: `/v1/universe/bloodlines/`, method: "GET", query: query, format: "json", @@ -16776,12 +8562,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/categories/`, + path: `/v1/universe/categories/`, method: "GET", query: query, format: "json", @@ -16805,12 +8591,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/categories/${categoryId}/`, + path: `/v1/universe/categories/${categoryId}/`, method: "GET", query: query, format: "json", @@ -16875,12 +8661,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/constellations/`, + path: `/v1/universe/constellations/`, method: "GET", query: query, format: "json", @@ -16904,12 +8690,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/constellations/${constellationId}/`, + path: `/v1/universe/constellations/${constellationId}/`, method: "GET", query: query, format: "json", @@ -16999,104 +8785,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_universe_factions_corporation_id - * corporation_id integer - * @format int32 - */ - corporation_id?: number; - /** - * get_universe_factions_description - * description string - */ - description: string; - /** - * get_universe_factions_faction_id - * faction_id integer - * @format int32 - */ - faction_id: number; - /** - * get_universe_factions_is_unique - * is_unique boolean - */ - is_unique: boolean; - /** - * get_universe_factions_militia_corporation_id - * militia_corporation_id integer - * @format int32 - */ - militia_corporation_id?: number; - /** - * get_universe_factions_name - * name string - */ - name: string; - /** - * get_universe_factions_size_factor - * size_factor number - * @format float - */ - size_factor: number; - /** - * get_universe_factions_solar_system_id - * solar_system_id integer - * @format int32 - */ - solar_system_id?: number; - /** - * get_universe_factions_station_count - * station_count integer - * @format int32 - */ - station_count: number; - /** - * get_universe_factions_station_system_count - * station_system_count integer - * @format int32 - */ - station_system_count: number; - }[], - void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/universe/factions/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Get a list of graphics --- Alternate route: `/legacy/universe/graphics/` Alternate route: `/v1/universe/graphics/` --- This route expires daily at 11:05 + * @description Get a list of graphics --- This route expires daily at 11:05 * * @tags Universe * @name GetUniverseGraphics * @summary Get graphics - * @request GET:/universe/graphics/ + * @request GET:/v1/universe/graphics/ */ getUniverseGraphics: ( query?: { @@ -17112,7 +8806,7 @@ export class Api extends HttpClient({ - path: `/universe/graphics/`, + path: `/v1/universe/graphics/`, method: "GET", query: query, format: "json", @@ -17120,12 +8814,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/graphics/${graphicId}/`, + path: `/v1/universe/graphics/${graphicId}/`, method: "GET", query: query, format: "json", @@ -17204,12 +8898,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/groups/`, + path: `/v1/universe/groups/`, method: "GET", query: query, format: "json", @@ -17240,12 +8934,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/groups/${groupId}/`, + path: `/v1/universe/groups/${groupId}/`, method: "GET", query: query, format: "json", @@ -17316,12 +9010,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/ids/`, + path: `/v1/universe/ids/`, method: "POST", query: query, body: names, @@ -17534,12 +9228,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/moons/${moonId}/`, + path: `/v1/universe/moons/${moonId}/`, method: "GET", query: query, format: "json", @@ -17618,81 +9312,12 @@ export class Api extends HttpClient - this.request< - { - /** - * post_universe_names_category - * category string - */ - category: - | "alliance" - | "character" - | "constellation" - | "corporation" - | "inventory_type" - | "region" - | "solar_system" - | "station" - | "faction"; - /** - * post_universe_names_id - * id integer - * @format int32 - */ - id: number; - /** - * post_universe_names_name - * name string - */ - name: string; - }[], - | BadRequest - | { - /** - * post_universe_names_404_not_found - * Not found message - */ - error?: string; - } - | ErrorLimited - | InternalServerError - | ServiceUnavailable - | GatewayTimeout - >({ - path: `/universe/names/`, - method: "POST", - query: query, - body: ids, - type: ContentType.Json, - format: "json", - ...params, - }), - - /** - * @description Get information on a planet --- Alternate route: `/legacy/universe/planets/{planet_id}/` Alternate route: `/v1/universe/planets/{planet_id}/` --- This route expires daily at 11:05 + * @description Get information on a planet --- This route expires daily at 11:05 * * @tags Universe * @name GetUniversePlanetsPlanetId * @summary Get planet information - * @request GET:/universe/planets/{planet_id}/ + * @request GET:/v1/universe/planets/{planet_id}/ */ getUniversePlanetsPlanetId: ( planetId: number, @@ -17769,7 +9394,7 @@ export class Api extends HttpClient({ - path: `/universe/planets/${planetId}/`, + path: `/v1/universe/planets/${planetId}/`, method: "GET", query: query, format: "json", @@ -17777,12 +9402,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/races/`, + path: `/v1/universe/races/`, method: "GET", query: query, format: "json", @@ -17834,12 +9459,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/regions/`, + path: `/v1/universe/regions/`, method: "GET", query: query, format: "json", @@ -17863,12 +9488,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/regions/${regionId}/`, + path: `/v1/universe/regions/${regionId}/`, method: "GET", query: query, format: "json", @@ -17933,12 +9558,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/schematics/${schematicId}/`, + path: `/v1/universe/schematics/${schematicId}/`, method: "GET", query: query, format: "json", @@ -17987,12 +9612,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/stargates/${stargateId}/`, + path: `/v1/universe/stargates/${stargateId}/`, method: "GET", query: query, format: "json", @@ -18095,12 +9720,12 @@ export class Api extends HttpClient extends HttpClient({ - path: `/universe/stars/${starId}/`, + path: `/v1/universe/stars/${starId}/`, method: "GET", query: query, format: "json", @@ -18261,12 +9886,4981 @@ export class Api extends HttpClient + this.request< + number[], + void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v1/universe/structures/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Get the number of jumps in solar systems within the last hour ending at the timestamp of the Last-Modified header, excluding wormhole space. Only systems with jumps will be listed --- This route is cached for up to 3600 seconds + * + * @tags Universe + * @name GetUniverseSystemJumps + * @summary Get system jumps + * @request GET:/v1/universe/system_jumps/ + */ + getUniverseSystemJumps: ( + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_universe_system_jumps_ship_jumps + * ship_jumps integer + * @format int32 + */ + ship_jumps: number; + /** + * get_universe_system_jumps_system_id + * system_id integer + * @format int32 + */ + system_id: number; + }[], + void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v1/universe/system_jumps/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Get a list of solar systems --- This route expires daily at 11:05 + * + * @tags Universe + * @name GetUniverseSystems + * @summary Get solar systems + * @request GET:/v1/universe/systems/ + */ + getUniverseSystems: ( + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + number[], + void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v1/universe/systems/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Get a list of type ids --- This route expires daily at 11:05 + * + * @tags Universe + * @name GetUniverseTypes + * @summary Get types + * @request GET:/v1/universe/types/ + */ + getUniverseTypes: ( + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + }, + params: RequestParams = {}, + ) => + this.request< + number[], + void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v1/universe/types/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Return a list of wars --- This route is cached for up to 3600 seconds + * + * @tags Wars + * @name GetWars + * @summary List wars + * @request GET:/v1/wars/ + */ + getWars: ( + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Only return wars with ID smaller than this + * @format int32 + */ + max_war_id?: number; + }, + params: RequestParams = {}, + ) => + this.request< + number[], + void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v1/wars/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Return details about a war --- This route is cached for up to 3600 seconds + * + * @tags Wars + * @name GetWarsWarId + * @summary Get war information + * @request GET:/v1/wars/{war_id}/ + */ + getWarsWarId: ( + warId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_wars_war_id_aggressor + * The aggressor corporation or alliance that declared this war, only contains either corporation_id or alliance_id + */ + aggressor: { + /** + * get_wars_war_id_alliance_id + * Alliance ID if and only if the aggressor is an alliance + * @format int32 + */ + alliance_id?: number; + /** + * get_wars_war_id_corporation_id + * Corporation ID if and only if the aggressor is a corporation + * @format int32 + */ + corporation_id?: number; + /** + * get_wars_war_id_isk_destroyed + * ISK value of ships the aggressor has destroyed + * @format float + */ + isk_destroyed: number; + /** + * get_wars_war_id_ships_killed + * The number of ships the aggressor has killed + * @format int32 + */ + ships_killed: number; + }; + /** + * get_wars_war_id_allies + * allied corporations or alliances, each object contains either corporation_id or alliance_id + * @maxItems 10000 + */ + allies?: { + /** + * get_wars_war_id_ally_alliance_id + * Alliance ID if and only if this ally is an alliance + * @format int32 + */ + alliance_id?: number; + /** + * get_wars_war_id_ally_corporation_id + * Corporation ID if and only if this ally is a corporation + * @format int32 + */ + corporation_id?: number; + }[]; + /** + * get_wars_war_id_declared + * Time that the war was declared + * @format date-time + */ + declared: string; + /** + * get_wars_war_id_defender + * The defending corporation or alliance that declared this war, only contains either corporation_id or alliance_id + */ + defender: { + /** + * get_wars_war_id_defender_alliance_id + * Alliance ID if and only if the defender is an alliance + * @format int32 + */ + alliance_id?: number; + /** + * get_wars_war_id_defender_corporation_id + * Corporation ID if and only if the defender is a corporation + * @format int32 + */ + corporation_id?: number; + /** + * get_wars_war_id_defender_isk_destroyed + * ISK value of ships the defender has killed + * @format float + */ + isk_destroyed: number; + /** + * get_wars_war_id_defender_ships_killed + * The number of ships the defender has killed + * @format int32 + */ + ships_killed: number; + }; + /** + * get_wars_war_id_finished + * Time the war ended and shooting was no longer allowed + * @format date-time + */ + finished?: string; + /** + * get_wars_war_id_id + * ID of the specified war + * @format int32 + */ + id: number; + /** + * get_wars_war_id_mutual + * Was the war declared mutual by both parties + */ + mutual: boolean; + /** + * get_wars_war_id_open_for_allies + * Is the war currently open for allies or not + */ + open_for_allies: boolean; + /** + * get_wars_war_id_retracted + * Time the war was retracted but both sides could still shoot each other + * @format date-time + */ + retracted?: string; + /** + * get_wars_war_id_started + * Time when the war started and both sides could shoot each other + * @format date-time + */ + started?: string; + }, + | void + | BadRequest + | ErrorLimited + | { + /** + * get_wars_war_id_422_unprocessable_entity + * Unprocessable entity message + */ + error?: string; + } + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v1/wars/${warId}/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Return a list of kills related to a war --- This route is cached for up to 3600 seconds + * + * @tags Wars + * @name GetWarsWarIdKillmails + * @summary List kills for a war + * @request GET:/v1/wars/{war_id}/killmails/ + */ + getWarsWarIdKillmails: ( + warId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_wars_war_id_killmails_killmail_hash + * A hash of this killmail + */ + killmail_hash: string; + /** + * get_wars_war_id_killmails_killmail_id + * ID of this killmail + * @format int32 + */ + killmail_id: number; + }[], + | void + | BadRequest + | ErrorLimited + | { + /** + * get_wars_war_id_killmails_422_unprocessable_entity + * Unprocessable entity message + */ + error?: string; + } + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v1/wars/${warId}/killmails/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + }; + v2 = { + /** + * @description Return contacts of an alliance --- This route is cached for up to 300 seconds + * + * @tags Contacts + * @name GetAlliancesAllianceIdContacts + * @summary Get alliance contacts + * @request GET:/v2/alliances/{alliance_id}/contacts/ + * @secure + */ + getAlliancesAllianceIdContacts: ( + allianceId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_alliances_alliance_id_contacts_contact_id + * contact_id integer + * @format int32 + */ + contact_id: number; + /** + * get_alliances_alliance_id_contacts_contact_type + * contact_type string + */ + contact_type: "character" | "corporation" | "alliance" | "faction"; + /** + * get_alliances_alliance_id_contacts_label_ids + * label_ids array + * @maxItems 63 + */ + label_ids?: number[]; + /** + * get_alliances_alliance_id_contacts_standing + * Standing of the contact + * @format float + */ + standing: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/alliances/${allianceId}/contacts/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Bulk lookup of character IDs to corporation, alliance and faction --- This route is cached for up to 3600 seconds + * + * @tags Character + * @name PostCharactersAffiliation + * @summary Character affiliation + * @request POST:/v2/characters/affiliation/ + */ + postCharactersAffiliation: ( + characters: number[], + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * post_characters_affiliation_alliance_id + * The character's alliance ID, if their corporation is in an alliance + * @format int32 + */ + alliance_id?: number; + /** + * post_characters_affiliation_character_id + * The character's ID + * @format int32 + */ + character_id: number; + /** + * post_characters_affiliation_corporation_id + * The character's corporation ID + * @format int32 + */ + corporation_id: number; + /** + * post_characters_affiliation_faction_id + * The character's faction ID, if their corporation is in a faction + * @format int32 + */ + faction_id?: number; + }[], + BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/characters/affiliation/`, + method: "POST", + query: query, + body: characters, + type: ContentType.Json, + format: "json", + ...params, + }), + + /** + * @description Return a list of agents research information for a character. The formula for finding the current research points with an agent is: currentPoints = remainderPoints + pointsPerDay * days(currentTime - researchStartDate) --- This route is cached for up to 3600 seconds + * + * @tags Character + * @name GetCharactersCharacterIdAgentsResearch + * @summary Get agents research + * @request GET:/v2/characters/{character_id}/agents_research/ + * @secure + */ + getCharactersCharacterIdAgentsResearch: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_agents_research_agent_id + * agent_id integer + * @format int32 + */ + agent_id: number; + /** + * get_characters_character_id_agents_research_points_per_day + * points_per_day number + * @format float + */ + points_per_day: number; + /** + * get_characters_character_id_agents_research_remainder_points + * remainder_points number + * @format float + */ + remainder_points: number; + /** + * get_characters_character_id_agents_research_skill_type_id + * skill_type_id integer + * @format int32 + */ + skill_type_id: number; + /** + * get_characters_character_id_agents_research_started_at + * started_at string + * @format date-time + */ + started_at: string; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/agents_research/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return locations for a set of item ids, which you can get from character assets endpoint. Coordinates for items in hangars or stations are set to (0,0,0) --- + * + * @tags Assets + * @name PostCharactersCharacterIdAssetsLocations + * @summary Get character asset locations + * @request POST:/v2/characters/{character_id}/assets/locations/ + * @secure + */ + postCharactersCharacterIdAssetsLocations: ( + characterId: number, + item_ids: number[], + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * post_characters_character_id_assets_locations_item_id + * item_id integer + * @format int64 + */ + item_id: number; + /** + * post_characters_character_id_assets_locations_position + * position object + */ + position: { + /** + * post_characters_character_id_assets_locations_x + * x number + * @format double + */ + x: number; + /** + * post_characters_character_id_assets_locations_y + * y number + * @format double + */ + y: number; + /** + * post_characters_character_id_assets_locations_z + * z number + * @format double + */ + z: number; + }; + }[], + BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/assets/locations/`, + method: "POST", + query: query, + body: item_ids, + secure: true, + type: ContentType.Json, + format: "json", + ...params, + }), + + /** + * @description A list of your character's personal bookmarks --- This route is cached for up to 3600 seconds + * + * @tags Bookmarks + * @name GetCharactersCharacterIdBookmarks + * @summary List bookmarks + * @request GET:/v2/characters/{character_id}/bookmarks/ + * @secure + */ + getCharactersCharacterIdBookmarks: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_bookmarks_bookmark_id + * bookmark_id integer + * @format int32 + */ + bookmark_id: number; + /** + * get_characters_character_id_bookmarks_coordinates + * Optional object that is returned if a bookmark was made on a planet or a random location in space. + */ + coordinates?: { + /** + * get_characters_character_id_bookmarks_x + * x number + * @format double + */ + x: number; + /** + * get_characters_character_id_bookmarks_y + * y number + * @format double + */ + y: number; + /** + * get_characters_character_id_bookmarks_z + * z number + * @format double + */ + z: number; + }; + /** + * get_characters_character_id_bookmarks_created + * created string + * @format date-time + */ + created: string; + /** + * get_characters_character_id_bookmarks_creator_id + * creator_id integer + * @format int32 + */ + creator_id: number; + /** + * get_characters_character_id_bookmarks_folder_id + * folder_id integer + * @format int32 + */ + folder_id?: number; + /** + * get_characters_character_id_bookmarks_item + * Optional object that is returned if a bookmark was made on a particular item. + */ + item?: { + /** + * get_characters_character_id_bookmarks_item_id + * item_id integer + * @format int64 + */ + item_id: number; + /** + * get_characters_character_id_bookmarks_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }; + /** + * get_characters_character_id_bookmarks_label + * label string + */ + label: string; + /** + * get_characters_character_id_bookmarks_location_id + * location_id integer + * @format int32 + */ + location_id: number; + /** + * get_characters_character_id_bookmarks_notes + * notes string + */ + notes: string; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/bookmarks/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description A list of your character's personal bookmark folders --- This route is cached for up to 3600 seconds + * + * @tags Bookmarks + * @name GetCharactersCharacterIdBookmarksFolders + * @summary List bookmark folders + * @request GET:/v2/characters/{character_id}/bookmarks/folders/ + * @secure + */ + getCharactersCharacterIdBookmarksFolders: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_bookmarks_folders_folder_id + * folder_id integer + * @format int32 + */ + folder_id: number; + /** + * get_characters_character_id_bookmarks_folders_name + * name string + */ + name: string; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/bookmarks/folders/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Bulk delete contacts --- + * + * @tags Contacts + * @name DeleteCharactersCharacterIdContacts + * @summary Delete contacts + * @request DELETE:/v2/characters/{character_id}/contacts/ + * @secure + */ + deleteCharactersCharacterIdContacts: ( + characterId: number, + query: { + /** + * A list of contacts to delete + * @maxItems 20 + * @minItems 1 + */ + contact_ids: number[]; + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + void, + BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/contacts/`, + method: "DELETE", + query: query, + secure: true, + ...params, + }), + + /** + * @description Return contacts of a character --- This route is cached for up to 300 seconds + * + * @tags Contacts + * @name GetCharactersCharacterIdContacts + * @summary Get contacts + * @request GET:/v2/characters/{character_id}/contacts/ + * @secure + */ + getCharactersCharacterIdContacts: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_contacts_contact_id + * contact_id integer + * @format int32 + */ + contact_id: number; + /** + * get_characters_character_id_contacts_contact_type + * contact_type string + */ + contact_type: "character" | "corporation" | "alliance" | "faction"; + /** + * get_characters_character_id_contacts_is_blocked + * Whether this contact is in the blocked list. Note a missing value denotes unknown, not true or false + */ + is_blocked?: boolean; + /** + * get_characters_character_id_contacts_is_watched + * Whether this contact is being watched + */ + is_watched?: boolean; + /** + * get_characters_character_id_contacts_label_ids + * label_ids array + * @maxItems 63 + */ + label_ids?: number[]; + /** + * get_characters_character_id_contacts_standing + * Standing of the contact + * @format float + */ + standing: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/contacts/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Bulk add contacts with same settings --- + * + * @tags Contacts + * @name PostCharactersCharacterIdContacts + * @summary Add contacts + * @request POST:/v2/characters/{character_id}/contacts/ + * @secure + */ + postCharactersCharacterIdContacts: ( + characterId: number, + query: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Add custom labels to the new contact + * @maxItems 63 + */ + label_ids?: number[]; + /** + * Standing for the contact + * @format float + * @min -10 + * @max 10 + */ + standing: number; + /** Access token to use if unable to set a header */ + token?: string; + /** + * Whether the contact should be watched, note this is only effective on characters + * @default false + */ + watched?: boolean; + }, + contact_ids: number[], + params: RequestParams = {}, + ) => + this.request< + number[], + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + | { + /** + * post_characters_character_id_contacts_520_error_520 + * Error 520 message + */ + error?: string; + } + >({ + path: `/v2/characters/${characterId}/contacts/`, + method: "POST", + query: query, + body: contact_ids, + secure: true, + type: ContentType.Json, + format: "json", + ...params, + }), + + /** + * @description Bulk edit contacts with same settings --- + * + * @tags Contacts + * @name PutCharactersCharacterIdContacts + * @summary Edit contacts + * @request PUT:/v2/characters/{character_id}/contacts/ + * @secure + */ + putCharactersCharacterIdContacts: ( + characterId: number, + query: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Add custom labels to the contact + * @maxItems 63 + */ + label_ids?: number[]; + /** + * Standing for the contact + * @format float + * @min -10 + * @max 10 + */ + standing: number; + /** Access token to use if unable to set a header */ + token?: string; + /** + * Whether the contact should be watched, note this is only effective on characters + * @default false + */ + watched?: boolean; + }, + contact_ids: number[], + params: RequestParams = {}, + ) => + this.request< + void, + BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/contacts/`, + method: "PUT", + query: query, + body: contact_ids, + secure: true, + type: ContentType.Json, + ...params, + }), + + /** + * @description Get a list of all the corporations a character has been a member of --- This route is cached for up to 86400 seconds + * + * @tags Character + * @name GetCharactersCharacterIdCorporationhistory + * @summary Get corporation history + * @request GET:/v2/characters/{character_id}/corporationhistory/ + */ + getCharactersCharacterIdCorporationhistory: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_corporationhistory_corporation_id + * corporation_id integer + * @format int32 + */ + corporation_id: number; + /** + * get_characters_character_id_corporationhistory_is_deleted + * True if the corporation has been deleted + */ + is_deleted?: boolean; + /** + * get_characters_character_id_corporationhistory_record_id + * An incrementing ID that can be used to canonically establish order of records in cases where dates may be ambiguous + * @format int32 + */ + record_id: number; + /** + * get_characters_character_id_corporationhistory_start_date + * start_date string + * @format date-time + */ + start_date: string; + }[], + void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/corporationhistory/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Return a character's jump activation and fatigue information --- This route is cached for up to 300 seconds + * + * @tags Character + * @name GetCharactersCharacterIdFatigue + * @summary Get jump fatigue + * @request GET:/v2/characters/{character_id}/fatigue/ + * @secure + */ + getCharactersCharacterIdFatigue: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_fatigue_jump_fatigue_expire_date + * Character's jump fatigue expiry + * @format date-time + */ + jump_fatigue_expire_date?: string; + /** + * get_characters_character_id_fatigue_last_jump_date + * Character's last jump activation + * @format date-time + */ + last_jump_date?: string; + /** + * get_characters_character_id_fatigue_last_update_date + * Character's last jump update + * @format date-time + */ + last_update_date?: string; + }, + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/fatigue/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return fittings of a character --- This route is cached for up to 300 seconds + * + * @tags Fittings + * @name GetCharactersCharacterIdFittings + * @summary Get fittings + * @request GET:/v2/characters/{character_id}/fittings/ + * @secure + */ + getCharactersCharacterIdFittings: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_fittings_description + * description string + */ + description: string; + /** + * get_characters_character_id_fittings_fitting_id + * fitting_id integer + * @format int32 + */ + fitting_id: number; + /** + * get_characters_character_id_fittings_items + * items array + * @maxItems 512 + */ + items: { + /** + * get_characters_character_id_fittings_flag + * flag string + */ + flag: + | "Cargo" + | "DroneBay" + | "FighterBay" + | "HiSlot0" + | "HiSlot1" + | "HiSlot2" + | "HiSlot3" + | "HiSlot4" + | "HiSlot5" + | "HiSlot6" + | "HiSlot7" + | "Invalid" + | "LoSlot0" + | "LoSlot1" + | "LoSlot2" + | "LoSlot3" + | "LoSlot4" + | "LoSlot5" + | "LoSlot6" + | "LoSlot7" + | "MedSlot0" + | "MedSlot1" + | "MedSlot2" + | "MedSlot3" + | "MedSlot4" + | "MedSlot5" + | "MedSlot6" + | "MedSlot7" + | "RigSlot0" + | "RigSlot1" + | "RigSlot2" + | "ServiceSlot0" + | "ServiceSlot1" + | "ServiceSlot2" + | "ServiceSlot3" + | "ServiceSlot4" + | "ServiceSlot5" + | "ServiceSlot6" + | "ServiceSlot7" + | "SubSystemSlot0" + | "SubSystemSlot1" + | "SubSystemSlot2" + | "SubSystemSlot3"; + /** + * get_characters_character_id_fittings_quantity + * quantity integer + * @format int32 + */ + quantity: number; + /** + * get_characters_character_id_fittings_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }[]; + /** + * get_characters_character_id_fittings_name + * name string + */ + name: string; + /** + * get_characters_character_id_fittings_ship_type_id + * ship_type_id integer + * @format int32 + */ + ship_type_id: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/fittings/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Save a new fitting for a character --- + * + * @tags Fittings + * @name PostCharactersCharacterIdFittings + * @summary Create fitting + * @request POST:/v2/characters/{character_id}/fittings/ + * @secure + */ + postCharactersCharacterIdFittings: ( + characterId: number, + fitting: { + /** + * post_characters_character_id_fittings_description + * description string + * @minLength 0 + * @maxLength 500 + */ + description: string; + /** + * post_characters_character_id_fittings_items + * items array + * @maxItems 512 + * @minItems 1 + */ + items: { + /** + * post_characters_character_id_fittings_flag + * Fitting location for the item. Entries placed in 'Invalid' will be discarded. If this leaves the fitting with nothing, it will cause an error. + */ + flag: + | "Cargo" + | "DroneBay" + | "FighterBay" + | "HiSlot0" + | "HiSlot1" + | "HiSlot2" + | "HiSlot3" + | "HiSlot4" + | "HiSlot5" + | "HiSlot6" + | "HiSlot7" + | "Invalid" + | "LoSlot0" + | "LoSlot1" + | "LoSlot2" + | "LoSlot3" + | "LoSlot4" + | "LoSlot5" + | "LoSlot6" + | "LoSlot7" + | "MedSlot0" + | "MedSlot1" + | "MedSlot2" + | "MedSlot3" + | "MedSlot4" + | "MedSlot5" + | "MedSlot6" + | "MedSlot7" + | "RigSlot0" + | "RigSlot1" + | "RigSlot2" + | "ServiceSlot0" + | "ServiceSlot1" + | "ServiceSlot2" + | "ServiceSlot3" + | "ServiceSlot4" + | "ServiceSlot5" + | "ServiceSlot6" + | "ServiceSlot7" + | "SubSystemSlot0" + | "SubSystemSlot1" + | "SubSystemSlot2" + | "SubSystemSlot3"; + /** + * post_characters_character_id_fittings_quantity + * quantity integer + * @format int32 + */ + quantity: number; + /** + * post_characters_character_id_fittings_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }[]; + /** + * post_characters_character_id_fittings_name + * name string + * @minLength 1 + * @maxLength 50 + */ + name: string; + /** + * post_characters_character_id_fittings_ship_type_id + * ship_type_id integer + * @format int32 + */ + ship_type_id: number; + }, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * post_characters_character_id_fittings_fitting_id + * fitting_id integer + * @format int32 + */ + fitting_id: number; + }, + BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/fittings/`, + method: "POST", + query: query, + body: fitting, + secure: true, + type: ContentType.Json, + format: "json", + ...params, + }), + + /** + * @description Create a mail label --- + * + * @tags Mail + * @name PostCharactersCharacterIdMailLabels + * @summary Create a mail label + * @request POST:/v2/characters/{character_id}/mail/labels/ + * @secure + */ + postCharactersCharacterIdMailLabels: ( + characterId: number, + label: { + /** + * post_characters_character_id_mail_labels_color + * Hexadecimal string representing label color, in RGB format + * @default "#ffffff" + */ + color?: + | "#0000fe" + | "#006634" + | "#0099ff" + | "#00ff33" + | "#01ffff" + | "#349800" + | "#660066" + | "#666666" + | "#999999" + | "#99ffff" + | "#9a0000" + | "#ccff9a" + | "#e6e6e6" + | "#fe0000" + | "#ff6600" + | "#ffff01" + | "#ffffcd" + | "#ffffff"; + /** + * post_characters_character_id_mail_labels_name + * name string + * @minLength 1 + * @maxLength 40 + */ + name: string; + }, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + number, + BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/mail/labels/`, + method: "POST", + query: query, + body: label, + secure: true, + type: ContentType.Json, + format: "json", + ...params, + }), + + /** + * @description Return a list of medals the character has --- This route is cached for up to 3600 seconds + * + * @tags Character + * @name GetCharactersCharacterIdMedals + * @summary Get medals + * @request GET:/v2/characters/{character_id}/medals/ + * @secure + */ + getCharactersCharacterIdMedals: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_medals_corporation_id + * corporation_id integer + * @format int32 + */ + corporation_id: number; + /** + * get_characters_character_id_medals_date + * date string + * @format date-time + */ + date: string; + /** + * get_characters_character_id_medals_description + * description string + */ + description: string; + /** + * get_characters_character_id_medals_graphics + * graphics array + * @maxItems 9 + * @minItems 3 + */ + graphics: { + /** + * get_characters_character_id_medals_color + * color integer + * @format int32 + */ + color?: number; + /** + * get_characters_character_id_medals_graphic_graphic + * graphic string + */ + graphic: string; + /** + * get_characters_character_id_medals_layer + * layer integer + * @format int32 + */ + layer: number; + /** + * get_characters_character_id_medals_part + * part integer + * @format int32 + */ + part: number; + }[]; + /** + * get_characters_character_id_medals_issuer_id + * issuer_id integer + * @format int32 + */ + issuer_id: number; + /** + * get_characters_character_id_medals_medal_id + * medal_id integer + * @format int32 + */ + medal_id: number; + /** + * get_characters_character_id_medals_reason + * reason string + */ + reason: string; + /** + * get_characters_character_id_medals_status + * status string + */ + status: "public" | "private"; + /** + * get_characters_character_id_medals_title + * title string + */ + title: string; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/medals/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return notifications about having been added to someone's contact list --- This route is cached for up to 600 seconds + * + * @tags Character + * @name GetCharactersCharacterIdNotificationsContacts + * @summary Get new contact notifications + * @request GET:/v2/characters/{character_id}/notifications/contacts/ + * @secure + */ + getCharactersCharacterIdNotificationsContacts: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_notifications_contacts_message + * message string + */ + message: string; + /** + * get_characters_character_id_notifications_contacts_notification_id + * notification_id integer + * @format int32 + */ + notification_id: number; + /** + * get_characters_character_id_notifications_contacts_send_date + * send_date string + * @format date-time + */ + send_date: string; + /** + * get_characters_character_id_notifications_contacts_sender_character_id + * sender_character_id integer + * @format int32 + */ + sender_character_id: number; + /** + * get_characters_character_id_notifications_contacts_standing_level + * A number representing the standing level the receiver has been added at by the sender. The standing levels are as follows: -10 -> Terrible | -5 -> Bad | 0 -> Neutral | 5 -> Good | 10 -> Excellent + * @format float + */ + standing_level: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/notifications/contacts/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Checks if the character is currently online --- This route is cached for up to 60 seconds + * + * @tags Location + * @name GetCharactersCharacterIdOnline + * @summary Get character online + * @request GET:/v2/characters/{character_id}/online/ + * @secure + */ + getCharactersCharacterIdOnline: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_online_last_login + * Timestamp of the last login + * @format date-time + */ + last_login?: string; + /** + * get_characters_character_id_online_last_logout + * Timestamp of the last logout + * @format date-time + */ + last_logout?: string; + /** + * get_characters_character_id_online_logins + * Total number of times the character has logged in + * @format int32 + */ + logins?: number; + /** + * get_characters_character_id_online_online + * If the character is online + */ + online: boolean; + }, + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/online/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description List open market orders placed by a character --- This route is cached for up to 1200 seconds + * + * @tags Market + * @name GetCharactersCharacterIdOrders + * @summary List open orders from a character + * @request GET:/v2/characters/{character_id}/orders/ + * @secure + */ + getCharactersCharacterIdOrders: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_orders_duration + * Number of days for which order is valid (starting from the issued date). An order expires at time issued + duration + * @format int32 + */ + duration: number; + /** + * get_characters_character_id_orders_escrow + * For buy orders, the amount of ISK in escrow + * @format double + */ + escrow?: number; + /** + * get_characters_character_id_orders_is_buy_order + * True if the order is a bid (buy) order + */ + is_buy_order?: boolean; + /** + * get_characters_character_id_orders_is_corporation + * Signifies whether the buy/sell order was placed on behalf of a corporation. + */ + is_corporation: boolean; + /** + * get_characters_character_id_orders_issued + * Date and time when this order was issued + * @format date-time + */ + issued: string; + /** + * get_characters_character_id_orders_location_id + * ID of the location where order was placed + * @format int64 + */ + location_id: number; + /** + * get_characters_character_id_orders_min_volume + * For buy orders, the minimum quantity that will be accepted in a matching sell order + * @format int32 + */ + min_volume?: number; + /** + * get_characters_character_id_orders_order_id + * Unique order ID + * @format int64 + */ + order_id: number; + /** + * get_characters_character_id_orders_price + * Cost per unit for this order + * @format double + */ + price: number; + /** + * get_characters_character_id_orders_range + * Valid order range, numbers are ranges in jumps + */ + range: "1" | "10" | "2" | "20" | "3" | "30" | "4" | "40" | "5" | "region" | "solarsystem" | "station"; + /** + * get_characters_character_id_orders_region_id + * ID of the region where order was placed + * @format int32 + */ + region_id: number; + /** + * get_characters_character_id_orders_type_id + * The type ID of the item transacted in this order + * @format int32 + */ + type_id: number; + /** + * get_characters_character_id_orders_volume_remain + * Quantity of items still required or offered + * @format int32 + */ + volume_remain: number; + /** + * get_characters_character_id_orders_volume_total + * Quantity of items required or offered at time order was placed + * @format int32 + */ + volume_total: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/orders/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Get portrait urls for a character --- This route expires daily at 11:05 + * + * @tags Character + * @name GetCharactersCharacterIdPortrait + * @summary Get character portraits + * @request GET:/v2/characters/{character_id}/portrait/ + */ + getCharactersCharacterIdPortrait: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_portrait_px128x128 + * px128x128 string + */ + px128x128?: string; + /** + * get_characters_character_id_portrait_px256x256 + * px256x256 string + */ + px256x256?: string; + /** + * get_characters_character_id_portrait_px512x512 + * px512x512 string + */ + px512x512?: string; + /** + * get_characters_character_id_portrait_px64x64 + * px64x64 string + */ + px64x64?: string; + }, + | void + | BadRequest + | { + /** + * get_characters_character_id_portrait_error + * error message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/portrait/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description List the configured skill queue for the given character --- This route is cached for up to 120 seconds + * + * @tags Skills + * @name GetCharactersCharacterIdSkillqueue + * @summary Get character's skill queue + * @request GET:/v2/characters/{character_id}/skillqueue/ + * @secure + */ + getCharactersCharacterIdSkillqueue: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_skillqueue_finish_date + * Date on which training of the skill will complete. Omitted if the skill queue is paused. + * @format date-time + */ + finish_date?: string; + /** + * get_characters_character_id_skillqueue_finished_level + * finished_level integer + * @format int32 + * @min 0 + * @max 5 + */ + finished_level: number; + /** + * get_characters_character_id_skillqueue_level_end_sp + * level_end_sp integer + * @format int32 + */ + level_end_sp?: number; + /** + * get_characters_character_id_skillqueue_level_start_sp + * Amount of SP that was in the skill when it started training it's current level. Used to calculate % of current level complete. + * @format int32 + */ + level_start_sp?: number; + /** + * get_characters_character_id_skillqueue_queue_position + * queue_position integer + * @format int32 + */ + queue_position: number; + /** + * get_characters_character_id_skillqueue_skill_id + * skill_id integer + * @format int32 + */ + skill_id: number; + /** + * get_characters_character_id_skillqueue_start_date + * start_date string + * @format date-time + */ + start_date?: string; + /** + * get_characters_character_id_skillqueue_training_start_sp + * training_start_sp integer + * @format int32 + */ + training_start_sp?: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/skillqueue/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return character standings from agents, NPC corporations, and factions --- This route is cached for up to 3600 seconds + * + * @tags Character + * @name GetCharactersCharacterIdStandings + * @summary Get standings + * @request GET:/v2/characters/{character_id}/standings/ + * @secure + */ + getCharactersCharacterIdStandings: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_standings_from_id + * from_id integer + * @format int32 + */ + from_id: number; + /** + * get_characters_character_id_standings_from_type + * from_type string + */ + from_type: "agent" | "npc_corp" | "faction"; + /** + * get_characters_character_id_standings_standing + * standing number + * @format float + */ + standing: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/standings/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Returns a character's titles --- This route is cached for up to 3600 seconds + * + * @tags Character + * @name GetCharactersCharacterIdTitles + * @summary Get character corporation titles + * @request GET:/v2/characters/{character_id}/titles/ + * @secure + */ + getCharactersCharacterIdTitles: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_titles_name + * name string + */ + name?: string; + /** + * get_characters_character_id_titles_title_id + * title_id integer + * @format int32 + */ + title_id?: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/characters/${characterId}/titles/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Get a list of npc corporations --- This route expires daily at 11:05 + * + * @tags Corporation + * @name GetCorporationsNpccorps + * @summary Get npc corporations + * @request GET:/v2/corporations/npccorps/ + */ + getCorporationsNpccorps: ( + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + number[], + void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/corporations/npccorps/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Return locations for a set of item ids, which you can get from corporation assets endpoint. Coordinates for items in hangars or stations are set to (0,0,0) --- Requires one of the following EVE corporation role(s): Director + * + * @tags Assets + * @name PostCorporationsCorporationIdAssetsLocations + * @summary Get corporation asset locations + * @request POST:/v2/corporations/{corporation_id}/assets/locations/ + * @secure + */ + postCorporationsCorporationIdAssetsLocations: ( + corporationId: number, + item_ids: number[], + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * post_corporations_corporation_id_assets_locations_item_id + * item_id integer + * @format int64 + */ + item_id: number; + /** + * post_corporations_corporation_id_assets_locations_position + * position object + */ + position: { + /** + * post_corporations_corporation_id_assets_locations_x + * x number + * @format double + */ + x: number; + /** + * post_corporations_corporation_id_assets_locations_y + * y number + * @format double + */ + y: number; + /** + * post_corporations_corporation_id_assets_locations_z + * z number + * @format double + */ + z: number; + }; + }[], + | BadRequest + | Unauthorized + | Forbidden + | { + /** + * post_corporations_corporation_id_assets_locations_404_not_found + * Not found message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/assets/locations/`, + method: "POST", + query: query, + body: item_ids, + secure: true, + type: ContentType.Json, + format: "json", + ...params, + }), + + /** + * @description Return contacts of a corporation --- This route is cached for up to 300 seconds + * + * @tags Contacts + * @name GetCorporationsCorporationIdContacts + * @summary Get corporation contacts + * @request GET:/v2/corporations/{corporation_id}/contacts/ + * @secure + */ + getCorporationsCorporationIdContacts: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_contacts_contact_id + * contact_id integer + * @format int32 + */ + contact_id: number; + /** + * get_corporations_corporation_id_contacts_contact_type + * contact_type string + */ + contact_type: "character" | "corporation" | "alliance" | "faction"; + /** + * get_corporations_corporation_id_contacts_is_watched + * Whether this contact is being watched + */ + is_watched?: boolean; + /** + * get_corporations_corporation_id_contacts_label_ids + * label_ids array + * @maxItems 63 + */ + label_ids?: number[]; + /** + * get_corporations_corporation_id_contacts_standing + * Standing of the contact + * @format float + */ + standing: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/contacts/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return corporation hangar and wallet division names, only show if a division is not using the default name --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Corporation + * @name GetCorporationsCorporationIdDivisions + * @summary Get corporation divisions + * @request GET:/v2/corporations/{corporation_id}/divisions/ + * @secure + */ + getCorporationsCorporationIdDivisions: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_divisions_hangar + * hangar array + * @maxItems 7 + */ + hangar?: { + /** + * get_corporations_corporation_id_divisions_division + * division integer + * @format int32 + * @min 1 + * @max 7 + */ + division?: number; + /** + * get_corporations_corporation_id_divisions_name + * name string + * @maxLength 50 + */ + name?: string; + }[]; + /** + * get_corporations_corporation_id_divisions_wallet + * wallet array + * @maxItems 7 + */ + wallet?: { + /** + * get_corporations_corporation_id_divisions_wallet_division + * division integer + * @format int32 + * @min 1 + * @max 7 + */ + division?: number; + /** + * get_corporations_corporation_id_divisions_wallet_name + * name string + * @maxLength 50 + */ + name?: string; + }[]; + }, + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/divisions/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return a corporation's facilities --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Factory_Manager + * + * @tags Corporation + * @name GetCorporationsCorporationIdFacilities + * @summary Get corporation facilities + * @request GET:/v2/corporations/{corporation_id}/facilities/ + * @secure + */ + getCorporationsCorporationIdFacilities: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_facilities_facility_id + * facility_id integer + * @format int64 + */ + facility_id: number; + /** + * get_corporations_corporation_id_facilities_system_id + * system_id integer + * @format int32 + */ + system_id: number; + /** + * get_corporations_corporation_id_facilities_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/facilities/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Get the icon urls for a corporation --- This route is cached for up to 3600 seconds + * + * @tags Corporation + * @name GetCorporationsCorporationIdIcons + * @summary Get corporation icon + * @request GET:/v2/corporations/{corporation_id}/icons/ + */ + getCorporationsCorporationIdIcons: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_icons_px128x128 + * px128x128 string + */ + px128x128?: string; + /** + * get_corporations_corporation_id_icons_px256x256 + * px256x256 string + */ + px256x256?: string; + /** + * get_corporations_corporation_id_icons_px64x64 + * px64x64 string + */ + px64x64?: string; + }, + | void + | BadRequest + | { + /** + * get_corporations_corporation_id_icons_error + * error message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/icons/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Returns a corporation's medals --- This route is cached for up to 3600 seconds + * + * @tags Corporation + * @name GetCorporationsCorporationIdMedals + * @summary Get corporation medals + * @request GET:/v2/corporations/{corporation_id}/medals/ + * @secure + */ + getCorporationsCorporationIdMedals: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_medals_created_at + * created_at string + * @format date-time + */ + created_at: string; + /** + * get_corporations_corporation_id_medals_creator_id + * ID of the character who created this medal + * @format int32 + */ + creator_id: number; + /** + * get_corporations_corporation_id_medals_description + * description string + * @maxLength 1000 + */ + description: string; + /** + * get_corporations_corporation_id_medals_medal_id + * medal_id integer + * @format int32 + */ + medal_id: number; + /** + * get_corporations_corporation_id_medals_title + * title string + * @maxLength 100 + */ + title: string; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/medals/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Returns medals issued by a corporation --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Corporation + * @name GetCorporationsCorporationIdMedalsIssued + * @summary Get corporation issued medals + * @request GET:/v2/corporations/{corporation_id}/medals/issued/ + * @secure + */ + getCorporationsCorporationIdMedalsIssued: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_medals_issued_character_id + * ID of the character who was rewarded this medal + * @format int32 + */ + character_id: number; + /** + * get_corporations_corporation_id_medals_issued_issued_at + * issued_at string + * @format date-time + */ + issued_at: string; + /** + * get_corporations_corporation_id_medals_issued_issuer_id + * ID of the character who issued the medal + * @format int32 + */ + issuer_id: number; + /** + * get_corporations_corporation_id_medals_issued_medal_id + * medal_id integer + * @format int32 + */ + medal_id: number; + /** + * get_corporations_corporation_id_medals_issued_reason + * reason string + * @maxLength 1000 + */ + reason: string; + /** + * get_corporations_corporation_id_medals_issued_status + * status string + */ + status: "private" | "public"; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/medals/issued/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return a corporation's member limit, not including CEO himself --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Corporation + * @name GetCorporationsCorporationIdMembersLimit + * @summary Get corporation member limit + * @request GET:/v2/corporations/{corporation_id}/members/limit/ + * @secure + */ + getCorporationsCorporationIdMembersLimit: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + number, + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/members/limit/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Returns a corporation's members' titles --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Corporation + * @name GetCorporationsCorporationIdMembersTitles + * @summary Get corporation's members' titles + * @request GET:/v2/corporations/{corporation_id}/members/titles/ + * @secure + */ + getCorporationsCorporationIdMembersTitles: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_members_titles_character_id + * character_id integer + * @format int32 + */ + character_id: number; + /** + * get_corporations_corporation_id_members_titles_titles + * A list of title_id + * @maxItems 16 + */ + titles: number[]; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/members/titles/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Returns additional information about a corporation's members which helps tracking their activities --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Corporation + * @name GetCorporationsCorporationIdMembertracking + * @summary Track corporation members + * @request GET:/v2/corporations/{corporation_id}/membertracking/ + * @secure + */ + getCorporationsCorporationIdMembertracking: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_membertracking_base_id + * base_id integer + * @format int32 + */ + base_id?: number; + /** + * get_corporations_corporation_id_membertracking_character_id + * character_id integer + * @format int32 + */ + character_id: number; + /** + * get_corporations_corporation_id_membertracking_location_id + * location_id integer + * @format int64 + */ + location_id?: number; + /** + * get_corporations_corporation_id_membertracking_logoff_date + * logoff_date string + * @format date-time + */ + logoff_date?: string; + /** + * get_corporations_corporation_id_membertracking_logon_date + * logon_date string + * @format date-time + */ + logon_date?: string; + /** + * get_corporations_corporation_id_membertracking_ship_type_id + * ship_type_id integer + * @format int32 + */ + ship_type_id?: number; + /** + * get_corporations_corporation_id_membertracking_start_date + * start_date string + * @format date-time + */ + start_date?: string; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/membertracking/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description List cancelled and expired market orders placed on behalf of a corporation up to 90 days in the past. --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Accountant, Trader + * + * @tags Market + * @name GetCorporationsCorporationIdOrdersHistory + * @summary List historical orders from a corporation + * @request GET:/v2/corporations/{corporation_id}/orders/history/ + * @secure + */ + getCorporationsCorporationIdOrdersHistory: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_orders_history_duration + * Number of days the order was valid for (starting from the issued date). An order expires at time issued + duration + * @format int32 + */ + duration: number; + /** + * get_corporations_corporation_id_orders_history_escrow + * For buy orders, the amount of ISK in escrow + * @format double + */ + escrow?: number; + /** + * get_corporations_corporation_id_orders_history_is_buy_order + * True if the order is a bid (buy) order + */ + is_buy_order?: boolean; + /** + * get_corporations_corporation_id_orders_history_issued + * Date and time when this order was issued + * @format date-time + */ + issued: string; + /** + * get_corporations_corporation_id_orders_history_issued_by + * The character who issued this order + * @format int32 + */ + issued_by?: number; + /** + * get_corporations_corporation_id_orders_history_location_id + * ID of the location where order was placed + * @format int64 + */ + location_id: number; + /** + * get_corporations_corporation_id_orders_history_min_volume + * For buy orders, the minimum quantity that will be accepted in a matching sell order + * @format int32 + */ + min_volume?: number; + /** + * get_corporations_corporation_id_orders_history_order_id + * Unique order ID + * @format int64 + */ + order_id: number; + /** + * get_corporations_corporation_id_orders_history_price + * Cost per unit for this order + * @format double + */ + price: number; + /** + * get_corporations_corporation_id_orders_history_range + * Valid order range, numbers are ranges in jumps + */ + range: "1" | "10" | "2" | "20" | "3" | "30" | "4" | "40" | "5" | "region" | "solarsystem" | "station"; + /** + * get_corporations_corporation_id_orders_history_region_id + * ID of the region where order was placed + * @format int32 + */ + region_id: number; + /** + * get_corporations_corporation_id_orders_history_state + * Current order state + */ + state: "cancelled" | "expired"; + /** + * get_corporations_corporation_id_orders_history_type_id + * The type ID of the item transacted in this order + * @format int32 + */ + type_id: number; + /** + * get_corporations_corporation_id_orders_history_volume_remain + * Quantity of items still required or offered + * @format int32 + */ + volume_remain: number; + /** + * get_corporations_corporation_id_orders_history_volume_total + * Quantity of items required or offered at time order was placed + * @format int32 + */ + volume_total: number; + /** + * get_corporations_corporation_id_orders_history_wallet_division + * The corporation wallet division used for this order + * @format int32 + * @min 1 + * @max 7 + */ + wallet_division: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/orders/history/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return the roles of all members if the character has the personnel manager role or any grantable role. --- This route is cached for up to 3600 seconds + * + * @tags Corporation + * @name GetCorporationsCorporationIdRoles + * @summary Get corporation member roles + * @request GET:/v2/corporations/{corporation_id}/roles/ + * @secure + */ + getCorporationsCorporationIdRoles: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_roles_character_id + * character_id integer + * @format int32 + */ + character_id: number; + /** + * get_corporations_corporation_id_roles_grantable_roles + * grantable_roles array + * @maxItems 50 + */ + grantable_roles?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_roles_grantable_roles_at_base + * grantable_roles_at_base array + * @maxItems 50 + */ + grantable_roles_at_base?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_roles_grantable_roles_at_hq + * grantable_roles_at_hq array + * @maxItems 50 + */ + grantable_roles_at_hq?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_roles_grantable_roles_at_other + * grantable_roles_at_other array + * @maxItems 50 + */ + grantable_roles_at_other?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_roles_roles + * roles array + * @maxItems 50 + */ + roles?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_roles_roles_at_base + * roles_at_base array + * @maxItems 50 + */ + roles_at_base?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_roles_roles_at_hq + * roles_at_hq array + * @maxItems 50 + */ + roles_at_hq?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_roles_roles_at_other + * roles_at_other array + * @maxItems 50 + */ + roles_at_other?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/roles/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return how roles have changed for a coporation's members, up to a month --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Corporation + * @name GetCorporationsCorporationIdRolesHistory + * @summary Get corporation member roles history + * @request GET:/v2/corporations/{corporation_id}/roles/history/ + * @secure + */ + getCorporationsCorporationIdRolesHistory: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_roles_history_changed_at + * changed_at string + * @format date-time + */ + changed_at: string; + /** + * get_corporations_corporation_id_roles_history_character_id + * The character whose roles are changed + * @format int32 + */ + character_id: number; + /** + * get_corporations_corporation_id_roles_history_issuer_id + * ID of the character who issued this change + * @format int32 + */ + issuer_id: number; + /** + * get_corporations_corporation_id_roles_history_new_roles + * new_roles array + * @maxItems 50 + */ + new_roles: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_roles_history_old_roles + * old_roles array + * @maxItems 50 + */ + old_roles: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_roles_history_role_type + * role_type string + */ + role_type: + | "grantable_roles" + | "grantable_roles_at_base" + | "grantable_roles_at_hq" + | "grantable_roles_at_other" + | "roles" + | "roles_at_base" + | "roles_at_hq" + | "roles_at_other"; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/roles/history/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return corporation standings from agents, NPC corporations, and factions --- This route is cached for up to 3600 seconds + * + * @tags Corporation + * @name GetCorporationsCorporationIdStandings + * @summary Get corporation standings + * @request GET:/v2/corporations/{corporation_id}/standings/ + * @secure + */ + getCorporationsCorporationIdStandings: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_standings_from_id + * from_id integer + * @format int32 + */ + from_id: number; + /** + * get_corporations_corporation_id_standings_from_type + * from_type string + */ + from_type: "agent" | "npc_corp" | "faction"; + /** + * get_corporations_corporation_id_standings_standing + * standing number + * @format float + */ + standing: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/standings/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Returns list of corporation starbases (POSes) --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Corporation + * @name GetCorporationsCorporationIdStarbases + * @summary Get corporation starbases (POSes) + * @request GET:/v2/corporations/{corporation_id}/starbases/ + * @secure + */ + getCorporationsCorporationIdStarbases: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_starbases_moon_id + * The moon this starbase (POS) is anchored on, unanchored POSes do not have this information + * @format int32 + */ + moon_id?: number; + /** + * get_corporations_corporation_id_starbases_onlined_since + * When the POS onlined, for starbases (POSes) in online state + * @format date-time + */ + onlined_since?: string; + /** + * get_corporations_corporation_id_starbases_reinforced_until + * When the POS will be out of reinforcement, for starbases (POSes) in reinforced state + * @format date-time + */ + reinforced_until?: string; + /** + * get_corporations_corporation_id_starbases_starbase_id + * Unique ID for this starbase (POS) + * @format int64 + */ + starbase_id: number; + /** + * get_corporations_corporation_id_starbases_state + * state string + */ + state?: "offline" | "online" | "onlining" | "reinforced" | "unanchoring"; + /** + * get_corporations_corporation_id_starbases_system_id + * The solar system this starbase (POS) is in, unanchored POSes have this information + * @format int32 + */ + system_id: number; + /** + * get_corporations_corporation_id_starbases_type_id + * Starbase (POS) type + * @format int32 + */ + type_id: number; + /** + * get_corporations_corporation_id_starbases_unanchor_at + * When the POS started unanchoring, for starbases (POSes) in unanchoring state + * @format date-time + */ + unanchor_at?: string; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/starbases/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Returns various settings and fuels of a starbase (POS) --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Corporation + * @name GetCorporationsCorporationIdStarbasesStarbaseId + * @summary Get starbase (POS) detail + * @request GET:/v2/corporations/{corporation_id}/starbases/{starbase_id}/ + * @secure + */ + getCorporationsCorporationIdStarbasesStarbaseId: ( + corporationId: number, + starbaseId: number, + query: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * The solar system this starbase (POS) is located in, + * @format int32 + */ + system_id: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_starbases_starbase_id_allow_alliance_members + * allow_alliance_members boolean + */ + allow_alliance_members: boolean; + /** + * get_corporations_corporation_id_starbases_starbase_id_allow_corporation_members + * allow_corporation_members boolean + */ + allow_corporation_members: boolean; + /** + * get_corporations_corporation_id_starbases_starbase_id_anchor + * Who can anchor starbase (POS) and its structures + */ + anchor: + | "alliance_member" + | "config_starbase_equipment_role" + | "corporation_member" + | "starbase_fuel_technician_role"; + /** + * get_corporations_corporation_id_starbases_starbase_id_attack_if_at_war + * attack_if_at_war boolean + */ + attack_if_at_war: boolean; + /** + * get_corporations_corporation_id_starbases_starbase_id_attack_if_other_security_status_dropping + * attack_if_other_security_status_dropping boolean + */ + attack_if_other_security_status_dropping: boolean; + /** + * get_corporations_corporation_id_starbases_starbase_id_attack_security_status_threshold + * Starbase (POS) will attack if target's security standing is lower than this value + * @format float + */ + attack_security_status_threshold?: number; + /** + * get_corporations_corporation_id_starbases_starbase_id_attack_standing_threshold + * Starbase (POS) will attack if target's standing is lower than this value + * @format float + */ + attack_standing_threshold?: number; + /** + * get_corporations_corporation_id_starbases_starbase_id_fuel_bay_take + * Who can take fuel blocks out of the starbase (POS)'s fuel bay + */ + fuel_bay_take: + | "alliance_member" + | "config_starbase_equipment_role" + | "corporation_member" + | "starbase_fuel_technician_role"; + /** + * get_corporations_corporation_id_starbases_starbase_id_fuel_bay_view + * Who can view the starbase (POS)'s fule bay. Characters either need to have required role or belong to the starbase (POS) owner's corporation or alliance, as described by the enum, all other access settings follows the same scheme + */ + fuel_bay_view: + | "alliance_member" + | "config_starbase_equipment_role" + | "corporation_member" + | "starbase_fuel_technician_role"; + /** + * get_corporations_corporation_id_starbases_starbase_id_fuels + * Fuel blocks and other things that will be consumed when operating a starbase (POS) + * @maxItems 20 + */ + fuels?: { + /** + * get_corporations_corporation_id_starbases_starbase_id_quantity + * quantity integer + * @format int32 + */ + quantity: number; + /** + * get_corporations_corporation_id_starbases_starbase_id_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }[]; + /** + * get_corporations_corporation_id_starbases_starbase_id_offline + * Who can offline starbase (POS) and its structures + */ + offline: + | "alliance_member" + | "config_starbase_equipment_role" + | "corporation_member" + | "starbase_fuel_technician_role"; + /** + * get_corporations_corporation_id_starbases_starbase_id_online + * Who can online starbase (POS) and its structures + */ + online: + | "alliance_member" + | "config_starbase_equipment_role" + | "corporation_member" + | "starbase_fuel_technician_role"; + /** + * get_corporations_corporation_id_starbases_starbase_id_unanchor + * Who can unanchor starbase (POS) and its structures + */ + unanchor: + | "alliance_member" + | "config_starbase_equipment_role" + | "corporation_member" + | "starbase_fuel_technician_role"; + /** + * get_corporations_corporation_id_starbases_starbase_id_use_alliance_standings + * True if the starbase (POS) is using alliance standings, otherwise using corporation's + */ + use_alliance_standings: boolean; + }, + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/starbases/${starbaseId}/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Returns a corporation's titles --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Corporation + * @name GetCorporationsCorporationIdTitles + * @summary Get corporation titles + * @request GET:/v2/corporations/{corporation_id}/titles/ + * @secure + */ + getCorporationsCorporationIdTitles: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_titles_grantable_roles + * grantable_roles array + * @maxItems 50 + */ + grantable_roles?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_titles_grantable_roles_at_base + * grantable_roles_at_base array + * @maxItems 50 + */ + grantable_roles_at_base?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_titles_grantable_roles_at_hq + * grantable_roles_at_hq array + * @maxItems 50 + */ + grantable_roles_at_hq?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_titles_grantable_roles_at_other + * grantable_roles_at_other array + * @maxItems 50 + */ + grantable_roles_at_other?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_titles_name + * name string + */ + name?: string; + /** + * get_corporations_corporation_id_titles_roles + * roles array + * @maxItems 50 + */ + roles?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_titles_roles_at_base + * roles_at_base array + * @maxItems 50 + */ + roles_at_base?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_titles_roles_at_hq + * roles_at_hq array + * @maxItems 50 + */ + roles_at_hq?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_titles_roles_at_other + * roles_at_other array + * @maxItems 50 + */ + roles_at_other?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_corporations_corporation_id_titles_title_id + * title_id integer + * @format int32 + */ + title_id?: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/corporations/${corporationId}/titles/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Get information on a dogma effect --- This route expires daily at 11:05 + * + * @tags Dogma + * @name GetDogmaEffectsEffectId + * @summary Get effect information + * @request GET:/v2/dogma/effects/{effect_id}/ + */ + getDogmaEffectsEffectId: ( + effectId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_dogma_effects_effect_id_description + * description string + */ + description?: string; + /** + * get_dogma_effects_effect_id_disallow_auto_repeat + * disallow_auto_repeat boolean + */ + disallow_auto_repeat?: boolean; + /** + * get_dogma_effects_effect_id_discharge_attribute_id + * discharge_attribute_id integer + * @format int32 + */ + discharge_attribute_id?: number; + /** + * get_dogma_effects_effect_id_display_name + * display_name string + */ + display_name?: string; + /** + * get_dogma_effects_effect_id_duration_attribute_id + * duration_attribute_id integer + * @format int32 + */ + duration_attribute_id?: number; + /** + * get_dogma_effects_effect_id_effect_category + * effect_category integer + * @format int32 + */ + effect_category?: number; + /** + * get_dogma_effects_effect_id_effect_id + * effect_id integer + * @format int32 + */ + effect_id: number; + /** + * get_dogma_effects_effect_id_electronic_chance + * electronic_chance boolean + */ + electronic_chance?: boolean; + /** + * get_dogma_effects_effect_id_falloff_attribute_id + * falloff_attribute_id integer + * @format int32 + */ + falloff_attribute_id?: number; + /** + * get_dogma_effects_effect_id_icon_id + * icon_id integer + * @format int32 + */ + icon_id?: number; + /** + * get_dogma_effects_effect_id_is_assistance + * is_assistance boolean + */ + is_assistance?: boolean; + /** + * get_dogma_effects_effect_id_is_offensive + * is_offensive boolean + */ + is_offensive?: boolean; + /** + * get_dogma_effects_effect_id_is_warp_safe + * is_warp_safe boolean + */ + is_warp_safe?: boolean; + /** + * get_dogma_effects_effect_id_modifiers + * modifiers array + * @maxItems 100 + */ + modifiers?: { + /** + * get_dogma_effects_effect_id_domain + * domain string + */ + domain?: string; + /** + * get_dogma_effects_effect_id_modifier_effect_id + * effect_id integer + * @format int32 + */ + effect_id?: number; + /** + * get_dogma_effects_effect_id_func + * func string + */ + func: string; + /** + * get_dogma_effects_effect_id_modified_attribute_id + * modified_attribute_id integer + * @format int32 + */ + modified_attribute_id?: number; + /** + * get_dogma_effects_effect_id_modifying_attribute_id + * modifying_attribute_id integer + * @format int32 + */ + modifying_attribute_id?: number; + /** + * get_dogma_effects_effect_id_operator + * operator integer + * @format int32 + */ + operator?: number; + }[]; + /** + * get_dogma_effects_effect_id_name + * name string + */ + name?: string; + /** + * get_dogma_effects_effect_id_post_expression + * post_expression integer + * @format int32 + */ + post_expression?: number; + /** + * get_dogma_effects_effect_id_pre_expression + * pre_expression integer + * @format int32 + */ + pre_expression?: number; + /** + * get_dogma_effects_effect_id_published + * published boolean + */ + published?: boolean; + /** + * get_dogma_effects_effect_id_range_attribute_id + * range_attribute_id integer + * @format int32 + */ + range_attribute_id?: number; + /** + * get_dogma_effects_effect_id_range_chance + * range_chance boolean + */ + range_chance?: boolean; + /** + * get_dogma_effects_effect_id_tracking_speed_attribute_id + * tracking_speed_attribute_id integer + * @format int32 + */ + tracking_speed_attribute_id?: number; + }, + | void + | BadRequest + | { + /** + * get_dogma_effects_effect_id_404_not_found + * Not found message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v2/dogma/effects/${effectId}/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description An overview of the current ownership of faction warfare solar systems --- This route is cached for up to 1800 seconds + * + * @tags Faction Warfare + * @name GetFwSystems + * @summary Ownership of faction warfare systems + * @request GET:/v2/fw/systems/ + */ + getFwSystems: ( + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_fw_systems_contested + * contested string + */ + contested: "captured" | "contested" | "uncontested" | "vulnerable"; + /** + * get_fw_systems_occupier_faction_id + * occupier_faction_id integer + * @format int32 + */ + occupier_faction_id: number; + /** + * get_fw_systems_owner_faction_id + * owner_faction_id integer + * @format int32 + */ + owner_faction_id: number; + /** + * get_fw_systems_solar_system_id + * solar_system_id integer + * @format int32 + */ + solar_system_id: number; + /** + * get_fw_systems_victory_points + * victory_points integer + * @format int32 + */ + victory_points: number; + /** + * get_fw_systems_victory_points_threshold + * victory_points_threshold integer + * @format int32 + */ + victory_points_threshold: number; + }[], + void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/fw/systems/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Set a solar system as autopilot waypoint --- + * + * @tags User Interface + * @name PostUiAutopilotWaypoint + * @summary Set Autopilot Waypoint + * @request POST:/v2/ui/autopilot/waypoint/ + * @secure + */ + postUiAutopilotWaypoint: ( + query: { + /** + * Whether this solar system should be added to the beginning of all waypoints + * @default false + */ + add_to_beginning: boolean; + /** + * Whether clean other waypoints beforing adding this one + * @default false + */ + clear_other_waypoints: boolean; + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * The destination to travel to, can be solar system, station or structure's id + * @format int64 + */ + destination_id: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + void, + BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/ui/autopilot/waypoint/`, + method: "POST", + query: query, + secure: true, + ...params, + }), + + /** + * @description Get a list of factions --- This route expires daily at 11:05 + * + * @tags Universe + * @name GetUniverseFactions + * @summary Get factions + * @request GET:/v2/universe/factions/ + */ + getUniverseFactions: ( + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Language to use in the response, takes precedence over Accept-Language + * @default "en" + */ + language?: "en" | "en-us" | "de" | "fr" | "ja" | "ru" | "zh" | "ko" | "es"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_universe_factions_corporation_id + * corporation_id integer + * @format int32 + */ + corporation_id?: number; + /** + * get_universe_factions_description + * description string + */ + description: string; + /** + * get_universe_factions_faction_id + * faction_id integer + * @format int32 + */ + faction_id: number; + /** + * get_universe_factions_is_unique + * is_unique boolean + */ + is_unique: boolean; + /** + * get_universe_factions_militia_corporation_id + * militia_corporation_id integer + * @format int32 + */ + militia_corporation_id?: number; + /** + * get_universe_factions_name + * name string + */ + name: string; + /** + * get_universe_factions_size_factor + * size_factor number + * @format float + */ + size_factor: number; + /** + * get_universe_factions_solar_system_id + * solar_system_id integer + * @format int32 + */ + solar_system_id?: number; + /** + * get_universe_factions_station_count + * station_count integer + * @format int32 + */ + station_count: number; + /** + * get_universe_factions_station_system_count + * station_system_count integer + * @format int32 + */ + station_system_count: number; + }[], + void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v2/universe/factions/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Get information on a station --- This route expires daily at 11:05 * * @tags Universe * @name GetUniverseStationsStationId * @summary Get station information - * @request GET:/universe/stations/{station_id}/ + * @request GET:/v2/universe/stations/{station_id}/ */ getUniverseStationsStationId: ( stationId: number, @@ -18413,7 +15007,7 @@ export class Api extends HttpClient({ - path: `/universe/stations/${stationId}/`, + path: `/v2/universe/stations/${stationId}/`, method: "GET", query: query, format: "json", @@ -18421,43 +15015,12 @@ export class Api extends HttpClient - this.request< - number[], - void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/universe/structures/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Returns information on requested structure if you are on the ACL. Otherwise, returns "Forbidden" for all inputs. --- Alternate route: `/v2/universe/structures/{structure_id}/` --- This route is cached for up to 3600 seconds + * @description Returns information on requested structure if you are on the ACL. Otherwise, returns "Forbidden" for all inputs. --- This route is cached for up to 3600 seconds * * @tags Universe * @name GetUniverseStructuresStructureId * @summary Get structure information - * @request GET:/universe/structures/{structure_id}/ + * @request GET:/v2/universe/structures/{structure_id}/ * @secure */ getUniverseStructuresStructureId: ( @@ -18539,7 +15102,7 @@ export class Api extends HttpClient({ - path: `/universe/structures/${structureId}/`, + path: `/v2/universe/structures/${structureId}/`, method: "GET", query: query, secure: true, @@ -18548,54 +15111,12 @@ export class Api extends HttpClient - this.request< - { - /** - * get_universe_system_jumps_ship_jumps - * ship_jumps integer - * @format int32 - */ - ship_jumps: number; - /** - * get_universe_system_jumps_system_id - * system_id integer - * @format int32 - */ - system_id: number; - }[], - void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/universe/system_jumps/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Get the number of ship, pod and NPC kills per solar system within the last hour ending at the timestamp of the Last-Modified header, excluding wormhole space. Only systems with kills will be listed --- Alternate route: `/v2/universe/system_kills/` --- This route is cached for up to 3600 seconds + * @description Get the number of ship, pod and NPC kills per solar system within the last hour ending at the timestamp of the Last-Modified header, excluding wormhole space. Only systems with kills will be listed --- This route is cached for up to 3600 seconds * * @tags Universe * @name GetUniverseSystemKills * @summary Get system kills - * @request GET:/universe/system_kills/ + * @request GET:/v2/universe/system_kills/ */ getUniverseSystemKills: ( query?: { @@ -18636,22 +15157,24 @@ export class Api extends HttpClient({ - path: `/universe/system_kills/`, + path: `/v2/universe/system_kills/`, method: "GET", query: query, format: "json", ...params, }), - + }; + v3 = { /** - * @description Get a list of solar systems --- Alternate route: `/dev/universe/systems/` Alternate route: `/legacy/universe/systems/` Alternate route: `/v1/universe/systems/` --- This route expires daily at 11:05 + * @description Public information about an alliance --- This route is cached for up to 3600 seconds * - * @tags Universe - * @name GetUniverseSystems - * @summary Get solar systems - * @request GET:/universe/systems/ + * @tags Alliance + * @name GetAlliancesAllianceId + * @summary Get alliance information + * @request GET:/v3/alliances/{alliance_id}/ */ - getUniverseSystems: ( + getAlliancesAllianceId: ( + allianceId: number, query?: { /** * The server name you would like data from @@ -18660,145 +15183,55 @@ export class Api extends HttpClient - this.request< - number[], - void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/universe/systems/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Get information on a solar system. --- Alternate route: `/dev/universe/systems/{system_id}/` Alternate route: `/v4/universe/systems/{system_id}/` --- This route expires daily at 11:05 - * - * @tags Universe - * @name GetUniverseSystemsSystemId - * @summary Get solar system information - * @request GET:/universe/systems/{system_id}/ - */ - getUniverseSystemsSystemId: ( - systemId: number, - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Language to use in the response, takes precedence over Accept-Language - * @default "en" - */ - language?: "en" | "en-us" | "de" | "fr" | "ja" | "ru" | "zh" | "ko" | "es"; - }, - params: RequestParams = {}, ) => this.request< { /** - * get_universe_systems_system_id_constellation_id - * The constellation this solar system is in + * get_alliances_alliance_id_creator_corporation_id + * ID of the corporation that created the alliance * @format int32 */ - constellation_id: number; + creator_corporation_id: number; /** - * get_universe_systems_system_id_name - * name string + * get_alliances_alliance_id_creator_id + * ID of the character that created the alliance + * @format int32 + */ + creator_id: number; + /** + * get_alliances_alliance_id_date_founded + * date_founded string + * @format date-time + */ + date_founded: string; + /** + * get_alliances_alliance_id_executor_corporation_id + * the executor corporation ID, if this alliance is not closed + * @format int32 + */ + executor_corporation_id?: number; + /** + * get_alliances_alliance_id_faction_id + * Faction ID this alliance is fighting for, if this alliance is enlisted in factional warfare + * @format int32 + */ + faction_id?: number; + /** + * get_alliances_alliance_id_name + * the full name of the alliance */ name: string; /** - * get_universe_systems_system_id_planets - * planets array - * @maxItems 1000 + * get_alliances_alliance_id_ticker + * the short name of the alliance */ - planets?: { - /** - * get_universe_systems_system_id_asteroid_belts - * asteroid_belts array - * @maxItems 100 - */ - asteroid_belts?: number[]; - /** - * get_universe_systems_system_id_moons - * moons array - * @maxItems 1000 - */ - moons?: number[]; - /** - * get_universe_systems_system_id_planet_id - * planet_id integer - * @format int32 - */ - planet_id: number; - }[]; - /** - * get_universe_systems_system_id_position - * position object - */ - position: { - /** - * get_universe_systems_system_id_x - * x number - * @format double - */ - x: number; - /** - * get_universe_systems_system_id_y - * y number - * @format double - */ - y: number; - /** - * get_universe_systems_system_id_z - * z number - * @format double - */ - z: number; - }; - /** - * get_universe_systems_system_id_security_class - * security_class string - */ - security_class?: string; - /** - * get_universe_systems_system_id_security_status - * security_status number - * @format float - */ - security_status: number; - /** - * get_universe_systems_system_id_star_id - * star_id integer - * @format int32 - */ - star_id?: number; - /** - * get_universe_systems_system_id_stargates - * stargates array - * @maxItems 25 - */ - stargates?: number[]; - /** - * get_universe_systems_system_id_stations - * stations array - * @maxItems 25 - */ - stations?: number[]; - /** - * get_universe_systems_system_id_system_id - * system_id integer - * @format int32 - */ - system_id: number; + ticker: string; }, | void | BadRequest | { /** - * get_universe_systems_system_id_404_not_found + * get_alliances_alliance_id_404_not_found * Not found message */ error?: string; @@ -18808,7 +15241,7 @@ export class Api extends HttpClient({ - path: `/universe/systems/${systemId}/`, + path: `/v3/alliances/${allianceId}/`, method: "GET", query: query, format: "json", @@ -18816,14 +15249,16 @@ export class Api extends HttpClient extends HttpClient this.request< - number[], + { + /** + * get_characters_character_id_blueprints_item_id + * Unique ID for this item. + * @format int64 + */ + item_id: number; + /** + * get_characters_character_id_blueprints_location_flag + * Type of the location_id + */ + location_flag: + | "AutoFit" + | "Cargo" + | "CorpseBay" + | "DroneBay" + | "FleetHangar" + | "Deliveries" + | "HiddenModifiers" + | "Hangar" + | "HangarAll" + | "LoSlot0" + | "LoSlot1" + | "LoSlot2" + | "LoSlot3" + | "LoSlot4" + | "LoSlot5" + | "LoSlot6" + | "LoSlot7" + | "MedSlot0" + | "MedSlot1" + | "MedSlot2" + | "MedSlot3" + | "MedSlot4" + | "MedSlot5" + | "MedSlot6" + | "MedSlot7" + | "HiSlot0" + | "HiSlot1" + | "HiSlot2" + | "HiSlot3" + | "HiSlot4" + | "HiSlot5" + | "HiSlot6" + | "HiSlot7" + | "AssetSafety" + | "Locked" + | "Unlocked" + | "Implant" + | "QuafeBay" + | "RigSlot0" + | "RigSlot1" + | "RigSlot2" + | "RigSlot3" + | "RigSlot4" + | "RigSlot5" + | "RigSlot6" + | "RigSlot7" + | "ShipHangar" + | "SpecializedFuelBay" + | "SpecializedOreHold" + | "SpecializedGasHold" + | "SpecializedMineralHold" + | "SpecializedSalvageHold" + | "SpecializedShipHold" + | "SpecializedSmallShipHold" + | "SpecializedMediumShipHold" + | "SpecializedLargeShipHold" + | "SpecializedIndustrialShipHold" + | "SpecializedAmmoHold" + | "SpecializedCommandCenterHold" + | "SpecializedPlanetaryCommoditiesHold" + | "SpecializedMaterialBay" + | "SubSystemSlot0" + | "SubSystemSlot1" + | "SubSystemSlot2" + | "SubSystemSlot3" + | "SubSystemSlot4" + | "SubSystemSlot5" + | "SubSystemSlot6" + | "SubSystemSlot7" + | "FighterBay" + | "FighterTube0" + | "FighterTube1" + | "FighterTube2" + | "FighterTube3" + | "FighterTube4" + | "Module"; + /** + * get_characters_character_id_blueprints_location_id + * References a station, a ship or an item_id if this blueprint is located within a container. If the return value is an item_id, then the Character AssetList API must be queried to find the container using the given item_id to determine the correct location of the Blueprint. + * @format int64 + */ + location_id: number; + /** + * get_characters_character_id_blueprints_material_efficiency + * Material Efficiency Level of the blueprint. + * @format int32 + * @min 0 + * @max 25 + */ + material_efficiency: number; + /** + * get_characters_character_id_blueprints_quantity + * A range of numbers with a minimum of -2 and no maximum value where -1 is an original and -2 is a copy. It can be a positive integer if it is a stack of blueprint originals fresh from the market (e.g. no activities performed on them yet). + * @format int32 + * @min -2 + */ + quantity: number; + /** + * get_characters_character_id_blueprints_runs + * Number of runs remaining if the blueprint is a copy, -1 if it is an original. + * @format int32 + * @min -1 + */ + runs: number; + /** + * get_characters_character_id_blueprints_time_efficiency + * Time Efficiency Level of the blueprint. + * @format int32 + * @min 0 + * @max 20 + */ + time_efficiency: number; + /** + * get_characters_character_id_blueprints_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/characters/${characterId}/blueprints/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Get all the information for a specific event --- This route is cached for up to 5 seconds + * + * @tags Calendar + * @name GetCharactersCharacterIdCalendarEventId + * @summary Get an event + * @request GET:/v3/characters/{character_id}/calendar/{event_id}/ + * @secure + */ + getCharactersCharacterIdCalendarEventId: ( + characterId: number, + eventId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_calendar_event_id_date + * date string + * @format date-time + */ + date: string; + /** + * get_characters_character_id_calendar_event_id_duration + * Length in minutes + * @format int32 + */ + duration: number; + /** + * get_characters_character_id_calendar_event_id_event_id + * event_id integer + * @format int32 + */ + event_id: number; + /** + * get_characters_character_id_calendar_event_id_importance + * importance integer + * @format int32 + */ + importance: number; + /** + * get_characters_character_id_calendar_event_id_owner_id + * owner_id integer + * @format int32 + */ + owner_id: number; + /** + * get_characters_character_id_calendar_event_id_owner_name + * owner_name string + */ + owner_name: string; + /** + * get_characters_character_id_calendar_event_id_owner_type + * owner_type string + */ + owner_type: "eve_server" | "corporation" | "faction" | "character" | "alliance"; + /** + * get_characters_character_id_calendar_event_id_response + * response string + */ + response: string; + /** + * get_characters_character_id_calendar_event_id_text + * text string + */ + text: string; + /** + * get_characters_character_id_calendar_event_id_title + * title string + */ + title: string; + }, + | void + | BadRequest + | Unauthorized + | Forbidden + | { + /** + * get_characters_character_id_calendar_event_id_404_not_found + * Not found message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/characters/${characterId}/calendar/${eventId}/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Set your response status to an event --- This route is cached for up to 5 seconds + * + * @tags Calendar + * @name PutCharactersCharacterIdCalendarEventId + * @summary Respond to an event + * @request PUT:/v3/characters/{character_id}/calendar/{event_id}/ + * @secure + */ + putCharactersCharacterIdCalendarEventId: ( + characterId: number, + eventId: number, + response: { + /** + * put_characters_character_id_calendar_event_id_response_response + * response string + */ + response: "accepted" | "declined" | "tentative"; + }, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + void, + BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v3/characters/${characterId}/calendar/${eventId}/`, + method: "PUT", + query: query, + body: response, + secure: true, + type: ContentType.Json, + ...params, + }), + + /** + * @description A list of the character's clones --- This route is cached for up to 120 seconds + * + * @tags Clones + * @name GetCharactersCharacterIdClones + * @summary Get clones + * @request GET:/v3/characters/{character_id}/clones/ + * @secure + */ + getCharactersCharacterIdClones: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_clones_home_location + * home_location object + */ + home_location?: { + /** + * get_characters_character_id_clones_location_id + * location_id integer + * @format int64 + */ + location_id?: number; + /** + * get_characters_character_id_clones_location_type + * location_type string + */ + location_type?: "station" | "structure"; + }; + /** + * get_characters_character_id_clones_jump_clones + * jump_clones array + * @maxItems 64 + */ + jump_clones: { + /** + * get_characters_character_id_clones_implants + * implants array + * @maxItems 64 + */ + implants: number[]; + /** + * get_characters_character_id_clones_jump_clone_id + * jump_clone_id integer + * @format int32 + */ + jump_clone_id: number; + /** + * get_characters_character_id_clones_jump_clone_location_id + * location_id integer + * @format int64 + */ + location_id: number; + /** + * get_characters_character_id_clones_jump_clone_location_type + * location_type string + */ + location_type: "station" | "structure"; + /** + * get_characters_character_id_clones_name + * name string + */ + name?: string; + }[]; + /** + * get_characters_character_id_clones_last_clone_jump_date + * last_clone_jump_date string + * @format date-time + */ + last_clone_jump_date?: string; + /** + * get_characters_character_id_clones_last_station_change_date + * last_station_change_date string + * @format date-time + */ + last_station_change_date?: string; + }, + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/characters/${characterId}/clones/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Return a list of the users mail labels, unread counts for each label and a total unread count. --- This route is cached for up to 30 seconds + * + * @tags Mail + * @name GetCharactersCharacterIdMailLabels + * @summary Get mail labels and unread counts + * @request GET:/v3/characters/{character_id}/mail/labels/ + * @secure + */ + getCharactersCharacterIdMailLabels: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_mail_labels_labels + * labels array + * @maxItems 30 + */ + labels?: { + /** + * get_characters_character_id_mail_labels_color + * color string + * @default "#ffffff" + */ + color?: + | "#0000fe" + | "#006634" + | "#0099ff" + | "#00ff33" + | "#01ffff" + | "#349800" + | "#660066" + | "#666666" + | "#999999" + | "#99ffff" + | "#9a0000" + | "#ccff9a" + | "#e6e6e6" + | "#fe0000" + | "#ff6600" + | "#ffff01" + | "#ffffcd" + | "#ffffff"; + /** + * get_characters_character_id_mail_labels_label_id + * label_id integer + * @format int32 + * @min 0 + */ + label_id?: number; + /** + * get_characters_character_id_mail_labels_name + * name string + * @maxLength 40 + */ + name?: string; + /** + * get_characters_character_id_mail_labels_unread_count + * unread_count integer + * @format int32 + * @min 0 + */ + unread_count?: number; + }[]; + /** + * get_characters_character_id_mail_labels_total_unread_count + * total_unread_count integer + * @format int32 + * @min 0 + */ + total_unread_count?: number; + }, + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/characters/${characterId}/mail/labels/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Returns full details on the layout of a single planetary colony, including links, pins and routes. Note: Planetary information is only recalculated when the colony is viewed through the client. Information will not update until this criteria is met. --- + * + * @tags Planetary Interaction + * @name GetCharactersCharacterIdPlanetsPlanetId + * @summary Get colony layout + * @request GET:/v3/characters/{character_id}/planets/{planet_id}/ + * @secure + */ + getCharactersCharacterIdPlanetsPlanetId: ( + characterId: number, + planetId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_planets_planet_id_links + * links array + * @maxItems 500 + */ + links: { + /** + * get_characters_character_id_planets_planet_id_destination_pin_id + * destination_pin_id integer + * @format int64 + */ + destination_pin_id: number; + /** + * get_characters_character_id_planets_planet_id_link_level + * link_level integer + * @format int32 + * @min 0 + * @max 10 + */ + link_level: number; + /** + * get_characters_character_id_planets_planet_id_source_pin_id + * source_pin_id integer + * @format int64 + */ + source_pin_id: number; + }[]; + /** + * get_characters_character_id_planets_planet_id_pins + * pins array + * @maxItems 100 + */ + pins: { + /** + * get_characters_character_id_planets_planet_id_contents + * contents array + * @maxItems 90 + */ + contents?: { + /** + * get_characters_character_id_planets_planet_id_amount + * amount integer + * @format int64 + */ + amount: number; + /** + * get_characters_character_id_planets_planet_id_content_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }[]; + /** + * get_characters_character_id_planets_planet_id_expiry_time + * expiry_time string + * @format date-time + */ + expiry_time?: string; + /** + * get_characters_character_id_planets_planet_id_extractor_details + * extractor_details object + */ + extractor_details?: { + /** + * get_characters_character_id_planets_planet_id_cycle_time + * in seconds + * @format int32 + */ + cycle_time?: number; + /** + * get_characters_character_id_planets_planet_id_head_radius + * head_radius number + * @format float + */ + head_radius?: number; + /** + * get_characters_character_id_planets_planet_id_heads + * heads array + * @maxItems 10 + */ + heads: { + /** + * get_characters_character_id_planets_planet_id_head_id + * head_id integer + * @format int32 + * @min 0 + * @max 9 + */ + head_id: number; + /** + * get_characters_character_id_planets_planet_id_head_latitude + * latitude number + * @format float + */ + latitude: number; + /** + * get_characters_character_id_planets_planet_id_head_longitude + * longitude number + * @format float + */ + longitude: number; + }[]; + /** + * get_characters_character_id_planets_planet_id_product_type_id + * product_type_id integer + * @format int32 + */ + product_type_id?: number; + /** + * get_characters_character_id_planets_planet_id_qty_per_cycle + * qty_per_cycle integer + * @format int32 + */ + qty_per_cycle?: number; + }; + /** + * get_characters_character_id_planets_planet_id_factory_details + * factory_details object + */ + factory_details?: { + /** + * get_characters_character_id_planets_planet_id_factory_details_schematic_id + * schematic_id integer + * @format int32 + */ + schematic_id: number; + }; + /** + * get_characters_character_id_planets_planet_id_install_time + * install_time string + * @format date-time + */ + install_time?: string; + /** + * get_characters_character_id_planets_planet_id_last_cycle_start + * last_cycle_start string + * @format date-time + */ + last_cycle_start?: string; + /** + * get_characters_character_id_planets_planet_id_latitude + * latitude number + * @format float + */ + latitude: number; + /** + * get_characters_character_id_planets_planet_id_longitude + * longitude number + * @format float + */ + longitude: number; + /** + * get_characters_character_id_planets_planet_id_pin_id + * pin_id integer + * @format int64 + */ + pin_id: number; + /** + * get_characters_character_id_planets_planet_id_schematic_id + * schematic_id integer + * @format int32 + */ + schematic_id?: number; + /** + * get_characters_character_id_planets_planet_id_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }[]; + /** + * get_characters_character_id_planets_planet_id_routes + * routes array + * @maxItems 1000 + */ + routes: { + /** + * get_characters_character_id_planets_planet_id_route_content_type_id + * content_type_id integer + * @format int32 + */ + content_type_id: number; + /** + * get_characters_character_id_planets_planet_id_route_destination_pin_id + * destination_pin_id integer + * @format int64 + */ + destination_pin_id: number; + /** + * get_characters_character_id_planets_planet_id_quantity + * quantity number + * @format float + */ + quantity: number; + /** + * get_characters_character_id_planets_planet_id_route_id + * route_id integer + * @format int64 + */ + route_id: number; + /** + * get_characters_character_id_planets_planet_id_route_source_pin_id + * source_pin_id integer + * @format int64 + */ + source_pin_id: number; + /** + * get_characters_character_id_planets_planet_id_waypoints + * list of pin ID waypoints + * @maxItems 5 + */ + waypoints?: number[]; + }[]; + }, + | BadRequest + | Unauthorized + | Forbidden + | { + /** + * get_characters_character_id_planets_planet_id_error + * error message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/characters/${characterId}/planets/${planetId}/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Returns a character's corporation roles --- This route is cached for up to 3600 seconds + * + * @tags Character + * @name GetCharactersCharacterIdRoles + * @summary Get character corporation roles + * @request GET:/v3/characters/{character_id}/roles/ + * @secure + */ + getCharactersCharacterIdRoles: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_roles_roles + * roles array + * @maxItems 50 + */ + roles?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_characters_character_id_roles_roles_at_base + * roles_at_base array + * @maxItems 50 + */ + roles_at_base?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_characters_character_id_roles_roles_at_hq + * roles_at_hq array + * @maxItems 50 + */ + roles_at_hq?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + /** + * get_characters_character_id_roles_roles_at_other + * roles_at_other array + * @maxItems 50 + */ + roles_at_other?: ( + | "Account_Take_1" + | "Account_Take_2" + | "Account_Take_3" + | "Account_Take_4" + | "Account_Take_5" + | "Account_Take_6" + | "Account_Take_7" + | "Accountant" + | "Auditor" + | "Communications_Officer" + | "Config_Equipment" + | "Config_Starbase_Equipment" + | "Container_Take_1" + | "Container_Take_2" + | "Container_Take_3" + | "Container_Take_4" + | "Container_Take_5" + | "Container_Take_6" + | "Container_Take_7" + | "Contract_Manager" + | "Diplomat" + | "Director" + | "Factory_Manager" + | "Fitting_Manager" + | "Hangar_Query_1" + | "Hangar_Query_2" + | "Hangar_Query_3" + | "Hangar_Query_4" + | "Hangar_Query_5" + | "Hangar_Query_6" + | "Hangar_Query_7" + | "Hangar_Take_1" + | "Hangar_Take_2" + | "Hangar_Take_3" + | "Hangar_Take_4" + | "Hangar_Take_5" + | "Hangar_Take_6" + | "Hangar_Take_7" + | "Junior_Accountant" + | "Personnel_Manager" + | "Rent_Factory_Facility" + | "Rent_Office" + | "Rent_Research_Facility" + | "Security_Officer" + | "Skill_Plan_Manager" + | "Starbase_Defense_Operator" + | "Starbase_Fuel_Technician" + | "Station_Manager" + | "Trader" + )[]; + }, + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/characters/${characterId}/roles/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Search for entities that match a given sub-string. --- This route is cached for up to 3600 seconds + * + * @tags Search + * @name GetCharactersCharacterIdSearch + * @summary Search on a string + * @request GET:/v3/characters/{character_id}/search/ + * @secure + */ + getCharactersCharacterIdSearch: ( + characterId: number, + query: { + /** + * Type of entities to search for + * @maxItems 11 + * @minItems 1 + * @uniqueItems true + */ + categories: ( + | "agent" + | "alliance" + | "character" + | "constellation" + | "corporation" + | "faction" + | "inventory_type" + | "region" + | "solar_system" + | "station" + | "structure" + )[]; + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Language to use in the response, takes precedence over Accept-Language + * @default "en" + */ + language?: "en" | "en-us" | "de" | "fr" | "ja" | "ru" | "zh" | "ko" | "es"; + /** + * The string to search on + * @minLength 3 + */ + search: string; + /** + * Whether the search should be a strict match + * @default false + */ + strict?: boolean; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_search_agent + * agent array + * @maxItems 500 + */ + agent?: number[]; + /** + * get_characters_character_id_search_alliance + * alliance array + * @maxItems 500 + */ + alliance?: number[]; + /** + * get_characters_character_id_search_character + * character array + * @maxItems 500 + */ + character?: number[]; + /** + * get_characters_character_id_search_constellation + * constellation array + * @maxItems 500 + */ + constellation?: number[]; + /** + * get_characters_character_id_search_corporation + * corporation array + * @maxItems 500 + */ + corporation?: number[]; + /** + * get_characters_character_id_search_faction + * faction array + * @maxItems 500 + */ + faction?: number[]; + /** + * get_characters_character_id_search_inventory_type + * inventory_type array + * @maxItems 500 + */ + inventory_type?: number[]; + /** + * get_characters_character_id_search_region + * region array + * @maxItems 500 + */ + region?: number[]; + /** + * get_characters_character_id_search_solar_system + * solar_system array + * @maxItems 500 + */ + solar_system?: number[]; + /** + * get_characters_character_id_search_station + * station array + * @maxItems 500 + */ + station?: number[]; + /** + * get_characters_character_id_search_structure + * structure array + * @maxItems 500 + */ + structure?: number[]; + }, + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/characters/${characterId}/search/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Get a list of all the alliances a corporation has been a member of --- This route is cached for up to 3600 seconds + * + * @tags Corporation + * @name GetCorporationsCorporationIdAlliancehistory + * @summary Get alliance history + * @request GET:/v3/corporations/{corporation_id}/alliancehistory/ + */ + getCorporationsCorporationIdAlliancehistory: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_alliancehistory_alliance_id + * alliance_id integer + * @format int32 + */ + alliance_id?: number; + /** + * get_corporations_corporation_id_alliancehistory_is_deleted + * True if the alliance has been closed + */ + is_deleted?: boolean; + /** + * get_corporations_corporation_id_alliancehistory_record_id + * An incrementing ID that can be used to canonically establish order of records in cases where dates may be ambiguous + * @format int32 + */ + record_id: number; + /** + * get_corporations_corporation_id_alliancehistory_start_date + * start_date string + * @format date-time + */ + start_date: string; + }[], void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout >({ - path: `/universe/types/`, + path: `/v3/corporations/${corporationId}/alliancehistory/`, method: "GET", query: query, format: "json", @@ -18852,12 +16505,684 @@ export class Api extends HttpClient + this.request< + { + /** + * get_corporations_corporation_id_blueprints_item_id + * Unique ID for this item. + * @format int64 + */ + item_id: number; + /** + * get_corporations_corporation_id_blueprints_location_flag + * Type of the location_id + */ + location_flag: + | "AssetSafety" + | "AutoFit" + | "Bonus" + | "Booster" + | "BoosterBay" + | "Capsule" + | "Cargo" + | "CorpDeliveries" + | "CorpSAG1" + | "CorpSAG2" + | "CorpSAG3" + | "CorpSAG4" + | "CorpSAG5" + | "CorpSAG6" + | "CorpSAG7" + | "CrateLoot" + | "Deliveries" + | "DroneBay" + | "DustBattle" + | "DustDatabank" + | "FighterBay" + | "FighterTube0" + | "FighterTube1" + | "FighterTube2" + | "FighterTube3" + | "FighterTube4" + | "FleetHangar" + | "FrigateEscapeBay" + | "Hangar" + | "HangarAll" + | "HiSlot0" + | "HiSlot1" + | "HiSlot2" + | "HiSlot3" + | "HiSlot4" + | "HiSlot5" + | "HiSlot6" + | "HiSlot7" + | "HiddenModifiers" + | "Implant" + | "Impounded" + | "JunkyardReprocessed" + | "JunkyardTrashed" + | "LoSlot0" + | "LoSlot1" + | "LoSlot2" + | "LoSlot3" + | "LoSlot4" + | "LoSlot5" + | "LoSlot6" + | "LoSlot7" + | "Locked" + | "MedSlot0" + | "MedSlot1" + | "MedSlot2" + | "MedSlot3" + | "MedSlot4" + | "MedSlot5" + | "MedSlot6" + | "MedSlot7" + | "OfficeFolder" + | "Pilot" + | "PlanetSurface" + | "QuafeBay" + | "QuantumCoreRoom" + | "Reward" + | "RigSlot0" + | "RigSlot1" + | "RigSlot2" + | "RigSlot3" + | "RigSlot4" + | "RigSlot5" + | "RigSlot6" + | "RigSlot7" + | "SecondaryStorage" + | "ServiceSlot0" + | "ServiceSlot1" + | "ServiceSlot2" + | "ServiceSlot3" + | "ServiceSlot4" + | "ServiceSlot5" + | "ServiceSlot6" + | "ServiceSlot7" + | "ShipHangar" + | "ShipOffline" + | "Skill" + | "SkillInTraining" + | "SpecializedAmmoHold" + | "SpecializedCommandCenterHold" + | "SpecializedFuelBay" + | "SpecializedGasHold" + | "SpecializedIndustrialShipHold" + | "SpecializedLargeShipHold" + | "SpecializedMaterialBay" + | "SpecializedMediumShipHold" + | "SpecializedMineralHold" + | "SpecializedOreHold" + | "SpecializedPlanetaryCommoditiesHold" + | "SpecializedSalvageHold" + | "SpecializedShipHold" + | "SpecializedSmallShipHold" + | "StructureActive" + | "StructureFuel" + | "StructureInactive" + | "StructureOffline" + | "SubSystemBay" + | "SubSystemSlot0" + | "SubSystemSlot1" + | "SubSystemSlot2" + | "SubSystemSlot3" + | "SubSystemSlot4" + | "SubSystemSlot5" + | "SubSystemSlot6" + | "SubSystemSlot7" + | "Unlocked" + | "Wallet" + | "Wardrobe"; + /** + * get_corporations_corporation_id_blueprints_location_id + * References a station, a ship or an item_id if this blueprint is located within a container. + * @format int64 + */ + location_id: number; + /** + * get_corporations_corporation_id_blueprints_material_efficiency + * Material Efficiency Level of the blueprint. + * @format int32 + * @min 0 + * @max 25 + */ + material_efficiency: number; + /** + * get_corporations_corporation_id_blueprints_quantity + * A range of numbers with a minimum of -2 and no maximum value where -1 is an original and -2 is a copy. It can be a positive integer if it is a stack of blueprint originals fresh from the market (e.g. no activities performed on them yet). + * @format int32 + * @min -2 + */ + quantity: number; + /** + * get_corporations_corporation_id_blueprints_runs + * Number of runs remaining if the blueprint is a copy, -1 if it is an original. + * @format int32 + * @min -1 + */ + runs: number; + /** + * get_corporations_corporation_id_blueprints_time_efficiency + * Time Efficiency Level of the blueprint. + * @format int32 + * @min 0 + * @max 20 + */ + time_efficiency: number; + /** + * get_corporations_corporation_id_blueprints_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/corporations/${corporationId}/blueprints/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation --- This route is cached for up to 600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Corporation + * @name GetCorporationsCorporationIdContainersLogs + * @summary Get all corporation ALSC logs + * @request GET:/v3/corporations/{corporation_id}/containers/logs/ + * @secure + */ + getCorporationsCorporationIdContainersLogs: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_containers_logs_action + * action string + */ + action: + | "add" + | "assemble" + | "configure" + | "enter_password" + | "lock" + | "move" + | "repackage" + | "set_name" + | "set_password" + | "unlock"; + /** + * get_corporations_corporation_id_containers_logs_character_id + * ID of the character who performed the action. + * @format int32 + */ + character_id: number; + /** + * get_corporations_corporation_id_containers_logs_container_id + * ID of the container + * @format int64 + */ + container_id: number; + /** + * get_corporations_corporation_id_containers_logs_container_type_id + * Type ID of the container + * @format int32 + */ + container_type_id: number; + /** + * get_corporations_corporation_id_containers_logs_location_flag + * location_flag string + */ + location_flag: + | "AssetSafety" + | "AutoFit" + | "Bonus" + | "Booster" + | "BoosterBay" + | "Capsule" + | "Cargo" + | "CorpDeliveries" + | "CorpSAG1" + | "CorpSAG2" + | "CorpSAG3" + | "CorpSAG4" + | "CorpSAG5" + | "CorpSAG6" + | "CorpSAG7" + | "CrateLoot" + | "Deliveries" + | "DroneBay" + | "DustBattle" + | "DustDatabank" + | "FighterBay" + | "FighterTube0" + | "FighterTube1" + | "FighterTube2" + | "FighterTube3" + | "FighterTube4" + | "FleetHangar" + | "FrigateEscapeBay" + | "Hangar" + | "HangarAll" + | "HiSlot0" + | "HiSlot1" + | "HiSlot2" + | "HiSlot3" + | "HiSlot4" + | "HiSlot5" + | "HiSlot6" + | "HiSlot7" + | "HiddenModifiers" + | "Implant" + | "Impounded" + | "JunkyardReprocessed" + | "JunkyardTrashed" + | "LoSlot0" + | "LoSlot1" + | "LoSlot2" + | "LoSlot3" + | "LoSlot4" + | "LoSlot5" + | "LoSlot6" + | "LoSlot7" + | "Locked" + | "MedSlot0" + | "MedSlot1" + | "MedSlot2" + | "MedSlot3" + | "MedSlot4" + | "MedSlot5" + | "MedSlot6" + | "MedSlot7" + | "OfficeFolder" + | "Pilot" + | "PlanetSurface" + | "QuafeBay" + | "QuantumCoreRoom" + | "Reward" + | "RigSlot0" + | "RigSlot1" + | "RigSlot2" + | "RigSlot3" + | "RigSlot4" + | "RigSlot5" + | "RigSlot6" + | "RigSlot7" + | "SecondaryStorage" + | "ServiceSlot0" + | "ServiceSlot1" + | "ServiceSlot2" + | "ServiceSlot3" + | "ServiceSlot4" + | "ServiceSlot5" + | "ServiceSlot6" + | "ServiceSlot7" + | "ShipHangar" + | "ShipOffline" + | "Skill" + | "SkillInTraining" + | "SpecializedAmmoHold" + | "SpecializedCommandCenterHold" + | "SpecializedFuelBay" + | "SpecializedGasHold" + | "SpecializedIndustrialShipHold" + | "SpecializedLargeShipHold" + | "SpecializedMaterialBay" + | "SpecializedMediumShipHold" + | "SpecializedMineralHold" + | "SpecializedOreHold" + | "SpecializedPlanetaryCommoditiesHold" + | "SpecializedSalvageHold" + | "SpecializedShipHold" + | "SpecializedSmallShipHold" + | "StructureActive" + | "StructureFuel" + | "StructureInactive" + | "StructureOffline" + | "SubSystemBay" + | "SubSystemSlot0" + | "SubSystemSlot1" + | "SubSystemSlot2" + | "SubSystemSlot3" + | "SubSystemSlot4" + | "SubSystemSlot5" + | "SubSystemSlot6" + | "SubSystemSlot7" + | "Unlocked" + | "Wallet" + | "Wardrobe"; + /** + * get_corporations_corporation_id_containers_logs_location_id + * location_id integer + * @format int64 + */ + location_id: number; + /** + * get_corporations_corporation_id_containers_logs_logged_at + * Timestamp when this log was created + * @format date-time + */ + logged_at: string; + /** + * get_corporations_corporation_id_containers_logs_new_config_bitmask + * new_config_bitmask integer + * @format int32 + */ + new_config_bitmask?: number; + /** + * get_corporations_corporation_id_containers_logs_old_config_bitmask + * old_config_bitmask integer + * @format int32 + */ + old_config_bitmask?: number; + /** + * get_corporations_corporation_id_containers_logs_password_type + * Type of password set if action is of type SetPassword or EnterPassword + */ + password_type?: "config" | "general"; + /** + * get_corporations_corporation_id_containers_logs_quantity + * Quantity of the item being acted upon + * @format int32 + */ + quantity?: number; + /** + * get_corporations_corporation_id_containers_logs_type_id + * Type ID of the item being acted upon + * @format int32 + */ + type_id?: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/corporations/${corporationId}/containers/logs/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description List open market orders placed on behalf of a corporation --- This route is cached for up to 1200 seconds --- Requires one of the following EVE corporation role(s): Accountant, Trader + * + * @tags Market + * @name GetCorporationsCorporationIdOrders + * @summary List open orders from a corporation + * @request GET:/v3/corporations/{corporation_id}/orders/ + * @secure + */ + getCorporationsCorporationIdOrders: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_orders_duration + * Number of days for which order is valid (starting from the issued date). An order expires at time issued + duration + * @format int32 + */ + duration: number; + /** + * get_corporations_corporation_id_orders_escrow + * For buy orders, the amount of ISK in escrow + * @format double + */ + escrow?: number; + /** + * get_corporations_corporation_id_orders_is_buy_order + * True if the order is a bid (buy) order + */ + is_buy_order?: boolean; + /** + * get_corporations_corporation_id_orders_issued + * Date and time when this order was issued + * @format date-time + */ + issued: string; + /** + * get_corporations_corporation_id_orders_issued_by + * The character who issued this order + * @format int32 + */ + issued_by: number; + /** + * get_corporations_corporation_id_orders_location_id + * ID of the location where order was placed + * @format int64 + */ + location_id: number; + /** + * get_corporations_corporation_id_orders_min_volume + * For buy orders, the minimum quantity that will be accepted in a matching sell order + * @format int32 + */ + min_volume?: number; + /** + * get_corporations_corporation_id_orders_order_id + * Unique order ID + * @format int64 + */ + order_id: number; + /** + * get_corporations_corporation_id_orders_price + * Cost per unit for this order + * @format double + */ + price: number; + /** + * get_corporations_corporation_id_orders_range + * Valid order range, numbers are ranges in jumps + */ + range: "1" | "10" | "2" | "20" | "3" | "30" | "4" | "40" | "5" | "region" | "solarsystem" | "station"; + /** + * get_corporations_corporation_id_orders_region_id + * ID of the region where order was placed + * @format int32 + */ + region_id: number; + /** + * get_corporations_corporation_id_orders_type_id + * The type ID of the item transacted in this order + * @format int32 + */ + type_id: number; + /** + * get_corporations_corporation_id_orders_volume_remain + * Quantity of items still required or offered + * @format int32 + */ + volume_remain: number; + /** + * get_corporations_corporation_id_orders_volume_total + * Quantity of items required or offered at time order was placed + * @format int32 + */ + volume_total: number; + /** + * get_corporations_corporation_id_orders_wallet_division + * The corporation wallet division used for this order. + * @format int32 + * @min 1 + * @max 7 + */ + wallet_division: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/corporations/${corporationId}/orders/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Resolve a set of IDs to names and categories. Supported ID's for resolving are: Characters, Corporations, Alliances, Stations, Solar Systems, Constellations, Regions, Types, Factions --- + * + * @tags Universe + * @name PostUniverseNames + * @summary Get names and categories for a set of IDs + * @request POST:/v3/universe/names/ + */ + postUniverseNames: ( + ids: number[], + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * post_universe_names_category + * category string + */ + category: + | "alliance" + | "character" + | "constellation" + | "corporation" + | "inventory_type" + | "region" + | "solar_system" + | "station" + | "faction"; + /** + * post_universe_names_id + * id integer + * @format int32 + */ + id: number; + /** + * post_universe_names_name + * name string + */ + name: string; + }[], + | BadRequest + | { + /** + * post_universe_names_404_not_found + * Not found message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v3/universe/names/`, + method: "POST", + query: query, + body: ids, + type: ContentType.Json, + format: "json", + ...params, + }), + + /** + * @description Get information on a type --- This route expires daily at 11:05 * * @tags Universe * @name GetUniverseTypesTypeId * @summary Get type information - * @request GET:/universe/types/{type_id}/ + * @request GET:/v3/universe/types/{type_id}/ */ getUniverseTypesTypeId: ( typeId: number, @@ -19010,220 +17335,322 @@ export class Api extends HttpClient({ - path: `/universe/types/${typeId}/`, + path: `/v3/universe/types/${typeId}/`, method: "GET", query: query, format: "json", ...params, }), }; - wars = { + v4 = { /** - * @description Return a list of wars --- Alternate route: `/dev/wars/` Alternate route: `/legacy/wars/` Alternate route: `/v1/wars/` --- This route is cached for up to 3600 seconds + * @description List all trained skills for the given character --- This route is cached for up to 120 seconds * - * @tags Wars - * @name GetWars - * @summary List wars - * @request GET:/wars/ + * @tags Skills + * @name GetCharactersCharacterIdSkills + * @summary Get character skills + * @request GET:/v4/characters/{character_id}/skills/ + * @secure */ - getWars: ( - query?: { - /** - * The server name you would like data from - * @default "tranquility" - */ - datasource?: "tranquility"; - /** - * Only return wars with ID smaller than this - * @format int32 - */ - max_war_id?: number; - }, - params: RequestParams = {}, - ) => - this.request< - number[], - void | BadRequest | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout - >({ - path: `/wars/`, - method: "GET", - query: query, - format: "json", - ...params, - }), - - /** - * @description Return details about a war --- Alternate route: `/dev/wars/{war_id}/` Alternate route: `/legacy/wars/{war_id}/` Alternate route: `/v1/wars/{war_id}/` --- This route is cached for up to 3600 seconds - * - * @tags Wars - * @name GetWarsWarId - * @summary Get war information - * @request GET:/wars/{war_id}/ - */ - getWarsWarId: ( - warId: number, + getCharactersCharacterIdSkills: ( + characterId: number, query?: { /** * The server name you would like data from * @default "tranquility" */ datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; }, params: RequestParams = {}, ) => this.request< { /** - * get_wars_war_id_aggressor - * The aggressor corporation or alliance that declared this war, only contains either corporation_id or alliance_id + * get_characters_character_id_skills_skills + * skills array + * @maxItems 1000 */ - aggressor: { + skills: { /** - * get_wars_war_id_alliance_id - * Alliance ID if and only if the aggressor is an alliance + * get_characters_character_id_skills_active_skill_level + * active_skill_level integer * @format int32 */ - alliance_id?: number; + active_skill_level: number; /** - * get_wars_war_id_corporation_id - * Corporation ID if and only if the aggressor is a corporation + * get_characters_character_id_skills_skill_id + * skill_id integer * @format int32 */ - corporation_id?: number; + skill_id: number; /** - * get_wars_war_id_isk_destroyed - * ISK value of ships the aggressor has destroyed - * @format float + * get_characters_character_id_skills_skillpoints_in_skill + * skillpoints_in_skill integer + * @format int64 */ - isk_destroyed: number; + skillpoints_in_skill: number; /** - * get_wars_war_id_ships_killed - * The number of ships the aggressor has killed + * get_characters_character_id_skills_trained_skill_level + * trained_skill_level integer * @format int32 */ - ships_killed: number; - }; - /** - * get_wars_war_id_allies - * allied corporations or alliances, each object contains either corporation_id or alliance_id - * @maxItems 10000 - */ - allies?: { - /** - * get_wars_war_id_ally_alliance_id - * Alliance ID if and only if this ally is an alliance - * @format int32 - */ - alliance_id?: number; - /** - * get_wars_war_id_ally_corporation_id - * Corporation ID if and only if this ally is a corporation - * @format int32 - */ - corporation_id?: number; + trained_skill_level: number; }[]; /** - * get_wars_war_id_declared - * Time that the war was declared - * @format date-time + * get_characters_character_id_skills_total_sp + * total_sp integer + * @format int64 */ - declared: string; + total_sp: number; /** - * get_wars_war_id_defender - * The defending corporation or alliance that declared this war, only contains either corporation_id or alliance_id - */ - defender: { - /** - * get_wars_war_id_defender_alliance_id - * Alliance ID if and only if the defender is an alliance - * @format int32 - */ - alliance_id?: number; - /** - * get_wars_war_id_defender_corporation_id - * Corporation ID if and only if the defender is a corporation - * @format int32 - */ - corporation_id?: number; - /** - * get_wars_war_id_defender_isk_destroyed - * ISK value of ships the defender has killed - * @format float - */ - isk_destroyed: number; - /** - * get_wars_war_id_defender_ships_killed - * The number of ships the defender has killed - * @format int32 - */ - ships_killed: number; - }; - /** - * get_wars_war_id_finished - * Time the war ended and shooting was no longer allowed - * @format date-time - */ - finished?: string; - /** - * get_wars_war_id_id - * ID of the specified war + * get_characters_character_id_skills_unallocated_sp + * Skill points available to be assigned * @format int32 */ - id: number; - /** - * get_wars_war_id_mutual - * Was the war declared mutual by both parties - */ - mutual: boolean; - /** - * get_wars_war_id_open_for_allies - * Is the war currently open for allies or not - */ - open_for_allies: boolean; - /** - * get_wars_war_id_retracted - * Time the war was retracted but both sides could still shoot each other - * @format date-time - */ - retracted?: string; - /** - * get_wars_war_id_started - * Time when the war started and both sides could shoot each other - * @format date-time - */ - started?: string; + unallocated_sp?: number; }, | void | BadRequest + | Unauthorized + | Forbidden | ErrorLimited - | { - /** - * get_wars_war_id_422_unprocessable_entity - * Unprocessable entity message - */ - error?: string; - } | InternalServerError | ServiceUnavailable | GatewayTimeout >({ - path: `/wars/${warId}/`, + path: `/v4/characters/${characterId}/skills/`, method: "GET", query: query, + secure: true, format: "json", ...params, }), /** - * @description Return a list of kills related to a war --- Alternate route: `/dev/wars/{war_id}/killmails/` Alternate route: `/legacy/wars/{war_id}/killmails/` Alternate route: `/v1/wars/{war_id}/killmails/` --- This route is cached for up to 3600 seconds + * @description Return the current member list of a corporation, the token's character need to be a member of the corporation. --- This route is cached for up to 3600 seconds * - * @tags Wars - * @name GetWarsWarIdKillmails - * @summary List kills for a war - * @request GET:/wars/{war_id}/killmails/ + * @tags Corporation + * @name GetCorporationsCorporationIdMembers + * @summary Get corporation members + * @request GET:/v4/corporations/{corporation_id}/members/ + * @secure */ - getWarsWarIdKillmails: ( - warId: number, + getCorporationsCorporationIdMembers: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + number[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v4/corporations/${corporationId}/members/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Get a list of corporation structures. This route's version includes the changes to structures detailed in this blog: https://www.eveonline.com/article/upwell-2.0-structures-changes-coming-on-february-13th --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Station_Manager + * + * @tags Corporation + * @name GetCorporationsCorporationIdStructures + * @summary Get corporation structures + * @request GET:/v4/corporations/{corporation_id}/structures/ + * @secure + */ + getCorporationsCorporationIdStructures: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Language to use in the response, takes precedence over Accept-Language + * @default "en" + */ + language?: "en" | "en-us" | "de" | "fr" | "ja" | "ru" | "zh" | "ko" | "es"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_structures_corporation_id + * ID of the corporation that owns the structure + * @format int32 + */ + corporation_id: number; + /** + * get_corporations_corporation_id_structures_fuel_expires + * Date on which the structure will run out of fuel + * @format date-time + */ + fuel_expires?: string; + /** + * get_corporations_corporation_id_structures_name + * The structure name + */ + name?: string; + /** + * get_corporations_corporation_id_structures_next_reinforce_apply + * The date and time when the structure's newly requested reinforcement times (e.g. next_reinforce_hour and next_reinforce_day) will take effect + * @format date-time + */ + next_reinforce_apply?: string; + /** + * get_corporations_corporation_id_structures_next_reinforce_hour + * The requested change to reinforce_hour that will take effect at the time shown by next_reinforce_apply + * @format int32 + * @min 0 + * @max 23 + */ + next_reinforce_hour?: number; + /** + * get_corporations_corporation_id_structures_profile_id + * The id of the ACL profile for this citadel + * @format int32 + */ + profile_id: number; + /** + * get_corporations_corporation_id_structures_reinforce_hour + * The hour of day that determines the four hour window when the structure will randomly exit its reinforcement periods and become vulnerable to attack against its armor and/or hull. The structure will become vulnerable at a random time that is +/- 2 hours centered on the value of this property + * @format int32 + * @min 0 + * @max 23 + */ + reinforce_hour?: number; + /** + * get_corporations_corporation_id_structures_services + * Contains a list of service upgrades, and their state + * @maxItems 10 + */ + services?: { + /** + * get_corporations_corporation_id_structures_service_name + * name string + */ + name: string; + /** + * get_corporations_corporation_id_structures_service_state + * state string + */ + state: "online" | "offline" | "cleanup"; + }[]; + /** + * get_corporations_corporation_id_structures_state + * state string + */ + state: + | "anchor_vulnerable" + | "anchoring" + | "armor_reinforce" + | "armor_vulnerable" + | "deploy_vulnerable" + | "fitting_invulnerable" + | "hull_reinforce" + | "hull_vulnerable" + | "online_deprecated" + | "onlining_vulnerable" + | "shield_vulnerable" + | "unanchored" + | "unknown"; + /** + * get_corporations_corporation_id_structures_state_timer_end + * Date at which the structure will move to it's next state + * @format date-time + */ + state_timer_end?: string; + /** + * get_corporations_corporation_id_structures_state_timer_start + * Date at which the structure entered it's current state + * @format date-time + */ + state_timer_start?: string; + /** + * get_corporations_corporation_id_structures_structure_id + * The Item ID of the structure + * @format int64 + */ + structure_id: number; + /** + * get_corporations_corporation_id_structures_system_id + * The solar system the structure is in + * @format int32 + */ + system_id: number; + /** + * get_corporations_corporation_id_structures_type_id + * The type id of the structure + * @format int32 + */ + type_id: number; + /** + * get_corporations_corporation_id_structures_unanchors_at + * Date at which the structure will unanchor + * @format date-time + */ + unanchors_at?: string; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v4/corporations/${corporationId}/structures/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Retrieve the given corporation's wallet journal for the given division going 30 days back --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Accountant, Junior_Accountant + * + * @tags Wallet + * @name GetCorporationsCorporationIdWalletsDivisionJournal + * @summary Get corporation wallet journal + * @request GET:/v4/corporations/{corporation_id}/wallets/{division}/journal/ + * @secure + */ + getCorporationsCorporationIdWalletsDivisionJournal: ( + corporationId: number, + division: number, query?: { /** * The server name you would like data from @@ -19237,42 +17664,1630 @@ export class Api extends HttpClient this.request< { /** - * get_wars_war_id_killmails_killmail_hash - * A hash of this killmail + * get_corporations_corporation_id_wallets_division_journal_amount + * The amount of ISK given or taken from the wallet as a result of the given transaction. Positive when ISK is deposited into the wallet and negative when ISK is withdrawn + * @format double */ - killmail_hash: string; + amount?: number; /** - * get_wars_war_id_killmails_killmail_id - * ID of this killmail + * get_corporations_corporation_id_wallets_division_journal_balance + * Wallet balance after transaction occurred + * @format double + */ + balance?: number; + /** + * get_corporations_corporation_id_wallets_division_journal_context_id + * An ID that gives extra context to the particular transaction. Because of legacy reasons the context is completely different per ref_type and means different things. It is also possible to not have a context_id + * @format int64 + */ + context_id?: number; + /** + * get_corporations_corporation_id_wallets_division_journal_context_id_type + * The type of the given context_id if present + */ + context_id_type?: + | "structure_id" + | "station_id" + | "market_transaction_id" + | "character_id" + | "corporation_id" + | "alliance_id" + | "eve_system" + | "industry_job_id" + | "contract_id" + | "planet_id" + | "system_id" + | "type_id"; + /** + * get_corporations_corporation_id_wallets_division_journal_date + * Date and time of transaction + * @format date-time + */ + date: string; + /** + * get_corporations_corporation_id_wallets_division_journal_description + * The reason for the transaction, mirrors what is seen in the client + */ + description: string; + /** + * get_corporations_corporation_id_wallets_division_journal_first_party_id + * The id of the first party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name * @format int32 */ - killmail_id: number; + first_party_id?: number; + /** + * get_corporations_corporation_id_wallets_division_journal_id + * Unique journal reference ID + * @format int64 + */ + id: number; + /** + * get_corporations_corporation_id_wallets_division_journal_reason + * The user stated reason for the transaction. Only applies to some ref_types + */ + reason?: string; + /** + * get_corporations_corporation_id_wallets_division_journal_ref_type + * "The transaction type for the given. transaction. Different transaction types will populate different attributes. Note: If you have an existing XML API application that is using ref_types, you will need to know which string ESI ref_type maps to which integer. You can look at the following file to see string->int mappings: https://github.com/ccpgames/eve-glue/blob/master/eve_glue/wallet_journal_ref.py" + */ + ref_type: + | "acceleration_gate_fee" + | "advertisement_listing_fee" + | "agent_donation" + | "agent_location_services" + | "agent_miscellaneous" + | "agent_mission_collateral_paid" + | "agent_mission_collateral_refunded" + | "agent_mission_reward" + | "agent_mission_reward_corporation_tax" + | "agent_mission_time_bonus_reward" + | "agent_mission_time_bonus_reward_corporation_tax" + | "agent_security_services" + | "agent_services_rendered" + | "agents_preward" + | "alliance_maintainance_fee" + | "alliance_registration_fee" + | "asset_safety_recovery_tax" + | "bounty" + | "bounty_prize" + | "bounty_prize_corporation_tax" + | "bounty_prizes" + | "bounty_reimbursement" + | "bounty_surcharge" + | "brokers_fee" + | "clone_activation" + | "clone_transfer" + | "contraband_fine" + | "contract_auction_bid" + | "contract_auction_bid_corp" + | "contract_auction_bid_refund" + | "contract_auction_sold" + | "contract_brokers_fee" + | "contract_brokers_fee_corp" + | "contract_collateral" + | "contract_collateral_deposited_corp" + | "contract_collateral_payout" + | "contract_collateral_refund" + | "contract_deposit" + | "contract_deposit_corp" + | "contract_deposit_refund" + | "contract_deposit_sales_tax" + | "contract_price" + | "contract_price_payment_corp" + | "contract_reversal" + | "contract_reward" + | "contract_reward_deposited" + | "contract_reward_deposited_corp" + | "contract_reward_refund" + | "contract_sales_tax" + | "copying" + | "corporate_reward_payout" + | "corporate_reward_tax" + | "corporation_account_withdrawal" + | "corporation_bulk_payment" + | "corporation_dividend_payment" + | "corporation_liquidation" + | "corporation_logo_change_cost" + | "corporation_payment" + | "corporation_registration_fee" + | "courier_mission_escrow" + | "cspa" + | "cspaofflinerefund" + | "daily_challenge_reward" + | "datacore_fee" + | "dna_modification_fee" + | "docking_fee" + | "duel_wager_escrow" + | "duel_wager_payment" + | "duel_wager_refund" + | "ess_escrow_transfer" + | "external_trade_delivery" + | "external_trade_freeze" + | "external_trade_thaw" + | "factory_slot_rental_fee" + | "flux_payout" + | "flux_tax" + | "flux_ticket_repayment" + | "flux_ticket_sale" + | "gm_cash_transfer" + | "industry_job_tax" + | "infrastructure_hub_maintenance" + | "inheritance" + | "insurance" + | "item_trader_payment" + | "jump_clone_activation_fee" + | "jump_clone_installation_fee" + | "kill_right_fee" + | "lp_store" + | "manufacturing" + | "market_escrow" + | "market_fine_paid" + | "market_provider_tax" + | "market_transaction" + | "medal_creation" + | "medal_issued" + | "milestone_reward_payment" + | "mission_completion" + | "mission_cost" + | "mission_expiration" + | "mission_reward" + | "office_rental_fee" + | "operation_bonus" + | "opportunity_reward" + | "planetary_construction" + | "planetary_export_tax" + | "planetary_import_tax" + | "player_donation" + | "player_trading" + | "project_discovery_reward" + | "project_discovery_tax" + | "reaction" + | "redeemed_isk_token" + | "release_of_impounded_property" + | "repair_bill" + | "reprocessing_tax" + | "researching_material_productivity" + | "researching_technology" + | "researching_time_productivity" + | "resource_wars_reward" + | "reverse_engineering" + | "season_challenge_reward" + | "security_processing_fee" + | "shares" + | "skill_purchase" + | "sovereignity_bill" + | "store_purchase" + | "store_purchase_refund" + | "structure_gate_jump" + | "transaction_tax" + | "upkeep_adjustment_fee" + | "war_ally_contract" + | "war_fee" + | "war_fee_surrender"; + /** + * get_corporations_corporation_id_wallets_division_journal_second_party_id + * The id of the second party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name + * @format int32 + */ + second_party_id?: number; + /** + * get_corporations_corporation_id_wallets_division_journal_tax + * Tax amount received. Only applies to tax related transactions + * @format double + */ + tax?: number; + /** + * get_corporations_corporation_id_wallets_division_journal_tax_receiver_id + * The corporation ID receiving any tax paid. Only applies to tax related transactions + * @format int32 + */ + tax_receiver_id?: number; }[], | void | BadRequest + | Unauthorized + | Forbidden | ErrorLimited - | { - /** - * get_wars_war_id_killmails_422_unprocessable_entity - * Unprocessable entity message - */ - error?: string; - } | InternalServerError | ServiceUnavailable | GatewayTimeout >({ - path: `/wars/${warId}/killmails/`, + path: `/v4/corporations/${corporationId}/wallets/${division}/journal/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Get information on a solar system. --- This route expires daily at 11:05 + * + * @tags Universe + * @name GetUniverseSystemsSystemId + * @summary Get solar system information + * @request GET:/v4/universe/systems/{system_id}/ + */ + getUniverseSystemsSystemId: ( + systemId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Language to use in the response, takes precedence over Accept-Language + * @default "en" + */ + language?: "en" | "en-us" | "de" | "fr" | "ja" | "ru" | "zh" | "ko" | "es"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_universe_systems_system_id_constellation_id + * The constellation this solar system is in + * @format int32 + */ + constellation_id: number; + /** + * get_universe_systems_system_id_name + * name string + */ + name: string; + /** + * get_universe_systems_system_id_planets + * planets array + * @maxItems 1000 + */ + planets?: { + /** + * get_universe_systems_system_id_asteroid_belts + * asteroid_belts array + * @maxItems 100 + */ + asteroid_belts?: number[]; + /** + * get_universe_systems_system_id_moons + * moons array + * @maxItems 1000 + */ + moons?: number[]; + /** + * get_universe_systems_system_id_planet_id + * planet_id integer + * @format int32 + */ + planet_id: number; + }[]; + /** + * get_universe_systems_system_id_position + * position object + */ + position: { + /** + * get_universe_systems_system_id_x + * x number + * @format double + */ + x: number; + /** + * get_universe_systems_system_id_y + * y number + * @format double + */ + y: number; + /** + * get_universe_systems_system_id_z + * z number + * @format double + */ + z: number; + }; + /** + * get_universe_systems_system_id_security_class + * security_class string + */ + security_class?: string; + /** + * get_universe_systems_system_id_security_status + * security_status number + * @format float + */ + security_status: number; + /** + * get_universe_systems_system_id_star_id + * star_id integer + * @format int32 + */ + star_id?: number; + /** + * get_universe_systems_system_id_stargates + * stargates array + * @maxItems 25 + */ + stargates?: number[]; + /** + * get_universe_systems_system_id_stations + * stations array + * @maxItems 25 + */ + stations?: number[]; + /** + * get_universe_systems_system_id_system_id + * system_id integer + * @format int32 + */ + system_id: number; + }, + | void + | BadRequest + | { + /** + * get_universe_systems_system_id_404_not_found + * Not found message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v4/universe/systems/${systemId}/`, method: "GET", query: query, format: "json", ...params, }), }; + v5 = { + /** + * @description Public information about a character --- This route is cached for up to 604800 seconds + * + * @tags Character + * @name GetCharactersCharacterId + * @summary Get character's public information + * @request GET:/v5/characters/{character_id}/ + */ + getCharactersCharacterId: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_alliance_id + * The character's alliance ID + * @format int32 + */ + alliance_id?: number; + /** + * get_characters_character_id_birthday + * Creation date of the character + * @format date-time + */ + birthday: string; + /** + * get_characters_character_id_bloodline_id + * bloodline_id integer + * @format int32 + */ + bloodline_id: number; + /** + * get_characters_character_id_corporation_id + * The character's corporation ID + * @format int32 + */ + corporation_id: number; + /** + * get_characters_character_id_description + * description string + */ + description?: string; + /** + * get_characters_character_id_faction_id + * ID of the faction the character is fighting for, if the character is enlisted in Factional Warfare + * @format int32 + */ + faction_id?: number; + /** + * get_characters_character_id_gender + * gender string + */ + gender: "female" | "male"; + /** + * get_characters_character_id_name + * name string + */ + name: string; + /** + * get_characters_character_id_race_id + * race_id integer + * @format int32 + */ + race_id: number; + /** + * get_characters_character_id_security_status + * security_status number + * @format float + * @min -10 + * @max 10 + */ + security_status?: number; + /** + * get_characters_character_id_title + * The individual title of the character + */ + title?: string; + }, + | void + | BadRequest + | { + /** + * get_characters_character_id_404_not_found + * Not found message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v5/characters/${characterId}/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Return a list of the characters assets --- This route is cached for up to 3600 seconds + * + * @tags Assets + * @name GetCharactersCharacterIdAssets + * @summary Get character assets + * @request GET:/v5/characters/{character_id}/assets/ + * @secure + */ + getCharactersCharacterIdAssets: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_assets_is_blueprint_copy + * is_blueprint_copy boolean + */ + is_blueprint_copy?: boolean; + /** + * get_characters_character_id_assets_is_singleton + * is_singleton boolean + */ + is_singleton: boolean; + /** + * get_characters_character_id_assets_item_id + * item_id integer + * @format int64 + */ + item_id: number; + /** + * get_characters_character_id_assets_location_flag + * location_flag string + */ + location_flag: + | "AssetSafety" + | "AutoFit" + | "BoosterBay" + | "Cargo" + | "CorporationGoalDeliveries" + | "CorpseBay" + | "Deliveries" + | "DroneBay" + | "FighterBay" + | "FighterTube0" + | "FighterTube1" + | "FighterTube2" + | "FighterTube3" + | "FighterTube4" + | "FleetHangar" + | "FrigateEscapeBay" + | "Hangar" + | "HangarAll" + | "HiSlot0" + | "HiSlot1" + | "HiSlot2" + | "HiSlot3" + | "HiSlot4" + | "HiSlot5" + | "HiSlot6" + | "HiSlot7" + | "HiddenModifiers" + | "Implant" + | "LoSlot0" + | "LoSlot1" + | "LoSlot2" + | "LoSlot3" + | "LoSlot4" + | "LoSlot5" + | "LoSlot6" + | "LoSlot7" + | "Locked" + | "MedSlot0" + | "MedSlot1" + | "MedSlot2" + | "MedSlot3" + | "MedSlot4" + | "MedSlot5" + | "MedSlot6" + | "MedSlot7" + | "MobileDepotHold" + | "QuafeBay" + | "RigSlot0" + | "RigSlot1" + | "RigSlot2" + | "RigSlot3" + | "RigSlot4" + | "RigSlot5" + | "RigSlot6" + | "RigSlot7" + | "ShipHangar" + | "Skill" + | "SpecializedAmmoHold" + | "SpecializedAsteroidHold" + | "SpecializedCommandCenterHold" + | "SpecializedFuelBay" + | "SpecializedGasHold" + | "SpecializedIceHold" + | "SpecializedIndustrialShipHold" + | "SpecializedLargeShipHold" + | "SpecializedMaterialBay" + | "SpecializedMediumShipHold" + | "SpecializedMineralHold" + | "SpecializedOreHold" + | "SpecializedPlanetaryCommoditiesHold" + | "SpecializedSalvageHold" + | "SpecializedShipHold" + | "SpecializedSmallShipHold" + | "StructureDeedBay" + | "SubSystemBay" + | "SubSystemSlot0" + | "SubSystemSlot1" + | "SubSystemSlot2" + | "SubSystemSlot3" + | "SubSystemSlot4" + | "SubSystemSlot5" + | "SubSystemSlot6" + | "SubSystemSlot7" + | "Unlocked" + | "Wardrobe"; + /** + * get_characters_character_id_assets_location_id + * location_id integer + * @format int64 + */ + location_id: number; + /** + * get_characters_character_id_assets_location_type + * location_type string + */ + location_type: "station" | "solar_system" | "item" | "other"; + /** + * get_characters_character_id_assets_quantity + * quantity integer + * @format int32 + */ + quantity: number; + /** + * get_characters_character_id_assets_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | { + /** + * get_characters_character_id_assets_error + * error message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v5/characters/${characterId}/assets/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Takes a source character ID in the url and a set of target character ID's in the body, returns a CSPA charge cost --- + * + * @tags Character + * @name PostCharactersCharacterIdCspa + * @summary Calculate a CSPA charge cost + * @request POST:/v5/characters/{character_id}/cspa/ + * @secure + */ + postCharactersCharacterIdCspa: ( + characterId: number, + characters: number[], + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + number, + BadRequest | Unauthorized | Forbidden | ErrorLimited | InternalServerError | ServiceUnavailable | GatewayTimeout + >({ + path: `/v5/characters/${characterId}/cspa/`, + method: "POST", + query: query, + body: characters, + secure: true, + type: ContentType.Json, + format: "json", + ...params, + }), + + /** + * @description Return character notifications --- This route is cached for up to 600 seconds + * + * @tags Character + * @name GetCharactersCharacterIdNotifications + * @summary Get character notifications + * @request GET:/v5/characters/{character_id}/notifications/ + * @secure + */ + getCharactersCharacterIdNotifications: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_notifications_is_read + * is_read boolean + */ + is_read?: boolean; + /** + * get_characters_character_id_notifications_notification_id + * notification_id integer + * @format int64 + */ + notification_id: number; + /** + * get_characters_character_id_notifications_sender_id + * sender_id integer + * @format int32 + */ + sender_id: number; + /** + * get_characters_character_id_notifications_sender_type + * sender_type string + */ + sender_type: "character" | "corporation" | "alliance" | "faction" | "other"; + /** + * get_characters_character_id_notifications_text + * text string + */ + text?: string; + /** + * get_characters_character_id_notifications_timestamp + * timestamp string + * @format date-time + */ + timestamp: string; + /** + * get_characters_character_id_notifications_type + * type string + */ + type: + | "AcceptedAlly" + | "AcceptedSurrender" + | "AgentRetiredTrigravian" + | "AllAnchoringMsg" + | "AllMaintenanceBillMsg" + | "AllStrucInvulnerableMsg" + | "AllStructVulnerableMsg" + | "AllWarCorpJoinedAllianceMsg" + | "AllWarDeclaredMsg" + | "AllWarInvalidatedMsg" + | "AllWarRetractedMsg" + | "AllWarSurrenderMsg" + | "AllianceCapitalChanged" + | "AllianceWarDeclaredV2" + | "AllyContractCancelled" + | "AllyJoinedWarAggressorMsg" + | "AllyJoinedWarAllyMsg" + | "AllyJoinedWarDefenderMsg" + | "BattlePunishFriendlyFire" + | "BillOutOfMoneyMsg" + | "BillPaidCorpAllMsg" + | "BountyClaimMsg" + | "BountyESSShared" + | "BountyESSTaken" + | "BountyPlacedAlliance" + | "BountyPlacedChar" + | "BountyPlacedCorp" + | "BountyYourBountyClaimed" + | "BuddyConnectContactAdd" + | "CharAppAcceptMsg" + | "CharAppRejectMsg" + | "CharAppWithdrawMsg" + | "CharLeftCorpMsg" + | "CharMedalMsg" + | "CharTerminationMsg" + | "CloneActivationMsg" + | "CloneActivationMsg2" + | "CloneMovedMsg" + | "CloneRevokedMsg1" + | "CloneRevokedMsg2" + | "CombatOperationFinished" + | "ContactAdd" + | "ContactEdit" + | "ContainerPasswordMsg" + | "ContractRegionChangedToPochven" + | "CorpAllBillMsg" + | "CorpAppAcceptMsg" + | "CorpAppInvitedMsg" + | "CorpAppNewMsg" + | "CorpAppRejectCustomMsg" + | "CorpAppRejectMsg" + | "CorpBecameWarEligible" + | "CorpDividendMsg" + | "CorpFriendlyFireDisableTimerCompleted" + | "CorpFriendlyFireDisableTimerStarted" + | "CorpFriendlyFireEnableTimerCompleted" + | "CorpFriendlyFireEnableTimerStarted" + | "CorpKicked" + | "CorpLiquidationMsg" + | "CorpNewCEOMsg" + | "CorpNewsMsg" + | "CorpNoLongerWarEligible" + | "CorpOfficeExpirationMsg" + | "CorpStructLostMsg" + | "CorpTaxChangeMsg" + | "CorpVoteCEORevokedMsg" + | "CorpVoteMsg" + | "CorpWarDeclaredMsg" + | "CorpWarDeclaredV2" + | "CorpWarFightingLegalMsg" + | "CorpWarInvalidatedMsg" + | "CorpWarRetractedMsg" + | "CorpWarSurrenderMsg" + | "CorporationGoalClosed" + | "CorporationGoalCompleted" + | "CorporationGoalCreated" + | "CustomsMsg" + | "DeclareWar" + | "DistrictAttacked" + | "DustAppAcceptedMsg" + | "ESSMainBankLink" + | "EntosisCaptureStarted" + | "ExpertSystemExpired" + | "ExpertSystemExpiryImminent" + | "FWAllianceKickMsg" + | "FWAllianceWarningMsg" + | "FWCharKickMsg" + | "FWCharRankGainMsg" + | "FWCharRankLossMsg" + | "FWCharWarningMsg" + | "FWCorpJoinMsg" + | "FWCorpKickMsg" + | "FWCorpLeaveMsg" + | "FWCorpWarningMsg" + | "FacWarCorpJoinRequestMsg" + | "FacWarCorpJoinWithdrawMsg" + | "FacWarCorpLeaveRequestMsg" + | "FacWarCorpLeaveWithdrawMsg" + | "FacWarLPDisqualifiedEvent" + | "FacWarLPDisqualifiedKill" + | "FacWarLPPayoutEvent" + | "FacWarLPPayoutKill" + | "GameTimeAdded" + | "GameTimeReceived" + | "GameTimeSent" + | "GiftReceived" + | "IHubDestroyedByBillFailure" + | "IncursionCompletedMsg" + | "IndustryOperationFinished" + | "IndustryTeamAuctionLost" + | "IndustryTeamAuctionWon" + | "InfrastructureHubBillAboutToExpire" + | "InsuranceExpirationMsg" + | "InsuranceFirstShipMsg" + | "InsuranceInvalidatedMsg" + | "InsuranceIssuedMsg" + | "InsurancePayoutMsg" + | "InvasionCompletedMsg" + | "InvasionSystemLogin" + | "InvasionSystemStart" + | "JumpCloneDeletedMsg1" + | "JumpCloneDeletedMsg2" + | "KillReportFinalBlow" + | "KillReportVictim" + | "KillRightAvailable" + | "KillRightAvailableOpen" + | "KillRightEarned" + | "KillRightUnavailable" + | "KillRightUnavailableOpen" + | "KillRightUsed" + | "LocateCharMsg" + | "MadeWarMutual" + | "MercOfferRetractedMsg" + | "MercOfferedNegotiationMsg" + | "MissionCanceledTriglavian" + | "MissionOfferExpirationMsg" + | "MissionTimeoutMsg" + | "MoonminingAutomaticFracture" + | "MoonminingExtractionCancelled" + | "MoonminingExtractionFinished" + | "MoonminingExtractionStarted" + | "MoonminingLaserFired" + | "MutualWarExpired" + | "MutualWarInviteAccepted" + | "MutualWarInviteRejected" + | "MutualWarInviteSent" + | "NPCStandingsGained" + | "NPCStandingsLost" + | "OfferToAllyRetracted" + | "OfferedSurrender" + | "OfferedToAlly" + | "OfficeLeaseCanceledInsufficientStandings" + | "OldLscMessages" + | "OperationFinished" + | "OrbitalAttacked" + | "OrbitalReinforced" + | "OwnershipTransferred" + | "RaffleCreated" + | "RaffleExpired" + | "RaffleFinished" + | "ReimbursementMsg" + | "ResearchMissionAvailableMsg" + | "RetractsWar" + | "SeasonalChallengeCompleted" + | "SovAllClaimAquiredMsg" + | "SovAllClaimLostMsg" + | "SovCommandNodeEventStarted" + | "SovCorpBillLateMsg" + | "SovCorpClaimFailMsg" + | "SovDisruptorMsg" + | "SovStationEnteredFreeport" + | "SovStructureDestroyed" + | "SovStructureReinforced" + | "SovStructureSelfDestructCancel" + | "SovStructureSelfDestructFinished" + | "SovStructureSelfDestructRequested" + | "SovereigntyIHDamageMsg" + | "SovereigntySBUDamageMsg" + | "SovereigntyTCUDamageMsg" + | "StationAggressionMsg1" + | "StationAggressionMsg2" + | "StationConquerMsg" + | "StationServiceDisabled" + | "StationServiceEnabled" + | "StationStateChangeMsg" + | "StoryLineMissionAvailableMsg" + | "StructureAnchoring" + | "StructureCourierContractChanged" + | "StructureDestroyed" + | "StructureFuelAlert" + | "StructureImpendingAbandonmentAssetsAtRisk" + | "StructureItemsDelivered" + | "StructureItemsMovedToSafety" + | "StructureLostArmor" + | "StructureLostShields" + | "StructureOnline" + | "StructurePaintPurchased" + | "StructureServicesOffline" + | "StructureUnanchoring" + | "StructureUnderAttack" + | "StructureWentHighPower" + | "StructureWentLowPower" + | "StructuresJobsCancelled" + | "StructuresJobsPaused" + | "StructuresReinforcementChanged" + | "TowerAlertMsg" + | "TowerResourceAlertMsg" + | "TransactionReversalMsg" + | "TutorialMsg" + | "WarAdopted " + | "WarAllyInherited" + | "WarAllyOfferDeclinedMsg" + | "WarConcordInvalidates" + | "WarDeclared" + | "WarEndedHqSecurityDrop" + | "WarHQRemovedFromSpace" + | "WarInherited" + | "WarInvalid" + | "WarRetracted" + | "WarRetractedByConcord" + | "WarSurrenderDeclinedMsg" + | "WarSurrenderOfferMsg"; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v5/characters/${characterId}/notifications/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + + /** + * @description Public information about a corporation --- This route is cached for up to 3600 seconds + * + * @tags Corporation + * @name GetCorporationsCorporationId + * @summary Get corporation information + * @request GET:/v5/corporations/{corporation_id}/ + */ + getCorporationsCorporationId: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_alliance_id + * ID of the alliance that corporation is a member of, if any + * @format int32 + */ + alliance_id?: number; + /** + * get_corporations_corporation_id_ceo_id + * ceo_id integer + * @format int32 + */ + ceo_id: number; + /** + * get_corporations_corporation_id_creator_id + * creator_id integer + * @format int32 + */ + creator_id: number; + /** + * get_corporations_corporation_id_date_founded + * date_founded string + * @format date-time + */ + date_founded?: string; + /** + * get_corporations_corporation_id_description + * description string + */ + description?: string; + /** + * get_corporations_corporation_id_faction_id + * faction_id integer + * @format int32 + */ + faction_id?: number; + /** + * get_corporations_corporation_id_home_station_id + * home_station_id integer + * @format int32 + */ + home_station_id?: number; + /** + * get_corporations_corporation_id_member_count + * member_count integer + * @format int32 + */ + member_count: number; + /** + * get_corporations_corporation_id_name + * the full name of the corporation + */ + name: string; + /** + * get_corporations_corporation_id_shares + * shares integer + * @format int64 + */ + shares?: number; + /** + * get_corporations_corporation_id_tax_rate + * tax_rate number + * @format float + * @min 0 + * @max 1 + */ + tax_rate: number; + /** + * get_corporations_corporation_id_ticker + * the short name of the corporation + */ + ticker: string; + /** + * get_corporations_corporation_id_url + * url string + */ + url?: string; + /** + * get_corporations_corporation_id_war_eligible + * war_eligible boolean + */ + war_eligible?: boolean; + }, + | void + | BadRequest + | { + /** + * get_corporations_corporation_id_404_not_found + * Not found message + */ + error?: string; + } + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v5/corporations/${corporationId}/`, + method: "GET", + query: query, + format: "json", + ...params, + }), + + /** + * @description Return a list of the corporation assets --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director + * + * @tags Assets + * @name GetCorporationsCorporationIdAssets + * @summary Get corporation assets + * @request GET:/v5/corporations/{corporation_id}/assets/ + * @secure + */ + getCorporationsCorporationIdAssets: ( + corporationId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_corporations_corporation_id_assets_is_blueprint_copy + * is_blueprint_copy boolean + */ + is_blueprint_copy?: boolean; + /** + * get_corporations_corporation_id_assets_is_singleton + * is_singleton boolean + */ + is_singleton: boolean; + /** + * get_corporations_corporation_id_assets_item_id + * item_id integer + * @format int64 + */ + item_id: number; + /** + * get_corporations_corporation_id_assets_location_flag + * location_flag string + */ + location_flag: + | "AssetSafety" + | "AutoFit" + | "Bonus" + | "Booster" + | "BoosterBay" + | "Capsule" + | "Cargo" + | "CorpDeliveries" + | "CorpSAG1" + | "CorpSAG2" + | "CorpSAG3" + | "CorpSAG4" + | "CorpSAG5" + | "CorpSAG6" + | "CorpSAG7" + | "CorporationGoalDeliveries" + | "CrateLoot" + | "Deliveries" + | "DroneBay" + | "DustBattle" + | "DustDatabank" + | "FighterBay" + | "FighterTube0" + | "FighterTube1" + | "FighterTube2" + | "FighterTube3" + | "FighterTube4" + | "FleetHangar" + | "FrigateEscapeBay" + | "Hangar" + | "HangarAll" + | "HiSlot0" + | "HiSlot1" + | "HiSlot2" + | "HiSlot3" + | "HiSlot4" + | "HiSlot5" + | "HiSlot6" + | "HiSlot7" + | "HiddenModifiers" + | "Implant" + | "Impounded" + | "JunkyardReprocessed" + | "JunkyardTrashed" + | "LoSlot0" + | "LoSlot1" + | "LoSlot2" + | "LoSlot3" + | "LoSlot4" + | "LoSlot5" + | "LoSlot6" + | "LoSlot7" + | "Locked" + | "MedSlot0" + | "MedSlot1" + | "MedSlot2" + | "MedSlot3" + | "MedSlot4" + | "MedSlot5" + | "MedSlot6" + | "MedSlot7" + | "MobileDepotHold" + | "OfficeFolder" + | "Pilot" + | "PlanetSurface" + | "QuafeBay" + | "QuantumCoreRoom" + | "Reward" + | "RigSlot0" + | "RigSlot1" + | "RigSlot2" + | "RigSlot3" + | "RigSlot4" + | "RigSlot5" + | "RigSlot6" + | "RigSlot7" + | "SecondaryStorage" + | "ServiceSlot0" + | "ServiceSlot1" + | "ServiceSlot2" + | "ServiceSlot3" + | "ServiceSlot4" + | "ServiceSlot5" + | "ServiceSlot6" + | "ServiceSlot7" + | "ShipHangar" + | "ShipOffline" + | "Skill" + | "SkillInTraining" + | "SpecializedAmmoHold" + | "SpecializedAsteroidHold" + | "SpecializedCommandCenterHold" + | "SpecializedFuelBay" + | "SpecializedGasHold" + | "SpecializedIceHold" + | "SpecializedIndustrialShipHold" + | "SpecializedLargeShipHold" + | "SpecializedMaterialBay" + | "SpecializedMediumShipHold" + | "SpecializedMineralHold" + | "SpecializedOreHold" + | "SpecializedPlanetaryCommoditiesHold" + | "SpecializedSalvageHold" + | "SpecializedShipHold" + | "SpecializedSmallShipHold" + | "StructureActive" + | "StructureFuel" + | "StructureInactive" + | "StructureOffline" + | "SubSystemBay" + | "SubSystemSlot0" + | "SubSystemSlot1" + | "SubSystemSlot2" + | "SubSystemSlot3" + | "SubSystemSlot4" + | "SubSystemSlot5" + | "SubSystemSlot6" + | "SubSystemSlot7" + | "Unlocked" + | "Wallet" + | "Wardrobe"; + /** + * get_corporations_corporation_id_assets_location_id + * location_id integer + * @format int64 + */ + location_id: number; + /** + * get_corporations_corporation_id_assets_location_type + * location_type string + */ + location_type: "station" | "solar_system" | "item" | "other"; + /** + * get_corporations_corporation_id_assets_quantity + * quantity integer + * @format int32 + */ + quantity: number; + /** + * get_corporations_corporation_id_assets_type_id + * type_id integer + * @format int32 + */ + type_id: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v5/corporations/${corporationId}/assets/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + }; + v6 = { + /** + * @description Retrieve the given character's wallet journal going 30 days back --- This route is cached for up to 3600 seconds + * + * @tags Wallet + * @name GetCharactersCharacterIdWalletJournal + * @summary Get character wallet journal + * @request GET:/v6/characters/{character_id}/wallet/journal/ + * @secure + */ + getCharactersCharacterIdWalletJournal: ( + characterId: number, + query?: { + /** + * The server name you would like data from + * @default "tranquility" + */ + datasource?: "tranquility"; + /** + * Which page of results to return + * @format int32 + * @min 1 + * @default 1 + */ + page?: number; + /** Access token to use if unable to set a header */ + token?: string; + }, + params: RequestParams = {}, + ) => + this.request< + { + /** + * get_characters_character_id_wallet_journal_amount + * The amount of ISK given or taken from the wallet as a result of the given transaction. Positive when ISK is deposited into the wallet and negative when ISK is withdrawn + * @format double + */ + amount?: number; + /** + * get_characters_character_id_wallet_journal_balance + * Wallet balance after transaction occurred + * @format double + */ + balance?: number; + /** + * get_characters_character_id_wallet_journal_context_id + * An ID that gives extra context to the particular transaction. Because of legacy reasons the context is completely different per ref_type and means different things. It is also possible to not have a context_id + * @format int64 + */ + context_id?: number; + /** + * get_characters_character_id_wallet_journal_context_id_type + * The type of the given context_id if present + */ + context_id_type?: + | "structure_id" + | "station_id" + | "market_transaction_id" + | "character_id" + | "corporation_id" + | "alliance_id" + | "eve_system" + | "industry_job_id" + | "contract_id" + | "planet_id" + | "system_id" + | "type_id"; + /** + * get_characters_character_id_wallet_journal_date + * Date and time of transaction + * @format date-time + */ + date: string; + /** + * get_characters_character_id_wallet_journal_description + * The reason for the transaction, mirrors what is seen in the client + */ + description: string; + /** + * get_characters_character_id_wallet_journal_first_party_id + * The id of the first party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name + * @format int32 + */ + first_party_id?: number; + /** + * get_characters_character_id_wallet_journal_id + * Unique journal reference ID + * @format int64 + */ + id: number; + /** + * get_characters_character_id_wallet_journal_reason + * The user stated reason for the transaction. Only applies to some ref_types + */ + reason?: string; + /** + * get_characters_character_id_wallet_journal_ref_type + * "The transaction type for the given. transaction. Different transaction types will populate different attributes." + */ + ref_type: + | "acceleration_gate_fee" + | "advertisement_listing_fee" + | "agent_donation" + | "agent_location_services" + | "agent_miscellaneous" + | "agent_mission_collateral_paid" + | "agent_mission_collateral_refunded" + | "agent_mission_reward" + | "agent_mission_reward_corporation_tax" + | "agent_mission_time_bonus_reward" + | "agent_mission_time_bonus_reward_corporation_tax" + | "agent_security_services" + | "agent_services_rendered" + | "agents_preward" + | "alliance_maintainance_fee" + | "alliance_registration_fee" + | "asset_safety_recovery_tax" + | "bounty" + | "bounty_prize" + | "bounty_prize_corporation_tax" + | "bounty_prizes" + | "bounty_reimbursement" + | "bounty_surcharge" + | "brokers_fee" + | "clone_activation" + | "clone_transfer" + | "contraband_fine" + | "contract_auction_bid" + | "contract_auction_bid_corp" + | "contract_auction_bid_refund" + | "contract_auction_sold" + | "contract_brokers_fee" + | "contract_brokers_fee_corp" + | "contract_collateral" + | "contract_collateral_deposited_corp" + | "contract_collateral_payout" + | "contract_collateral_refund" + | "contract_deposit" + | "contract_deposit_corp" + | "contract_deposit_refund" + | "contract_deposit_sales_tax" + | "contract_price" + | "contract_price_payment_corp" + | "contract_reversal" + | "contract_reward" + | "contract_reward_deposited" + | "contract_reward_deposited_corp" + | "contract_reward_refund" + | "contract_sales_tax" + | "copying" + | "corporate_reward_payout" + | "corporate_reward_tax" + | "corporation_account_withdrawal" + | "corporation_bulk_payment" + | "corporation_dividend_payment" + | "corporation_liquidation" + | "corporation_logo_change_cost" + | "corporation_payment" + | "corporation_registration_fee" + | "courier_mission_escrow" + | "cspa" + | "cspaofflinerefund" + | "daily_challenge_reward" + | "datacore_fee" + | "dna_modification_fee" + | "docking_fee" + | "duel_wager_escrow" + | "duel_wager_payment" + | "duel_wager_refund" + | "ess_escrow_transfer" + | "external_trade_delivery" + | "external_trade_freeze" + | "external_trade_thaw" + | "factory_slot_rental_fee" + | "flux_payout" + | "flux_tax" + | "flux_ticket_repayment" + | "flux_ticket_sale" + | "gm_cash_transfer" + | "industry_job_tax" + | "infrastructure_hub_maintenance" + | "inheritance" + | "insurance" + | "item_trader_payment" + | "jump_clone_activation_fee" + | "jump_clone_installation_fee" + | "kill_right_fee" + | "lp_store" + | "manufacturing" + | "market_escrow" + | "market_fine_paid" + | "market_provider_tax" + | "market_transaction" + | "medal_creation" + | "medal_issued" + | "milestone_reward_payment" + | "mission_completion" + | "mission_cost" + | "mission_expiration" + | "mission_reward" + | "office_rental_fee" + | "operation_bonus" + | "opportunity_reward" + | "planetary_construction" + | "planetary_export_tax" + | "planetary_import_tax" + | "player_donation" + | "player_trading" + | "project_discovery_reward" + | "project_discovery_tax" + | "reaction" + | "redeemed_isk_token" + | "release_of_impounded_property" + | "repair_bill" + | "reprocessing_tax" + | "researching_material_productivity" + | "researching_technology" + | "researching_time_productivity" + | "resource_wars_reward" + | "reverse_engineering" + | "season_challenge_reward" + | "security_processing_fee" + | "shares" + | "skill_purchase" + | "sovereignity_bill" + | "store_purchase" + | "store_purchase_refund" + | "structure_gate_jump" + | "transaction_tax" + | "upkeep_adjustment_fee" + | "war_ally_contract" + | "war_fee" + | "war_fee_surrender"; + /** + * get_characters_character_id_wallet_journal_second_party_id + * The id of the second party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name + * @format int32 + */ + second_party_id?: number; + /** + * get_characters_character_id_wallet_journal_tax + * Tax amount received. Only applies to tax related transactions + * @format double + */ + tax?: number; + /** + * get_characters_character_id_wallet_journal_tax_receiver_id + * The corporation ID receiving any tax paid. Only applies to tax related transactions + * @format int32 + */ + tax_receiver_id?: number; + }[], + | void + | BadRequest + | Unauthorized + | Forbidden + | ErrorLimited + | InternalServerError + | ServiceUnavailable + | GatewayTimeout + >({ + path: `/v6/characters/${characterId}/wallet/journal/`, + method: "GET", + query: query, + secure: true, + format: "json", + ...params, + }), + }; }