diff --git a/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.OneOf2.g.cs b/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.OneOf2.g.cs index 3258771..e74ccae 100644 --- a/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.OneOf2.g.cs +++ b/src/libs/Inworld/Generated/Inworld.Realtime.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::Inworld.Realtime.OneOf( diff --git a/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.SpeechToTextStreamServerEvent.g.cs b/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.SpeechToTextStreamServerEvent.g.cs index cb80602..2b58537 100644 --- a/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.SpeechToTextStreamServerEvent.g.cs +++ b/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.SpeechToTextStreamServerEvent.g.cs @@ -68,6 +68,10 @@ public class SpeechToTextStreamServerEventJsonConverter : 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) { @@ -83,6 +87,10 @@ public class SpeechToTextStreamServerEventJsonConverter : 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) { @@ -98,6 +106,10 @@ public class SpeechToTextStreamServerEventJsonConverter : 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. + } } } @@ -116,6 +128,10 @@ public class SpeechToTextStreamServerEventJsonConverter : 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 (sttTranscription == null && sttUsage == null && sttStarted == null) @@ -133,6 +149,10 @@ public class SpeechToTextStreamServerEventJsonConverter : 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 (sttTranscription == null && sttUsage == null && sttStarted == null) @@ -150,6 +170,10 @@ public class SpeechToTextStreamServerEventJsonConverter : 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::Inworld.Realtime.SpeechToTextStreamServerEvent( diff --git a/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.TextToSpeechStreamServerEvent.g.cs b/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.TextToSpeechStreamServerEvent.g.cs index 2122483..a48e0d7 100644 --- a/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.TextToSpeechStreamServerEvent.g.cs +++ b/src/libs/Inworld/Generated/Inworld.Realtime.JsonConverters.TextToSpeechStreamServerEvent.g.cs @@ -93,6 +93,10 @@ public class TextToSpeechStreamServerEventJsonConverter : 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) { @@ -108,6 +112,10 @@ public class TextToSpeechStreamServerEventJsonConverter : 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) { @@ -123,6 +131,10 @@ public class TextToSpeechStreamServerEventJsonConverter : 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) { @@ -138,6 +150,10 @@ public class TextToSpeechStreamServerEventJsonConverter : 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. + } } } @@ -156,6 +172,10 @@ public class TextToSpeechStreamServerEventJsonConverter : 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 (ttsContextCreated == null && ttsAudioChunk == null && ttsFlushCompleted == null && ttsContextClosed == null) @@ -173,6 +193,10 @@ public class TextToSpeechStreamServerEventJsonConverter : 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 (ttsContextCreated == null && ttsAudioChunk == null && ttsFlushCompleted == null && ttsContextClosed == null) @@ -190,6 +214,10 @@ public class TextToSpeechStreamServerEventJsonConverter : 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 (ttsContextCreated == null && ttsAudioChunk == null && ttsFlushCompleted == null && ttsContextClosed == null) @@ -207,6 +235,10 @@ public class TextToSpeechStreamServerEventJsonConverter : 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::Inworld.Realtime.TextToSpeechStreamServerEvent(