mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
109 lines
2.5 KiB
JSON
Generated
109 lines
2.5 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"oneOf": [
|
|
{
|
|
"properties": {
|
|
"type": {
|
|
"enum": [
|
|
"apiKey"
|
|
],
|
|
"title": "ApiKeyv2::LoginAccountResponseType",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"type"
|
|
],
|
|
"title": "ApiKeyv2::LoginAccountResponse",
|
|
"type": "object"
|
|
},
|
|
{
|
|
"properties": {
|
|
"authUrl": {
|
|
"description": "URL the client should open in a browser to initiate the OAuth flow.",
|
|
"type": "string"
|
|
},
|
|
"loginId": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"chatgpt"
|
|
],
|
|
"title": "Chatgptv2::LoginAccountResponseType",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"authUrl",
|
|
"loginId",
|
|
"type"
|
|
],
|
|
"title": "Chatgptv2::LoginAccountResponse",
|
|
"type": "object"
|
|
},
|
|
{
|
|
"properties": {
|
|
"loginId": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"chatgptDeviceCode"
|
|
],
|
|
"title": "ChatgptDeviceCodev2::LoginAccountResponseType",
|
|
"type": "string"
|
|
},
|
|
"userCode": {
|
|
"description": "One-time code the user must enter after signing in.",
|
|
"type": "string"
|
|
},
|
|
"verificationUrl": {
|
|
"description": "URL the client should open in a browser to complete device code authorization.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"loginId",
|
|
"type",
|
|
"userCode",
|
|
"verificationUrl"
|
|
],
|
|
"title": "ChatgptDeviceCodev2::LoginAccountResponse",
|
|
"type": "object"
|
|
},
|
|
{
|
|
"properties": {
|
|
"type": {
|
|
"enum": [
|
|
"chatgptAuthTokens"
|
|
],
|
|
"title": "ChatgptAuthTokensv2::LoginAccountResponseType",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"type"
|
|
],
|
|
"title": "ChatgptAuthTokensv2::LoginAccountResponse",
|
|
"type": "object"
|
|
},
|
|
{
|
|
"properties": {
|
|
"type": {
|
|
"enum": [
|
|
"amazonBedrock"
|
|
],
|
|
"title": "AmazonBedrockv2::LoginAccountResponseType",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"type"
|
|
],
|
|
"title": "AmazonBedrockv2::LoginAccountResponse",
|
|
"type": "object"
|
|
}
|
|
],
|
|
"title": "LoginAccountResponse"
|
|
} |