diff --git a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerCreate.g.cs b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerCreate.g.cs
index 1e2c1b8b..097e6795 100644
--- a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerCreate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerCreate.g.cs
@@ -569,8 +569,8 @@ partial void ProcessAssistantControllerCreateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task AssistantControllerCreateAsync(
- global::Vapi.OneOf? transcriber = default,
- global::Vapi.OneOf? model = default,
+ global::Vapi.OneOf? transcriber = default,
+ global::Vapi.OneOf? model = default,
global::Vapi.OneOf? voice = default,
string? firstMessage = default,
bool? firstMessageInterruptionsEnabled = default,
diff --git a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerUpdate.g.cs
index 55a6ff1f..b4d679ef 100644
--- a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerUpdate.g.cs
@@ -580,8 +580,8 @@ partial void ProcessAssistantControllerUpdateResponseContent(
///
public async global::System.Threading.Tasks.Task AssistantControllerUpdateAsync(
global::System.Guid id,
- global::Vapi.OneOf? transcriber = default,
- global::Vapi.OneOf? model = default,
+ global::Vapi.OneOf? transcriber = default,
+ global::Vapi.OneOf? model = default,
global::Vapi.OneOf? voice = default,
string? firstMessage = default,
bool? firstMessageInterruptionsEnabled = default,
diff --git a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerCreate.g.cs b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerCreate.g.cs
index c47c947e..f1d421d1 100644
--- a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerCreate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerCreate.g.cs
@@ -166,8 +166,8 @@ public partial interface IAssistantsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task AssistantControllerCreateAsync(
- global::Vapi.OneOf? transcriber = default,
- global::Vapi.OneOf? model = default,
+ global::Vapi.OneOf? transcriber = default,
+ global::Vapi.OneOf? model = default,
global::Vapi.OneOf? voice = default,
string? firstMessage = default,
bool? firstMessageInterruptionsEnabled = default,
diff --git a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerUpdate.g.cs
index b4638e54..ea56acac 100644
--- a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerUpdate.g.cs
@@ -172,8 +172,8 @@ public partial interface IAssistantsClient
///
global::System.Threading.Tasks.Task AssistantControllerUpdateAsync(
global::System.Guid id,
- global::Vapi.OneOf? transcriber = default,
- global::Vapi.OneOf? model = default,
+ global::Vapi.OneOf? transcriber = default,
+ global::Vapi.OneOf? model = default,
global::Vapi.OneOf? voice = default,
string? firstMessage = default,
bool? firstMessageInterruptionsEnabled = default,
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackVapiVoiceVersion2.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackVapiVoiceVersion2.g.cs
new file mode 100644
index 00000000..5d5dbcb2
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackVapiVoiceVersion2.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackVapiVoiceVersion2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackVapiVoiceVersion2 Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackVapiVoiceVersion2Extensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackVapiVoiceVersion2)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackVapiVoiceVersion2);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackVapiVoiceVersion2 value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.FallbackVapiVoiceVersion2Extensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackVapiVoiceVersion2Nullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackVapiVoiceVersion2Nullable.g.cs
new file mode 100644
index 00000000..4ecb76d4
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackVapiVoiceVersion2Nullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackVapiVoiceVersion2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackVapiVoiceVersion2? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackVapiVoiceVersion2Extensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackVapiVoiceVersion2)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackVapiVoiceVersion2?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackVapiVoiceVersion2? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.FallbackVapiVoiceVersion2Extensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf14.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf14.g.cs
new file mode 100644
index 00000000..b202e230
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf14.g.cs
@@ -0,0 +1,821 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter>
+ {
+ ///
+ public override global::Vapi.OneOf Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+
+ using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
+ var __rawJson = __jsonDocument.RootElement.GetRawText();
+ var __jsonProps = new global::System.Collections.Generic.HashSet();
+ if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name);
+ }
+ }
+
+ var __score0 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T1), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score0++;
+ }
+ }
+ }
+ var __score1 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T2), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score1++;
+ }
+ }
+ }
+ var __score2 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T3), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score2++;
+ }
+ }
+ }
+ var __score3 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T4), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score3++;
+ }
+ }
+ }
+ var __score4 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T5), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score4++;
+ }
+ }
+ }
+ var __score5 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T6), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score5++;
+ }
+ }
+ }
+ var __score6 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T7), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score6++;
+ }
+ }
+ }
+ var __score7 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T8), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score7++;
+ }
+ }
+ }
+ var __score8 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T9), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score8++;
+ }
+ }
+ }
+ var __score9 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T10), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score9++;
+ }
+ }
+ }
+ var __score10 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T11), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score10++;
+ }
+ }
+ }
+ var __score11 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T12), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score11++;
+ }
+ }
+ }
+ var __score12 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T13), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score12++;
+ }
+ }
+ }
+ var __score13 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T14), options);
+ if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
+ {
+ foreach (var __prop in __ti.Properties)
+ {
+ if (__jsonProps.Contains(__prop.Name)) __score13++;
+ }
+ }
+ }
+ var __bestScore = 0;
+ var __bestIndex = -1;
+ if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
+ if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
+ if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; }
+ if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; }
+ if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; }
+ if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; }
+ if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; }
+ if (__score7 > __bestScore) { __bestScore = __score7; __bestIndex = 7; }
+ if (__score8 > __bestScore) { __bestScore = __score8; __bestIndex = 8; }
+ if (__score9 > __bestScore) { __bestScore = __score9; __bestIndex = 9; }
+ if (__score10 > __bestScore) { __bestScore = __score10; __bestIndex = 10; }
+ if (__score11 > __bestScore) { __bestScore = __score11; __bestIndex = 11; }
+ if (__score12 > __bestScore) { __bestScore = __score12; __bestIndex = 12; }
+ if (__score13 > __bestScore) { __bestScore = __score13; __bestIndex = 13; }
+
+ T1? value1 = default;
+ T2? value2 = default;
+ T3? value3 = default;
+ T4? value4 = default;
+ T5? value5 = default;
+ T6? value6 = default;
+ T7? value7 = default;
+ T8? value8 = default;
+ T9? value9 = default;
+ T10? value10 = default;
+ T11? value11 = default;
+ T12? value12 = default;
+ T13? value13 = default;
+ T14? value14 = default;
+ if (__bestIndex >= 0)
+ {
+ if (__bestIndex == 0)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
+ value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 1)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
+ value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 2)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}");
+ value3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 3)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}");
+ value4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 4)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}");
+ value5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 5)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}");
+ value6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 6)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}");
+ value7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 7)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}");
+ value8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 8)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}");
+ value9 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 9)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T10), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T10).Name}");
+ value10 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 10)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T11), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T11).Name}");
+ value11 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 11)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T12), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T12).Name}");
+ value12 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 12)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}");
+ value13 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 13)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T14), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T14).Name}");
+ value14 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
+ value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
+ value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}");
+ value3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}");
+ value4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}");
+ value5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}");
+ value6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}");
+ value7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}");
+ value8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}");
+ value9 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T10), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T10).Name}");
+ value10 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T11), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T11).Name}");
+ value11 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T12), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T12).Name}");
+ value12 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}");
+ value13 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T14), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T14).Name}");
+ value14 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::Vapi.OneOf(
+ value1,
+
+ value2,
+
+ value3,
+
+ value4,
+
+ value5,
+
+ value6,
+
+ value7,
+
+ value8,
+
+ value9,
+
+ value10,
+
+ value11,
+
+ value12,
+
+ value13,
+
+ value14
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.OneOf value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsValue1)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo);
+ }
+ else if (value.IsValue2)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo);
+ }
+ else if (value.IsValue3)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3!, typeInfo);
+ }
+ else if (value.IsValue4)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4!, typeInfo);
+ }
+ else if (value.IsValue5)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5!, typeInfo);
+ }
+ else if (value.IsValue6)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6!, typeInfo);
+ }
+ else if (value.IsValue7)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value7!, typeInfo);
+ }
+ else if (value.IsValue8)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value8!, typeInfo);
+ }
+ else if (value.IsValue9)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value9!, typeInfo);
+ }
+ else if (value.IsValue10)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T10), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T10).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value10!, typeInfo);
+ }
+ else if (value.IsValue11)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T11), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T11).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value11!, typeInfo);
+ }
+ else if (value.IsValue12)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T12), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T12).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value12!, typeInfo);
+ }
+ else if (value.IsValue13)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value13!, typeInfo);
+ }
+ else if (value.IsValue14)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T14), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T14).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value14!, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf16.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf17.g.cs
similarity index 91%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf16.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf17.g.cs
index 5ffa0466..df876ebb 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf16.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf17.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter>
+ public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter>
{
///
- public override global::Vapi.OneOf Read(
+ public override global::Vapi.OneOf Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -202,6 +202,17 @@ public class OneOfJsonConverter __bestScore) { __bestScore = __score0; __bestIndex = 0; }
@@ -220,6 +231,7 @@ public class OneOfJsonConverter __bestScore) { __bestScore = __score13; __bestIndex = 13; }
if (__score14 > __bestScore) { __bestScore = __score14; __bestIndex = 14; }
if (__score15 > __bestScore) { __bestScore = __score15; __bestIndex = 15; }
+ if (__score16 > __bestScore) { __bestScore = __score16; __bestIndex = 16; }
T1? value1 = default;
T2? value2 = default;
@@ -237,6 +249,7 @@ public class OneOfJsonConverter= 0)
{
if (__bestIndex == 0)
@@ -510,9 +523,26 @@ public class OneOfJsonConverter ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}");
+ value17 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
}
- if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null)
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null)
{
try
{
@@ -529,7 +559,7 @@ public class OneOfJsonConverter(
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}");
+ value17 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::Vapi.OneOf(
value1,
value2,
@@ -815,7 +862,9 @@ public class OneOfJsonConverter
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.OneOf value,
+ global::Vapi.OneOf value,
global::System.Text.Json.JsonSerializerOptions options)
{
options = options ?? throw new global::System.ArgumentNullException(nameof(options));
@@ -926,6 +975,12 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T16).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value16!, typeInfo);
}
+ else if (value.IsValue17)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value17!, typeInfo);
+ }
}
}
}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiModelVersion.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiModelVersion.g.cs
new file mode 100644
index 00000000..2949483e
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiModelVersion.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiModelVersionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiModelVersion Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiModelVersionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiModelVersion)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiModelVersion);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiModelVersion value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.VapiModelVersionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiModelVersionNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiModelVersionNullable.g.cs
new file mode 100644
index 00000000..70b1ea62
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiModelVersionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiModelVersionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiModelVersion? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiModelVersionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiModelVersion)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiModelVersion?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiModelVersion? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.VapiModelVersionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguage.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguage.g.cs
new file mode 100644
index 00000000..8ad28bc0
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguage.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiTranscriberLanguageJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiTranscriberLanguage Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiTranscriberLanguageExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiTranscriberLanguage)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiTranscriberLanguage);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiTranscriberLanguage value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.VapiTranscriberLanguageExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguage2.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguage2.g.cs
new file mode 100644
index 00000000..d08be8f8
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguage2.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiTranscriberLanguage2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiTranscriberLanguage2 Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiTranscriberLanguage2Extensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiTranscriberLanguage2)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiTranscriberLanguage2);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiTranscriberLanguage2 value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.VapiTranscriberLanguage2Extensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguage2Nullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguage2Nullable.g.cs
new file mode 100644
index 00000000..56bbca58
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguage2Nullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiTranscriberLanguage2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiTranscriberLanguage2? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiTranscriberLanguage2Extensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiTranscriberLanguage2)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiTranscriberLanguage2?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiTranscriberLanguage2? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.VapiTranscriberLanguage2Extensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguageNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguageNullable.g.cs
new file mode 100644
index 00000000..e1d1095c
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberLanguageNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiTranscriberLanguageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiTranscriberLanguage? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiTranscriberLanguageExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiTranscriberLanguage)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiTranscriberLanguage?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiTranscriberLanguage? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.VapiTranscriberLanguageExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberProvider.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberProvider.g.cs
new file mode 100644
index 00000000..368e4c16
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberProvider.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiTranscriberProviderJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiTranscriberProvider Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiTranscriberProviderExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiTranscriberProvider)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiTranscriberProvider);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiTranscriberProvider value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.VapiTranscriberProviderExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberProviderNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberProviderNullable.g.cs
new file mode 100644
index 00000000..62833bb0
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberProviderNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiTranscriberProviderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiTranscriberProvider? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiTranscriberProviderExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiTranscriberProvider)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiTranscriberProvider?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiTranscriberProvider? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.VapiTranscriberProviderExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberTurnTaking.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberTurnTaking.g.cs
new file mode 100644
index 00000000..4c9d38b8
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberTurnTaking.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiTranscriberTurnTakingJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiTranscriberTurnTaking Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiTranscriberTurnTakingExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiTranscriberTurnTaking)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiTranscriberTurnTaking);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiTranscriberTurnTaking value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.VapiTranscriberTurnTakingExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberTurnTakingNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberTurnTakingNullable.g.cs
new file mode 100644
index 00000000..0dd51dc4
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberTurnTakingNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiTranscriberTurnTakingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiTranscriberTurnTaking? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiTranscriberTurnTakingExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiTranscriberTurnTaking)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiTranscriberTurnTaking?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiTranscriberTurnTaking? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.VapiTranscriberTurnTakingExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberVersion.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberVersion.g.cs
new file mode 100644
index 00000000..c0b10a2e
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberVersion.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiTranscriberVersionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiTranscriberVersion Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiTranscriberVersionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiTranscriberVersion)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiTranscriberVersion);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiTranscriberVersion value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.VapiTranscriberVersionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberVersionNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberVersionNullable.g.cs
new file mode 100644
index 00000000..9f1105dc
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiTranscriberVersionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiTranscriberVersionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiTranscriberVersion? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiTranscriberVersionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiTranscriberVersion)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiTranscriberVersion?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiTranscriberVersion? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.VapiTranscriberVersionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiVoiceVersion2.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiVoiceVersion2.g.cs
new file mode 100644
index 00000000..b0d8ab04
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiVoiceVersion2.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiVoiceVersion2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiVoiceVersion2 Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiVoiceVersion2Extensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiVoiceVersion2)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiVoiceVersion2);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiVoiceVersion2 value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.VapiVoiceVersion2Extensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiVoiceVersion2Nullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiVoiceVersion2Nullable.g.cs
new file mode 100644
index 00000000..61c52bd4
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.VapiVoiceVersion2Nullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class VapiVoiceVersion2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.VapiVoiceVersion2? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.VapiVoiceVersion2Extensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.VapiVoiceVersion2)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.VapiVoiceVersion2?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.VapiVoiceVersion2? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.VapiVoiceVersion2Extensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonSerializerContext.g.cs b/src/libs/Vapi/Generated/Vapi.JsonSerializerContext.g.cs
index 9b8871e1..09bfd3b6 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonSerializerContext.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonSerializerContext.g.cs
@@ -193,6 +193,26 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.XaiTranscriberLanguageNullableJsonConverter),
+ typeof(global::Vapi.JsonConverters.VapiTranscriberProviderJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberProviderNullableJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberVersionJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberVersionNullableJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberLanguageJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberLanguageNullableJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberLanguage2JsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberLanguage2NullableJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberTurnTakingJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberTurnTakingNullableJsonConverter),
+
typeof(global::Vapi.JsonConverters.FallbackAssemblyAITranscriberProviderJsonConverter),
typeof(global::Vapi.JsonConverters.FallbackAssemblyAITranscriberProviderNullableJsonConverter),
@@ -969,6 +989,10 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.WorkflowUserEditableVoicemailDetectionNullableJsonConverter),
+ typeof(global::Vapi.JsonConverters.VapiModelVersionJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiModelVersionNullableJsonConverter),
+
typeof(global::Vapi.JsonConverters.VapiModelProviderJsonConverter),
typeof(global::Vapi.JsonConverters.VapiModelProviderNullableJsonConverter),
@@ -1173,6 +1197,10 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.VapiVoiceVoiceIdNullableJsonConverter),
+ typeof(global::Vapi.JsonConverters.VapiVoiceVersion2JsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiVoiceVersion2NullableJsonConverter),
+
typeof(global::Vapi.JsonConverters.VapiVoiceLanguageJsonConverter),
typeof(global::Vapi.JsonConverters.VapiVoiceLanguageNullableJsonConverter),
@@ -1429,6 +1457,10 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.FallbackVapiVoiceVoiceIdNullableJsonConverter),
+ typeof(global::Vapi.JsonConverters.FallbackVapiVoiceVersion2JsonConverter),
+
+ typeof(global::Vapi.JsonConverters.FallbackVapiVoiceVersion2NullableJsonConverter),
+
typeof(global::Vapi.JsonConverters.FallbackVapiVoiceLanguageJsonConverter),
typeof(global::Vapi.JsonConverters.FallbackVapiVoiceLanguageNullableJsonConverter),
@@ -4603,7 +4635,7 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -4687,7 +4719,7 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -4729,7 +4761,7 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -4765,6 +4797,8 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -4781,13 +4815,15 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -4799,9 +4835,9 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -4811,9 +4847,9 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -4823,9 +4859,9 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -4839,7 +4875,7 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -4853,7 +4889,7 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -4867,7 +4903,7 @@ namespace Vapi
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -5436,7 +5472,7 @@ namespace Vapi
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "FallbackXaiTranscriber_2b8861a9903db755")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "FallbackXaiTranscriber_b66004a379de702e")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "MicrosoftVoice_9525686a2c79b897")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "XaiTranscriber_52a6d98c0be4916d")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "VapiTranscriber_08a174827361a4d7")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "ContextEngineeringPlanPreviousAssistantMessages_125e53ec9b202456")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "CreateVoicemailToolDTO_ce07bd1a43aafc35")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "CreateVoicemailToolDTO_f4c4631be3aca304")]
@@ -5445,7 +5481,7 @@ namespace Vapi
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "VapiVoicemailDetectionPlan_cde2be735c2dd2b7")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "FallbackMicrosoftVoice_fa8b9558d3a8a7b6")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "FallbackMicrosoftVoice_2a01eb41084023cd")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "XaiModel_4412bb1f9df13d62")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "VapiModel_0c39ac057634aa9c")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "VapiVoicemailDetectionPlan_40aab5fbf952716b")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "SessionCreatedHook_929e4b5bda008e83")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "SessionCreatedHook_2fbeaab55b62844d")]
@@ -5473,14 +5509,14 @@ namespace Vapi
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "ClientInboundMessageSendTransportMessage_b60833b95aa0836f")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "FallbackXaiTranscriber_8e7ba8da847c1e2f")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "MicrosoftVoice_b7badc9028e305e0")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "XaiTranscriber_1e6e2018682a4172")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "VapiTranscriber_4286e861e67fc77e")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "ContextEngineeringPlanPreviousAssistantMessages_e17e5092dbcded2d")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "CreateVoicemailToolDTO_555b3a5e46354c56")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "WorkflowCustomModel_4fcb5a07f61b51b5")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "CallHookModelResponseTimeout_8be94521dbca1bec")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "VapiVoicemailDetectionPlan_1a05329dfc971e6d")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "FallbackMicrosoftVoice_d1191d910e967c2a")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "XaiModel_339b0fa6504c9aff")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "VapiModel_5e260c2c0d56730d")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "VapiVoicemailDetectionPlan_d5c02b16b5ac8354")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "SessionCreatedHook_c03dd4becfe9e6f2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf?), TypeInfoPropertyName = "VapiVoicemailDetectionPlan_c5c230f82545f453")]
@@ -5603,6 +5639,13 @@ namespace Vapi
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.XaiTranscriberProvider), TypeInfoPropertyName = "XaiTranscriberProvider2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.XaiTranscriberModel), TypeInfoPropertyName = "XaiTranscriberModel2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.XaiTranscriberLanguage), TypeInfoPropertyName = "XaiTranscriberLanguage2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.VapiTranscriber))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.VapiTranscriberProvider), TypeInfoPropertyName = "VapiTranscriberProvider2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.VapiTranscriberVersion), TypeInfoPropertyName = "VapiTranscriberVersion2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.VapiTranscriberLanguage), TypeInfoPropertyName = "VapiTranscriberLanguage2_3")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.VapiTranscriberLanguage2), TypeInfoPropertyName = "VapiTranscriberLanguage22")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.VapiTranscriberTurnTaking), TypeInfoPropertyName = "VapiTranscriberTurnTaking2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.FallbackAssemblyAITranscriberProvider), TypeInfoPropertyName = "FallbackAssemblyAITranscriberProvider2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.FallbackAssemblyAITranscriberLanguage), TypeInfoPropertyName = "FallbackAssemblyAITranscriberLanguage2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.FallbackAssemblyAITranscriberSpeechModel), TypeInfoPropertyName = "FallbackAssemblyAITranscriberSpeechModel2")]
@@ -5926,13 +5969,6 @@ namespace Vapi
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.WorkflowCustomModelMetadataSendMode), TypeInfoPropertyName = "WorkflowCustomModelMetadataSendMode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.GlobalNodePlan))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ConversationNode))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ConversationNodeType), TypeInfoPropertyName = "ConversationNodeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "OneOfWorkflowOpenAIModelWorkflowAnthropicModelWorkflowAnthropicBedrockModelWorkflowGoogleModelWorkflowCustomModel2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ToolNode))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ToolNodeType), TypeInfoPropertyName = "ToolNodeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.VoicemailDetectionBackoffPlan))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.GoogleVoicemailDetectionPlan))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.GoogleVoicemailDetectionPlanProvider), TypeInfoPropertyName = "GoogleVoicemailDetectionPlanProvider2")]
internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -6124,6 +6160,26 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.XaiTranscriberLanguageNullableJsonConverter),
+ typeof(global::Vapi.JsonConverters.VapiTranscriberProviderJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberProviderNullableJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberVersionJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberVersionNullableJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberLanguageJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberLanguageNullableJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberLanguage2JsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberLanguage2NullableJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberTurnTakingJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiTranscriberTurnTakingNullableJsonConverter),
+
typeof(global::Vapi.JsonConverters.FallbackAssemblyAITranscriberProviderJsonConverter),
typeof(global::Vapi.JsonConverters.FallbackAssemblyAITranscriberProviderNullableJsonConverter),
@@ -6900,6 +6956,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.WorkflowUserEditableVoicemailDetectionNullableJsonConverter),
+ typeof(global::Vapi.JsonConverters.VapiModelVersionJsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiModelVersionNullableJsonConverter),
+
typeof(global::Vapi.JsonConverters.VapiModelProviderJsonConverter),
typeof(global::Vapi.JsonConverters.VapiModelProviderNullableJsonConverter),
@@ -7104,6 +7164,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.VapiVoiceVoiceIdNullableJsonConverter),
+ typeof(global::Vapi.JsonConverters.VapiVoiceVersion2JsonConverter),
+
+ typeof(global::Vapi.JsonConverters.VapiVoiceVersion2NullableJsonConverter),
+
typeof(global::Vapi.JsonConverters.VapiVoiceLanguageJsonConverter),
typeof(global::Vapi.JsonConverters.VapiVoiceLanguageNullableJsonConverter),
@@ -7360,6 +7424,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.FallbackVapiVoiceVoiceIdNullableJsonConverter),
+ typeof(global::Vapi.JsonConverters.FallbackVapiVoiceVersion2JsonConverter),
+
+ typeof(global::Vapi.JsonConverters.FallbackVapiVoiceVersion2NullableJsonConverter),
+
typeof(global::Vapi.JsonConverters.FallbackVapiVoiceLanguageJsonConverter),
typeof(global::Vapi.JsonConverters.FallbackVapiVoiceLanguageNullableJsonConverter),
@@ -10534,7 +10602,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -10618,7 +10686,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -10660,7 +10728,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -10696,6 +10764,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -10712,13 +10782,15 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -10730,9 +10802,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -10742,9 +10814,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -10754,9 +10826,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -10770,7 +10842,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -10784,7 +10856,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -10798,7 +10870,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
- typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
+ typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
typeof(global::Vapi.JsonConverters.OneOfJsonConverter),
@@ -11367,7 +11439,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "FallbackXaiTranscriber_2b8861a9903db755")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "FallbackXaiTranscriber_b66004a379de702e")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "MicrosoftVoice_9525686a2c79b897")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "XaiTranscriber_52a6d98c0be4916d")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "VapiTranscriber_08a174827361a4d7")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "ContextEngineeringPlanPreviousAssistantMessages_125e53ec9b202456")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList