Protected_ endpoints
_endpoints : { getCharacterSkinr : { path : "characters/{characterId}/cosmetics/skinr" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodObject < { licenses : ZodArray < ZodObject < { skinr_id : ZodString ; activated : ZodBoolean ; unactivated : ZodNumber ; } , $loose , > , > ; } , $loose , > ; } ; getCharacterSkinrComponents : { path : "characters/{characterId}/cosmetics/skinr/components" ; method : "GET" ; requiresAuth : true ; pathParams : readonly [ "characterId" ] ; responseSchema : ZodObject < { licenses : ZodArray < ZodObject < { component_id : ZodNumber ; type : ZodType < string & {} | "pattern" | "nanocoating" , unknown , $ZodTypeInternals < (...) & (...) | "pattern" | "nanocoating" , unknown , > , > ; runs : ZodObject < { remaining : ZodOptional < ZodNumber > ; unlimited : ZodOptional < ZodBoolean > ; } , $loose , > ; } , $loose , > , > ; } , $loose , > ; } ; getSkinr : { path : "cosmetics/skinr/{skinrId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "skinrId" ] ; responseSchema : ZodObject < { id : ZodString ; name : ZodString ; creator_id : ZodNumber ; ship_type_id : ZodNumber ; line : ZodOptional < ZodString > ; tier : ZodObject < { level : ZodNumber } , $loose > ; layout : ZodObject < { slots : ZodArray < ZodObject < { id : ZodNumber ; configuration : ZodObject < {} , $loose > } , $loose , > , > ; pattern_blend_mode : ZodType < | string & {} | "normal" | "subtract" | "exclusion" | "nested" | "nested_inverted" , unknown , $ZodTypeInternals < | string & {} | "normal" | "subtract" | "exclusion" | "nested" | "nested_inverted" , unknown , > , > ; } , $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.