Protected_ endpoints
_endpoints : { getCalendarEvents : { path : "characters/{characterId}/calendar/" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodArray < ZodObject < { event_id : ZodOptional < ZodNumber > ; event_date : ZodOptional < ZodString > ; title : ZodOptional < ZodString > ; importance : ZodOptional < ZodNumber > ; event_response : ZodOptional < ZodType < | string & {} | "declined" | "not_responded" | "accepted" | "tentative" , unknown , $ZodTypeInternals < | string & {} | "declined" | "not_responded" | "accepted" | "tentative" , unknown , > , > , > ; } , $loose , > , > ; } ; getCalendarEventById : { path : "characters/{characterId}/calendar/{eventId}/" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" , "eventId" ] ; responseSchema : ZodObject < { event_id : ZodNumber ; date : ZodString ; title : ZodString ; text : ZodString ; owner_id : ZodNumber ; owner_name : ZodString ; owner_type : ZodType < | string & {} | "faction" | "character" | "corporation" | "alliance" | "eve_server" , unknown , $ZodTypeInternals < | string & {} | "faction" | "character" | "corporation" | "alliance" | "eve_server" , unknown , > , > ; duration : ZodNumber ; importance : ZodNumber ; response : ZodString ; } , $loose , > ; } ; getEventAttendees : { path : "characters/{characterId}/calendar/{eventId}/attendees/" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" , "eventId" ] ; responseSchema : ZodArray < ZodObject < { character_id : ZodOptional < ZodNumber > ; event_response : ZodOptional < ZodType < | string & {} | "declined" | "not_responded" | "accepted" | "tentative" , unknown , $ZodTypeInternals < | string & {} | "declined" | "not_responded" | "accepted" | "tentative" , unknown , > , > , > ; } , $loose , > , > ; } ; respondToCalendarEvent : { path : "characters/{characterId}/calendar/{eventId}/" ; method : "PUT" ; requiresAuth : true ; pathParams : readonly [ "characterId" , "eventId" ] ; bodyBuilder : ( response : string ) => { response : string } ; } ; }
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.