fix(sdk): preserve V2Event name for SSE streams (#34171)
This commit is contained in:
@@ -2766,7 +2766,7 @@ export type SessionHistory = {
|
||||
hasMore: boolean
|
||||
}
|
||||
|
||||
export type SessionDurableEvent1 = string
|
||||
export type SessionDurableEventStream = string
|
||||
|
||||
export type SessionMessagesResponse = {
|
||||
data: Array<SessionMessage>
|
||||
@@ -2847,7 +2847,7 @@ export type QuestionRejected2 = {
|
||||
}
|
||||
}
|
||||
|
||||
export type V2Event1 =
|
||||
export type V2Event =
|
||||
| ModelsDevRefreshed
|
||||
| IntegrationUpdated
|
||||
| IntegrationConnectionUpdated
|
||||
@@ -2937,7 +2937,7 @@ export type V2Event1 =
|
||||
| ServerConnected
|
||||
| GlobalDisposed
|
||||
|
||||
export type V2Event = string
|
||||
export type V2EventStream = string
|
||||
|
||||
export type ForbiddenError = {
|
||||
_tag: "ForbiddenError"
|
||||
@@ -11901,7 +11901,7 @@ export type V2SessionEventsResponses = {
|
||||
200: {
|
||||
id: string
|
||||
event: string
|
||||
data: SessionDurableEvent1
|
||||
data: SessionDurableEventStream
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user