Protected_ endpoints
_endpoints : { getAncestries : { path : "universe/ancestries" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodObject < { id : ZodNumber ; name : ZodString ; bloodline_id : ZodNumber ; description : ZodString ; short_description : ZodOptional < ZodString > ; icon_id : ZodOptional < ZodNumber > ; } , $loose , > , > ; } ; getAsteroidBeltInfo : { path : "universe/asteroid_belts/{asteroidBeltId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "asteroidBeltId" ] ; responseSchema : ZodObject < { name : ZodString ; position : ZodObject < { x : ZodNumber ; y : ZodNumber ; z : ZodNumber } , $loose , > ; system_id : ZodNumber ; } , $loose , > ; } ; getBloodlines : { path : "universe/bloodlines" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodObject < { bloodline_id : ZodNumber ; name : ZodString ; description : ZodString ; race_id : ZodNumber ; corporation_id : ZodNumber ; ship_type_id : ZodNullable < ZodNumber > ; charisma : ZodNumber ; intelligence : ZodNumber ; memory : ZodNumber ; perception : ZodNumber ; willpower : ZodNumber ; } , $loose , > , > ; } ; getCategories : { path : "universe/categories" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; getCategoryById : { path : "universe/categories/{categoryId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "categoryId" ] ; responseSchema : ZodObject < { category_id : ZodNumber ; name : ZodString ; groups : ZodArray < ZodNumber > ; published : ZodBoolean ; } , $loose , > ; } ; getConstellations : { path : "universe/constellations" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; getConstellationById : { path : "universe/constellations/{constellationId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "constellationId" ] ; responseSchema : ZodObject < { constellation_id : ZodNumber ; name : ZodString ; region_id : ZodNumber ; systems : ZodArray < ZodNumber > ; position : ZodObject < { x : ZodNumber ; y : ZodNumber ; z : ZodNumber } , $loose , > ; } , $loose , > ; } ; getFactions : { path : "universe/factions" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodObject < { faction_id : ZodNumber ; name : ZodString ; description : ZodString ; size_factor : ZodNumber ; station_count : ZodNumber ; station_system_count : ZodNumber ; is_unique : ZodBoolean ; solar_system_id : ZodOptional < ZodNumber > ; corporation_id : ZodOptional < ZodNumber > ; militia_corporation_id : ZodOptional < ZodNumber > ; } , $loose , > , > ; } ; getGraphics : { path : "universe/graphics" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; getGraphicById : { path : "universe/graphics/{graphicId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "graphicId" ] ; responseSchema : ZodObject < { graphic_id : ZodNumber ; collision_file : ZodOptional < ZodString > ; graphic_file : ZodOptional < ZodString > ; icon_folder : ZodOptional < ZodString > ; sof_dna : ZodOptional < ZodString > ; sof_fation_name : ZodOptional < ZodString > ; sof_hull_name : ZodOptional < ZodString > ; sof_race_name : ZodOptional < ZodString > ; } , $loose , > ; } ; getItemGroups : { path : "universe/groups" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; getItemGroupById : { path : "universe/groups/{groupId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "groupId" ] ; responseSchema : ZodObject < { group_id : ZodNumber ; name : ZodString ; category_id : ZodNumber ; types : ZodArray < ZodNumber > ; published : ZodBoolean ; } , $loose , > ; } ; postBulkNamesToIds : { path : "universe/ids" ; method : "POST" ; requiresAuth : false ; bodyBuilder : ( names : string [] ) => string [] ; responseSchema : ZodObject < { agents : ZodOptional < ZodArray < ZodObject < { id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; alliances : ZodOptional < ZodArray < ZodObject < { id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; characters : ZodOptional < ZodArray < ZodObject < { id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; constellations : ZodOptional < ZodArray < ZodObject < { id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; corporations : ZodOptional < ZodArray < ZodObject < { id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; factions : ZodOptional < ZodArray < ZodObject < { id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; inventory_types : ZodOptional < ZodArray < ZodObject < { id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; regions : ZodOptional < ZodArray < ZodObject < { id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; systems : ZodOptional < ZodArray < ZodObject < { id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; stations : ZodOptional < ZodArray < ZodObject < { id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; } , $loose , > ; requestSchema : ZodArray < ZodString > ; } ; getMoonById : { path : "universe/moons/{moonId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "moonId" ] ; responseSchema : ZodObject < { moon_id : ZodNumber ; name : ZodString ; system_id : ZodNumber ; position : ZodObject < { x : ZodNumber ; y : ZodNumber ; z : ZodNumber } , $loose , > ; } , $loose , > ; } ; postNamesAndCategories : { path : "universe/names" ; method : "POST" ; requiresAuth : false ; bodyBuilder : ( ids : number [] ) => number [] ; responseSchema : ZodArray < ZodObject < { id : ZodNumber ; name : ZodString ; category : ZodType < | string & {} | "faction" | "character" | "corporation" | "alliance" | "constellation" | "inventory_type" | "region" | "solar_system" | "station" , unknown , $ZodTypeInternals < | string & {} | "faction" | "character" | "corporation" | "alliance" | "constellation" | "inventory_type" | "region" | "solar_system" | "station" , unknown , > , > ; } , $loose , > , > ; requestSchema : ZodArray < ZodNumber > ; } ; getPlanetById : { path : "universe/planets/{planetId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "planetId" ] ; responseSchema : ZodObject < { planet_id : ZodNumber ; name : ZodString ; system_id : ZodNumber ; type_id : ZodNumber ; position : ZodObject < { x : ZodNumber ; y : ZodNumber ; z : ZodNumber } , $loose , > ; } , $loose , > ; } ; getRaces : { path : "universe/races" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodObject < { race_id : ZodNumber ; name : ZodString ; description : ZodString ; alliance_id : ZodNumber ; } , $loose , > , > ; } ; getRegions : { path : "universe/regions" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; getRegionById : { path : "universe/regions/{regionId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "regionId" ] ; responseSchema : ZodObject < { region_id : ZodNumber ; name : ZodString ; description : ZodOptional < ZodString > ; constellations : ZodArray < ZodNumber > ; } , $loose , > ; } ; getSchematicById : { path : "universe/schematics/{schematicId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "schematicId" ] ; responseSchema : ZodObject < { schematic_name : ZodString ; cycle_time : ZodNumber } , $loose , > ; } ; getStargateById : { path : "universe/stargates/{stargateId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "stargateId" ] ; responseSchema : ZodObject < { stargate_id : ZodNumber ; name : ZodString ; system_id : ZodNumber ; type_id : ZodNumber ; position : ZodObject < { x : ZodNumber ; y : ZodNumber ; z : ZodNumber } , $loose , > ; destination : ZodObject < { system_id : ZodNumber ; stargate_id : ZodNumber } , $loose , > ; } , $loose , > ; } ; getStarById : { path : "universe/stars/{starId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "starId" ] ; responseSchema : ZodObject < { star_id : ZodOptional < ZodNumber > ; solar_system_id : ZodNumber ; name : ZodString ; type_id : ZodNumber ; age : ZodNumber ; luminosity : ZodNumber ; radius : ZodNumber ; spectral_class : ZodString ; temperature : ZodNumber ; } , $loose , > ; } ; getStationById : { path : "universe/stations/{stationId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "stationId" ] ; responseSchema : ZodObject < { station_id : ZodNumber ; name : ZodString ; owner : ZodOptional < ZodNumber > ; system_id : ZodNumber ; type_id : ZodNumber ; race_id : ZodOptional < ZodNumber > ; reprocessing_efficiency : ZodNumber ; reprocessing_stations_take : ZodNumber ; max_dockable_ship_volume : ZodNumber ; office_rental_cost : ZodNumber ; services : ZodArray < ZodString > ; position : ZodObject < { x : ZodNumber ; y : ZodNumber ; z : ZodNumber } , $loose , > ; } , $loose , > ; } ; getStructures : { path : "universe/structures" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; getStructureById : { path : "universe/structures/{structureId}" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "structureId" ] ; responseSchema : ZodObject < { structure_id : ZodOptional < ZodNumber > ; name : ZodString ; owner_id : ZodNumber ; solar_system_id : ZodNumber ; type_id : ZodOptional < ZodNumber > ; position : ZodOptional < ZodObject < { x : ZodNumber ; y : ZodNumber ; z : ZodNumber } , $loose > , > ; } , $loose , > ; } ; getSystemJumps : { path : "universe/system_jumps" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodObject < { system_id : ZodNumber ; ship_jumps : ZodNumber } , $loose > , > ; } ; getSystemKills : { path : "universe/system_kills" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodObject < { system_id : ZodNumber ; npc_kills : ZodNumber ; pod_kills : ZodNumber ; ship_kills : ZodNumber ; } , $loose , > , > ; } ; getSystems : { path : "universe/systems" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; getSystemById : { path : "universe/systems/{systemId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "systemId" ] ; responseSchema : ZodObject < { system_id : ZodNumber ; name : ZodString ; constellation_id : ZodNumber ; position : ZodObject < { x : ZodNumber ; y : ZodNumber ; z : ZodNumber } , $loose , > ; security_class : ZodOptional < ZodString > ; security_status : ZodNumber ; star_id : ZodOptional < ZodNumber > ; stargates : ZodOptional < ZodArray < ZodNumber > > ; stations : ZodOptional < ZodArray < ZodNumber > > ; planets : ZodOptional < ZodArray < ZodObject < { asteroid_belts : ZodOptional < ZodArray < ZodNumber > > ; moons : ZodOptional < ZodArray < ZodNumber > > ; planet_id : ZodNumber ; } , $loose , > , > , > ; } , $loose , > ; } ; getTypes : { path : "universe/types" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; getTypeById : { path : "universe/types/{typeId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "typeId" ] ; responseSchema : ZodObject < { type_id : ZodNumber ; name : ZodString ; description : ZodString ; published : ZodBoolean ; group_id : ZodNumber ; market_group_id : ZodOptional < ZodNumber > ; radius : ZodOptional < ZodNumber > ; volume : ZodOptional < ZodNumber > ; packaged_volume : ZodOptional < ZodNumber > ; capacity : ZodOptional < ZodNumber > ; portion_size : ZodOptional < ZodNumber > ; mass : ZodOptional < ZodNumber > ; icon_id : ZodOptional < ZodNumber > ; graphic_id : ZodOptional < ZodNumber > ; dogma_attributes : ZodOptional < ZodArray < ZodObject < { attribute_id : ZodNumber ; value : ZodNumber } , $loose > , > , > ; dogma_effects : ZodOptional < ZodArray < ZodObject < { effect_id : ZodNumber ; is_default : ZodBoolean } , $loose > , > , > ; } , $loose , > ; } ; }
The base of the custom domain clients: an endpoint map turned into methods, plus the
stream*/fetchAll*page helpers andwithMetadata/withSafeMode. Extend it for a custom domain client of your own.