Protected_ endpoints
_endpoints : { getCharacterAttributes : { path : "characters/{characterId}/attributes" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodObject < { charisma : ZodNumber ; intelligence : ZodNumber ; memory : ZodNumber ; perception : ZodNumber ; willpower : ZodNumber ; bonus_remaps : ZodOptional < ZodNumber > ; last_remap_date : ZodOptional < ZodString > ; accrued_remap_cooldown_date : ZodOptional < ZodString > ; } , $loose , > ; } ; getCharacterSkillQueue : { path : "characters/{characterId}/skillqueue" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodArray < ZodObject < { skill_id : ZodNumber ; finished_level : ZodNumber ; queue_position : ZodNumber ; level_end_sp : ZodOptional < ZodNumber > ; level_start_sp : ZodOptional < ZodNumber > ; training_start_sp : ZodOptional < ZodNumber > ; start_date : ZodOptional < ZodString > ; finish_date : ZodOptional < ZodString > ; } , $loose , > , > ; } ; getCharacterSkills : { path : "characters/{characterId}/skills" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodObject < { skills : ZodArray < ZodObject < { skill_id : ZodNumber ; skillpoints_in_skill : ZodNumber ; trained_skill_level : ZodNumber ; active_skill_level : ZodNumber ; } , $loose , > , > ; total_sp : ZodNumber ; unallocated_sp : ZodOptional < ZodNumber > ; } , $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.