Protected_ endpoints
_endpoints : { getMercenaryDens : { path : "characters/{characterId}/structures/mercenary-dens" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodObject < { mercenary_dens : ZodArray < ZodObject < { id : ZodNumber ; planet_id : ZodNumber } , $loose > , > ; } , $loose , > ; } ; getMercenaryTacticalOperations : { path : "characters/{characterId}/mercenary-tactical-operations" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodObject < { operations : ZodArray < ZodObject < { id : ZodString ; mercenary_den_id : ZodNumber } , $loose > , > ; } , $loose , > ; } ; getMercenaryDenDetail : { path : "characters/{characterId}/structures/mercenary-dens/{mercenaryDenId}" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" , "mercenaryDenId" ] ; responseSchema : ZodObject < { id : ZodNumber ; type_id : ZodNumber ; state : ZodType < string & {} | "Unspecified" | "Running" | "Paused" | "Disabled" , unknown , $ZodTypeInternals < string & {} | "Unspecified" | "Running" | "Paused" | "Disabled" , unknown , > , > ; skyhook : ZodObject < { id : ZodNumber ; planet_id : ZodNumber ; corporation_id : ZodNumber } , $loose , > ; infomorphs : ZodObject < { amount : ZodNumber } , $loose > ; evolution : ZodObject < { development : ZodObject < { amount : ZodNumber ; level : ZodType < | (...) & (...) | "Unspecified" | "Level0" | "Level1" | "Level2" | "Level3" | "Level4" , unknown , $ZodTypeInternals < (...) | (...) | (...) | (...) | (...) | (...) | (...), unknown , > , > ; } , $loose , > ; anarchy : ZodObject < { amount : ZodNumber ; level : ZodType < | (...) & (...) | "Unspecified" | "Level0" | "Level1" | "Level2" | "Level3" | "Level4" , unknown , $ZodTypeInternals < (...) | (...) | (...) | (...) | (...) | (...) | (...), unknown , > , > ; } , $loose , > ; } , $loose , > ; reinforcement_timer : ZodOptional < ZodObject < { end : ZodString } , $loose > > ; } , $loose , > ; } ; getMercenaryTacticalOperationDetail : { path : "characters/{characterId}/mercenary-tactical-operations/{operationId}" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" , "operationId" ] ; responseSchema : ZodObject < { id : ZodString ; mercenary_den_id : ZodNumber ; state : ZodType < | string & {} | "Unspecified" | "Completed" | "Expired" | "Available" | "Started" | "Removed" , unknown , $ZodTypeInternals < | string & {} | "Unspecified" | "Completed" | "Expired" | "Available" | "Started" | "Removed" , unknown , > , > ; dungeon_type_id : ZodNumber ; expires : ZodString ; } , $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.