diff --git a/specification/client/responses.client.tsp b/specification/client/responses.client.tsp index 3d75bd492..3c194691e 100644 --- a/specification/client/responses.client.tsp +++ b/specification/client/responses.client.tsp @@ -75,13 +75,15 @@ using TypeSpec.HttpClient.CSharp; // ------------ Streaming ------------ +@@usage(ResponseStreamEvent, Usage.json); + @@alternateType(ResponseFunctionCallArgumentsDoneEvent.arguments, unknown); -// @@clientName(ResponseFunctionCallArgumentsDoneEvent.arguments, "FunctionArguments"); +@@clientName(ResponseFunctionCallArgumentsDoneEvent.arguments, "FunctionArguments"); @@alternateType(ResponseFunctionCallArgumentsDeltaEvent.delta, unknown); @@alternateType(ResponseMCPCallArgumentsDoneEvent.arguments, unknown); -// @@clientName(ResponseMCPCallArgumentsDoneEvent.arguments, "ToolArguments"); +@@clientName(ResponseMCPCallArgumentsDoneEvent.arguments, "ToolArguments"); @@alternateType(ResponseMCPCallArgumentsDeltaEvent.delta, unknown); diff --git a/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDoneUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDoneUpdate.cs index 142ad9abc..719d962d1 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDoneUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDoneUpdate.cs @@ -1,12 +1,7 @@ -using System; - namespace OpenAI.Responses; // CUSTOM: Renamed. [CodeGenType("ResponseFunctionCallArgumentsDoneEvent")] public partial class StreamingResponseFunctionCallArgumentsDoneUpdate { - // CUSTOM: Renamed. - [CodeGenMember("Arguments")] - public BinaryData FunctionArguments { get; } } diff --git a/src/Custom/Responses/Streaming/StreamingResponseMcpCallArgumentsDoneUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseMcpCallArgumentsDoneUpdate.cs index 02e627b04..9750110e3 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseMcpCallArgumentsDoneUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseMcpCallArgumentsDoneUpdate.cs @@ -1,12 +1,7 @@ -using System; - -namespace OpenAI.Responses; +namespace OpenAI.Responses; // CUSTOM: Renamed. [CodeGenType("ResponseMCPCallArgumentsDoneEvent")] public partial class StreamingResponseMcpCallArgumentsDoneUpdate { - // CUSTOM: Renamed. - [CodeGenMember("Arguments")] - public BinaryData ToolArguments { get; } } diff --git a/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDoneUpdate.cs b/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDoneUpdate.cs index 879efeffa..02c38ed8e 100644 --- a/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDoneUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDoneUpdate.cs @@ -30,5 +30,7 @@ internal StreamingResponseFunctionCallArgumentsDoneUpdate(InternalResponseStream public string ItemId { get; } public int OutputIndex { get; } + + public BinaryData FunctionArguments { get; } } } diff --git a/src/Generated/Models/Responses/StreamingResponseImageGenerationCallPartialImageUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseImageGenerationCallPartialImageUpdate.Serialization.cs index 7c2131888..8dc79cbaa 100644 --- a/src/Generated/Models/Responses/StreamingResponseImageGenerationCallPartialImageUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseImageGenerationCallPartialImageUpdate.Serialization.cs @@ -55,9 +55,9 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("partial_image_index"u8); writer.WriteNumberValue(PartialImageIndex); } - if (!Patch.Contains("$.PartialImageBytes"u8)) + if (!Patch.Contains("$.partial_image_b64"u8)) { - writer.WritePropertyName("PartialImageBytes"u8); + writer.WritePropertyName("partial_image_b64"u8); writer.WriteBase64StringValue(PartialImageBytes.ToArray(), "D"); } @@ -120,7 +120,7 @@ internal static StreamingResponseImageGenerationCallPartialImageUpdate Deseriali partialImageIndex = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("PartialImageBytes"u8)) + if (prop.NameEquals("partial_image_b64"u8)) { partialImageBytes = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); continue; diff --git a/src/Generated/Models/Responses/StreamingResponseMcpCallArgumentsDoneUpdate.cs b/src/Generated/Models/Responses/StreamingResponseMcpCallArgumentsDoneUpdate.cs index c41d28f71..b65ec193e 100644 --- a/src/Generated/Models/Responses/StreamingResponseMcpCallArgumentsDoneUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseMcpCallArgumentsDoneUpdate.cs @@ -30,5 +30,7 @@ internal StreamingResponseMcpCallArgumentsDoneUpdate(InternalResponseStreamEvent public int OutputIndex { get; } public string ItemId { get; } + + public BinaryData ToolArguments { get; } } } diff --git a/tests/Responses/ResponsesToolTests.cs b/tests/Responses/ResponsesToolTests.cs index 4a5f5a797..ffdf5b025 100644 --- a/tests/Responses/ResponsesToolTests.cs +++ b/tests/Responses/ResponsesToolTests.cs @@ -761,6 +761,7 @@ in client.CreateResponseStreamingAsync(message, responseOptions)) imageGenItemId ??= imageGenCallInPartialUpdate.ItemId; Assert.That(imageGenItemId, Is.EqualTo(imageGenCallInPartialUpdate.ItemId)); Assert.That(imageGenCallInPartialUpdate.OutputIndex, Is.EqualTo(0)); + Assert.That(imageGenCallInPartialUpdate.PartialImageBytes, Is.Not.Null); partialCount++; } else if (update is StreamingResponseImageGenerationCallInProgressUpdate imageGenCallInProgressUpdate) diff --git a/tspCodeModel.json b/tspCodeModel.json index 9f7bf4359..ae23b4ff1 100644 --- a/tspCodeModel.json +++ b/tspCodeModel.json @@ -10126,7 +10126,7 @@ "namespace": "OpenAI", "isFixed": false, "isFlags": false, - "usage": "Output", + "usage": "Output,Json", "decorators": [] }, { @@ -67756,7 +67756,7 @@ "name": "ResponseStreamEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseStreamEvent", - "usage": "Output", + "usage": "Output,Json", "decorators": [ { "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", @@ -67767,6 +67767,7 @@ "$id": "5337", "kind": "property", "name": "type", + "serializedName": "type", "type": { "$ref": "773" }, @@ -67776,7 +67777,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseStreamEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, "properties": [ @@ -67787,6 +67792,7 @@ "$id": "5338", "kind": "property", "name": "sequence_number", + "serializedName": "sequence_number", "doc": "The sequence number for this event.", "type": { "$id": "5339", @@ -67801,7 +67807,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseStreamEvent.sequence_number", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "sequence_number" + } + }, "isHttpMetadata": false } ], @@ -67812,7 +67822,7 @@ "name": "ResponseCompletedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseCompletedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when the model response is complete.", "discriminatorValue": "response.completed", "decorators": [ @@ -67829,6 +67839,7 @@ "$id": "5341", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.completed`.", "type": { "$id": "5342", @@ -68572,7 +68583,7 @@ ], "isFixed": false, "isFlags": false, - "usage": "Output", + "usage": "Output,Json", "access": "public", "crossLanguageDefinitionId": "OpenAI.ResponseStreamEventType", "apiVersions": [], @@ -68587,13 +68598,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCompletedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5400", "kind": "property", "name": "response", + "serializedName": "response", "doc": "Properties of the completed response.", "type": { "$ref": "5151" @@ -68604,7 +68620,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCompletedEvent.response", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "response" + } + }, "isHttpMetadata": false } ] @@ -68615,7 +68635,7 @@ "name": "ResponseContentPartAddedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a new content part is added.", "discriminatorValue": "response.content_part.added", "decorators": [ @@ -68632,6 +68652,7 @@ "$id": "5402", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.content_part.added`.", "type": { "$id": "5403", @@ -68652,13 +68673,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5404", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the output item that the content part was added to.", "type": { "$id": "5405", @@ -68673,13 +68699,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5406", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the content part was added to.", "type": { "$id": "5407", @@ -68694,13 +68725,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5408", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the content part that was added.", "type": { "$id": "5409", @@ -68715,13 +68751,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5410", "kind": "property", "name": "part", + "serializedName": "part", "doc": "The content part that was added.", "type": { "$ref": "4695" @@ -68732,7 +68773,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent.part", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "part" + } + }, "isHttpMetadata": false } ] @@ -68743,7 +68788,7 @@ "name": "ResponseContentPartDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a content part is done.", "discriminatorValue": "response.content_part.done", "decorators": [ @@ -68760,6 +68805,7 @@ "$id": "5412", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.content_part.done`.", "type": { "$id": "5413", @@ -68780,13 +68826,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5414", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the output item that the content part was added to.", "type": { "$id": "5415", @@ -68801,13 +68852,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5416", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the content part was added to.", "type": { "$id": "5417", @@ -68822,13 +68878,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5418", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the content part that is done.", "type": { "$id": "5419", @@ -68843,13 +68904,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5420", "kind": "property", "name": "part", + "serializedName": "part", "doc": "The content part that is done.", "type": { "$ref": "4695" @@ -68860,7 +68926,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent.part", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "part" + } + }, "isHttpMetadata": false } ] @@ -68871,7 +68941,7 @@ "name": "ResponseCreatedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseCreatedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "An event that is emitted when a response is created.", "discriminatorValue": "response.created", "decorators": [ @@ -68888,6 +68958,7 @@ "$id": "5422", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.created`.", "type": { "$id": "5423", @@ -68908,13 +68979,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCreatedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5424", "kind": "property", "name": "response", + "serializedName": "response", "doc": "The response that was created.", "type": { "$ref": "5151" @@ -68925,7 +69001,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCreatedEvent.response", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "response" + } + }, "isHttpMetadata": false } ] @@ -68936,7 +69016,7 @@ "name": "ResponseErrorEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseErrorEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when an error occurs.", "discriminatorValue": "error", "decorators": [ @@ -68953,6 +69033,7 @@ "$id": "5426", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `error`.", "type": { "$id": "5427", @@ -68973,13 +69054,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseErrorEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5428", "kind": "property", "name": "code", + "serializedName": "code", "doc": "The error code.", "type": { "$id": "5429", @@ -68999,13 +69085,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseErrorEvent.code", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "code" + } + }, "isHttpMetadata": false }, { "$id": "5431", "kind": "property", "name": "message", + "serializedName": "message", "doc": "The error message.", "type": { "$id": "5432", @@ -69020,13 +69111,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseErrorEvent.message", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "message" + } + }, "isHttpMetadata": false }, { "$id": "5433", "kind": "property", "name": "param", + "serializedName": "param", "doc": "The error parameter.", "type": { "$id": "5434", @@ -69046,7 +69142,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseErrorEvent.param", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "param" + } + }, "isHttpMetadata": false } ] @@ -69057,7 +69157,7 @@ "name": "ResponseFileSearchCallCompletedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallCompletedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a file search call is completed (results found).", "discriminatorValue": "response.file_search_call.completed", "decorators": [ @@ -69074,6 +69174,7 @@ "$id": "5437", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.completed`.", "type": { "$id": "5438", @@ -69094,13 +69195,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallCompletedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5439", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the file search call is initiated.", "type": { "$id": "5440", @@ -69115,13 +69221,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallCompletedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5441", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { "$id": "5442", @@ -69136,7 +69247,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallCompletedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -69147,7 +69262,7 @@ "name": "ResponseFileSearchCallInProgressEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallInProgressEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a file search call is initiated.", "discriminatorValue": "response.file_search_call.in_progress", "decorators": [ @@ -69164,6 +69279,7 @@ "$id": "5444", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.in_progress`.", "type": { "$id": "5445", @@ -69184,13 +69300,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallInProgressEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5446", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the file search call is initiated.", "type": { "$id": "5447", @@ -69205,13 +69326,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallInProgressEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5448", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { "$id": "5449", @@ -69226,7 +69352,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallInProgressEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -69237,7 +69367,7 @@ "name": "ResponseFileSearchCallSearchingEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallSearchingEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a file search is currently searching.", "discriminatorValue": "response.file_search_call.searching", "decorators": [ @@ -69254,6 +69384,7 @@ "$id": "5451", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.searching`.", "type": { "$id": "5452", @@ -69274,13 +69405,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallSearchingEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5453", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the file search call is searching.", "type": { "$id": "5454", @@ -69295,13 +69431,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallSearchingEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5455", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { "$id": "5456", @@ -69316,7 +69457,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallSearchingEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -69327,7 +69472,7 @@ "name": "ResponseFunctionCallArgumentsDeltaEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDeltaEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when there is a partial function-call arguments delta.", "discriminatorValue": "response.function_call_arguments.delta", "decorators": [ @@ -69344,6 +69489,7 @@ "$id": "5458", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.function_call_arguments.delta`.", "type": { "$id": "5459", @@ -69364,13 +69510,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDeltaEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5460", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the output item that the function-call arguments delta is added to.", "type": { "$id": "5461", @@ -69385,13 +69536,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDeltaEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5462", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the function-call arguments delta is added to.", "type": { "$id": "5463", @@ -69406,13 +69562,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDeltaEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5464", "kind": "property", "name": "delta", + "serializedName": "delta", "doc": "The function-call arguments delta that is added.", "type": { "$id": "5465", @@ -69427,7 +69588,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDeltaEvent.delta", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "delta" + } + }, "isHttpMetadata": false } ] @@ -69438,7 +69603,7 @@ "name": "ResponseFunctionCallArgumentsDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when function-call arguments are finalized.", "discriminatorValue": "response.function_call_arguments.done", "decorators": [ @@ -69455,6 +69620,7 @@ "$id": "5467", "kind": "property", "name": "type", + "serializedName": "type", "type": { "$id": "5468", "kind": "enumvalue", @@ -69474,13 +69640,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5469", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the item.", "type": { "$id": "5470", @@ -69495,13 +69666,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5471", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item.", "type": { "$id": "5472", @@ -69516,13 +69692,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5473", "kind": "property", - "name": "arguments", + "name": "FunctionArguments", + "serializedName": "arguments", "doc": "The function-call arguments.", "type": { "$id": "5474", @@ -69537,7 +69718,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDoneEvent.arguments", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "arguments" + } + }, "isHttpMetadata": false } ] @@ -69548,7 +69733,7 @@ "name": "ResponseInProgressEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseInProgressEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when the response is in progress.", "discriminatorValue": "response.in_progress", "decorators": [ @@ -69565,6 +69750,7 @@ "$id": "5476", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.in_progress`.", "type": { "$id": "5477", @@ -69585,13 +69771,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseInProgressEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5478", "kind": "property", "name": "response", + "serializedName": "response", "doc": "The response that is in progress.", "type": { "$ref": "5151" @@ -69602,7 +69793,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseInProgressEvent.response", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "response" + } + }, "isHttpMetadata": false } ] @@ -69613,7 +69808,7 @@ "name": "ResponseFailedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseFailedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "An event that is emitted when a response fails.", "discriminatorValue": "response.failed", "decorators": [ @@ -69630,6 +69825,7 @@ "$id": "5480", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.failed`.", "type": { "$id": "5481", @@ -69650,13 +69846,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFailedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5482", "kind": "property", "name": "response", + "serializedName": "response", "doc": "The response that failed.", "type": { "$ref": "5151" @@ -69667,7 +69868,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFailedEvent.response", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "response" + } + }, "isHttpMetadata": false } ] @@ -69678,7 +69883,7 @@ "name": "ResponseIncompleteEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseIncompleteEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "An event that is emitted when a response finishes as incomplete.", "discriminatorValue": "response.incomplete", "decorators": [ @@ -69695,6 +69900,7 @@ "$id": "5484", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.incomplete`.", "type": { "$id": "5485", @@ -69715,13 +69921,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseIncompleteEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5486", "kind": "property", "name": "response", + "serializedName": "response", "doc": "The response that was incomplete.", "type": { "$ref": "5151" @@ -69732,7 +69943,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseIncompleteEvent.response", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "response" + } + }, "isHttpMetadata": false } ] @@ -69743,7 +69958,7 @@ "name": "ResponseOutputItemAddedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemAddedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a new output item is added.", "discriminatorValue": "response.output_item.added", "decorators": [ @@ -69760,6 +69975,7 @@ "$id": "5488", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.output_item.added`.", "type": { "$id": "5489", @@ -69780,13 +69996,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemAddedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5490", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that was added.", "type": { "$id": "5491", @@ -69801,13 +70022,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemAddedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5492", "kind": "property", "name": "item", + "serializedName": "item", "doc": "The output item that was added.", "type": { "$ref": "5192" @@ -69818,7 +70044,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemAddedEvent.item", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item" + } + }, "isHttpMetadata": false } ] @@ -69829,7 +70059,7 @@ "name": "ResponseOutputItemDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when an output item is marked done.", "discriminatorValue": "response.output_item.done", "decorators": [ @@ -69846,6 +70076,7 @@ "$id": "5494", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.output_item.done`.", "type": { "$id": "5495", @@ -69866,13 +70097,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5496", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that was marked done.", "type": { "$id": "5497", @@ -69887,13 +70123,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5498", "kind": "property", "name": "item", + "serializedName": "item", "doc": "The output item that was marked done.", "type": { "$ref": "5192" @@ -69904,7 +70145,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemDoneEvent.item", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item" + } + }, "isHttpMetadata": false } ] @@ -69915,7 +70160,7 @@ "name": "ResponseRefusalDeltaEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when there is a partial refusal text.", "discriminatorValue": "response.refusal.delta", "decorators": [ @@ -69932,6 +70177,7 @@ "$id": "5500", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.refusal.delta`.", "type": { "$id": "5501", @@ -69952,13 +70198,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5502", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the output item that the refusal text is added to.", "type": { "$id": "5503", @@ -69973,13 +70224,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5504", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the refusal text is added to.", "type": { "$id": "5505", @@ -69994,13 +70250,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5506", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the content part that the refusal text is added to.", "type": { "$id": "5507", @@ -70015,13 +70276,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5508", "kind": "property", "name": "delta", + "serializedName": "delta", "doc": "The refusal text that is added.", "type": { "$id": "5509", @@ -70036,7 +70302,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent.delta", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "delta" + } + }, "isHttpMetadata": false } ] @@ -70047,7 +70317,7 @@ "name": "ResponseRefusalDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when refusal text is finalized.", "discriminatorValue": "response.refusal.done", "decorators": [ @@ -70064,6 +70334,7 @@ "$id": "5511", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.refusal.done`.", "type": { "$id": "5512", @@ -70084,13 +70355,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5513", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the output item that the refusal text is finalized.", "type": { "$id": "5514", @@ -70105,13 +70381,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5515", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the refusal text is finalized.", "type": { "$id": "5516", @@ -70126,13 +70407,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5517", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the content part that the refusal text is finalized.", "type": { "$id": "5518", @@ -70147,13 +70433,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5519", "kind": "property", "name": "refusal", + "serializedName": "refusal", "doc": "The refusal text that is finalized.", "type": { "$id": "5520", @@ -70168,7 +70459,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent.refusal", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "refusal" + } + }, "isHttpMetadata": false } ] @@ -70179,7 +70474,7 @@ "name": "ResponseTextDeltaEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when there is an additional text delta.", "discriminatorValue": "response.output_text.delta", "decorators": [ @@ -70196,6 +70491,7 @@ "$id": "5522", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.output_text.delta`.", "type": { "$id": "5523", @@ -70216,13 +70512,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5524", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the output item that the text delta was added to.", "type": { "$id": "5525", @@ -70237,13 +70538,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5526", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the text delta was added to.", "type": { "$id": "5527", @@ -70258,13 +70564,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5528", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the content part that the text delta was added to.", "type": { "$id": "5529", @@ -70279,13 +70590,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5530", "kind": "property", "name": "delta", + "serializedName": "delta", "doc": "The text delta that was added.", "type": { "$id": "5531", @@ -70300,7 +70616,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent.delta", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "delta" + } + }, "isHttpMetadata": false } ] @@ -70311,7 +70631,7 @@ "name": "ResponseTextDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when text content is finalized.", "discriminatorValue": "response.output_text.done", "decorators": [ @@ -70328,6 +70648,7 @@ "$id": "5533", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.output_text.done`.", "type": { "$id": "5534", @@ -70348,13 +70669,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5535", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the output item that the text content is finalized.", "type": { "$id": "5536", @@ -70369,13 +70695,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5537", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the text content is finalized.", "type": { "$id": "5538", @@ -70390,13 +70721,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5539", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the content part that the text content is finalized.", "type": { "$id": "5540", @@ -70411,13 +70747,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5541", "kind": "property", "name": "text", + "serializedName": "text", "doc": "The text content that is finalized.", "type": { "$id": "5542", @@ -70432,7 +70773,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent.text", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "text" + } + }, "isHttpMetadata": false } ] @@ -70443,7 +70788,7 @@ "name": "ResponseReasoningSummaryPartAddedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a new reasoning summary part is added.", "discriminatorValue": "response.reasoning_summary_part.added", "decorators": [ @@ -70460,6 +70805,7 @@ "$id": "5544", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_part.added`.", "type": { "$id": "5545", @@ -70480,13 +70826,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5546", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the item this summary part is associated with.", "type": { "$id": "5547", @@ -70501,13 +70852,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5548", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item this summary part is associated with.", "type": { "$id": "5549", @@ -70522,13 +70878,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5550", "kind": "property", "name": "summary_index", + "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { "$id": "5551", @@ -70543,13 +70904,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent.summary_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "summary_index" + } + }, "isHttpMetadata": false }, { "$id": "5552", "kind": "property", "name": "part", + "serializedName": "part", "doc": "The summary part that was added.", "type": { "$ref": "5014" @@ -70560,7 +70926,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent.part", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "part" + } + }, "isHttpMetadata": false } ] @@ -70571,7 +70941,7 @@ "name": "ResponseReasoningSummaryPartDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a reasoning summary part is completed.", "discriminatorValue": "response.reasoning_summary_part.done", "decorators": [ @@ -70588,6 +70958,7 @@ "$id": "5554", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_part.done`.", "type": { "$id": "5555", @@ -70608,13 +70979,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5556", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the item this summary part is associated with.", "type": { "$id": "5557", @@ -70629,13 +71005,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5558", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item this summary part is associated with.", "type": { "$id": "5559", @@ -70650,13 +71031,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5560", "kind": "property", "name": "summary_index", + "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { "$id": "5561", @@ -70671,13 +71057,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent.summary_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "summary_index" + } + }, "isHttpMetadata": false }, { "$id": "5562", "kind": "property", "name": "part", + "serializedName": "part", "doc": "The completed summary part.", "type": { "$ref": "5014" @@ -70688,7 +71079,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent.part", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "part" + } + }, "isHttpMetadata": false } ] @@ -70699,7 +71094,7 @@ "name": "ResponseReasoningSummaryTextDeltaEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a delta is added to a reasoning summary text.", "discriminatorValue": "response.reasoning_summary_text.delta", "decorators": [ @@ -70716,6 +71111,7 @@ "$id": "5564", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_text.delta`.", "type": { "$id": "5565", @@ -70736,13 +71132,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5566", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the item this summary text delta is associated with.", "type": { "$id": "5567", @@ -70757,13 +71158,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5568", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item this summary text delta is associated with.", "type": { "$id": "5569", @@ -70778,13 +71184,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5570", "kind": "property", "name": "summary_index", + "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { "$id": "5571", @@ -70799,13 +71210,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent.summary_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "summary_index" + } + }, "isHttpMetadata": false }, { "$id": "5572", "kind": "property", "name": "delta", + "serializedName": "delta", "doc": "The text delta that was added to the summary.", "type": { "$id": "5573", @@ -70820,7 +71236,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent.delta", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "delta" + } + }, "isHttpMetadata": false } ] @@ -70831,7 +71251,7 @@ "name": "ResponseReasoningSummaryTextDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a reasoning summary text is completed.", "discriminatorValue": "response.reasoning_summary_text.done", "decorators": [ @@ -70848,6 +71268,7 @@ "$id": "5575", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_text.done`.", "type": { "$id": "5576", @@ -70868,13 +71289,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5577", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the item this summary text is associated with.", "type": { "$id": "5578", @@ -70889,13 +71315,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5579", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item this summary text is associated with.", "type": { "$id": "5580", @@ -70910,13 +71341,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5581", "kind": "property", "name": "summary_index", + "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { "$id": "5582", @@ -70931,13 +71367,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent.summary_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "summary_index" + } + }, "isHttpMetadata": false }, { "$id": "5583", "kind": "property", "name": "text", + "serializedName": "text", "doc": "The full text of the completed reasoning summary.", "type": { "$id": "5584", @@ -70952,7 +71393,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent.text", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "text" + } + }, "isHttpMetadata": false } ] @@ -70963,7 +71408,7 @@ "name": "ResponseReasoningTextDeltaEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDeltaEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a delta is added to a reasoning text.", "discriminatorValue": "response.reasoning_text.delta", "decorators": [], @@ -70975,6 +71420,7 @@ "$id": "5586", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_text.delta`.", "type": { "$id": "5587", @@ -70995,13 +71441,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDeltaEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5588", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the item this reasoning text delta is associated with.", "type": { "$id": "5589", @@ -71016,13 +71467,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDeltaEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5590", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item this reasoning text delta is associated with.", "type": { "$id": "5591", @@ -71037,13 +71493,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDeltaEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5592", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the reasoning content part this delta is associated with.", "type": { "$id": "5593", @@ -71058,13 +71519,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDeltaEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5594", "kind": "property", "name": "delta", + "serializedName": "delta", "doc": "The text delta that was added to the reasoning content.", "type": { "$id": "5595", @@ -71079,7 +71545,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDeltaEvent.delta", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "delta" + } + }, "isHttpMetadata": false } ] @@ -71090,7 +71560,7 @@ "name": "ResponseReasoningTextDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a reasoning text is completed.", "discriminatorValue": "response.reasoning_text.done", "decorators": [], @@ -71102,6 +71572,7 @@ "$id": "5597", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_text.done`.", "type": { "$id": "5598", @@ -71122,13 +71593,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5599", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the item this reasoning text is associated with.", "type": { "$id": "5600", @@ -71143,13 +71619,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5601", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item this reasoning text is associated with.", "type": { "$id": "5602", @@ -71164,13 +71645,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5603", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the reasoning content part.", "type": { "$id": "5604", @@ -71185,13 +71671,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDoneEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5605", "kind": "property", "name": "text", + "serializedName": "text", "doc": "The full text of the completed reasoning content.", "type": { "$id": "5606", @@ -71206,7 +71697,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningTextDoneEvent.text", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "text" + } + }, "isHttpMetadata": false } ] @@ -71217,7 +71712,7 @@ "name": "ResponseWebSearchCallCompletedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallCompletedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a web search call is completed.", "discriminatorValue": "response.web_search_call.completed", "decorators": [ @@ -71234,6 +71729,7 @@ "$id": "5608", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.completed`.", "type": { "$id": "5609", @@ -71254,13 +71750,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallCompletedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5610", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the web search call is associated with.", "type": { "$id": "5611", @@ -71275,13 +71776,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallCompletedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5612", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { "$id": "5613", @@ -71296,7 +71802,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallCompletedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -71307,7 +71817,7 @@ "name": "ResponseWebSearchCallInProgressEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallInProgressEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a web search call is initiated.", "discriminatorValue": "response.web_search_call.in_progress", "decorators": [ @@ -71324,6 +71834,7 @@ "$id": "5615", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.in_progress`.", "type": { "$id": "5616", @@ -71344,13 +71855,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallInProgressEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5617", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the web search call is associated with.", "type": { "$id": "5618", @@ -71365,13 +71881,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallInProgressEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5619", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { "$id": "5620", @@ -71386,7 +71907,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallInProgressEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -71397,7 +71922,7 @@ "name": "ResponseWebSearchCallSearchingEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallSearchingEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a web search call is executing.", "discriminatorValue": "response.web_search_call.searching", "decorators": [ @@ -71414,6 +71939,7 @@ "$id": "5622", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.searching`.", "type": { "$id": "5623", @@ -71434,13 +71960,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallSearchingEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5624", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the web search call is associated with.", "type": { "$id": "5625", @@ -71455,13 +71986,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallSearchingEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5626", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { "$id": "5627", @@ -71476,7 +72012,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallSearchingEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -71487,7 +72027,7 @@ "name": "ResponseImageGenCallCompletedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallCompletedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when an image generation tool call has completed and the final image is available.", "discriminatorValue": "response.image_generation_call.completed", "decorators": [ @@ -71504,6 +72044,7 @@ "$id": "5629", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.completed'.", "type": { "$id": "5630", @@ -71524,13 +72065,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallCompletedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5631", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5632", @@ -71545,13 +72091,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallCompletedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5633", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { "$id": "5634", @@ -71566,7 +72117,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallCompletedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -71577,7 +72132,7 @@ "name": "ResponseImageGenCallGeneratingEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallGeneratingEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when an image generation tool call is actively generating an image (intermediate state).", "discriminatorValue": "response.image_generation_call.generating", "decorators": [ @@ -71594,6 +72149,7 @@ "$id": "5636", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.generating'.", "type": { "$id": "5637", @@ -71614,13 +72170,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallGeneratingEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5638", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5639", @@ -71635,13 +72196,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallGeneratingEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5640", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { "$id": "5641", @@ -71656,7 +72222,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallGeneratingEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -71667,7 +72237,7 @@ "name": "ResponseImageGenCallInProgressEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallInProgressEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when an image generation tool call is in progress.", "discriminatorValue": "response.image_generation_call.in_progress", "decorators": [ @@ -71684,6 +72254,7 @@ "$id": "5643", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.in_progress'.", "type": { "$id": "5644", @@ -71704,13 +72275,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallInProgressEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5645", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5646", @@ -71725,13 +72301,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallInProgressEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5647", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { "$id": "5648", @@ -71746,7 +72327,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallInProgressEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -71757,7 +72342,7 @@ "name": "ResponseImageGenCallPartialImageEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a partial image is available during image generation streaming.", "discriminatorValue": "response.image_generation_call.partial_image", "decorators": [ @@ -71774,6 +72359,7 @@ "$id": "5650", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.partial_image'.", "type": { "$id": "5651", @@ -71794,13 +72380,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5652", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5653", @@ -71815,13 +72406,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5654", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { "$id": "5655", @@ -71836,13 +72432,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5656", "kind": "property", "name": "partial_image_index", + "serializedName": "partial_image_index", "doc": "0-based index for the partial image (backend is 1-based, but this is 0-based for the user).", "type": { "$id": "5657", @@ -71857,13 +72458,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent.partial_image_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "partial_image_index" + } + }, "isHttpMetadata": false }, { "$id": "5658", "kind": "property", "name": "PartialImageBytes", + "serializedName": "partial_image_b64", "doc": "Base64-encoded partial image data, suitable for rendering as an image.", "type": { "$id": "5659", @@ -71879,7 +72485,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent.partial_image_b64", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "partial_image_b64" + } + }, "isHttpMetadata": false } ] @@ -71890,7 +72500,7 @@ "name": "ResponseMCPCallArgumentsDeltaEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDeltaEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when there is a delta (partial update) to the arguments of an MCP tool call.", "discriminatorValue": "response.mcp_call_arguments.delta", "decorators": [ @@ -71907,6 +72517,7 @@ "$id": "5661", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.arguments_delta'.", "type": { "$id": "5662", @@ -71927,13 +72538,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDeltaEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5663", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5664", @@ -71948,13 +72564,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDeltaEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5665", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { "$id": "5666", @@ -71969,13 +72590,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDeltaEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5667", "kind": "property", "name": "delta", + "serializedName": "delta", "doc": "The partial update to the arguments for the MCP tool call.", "type": { "$id": "5668", @@ -71990,7 +72616,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDeltaEvent.delta", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "delta" + } + }, "isHttpMetadata": false } ] @@ -72001,7 +72631,7 @@ "name": "ResponseMCPCallArgumentsDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when the arguments for an MCP tool call are finalized.", "discriminatorValue": "response.mcp_call_arguments.done", "decorators": [ @@ -72018,6 +72648,7 @@ "$id": "5670", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.arguments_done'.", "type": { "$id": "5671", @@ -72038,13 +72669,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5672", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5673", @@ -72059,13 +72695,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5674", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { "$id": "5675", @@ -72080,13 +72721,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5676", "kind": "property", - "name": "arguments", + "name": "ToolArguments", + "serializedName": "arguments", "doc": "A JSON string containing the finalized arguments for the MCP tool call.", "type": { "$id": "5677", @@ -72101,7 +72747,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDoneEvent.arguments", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "arguments" + } + }, "isHttpMetadata": false } ] @@ -72112,7 +72762,7 @@ "name": "ResponseMCPCallCompletedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallCompletedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when an MCP tool call has completed successfully.", "discriminatorValue": "response.mcp_call.completed", "decorators": [ @@ -72129,6 +72779,7 @@ "$id": "5679", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.completed'.", "type": { "$id": "5680", @@ -72149,13 +72800,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallCompletedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5681", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the MCP tool call item that completed.", "type": { "$id": "5682", @@ -72170,13 +72826,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallCompletedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5683", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that completed.", "type": { "$id": "5684", @@ -72191,7 +72852,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallCompletedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false } ] @@ -72202,7 +72867,7 @@ "name": "ResponseMCPCallFailedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallFailedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when an MCP tool call has failed.", "discriminatorValue": "response.mcp_call.failed", "decorators": [ @@ -72219,6 +72884,7 @@ "$id": "5686", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.failed'.", "type": { "$id": "5687", @@ -72239,13 +72905,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallFailedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5688", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the MCP tool call item that failed.", "type": { "$id": "5689", @@ -72260,13 +72931,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallFailedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5690", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that failed.", "type": { "$id": "5691", @@ -72281,7 +72957,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallFailedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false } ] @@ -72292,7 +72972,7 @@ "name": "ResponseMCPCallInProgressEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallInProgressEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when an MCP tool call is in progress.", "discriminatorValue": "response.mcp_call.in_progress", "decorators": [ @@ -72309,6 +72989,7 @@ "$id": "5693", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.in_progress'.", "type": { "$id": "5694", @@ -72329,13 +73010,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallInProgressEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5695", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5696", @@ -72350,13 +73036,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallInProgressEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5697", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { "$id": "5698", @@ -72371,7 +73062,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallInProgressEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -72382,7 +73077,7 @@ "name": "ResponseMCPListToolsCompletedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsCompletedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when the list of available MCP tools has been successfully retrieved.", "discriminatorValue": "response.mcp_list_tools.completed", "decorators": [ @@ -72399,6 +73094,7 @@ "$id": "5700", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.completed'.", "type": { "$id": "5701", @@ -72419,13 +73115,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsCompletedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5702", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the MCP tool call item that produced this output.", "type": { "$id": "5703", @@ -72440,13 +73141,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsCompletedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5704", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that was processed.", "type": { "$id": "5705", @@ -72461,7 +73167,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsCompletedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false } ] @@ -72472,7 +73182,7 @@ "name": "ResponseMCPListToolsFailedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsFailedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when the attempt to list available MCP tools has failed.", "discriminatorValue": "response.mcp_list_tools.failed", "decorators": [ @@ -72489,6 +73199,7 @@ "$id": "5707", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.failed'.", "type": { "$id": "5708", @@ -72509,13 +73220,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsFailedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5709", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the MCP tool call item that failed.", "type": { "$id": "5710", @@ -72530,13 +73246,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsFailedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5711", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that failed.", "type": { "$id": "5712", @@ -72551,7 +73272,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsFailedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false } ] @@ -72562,7 +73287,7 @@ "name": "ResponseMCPListToolsInProgressEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsInProgressEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when the system is in the process of retrieving the list of available MCP tools.", "discriminatorValue": "response.mcp_list_tools.in_progress", "decorators": [ @@ -72579,6 +73304,7 @@ "$id": "5714", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.in_progress'.", "type": { "$id": "5715", @@ -72599,13 +73325,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsInProgressEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5716", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The ID of the MCP tool call item that is being processed.", "type": { "$id": "5717", @@ -72620,13 +73351,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsInProgressEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5718", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that is being processed.", "type": { "$id": "5719", @@ -72641,7 +73377,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsInProgressEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false } ] @@ -72652,7 +73392,7 @@ "name": "ResponseOutputTextAnnotationAddedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when an annotation is added to output text content.", "discriminatorValue": "response.output_text.annotation.added", "decorators": [ @@ -72669,6 +73409,7 @@ "$id": "5721", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.output_text_annotation.added'.", "type": { "$id": "5722", @@ -72689,13 +73430,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5723", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the item to which the annotation is being added.", "type": { "$id": "5724", @@ -72710,13 +73456,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5725", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5726", @@ -72731,13 +73482,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5727", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the content part within the output item.", "type": { "$id": "5728", @@ -72752,13 +73508,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5729", "kind": "property", "name": "annotation_index", + "serializedName": "annotation_index", "doc": "The index of the annotation within the content part.", "type": { "$id": "5730", @@ -72773,13 +73534,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.annotation_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "annotation_index" + } + }, "isHttpMetadata": false }, { "$id": "5731", "kind": "property", "name": "annotation", + "serializedName": "annotation", "doc": "The annotation object being added. (See annotation schema for details.)", "type": { "$id": "5732", @@ -72794,7 +73560,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.annotation", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "annotation" + } + }, "isHttpMetadata": false } ] @@ -72805,7 +73575,7 @@ "name": "ResponseQueuedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseQueuedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a response is queued and waiting to be processed.", "discriminatorValue": "response.queued", "decorators": [ @@ -72822,6 +73592,7 @@ "$id": "5734", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.queued'.", "type": { "$id": "5735", @@ -72842,13 +73613,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseQueuedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5736", "kind": "property", "name": "response", + "serializedName": "response", "doc": "The full response object that is queued.", "type": { "$ref": "5151" @@ -72859,7 +73635,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseQueuedEvent.response", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "response" + } + }, "isHttpMetadata": false } ] @@ -72870,7 +73650,7 @@ "name": "ResponseReasoningDeltaEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when there is a delta (partial update) to the reasoning content.", "discriminatorValue": "response.reasoning.delta", "decorators": [ @@ -72887,6 +73667,7 @@ "$id": "5738", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning.delta'.", "type": { "$id": "5739", @@ -72907,13 +73688,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5740", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the item for which reasoning is being updated.", "type": { "$id": "5741", @@ -72928,13 +73714,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5742", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5743", @@ -72949,13 +73740,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5744", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the reasoning content part within the output item.", "type": { "$id": "5745", @@ -72970,13 +73766,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5746", "kind": "property", "name": "delta", + "serializedName": "delta", "doc": "The partial update to the reasoning content.", "type": { "$id": "5747", @@ -72991,7 +73792,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent.delta", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "delta" + } + }, "isHttpMetadata": false } ] @@ -73002,7 +73807,7 @@ "name": "ResponseReasoningDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when the reasoning content is finalized for an item.", "discriminatorValue": "response.reasoning.done", "decorators": [ @@ -73019,6 +73824,7 @@ "$id": "5749", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning.done'.", "type": { "$id": "5750", @@ -73039,13 +73845,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5751", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the item for which reasoning is finalized.", "type": { "$id": "5752", @@ -73060,13 +73871,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5753", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5754", @@ -73081,13 +73897,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5755", "kind": "property", "name": "content_index", + "serializedName": "content_index", "doc": "The index of the reasoning content part within the output item.", "type": { "$id": "5756", @@ -73102,13 +73923,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent.content_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "content_index" + } + }, "isHttpMetadata": false }, { "$id": "5757", "kind": "property", "name": "text", + "serializedName": "text", "doc": "The finalized reasoning text.", "type": { "$id": "5758", @@ -73123,7 +73949,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent.text", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "text" + } + }, "isHttpMetadata": false } ] @@ -73134,7 +73964,7 @@ "name": "ResponseReasoningSummaryDeltaEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when there is a delta (partial update) to the reasoning summary content.", "discriminatorValue": "response.reasoning_summary.delta", "decorators": [ @@ -73151,6 +73981,7 @@ "$id": "5760", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning_summary.delta'.", "type": { "$id": "5761", @@ -73171,13 +74002,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5762", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the item for which the reasoning summary is being updated.", "type": { "$id": "5763", @@ -73192,13 +74028,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5764", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5765", @@ -73213,13 +74054,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5766", "kind": "property", "name": "summary_index", + "serializedName": "summary_index", "doc": "The index of the summary part within the output item.", "type": { "$id": "5767", @@ -73234,13 +74080,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent.summary_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "summary_index" + } + }, "isHttpMetadata": false }, { "$id": "5768", "kind": "property", "name": "delta", + "serializedName": "delta", "doc": "The partial update to the reasoning summary content.", "type": { "$id": "5769", @@ -73255,7 +74106,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent.delta", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "delta" + } + }, "isHttpMetadata": false } ] @@ -73266,7 +74121,7 @@ "name": "ResponseReasoningSummaryDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when the reasoning summary content is finalized for an item.", "discriminatorValue": "response.reasoning_summary.done", "decorators": [ @@ -73283,6 +74138,7 @@ "$id": "5771", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning_summary.done'.", "type": { "$id": "5772", @@ -73303,13 +74159,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5773", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the item for which the reasoning summary is finalized.", "type": { "$id": "5774", @@ -73324,13 +74185,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5775", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { "$id": "5776", @@ -73345,13 +74211,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5777", "kind": "property", "name": "summary_index", + "serializedName": "summary_index", "doc": "The index of the summary part within the output item.", "type": { "$id": "5778", @@ -73366,13 +74237,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent.summary_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "summary_index" + } + }, "isHttpMetadata": false }, { "$id": "5779", "kind": "property", "name": "text", + "serializedName": "text", "doc": "The finalized reasoning summary text.", "type": { "$id": "5780", @@ -73387,7 +74263,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent.text", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "text" + } + }, "isHttpMetadata": false } ] @@ -73398,7 +74278,7 @@ "name": "ResponseCodeInterpreterCallCodeDeltaEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a partial code snippet is added by the code interpreter.", "discriminatorValue": "response.code_interpreter_call_code.delta", "decorators": [ @@ -73415,6 +74295,7 @@ "$id": "5782", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call_code.delta`.", "type": { "$id": "5783", @@ -73435,13 +74316,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5784", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { "$id": "5785", @@ -73456,13 +74342,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5786", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { "$id": "5787", @@ -73477,13 +74368,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5788", "kind": "property", "name": "delta", + "serializedName": "delta", "doc": "The partial code snippet added by the code interpreter.", "type": { "$id": "5789", @@ -73498,7 +74394,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent.delta", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "delta" + } + }, "isHttpMetadata": false } ] @@ -73509,7 +74409,7 @@ "name": "ResponseCodeInterpreterCallCodeDoneEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDoneEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when code snippet output is finalized by the code interpreter.", "discriminatorValue": "response.code_interpreter_call_code.done", "decorators": [ @@ -73526,6 +74426,7 @@ "$id": "5791", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call_code.done`.", "type": { "$id": "5792", @@ -73546,13 +74447,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDoneEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5793", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { "$id": "5794", @@ -73567,13 +74473,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDoneEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5795", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { "$id": "5796", @@ -73588,13 +74499,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDoneEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false }, { "$id": "5797", "kind": "property", "name": "code", + "serializedName": "code", "doc": "The final code snippet output by the code interpreter.", "type": { "$id": "5798", @@ -73609,7 +74525,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDoneEvent.code", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "code" + } + }, "isHttpMetadata": false } ] @@ -73620,7 +74540,7 @@ "name": "ResponseCodeInterpreterCallCompletedEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCompletedEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when the code interpreter call is completed.", "discriminatorValue": "response.code_interpreter_call.completed", "decorators": [ @@ -73637,6 +74557,7 @@ "$id": "5800", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.completed`.", "type": { "$id": "5801", @@ -73657,13 +74578,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCompletedEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5802", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { "$id": "5803", @@ -73678,13 +74604,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCompletedEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5804", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { "$id": "5805", @@ -73699,7 +74630,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCompletedEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -73710,7 +74645,7 @@ "name": "ResponseCodeInterpreterCallInProgressEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInProgressEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when a code interpreter call is in progress.", "discriminatorValue": "response.code_interpreter_call.in_progress", "decorators": [ @@ -73727,6 +74662,7 @@ "$id": "5807", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.in_progress`.", "type": { "$id": "5808", @@ -73747,13 +74683,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInProgressEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5809", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { "$id": "5810", @@ -73768,13 +74709,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInProgressEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5811", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { "$id": "5812", @@ -73789,7 +74735,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInProgressEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ] @@ -73800,7 +74750,7 @@ "name": "ResponseCodeInterpreterCallInterpretingEvent", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInterpretingEvent", - "usage": "Output", + "usage": "Output,Json", "doc": "Emitted when the code interpreter is actively interpreting the code snippet.", "discriminatorValue": "response.code_interpreter_call.interpreting", "decorators": [ @@ -73817,6 +74767,7 @@ "$id": "5814", "kind": "property", "name": "type", + "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.interpreting`.", "type": { "$id": "5815", @@ -73837,13 +74788,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInterpretingEvent.type", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "type" + } + }, "isHttpMetadata": false }, { "$id": "5816", "kind": "property", "name": "output_index", + "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { "$id": "5817", @@ -73858,13 +74814,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInterpretingEvent.output_index", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "output_index" + } + }, "isHttpMetadata": false }, { "$id": "5818", "kind": "property", "name": "item_id", + "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { "$id": "5819", @@ -73879,7 +74840,11 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInterpretingEvent.item_id", - "serializationOptions": {}, + "serializationOptions": { + "json": { + "name": "item_id" + } + }, "isHttpMetadata": false } ]