diff --git a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.ListVoicesResponse.g.cs b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.ListVoicesResponse.g.cs index a0dcf39..ec4d8e8 100644 --- a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.ListVoicesResponse.g.cs +++ b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.ListVoicesResponse.g.cs @@ -53,6 +53,10 @@ public class ListVoicesResponseJsonConverter : global::System.Text.Json.Serializ 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) { @@ -68,6 +72,10 @@ public class ListVoicesResponseJsonConverter : global::System.Text.Json.Serializ catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -86,6 +94,10 @@ public class ListVoicesResponseJsonConverter : global::System.Text.Json.Serializ 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 (listVoicesResponseVariant1 == null && listVoicesResponseVariant2 == null) @@ -103,6 +115,10 @@ public class ListVoicesResponseJsonConverter : global::System.Text.Json.Serializ 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::PlayHT.ListVoicesResponse( diff --git a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.StreamSpeechRequest.g.cs b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.StreamSpeechRequest.g.cs index 71a54b7..25662ed 100644 --- a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.StreamSpeechRequest.g.cs +++ b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.StreamSpeechRequest.g.cs @@ -31,6 +31,10 @@ public class StreamSpeechRequestJsonConverter : global::System.Text.Json.Seriali catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } global::PlayHT.StreamSpeechRequestVariant2? streamSpeechRequestVariant2 = default; try @@ -45,6 +49,10 @@ public class StreamSpeechRequestJsonConverter : global::System.Text.Json.Seriali 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::PlayHT.StreamSpeechRequest( create,