chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-13 10:18:40 +00:00
parent 809af5c590
commit d488e3fd2a
2 changed files with 40 additions and 10 deletions

View File

@@ -81,12 +81,7 @@ export class ValidationFailed extends Schema.TaggedErrorClass<ValidationFailed>(
message: Schema.String,
}) {}
export type Error =
| Auth.AuthError
| OauthMissing
| OauthCodeMissing
| OauthCallbackFailed
| ValidationFailed
export type Error = Auth.AuthError | OauthMissing | OauthCodeMissing | OauthCallbackFailed | ValidationFailed
type Hook = NonNullable<Hooks["auth"]>

View File

@@ -4217,11 +4217,11 @@
}
},
"400": {
"description": "Bad request",
"description": "ProviderAuthError",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BadRequestError"
"$ref": "#/components/schemas/ProviderAuthError1"
}
}
}
@@ -4303,11 +4303,11 @@
}
},
"400": {
"description": "Bad request",
"description": "ProviderAuthError",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BadRequestError"
"$ref": "#/components/schemas/ProviderAuthError1"
}
}
}
@@ -13785,6 +13785,41 @@
"required": ["url", "method", "instructions"],
"additionalProperties": false
},
"ProviderAuthError1": {
"type": "object",
"properties": {
"name": {
"type": "string",
"enum": [
"BadRequest",
"ProviderAuthOauthMissing",
"ProviderAuthOauthCodeMissing",
"ProviderAuthOauthCallbackFailed",
"ProviderAuthValidationFailed"
]
},
"data": {
"type": "object",
"properties": {
"providerID": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
},
"kind": {
"type": "string"
}
},
"additionalProperties": false
}
},
"required": ["name", "data"],
"additionalProperties": false
},
"TextPartInput": {
"type": "object",
"properties": {