diff --git a/src/libs/AssemblyAI/Generated/JsonConverters.LemurActionItemsResponse.g.cs b/src/libs/AssemblyAI/Generated/JsonConverters.LemurActionItemsResponse.g.cs index 170d2be..f4ef26c 100644 --- a/src/libs/AssemblyAI/Generated/JsonConverters.LemurActionItemsResponse.g.cs +++ b/src/libs/AssemblyAI/Generated/JsonConverters.LemurActionItemsResponse.g.cs @@ -53,7 +53,7 @@ public override void Write( if (value.IsString) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.LemurStringResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.LemurStringResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AssemblyAI.LemurStringResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.String, typeInfo); } diff --git a/src/libs/AssemblyAI/Generated/JsonConverters.LemurResponse.g.cs b/src/libs/AssemblyAI/Generated/JsonConverters.LemurResponse.g.cs index e8f21ca..7a6e367 100644 --- a/src/libs/AssemblyAI/Generated/JsonConverters.LemurResponse.g.cs +++ b/src/libs/AssemblyAI/Generated/JsonConverters.LemurResponse.g.cs @@ -72,13 +72,13 @@ public override void Write( if (value.IsString) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.LemurStringResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.LemurStringResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AssemblyAI.LemurStringResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.String, typeInfo); } else if (value.IsQuestionAnswer) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.LemurQuestionAnswerResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.LemurQuestionAnswerResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AssemblyAI.LemurQuestionAnswerResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.QuestionAnswer, typeInfo); } diff --git a/src/libs/AssemblyAI/Generated/JsonConverters.LemurSummaryResponse.g.cs b/src/libs/AssemblyAI/Generated/JsonConverters.LemurSummaryResponse.g.cs index 370a794..447d655 100644 --- a/src/libs/AssemblyAI/Generated/JsonConverters.LemurSummaryResponse.g.cs +++ b/src/libs/AssemblyAI/Generated/JsonConverters.LemurSummaryResponse.g.cs @@ -53,7 +53,7 @@ public override void Write( if (value.IsString) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.LemurStringResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.LemurStringResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AssemblyAI.LemurStringResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.String, typeInfo); } diff --git a/src/libs/AssemblyAI/Generated/JsonConverters.LemurTaskResponse.g.cs b/src/libs/AssemblyAI/Generated/JsonConverters.LemurTaskResponse.g.cs index 704776c..5ce758d 100644 --- a/src/libs/AssemblyAI/Generated/JsonConverters.LemurTaskResponse.g.cs +++ b/src/libs/AssemblyAI/Generated/JsonConverters.LemurTaskResponse.g.cs @@ -53,7 +53,7 @@ public override void Write( if (value.IsString) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.LemurStringResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.LemurStringResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AssemblyAI.LemurStringResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.String, typeInfo); } diff --git a/src/libs/AssemblyAI/Generated/JsonConverters.TranscriptWebhookNotification.g.cs b/src/libs/AssemblyAI/Generated/JsonConverters.TranscriptWebhookNotification.g.cs index 521f110..de032ea 100644 --- a/src/libs/AssemblyAI/Generated/JsonConverters.TranscriptWebhookNotification.g.cs +++ b/src/libs/AssemblyAI/Generated/JsonConverters.TranscriptWebhookNotification.g.cs @@ -78,7 +78,7 @@ public override void Write( } else if (value.IsRedactedAudio) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.RedactedAudioNotification), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AssemblyAI.RedactedAudioNotification), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AssemblyAI.RedactedAudioNotification).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RedactedAudio, typeInfo); }