chore: generate
This commit is contained in:
parent
8643c0721e
commit
93131b6e4c
15 changed files with 345 additions and 44 deletions
|
|
@ -78,6 +78,10 @@ export type Event =
|
|||
| EventSessionNextCompactionDelta
|
||||
| EventSessionNextCompactionEnded
|
||||
| EventCatalogModelUpdated
|
||||
| EventModelsDevRefreshed
|
||||
| EventAccountAdded
|
||||
| EventAccountRemoved
|
||||
| EventAccountSwitched
|
||||
|
||||
export type OAuth = {
|
||||
type: "oauth"
|
||||
|
|
@ -874,6 +878,7 @@ export type GlobalEvent = {
|
|||
| EventSessionNextCompactionDelta
|
||||
| EventSessionNextCompactionEnded
|
||||
| EventCatalogModelUpdated
|
||||
| EventModelsDevRefreshed
|
||||
| SyncEventMessageUpdated
|
||||
| SyncEventMessageRemoved
|
||||
| SyncEventMessagePartUpdated
|
||||
|
|
@ -3284,6 +3289,14 @@ export type EventCatalogModelUpdated = {
|
|||
}
|
||||
}
|
||||
|
||||
export type EventModelsDevRefreshed = {
|
||||
id: string
|
||||
type: "models-dev.refreshed"
|
||||
properties: {
|
||||
[key: string]: unknown
|
||||
}
|
||||
}
|
||||
|
||||
export type SessionInfo = {
|
||||
id: string
|
||||
parentID?: string
|
||||
|
|
@ -3695,6 +3708,56 @@ export type ModelV2Info1 = {
|
|||
}
|
||||
}
|
||||
|
||||
export type AccountV2oAuthCredential = {
|
||||
type: "oauth"
|
||||
refresh: string
|
||||
access: string
|
||||
expires: number
|
||||
}
|
||||
|
||||
export type AccountV2ApiKeyCredential = {
|
||||
type: "api"
|
||||
key: string
|
||||
metadata?: {
|
||||
[key: string]: string
|
||||
}
|
||||
}
|
||||
|
||||
export type AccountV2Credential = AccountV2oAuthCredential | AccountV2ApiKeyCredential
|
||||
|
||||
export type AccountV2Info = {
|
||||
id: string
|
||||
serviceID: string
|
||||
description: string
|
||||
credential: AccountV2Credential
|
||||
}
|
||||
|
||||
export type EventAccountAdded = {
|
||||
id: string
|
||||
type: "account.added"
|
||||
properties: {
|
||||
account: AccountV2Info
|
||||
}
|
||||
}
|
||||
|
||||
export type EventAccountRemoved = {
|
||||
id: string
|
||||
type: "account.removed"
|
||||
properties: {
|
||||
account: AccountV2Info
|
||||
}
|
||||
}
|
||||
|
||||
export type EventAccountSwitched = {
|
||||
id: string
|
||||
type: "account.switched"
|
||||
properties: {
|
||||
serviceID: string
|
||||
from?: string
|
||||
to?: string
|
||||
}
|
||||
}
|
||||
|
||||
export type BadRequestError = {
|
||||
name: "BadRequest"
|
||||
data: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue