Our API for capes. master branch has the Kotlin dataclasses (imported by lambda-client/lambda and lambda-client/bot-kt). The capes branch has the actual capes file.
Examples of usage:
module/modules/client/Capes.kt#L72
module/modules/misc/DiscordRPC.kt#L168