From 81cb6fbaf0efaf010ee1445b6cb108d878792df8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 28 Sep 2026 03:49:49 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../AsyncAI.ApiStatusClient.GetStatus.g.cs | 10 +++---- .../AsyncAI.AutoSDKHttpResponse.g.cs | 4 +-- ...yncAI.TextToSpeechClient.StreamSpeech.g.cs | 20 ++++++------- ...I.TextToSpeechClient.SynthesizeSpeech.g.cs | 20 ++++++------- ...Client.SynthesizeSpeechWithTimestamps.g.cs | 10 +++---- ...ncAI.VoiceManagementClient.CloneVoice.g.cs | 30 +++++++++---------- ...cAI.VoiceManagementClient.DeleteVoice.g.cs | 12 ++++---- ...syncAI.VoiceManagementClient.GetVoice.g.cs | 12 ++++---- ...VoiceManagementClient.GetVoicePreview.g.cs | 12 ++++---- ....VoiceManagementClient.GetVoicesBatch.g.cs | 10 +++---- ...ncAI.VoiceManagementClient.ListVoices.g.cs | 10 +++---- ...cAI.VoiceManagementClient.UpdateVoice.g.cs | 12 ++++---- 12 files changed, 81 insertions(+), 81 deletions(-) diff --git a/src/libs/AsyncAI/Generated/AsyncAI.ApiStatusClient.GetStatus.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.ApiStatusClient.GetStatus.g.cs index e09679d..0c4d835 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.ApiStatusClient.GetStatus.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.ApiStatusClient.GetStatus.g.cs @@ -177,7 +177,7 @@ partial void ProcessGetStatusResponseContent( pathTemplate: "\"/\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -211,7 +211,7 @@ partial void ProcessGetStatusResponseContent( pathTemplate: "\"/\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -252,7 +252,7 @@ partial void ProcessGetStatusResponseContent( pathTemplate: "\"/\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -300,7 +300,7 @@ partial void ProcessGetStatusResponseContent( pathTemplate: "\"/\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessGetStatusResponseContent( pathTemplate: "\"/\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/AsyncAI/Generated/AsyncAI.AutoSDKHttpResponse.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.AutoSDKHttpResponse.g.cs index c56f50e..2e8cc87 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.AutoSDKHttpResponse.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.AutoSDKHttpResponse.g.cs @@ -164,9 +164,9 @@ public static class AutoSDKConditionalRequests { send = send ?? throw new global::System.ArgumentNullException(nameof(send)); requestOptions = CloneRequestOptions(requestOptions); - if (!string.IsNullOrWhiteSpace(entityTag)) + if (entityTag is { } nonEmptyEntityTag && !string.IsNullOrWhiteSpace(nonEmptyEntityTag)) { - requestOptions.Headers["If-None-Match"] = entityTag!; + requestOptions.Headers["If-None-Match"] = nonEmptyEntityTag; } try diff --git a/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.StreamSpeech.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.StreamSpeech.g.cs index 8759b75..ffc5743 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.StreamSpeech.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.StreamSpeech.g.cs @@ -199,7 +199,7 @@ partial void ProcessStreamSpeechResponseContent( pathTemplate: "\"/text_to_speech/streaming\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessStreamSpeechResponseContent( pathTemplate: "\"/text_to_speech/streaming\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessStreamSpeechResponseContent( pathTemplate: "\"/text_to_speech/streaming\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessStreamSpeechResponseContent( pathTemplate: "\"/text_to_speech/streaming\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessStreamSpeechResponseContent( pathTemplate: "\"/text_to_speech/streaming\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -572,7 +572,7 @@ partial void ProcessStreamSpeechResponseContent( pathTemplate: "\"/text_to_speech/streaming\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -606,7 +606,7 @@ partial void ProcessStreamSpeechResponseContent( pathTemplate: "\"/text_to_speech/streaming\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -647,7 +647,7 @@ partial void ProcessStreamSpeechResponseContent( pathTemplate: "\"/text_to_speech/streaming\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -695,7 +695,7 @@ partial void ProcessStreamSpeechResponseContent( pathTemplate: "\"/text_to_speech/streaming\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -717,7 +717,7 @@ partial void ProcessStreamSpeechResponseContent( pathTemplate: "\"/text_to_speech/streaming\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.SynthesizeSpeech.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.SynthesizeSpeech.g.cs index 9171c14..b11a8ae 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.SynthesizeSpeech.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.SynthesizeSpeech.g.cs @@ -199,7 +199,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/text_to_speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/text_to_speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/text_to_speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/text_to_speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/text_to_speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -572,7 +572,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/text_to_speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -606,7 +606,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/text_to_speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -647,7 +647,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/text_to_speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -695,7 +695,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/text_to_speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -717,7 +717,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/text_to_speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.SynthesizeSpeechWithTimestamps.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.SynthesizeSpeechWithTimestamps.g.cs index c2ae299..7bdabcb 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.SynthesizeSpeechWithTimestamps.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.TextToSpeechClient.SynthesizeSpeechWithTimestamps.g.cs @@ -199,7 +199,7 @@ partial void ProcessSynthesizeSpeechWithTimestampsResponseContent( pathTemplate: "\"/text_to_speech/with_timestamps\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessSynthesizeSpeechWithTimestampsResponseContent( pathTemplate: "\"/text_to_speech/with_timestamps\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessSynthesizeSpeechWithTimestampsResponseContent( pathTemplate: "\"/text_to_speech/with_timestamps\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessSynthesizeSpeechWithTimestampsResponseContent( pathTemplate: "\"/text_to_speech/with_timestamps\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessSynthesizeSpeechWithTimestampsResponseContent( pathTemplate: "\"/text_to_speech/with_timestamps\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.CloneVoice.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.CloneVoice.g.cs index f85ebae..fb77ff4 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.CloneVoice.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.CloneVoice.g.cs @@ -288,7 +288,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -363,7 +363,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -411,7 +411,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -433,7 +433,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -887,7 +887,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -921,7 +921,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -962,7 +962,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1010,7 +1010,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1032,7 +1032,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1419,7 +1419,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1453,7 +1453,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1494,7 +1494,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1542,7 +1542,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1564,7 +1564,7 @@ request.Audioname is null pathTemplate: "\"/voices/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.DeleteVoice.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.DeleteVoice.g.cs index 2cf3765..6bc397b 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.DeleteVoice.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.DeleteVoice.g.cs @@ -158,7 +158,7 @@ await DeleteVoiceAsResponseAsync( PrepareDeleteVoiceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, version: version); return __httpRequest; @@ -181,7 +181,7 @@ await DeleteVoiceAsResponseAsync( pathTemplate: "$\"/voices/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -215,7 +215,7 @@ await DeleteVoiceAsResponseAsync( pathTemplate: "$\"/voices/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -256,7 +256,7 @@ await DeleteVoiceAsResponseAsync( pathTemplate: "$\"/voices/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -304,7 +304,7 @@ await DeleteVoiceAsResponseAsync( pathTemplate: "$\"/voices/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -326,7 +326,7 @@ await DeleteVoiceAsResponseAsync( pathTemplate: "$\"/voices/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoice.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoice.g.cs index 9bb2c97..98f3687 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoice.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoice.g.cs @@ -165,7 +165,7 @@ partial void ProcessGetVoiceResponseContent( PrepareGetVoiceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, version: version); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessGetVoiceResponseContent( pathTemplate: "$\"/voices/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -222,7 +222,7 @@ partial void ProcessGetVoiceResponseContent( pathTemplate: "$\"/voices/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -263,7 +263,7 @@ partial void ProcessGetVoiceResponseContent( pathTemplate: "$\"/voices/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ partial void ProcessGetVoiceResponseContent( pathTemplate: "$\"/voices/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -333,7 +333,7 @@ partial void ProcessGetVoiceResponseContent( pathTemplate: "$\"/voices/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoicePreview.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoicePreview.g.cs index ed26bf0..76a7282 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoicePreview.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoicePreview.g.cs @@ -165,7 +165,7 @@ partial void ProcessGetVoicePreviewResponseContent( PrepareGetVoicePreviewRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, version: version); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessGetVoicePreviewResponseContent( pathTemplate: "$\"/voices/preview/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -222,7 +222,7 @@ partial void ProcessGetVoicePreviewResponseContent( pathTemplate: "$\"/voices/preview/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -263,7 +263,7 @@ partial void ProcessGetVoicePreviewResponseContent( pathTemplate: "$\"/voices/preview/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ partial void ProcessGetVoicePreviewResponseContent( pathTemplate: "$\"/voices/preview/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -333,7 +333,7 @@ partial void ProcessGetVoicePreviewResponseContent( pathTemplate: "$\"/voices/preview/{id}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoicesBatch.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoicesBatch.g.cs index cad203f..7a0bc41 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoicesBatch.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.GetVoicesBatch.g.cs @@ -199,7 +199,7 @@ partial void ProcessGetVoicesBatchResponseContent( pathTemplate: "\"/voices/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessGetVoicesBatchResponseContent( pathTemplate: "\"/voices/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessGetVoicesBatchResponseContent( pathTemplate: "\"/voices/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessGetVoicesBatchResponseContent( pathTemplate: "\"/voices/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessGetVoicesBatchResponseContent( pathTemplate: "\"/voices/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.ListVoices.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.ListVoices.g.cs index ee0c46c..b63b120 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.ListVoices.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.ListVoices.g.cs @@ -199,7 +199,7 @@ partial void ProcessListVoicesResponseContent( pathTemplate: "\"/voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessListVoicesResponseContent( pathTemplate: "\"/voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessListVoicesResponseContent( pathTemplate: "\"/voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessListVoicesResponseContent( pathTemplate: "\"/voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessListVoicesResponseContent( pathTemplate: "\"/voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.UpdateVoice.g.cs b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.UpdateVoice.g.cs index f15d6b9..81a4a85 100644 --- a/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.UpdateVoice.g.cs +++ b/src/libs/AsyncAI/Generated/AsyncAI.VoiceManagementClient.UpdateVoice.g.cs @@ -177,7 +177,7 @@ await UpdateVoiceAsResponseAsync( PrepareUpdateVoiceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, version: version, request: request); @@ -201,7 +201,7 @@ await UpdateVoiceAsResponseAsync( pathTemplate: "$\"/voices/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -235,7 +235,7 @@ await UpdateVoiceAsResponseAsync( pathTemplate: "$\"/voices/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -276,7 +276,7 @@ await UpdateVoiceAsResponseAsync( pathTemplate: "$\"/voices/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -324,7 +324,7 @@ await UpdateVoiceAsResponseAsync( pathTemplate: "$\"/voices/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -346,7 +346,7 @@ await UpdateVoiceAsResponseAsync( pathTemplate: "$\"/voices/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options,