From 964e9b1601030f88a8b31dfc11da78a0f0de9934 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 3 Apr 2026 05:09:42 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Ultravox.AccountsClient.AccountsList.g.cs | 1 - ...ent.AccountsMeBillingInvoicesRetrieve.g.cs | 1 - ...ountsClient.AccountsMeBillingRetrieve.g.cs | 1 - ...Client.AccountsMeBillingUsageRetrieve.g.cs | 1 - ...vox.AccountsClient.AccountsMeRetrieve.g.cs | 1 - ...ent.AccountsMeTtsApiKeysPartialUpdate.g.cs | 1 - ...tsClient.AccountsMeTtsApiKeysRetrieve.g.cs | 1 - ...tsClient.AccountsMeUsageCallsRetrieve.g.cs | 1 - ...nt.AccountsMeUsageConcurrencyRetrieve.g.cs | 1 - ...travox.AgentsClient.AgentsCallsCreate.g.cs | 1 - ...Ultravox.AgentsClient.AgentsCallsList.g.cs | 1 - .../Ultravox.AgentsClient.AgentsCreate.g.cs | 1 - .../Ultravox.AgentsClient.AgentsDestroy.g.cs | 7 - .../Ultravox.AgentsClient.AgentsList.g.cs | 1 - ...avox.AgentsClient.AgentsPartialUpdate.g.cs | 1 - .../Ultravox.AgentsClient.AgentsRetrieve.g.cs | 1 - ...tsClient.AgentsScheduledBatchesCreate.g.cs | 1 - ...gentsScheduledBatchesCreatedCallsList.g.cs | 1 - ...sClient.AgentsScheduledBatchesDestroy.g.cs | 7 - ...entsClient.AgentsScheduledBatchesList.g.cs | 1 - ...t.AgentsScheduledBatchesPartialUpdate.g.cs | 1 - ...Client.AgentsScheduledBatchesRetrieve.g.cs | 1 - ...ntsScheduledBatchesScheduledCallsList.g.cs | 1 - ...ravox.AgentsClient.AgentsTelephonyXml.g.cs | 1 - ...Ultravox.AgentsClient.AgentsUsageList.g.cs | 1 - .../Ultravox.ApiKeysClient.ApiKeysCreate.g.cs | 1 - ...Ultravox.ApiKeysClient.ApiKeysDestroy.g.cs | 7 - .../Ultravox.ApiKeysClient.ApiKeysList.g.cs | 1 - ...ox.ApiKeysClient.ApiKeysPartialUpdate.g.cs | 1 - ...ltravox.ApiKeysClient.ApiKeysRetrieve.g.cs | 1 - .../Ultravox.ApiKeysClient.ApiKeysUpdate.g.cs | 1 - .../Ultravox.CallsClient.CallsCreate.g.cs | 1 - .../Ultravox.CallsClient.CallsDestroy.g.cs | 7 - .../Ultravox.CallsClient.CallsEventsList.g.cs | 1 - .../Ultravox.CallsClient.CallsList.g.cs | 1 - ...ltravox.CallsClient.CallsMessagesList.g.cs | 1 - ...ox.CallsClient.CallsRecordingRetrieve.g.cs | 1 - .../Ultravox.CallsClient.CallsRetrieve.g.cs | 1 - ...avox.CallsClient.CallsSipLogsRetrieve.g.cs | 7 - .../Ultravox.CallsClient.CallsStagesList.g.cs | 1 - ...ient.CallsStagesMessagesAudioRetrieve.g.cs | 7 - ...x.CallsClient.CallsStagesMessagesList.g.cs | 1 - ...ravox.CallsClient.CallsStagesRetrieve.g.cs | 1 - ...avox.CallsClient.CallsStagesToolsList.g.cs | 1 - .../Ultravox.CallsClient.CallsToolsList.g.cs | 1 - ...vox.CallsClient.SendDataMessageToCall.g.cs | 7 - .../Ultravox.CorporaClient.CorporaCreate.g.cs | 1 - ...Ultravox.CorporaClient.CorporaDestroy.g.cs | 7 - .../Ultravox.CorporaClient.CorporaList.g.cs | 1 - ...ox.CorporaClient.CorporaPartialUpdate.g.cs | 1 - .../Ultravox.CorporaClient.CorporaQuery.g.cs | 1 - ...ltravox.CorporaClient.CorporaRetrieve.g.cs | 1 - ...ox.CorporaClient.CorporaSourcesCreate.g.cs | 1 - ...x.CorporaClient.CorporaSourcesDestroy.g.cs | 7 - ...oraClient.CorporaSourcesDocumentsList.g.cs | 1 - ...lient.CorporaSourcesDocumentsRetrieve.g.cs | 1 - ...avox.CorporaClient.CorporaSourcesList.g.cs | 1 - ...oraClient.CorporaSourcesPartialUpdate.g.cs | 1 - ....CorporaClient.CorporaSourcesRetrieve.g.cs | 1 - ...ox.CorporaClient.CorporaSourcesUpdate.g.cs | 1 - .../Ultravox.CorporaClient.CorporaUpdate.g.cs | 1 - ...ox.CorporaClient.CorporaUploadsCreate.g.cs | 1 - ...x.DeletedCallsClient.DeletedCallsList.g.cs | 1 - ...letedCallsClient.DeletedCallsRetrieve.g.cs | 1 - .../Ultravox.ModelsClient.ModelsList.g.cs | 1 - .../Generated/Ultravox.Polyfills.g.cs | 126 +++++++++++++++++- .../Ultravox.Realtime.Polyfills.g.cs | 126 +++++++++++++++++- .../Ultravox.SchemaClient.SchemaRetrieve.g.cs | 1 - .../Ultravox.SipClient.SipPartialUpdate.g.cs | 1 - ...avox.SipClient.SipRegistrationsCreate.g.cs | 1 - ...vox.SipClient.SipRegistrationsDestroy.g.cs | 7 - ...travox.SipClient.SipRegistrationsList.g.cs | 1 - ...pClient.SipRegistrationsPartialUpdate.g.cs | 1 - ...ox.SipClient.SipRegistrationsRetrieve.g.cs | 1 - .../Ultravox.SipClient.SipRetrieve.g.cs | 1 - ...igsClient.TelephonyConfigsPlivoCreate.g.cs | 1 - ...gsClient.TelephonyConfigsPlivoDestroy.g.cs | 7 - ...nt.TelephonyConfigsPlivoPartialUpdate.g.cs | 1 - ...sClient.TelephonyConfigsPlivoRetrieve.g.cs | 1 - ...gsClient.TelephonyConfigsTelnyxCreate.g.cs | 1 - ...sClient.TelephonyConfigsTelnyxDestroy.g.cs | 7 - ...t.TelephonyConfigsTelnyxPartialUpdate.g.cs | 1 - ...Client.TelephonyConfigsTelnyxRetrieve.g.cs | 1 - ...gsClient.TelephonyConfigsTwilioCreate.g.cs | 1 - ...sClient.TelephonyConfigsTwilioDestroy.g.cs | 7 - ...t.TelephonyConfigsTwilioPartialUpdate.g.cs | 1 - ...Client.TelephonyConfigsTwilioRetrieve.g.cs | 1 - .../Ultravox.ToolsClient.ToolsCreate.g.cs | 1 - .../Ultravox.ToolsClient.ToolsDestroy.g.cs | 7 - ...Ultravox.ToolsClient.ToolsHistoryList.g.cs | 1 - .../Ultravox.ToolsClient.ToolsList.g.cs | 1 - .../Ultravox.ToolsClient.ToolsRetrieve.g.cs | 1 - .../Ultravox.ToolsClient.ToolsTestCreate.g.cs | 1 - .../Ultravox.ToolsClient.ToolsUpdate.g.cs | 1 - .../Ultravox.VoicesClient.PreviewVoice.g.cs | 1 - .../Ultravox.VoicesClient.VoicesCreate.g.cs | 1 - .../Ultravox.VoicesClient.VoicesDestroy.g.cs | 7 - .../Ultravox.VoicesClient.VoicesList.g.cs | 1 - ...avox.VoicesClient.VoicesPartialUpdate.g.cs | 1 - ...ox.VoicesClient.VoicesPreviewRetrieve.g.cs | 1 - .../Ultravox.VoicesClient.VoicesRetrieve.g.cs | 1 - .../Ultravox.VoicesClient.VoicesUpdate.g.cs | 1 - ...ltravox.WebhooksClient.WebhooksCreate.g.cs | 1 - ...travox.WebhooksClient.WebhooksDestroy.g.cs | 7 - .../Ultravox.WebhooksClient.WebhooksList.g.cs | 1 - ....WebhooksClient.WebhooksPartialUpdate.g.cs | 1 - ...ravox.WebhooksClient.WebhooksRetrieve.g.cs | 1 - ...ltravox.WebhooksClient.WebhooksUpdate.g.cs | 1 - 108 files changed, 248 insertions(+), 206 deletions(-) diff --git a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsList.g.cs index d73c64c..78b65e6 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsList.g.cs @@ -124,7 +124,6 @@ partial void ProcessAccountsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingInvoicesRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingInvoicesRetrieve.g.cs index d4fe2e9..9096401 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingInvoicesRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingInvoicesRetrieve.g.cs @@ -142,7 +142,6 @@ partial void ProcessAccountsMeBillingInvoicesRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingRetrieve.g.cs index d9398eb..9fd6fa9 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingRetrieve.g.cs @@ -124,7 +124,6 @@ partial void ProcessAccountsMeBillingRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingUsageRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingUsageRetrieve.g.cs index eeccca5..e106d58 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingUsageRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeBillingUsageRetrieve.g.cs @@ -140,7 +140,6 @@ partial void ProcessAccountsMeBillingUsageRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeRetrieve.g.cs index 38d6b4f..286dea2 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeRetrieve.g.cs @@ -124,7 +124,6 @@ partial void ProcessAccountsMeRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeTtsApiKeysPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeTtsApiKeysPartialUpdate.g.cs index e5eb16a..2b138f8 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeTtsApiKeysPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeTtsApiKeysPartialUpdate.g.cs @@ -139,7 +139,6 @@ partial void ProcessAccountsMeTtsApiKeysPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeTtsApiKeysRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeTtsApiKeysRetrieve.g.cs index 974b236..e7bce70 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeTtsApiKeysRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeTtsApiKeysRetrieve.g.cs @@ -124,7 +124,6 @@ partial void ProcessAccountsMeTtsApiKeysRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeUsageCallsRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeUsageCallsRetrieve.g.cs index 97986b6..44f7dbe 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeUsageCallsRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeUsageCallsRetrieve.g.cs @@ -200,7 +200,6 @@ partial void ProcessAccountsMeUsageCallsRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeUsageConcurrencyRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeUsageConcurrencyRetrieve.g.cs index 205de5e..841cb93 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeUsageConcurrencyRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AccountsClient.AccountsMeUsageConcurrencyRetrieve.g.cs @@ -149,7 +149,6 @@ partial void ProcessAccountsMeUsageConcurrencyRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCallsCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCallsCreate.g.cs index d828f56..66d70a1 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCallsCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCallsCreate.g.cs @@ -145,7 +145,6 @@ partial void ProcessAgentsCallsCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCallsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCallsList.g.cs index 40eacd5..797d6d7 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCallsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCallsList.g.cs @@ -146,7 +146,6 @@ partial void ProcessAgentsCallsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCreate.g.cs index 8d19269..d14fa1f 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsCreate.g.cs @@ -139,7 +139,6 @@ partial void ProcessAgentsCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsDestroy.g.cs index 1bffe8f..9584944 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsDestroy.g.cs @@ -118,13 +118,6 @@ partial void ProcessAgentsDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsList.g.cs index 8cc2d70..25ebaea 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsList.g.cs @@ -154,7 +154,6 @@ partial void ProcessAgentsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsPartialUpdate.g.cs index dca7190..c8678e3 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsPartialUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessAgentsPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsRetrieve.g.cs index 088ecce..b0fff38 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsRetrieve.g.cs @@ -130,7 +130,6 @@ partial void ProcessAgentsRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesCreate.g.cs index 7050c3c..9b0af12 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesCreate.g.cs @@ -145,7 +145,6 @@ partial void ProcessAgentsScheduledBatchesCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesCreatedCallsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesCreatedCallsList.g.cs index 3d1823b..7fa9cf3 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesCreatedCallsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesCreatedCallsList.g.cs @@ -152,7 +152,6 @@ partial void ProcessAgentsScheduledBatchesCreatedCallsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesDestroy.g.cs index 3ef42c2..62ae6aa 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesDestroy.g.cs @@ -124,13 +124,6 @@ partial void ProcessAgentsScheduledBatchesDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesList.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesList.g.cs index 8332fce..c80fa37 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesList.g.cs @@ -146,7 +146,6 @@ partial void ProcessAgentsScheduledBatchesListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesPartialUpdate.g.cs index ebe7b85..43f5e34 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesPartialUpdate.g.cs @@ -151,7 +151,6 @@ partial void ProcessAgentsScheduledBatchesPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesRetrieve.g.cs index 70be0da..145933a 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesRetrieve.g.cs @@ -136,7 +136,6 @@ partial void ProcessAgentsScheduledBatchesRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesScheduledCallsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesScheduledCallsList.g.cs index c5f292b..6a549ed 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesScheduledCallsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsScheduledBatchesScheduledCallsList.g.cs @@ -159,7 +159,6 @@ partial void ProcessAgentsScheduledBatchesScheduledCallsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsTelephonyXml.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsTelephonyXml.g.cs index df25257..8e4228d 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsTelephonyXml.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsTelephonyXml.g.cs @@ -143,7 +143,6 @@ partial void ProcessAgentsTelephonyXmlResponseContent( try { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsUsageList.g.cs b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsUsageList.g.cs index c3e9d49..b4c943a 100644 --- a/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsUsageList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.AgentsClient.AgentsUsageList.g.cs @@ -200,7 +200,6 @@ partial void ProcessAgentsUsageListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysCreate.g.cs index 600eab8..5f0ceaa 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysCreate.g.cs @@ -139,7 +139,6 @@ partial void ProcessApiKeysCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysDestroy.g.cs index 5a20b4a..5f9cc08 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysDestroy.g.cs @@ -118,13 +118,6 @@ partial void ProcessApiKeysDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysList.g.cs b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysList.g.cs index 460a364..114351d 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysList.g.cs @@ -140,7 +140,6 @@ partial void ProcessApiKeysListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysPartialUpdate.g.cs index 89b6460..89896f6 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysPartialUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessApiKeysPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysRetrieve.g.cs index 588e9f5..4709358 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysRetrieve.g.cs @@ -130,7 +130,6 @@ partial void ProcessApiKeysRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysUpdate.g.cs index 4a54c10..0b73c7b 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ApiKeysClient.ApiKeysUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessApiKeysUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsCreate.g.cs index 3663970..35989c4 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsCreate.g.cs @@ -157,7 +157,6 @@ partial void ProcessCallsCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsDestroy.g.cs index 1f6e3b0..03fc851 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsDestroy.g.cs @@ -118,13 +118,6 @@ partial void ProcessCallsDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsEventsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsEventsList.g.cs index 5d5e5e7..403ace8 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsEventsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsEventsList.g.cs @@ -162,7 +162,6 @@ partial void ProcessCallsEventsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsList.g.cs index f96917d..b365c85 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsList.g.cs @@ -221,7 +221,6 @@ partial void ProcessCallsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsMessagesList.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsMessagesList.g.cs index c0b491f..06f3a93 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsMessagesList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsMessagesList.g.cs @@ -155,7 +155,6 @@ partial void ProcessCallsMessagesListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsRecordingRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsRecordingRetrieve.g.cs index 410fe57..bd6764b 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsRecordingRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsRecordingRetrieve.g.cs @@ -156,7 +156,6 @@ partial void ProcessCallsRecordingRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsByteArrayAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsRetrieve.g.cs index ab4fc9c..696d0ea 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsRetrieve.g.cs @@ -130,7 +130,6 @@ partial void ProcessCallsRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsSipLogsRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsSipLogsRetrieve.g.cs index 46a3360..eb5ddf6 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsSipLogsRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsSipLogsRetrieve.g.cs @@ -217,13 +217,6 @@ partial void ProcessCallsSipLogsRetrieveResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesList.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesList.g.cs index fdd50a4..0b17c84 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesList.g.cs @@ -146,7 +146,6 @@ partial void ProcessCallsStagesListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesMessagesAudioRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesMessagesAudioRetrieve.g.cs index 0766ced..b902123 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesMessagesAudioRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesMessagesAudioRetrieve.g.cs @@ -130,13 +130,6 @@ partial void ProcessCallsStagesMessagesAudioRetrieveResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesMessagesList.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesMessagesList.g.cs index 2429ba0..e768163 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesMessagesList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesMessagesList.g.cs @@ -152,7 +152,6 @@ partial void ProcessCallsStagesMessagesListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesRetrieve.g.cs index bacd6f7..322bdc5 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesRetrieve.g.cs @@ -136,7 +136,6 @@ partial void ProcessCallsStagesRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesToolsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesToolsList.g.cs index 511b6ac..15c1de8 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesToolsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsStagesToolsList.g.cs @@ -136,7 +136,6 @@ partial void ProcessCallsStagesToolsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsToolsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsToolsList.g.cs index 7dd5efe..aa7b264 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsToolsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.CallsToolsList.g.cs @@ -130,7 +130,6 @@ partial void ProcessCallsToolsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CallsClient.SendDataMessageToCall.g.cs b/src/libs/Ultravox/Generated/Ultravox.CallsClient.SendDataMessageToCall.g.cs index 251d057..8a3bdc2 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CallsClient.SendDataMessageToCall.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CallsClient.SendDataMessageToCall.g.cs @@ -133,13 +133,6 @@ partial void ProcessSendDataMessageToCallResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaCreate.g.cs index 968ba6d..53519fe 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaCreate.g.cs @@ -139,7 +139,6 @@ partial void ProcessCorporaCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaDestroy.g.cs index 48206c3..120bdfc 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaDestroy.g.cs @@ -118,13 +118,6 @@ partial void ProcessCorporaDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaList.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaList.g.cs index 3faa803..5f56f22 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaList.g.cs @@ -140,7 +140,6 @@ partial void ProcessCorporaListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaPartialUpdate.g.cs index ddae629..520f4bf 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaPartialUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessCorporaPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaQuery.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaQuery.g.cs index 3b5c14b..b626f16 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaQuery.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaQuery.g.cs @@ -145,7 +145,6 @@ partial void ProcessCorporaQueryResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaRetrieve.g.cs index a111310..4ba50a4 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaRetrieve.g.cs @@ -130,7 +130,6 @@ partial void ProcessCorporaRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesCreate.g.cs index 485a37a..606ad43 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesCreate.g.cs @@ -145,7 +145,6 @@ partial void ProcessCorporaSourcesCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDestroy.g.cs index 2edaef6..1532091 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDestroy.g.cs @@ -124,13 +124,6 @@ partial void ProcessCorporaSourcesDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDocumentsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDocumentsList.g.cs index 9752edf..6c1c494 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDocumentsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDocumentsList.g.cs @@ -152,7 +152,6 @@ partial void ProcessCorporaSourcesDocumentsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDocumentsRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDocumentsRetrieve.g.cs index 494601a..d543270 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDocumentsRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesDocumentsRetrieve.g.cs @@ -142,7 +142,6 @@ partial void ProcessCorporaSourcesDocumentsRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesList.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesList.g.cs index 403a561..0f44dd3 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesList.g.cs @@ -146,7 +146,6 @@ partial void ProcessCorporaSourcesListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesPartialUpdate.g.cs index 02a4213..99b0fe5 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesPartialUpdate.g.cs @@ -151,7 +151,6 @@ partial void ProcessCorporaSourcesPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesRetrieve.g.cs index 1e77b4b..ee44d2d 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesRetrieve.g.cs @@ -136,7 +136,6 @@ partial void ProcessCorporaSourcesRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesUpdate.g.cs index 645d7fe..0601229 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaSourcesUpdate.g.cs @@ -151,7 +151,6 @@ partial void ProcessCorporaSourcesUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaUpdate.g.cs index f02ccad..72cf69a 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessCorporaUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaUploadsCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaUploadsCreate.g.cs index 4d04f9b..ccb5daa 100644 --- a/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaUploadsCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.CorporaClient.CorporaUploadsCreate.g.cs @@ -145,7 +145,6 @@ partial void ProcessCorporaUploadsCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.DeletedCallsClient.DeletedCallsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.DeletedCallsClient.DeletedCallsList.g.cs index 41b627d..23587aa 100644 --- a/src/libs/Ultravox/Generated/Ultravox.DeletedCallsClient.DeletedCallsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.DeletedCallsClient.DeletedCallsList.g.cs @@ -214,7 +214,6 @@ partial void ProcessDeletedCallsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.DeletedCallsClient.DeletedCallsRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.DeletedCallsClient.DeletedCallsRetrieve.g.cs index 2ca61b7..a8a099a 100644 --- a/src/libs/Ultravox/Generated/Ultravox.DeletedCallsClient.DeletedCallsRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.DeletedCallsClient.DeletedCallsRetrieve.g.cs @@ -130,7 +130,6 @@ partial void ProcessDeletedCallsRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ModelsClient.ModelsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.ModelsClient.ModelsList.g.cs index 5052215..0834522 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ModelsClient.ModelsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ModelsClient.ModelsList.g.cs @@ -140,7 +140,6 @@ partial void ProcessModelsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.Polyfills.g.cs b/src/libs/Ultravox/Generated/Ultravox.Polyfills.g.cs index 71bf13e..ddf1eb0 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Polyfills.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Polyfills.g.cs @@ -1,5 +1,4 @@ -#if !NET6_0_OR_GREATER #nullable enable namespace Ultravox @@ -9,6 +8,7 @@ namespace Ultravox /// public static partial class AutoSdkPolyfills { +#if !NET6_0_OR_GREATER /// /// /// @@ -48,6 +48,128 @@ public static partial class AutoSdkPolyfills content = content ?? throw new global::System.ArgumentNullException(nameof(content)); return content.ReadAsByteArrayAsync(); } +#endif + + /// + /// Creates a JSON request content instance. + /// + public static global::System.Net.Http.HttpContent CreateJsonContent( + T inputValue, + string mediaType, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions) + { + if (string.IsNullOrWhiteSpace(mediaType)) + { + throw new global::System.ArgumentException("Media type is required.", nameof(mediaType)); + } + +#if NET5_0_OR_GREATER + return global::System.Net.Http.Json.JsonContent.Create( + inputValue: inputValue, + mediaType: new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType), + options: jsonSerializerOptions); +#else + var json = global::System.Text.Json.JsonSerializer.Serialize(inputValue, jsonSerializerOptions); + var stringContent = new global::System.Net.Http.StringContent( + content: json, + encoding: global::System.Text.Encoding.UTF8); + stringContent.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType) + { + CharSet = global::System.Text.Encoding.UTF8.WebName, + }; + return stringContent; +#endif + } + + /// + /// Creates a JSON request content instance using a source-generated serializer context. + /// + public static global::System.Net.Http.HttpContent CreateJsonContent( + object? inputValue, + global::System.Type inputType, + string mediaType, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + inputType = inputType ?? throw new global::System.ArgumentNullException(nameof(inputType)); + jsonSerializerContext = jsonSerializerContext ?? throw new global::System.ArgumentNullException(nameof(jsonSerializerContext)); + + if (string.IsNullOrWhiteSpace(mediaType)) + { + throw new global::System.ArgumentException("Media type is required.", nameof(mediaType)); + } + +#if NET5_0_OR_GREATER + var jsonTypeInfo = jsonSerializerContext.GetTypeInfo(inputType) ?? + throw new global::System.InvalidOperationException($"No JsonTypeInfo registered for '{inputType}'."); + return global::System.Net.Http.Json.JsonContent.Create( + inputValue: inputValue, + jsonTypeInfo: jsonTypeInfo, + mediaType: new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType)); +#else + var json = global::System.Text.Json.JsonSerializer.Serialize( + value: inputValue, + inputType: inputType, + jsonSerializerContext); + var stringContent = new global::System.Net.Http.StringContent( + content: json, + encoding: global::System.Text.Encoding.UTF8); + stringContent.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType) + { + CharSet = global::System.Text.Encoding.UTF8.WebName, + }; + return stringContent; +#endif + } + + /// + /// Reads JSON content into the specified type using serializer options. + /// + public static async global::System.Threading.Tasks.Task ReadFromJsonAsync( + this global::System.Net.Http.HttpContent content, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions, + global::System.Threading.CancellationToken cancellationToken) + { + content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + +#if NET5_0_OR_GREATER + return await global::System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync( + content, + jsonSerializerOptions, + cancellationToken).ConfigureAwait(false); +#else + using var stream = await AutoSdkPolyfills.ReadAsStreamAsync(content, cancellationToken).ConfigureAwait(false); + return await global::System.Text.Json.JsonSerializer.DeserializeAsync( + utf8Json: stream, + options: jsonSerializerOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); +#endif + } + + /// + /// Reads JSON content into the specified type using a source-generated serializer context. + /// + public static async global::System.Threading.Tasks.Task ReadFromJsonAsync( + this global::System.Net.Http.HttpContent content, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext, + global::System.Threading.CancellationToken cancellationToken) + { + content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + jsonSerializerContext = jsonSerializerContext ?? throw new global::System.ArgumentNullException(nameof(jsonSerializerContext)); + +#if NET5_0_OR_GREATER + return (T?)await global::System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync( + content, + typeof(T), + jsonSerializerContext, + cancellationToken).ConfigureAwait(false); +#else + using var stream = await AutoSdkPolyfills.ReadAsStreamAsync(content, cancellationToken).ConfigureAwait(false); + return (T?)await global::System.Text.Json.JsonSerializer.DeserializeAsync( + utf8Json: stream, + returnType: typeof(T), + jsonSerializerContext, + cancellationToken: cancellationToken).ConfigureAwait(false); +#endif + } } } -#endif \ No newline at end of file diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Polyfills.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Polyfills.g.cs index 3328139..e44ffbb 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Polyfills.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Polyfills.g.cs @@ -1,5 +1,4 @@ -#if !NET6_0_OR_GREATER #nullable enable namespace Ultravox.Realtime @@ -9,6 +8,7 @@ namespace Ultravox.Realtime /// public static partial class AutoSdkPolyfills { +#if !NET6_0_OR_GREATER /// /// /// @@ -48,6 +48,128 @@ public static partial class AutoSdkPolyfills content = content ?? throw new global::System.ArgumentNullException(nameof(content)); return content.ReadAsByteArrayAsync(); } +#endif + + /// + /// Creates a JSON request content instance. + /// + public static global::System.Net.Http.HttpContent CreateJsonContent( + T inputValue, + string mediaType, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions) + { + if (string.IsNullOrWhiteSpace(mediaType)) + { + throw new global::System.ArgumentException("Media type is required.", nameof(mediaType)); + } + +#if NET5_0_OR_GREATER + return global::System.Net.Http.Json.JsonContent.Create( + inputValue: inputValue, + mediaType: new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType), + options: jsonSerializerOptions); +#else + var json = global::System.Text.Json.JsonSerializer.Serialize(inputValue, jsonSerializerOptions); + var stringContent = new global::System.Net.Http.StringContent( + content: json, + encoding: global::System.Text.Encoding.UTF8); + stringContent.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType) + { + CharSet = global::System.Text.Encoding.UTF8.WebName, + }; + return stringContent; +#endif + } + + /// + /// Creates a JSON request content instance using a source-generated serializer context. + /// + public static global::System.Net.Http.HttpContent CreateJsonContent( + object? inputValue, + global::System.Type inputType, + string mediaType, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + inputType = inputType ?? throw new global::System.ArgumentNullException(nameof(inputType)); + jsonSerializerContext = jsonSerializerContext ?? throw new global::System.ArgumentNullException(nameof(jsonSerializerContext)); + + if (string.IsNullOrWhiteSpace(mediaType)) + { + throw new global::System.ArgumentException("Media type is required.", nameof(mediaType)); + } + +#if NET5_0_OR_GREATER + var jsonTypeInfo = jsonSerializerContext.GetTypeInfo(inputType) ?? + throw new global::System.InvalidOperationException($"No JsonTypeInfo registered for '{inputType}'."); + return global::System.Net.Http.Json.JsonContent.Create( + inputValue: inputValue, + jsonTypeInfo: jsonTypeInfo, + mediaType: new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType)); +#else + var json = global::System.Text.Json.JsonSerializer.Serialize( + value: inputValue, + inputType: inputType, + jsonSerializerContext); + var stringContent = new global::System.Net.Http.StringContent( + content: json, + encoding: global::System.Text.Encoding.UTF8); + stringContent.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType) + { + CharSet = global::System.Text.Encoding.UTF8.WebName, + }; + return stringContent; +#endif + } + + /// + /// Reads JSON content into the specified type using serializer options. + /// + public static async global::System.Threading.Tasks.Task ReadFromJsonAsync( + this global::System.Net.Http.HttpContent content, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions, + global::System.Threading.CancellationToken cancellationToken) + { + content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + +#if NET5_0_OR_GREATER + return await global::System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync( + content, + jsonSerializerOptions, + cancellationToken).ConfigureAwait(false); +#else + using var stream = await AutoSdkPolyfills.ReadAsStreamAsync(content, cancellationToken).ConfigureAwait(false); + return await global::System.Text.Json.JsonSerializer.DeserializeAsync( + utf8Json: stream, + options: jsonSerializerOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); +#endif + } + + /// + /// Reads JSON content into the specified type using a source-generated serializer context. + /// + public static async global::System.Threading.Tasks.Task ReadFromJsonAsync( + this global::System.Net.Http.HttpContent content, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext, + global::System.Threading.CancellationToken cancellationToken) + { + content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + jsonSerializerContext = jsonSerializerContext ?? throw new global::System.ArgumentNullException(nameof(jsonSerializerContext)); + +#if NET5_0_OR_GREATER + return (T?)await global::System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync( + content, + typeof(T), + jsonSerializerContext, + cancellationToken).ConfigureAwait(false); +#else + using var stream = await AutoSdkPolyfills.ReadAsStreamAsync(content, cancellationToken).ConfigureAwait(false); + return (T?)await global::System.Text.Json.JsonSerializer.DeserializeAsync( + utf8Json: stream, + returnType: typeof(T), + jsonSerializerContext, + cancellationToken: cancellationToken).ConfigureAwait(false); +#endif + } } } -#endif \ No newline at end of file diff --git a/src/libs/Ultravox/Generated/Ultravox.SchemaClient.SchemaRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.SchemaClient.SchemaRetrieve.g.cs index 52d566b..266891b 100644 --- a/src/libs/Ultravox/Generated/Ultravox.SchemaClient.SchemaRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.SchemaClient.SchemaRetrieve.g.cs @@ -140,7 +140,6 @@ partial void ProcessSchemaRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipPartialUpdate.g.cs index 671d3f8..ac35bab 100644 --- a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipPartialUpdate.g.cs @@ -139,7 +139,6 @@ partial void ProcessSipPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsCreate.g.cs index c86809b..47a071f 100644 --- a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsCreate.g.cs @@ -139,7 +139,6 @@ partial void ProcessSipRegistrationsCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsDestroy.g.cs index f54ff33..afeb7c0 100644 --- a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsDestroy.g.cs @@ -118,13 +118,6 @@ partial void ProcessSipRegistrationsDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsList.g.cs index 36093cb..a43197f 100644 --- a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsList.g.cs @@ -140,7 +140,6 @@ partial void ProcessSipRegistrationsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsPartialUpdate.g.cs index 63363f3..1adcdc6 100644 --- a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsPartialUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessSipRegistrationsPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsRetrieve.g.cs index d93607f..45fa534 100644 --- a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRegistrationsRetrieve.g.cs @@ -130,7 +130,6 @@ partial void ProcessSipRegistrationsRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRetrieve.g.cs index e62910f..9fbb865 100644 --- a/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.SipClient.SipRetrieve.g.cs @@ -124,7 +124,6 @@ partial void ProcessSipRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoCreate.g.cs index 00f3544..f4b402c 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoCreate.g.cs @@ -139,7 +139,6 @@ partial void ProcessTelephonyConfigsPlivoCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoDestroy.g.cs index 7d66ecd..8ae123d 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoDestroy.g.cs @@ -112,13 +112,6 @@ partial void ProcessTelephonyConfigsPlivoDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoPartialUpdate.g.cs index b8f26a8..83c4b36 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoPartialUpdate.g.cs @@ -139,7 +139,6 @@ partial void ProcessTelephonyConfigsPlivoPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoRetrieve.g.cs index 67b0f22..9739d62 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsPlivoRetrieve.g.cs @@ -124,7 +124,6 @@ partial void ProcessTelephonyConfigsPlivoRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxCreate.g.cs index c6675f3..073dab7 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxCreate.g.cs @@ -139,7 +139,6 @@ partial void ProcessTelephonyConfigsTelnyxCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxDestroy.g.cs index 3503a5a..8a4bc23 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxDestroy.g.cs @@ -112,13 +112,6 @@ partial void ProcessTelephonyConfigsTelnyxDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxPartialUpdate.g.cs index c42a599..87cda2d 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxPartialUpdate.g.cs @@ -139,7 +139,6 @@ partial void ProcessTelephonyConfigsTelnyxPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxRetrieve.g.cs index 7976a16..93abede 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTelnyxRetrieve.g.cs @@ -124,7 +124,6 @@ partial void ProcessTelephonyConfigsTelnyxRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioCreate.g.cs index 71cc207..5f4769c 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioCreate.g.cs @@ -139,7 +139,6 @@ partial void ProcessTelephonyConfigsTwilioCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioDestroy.g.cs index 669277a..4e399ea 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioDestroy.g.cs @@ -112,13 +112,6 @@ partial void ProcessTelephonyConfigsTwilioDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioPartialUpdate.g.cs index e9507cf..0fafbc8 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioPartialUpdate.g.cs @@ -139,7 +139,6 @@ partial void ProcessTelephonyConfigsTwilioPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioRetrieve.g.cs index 77364db..87f3ee7 100644 --- a/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.TelephonyConfigsClient.TelephonyConfigsTwilioRetrieve.g.cs @@ -124,7 +124,6 @@ partial void ProcessTelephonyConfigsTwilioRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsCreate.g.cs index 1d8a5d0..86bda64 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsCreate.g.cs @@ -139,7 +139,6 @@ partial void ProcessToolsCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsDestroy.g.cs index 2b87989..ebcc38c 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsDestroy.g.cs @@ -118,13 +118,6 @@ partial void ProcessToolsDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsHistoryList.g.cs b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsHistoryList.g.cs index b0e5dd8..1a25549 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsHistoryList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsHistoryList.g.cs @@ -146,7 +146,6 @@ partial void ProcessToolsHistoryListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsList.g.cs b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsList.g.cs index d32fd3c..e0d118b 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsList.g.cs @@ -163,7 +163,6 @@ partial void ProcessToolsListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsRetrieve.g.cs index e0c4468..49eb7b9 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsRetrieve.g.cs @@ -130,7 +130,6 @@ partial void ProcessToolsRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsTestCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsTestCreate.g.cs index 08e84b7..148fc18 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsTestCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsTestCreate.g.cs @@ -166,7 +166,6 @@ partial void ProcessToolsTestCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsUpdate.g.cs index c78c4e2..bd1896b 100644 --- a/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.ToolsClient.ToolsUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessToolsUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.PreviewVoice.g.cs b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.PreviewVoice.g.cs index 3d1bc7e..1f8d55d 100644 --- a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.PreviewVoice.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.PreviewVoice.g.cs @@ -170,7 +170,6 @@ partial void ProcessPreviewVoiceResponseContent( try { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsByteArrayAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesCreate.g.cs index 8bac2ba..3aafc8f 100644 --- a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesCreate.g.cs @@ -170,7 +170,6 @@ partial void ProcessVoicesCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesDestroy.g.cs index 83b9502..e18cd55 100644 --- a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesDestroy.g.cs @@ -118,13 +118,6 @@ partial void ProcessVoicesDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesList.g.cs b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesList.g.cs index 983f451..7838950 100644 --- a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesList.g.cs @@ -175,7 +175,6 @@ partial void ProcessVoicesListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesPartialUpdate.g.cs index 0715eaf..be05771 100644 --- a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesPartialUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessVoicesPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesPreviewRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesPreviewRetrieve.g.cs index 0dab19a..70174c6 100644 --- a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesPreviewRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesPreviewRetrieve.g.cs @@ -194,7 +194,6 @@ partial void ProcessVoicesPreviewRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsByteArrayAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesRetrieve.g.cs index f5f071e..e8d041f 100644 --- a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesRetrieve.g.cs @@ -130,7 +130,6 @@ partial void ProcessVoicesRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesUpdate.g.cs index d31a584..cc07226 100644 --- a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessVoicesUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksCreate.g.cs index c4b8a49..6d89949 100644 --- a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksCreate.g.cs @@ -139,7 +139,6 @@ partial void ProcessWebhooksCreateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksDestroy.g.cs b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksDestroy.g.cs index a3cc564..0e5e20a 100644 --- a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksDestroy.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksDestroy.g.cs @@ -118,13 +118,6 @@ partial void ProcessWebhooksDestroyResponse( try { __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } catch (global::System.Exception __ex) { diff --git a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksList.g.cs b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksList.g.cs index a4ccfa9..c67b3e3 100644 --- a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksList.g.cs @@ -147,7 +147,6 @@ partial void ProcessWebhooksListResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksPartialUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksPartialUpdate.g.cs index 4d8b870..7fccd15 100644 --- a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksPartialUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksPartialUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessWebhooksPartialUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksRetrieve.g.cs b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksRetrieve.g.cs index 6e859ec..5b9a7f5 100644 --- a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksRetrieve.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksRetrieve.g.cs @@ -130,7 +130,6 @@ partial void ProcessWebhooksRetrieveResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken diff --git a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksUpdate.g.cs b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksUpdate.g.cs index 9eb1497..4753a46 100644 --- a/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksUpdate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.WebhooksClient.WebhooksUpdate.g.cs @@ -145,7 +145,6 @@ partial void ProcessWebhooksUpdateResponseContent( try { __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken