[SDK] Add lexicon codegen pipeline (@atproto/lex) (#11346)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-08-13 22:26:12 +03:00
committed by GitHub
parent 97b3978fb8
commit 532681d5c0
304 changed files with 22682 additions and 55 deletions
@@ -0,0 +1,74 @@
{
"id": "com.atproto.server.refreshSession",
"defs": {
"main": {
"type": "procedure",
"errors": [
{
"name": "AccountTakedown"
},
{
"name": "InvalidToken"
},
{
"name": "ExpiredToken"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"accessJwt",
"refreshJwt",
"handle",
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"email": {
"type": "string"
},
"active": {
"type": "boolean"
},
"didDoc": {
"type": "unknown"
},
"handle": {
"type": "string",
"format": "handle"
},
"status": {
"type": "string",
"description": "Hosting status of the account. If not specified, then assume 'active'.",
"knownValues": [
"takendown",
"suspended",
"deactivated"
]
},
"accessJwt": {
"type": "string"
},
"refreshJwt": {
"type": "string"
},
"emailConfirmed": {
"type": "boolean"
},
"emailAuthFactor": {
"type": "boolean"
}
}
},
"encoding": "application/json"
},
"description": "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt')."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}