Protected_ endpoints
_endpoints : { getAccessList : { path : "characters/{characterId}/access-lists/{accessListId}" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" , "accessListId" ] ; responseSchema : ZodObject < { id : ZodNumber ; name : ZodString ; description : ZodString ; membership : ZodObject < { allow_everyone : ZodBoolean ; alliances : ZodArray < ZodObject < { alliance_id : ZodNumber ; access : ZodType < (...) | (...) | (...) | (...) | (...) | (...), unknown , $ZodTypeInternals < (...), (...)> , > ; } , $loose , > , > ; corporations : ZodArray < ZodObject < { corporation_id : ZodNumber ; access : ZodType < (...) | (...) | (...) | (...) | (...) | (...), unknown , $ZodTypeInternals < (...), (...)> , > ; } , $loose , > , > ; characters : ZodArray < ZodObject < { character_id : ZodNumber ; access : ZodType < (...) | (...) | (...) | (...) | (...) | (...), unknown , $ZodTypeInternals < (...), (...)> , > ; } , $loose , > , > ; } , $loose , > ; } , $loose , > ; } ; getCharacterAccessLists : { path : "characters/{characterId}/access-lists" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodObject < { access_lists : ZodArray < ZodObject < { id : ZodNumber } , $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.