From c065312d9a05817bdfe68a338929b28bdc606f20 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 10 May 2026 03:55:57 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ssistantSpeechTimingDiscriminatorType.g.cs | 53 ++ ...SpeechTimingDiscriminatorTypeNullable.g.cs | 60 ++ .../Vapi.JsonConverters.OneOf12.g.cs | 33 ++ .../Vapi.JsonConverters.OneOf16.g.cs | 45 ++ .../Vapi.JsonConverters.OneOf17.g.cs | 48 ++ .../Vapi.JsonConverters.OneOf18.g.cs | 51 ++ .../Generated/Vapi.JsonConverters.OneOf2.g.cs | 3 + .../Vapi.JsonConverters.OneOf22.g.cs | 63 +++ .../Vapi.JsonConverters.OneOf23.g.cs | 66 +++ .../Vapi.JsonConverters.OneOf27.g.cs | 78 +++ .../Generated/Vapi.JsonConverters.OneOf3.g.cs | 6 + .../Generated/Vapi.JsonConverters.OneOf4.g.cs | 9 + .../Generated/Vapi.JsonConverters.OneOf5.g.cs | 12 + .../Generated/Vapi.JsonConverters.OneOf6.g.cs | 15 + .../Generated/Vapi.JsonConverters.OneOf7.g.cs | 18 + .../Generated/Vapi.JsonConverters.OneOf8.g.cs | 21 + .../Generated/Vapi.JsonConverters.OneOf9.g.cs | 24 + ...ssistantSpeechTimingDiscriminatorType.g.cs | 53 ++ ...SpeechTimingDiscriminatorTypeNullable.g.cs | 60 ++ .../Generated/Vapi.JsonConverters.Timing.g.cs | 100 +--- .../Vapi.JsonConverters.Timing2.g.cs | 100 +--- .../Generated/Vapi.JsonSerializerContext.g.cs | 58 +- .../Vapi.JsonSerializerContextTypes.g.cs | 520 +++++++++--------- ...ageAssistantSpeechTimingDiscriminator.g.cs | 5 +- ...ssistantSpeechTimingDiscriminatorType.g.cs | 51 ++ ...ageAssistantSpeechTimingDiscriminator.g.cs | 5 +- ...ssistantSpeechTimingDiscriminatorType.g.cs | 51 ++ .../Vapi/Generated/Vapi.Models.Timing.g.cs | 8 + .../Vapi/Generated/Vapi.Models.Timing2.g.cs | 8 + 29 files changed, 1190 insertions(+), 434 deletions(-) create mode 100644 src/libs/Vapi/Generated/Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorType.g.cs create mode 100644 src/libs/Vapi/Generated/Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullable.g.cs create mode 100644 src/libs/Vapi/Generated/Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorType.g.cs create mode 100644 src/libs/Vapi/Generated/Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullable.g.cs create mode 100644 src/libs/Vapi/Generated/Vapi.Models.ClientMessageAssistantSpeechTimingDiscriminatorType.g.cs create mode 100644 src/libs/Vapi/Generated/Vapi.Models.ServerMessageAssistantSpeechTimingDiscriminatorType.g.cs diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorType.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorType.g.cs new file mode 100644 index 00000000..fbea1872 --- /dev/null +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vapi.JsonConverters +{ + /// + public sealed class ClientMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType 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.ClientMessageAssistantSpeechTimingDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullable.g.cs new file mode 100644 index 00000000..9d1b90cb --- /dev/null +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vapi.JsonConverters +{ + /// + public sealed class ClientMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType? 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.ClientMessageAssistantSpeechTimingDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType? 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.ClientMessageAssistantSpeechTimingDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf12.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf12.g.cs index d322327f..8fa9ad33 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf12.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf12.g.cs @@ -407,7 +407,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serialization catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null) + { try { diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf22.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf22.g.cs index 421e93c7..cd651669 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf22.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf22.g.cs @@ -707,7 +707,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serializa catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null) + { try { @@ -151,7 +154,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serializa catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null) + { try { diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf4.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf4.g.cs index 5c491516..3c9583c4 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf4.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf4.g.cs @@ -167,7 +167,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Seria catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null) + { try { @@ -181,7 +184,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Seria catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null) + { try { @@ -195,7 +201,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Seria catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null) + { try { diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf5.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf5.g.cs index d6d5da53..8fb9128c 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf5.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf5.g.cs @@ -197,7 +197,10 @@ public class OneOfJsonConverter : global::System.Text.Json.S catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null) + { try { @@ -211,7 +214,10 @@ public class OneOfJsonConverter : global::System.Text.Json.S catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null) + { try { @@ -225,7 +231,10 @@ public class OneOfJsonConverter : global::System.Text.Json.S catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null) + { try { @@ -239,7 +248,10 @@ public class OneOfJsonConverter : global::System.Text.Json.S catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null) + { try { diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf6.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf6.g.cs index 8d087a4f..f1340ab5 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf6.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf6.g.cs @@ -227,7 +227,10 @@ public class OneOfJsonConverter : global::System.Text.Js catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + { try { @@ -241,7 +244,10 @@ public class OneOfJsonConverter : global::System.Text.Js catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + { try { @@ -255,7 +261,10 @@ public class OneOfJsonConverter : global::System.Text.Js catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + { try { @@ -269,7 +278,10 @@ public class OneOfJsonConverter : global::System.Text.Js catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + { try { @@ -283,7 +295,10 @@ public class OneOfJsonConverter : global::System.Text.Js catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + { try { diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf7.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf7.g.cs index aa064258..16567f8b 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf7.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf7.g.cs @@ -257,7 +257,10 @@ public class OneOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { @@ -271,7 +274,10 @@ public class OneOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { @@ -285,7 +291,10 @@ public class OneOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { @@ -299,7 +308,10 @@ public class OneOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { @@ -313,7 +325,10 @@ public class OneOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { @@ -327,7 +342,10 @@ public class OneOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null) + { try { diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf8.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf8.g.cs index 9aa3b486..a88c2db9 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf8.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf8.g.cs @@ -287,7 +287,10 @@ public class OneOfJsonConverter : global::System catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) + { try { @@ -301,7 +304,10 @@ public class OneOfJsonConverter : global::System catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) + { try { @@ -315,7 +321,10 @@ public class OneOfJsonConverter : global::System catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) + { try { @@ -329,7 +338,10 @@ public class OneOfJsonConverter : global::System catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) + { try { @@ -343,7 +355,10 @@ public class OneOfJsonConverter : global::System catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) + { try { @@ -357,7 +372,10 @@ public class OneOfJsonConverter : global::System catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) + { try { @@ -371,7 +389,10 @@ public class OneOfJsonConverter : global::System catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) + { try { diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf9.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf9.g.cs index 0bb70b9f..4551ed2e 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf9.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf9.g.cs @@ -317,7 +317,10 @@ public class OneOfJsonConverter : global::Sy catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null) + { try { @@ -331,7 +334,10 @@ public class OneOfJsonConverter : global::Sy catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null) + { try { @@ -345,7 +351,10 @@ public class OneOfJsonConverter : global::Sy catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null) + { try { @@ -359,7 +368,10 @@ public class OneOfJsonConverter : global::Sy catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null) + { try { @@ -373,7 +385,10 @@ public class OneOfJsonConverter : global::Sy catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null) + { try { @@ -387,7 +402,10 @@ public class OneOfJsonConverter : global::Sy catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null) + { try { @@ -401,7 +419,10 @@ public class OneOfJsonConverter : global::Sy catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null) + { try { @@ -415,7 +436,10 @@ public class OneOfJsonConverter : global::Sy catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null) + { try { diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorType.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorType.g.cs new file mode 100644 index 00000000..7ceab0f5 --- /dev/null +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vapi.JsonConverters +{ + /// + public sealed class ServerMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType 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.ServerMessageAssistantSpeechTimingDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullable.g.cs new file mode 100644 index 00000000..a8780309 --- /dev/null +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vapi.JsonConverters +{ + /// + public sealed class ServerMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType? 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.ServerMessageAssistantSpeechTimingDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType? 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.ServerMessageAssistantSpeechTimingDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.Timing.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.Timing.g.cs index 771a1c9c..6d4d4c2e 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonConverters.Timing.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.Timing.g.cs @@ -15,101 +15,29 @@ public class TimingJsonConverter : global::System.Text.Json.Serialization.JsonCo 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; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("words")) __score0++; - if (__jsonProps.Contains("wordsEndTimesMs")) __score0++; - if (__jsonProps.Contains("wordsStartTimesMs")) __score0++; - var __score1 = 0; - if (__jsonProps.Contains("segment")) __score1++; - if (__jsonProps.Contains("segmentDurationMs")) __score1++; - if (__jsonProps.Contains("totalWords")) __score1++; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("words")) __score1++; - if (__jsonProps.Contains("wordsSpoken")) __score1++; - var __bestScore = 0; - var __bestIndex = -1; - if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } - if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.ClientMessageAssistantSpeechTimingDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.ClientMessageAssistantSpeechTimingDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::Vapi.AssistantSpeechWordAlignmentTiming? wordAlignment = default; - global::Vapi.AssistantSpeechWordProgressTiming? wordProgress = default; - if (__bestIndex >= 0) + if (discriminator?.Type == global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType.WordAlignment) { - if (__bestIndex == 0) - { - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.AssistantSpeechWordAlignmentTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.AssistantSpeechWordAlignmentTiming).Name}"); - wordAlignment = 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(global::Vapi.AssistantSpeechWordProgressTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.AssistantSpeechWordProgressTiming).Name}"); - wordProgress = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.AssistantSpeechWordAlignmentTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.AssistantSpeechWordAlignmentTiming)}"); + wordAlignment = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - - if (wordAlignment == null && wordProgress == null) + global::Vapi.AssistantSpeechWordProgressTiming? wordProgress = default; + if (discriminator?.Type == global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType.WordProgress) { - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.AssistantSpeechWordAlignmentTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.AssistantSpeechWordAlignmentTiming).Name}"); - wordAlignment = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.AssistantSpeechWordProgressTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.AssistantSpeechWordProgressTiming).Name}"); - wordProgress = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.AssistantSpeechWordProgressTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.AssistantSpeechWordProgressTiming)}"); + wordProgress = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::Vapi.Timing( + discriminator?.Type, wordAlignment, wordProgress diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.Timing2.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.Timing2.g.cs index 94953c2b..0c5d3885 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonConverters.Timing2.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.Timing2.g.cs @@ -15,101 +15,29 @@ public class Timing2JsonConverter : global::System.Text.Json.Serialization.JsonC 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; - if (__jsonProps.Contains("type")) __score0++; - if (__jsonProps.Contains("words")) __score0++; - if (__jsonProps.Contains("wordsEndTimesMs")) __score0++; - if (__jsonProps.Contains("wordsStartTimesMs")) __score0++; - var __score1 = 0; - if (__jsonProps.Contains("segment")) __score1++; - if (__jsonProps.Contains("segmentDurationMs")) __score1++; - if (__jsonProps.Contains("totalWords")) __score1++; - if (__jsonProps.Contains("type")) __score1++; - if (__jsonProps.Contains("words")) __score1++; - if (__jsonProps.Contains("wordsSpoken")) __score1++; - var __bestScore = 0; - var __bestIndex = -1; - if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } - if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.ServerMessageAssistantSpeechTimingDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.ServerMessageAssistantSpeechTimingDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::Vapi.AssistantSpeechWordAlignmentTiming? wordAlignment = default; - global::Vapi.AssistantSpeechWordProgressTiming? wordProgress = default; - if (__bestIndex >= 0) + if (discriminator?.Type == global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType.WordAlignment) { - if (__bestIndex == 0) - { - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.AssistantSpeechWordAlignmentTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.AssistantSpeechWordAlignmentTiming).Name}"); - wordAlignment = 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(global::Vapi.AssistantSpeechWordProgressTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.AssistantSpeechWordProgressTiming).Name}"); - wordProgress = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.AssistantSpeechWordAlignmentTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.AssistantSpeechWordAlignmentTiming)}"); + wordAlignment = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - - if (wordAlignment == null && wordProgress == null) + global::Vapi.AssistantSpeechWordProgressTiming? wordProgress = default; + if (discriminator?.Type == global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType.WordProgress) { - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.AssistantSpeechWordAlignmentTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.AssistantSpeechWordAlignmentTiming).Name}"); - wordAlignment = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.AssistantSpeechWordProgressTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.AssistantSpeechWordProgressTiming).Name}"); - wordProgress = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.AssistantSpeechWordProgressTiming), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.AssistantSpeechWordProgressTiming)}"); + wordProgress = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::Vapi.Timing2( + discriminator?.Type, wordAlignment, wordProgress diff --git a/src/libs/Vapi/Generated/Vapi.JsonSerializerContext.g.cs b/src/libs/Vapi/Generated/Vapi.JsonSerializerContext.g.cs index 11be3ae5..dcfd6604 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonSerializerContext.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonSerializerContext.g.cs @@ -3381,6 +3381,10 @@ namespace Vapi typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeJsonConverter), typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeNullableJsonConverter), @@ -3517,6 +3521,10 @@ namespace Vapi typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeJsonConverter), typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeNullableJsonConverter), @@ -8734,6 +8742,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeJsonConverter), typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeNullableJsonConverter), @@ -8870,6 +8882,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeJsonConverter), typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeNullableJsonConverter), @@ -14087,6 +14103,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeJsonConverter), typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeNullableJsonConverter), @@ -14223,6 +14243,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeJsonConverter), typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeNullableJsonConverter), @@ -19440,6 +19464,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeJsonConverter), typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeNullableJsonConverter), @@ -19576,6 +19604,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeJsonConverter), typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeNullableJsonConverter), @@ -24793,6 +24825,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeJsonConverter), typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeNullableJsonConverter), @@ -24929,6 +24965,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeJsonConverter), typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeNullableJsonConverter), @@ -26555,6 +26595,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ClientMessageAssistantSpeechSource), TypeInfoPropertyName = "ClientMessageAssistantSpeechSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.Timing), TypeInfoPropertyName = "Timing2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ClientMessageAssistantSpeechTimingDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType), TypeInfoPropertyName = "ClientMessageAssistantSpeechTimingDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ClientMessageChatCreated))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ClientMessageChatCreatedType), TypeInfoPropertyName = "ClientMessageChatCreatedType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ClientMessageChatDeleted))] @@ -26617,6 +26658,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ServerMessageAssistantSpeechSource), TypeInfoPropertyName = "ServerMessageAssistantSpeechSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.Timing2), TypeInfoPropertyName = "Timing22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ServerMessageAssistantSpeechTimingDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType), TypeInfoPropertyName = "ServerMessageAssistantSpeechTimingDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ServerMessageVoiceRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ServerMessageVoiceRequestType), TypeInfoPropertyName = "ServerMessageVoiceRequestType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.ServerMessageCallEndpointingRequest))] @@ -26765,8 +26807,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "OneOfCallCallBatchResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "OneOfChatCreateChatStreamResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.OneOf), TypeInfoPropertyName = "OneOfResponseObjectResponseTextDeltaEventResponseTextDoneEventResponseCompletedEventResponseErrorEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.PhoneNumberControllerCreateResponse), TypeInfoPropertyName = "PhoneNumberControllerCreateResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.PhoneNumberControllerCreateResponseDiscriminator))] internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -30146,6 +30186,10 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeJsonConverter), typeof(global::Vapi.JsonConverters.ClientMessageChatCreatedTypeNullableJsonConverter), @@ -30282,6 +30326,10 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechSourceNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter), + + typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter), + typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeJsonConverter), typeof(global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeNullableJsonConverter), @@ -31697,6 +31745,8 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "FilterStructuredOutputColumnOnCallTable_514172078c50ed6e")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ChatEvalAssistantMessageEvaluation_e520bbe5e5889e56")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GoogleCalendarCreateEventToolWithToolCall_4ee6ec9da9c1f25a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.PhoneNumberControllerCreateResponse), TypeInfoPropertyName = "PhoneNumberControllerCreateResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.PhoneNumberControllerCreateResponseDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.PhoneNumberControllerCreateResponseDiscriminatorProvider), TypeInfoPropertyName = "PhoneNumberControllerCreateResponseDiscriminatorProvider2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vapi.PhoneNumberControllerFindAllResponseItem), TypeInfoPropertyName = "PhoneNumberControllerFindAllResponseItem2")] @@ -33609,6 +33659,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Vapi.JsonConverters.ClientMessageAssistantSpeechTypeNullableJsonConverter()); options.Converters.Add(new global::Vapi.JsonConverters.ClientMessageAssistantSpeechSourceJsonConverter()); options.Converters.Add(new global::Vapi.JsonConverters.ClientMessageAssistantSpeechSourceNullableJsonConverter()); + options.Converters.Add(new global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter()); options.Converters.Add(new global::Vapi.JsonConverters.ClientMessageChatCreatedTypeJsonConverter()); options.Converters.Add(new global::Vapi.JsonConverters.ClientMessageChatCreatedTypeNullableJsonConverter()); options.Converters.Add(new global::Vapi.JsonConverters.ClientMessageChatDeletedTypeJsonConverter()); @@ -33677,6 +33729,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Vapi.JsonConverters.ServerMessageAssistantSpeechTypeNullableJsonConverter()); options.Converters.Add(new global::Vapi.JsonConverters.ServerMessageAssistantSpeechSourceJsonConverter()); options.Converters.Add(new global::Vapi.JsonConverters.ServerMessageAssistantSpeechSourceNullableJsonConverter()); + options.Converters.Add(new global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeNullableJsonConverter()); options.Converters.Add(new global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeJsonConverter()); options.Converters.Add(new global::Vapi.JsonConverters.ServerMessageVoiceRequestTypeNullableJsonConverter()); options.Converters.Add(new global::Vapi.JsonConverters.ServerMessageCallEndpointingRequestTypeJsonConverter()); diff --git a/src/libs/Vapi/Generated/Vapi.JsonSerializerContextTypes.g.cs b/src/libs/Vapi/Generated/Vapi.JsonSerializerContextTypes.g.cs index ac0ae26b..5ee25e30 100644 --- a/src/libs/Vapi/Generated/Vapi.JsonSerializerContextTypes.g.cs +++ b/src/libs/Vapi/Generated/Vapi.JsonSerializerContextTypes.g.cs @@ -7624,1027 +7624,1035 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Vapi.ClientMessageChatCreated? Type1899 { get; set; } + public global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType? Type1899 { get; set; } /// /// /// - public global::Vapi.ClientMessageChatCreatedType? Type1900 { get; set; } + public global::Vapi.ClientMessageChatCreated? Type1900 { get; set; } /// /// /// - public global::Vapi.ClientMessageChatDeleted? Type1901 { get; set; } + public global::Vapi.ClientMessageChatCreatedType? Type1901 { get; set; } /// /// /// - public global::Vapi.ClientMessageChatDeletedType? Type1902 { get; set; } + public global::Vapi.ClientMessageChatDeleted? Type1902 { get; set; } /// /// /// - public global::Vapi.ClientMessageSessionCreated? Type1903 { get; set; } + public global::Vapi.ClientMessageChatDeletedType? Type1903 { get; set; } /// /// /// - public global::Vapi.ClientMessageSessionCreatedType? Type1904 { get; set; } + public global::Vapi.ClientMessageSessionCreated? Type1904 { get; set; } /// /// /// - public global::Vapi.ClientMessageSessionUpdated? Type1905 { get; set; } + public global::Vapi.ClientMessageSessionCreatedType? Type1905 { get; set; } /// /// /// - public global::Vapi.ClientMessageSessionUpdatedType? Type1906 { get; set; } + public global::Vapi.ClientMessageSessionUpdated? Type1906 { get; set; } /// /// /// - public global::Vapi.ClientMessageSessionDeleted? Type1907 { get; set; } + public global::Vapi.ClientMessageSessionUpdatedType? Type1907 { get; set; } /// /// /// - public global::Vapi.ClientMessageSessionDeletedType? Type1908 { get; set; } + public global::Vapi.ClientMessageSessionDeleted? Type1908 { get; set; } /// /// /// - public global::Vapi.ClientMessageCallDeleted? Type1909 { get; set; } + public global::Vapi.ClientMessageSessionDeletedType? Type1909 { get; set; } /// /// /// - public global::Vapi.ClientMessageCallDeletedType? Type1910 { get; set; } + public global::Vapi.ClientMessageCallDeleted? Type1910 { get; set; } /// /// /// - public global::Vapi.ClientMessageCallDeleteFailed? Type1911 { get; set; } + public global::Vapi.ClientMessageCallDeletedType? Type1911 { get; set; } /// /// /// - public global::Vapi.ClientMessageCallDeleteFailedType? Type1912 { get; set; } + public global::Vapi.ClientMessageCallDeleteFailed? Type1912 { get; set; } /// /// /// - public global::Vapi.ClientMessage? Type1913 { get; set; } + public global::Vapi.ClientMessageCallDeleteFailedType? Type1913 { get; set; } /// /// /// - public global::Vapi.ServerMessageAssistantRequest? Type1914 { get; set; } + public global::Vapi.ClientMessage? Type1914 { get; set; } /// /// /// - public global::Vapi.ServerMessageAssistantRequestType? Type1915 { get; set; } + public global::Vapi.ServerMessageAssistantRequest? Type1915 { get; set; } /// /// /// - public global::Vapi.ServerMessageConversationUpdate? Type1916 { get; set; } + public global::Vapi.ServerMessageAssistantRequestType? Type1916 { get; set; } /// /// /// - public global::Vapi.ServerMessageConversationUpdateType? Type1917 { get; set; } + public global::Vapi.ServerMessageConversationUpdate? Type1917 { get; set; } /// /// /// - public global::Vapi.ServerMessageEndOfCallReport? Type1918 { get; set; } + public global::Vapi.ServerMessageConversationUpdateType? Type1918 { get; set; } /// /// /// - public global::Vapi.ServerMessageEndOfCallReportType? Type1919 { get; set; } + public global::Vapi.ServerMessageEndOfCallReport? Type1919 { get; set; } /// /// /// - public global::Vapi.ServerMessageEndOfCallReportEndedReason? Type1920 { get; set; } + public global::Vapi.ServerMessageEndOfCallReportType? Type1920 { get; set; } /// /// /// - public global::Vapi.ServerMessageHandoffDestinationRequest? Type1921 { get; set; } + public global::Vapi.ServerMessageEndOfCallReportEndedReason? Type1921 { get; set; } /// /// /// - public global::Vapi.ServerMessageHandoffDestinationRequestType? Type1922 { get; set; } + public global::Vapi.ServerMessageHandoffDestinationRequest? Type1922 { get; set; } /// /// /// - public global::Vapi.ServerMessageHang? Type1923 { get; set; } + public global::Vapi.ServerMessageHandoffDestinationRequestType? Type1923 { get; set; } /// /// /// - public global::Vapi.ServerMessageHangType? Type1924 { get; set; } + public global::Vapi.ServerMessageHang? Type1924 { get; set; } /// /// /// - public global::Vapi.ServerMessageKnowledgeBaseRequest? Type1925 { get; set; } + public global::Vapi.ServerMessageHangType? Type1925 { get; set; } /// /// /// - public global::Vapi.ServerMessageKnowledgeBaseRequestType? Type1926 { get; set; } + public global::Vapi.ServerMessageKnowledgeBaseRequest? Type1926 { get; set; } /// /// /// - public global::Vapi.ServerMessageModelOutput? Type1927 { get; set; } + public global::Vapi.ServerMessageKnowledgeBaseRequestType? Type1927 { get; set; } /// /// /// - public global::Vapi.ServerMessageModelOutputType? Type1928 { get; set; } + public global::Vapi.ServerMessageModelOutput? Type1928 { get; set; } /// /// /// - public global::Vapi.ServerMessagePhoneCallControl? Type1929 { get; set; } + public global::Vapi.ServerMessageModelOutputType? Type1929 { get; set; } /// /// /// - public global::Vapi.ServerMessagePhoneCallControlType? Type1930 { get; set; } + public global::Vapi.ServerMessagePhoneCallControl? Type1930 { get; set; } /// /// /// - public global::Vapi.ServerMessagePhoneCallControlRequest? Type1931 { get; set; } + public global::Vapi.ServerMessagePhoneCallControlType? Type1931 { get; set; } /// /// /// - public global::Vapi.ServerMessageSpeechUpdate? Type1932 { get; set; } + public global::Vapi.ServerMessagePhoneCallControlRequest? Type1932 { get; set; } /// /// /// - public global::Vapi.ServerMessageSpeechUpdateType? Type1933 { get; set; } + public global::Vapi.ServerMessageSpeechUpdate? Type1933 { get; set; } /// /// /// - public global::Vapi.ServerMessageSpeechUpdateStatus? Type1934 { get; set; } + public global::Vapi.ServerMessageSpeechUpdateType? Type1934 { get; set; } /// /// /// - public global::Vapi.ServerMessageSpeechUpdateRole? Type1935 { get; set; } + public global::Vapi.ServerMessageSpeechUpdateStatus? Type1935 { get; set; } /// /// /// - public global::Vapi.ServerMessageStatusUpdate? Type1936 { get; set; } + public global::Vapi.ServerMessageSpeechUpdateRole? Type1936 { get; set; } /// /// /// - public global::Vapi.ServerMessageStatusUpdateType? Type1937 { get; set; } + public global::Vapi.ServerMessageStatusUpdate? Type1937 { get; set; } /// /// /// - public global::Vapi.ServerMessageStatusUpdateStatus? Type1938 { get; set; } + public global::Vapi.ServerMessageStatusUpdateType? Type1938 { get; set; } /// /// /// - public global::Vapi.ServerMessageStatusUpdateEndedReason? Type1939 { get; set; } + public global::Vapi.ServerMessageStatusUpdateStatus? Type1939 { get; set; } /// /// /// - public global::Vapi.ServerMessageToolCalls? Type1940 { get; set; } + public global::Vapi.ServerMessageStatusUpdateEndedReason? Type1940 { get; set; } /// /// /// - public global::Vapi.ServerMessageToolCallsType? Type1941 { get; set; } + public global::Vapi.ServerMessageToolCalls? Type1941 { get; set; } /// /// /// - public global::Vapi.ServerMessageTransferDestinationRequest? Type1942 { get; set; } + public global::Vapi.ServerMessageToolCallsType? Type1942 { get; set; } /// /// /// - public global::Vapi.ServerMessageTransferDestinationRequestType? Type1943 { get; set; } + public global::Vapi.ServerMessageTransferDestinationRequest? Type1943 { get; set; } /// /// /// - public global::Vapi.ServerMessageTransferUpdate? Type1944 { get; set; } + public global::Vapi.ServerMessageTransferDestinationRequestType? Type1944 { get; set; } /// /// /// - public global::Vapi.ServerMessageTransferUpdateType? Type1945 { get; set; } + public global::Vapi.ServerMessageTransferUpdate? Type1945 { get; set; } /// /// /// - public global::Vapi.ServerMessageTranscript? Type1946 { get; set; } + public global::Vapi.ServerMessageTransferUpdateType? Type1946 { get; set; } /// /// /// - public global::Vapi.ServerMessageTranscriptType? Type1947 { get; set; } + public global::Vapi.ServerMessageTranscript? Type1947 { get; set; } /// /// /// - public global::Vapi.ServerMessageTranscriptRole? Type1948 { get; set; } + public global::Vapi.ServerMessageTranscriptType? Type1948 { get; set; } /// /// /// - public global::Vapi.ServerMessageTranscriptTranscriptType? Type1949 { get; set; } + public global::Vapi.ServerMessageTranscriptRole? Type1949 { get; set; } /// /// /// - public global::Vapi.ServerMessageUserInterrupted? Type1950 { get; set; } + public global::Vapi.ServerMessageTranscriptTranscriptType? Type1950 { get; set; } /// /// /// - public global::Vapi.ServerMessageUserInterruptedType? Type1951 { get; set; } + public global::Vapi.ServerMessageUserInterrupted? Type1951 { get; set; } /// /// /// - public global::Vapi.ServerMessageLanguageChangeDetected? Type1952 { get; set; } + public global::Vapi.ServerMessageUserInterruptedType? Type1952 { get; set; } /// /// /// - public global::Vapi.ServerMessageLanguageChangeDetectedType? Type1953 { get; set; } + public global::Vapi.ServerMessageLanguageChangeDetected? Type1953 { get; set; } /// /// /// - public global::Vapi.ServerMessageVoiceInput? Type1954 { get; set; } + public global::Vapi.ServerMessageLanguageChangeDetectedType? Type1954 { get; set; } /// /// /// - public global::Vapi.ServerMessageVoiceInputType? Type1955 { get; set; } + public global::Vapi.ServerMessageVoiceInput? Type1955 { get; set; } /// /// /// - public global::Vapi.ServerMessageAssistantSpeech? Type1956 { get; set; } + public global::Vapi.ServerMessageVoiceInputType? Type1956 { get; set; } /// /// /// - public global::Vapi.ServerMessageAssistantSpeechType? Type1957 { get; set; } + public global::Vapi.ServerMessageAssistantSpeech? Type1957 { get; set; } /// /// /// - public global::Vapi.ServerMessageAssistantSpeechSource? Type1958 { get; set; } + public global::Vapi.ServerMessageAssistantSpeechType? Type1958 { get; set; } /// /// /// - public global::Vapi.Timing2? Type1959 { get; set; } + public global::Vapi.ServerMessageAssistantSpeechSource? Type1959 { get; set; } /// /// /// - public global::Vapi.ServerMessageAssistantSpeechTimingDiscriminator? Type1960 { get; set; } + public global::Vapi.Timing2? Type1960 { get; set; } /// /// /// - public global::Vapi.ServerMessageVoiceRequest? Type1961 { get; set; } + public global::Vapi.ServerMessageAssistantSpeechTimingDiscriminator? Type1961 { get; set; } /// /// /// - public global::Vapi.ServerMessageVoiceRequestType? Type1962 { get; set; } + public global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType? Type1962 { get; set; } /// /// /// - public global::Vapi.ServerMessageCallEndpointingRequest? Type1963 { get; set; } + public global::Vapi.ServerMessageVoiceRequest? Type1963 { get; set; } /// /// /// - public global::Vapi.ServerMessageCallEndpointingRequestType? Type1964 { get; set; } + public global::Vapi.ServerMessageVoiceRequestType? Type1964 { get; set; } /// /// /// - public global::Vapi.ServerMessageChatCreated? Type1965 { get; set; } + public global::Vapi.ServerMessageCallEndpointingRequest? Type1965 { get; set; } /// /// /// - public global::Vapi.ServerMessageChatCreatedType? Type1966 { get; set; } + public global::Vapi.ServerMessageCallEndpointingRequestType? Type1966 { get; set; } /// /// /// - public global::Vapi.ServerMessageChatDeleted? Type1967 { get; set; } + public global::Vapi.ServerMessageChatCreated? Type1967 { get; set; } /// /// /// - public global::Vapi.ServerMessageChatDeletedType? Type1968 { get; set; } + public global::Vapi.ServerMessageChatCreatedType? Type1968 { get; set; } /// /// /// - public global::Vapi.ServerMessageSessionCreated? Type1969 { get; set; } + public global::Vapi.ServerMessageChatDeleted? Type1969 { get; set; } /// /// /// - public global::Vapi.ServerMessageSessionCreatedType? Type1970 { get; set; } + public global::Vapi.ServerMessageChatDeletedType? Type1970 { get; set; } /// /// /// - public global::Vapi.ServerMessageSessionUpdated? Type1971 { get; set; } + public global::Vapi.ServerMessageSessionCreated? Type1971 { get; set; } /// /// /// - public global::Vapi.ServerMessageSessionUpdatedType? Type1972 { get; set; } + public global::Vapi.ServerMessageSessionCreatedType? Type1972 { get; set; } /// /// /// - public global::Vapi.ServerMessageSessionDeleted? Type1973 { get; set; } + public global::Vapi.ServerMessageSessionUpdated? Type1973 { get; set; } /// /// /// - public global::Vapi.ServerMessageSessionDeletedType? Type1974 { get; set; } + public global::Vapi.ServerMessageSessionUpdatedType? Type1974 { get; set; } /// /// /// - public global::Vapi.ServerMessageCallDeleted? Type1975 { get; set; } + public global::Vapi.ServerMessageSessionDeleted? Type1975 { get; set; } /// /// /// - public global::Vapi.ServerMessageCallDeletedType? Type1976 { get; set; } + public global::Vapi.ServerMessageSessionDeletedType? Type1976 { get; set; } /// /// /// - public global::Vapi.ServerMessageCallDeleteFailed? Type1977 { get; set; } + public global::Vapi.ServerMessageCallDeleted? Type1977 { get; set; } /// /// /// - public global::Vapi.ServerMessageCallDeleteFailedType? Type1978 { get; set; } + public global::Vapi.ServerMessageCallDeletedType? Type1978 { get; set; } /// /// /// - public global::Vapi.ServerMessage? Type1979 { get; set; } + public global::Vapi.ServerMessageCallDeleteFailed? Type1979 { get; set; } /// /// /// - public global::Vapi.ServerMessageResponseAssistantRequest? Type1980 { get; set; } + public global::Vapi.ServerMessageCallDeleteFailedType? Type1980 { get; set; } /// /// /// - public global::Vapi.ServerMessageResponseHandoffDestinationRequest? Type1981 { get; set; } + public global::Vapi.ServerMessage? Type1981 { get; set; } /// /// /// - public global::Vapi.KnowledgeBaseResponseDocument? Type1982 { get; set; } + public global::Vapi.ServerMessageResponseAssistantRequest? Type1982 { get; set; } /// /// /// - public global::Vapi.ServerMessageResponseKnowledgeBaseRequest? Type1983 { get; set; } + public global::Vapi.ServerMessageResponseHandoffDestinationRequest? Type1983 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1984 { get; set; } + public global::Vapi.KnowledgeBaseResponseDocument? Type1984 { get; set; } /// /// /// - public global::Vapi.ToolCallResult? Type1985 { get; set; } + public global::Vapi.ServerMessageResponseKnowledgeBaseRequest? Type1985 { get; set; } /// /// /// - public global::Vapi.OneOf? Type1986 { get; set; } + public global::System.Collections.Generic.IList? Type1986 { get; set; } /// /// /// - public global::Vapi.ServerMessageResponseToolCalls? Type1987 { get; set; } + public global::Vapi.ToolCallResult? Type1987 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1988 { get; set; } + public global::Vapi.OneOf? Type1988 { get; set; } /// /// /// - public global::Vapi.ServerMessageResponseTransferDestinationRequest? Type1989 { get; set; } + public global::Vapi.ServerMessageResponseToolCalls? Type1989 { get; set; } /// /// /// - public global::Vapi.ServerMessageResponseVoiceRequest? Type1990 { get; set; } + public global::System.Collections.Generic.IList? Type1990 { get; set; } /// /// /// - public global::Vapi.ServerMessageResponseCallEndpointingRequest? Type1991 { get; set; } + public global::Vapi.ServerMessageResponseTransferDestinationRequest? Type1991 { get; set; } /// /// /// - public global::Vapi.ServerMessageResponse? Type1992 { get; set; } + public global::Vapi.ServerMessageResponseVoiceRequest? Type1992 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageAddMessage? Type1993 { get; set; } + public global::Vapi.ServerMessageResponseCallEndpointingRequest? Type1993 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageAddMessageType? Type1994 { get; set; } + public global::Vapi.ServerMessageResponse? Type1994 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageControl? Type1995 { get; set; } + public global::Vapi.ClientInboundMessageAddMessage? Type1995 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageControlType? Type1996 { get; set; } + public global::Vapi.ClientInboundMessageAddMessageType? Type1996 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageControlControl? Type1997 { get; set; } + public global::Vapi.ClientInboundMessageControl? Type1997 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageSay? Type1998 { get; set; } + public global::Vapi.ClientInboundMessageControlType? Type1998 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageSayType? Type1999 { get; set; } + public global::Vapi.ClientInboundMessageControlControl? Type1999 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageEndCall? Type2000 { get; set; } + public global::Vapi.ClientInboundMessageSay? Type2000 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageEndCallType? Type2001 { get; set; } + public global::Vapi.ClientInboundMessageSayType? Type2001 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageTransfer? Type2002 { get; set; } + public global::Vapi.ClientInboundMessageEndCall? Type2002 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageTransferType? Type2003 { get; set; } + public global::Vapi.ClientInboundMessageEndCallType? Type2003 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageSendTransportMessage? Type2004 { get; set; } + public global::Vapi.ClientInboundMessageTransfer? Type2004 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessageSendTransportMessageType? Type2005 { get; set; } + public global::Vapi.ClientInboundMessageTransferType? Type2005 { get; set; } /// /// /// - public global::Vapi.OneOf? Type2006 { get; set; } + public global::Vapi.ClientInboundMessageSendTransportMessage? Type2006 { get; set; } /// /// /// - public global::Vapi.VapiSipTransportMessage? Type2007 { get; set; } + public global::Vapi.ClientInboundMessageSendTransportMessageType? Type2007 { get; set; } /// /// /// - public global::Vapi.TwilioTransportMessage? Type2008 { get; set; } + public global::Vapi.OneOf? Type2008 { get; set; } /// /// /// - public global::Vapi.ClientInboundMessage? Type2009 { get; set; } + public global::Vapi.VapiSipTransportMessage? Type2009 { get; set; } /// /// /// - public global::Vapi.ToolCallResultMessageWarning? Type2010 { get; set; } + public global::Vapi.TwilioTransportMessage? Type2010 { get; set; } /// /// /// - public global::Vapi.ToolCallResultMessageWarningType? Type2011 { get; set; } + public global::Vapi.ClientInboundMessage? Type2011 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2012 { get; set; } + public global::Vapi.ToolCallResultMessageWarning? Type2012 { get; set; } /// /// /// - public global::Vapi.TransportCostType? Type2013 { get; set; } + public global::Vapi.ToolCallResultMessageWarningType? Type2013 { get; set; } /// /// /// - public global::Vapi.TransportCostProvider? Type2014 { get; set; } + public global::System.Collections.Generic.IList? Type2014 { get; set; } /// /// /// - public global::Vapi.TranscriberCostType? Type2015 { get; set; } + public global::Vapi.TransportCostType? Type2015 { get; set; } /// /// /// - public global::Vapi.ModelCostType? Type2016 { get; set; } + public global::Vapi.TransportCostProvider? Type2016 { get; set; } /// /// /// - public global::Vapi.VoiceCostType? Type2017 { get; set; } + public global::Vapi.TranscriberCostType? Type2017 { get; set; } /// /// /// - public global::Vapi.VapiCostType? Type2018 { get; set; } + public global::Vapi.ModelCostType? Type2018 { get; set; } /// /// /// - public global::Vapi.VapiCostSubType? Type2019 { get; set; } + public global::Vapi.VoiceCostType? Type2019 { get; set; } /// /// /// - public global::Vapi.AnalysisCostType? Type2020 { get; set; } + public global::Vapi.VapiCostType? Type2020 { get; set; } /// /// /// - public global::Vapi.AnalysisCostAnalysisType? Type2021 { get; set; } + public global::Vapi.VapiCostSubType? Type2021 { get; set; } /// /// /// - public global::Vapi.VoicemailDetectionCostType? Type2022 { get; set; } + public global::Vapi.AnalysisCostType? Type2022 { get; set; } /// /// /// - public global::Vapi.VoicemailDetectionCostProvider? Type2023 { get; set; } + public global::Vapi.AnalysisCostAnalysisType? Type2023 { get; set; } /// /// /// - public global::Vapi.KnowledgeBaseCostType? Type2024 { get; set; } + public global::Vapi.VoicemailDetectionCostType? Type2024 { get; set; } /// /// /// - public global::Vapi.ChatCostType? Type2025 { get; set; } + public global::Vapi.VoicemailDetectionCostProvider? Type2025 { get; set; } /// /// /// - public global::Vapi.SessionCostType? Type2026 { get; set; } + public global::Vapi.KnowledgeBaseCostType? Type2026 { get; set; } /// /// /// - public global::Vapi.FunctionToolWithToolCallType? Type2027 { get; set; } + public global::Vapi.ChatCostType? Type2027 { get; set; } /// /// /// - public global::Vapi.GhlToolWithToolCallType? Type2028 { get; set; } + public global::Vapi.SessionCostType? Type2028 { get; set; } /// /// /// - public global::Vapi.MakeToolWithToolCallType? Type2029 { get; set; } + public global::Vapi.FunctionToolWithToolCallType? Type2029 { get; set; } /// /// /// - public global::Vapi.BashToolWithToolCallType? Type2030 { get; set; } + public global::Vapi.GhlToolWithToolCallType? Type2030 { get; set; } /// /// /// - public global::Vapi.BashToolWithToolCallSubType? Type2031 { get; set; } + public global::Vapi.MakeToolWithToolCallType? Type2031 { get; set; } /// /// /// - public global::Vapi.BashToolWithToolCallName? Type2032 { get; set; } + public global::Vapi.BashToolWithToolCallType? Type2032 { get; set; } /// /// /// - public global::Vapi.ComputerToolWithToolCallType? Type2033 { get; set; } + public global::Vapi.BashToolWithToolCallSubType? Type2033 { get; set; } /// /// /// - public global::Vapi.ComputerToolWithToolCallSubType? Type2034 { get; set; } + public global::Vapi.BashToolWithToolCallName? Type2034 { get; set; } /// /// /// - public global::Vapi.ComputerToolWithToolCallName? Type2035 { get; set; } + public global::Vapi.ComputerToolWithToolCallType? Type2035 { get; set; } /// /// /// - public global::Vapi.TextEditorToolWithToolCallType? Type2036 { get; set; } + public global::Vapi.ComputerToolWithToolCallSubType? Type2036 { get; set; } /// /// /// - public global::Vapi.TextEditorToolWithToolCallSubType? Type2037 { get; set; } + public global::Vapi.ComputerToolWithToolCallName? Type2037 { get; set; } /// /// /// - public global::Vapi.TextEditorToolWithToolCallName? Type2038 { get; set; } + public global::Vapi.TextEditorToolWithToolCallType? Type2038 { get; set; } /// /// /// - public global::Vapi.GoogleCalendarCreateEventToolWithToolCallType? Type2039 { get; set; } + public global::Vapi.TextEditorToolWithToolCallSubType? Type2039 { get; set; } /// /// /// - public global::Vapi.GoogleSheetsRowAppendToolWithToolCall? Type2040 { get; set; } + public global::Vapi.TextEditorToolWithToolCallName? Type2040 { get; set; } /// /// /// - public global::Vapi.GoogleSheetsRowAppendToolWithToolCallType? Type2041 { get; set; } + public global::Vapi.GoogleCalendarCreateEventToolWithToolCallType? Type2041 { get; set; } /// /// /// - public global::Vapi.GoHighLevelCalendarAvailabilityToolWithToolCall? Type2042 { get; set; } + public global::Vapi.GoogleSheetsRowAppendToolWithToolCall? Type2042 { get; set; } /// /// /// - public global::Vapi.GoHighLevelCalendarAvailabilityToolWithToolCallType? Type2043 { get; set; } + public global::Vapi.GoogleSheetsRowAppendToolWithToolCallType? Type2043 { get; set; } /// /// /// - public global::Vapi.GoHighLevelCalendarEventCreateToolWithToolCall? Type2044 { get; set; } + public global::Vapi.GoHighLevelCalendarAvailabilityToolWithToolCall? Type2044 { get; set; } /// /// /// - public global::Vapi.GoHighLevelCalendarEventCreateToolWithToolCallType? Type2045 { get; set; } + public global::Vapi.GoHighLevelCalendarAvailabilityToolWithToolCallType? Type2045 { get; set; } /// /// /// - public global::Vapi.GoHighLevelContactCreateToolWithToolCall? Type2046 { get; set; } + public global::Vapi.GoHighLevelCalendarEventCreateToolWithToolCall? Type2046 { get; set; } /// /// /// - public global::Vapi.GoHighLevelContactCreateToolWithToolCallType? Type2047 { get; set; } + public global::Vapi.GoHighLevelCalendarEventCreateToolWithToolCallType? Type2047 { get; set; } /// /// /// - public global::Vapi.GoHighLevelContactGetToolWithToolCall? Type2048 { get; set; } + public global::Vapi.GoHighLevelContactCreateToolWithToolCall? Type2048 { get; set; } /// /// /// - public global::Vapi.GoHighLevelContactGetToolWithToolCallType? Type2049 { get; set; } + public global::Vapi.GoHighLevelContactCreateToolWithToolCallType? Type2049 { get; set; } /// /// /// - public global::Vapi.VapiSipTransportMessageTransport? Type2050 { get; set; } + public global::Vapi.GoHighLevelContactGetToolWithToolCall? Type2050 { get; set; } /// /// /// - public global::Vapi.VapiSipTransportMessageSipVerb? Type2051 { get; set; } + public global::Vapi.GoHighLevelContactGetToolWithToolCallType? Type2051 { get; set; } /// /// /// - public global::Vapi.TwilioTransportMessageTransport? Type2052 { get; set; } + public global::Vapi.VapiSipTransportMessageTransport? Type2052 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerCreateRequest? Type2053 { get; set; } + public global::Vapi.VapiSipTransportMessageSipVerb? Type2053 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerCreateRequestDiscriminator? Type2054 { get; set; } + public global::Vapi.TwilioTransportMessageTransport? Type2054 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerCreateRequestDiscriminatorProvider? Type2055 { get; set; } + public global::Vapi.PhoneNumberControllerCreateRequest? Type2055 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerUpdateRequest? Type2056 { get; set; } + public global::Vapi.PhoneNumberControllerCreateRequestDiscriminator? Type2056 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerUpdateRequestDiscriminator? Type2057 { get; set; } + public global::Vapi.PhoneNumberControllerCreateRequestDiscriminatorProvider? Type2057 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerUpdateRequestDiscriminatorProvider? Type2058 { get; set; } + public global::Vapi.PhoneNumberControllerUpdateRequest? Type2058 { get; set; } /// /// /// - public global::Vapi.ToolControllerCreateRequest? Type2059 { get; set; } + public global::Vapi.PhoneNumberControllerUpdateRequestDiscriminator? Type2059 { get; set; } /// /// /// - public global::Vapi.ToolControllerCreateRequestDiscriminator? Type2060 { get; set; } + public global::Vapi.PhoneNumberControllerUpdateRequestDiscriminatorProvider? Type2060 { get; set; } /// /// /// - public global::Vapi.ToolControllerCreateRequestDiscriminatorType? Type2061 { get; set; } + public global::Vapi.ToolControllerCreateRequest? Type2061 { get; set; } /// /// /// - public global::Vapi.ToolControllerUpdateRequest? Type2062 { get; set; } + public global::Vapi.ToolControllerCreateRequestDiscriminator? Type2062 { get; set; } /// /// /// - public global::Vapi.ToolControllerUpdateRequestDiscriminator? Type2063 { get; set; } + public global::Vapi.ToolControllerCreateRequestDiscriminatorType? Type2063 { get; set; } /// /// /// - public global::Vapi.ToolControllerUpdateRequestDiscriminatorType? Type2064 { get; set; } + public global::Vapi.ToolControllerUpdateRequest? Type2064 { get; set; } /// /// /// - public global::Vapi.InsightControllerCreateRequest? Type2065 { get; set; } + public global::Vapi.ToolControllerUpdateRequestDiscriminator? Type2065 { get; set; } /// /// /// - public global::Vapi.InsightControllerCreateRequestDiscriminator? Type2066 { get; set; } + public global::Vapi.ToolControllerUpdateRequestDiscriminatorType? Type2066 { get; set; } /// /// /// - public global::Vapi.InsightControllerCreateRequestDiscriminatorType? Type2067 { get; set; } + public global::Vapi.InsightControllerCreateRequest? Type2067 { get; set; } /// /// /// - public global::Vapi.InsightControllerUpdateRequest? Type2068 { get; set; } + public global::Vapi.InsightControllerCreateRequestDiscriminator? Type2068 { get; set; } /// /// /// - public global::Vapi.InsightControllerUpdateRequestDiscriminator? Type2069 { get; set; } + public global::Vapi.InsightControllerCreateRequestDiscriminatorType? Type2069 { get; set; } /// /// /// - public global::Vapi.InsightControllerUpdateRequestDiscriminatorType? Type2070 { get; set; } + public global::Vapi.InsightControllerUpdateRequest? Type2070 { get; set; } /// /// /// - public global::Vapi.InsightControllerPreviewRequest? Type2071 { get; set; } + public global::Vapi.InsightControllerUpdateRequestDiscriminator? Type2071 { get; set; } /// /// /// - public global::Vapi.InsightControllerPreviewRequestDiscriminator? Type2072 { get; set; } + public global::Vapi.InsightControllerUpdateRequestDiscriminatorType? Type2072 { get; set; } /// /// /// - public global::Vapi.InsightControllerPreviewRequestDiscriminatorType? Type2073 { get; set; } + public global::Vapi.InsightControllerPreviewRequest? Type2073 { get; set; } /// /// /// - public global::Vapi.ChatControllerListChatsSortOrder? Type2074 { get; set; } + public global::Vapi.InsightControllerPreviewRequestDiscriminator? Type2074 { get; set; } /// /// /// - public global::Vapi.ChatControllerListChatsSortBy? Type2075 { get; set; } + public global::Vapi.InsightControllerPreviewRequestDiscriminatorType? Type2075 { get; set; } /// /// /// - public global::Vapi.CampaignControllerFindAllStatus? Type2076 { get; set; } + public global::Vapi.ChatControllerListChatsSortOrder? Type2076 { get; set; } /// /// /// - public global::Vapi.CampaignControllerFindAllSortOrder? Type2077 { get; set; } + public global::Vapi.ChatControllerListChatsSortBy? Type2077 { get; set; } /// /// /// - public global::Vapi.CampaignControllerFindAllSortBy? Type2078 { get; set; } + public global::Vapi.CampaignControllerFindAllStatus? Type2078 { get; set; } /// /// /// - public global::Vapi.SessionControllerFindAllPaginatedSortOrder? Type2079 { get; set; } + public global::Vapi.CampaignControllerFindAllSortOrder? Type2079 { get; set; } /// /// /// - public global::Vapi.SessionControllerFindAllPaginatedSortBy? Type2080 { get; set; } + public global::Vapi.CampaignControllerFindAllSortBy? Type2080 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerFindAllPaginatedSortOrder? Type2081 { get; set; } + public global::Vapi.SessionControllerFindAllPaginatedSortOrder? Type2081 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerFindAllPaginatedSortBy? Type2082 { get; set; } + public global::Vapi.SessionControllerFindAllPaginatedSortBy? Type2082 { get; set; } /// /// /// - public global::Vapi.StructuredOutputControllerFindAllSortOrder? Type2083 { get; set; } + public global::Vapi.PhoneNumberControllerFindAllPaginatedSortOrder? Type2083 { get; set; } /// /// /// - public global::Vapi.StructuredOutputControllerFindAllSortBy? Type2084 { get; set; } + public global::Vapi.PhoneNumberControllerFindAllPaginatedSortBy? Type2084 { get; set; } /// /// /// - public global::Vapi.InsightControllerFindAllSortOrder? Type2085 { get; set; } + public global::Vapi.StructuredOutputControllerFindAllSortOrder? Type2085 { get; set; } /// /// /// - public global::Vapi.InsightControllerFindAllSortBy? Type2086 { get; set; } + public global::Vapi.StructuredOutputControllerFindAllSortBy? Type2086 { get; set; } /// /// /// - public global::Vapi.EvalControllerGetPaginatedSortOrder? Type2087 { get; set; } + public global::Vapi.InsightControllerFindAllSortOrder? Type2087 { get; set; } /// /// /// - public global::Vapi.EvalControllerGetPaginatedSortBy? Type2088 { get; set; } + public global::Vapi.InsightControllerFindAllSortBy? Type2088 { get; set; } /// /// /// - public global::Vapi.EvalControllerGetRunsPaginatedSortOrder? Type2089 { get; set; } + public global::Vapi.EvalControllerGetPaginatedSortOrder? Type2089 { get; set; } /// /// /// - public global::Vapi.EvalControllerGetRunsPaginatedSortBy? Type2090 { get; set; } + public global::Vapi.EvalControllerGetPaginatedSortBy? Type2090 { get; set; } /// /// /// - public global::Vapi.ScorecardControllerGetPaginatedSortOrder? Type2091 { get; set; } + public global::Vapi.EvalControllerGetRunsPaginatedSortOrder? Type2091 { get; set; } /// /// /// - public global::Vapi.ScorecardControllerGetPaginatedSortBy? Type2092 { get; set; } + public global::Vapi.EvalControllerGetRunsPaginatedSortBy? Type2092 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerCreateProviderResourceProvider? Type2093 { get; set; } + public global::Vapi.ScorecardControllerGetPaginatedSortOrder? Type2093 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerCreateProviderResourceResourceName? Type2094 { get; set; } + public global::Vapi.ScorecardControllerGetPaginatedSortBy? Type2094 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerGetProviderResourcesPaginatedProvider? Type2095 { get; set; } + public global::Vapi.ProviderResourceControllerCreateProviderResourceProvider? Type2095 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerGetProviderResourcesPaginatedResourceName? Type2096 { get; set; } + public global::Vapi.ProviderResourceControllerCreateProviderResourceResourceName? Type2096 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerGetProviderResourcesPaginatedSortOrder? Type2097 { get; set; } + public global::Vapi.ProviderResourceControllerGetProviderResourcesPaginatedProvider? Type2097 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerGetProviderResourcesPaginatedSortBy? Type2098 { get; set; } + public global::Vapi.ProviderResourceControllerGetProviderResourcesPaginatedResourceName? Type2098 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerGetProviderResourceProvider? Type2099 { get; set; } + public global::Vapi.ProviderResourceControllerGetProviderResourcesPaginatedSortOrder? Type2099 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerGetProviderResourceResourceName? Type2100 { get; set; } + public global::Vapi.ProviderResourceControllerGetProviderResourcesPaginatedSortBy? Type2100 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerDeleteProviderResourceProvider? Type2101 { get; set; } + public global::Vapi.ProviderResourceControllerGetProviderResourceProvider? Type2101 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerDeleteProviderResourceResourceName? Type2102 { get; set; } + public global::Vapi.ProviderResourceControllerGetProviderResourceResourceName? Type2102 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerUpdateProviderResourceProvider? Type2103 { get; set; } + public global::Vapi.ProviderResourceControllerDeleteProviderResourceProvider? Type2103 { get; set; } /// /// /// - public global::Vapi.ProviderResourceControllerUpdateProviderResourceResourceName? Type2104 { get; set; } + public global::Vapi.ProviderResourceControllerDeleteProviderResourceResourceName? Type2104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2105 { get; set; } + public global::Vapi.ProviderResourceControllerUpdateProviderResourceProvider? Type2105 { get; set; } /// /// /// - public global::Vapi.OneOf? Type2106 { get; set; } + public global::Vapi.ProviderResourceControllerUpdateProviderResourceResourceName? Type2106 { get; set; } /// /// /// - public global::Vapi.OneOf? Type2107 { get; set; } + public global::System.Collections.Generic.IList? Type2107 { get; set; } /// /// /// - public global::Vapi.OneOf? Type2108 { get; set; } + public global::Vapi.OneOf? Type2108 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerCreateResponse? Type2109 { get; set; } + public global::Vapi.OneOf? Type2109 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerCreateResponseDiscriminator? Type2110 { get; set; } + public global::Vapi.OneOf? Type2110 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerCreateResponseDiscriminatorProvider? Type2111 { get; set; } + public global::Vapi.PhoneNumberControllerCreateResponse? Type2111 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2112 { get; set; } + public global::Vapi.PhoneNumberControllerCreateResponseDiscriminator? Type2112 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerFindAllResponseItem? Type2113 { get; set; } + public global::Vapi.PhoneNumberControllerCreateResponseDiscriminatorProvider? Type2113 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerFindAllResponseItemDiscriminator? Type2114 { get; set; } + public global::System.Collections.Generic.IList? Type2114 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerFindAllResponseItemDiscriminatorProvider? Type2115 { get; set; } + public global::Vapi.PhoneNumberControllerFindAllResponseItem? Type2115 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerFindOneResponse? Type2116 { get; set; } + public global::Vapi.PhoneNumberControllerFindAllResponseItemDiscriminator? Type2116 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerFindOneResponseDiscriminator? Type2117 { get; set; } + public global::Vapi.PhoneNumberControllerFindAllResponseItemDiscriminatorProvider? Type2117 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerFindOneResponseDiscriminatorProvider? Type2118 { get; set; } + public global::Vapi.PhoneNumberControllerFindOneResponse? Type2118 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerUpdateResponse? Type2119 { get; set; } + public global::Vapi.PhoneNumberControllerFindOneResponseDiscriminator? Type2119 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerUpdateResponseDiscriminator? Type2120 { get; set; } + public global::Vapi.PhoneNumberControllerFindOneResponseDiscriminatorProvider? Type2120 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerUpdateResponseDiscriminatorProvider? Type2121 { get; set; } + public global::Vapi.PhoneNumberControllerUpdateResponse? Type2121 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerRemoveResponse? Type2122 { get; set; } + public global::Vapi.PhoneNumberControllerUpdateResponseDiscriminator? Type2122 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerRemoveResponseDiscriminator? Type2123 { get; set; } + public global::Vapi.PhoneNumberControllerUpdateResponseDiscriminatorProvider? Type2123 { get; set; } /// /// /// - public global::Vapi.PhoneNumberControllerRemoveResponseDiscriminatorProvider? Type2124 { get; set; } + public global::Vapi.PhoneNumberControllerRemoveResponse? Type2124 { get; set; } /// /// /// - public global::Vapi.ToolControllerCreateResponse? Type2125 { get; set; } + public global::Vapi.PhoneNumberControllerRemoveResponseDiscriminator? Type2125 { get; set; } /// /// /// - public global::Vapi.ToolControllerCreateResponseDiscriminator? Type2126 { get; set; } + public global::Vapi.PhoneNumberControllerRemoveResponseDiscriminatorProvider? Type2126 { get; set; } /// /// /// - public global::Vapi.ToolControllerCreateResponseDiscriminatorType? Type2127 { get; set; } + public global::Vapi.ToolControllerCreateResponse? Type2127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2128 { get; set; } + public global::Vapi.ToolControllerCreateResponseDiscriminator? Type2128 { get; set; } /// /// /// - public global::Vapi.ToolControllerFindAllResponseItem? Type2129 { get; set; } + public global::Vapi.ToolControllerCreateResponseDiscriminatorType? Type2129 { get; set; } /// /// /// - public global::Vapi.ToolControllerFindAllResponseItemDiscriminator? Type2130 { get; set; } + public global::System.Collections.Generic.IList? Type2130 { get; set; } /// /// /// - public global::Vapi.ToolControllerFindAllResponseItemDiscriminatorType? Type2131 { get; set; } + public global::Vapi.ToolControllerFindAllResponseItem? Type2131 { get; set; } /// /// /// - public global::Vapi.ToolControllerFindOneResponse? Type2132 { get; set; } + public global::Vapi.ToolControllerFindAllResponseItemDiscriminator? Type2132 { get; set; } /// /// /// - public global::Vapi.ToolControllerFindOneResponseDiscriminator? Type2133 { get; set; } + public global::Vapi.ToolControllerFindAllResponseItemDiscriminatorType? Type2133 { get; set; } /// /// /// - public global::Vapi.ToolControllerFindOneResponseDiscriminatorType? Type2134 { get; set; } + public global::Vapi.ToolControllerFindOneResponse? Type2134 { get; set; } /// /// /// - public global::Vapi.ToolControllerUpdateResponse? Type2135 { get; set; } + public global::Vapi.ToolControllerFindOneResponseDiscriminator? Type2135 { get; set; } /// /// /// - public global::Vapi.ToolControllerUpdateResponseDiscriminator? Type2136 { get; set; } + public global::Vapi.ToolControllerFindOneResponseDiscriminatorType? Type2136 { get; set; } /// /// /// - public global::Vapi.ToolControllerUpdateResponseDiscriminatorType? Type2137 { get; set; } + public global::Vapi.ToolControllerUpdateResponse? Type2137 { get; set; } /// /// /// - public global::Vapi.ToolControllerRemoveResponse? Type2138 { get; set; } + public global::Vapi.ToolControllerUpdateResponseDiscriminator? Type2138 { get; set; } /// /// /// - public global::Vapi.ToolControllerRemoveResponseDiscriminator? Type2139 { get; set; } + public global::Vapi.ToolControllerUpdateResponseDiscriminatorType? Type2139 { get; set; } /// /// /// - public global::Vapi.ToolControllerRemoveResponseDiscriminatorType? Type2140 { get; set; } + public global::Vapi.ToolControllerRemoveResponse? Type2140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2141 { get; set; } + public global::Vapi.ToolControllerRemoveResponseDiscriminator? Type2141 { get; set; } /// /// /// - public global::Vapi.InsightControllerCreateResponse? Type2142 { get; set; } + public global::Vapi.ToolControllerRemoveResponseDiscriminatorType? Type2142 { get; set; } /// /// /// - public global::Vapi.InsightControllerCreateResponseDiscriminator? Type2143 { get; set; } + public global::System.Collections.Generic.IList? Type2143 { get; set; } /// /// /// - public global::Vapi.InsightControllerCreateResponseDiscriminatorType? Type2144 { get; set; } + public global::Vapi.InsightControllerCreateResponse? Type2144 { get; set; } /// /// /// - public global::Vapi.InsightControllerUpdateResponse? Type2145 { get; set; } + public global::Vapi.InsightControllerCreateResponseDiscriminator? Type2145 { get; set; } /// /// /// - public global::Vapi.InsightControllerUpdateResponseDiscriminator? Type2146 { get; set; } + public global::Vapi.InsightControllerCreateResponseDiscriminatorType? Type2146 { get; set; } /// /// /// - public global::Vapi.InsightControllerUpdateResponseDiscriminatorType? Type2147 { get; set; } + public global::Vapi.InsightControllerUpdateResponse? Type2147 { get; set; } /// /// /// - public global::Vapi.InsightControllerFindOneResponse? Type2148 { get; set; } + public global::Vapi.InsightControllerUpdateResponseDiscriminator? Type2148 { get; set; } /// /// /// - public global::Vapi.InsightControllerFindOneResponseDiscriminator? Type2149 { get; set; } + public global::Vapi.InsightControllerUpdateResponseDiscriminatorType? Type2149 { get; set; } /// /// /// - public global::Vapi.InsightControllerFindOneResponseDiscriminatorType? Type2150 { get; set; } + public global::Vapi.InsightControllerFindOneResponse? Type2150 { get; set; } /// /// /// - public global::Vapi.InsightControllerRemoveResponse? Type2151 { get; set; } + public global::Vapi.InsightControllerFindOneResponseDiscriminator? Type2151 { get; set; } /// /// /// - public global::Vapi.InsightControllerRemoveResponseDiscriminator? Type2152 { get; set; } + public global::Vapi.InsightControllerFindOneResponseDiscriminatorType? Type2152 { get; set; } /// /// /// - public global::Vapi.InsightControllerRemoveResponseDiscriminatorType? Type2153 { get; set; } + public global::Vapi.InsightControllerRemoveResponse? Type2153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2154 { get; set; } + public global::Vapi.InsightControllerRemoveResponseDiscriminator? Type2154 { get; set; } + /// + /// + /// + public global::Vapi.InsightControllerRemoveResponseDiscriminatorType? Type2155 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2156 { get; set; } /// /// diff --git a/src/libs/Vapi/Generated/Vapi.Models.ClientMessageAssistantSpeechTimingDiscriminator.g.cs b/src/libs/Vapi/Generated/Vapi.Models.ClientMessageAssistantSpeechTimingDiscriminator.g.cs index 2136c422..85e00d21 100644 --- a/src/libs/Vapi/Generated/Vapi.Models.ClientMessageAssistantSpeechTimingDiscriminator.g.cs +++ b/src/libs/Vapi/Generated/Vapi.Models.ClientMessageAssistantSpeechTimingDiscriminator.g.cs @@ -12,7 +12,8 @@ public sealed partial class ClientMessageAssistantSpeechTimingDiscriminator /// /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vapi.JsonConverters.ClientMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter))] + public global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,7 +29,7 @@ public sealed partial class ClientMessageAssistantSpeechTimingDiscriminator [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ClientMessageAssistantSpeechTimingDiscriminator( - string? type) + global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType? type) { this.Type = type; } diff --git a/src/libs/Vapi/Generated/Vapi.Models.ClientMessageAssistantSpeechTimingDiscriminatorType.g.cs b/src/libs/Vapi/Generated/Vapi.Models.ClientMessageAssistantSpeechTimingDiscriminatorType.g.cs new file mode 100644 index 00000000..e3d4a3a8 --- /dev/null +++ b/src/libs/Vapi/Generated/Vapi.Models.ClientMessageAssistantSpeechTimingDiscriminatorType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Vapi +{ + /// + /// + /// + public enum ClientMessageAssistantSpeechTimingDiscriminatorType + { + /// + /// + /// + WordAlignment, + /// + /// + /// + WordProgress, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ClientMessageAssistantSpeechTimingDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ClientMessageAssistantSpeechTimingDiscriminatorType value) + { + return value switch + { + ClientMessageAssistantSpeechTimingDiscriminatorType.WordAlignment => "word-alignment", + ClientMessageAssistantSpeechTimingDiscriminatorType.WordProgress => "word-progress", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ClientMessageAssistantSpeechTimingDiscriminatorType? ToEnum(string value) + { + return value switch + { + "word-alignment" => ClientMessageAssistantSpeechTimingDiscriminatorType.WordAlignment, + "word-progress" => ClientMessageAssistantSpeechTimingDiscriminatorType.WordProgress, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Vapi/Generated/Vapi.Models.ServerMessageAssistantSpeechTimingDiscriminator.g.cs b/src/libs/Vapi/Generated/Vapi.Models.ServerMessageAssistantSpeechTimingDiscriminator.g.cs index 1b6f36d5..baeb12ab 100644 --- a/src/libs/Vapi/Generated/Vapi.Models.ServerMessageAssistantSpeechTimingDiscriminator.g.cs +++ b/src/libs/Vapi/Generated/Vapi.Models.ServerMessageAssistantSpeechTimingDiscriminator.g.cs @@ -12,7 +12,8 @@ public sealed partial class ServerMessageAssistantSpeechTimingDiscriminator /// /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vapi.JsonConverters.ServerMessageAssistantSpeechTimingDiscriminatorTypeJsonConverter))] + public global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,7 +29,7 @@ public sealed partial class ServerMessageAssistantSpeechTimingDiscriminator [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ServerMessageAssistantSpeechTimingDiscriminator( - string? type) + global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType? type) { this.Type = type; } diff --git a/src/libs/Vapi/Generated/Vapi.Models.ServerMessageAssistantSpeechTimingDiscriminatorType.g.cs b/src/libs/Vapi/Generated/Vapi.Models.ServerMessageAssistantSpeechTimingDiscriminatorType.g.cs new file mode 100644 index 00000000..ac7a6811 --- /dev/null +++ b/src/libs/Vapi/Generated/Vapi.Models.ServerMessageAssistantSpeechTimingDiscriminatorType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Vapi +{ + /// + /// + /// + public enum ServerMessageAssistantSpeechTimingDiscriminatorType + { + /// + /// + /// + WordAlignment, + /// + /// + /// + WordProgress, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ServerMessageAssistantSpeechTimingDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ServerMessageAssistantSpeechTimingDiscriminatorType value) + { + return value switch + { + ServerMessageAssistantSpeechTimingDiscriminatorType.WordAlignment => "word-alignment", + ServerMessageAssistantSpeechTimingDiscriminatorType.WordProgress => "word-progress", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ServerMessageAssistantSpeechTimingDiscriminatorType? ToEnum(string value) + { + return value switch + { + "word-alignment" => ServerMessageAssistantSpeechTimingDiscriminatorType.WordAlignment, + "word-progress" => ServerMessageAssistantSpeechTimingDiscriminatorType.WordProgress, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Vapi/Generated/Vapi.Models.Timing.g.cs b/src/libs/Vapi/Generated/Vapi.Models.Timing.g.cs index cac926b9..09bf2ede 100644 --- a/src/libs/Vapi/Generated/Vapi.Models.Timing.g.cs +++ b/src/libs/Vapi/Generated/Vapi.Models.Timing.g.cs @@ -24,6 +24,11 @@ namespace Vapi /// /// /// + public global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType? Type { get; } + + /// + /// + /// #if NET6_0_OR_GREATER public global::Vapi.AssistantSpeechWordAlignmentTiming? WordAlignment { get; init; } #else @@ -120,10 +125,13 @@ public Timing(global::Vapi.AssistantSpeechWordProgressTiming? value) /// /// public Timing( + global::Vapi.ClientMessageAssistantSpeechTimingDiscriminatorType? type, global::Vapi.AssistantSpeechWordAlignmentTiming? wordAlignment, global::Vapi.AssistantSpeechWordProgressTiming? wordProgress ) { + Type = type; + WordAlignment = wordAlignment; WordProgress = wordProgress; } diff --git a/src/libs/Vapi/Generated/Vapi.Models.Timing2.g.cs b/src/libs/Vapi/Generated/Vapi.Models.Timing2.g.cs index f6528c86..a3db0df5 100644 --- a/src/libs/Vapi/Generated/Vapi.Models.Timing2.g.cs +++ b/src/libs/Vapi/Generated/Vapi.Models.Timing2.g.cs @@ -24,6 +24,11 @@ namespace Vapi /// /// /// + public global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType? Type { get; } + + /// + /// + /// #if NET6_0_OR_GREATER public global::Vapi.AssistantSpeechWordAlignmentTiming? WordAlignment { get; init; } #else @@ -120,10 +125,13 @@ public Timing2(global::Vapi.AssistantSpeechWordProgressTiming? value) /// /// public Timing2( + global::Vapi.ServerMessageAssistantSpeechTimingDiscriminatorType? type, global::Vapi.AssistantSpeechWordAlignmentTiming? wordAlignment, global::Vapi.AssistantSpeechWordProgressTiming? wordProgress ) { + Type = type; + WordAlignment = wordAlignment; WordProgress = wordProgress; }