Protected_ endpoints
_endpoints : { getCorporationInfo : { path : "corporations/{corporationId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodObject < { corporation_id : ZodOptional < ZodNumber > ; name : ZodString ; ticker : ZodString ; description : ZodOptional < ZodString > ; url : ZodOptional < ZodString > ; alliance_id : ZodOptional < ZodNumber > ; ceo_id : ZodOptional < ZodNumber > ; creator_id : ZodOptional < ZodNumber > ; date_founded : ZodOptional < ZodString > ; faction_id : ZodOptional < ZodNumber > ; enlisted_faction_id : ZodOptional < ZodNumber > ; home_station_id : ZodOptional < ZodNumber > ; member_count : ZodNumber ; shares : ZodOptional < ZodNumber > ; tax_rate : ZodOptional < ZodNumber > ; tax_rates : ZodOptional < ZodObject < { isk : ZodNumber ; loyalty_point : ZodNumber } , $loose > , > ; war_eligible : ZodOptional < ZodBoolean > ; friendly_fire : ZodOptional < ZodType < string & {} | "legal" | "illegal" , unknown , $ZodTypeInternals < string & {} | "legal" | "illegal" , unknown > , > , > ; state : ZodOptional < ZodType < "closed" | string & {} | "active" , unknown , $ZodTypeInternals < "closed" | string & {} | "active" , unknown > , > , > ; type : ZodOptional < ZodType < string & {} | "player_owned" | "npc_owned" , unknown , $ZodTypeInternals < string & {} | "player_owned" | "npc_owned" , unknown > , > , > ; palette : ZodOptional < ZodObject < { main_color : ZodString ; secondary_color : ZodOptional < ZodString > ; tertiary_color : ZodOptional < ZodString > ; } , $loose , > , > ; } , $loose , > ; } ; getCorporationAllianceHistory : { path : "corporations/{corporationId}/alliancehistory" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { alliance_id : ZodOptional < ZodNumber > ; is_deleted : ZodOptional < ZodBoolean > ; record_id : ZodNumber ; start_date : ZodString ; } , $loose , > , > ; } ; getCorporationBlueprints : { path : "corporations/{corporationId}/blueprints" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { item_id : ZodNumber ; type_id : ZodNumber ; location_id : ZodNumber ; location_flag : ZodString ; quantity : ZodNumber ; time_efficiency : ZodNumber ; material_efficiency : ZodNumber ; runs : ZodNumber ; } , $loose , > , > ; } ; getCorporationAlscLogs : { path : "corporations/{corporationId}/containers/logs" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { logged_at : ZodString ; container_id : ZodNumber ; container_type_id : ZodNumber ; character_id : ZodNumber ; location_id : ZodNumber ; location_flag : ZodString ; action : ZodString ; password_type : ZodOptional < ZodType < string & {} | "config" | "general" , unknown , $ZodTypeInternals < string & {} | "config" | "general" , unknown > , > , > ; type_id : ZodOptional < ZodNumber > ; quantity : ZodOptional < ZodNumber > ; old_config_bitmask : ZodOptional < ZodNumber > ; new_config_bitmask : ZodOptional < ZodNumber > ; } , $loose , > , > ; } ; getCorporationDivisions : { path : "corporations/{corporationId}/divisions" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodObject < { hangar : ZodOptional < ZodArray < ZodObject < { division : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; wallet : ZodOptional < ZodArray < ZodObject < { division : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > } , $loose , > , > , > ; } , $loose , > ; } ; getCorporationFacilities : { path : "corporations/{corporationId}/facilities" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { facility_id : ZodNumber ; type_id : ZodNumber ; system_id : ZodNumber } , $loose , > , > ; } ; getCorporationIcon : { path : "corporations/{corporationId}/icons" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodObject < { px64x64 : ZodOptional < ZodString > ; px128x128 : ZodOptional < ZodString > ; px256x256 : ZodOptional < ZodString > ; } , $loose , > ; } ; getCorporationMedals : { path : "corporations/{corporationId}/medals" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { medal_id : ZodNumber ; title : ZodString ; description : ZodString ; creator_id : ZodNumber ; created_at : ZodString ; } , $loose , > , > ; } ; getCorporationIssuedMedals : { path : "corporations/{corporationId}/medals/issued" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { medal_id : ZodNumber ; character_id : ZodNumber ; issued_at : ZodString ; issuer_id : ZodNumber ; reason : ZodString ; status : ZodType < string & {} | "private" | "public" , unknown , $ZodTypeInternals < string & {} | "private" | "public" , unknown > , > ; } , $loose , > , > ; } ; getCorporationMembers : { path : "corporations/{corporationId}/members" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodNumber > ; } ; getCorporationMemberLimit : { path : "corporations/{corporationId}/members/limit" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodNumber ; } ; getCorporationMembersTitles : { path : "corporations/{corporationId}/members/titles" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { character_id : ZodNumber ; titles : ZodArray < ZodNumber > } , $loose , > , > ; } ; getCorporationMemberTracking : { path : "corporations/{corporationId}/membertracking" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { character_id : ZodNumber ; start_date : ZodOptional < ZodString > ; base_id : ZodOptional < ZodNumber > ; location_id : ZodOptional < ZodNumber > ; logoff_date : ZodOptional < ZodString > ; logon_date : ZodOptional < ZodString > ; online : ZodOptional < ZodBoolean > ; ship_type_id : ZodOptional < ZodNumber > ; } , $loose , > , > ; } ; getCorporationMemberRoles : { path : "corporations/{corporationId}/roles" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { character_id : ZodNumber ; roles : ZodOptional < ZodArray < ZodString > > ; grantable_roles : ZodOptional < ZodArray < ZodString > > ; roles_at_hq : ZodOptional < ZodArray < ZodString > > ; grantable_roles_at_hq : ZodOptional < ZodArray < ZodString > > ; roles_at_base : ZodOptional < ZodArray < ZodString > > ; grantable_roles_at_base : ZodOptional < ZodArray < ZodString > > ; roles_at_other : ZodOptional < ZodArray < ZodString > > ; grantable_roles_at_other : ZodOptional < ZodArray < ZodString > > ; } , $loose , > , > ; } ; getCorporationMemberRolesHistory : { path : "corporations/{corporationId}/roles/history" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { character_id : ZodNumber ; changed_at : ZodString ; issuer_id : ZodNumber ; role_type : ZodString ; old_roles : ZodArray < ZodString > ; new_roles : ZodArray < ZodString > ; } , $loose , > , > ; } ; getCorporationShareholders : { path : "corporations/{corporationId}/shareholders" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { shareholder_id : ZodNumber ; shareholder_type : ZodType < string & {} | "character" | "corporation" , unknown , $ZodTypeInternals < string & {} | "character" | "corporation" , unknown > , > ; share_count : ZodNumber ; } , $loose , > , > ; } ; getCorporationStandings : { path : "corporations/{corporationId}/standings" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { from_id : ZodNumber ; from_type : ZodType < string & {} | "agent" | "npc_corp" | "faction" , unknown , $ZodTypeInternals < string & {} | "agent" | "npc_corp" | "faction" , unknown , > , > ; standing : ZodNumber ; } , $loose , > , > ; } ; getCorporationStarbases : { path : "corporations/{corporationId}/starbases" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { starbase_id : ZodNumber ; type_id : ZodNumber ; system_id : ZodNumber ; state : ZodOptional < ZodType < | string & {} | "offline" | "online" | "onlining" | "reinforced" | "unanchoring" , unknown , $ZodTypeInternals < | string & {} | "offline" | "online" | "onlining" | "reinforced" | "unanchoring" , unknown , > , > , > ; moon_id : ZodOptional < ZodNumber > ; onlined_since : ZodOptional < ZodString > ; reinforced_until : ZodOptional < ZodString > ; unanchor_at : ZodOptional < ZodString > ; } , $loose , > , > ; } ; getCorporationStarbaseDetail : { path : "corporations/{corporationId}/starbases/{starbaseId}" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" , "starbaseId" ] ; responseSchema : ZodObject < { fuels : ZodOptional < ZodArray < ZodObject < { type_id : ZodNumber ; quantity : ZodNumber } , $loose > , > , > ; allow_alliance_members : ZodBoolean ; allow_corporation_members : ZodBoolean ; anchor : ZodString ; attack_if_at_war : ZodBoolean ; attack_if_other_security_status_dropping : ZodBoolean ; attack_security_status_threshold : ZodOptional < ZodNumber > ; attack_standing_threshold : ZodOptional < ZodNumber > ; fuel_bay_take : ZodString ; fuel_bay_view : ZodString ; offline : ZodString ; online : ZodString ; unanchor : ZodString ; use_alliance_standings : ZodBoolean ; } , $loose , > ; } ; getCorporationStructures : { path : "corporations/{corporationId}/structures" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { structure_id : ZodNumber ; corporation_id : ZodNumber ; type_id : ZodNumber ; system_id : ZodNumber ; profile_id : ZodNumber ; services : ZodOptional < ZodArray < ZodObject < { name : ZodString ; state : ZodType < (...) | (...) | (...) | (...), unknown , $ZodTypeInternals < (...), (...)> , > ; } , $loose , > , > , > ; fuel_expires : ZodOptional < ZodString > ; name : ZodOptional < ZodString > ; state : ZodString ; state_timer_start : ZodOptional < ZodString > ; state_timer_end : ZodOptional < ZodString > ; unanchors_at : ZodOptional < ZodString > ; reinforce_hour : ZodOptional < ZodNumber > ; next_reinforce_hour : ZodOptional < ZodNumber > ; next_reinforce_apply : ZodOptional < ZodString > ; } , $loose , > , > ; } ; getCorporationTitles : { path : "corporations/{corporationId}/titles" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { title_id : ZodOptional < ZodNumber > ; name : ZodOptional < ZodString > ; roles : ZodOptional < ZodArray < ZodString > > ; grantable_roles : ZodOptional < ZodArray < ZodString > > ; roles_at_hq : ZodOptional < ZodArray < ZodString > > ; grantable_roles_at_hq : ZodOptional < ZodArray < ZodString > > ; roles_at_base : ZodOptional < ZodArray < ZodString > > ; grantable_roles_at_base : ZodOptional < ZodArray < ZodString > > ; roles_at_other : ZodOptional < ZodArray < ZodString > > ; grantable_roles_at_other : ZodOptional < ZodArray < ZodString > > ; } , $loose , > , > ; } ; getNpcCorporations : { path : "corporations/npccorps" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; }
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.