Protected_ endpoints
_endpoints : { getCharacterRecentKillmails : { path : "characters/{characterId}/killmails/recent" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodArray < ZodObject < { killmail_id : ZodNumber ; killmail_hash : ZodString } , $loose , > , > ; } ; getCorporationRecentKillmails : { path : "corporations/{corporationId}/killmails/recent" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "corporationId" ] ; responseSchema : ZodArray < ZodObject < { killmail_id : ZodNumber ; killmail_hash : ZodString } , $loose , > , > ; } ; getKillmail : { path : "killmails/{killmailId}/{killmailHash}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "killmailId" , "killmailHash" ] ; responseSchema : ZodObject < { killmail_id : ZodNumber ; killmail_time : ZodString ; solar_system_id : ZodNumber ; moon_id : ZodOptional < ZodNumber > ; war_id : ZodOptional < ZodNumber > ; victim : ZodObject < { character_id : ZodOptional < ZodNumber > ; corporation_id : ZodOptional < ZodNumber > ; alliance_id : ZodOptional < ZodNumber > ; faction_id : ZodOptional < ZodNumber > ; ship_type_id : ZodNumber ; damage_taken : ZodNumber ; position : ZodOptional < ZodObject < { x : ZodNumber ; y : ZodNumber ; z : ZodNumber } , $loose > , > ; items : ZodOptional < ZodArray < ZodUnknown > > ; } , $loose , > ; attackers : ZodArray < ZodObject < { character_id : ZodOptional < ZodNumber > ; corporation_id : ZodOptional < ZodNumber > ; alliance_id : ZodOptional < ZodNumber > ; faction_id : ZodOptional < ZodNumber > ; ship_type_id : ZodOptional < ZodNumber > ; weapon_type_id : ZodOptional < ZodNumber > ; damage_done : ZodNumber ; final_blow : ZodBoolean ; security_status : 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.