UNPKG

eve-esi-types

Version:

Extracted the main type of ESI. use for ESI request response types (version 2 only)

444 lines (431 loc) 8.5 kB
// Generated by scripts/lib/code-synthesizer.mjs // - - - - - - - - - - - - - - - - - - - - // @method {get} // - - - - - - - - - - - - - - - - - - - - /*! * ESI endpoint: get:/characters/{character_id}/assets/ */ /** * location_flag string */ type GetCharactersCharacterIdAssetsLocationFlag = | "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" | "InfrastructureHangar" | "LoSlot0" | "LoSlot1" | "LoSlot2" | "LoSlot3" | "LoSlot4" | "LoSlot5" | "LoSlot6" | "LoSlot7" | "Locked" | "MedSlot0" | "MedSlot1" | "MedSlot2" | "MedSlot3" | "MedSlot4" | "MedSlot5" | "MedSlot6" | "MedSlot7" | "MobileDepotHold" | "MoonMaterialBay" | "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"; /** * location_type string */ type GetCharactersCharacterIdAssetsLocationType = "station" | "solar_system" | "item" | "other"; /** * 200 ok array * * @maxItems 1000 */ type GetCharactersCharacterIdAssetsOk = GetCharactersCharacterIdAssets_200Ok[]; /** * 200 ok object */ interface GetCharactersCharacterIdAssets_200Ok { /** * is_blueprint_copy boolean */ is_blueprint_copy?: boolean; /** * is_singleton boolean */ is_singleton: boolean; /** * item_id integer */ item_id: number; location_flag: GetCharactersCharacterIdAssetsLocationFlag; /** * location_id integer */ location_id: number; location_type: GetCharactersCharacterIdAssetsLocationType; /** * quantity integer */ quantity: number; type_id: number; [k: string]: unknown | undefined; } /*! * ESI endpoint: get:/corporations/{corporation_id}/assets/ */ /** * location_flag string */ type GetCorporationsCorporationIdAssetsLocationFlag = | "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" | "InfrastructureHangar" | "JunkyardReprocessed" | "JunkyardTrashed" | "LoSlot0" | "LoSlot1" | "LoSlot2" | "LoSlot3" | "LoSlot4" | "LoSlot5" | "LoSlot6" | "LoSlot7" | "Locked" | "MedSlot0" | "MedSlot1" | "MedSlot2" | "MedSlot3" | "MedSlot4" | "MedSlot5" | "MedSlot6" | "MedSlot7" | "MobileDepotHold" | "MoonMaterialBay" | "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"; /** * location_type string */ type GetCorporationsCorporationIdAssetsLocationType = "station" | "solar_system" | "item" | "other"; /** * 200 ok array * * @maxItems 1000 */ type GetCorporationsCorporationIdAssetsOk = GetCorporationsCorporationIdAssets_200Ok[]; /** * 200 ok object */ interface GetCorporationsCorporationIdAssets_200Ok { /** * is_blueprint_copy boolean */ is_blueprint_copy?: boolean; /** * is_singleton boolean */ is_singleton: boolean; /** * item_id integer */ item_id: number; location_flag: GetCorporationsCorporationIdAssetsLocationFlag; /** * location_id integer */ location_id: number; location_type: GetCorporationsCorporationIdAssetsLocationType; /** * quantity integer */ quantity: number; type_id: number; [k: string]: unknown | undefined; } // - - - - - - - - - - - - - - - - - - - - // @method {post} // - - - - - - - - - - - - - - - - - - - - /*! * ESI endpoint: post:/characters/{character_id}/assets/locations/ */ /** * 200 ok array * * @maxItems 1000 */ type PostCharactersCharacterIdAssetsLocationsOk = PostCharactersCharacterIdAssetsLocations_200Ok[]; /** * 200 ok object */ interface PostCharactersCharacterIdAssetsLocations_200Ok { /** * item_id integer */ item_id: number; position: PostCharactersCharacterIdAssetsLocationsPosition; [k: string]: unknown | undefined; } /** * position object */ interface PostCharactersCharacterIdAssetsLocationsPosition { /** * x number */ x: number; /** * y number */ y: number; /** * z number */ z: number; [k: string]: unknown | undefined; } /*! * ESI endpoint: post:/characters/{character_id}/assets/names/ */ /** * 200 ok array * * @maxItems 1000 */ type PostCharactersCharacterIdAssetsNamesOk = PostCharactersCharacterIdAssetsNames_200Ok[]; /** * 200 ok object */ interface PostCharactersCharacterIdAssetsNames_200Ok { /** * item_id integer */ item_id: number; /** * name string */ name: string; [k: string]: unknown | undefined; } /*! * ESI endpoint: post:/corporations/{corporation_id}/assets/locations/ */ /** * 200 ok array * * @maxItems 1000 */ type PostCorporationsCorporationIdAssetsLocationsOk = PostCorporationsCorporationIdAssetsLocations_200Ok[]; /** * 200 ok object */ interface PostCorporationsCorporationIdAssetsLocations_200Ok { /** * item_id integer */ item_id: number; position: PostCorporationsCorporationIdAssetsLocationsPosition; [k: string]: unknown | undefined; } /** * position object */ interface PostCorporationsCorporationIdAssetsLocationsPosition { /** * x number */ x: number; /** * y number */ y: number; /** * z number */ z: number; [k: string]: unknown | undefined; } /*! * ESI endpoint: post:/corporations/{corporation_id}/assets/names/ */ /** * 200 ok array * * @maxItems 1000 */ type PostCorporationsCorporationIdAssetsNamesOk = PostCorporationsCorporationIdAssetsNames_200Ok[]; /** * 200 ok object */ interface PostCorporationsCorporationIdAssetsNames_200Ok { /** * item_id integer */ item_id: number; /** * name string */ name: string; [k: string]: unknown | undefined; }