Protected_ endpoints
_endpoints : { getClones : { path : "characters/{characterId}/clones" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodObject < { home_location : ZodOptional < ZodObject < { location_id : ZodOptional < ZodNumber > ; location_type : ZodOptional < ZodType < (...) & (...) | "station" | "structure" , unknown , $ZodTypeInternals < (...) | (...) | (...), unknown > , > , > ; } , $loose , > , > ; jump_clones : ZodArray < ZodObject < { jump_clone_id : ZodNumber ; location_id : ZodNumber ; location_type : ZodType < string & {} | "station" | "structure" , unknown , $ZodTypeInternals < (...) & (...) | "station" | "structure" , unknown > , > ; implants : ZodArray < ZodNumber > ; name : ZodOptional < ZodString > ; } , $loose , > , > ; last_clone_jump_date : ZodOptional < ZodString > ; last_station_change_date : ZodOptional < ZodString > ; } , $loose , > ; } ; getImplants : { path : "characters/{characterId}/implants" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; 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.