add @bsky.app/sdk + @atproto/lex, vendor lexicons, codegen via lex cli

This commit is contained in:
Samuel Newman
2026-07-15 16:06:20 +03:00
parent 17c1ee4869
commit 15e232749a
306 changed files with 22544 additions and 2 deletions
@@ -0,0 +1,64 @@
{
"lexicon": 1,
"id": "com.atproto.server.refreshSession",
"defs": {
"main": {
"type": "procedure",
"description": "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["accessJwt", "refreshJwt", "handle", "did"],
"properties": {
"accessJwt": {
"type": "string"
},
"refreshJwt": {
"type": "string"
},
"handle": {
"type": "string",
"format": "handle"
},
"did": {
"type": "string",
"format": "did"
},
"didDoc": {
"type": "unknown"
},
"email": {
"type": "string"
},
"emailConfirmed": {
"type": "boolean"
},
"emailAuthFactor": {
"type": "boolean"
},
"active": {
"type": "boolean"
},
"status": {
"type": "string",
"description": "Hosting status of the account. If not specified, then assume 'active'.",
"knownValues": ["takendown", "suspended", "deactivated"]
}
}
}
},
"errors": [
{
"name": "AccountTakedown"
},
{
"name": "InvalidToken"
},
{
"name": "ExpiredToken"
}
]
}
}
}