diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs index 5081ef8..0262c3c 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs @@ -261,7 +261,7 @@ partial void ProcessGetAgentVersionsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -292,7 +292,7 @@ partial void ProcessGetAgentVersionsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs index b45b891..7d153dc 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs @@ -223,7 +223,7 @@ partial void ProcessGetChatAgentVersionsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -254,7 +254,7 @@ partial void ProcessGetChatAgentVersionsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetMCPTools.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetMCPTools.g.cs index 3a6fb54..31d7018 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetMCPTools.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetMCPTools.g.cs @@ -290,7 +290,7 @@ partial void ProcessGetMCPToolsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -321,7 +321,7 @@ partial void ProcessGetMCPToolsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgents.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgents.g.cs index 8e18b49..c37bfd2 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgents.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgents.g.cs @@ -206,7 +206,7 @@ partial void ProcessListAgentsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -237,7 +237,7 @@ partial void ProcessListAgentsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTests.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTests.g.cs index 4ae501c..4276c2d 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTests.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTests.g.cs @@ -283,7 +283,7 @@ partial void ProcessListBatchTestsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -314,7 +314,7 @@ partial void ProcessListBatchTestsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCalls.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCalls.g.cs index 114e50e..0532224 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCalls.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCalls.g.cs @@ -230,7 +230,7 @@ partial void ProcessListCallsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -261,7 +261,7 @@ partial void ProcessListCallsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChat.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChat.g.cs index d684944..31c69cc 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChat.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChat.g.cs @@ -204,7 +204,7 @@ partial void ProcessListChatResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -235,7 +235,7 @@ partial void ProcessListChatResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatAgents.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatAgents.g.cs index 2deb74e..6e7bc05 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatAgents.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatAgents.g.cs @@ -206,7 +206,7 @@ partial void ProcessListChatAgentsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -237,7 +237,7 @@ partial void ProcessListChatAgentsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponents.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponents.g.cs index 00b39a8..2c9582f 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponents.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponents.g.cs @@ -253,7 +253,7 @@ partial void ProcessListConversationFlowComponentsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -284,7 +284,7 @@ partial void ProcessListConversationFlowComponentsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlows.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlows.g.cs index 4b2da82..2748d51 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlows.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlows.g.cs @@ -278,7 +278,7 @@ partial void ProcessListConversationFlowsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -309,7 +309,7 @@ partial void ProcessListConversationFlowsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListKnowledgeBases.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListKnowledgeBases.g.cs index ed4e836..ba9d475 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListKnowledgeBases.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListKnowledgeBases.g.cs @@ -215,7 +215,7 @@ partial void ProcessListKnowledgeBasesResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -246,7 +246,7 @@ partial void ProcessListKnowledgeBasesResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbers.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbers.g.cs index 8763dbf..18cd6d7 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbers.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbers.g.cs @@ -177,7 +177,7 @@ partial void ProcessListPhoneNumbersResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -208,7 +208,7 @@ partial void ProcessListPhoneNumbersResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListRetellLLM.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListRetellLLM.g.cs index 0f44818..1b0c5f5 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListRetellLLM.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListRetellLLM.g.cs @@ -206,7 +206,7 @@ partial void ProcessListRetellLLMResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -237,7 +237,7 @@ partial void ProcessListRetellLLMResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitions.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitions.g.cs index 5f8ca0e..afe806e 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitions.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitions.g.cs @@ -283,7 +283,7 @@ partial void ProcessListTestCaseDefinitionsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -314,7 +314,7 @@ partial void ProcessListTestCaseDefinitionsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRuns.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRuns.g.cs index b8a663f..3066bd4 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRuns.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRuns.g.cs @@ -297,7 +297,7 @@ partial void ProcessListTestRunsResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -328,7 +328,7 @@ partial void ProcessListTestRunsResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListVoices.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListVoices.g.cs index ac2f9c6..16bb5e9 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListVoices.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListVoices.g.cs @@ -177,7 +177,7 @@ partial void ProcessListVoicesResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -208,7 +208,7 @@ partial void ProcessListVoicesResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex)