Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ public class ASTLLMNodeInputJsonConverter : global::System.Text.Json.Serializati
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
else if (__bestIndex == 1)
{
Expand All @@ -81,6 +85,10 @@ public class ASTLLMNodeInputJsonConverter : global::System.Text.Json.Serializati
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
}

Expand All @@ -99,6 +107,10 @@ public class ASTLLMNodeInputJsonConverter : global::System.Text.Json.Serializati
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (aSTLLMNode1 == null && aSTLLMNode2 == null)
Expand All @@ -116,6 +128,10 @@ public class ASTLLMNodeInputJsonConverter : global::System.Text.Json.Serializati
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

var __value = new global::ElevenLabs.ASTLLMNodeInput(
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ public class AnyOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 1)
Expand All @@ -89,6 +93,10 @@ public class AnyOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
}

Expand All @@ -107,6 +115,10 @@ public class AnyOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null)
Expand All @@ -124,6 +136,10 @@ public class AnyOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

var __value = new global::ElevenLabs.AnyOf<T1, T2>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ public class AnyOfJsonConverter<T1, T2, T3> : global::System.Text.Json.Serializa
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 1)
Expand All @@ -102,6 +106,10 @@ public class AnyOfJsonConverter<T1, T2, T3> : global::System.Text.Json.Serializa
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 2)
Expand All @@ -119,6 +127,10 @@ public class AnyOfJsonConverter<T1, T2, T3> : global::System.Text.Json.Serializa
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
}

Expand All @@ -137,6 +149,10 @@ public class AnyOfJsonConverter<T1, T2, T3> : global::System.Text.Json.Serializa
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null)
Expand All @@ -154,6 +170,10 @@ public class AnyOfJsonConverter<T1, T2, T3> : global::System.Text.Json.Serializa
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null)
Expand All @@ -171,6 +191,10 @@ public class AnyOfJsonConverter<T1, T2, T3> : global::System.Text.Json.Serializa
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

var __value = new global::ElevenLabs.AnyOf<T1, T2, T3>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4> : global::System.Text.Json.Seria
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 1)
Expand All @@ -115,6 +119,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4> : global::System.Text.Json.Seria
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 2)
Expand All @@ -132,6 +140,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4> : global::System.Text.Json.Seria
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 3)
Expand All @@ -149,6 +161,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4> : global::System.Text.Json.Seria
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
}

Expand All @@ -167,6 +183,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4> : global::System.Text.Json.Seria
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null)
Expand All @@ -184,6 +204,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4> : global::System.Text.Json.Seria
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null)
Expand All @@ -201,6 +225,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4> : global::System.Text.Json.Seria
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null)
Expand All @@ -218,6 +246,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4> : global::System.Text.Json.Seria
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

var __value = new global::ElevenLabs.AnyOf<T1, T2, T3, T4>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4, T5> : global::System.Text.Json.S
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 1)
Expand All @@ -128,6 +132,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4, T5> : global::System.Text.Json.S
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 2)
Expand All @@ -145,6 +153,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4, T5> : global::System.Text.Json.S
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 3)
Expand All @@ -162,6 +174,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4, T5> : global::System.Text.Json.S
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 4)
Expand All @@ -179,6 +195,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4, T5> : global::System.Text.Json.S
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
}

Expand All @@ -197,6 +217,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4, T5> : global::System.Text.Json.S
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null)
Expand All @@ -214,6 +238,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4, T5> : global::System.Text.Json.S
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null)
Expand All @@ -231,6 +259,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4, T5> : global::System.Text.Json.S
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null)
Expand All @@ -248,6 +280,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4, T5> : global::System.Text.Json.S
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null)
Expand All @@ -265,6 +301,10 @@ public class AnyOfJsonConverter<T1, T2, T3, T4, T5> : global::System.Text.Json.S
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

var __value = new global::ElevenLabs.AnyOf<T1, T2, T3, T4, T5>(
Expand Down
Loading
Loading