WIP fase 2b-2: rimosso login ChatGPT/OAuth/device code, agent/workload identity, backend-client; resta solo chiave API (test non tutti verdi)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-10 06:00:44 +01:00
parent 82347a58ed
commit 231e8cd136
661 changed files with 4924 additions and 64817 deletions

View File

@@ -19,40 +19,6 @@
"title": "ApiKeyAccount",
"type": "object"
},
{
"properties": {
"email": {
"type": [
"string",
"null"
]
},
"planType": {
"$ref": "#/definitions/PlanType"
},
"type": {
"enum": [
"chatgpt"
],
"title": "ChatgptAccountType",
"type": "string"
},
"workspaceName": {
"description": "Display name of the selected ChatGPT workspace, when available.",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"planType",
"type"
],
"title": "ChatgptAccount",
"type": "object"
},
{
"properties": {
"type": {
@@ -91,59 +57,6 @@
"type": "object"
}
]
},
"AccountRoutingOverride": {
"description": "Backend routing policy. Wire values match the accounts/check contract.",
"enum": [
"NO_CONSTRAINT",
"us",
"us_cr"
],
"type": "string"
},
"PlanType": {
"enum": [
"free",
"go",
"plus",
"pro",
"prolite",
"promax",
"team",
"self_serve_business_prolite",
"self_serve_business_usage_based",
"business",
"ent26",
"enterprise_cbp_automation",
"enterprise_cbp_usage_based",
"enterprise",
"edu",
"edu_plus",
"edu_pro",
"sci",
"sci_plus",
"unknown"
],
"type": "string"
},
"WorkspaceRouting": {
"properties": {
"accountRoutingOverride": {
"$ref": "#/definitions/AccountRoutingOverride"
},
"backendOrigin": {
"type": "string"
},
"chatgptAccountId": {
"type": "string"
}
},
"required": [
"accountRoutingOverride",
"backendOrigin",
"chatgptAccountId"
],
"type": "object"
}
},
"properties": {
@@ -159,14 +72,6 @@
},
"requiresOpenaiAuth": {
"type": "boolean"
},
"userId": {
"default": null,
"description": "ChatGPT user ID belonging to this account response, when available.",
"type": [
"string",
"null"
]
}
},
"required": [