diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.ASTLLMNodeInput.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.ASTLLMNodeInput.g.cs index 90ccd9113..f35c5868d 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.ASTLLMNodeInput.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.ASTLLMNodeInput.g.cs @@ -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) { @@ -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. + } } } @@ -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) @@ -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( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.ASTNodeInput.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.ASTNodeInput.g.cs index a9e785c5c..1384859f9 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.ASTNodeInput.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.ASTNodeInput.g.cs @@ -150,6 +150,10 @@ public class ASTNodeInputJsonConverter : 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) { @@ -165,6 +169,10 @@ public class ASTNodeInputJsonConverter : 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 == 2) { @@ -180,6 +188,10 @@ public class ASTNodeInputJsonConverter : 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 == 3) { @@ -195,6 +207,10 @@ public class ASTNodeInputJsonConverter : 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 == 4) { @@ -210,6 +226,10 @@ public class ASTNodeInputJsonConverter : 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 == 5) { @@ -225,6 +245,10 @@ public class ASTNodeInputJsonConverter : 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 == 6) { @@ -240,6 +264,10 @@ public class ASTNodeInputJsonConverter : 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 == 7) { @@ -255,6 +283,10 @@ public class ASTNodeInputJsonConverter : 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 == 8) { @@ -270,6 +302,10 @@ public class ASTNodeInputJsonConverter : 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 == 9) { @@ -285,6 +321,10 @@ public class ASTNodeInputJsonConverter : 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 == 10) { @@ -300,6 +340,10 @@ public class ASTNodeInputJsonConverter : 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 == 11) { @@ -315,6 +359,10 @@ public class ASTNodeInputJsonConverter : 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 == 12) { @@ -330,6 +378,10 @@ public class ASTNodeInputJsonConverter : 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 == 13) { @@ -345,6 +397,10 @@ public class ASTNodeInputJsonConverter : 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 == 14) { @@ -360,6 +416,10 @@ public class ASTNodeInputJsonConverter : 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 == 15) { @@ -375,6 +435,10 @@ public class ASTNodeInputJsonConverter : 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 == 16) { @@ -390,6 +454,10 @@ public class ASTNodeInputJsonConverter : 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 == 17) { @@ -405,6 +473,10 @@ public class ASTNodeInputJsonConverter : 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 == 18) { @@ -420,6 +492,10 @@ public class ASTNodeInputJsonConverter : 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. + } } } @@ -438,6 +514,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -455,6 +535,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -472,6 +556,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -489,6 +577,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -506,6 +598,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -523,6 +619,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -540,6 +640,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -557,6 +661,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -574,6 +682,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -591,6 +703,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -608,6 +724,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -625,6 +745,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -642,6 +766,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -659,6 +787,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -676,6 +808,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -693,6 +829,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -710,6 +850,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -727,6 +871,10 @@ public class ASTNodeInputJsonConverter : 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 (stringLiteral == null && numberLiteral == null && booleanLiteral == null && nullLiteral == null && lm == null && dynamicVariable == null && orOperator == null && andOperator == null && eqOperator == null && neqOperator == null && gtOperator == null && ltOperator == null && gteOperator == null && lteOperator == null && addOperator == null && subOperator == null && mulOperator == null && divOperator == null && conditionalOperator == null) @@ -744,6 +892,10 @@ public class ASTNodeInputJsonConverter : 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.ASTNodeInput( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf2.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf2.g.cs index b2e3544df..4047dc70a 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf2.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf2.g.cs @@ -72,6 +72,10 @@ public class AnyOfJsonConverter : 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) @@ -89,6 +93,10 @@ public class AnyOfJsonConverter : 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. + } } } @@ -107,6 +115,10 @@ public class AnyOfJsonConverter : 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) @@ -124,6 +136,10 @@ public class AnyOfJsonConverter : 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( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf3.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf3.g.cs index 7b908712c..f648c0f99 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf3.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf3.g.cs @@ -85,6 +85,10 @@ public class AnyOfJsonConverter : 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) @@ -102,6 +106,10 @@ public class AnyOfJsonConverter : 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) @@ -119,6 +127,10 @@ public class AnyOfJsonConverter : 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. + } } } @@ -137,6 +149,10 @@ public class AnyOfJsonConverter : 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) @@ -154,6 +170,10 @@ public class AnyOfJsonConverter : 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) @@ -171,6 +191,10 @@ public class AnyOfJsonConverter : 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( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf4.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf4.g.cs index e0f1ef597..3034fb094 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf4.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf4.g.cs @@ -98,6 +98,10 @@ public class AnyOfJsonConverter : 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) @@ -115,6 +119,10 @@ public class AnyOfJsonConverter : 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) @@ -132,6 +140,10 @@ public class AnyOfJsonConverter : 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) @@ -149,6 +161,10 @@ public class AnyOfJsonConverter : 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. + } } } @@ -167,6 +183,10 @@ public class AnyOfJsonConverter : 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) @@ -184,6 +204,10 @@ public class AnyOfJsonConverter : 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) @@ -201,6 +225,10 @@ public class AnyOfJsonConverter : 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) @@ -218,6 +246,10 @@ public class AnyOfJsonConverter : 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( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf5.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf5.g.cs index cb176a77d..474d06a5b 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf5.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf5.g.cs @@ -111,6 +111,10 @@ public class AnyOfJsonConverter : 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) @@ -128,6 +132,10 @@ public class AnyOfJsonConverter : 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) @@ -145,6 +153,10 @@ public class AnyOfJsonConverter : 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) @@ -162,6 +174,10 @@ public class AnyOfJsonConverter : 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) @@ -179,6 +195,10 @@ public class AnyOfJsonConverter : 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. + } } } @@ -197,6 +217,10 @@ public class AnyOfJsonConverter : 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) @@ -214,6 +238,10 @@ public class AnyOfJsonConverter : 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) @@ -231,6 +259,10 @@ public class AnyOfJsonConverter : 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) @@ -248,6 +280,10 @@ public class AnyOfJsonConverter : 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) @@ -265,6 +301,10 @@ public class AnyOfJsonConverter : 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( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf6.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf6.g.cs index 84c611e37..0815868ad 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf6.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf6.g.cs @@ -124,6 +124,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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) @@ -141,6 +145,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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) @@ -158,6 +166,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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) @@ -175,6 +187,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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) @@ -192,6 +208,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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 == 5) @@ -209,6 +229,10 @@ public class AnyOfJsonConverter : global::System.Text.Js catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -227,6 +251,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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 && value6 == null) @@ -244,6 +272,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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 && value6 == null) @@ -261,6 +293,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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 && value6 == null) @@ -278,6 +314,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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 && value6 == null) @@ -295,6 +335,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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 && value6 == null) @@ -312,6 +356,10 @@ public class AnyOfJsonConverter : global::System.Text.Js 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( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf7.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf7.g.cs index 7a2637809..6f1c1fcda 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf7.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.AnyOf7.g.cs @@ -137,6 +137,10 @@ public class AnyOfJsonConverter : global::System.Tex 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) @@ -154,6 +158,10 @@ public class AnyOfJsonConverter : global::System.Tex 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) @@ -171,6 +179,10 @@ public class AnyOfJsonConverter : global::System.Tex 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) @@ -188,6 +200,10 @@ public class AnyOfJsonConverter : global::System.Tex 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) @@ -205,6 +221,10 @@ public class AnyOfJsonConverter : global::System.Tex 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 == 5) @@ -222,6 +242,10 @@ public class AnyOfJsonConverter : global::System.Tex 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 == 6) @@ -239,6 +263,10 @@ public class AnyOfJsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -257,6 +285,10 @@ public class AnyOfJsonConverter : global::System.Tex 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 && value6 == null && value7 == null) @@ -274,6 +306,10 @@ public class AnyOfJsonConverter : global::System.Tex 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 && value6 == null && value7 == null) @@ -291,6 +327,10 @@ public class AnyOfJsonConverter : global::System.Tex 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 && value6 == null && value7 == null) @@ -308,6 +348,10 @@ public class AnyOfJsonConverter : global::System.Tex 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 && value6 == null && value7 == null) @@ -325,6 +369,10 @@ public class AnyOfJsonConverter : global::System.Tex 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 && value6 == null && value7 == null) @@ -342,6 +390,10 @@ public class AnyOfJsonConverter : global::System.Tex 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 && value6 == null && value7 == null) @@ -359,6 +411,10 @@ public class AnyOfJsonConverter : global::System.Tex 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( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.MusicAllowedOutputFormats.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.MusicAllowedOutputFormats.g.cs index d6ac1b05c..3ca021feb 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.MusicAllowedOutputFormats.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.MusicAllowedOutputFormats.g.cs @@ -73,6 +73,10 @@ public class MusicAllowedOutputFormatsJsonConverter : 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) @@ -90,6 +94,10 @@ public class MusicAllowedOutputFormatsJsonConverter : 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. + } } } @@ -108,6 +116,10 @@ public class MusicAllowedOutputFormatsJsonConverter : 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 (allowedOutputFormats == null && only == null) @@ -125,6 +137,10 @@ public class MusicAllowedOutputFormatsJsonConverter : 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.MusicAllowedOutputFormats( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.MusicOutputFormat.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.MusicOutputFormat.g.cs index 73eb92e84..792f9d75b 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.MusicOutputFormat.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.MusicOutputFormat.g.cs @@ -73,6 +73,10 @@ public class MusicOutputFormatJsonConverter : 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) @@ -90,6 +94,10 @@ public class MusicOutputFormatJsonConverter : 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. + } } } @@ -108,6 +116,10 @@ public class MusicOutputFormatJsonConverter : 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 (allowedFormats == null && musicOutputFormatVariant2 == null) @@ -125,6 +137,10 @@ public class MusicOutputFormatJsonConverter : 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.MusicOutputFormat( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf2.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf2.g.cs index afa2f02ba..172ba71f8 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf2.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf2.g.cs @@ -72,6 +72,10 @@ public class OneOfJsonConverter : 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) @@ -89,6 +93,10 @@ public class OneOfJsonConverter : 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. + } } } @@ -107,6 +115,10 @@ public class OneOfJsonConverter : 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) @@ -124,6 +136,10 @@ public class OneOfJsonConverter : 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.OneOf( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf3.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf3.g.cs index 42d46e4c6..a50eb1f0b 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf3.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf3.g.cs @@ -85,6 +85,10 @@ public class OneOfJsonConverter : 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) @@ -102,6 +106,10 @@ public class OneOfJsonConverter : 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) @@ -119,6 +127,10 @@ public class OneOfJsonConverter : 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. + } } } @@ -137,6 +149,10 @@ public class OneOfJsonConverter : 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) @@ -154,6 +170,10 @@ public class OneOfJsonConverter : 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) @@ -171,6 +191,10 @@ public class OneOfJsonConverter : 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.OneOf( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf4.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf4.g.cs index 78ad1427a..0d1a0049a 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf4.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.OneOf4.g.cs @@ -98,6 +98,10 @@ public class OneOfJsonConverter : 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) @@ -115,6 +119,10 @@ public class OneOfJsonConverter : 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) @@ -132,6 +140,10 @@ public class OneOfJsonConverter : 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) @@ -149,6 +161,10 @@ public class OneOfJsonConverter : 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. + } } } @@ -167,6 +183,10 @@ public class OneOfJsonConverter : 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) @@ -184,6 +204,10 @@ public class OneOfJsonConverter : 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) @@ -201,6 +225,10 @@ public class OneOfJsonConverter : 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) @@ -218,6 +246,10 @@ public class OneOfJsonConverter : 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.OneOf( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.TemplateRunInput.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.TemplateRunInput.g.cs index 1af53da02..d8e3f681f 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.TemplateRunInput.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.JsonConverters.TemplateRunInput.g.cs @@ -125,6 +125,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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) @@ -142,6 +146,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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) @@ -159,6 +167,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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) @@ -176,6 +188,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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) @@ -193,6 +209,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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 == 5) @@ -210,6 +230,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -228,6 +252,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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 (templateRunInputVariant1 == null && templateRunInputVariant2 == null && templateRunInputVariant3 == null && templateRunInputVariant4 == null && reference == null && templateRunInputVariant6 == null) @@ -245,6 +273,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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 (templateRunInputVariant1 == null && templateRunInputVariant2 == null && templateRunInputVariant3 == null && templateRunInputVariant4 == null && reference == null && templateRunInputVariant6 == null) @@ -262,6 +294,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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 (templateRunInputVariant1 == null && templateRunInputVariant2 == null && templateRunInputVariant3 == null && templateRunInputVariant4 == null && reference == null && templateRunInputVariant6 == null) @@ -279,6 +315,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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 (templateRunInputVariant1 == null && templateRunInputVariant2 == null && templateRunInputVariant3 == null && templateRunInputVariant4 == null && reference == null && templateRunInputVariant6 == null) @@ -296,6 +336,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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 (templateRunInputVariant1 == null && templateRunInputVariant2 == null && templateRunInputVariant3 == null && templateRunInputVariant4 == null && reference == null && templateRunInputVariant6 == null) @@ -313,6 +357,10 @@ public class TemplateRunInputJsonConverter : global::System.Text.Json.Serializat 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.TemplateRunInput( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.Models.ListProductsParams.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.Models.ListProductsParams.g.cs index edf32b2f4..07edca544 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.Models.ListProductsParams.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.Models.ListProductsParams.g.cs @@ -20,6 +20,13 @@ public sealed partial class ListProductsParams [global::System.Text.Json.Serialization.JsonPropertyName("smb_tool_type")] public string? SmbToolType { get; set; } + /// + /// List every owner-editable field, including stock counts and a quoted product's price. Only for the owner's assistant: the customer-facing listing withholds those from callers.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("owner_view")] + public bool? OwnerView { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -33,15 +40,21 @@ public sealed partial class ListProductsParams /// /// Default Value: list_products /// + /// + /// List every owner-editable field, including stock counts and a quoted product's price. Only for the owner's assistant: the customer-facing listing withholds those from callers.
+ /// Default Value: false + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListProductsParams( object? listKwargs, - string? smbToolType) + string? smbToolType, + bool? ownerView) { this.ListKwargs = listKwargs; this.SmbToolType = smbToolType; + this.OwnerView = ownerView; } /// diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.Models.ListServicesParams.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.Models.ListServicesParams.g.cs index b382315ec..8d2c15e77 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.Models.ListServicesParams.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.Models.ListServicesParams.g.cs @@ -20,6 +20,13 @@ public sealed partial class ListServicesParams [global::System.Text.Json.Serialization.JsonPropertyName("smb_tool_type")] public string? SmbToolType { get; set; } + /// + /// List every owner-editable field, including inactive options and a quoted service's prices. Only for the owner's assistant: the customer-facing listing withholds those from callers.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("owner_view")] + public bool? OwnerView { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -33,15 +40,21 @@ public sealed partial class ListServicesParams /// /// Default Value: list_services /// + /// + /// List every owner-editable field, including inactive options and a quoted service's prices. Only for the owner's assistant: the customer-facing listing withholds those from callers.
+ /// Default Value: false + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListServicesParams( object? listKwargs, - string? smbToolType) + string? smbToolType, + bool? ownerView) { this.ListKwargs = listKwargs; this.SmbToolType = smbToolType; + this.OwnerView = ownerView; } /// diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.TextToDialogueMultiContextRealtime.JsonConverters.ServerEvent.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.TextToDialogueMultiContextRealtime.JsonConverters.ServerEvent.g.cs index 5cce55d4b..d67a82197 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.TextToDialogueMultiContextRealtime.JsonConverters.ServerEvent.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.TextToDialogueMultiContextRealtime.JsonConverters.ServerEvent.g.cs @@ -83,6 +83,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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) { @@ -98,6 +102,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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) { @@ -113,6 +121,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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) { @@ -128,6 +140,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -146,6 +162,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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 (textToDialogueWebsocketAudioChunkMulti == null && textToDialogueWebsocketFinalAudioForTurnMulti == null && textToDialogueWebsocketFinalMulti == null && textToDialogueWebsocketError == null) @@ -163,6 +183,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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 (textToDialogueWebsocketAudioChunkMulti == null && textToDialogueWebsocketFinalAudioForTurnMulti == null && textToDialogueWebsocketFinalMulti == null && textToDialogueWebsocketError == null) @@ -180,6 +204,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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 (textToDialogueWebsocketAudioChunkMulti == null && textToDialogueWebsocketFinalAudioForTurnMulti == null && textToDialogueWebsocketFinalMulti == null && textToDialogueWebsocketError == null) @@ -197,6 +225,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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.TextToDialogueMultiContextRealtime.ServerEvent( diff --git a/src/libs/ElevenLabs/Generated/ElevenLabs.TextToDialogueRealtime.JsonConverters.ServerEvent.g.cs b/src/libs/ElevenLabs/Generated/ElevenLabs.TextToDialogueRealtime.JsonConverters.ServerEvent.g.cs index 8eca6b45a..d43b986a6 100644 --- a/src/libs/ElevenLabs/Generated/ElevenLabs.TextToDialogueRealtime.JsonConverters.ServerEvent.g.cs +++ b/src/libs/ElevenLabs/Generated/ElevenLabs.TextToDialogueRealtime.JsonConverters.ServerEvent.g.cs @@ -80,6 +80,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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) { @@ -95,6 +99,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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) { @@ -110,6 +118,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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) { @@ -125,6 +137,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -143,6 +159,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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 (textToDialogueWebsocketAudioChunk == null && textToDialogueWebsocketFinalAudioForTurn == null && textToDialogueWebsocketFinal == null && textToDialogueWebsocketError == null) @@ -160,6 +180,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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 (textToDialogueWebsocketAudioChunk == null && textToDialogueWebsocketFinalAudioForTurn == null && textToDialogueWebsocketFinal == null && textToDialogueWebsocketError == null) @@ -177,6 +201,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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 (textToDialogueWebsocketAudioChunk == null && textToDialogueWebsocketFinalAudioForTurn == null && textToDialogueWebsocketFinal == null && textToDialogueWebsocketError == null) @@ -194,6 +222,10 @@ public class ServerEventJsonConverter : global::System.Text.Json.Serialization.J 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.TextToDialogueRealtime.ServerEvent( diff --git a/src/libs/ElevenLabs/openapi.json b/src/libs/ElevenLabs/openapi.json index 121fcd3bd..20de7a486 100644 --- a/src/libs/ElevenLabs/openapi.json +++ b/src/libs/ElevenLabs/openapi.json @@ -84429,6 +84429,12 @@ "const": "list_products", "title": "Smb Tool Type", "default": "list_products" + }, + "owner_view": { + "type": "boolean", + "title": "Owner View", + "description": "List every owner-editable field, including stock counts and a quoted product's price. Only for the owner's assistant: the customer-facing listing withholds those from callers.", + "default": false } }, "type": "object", @@ -84525,6 +84531,12 @@ "const": "list_services", "title": "Smb Tool Type", "default": "list_services" + }, + "owner_view": { + "type": "boolean", + "title": "Owner View", + "description": "List every owner-editable field, including inactive options and a quoted service's prices. Only for the owner's assistant: the customer-facing listing withholds those from callers.", + "default": false } }, "type": "object",