fix(sdk): preserve SSE event payload types

This commit is contained in:
𝓛𝓲𝓽𝓽𝓵𝓮 𝓕𝓻𝓪𝓷𝓴 2026-06-26 20:37:53 +00:00
commit 8a8b572e9f
4 changed files with 43 additions and 22 deletions

View file

@ -11260,7 +11260,7 @@
"type": "string"
},
"data": {
"$ref": "#/components/schemas/SessionDurableEvent1"
"$ref": "#/components/schemas/SessionDurableEvent"
}
},
"required": ["id", "event", "data"],
@ -23732,13 +23732,6 @@
"required": ["data", "hasMore"],
"additionalProperties": false
},
"SessionDurableEvent1": {
"type": "string",
"contentSchema": {
"$ref": "#/components/schemas/SessionDurableEvent"
},
"contentMediaType": "application/json"
},
"SessionMessagesResponse": {
"type": "object",
"properties": {
@ -23975,7 +23968,7 @@
"required": ["id", "type", "data"],
"additionalProperties": false
},
"V2Event1": {
"V2Event": {
"anyOf": [
{
"$ref": "#/components/schemas/Models-devRefreshed"
@ -24243,13 +24236,6 @@
}
]
},
"V2Event": {
"type": "string",
"contentSchema": {
"$ref": "#/components/schemas/V2Event1"
},
"contentMediaType": "application/json"
},
"ForbiddenError": {
"type": "object",
"properties": {