From 4d7766bfc5cc93a00af7f2d8ab24890a6344cd8a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 28 Sep 2026 03:35:08 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...allestAI.AuthClient.CreateAccessToken.g.cs | 10 +++--- .../SmallestAI.AutoSDKHttpResponse.g.cs | 4 +-- .../SmallestAI.ElectronClient.Complete.g.cs | 10 +++--- ...nConverters.ChatCompletionRequestStop.g.cs | 4 +-- ...rters.ChatCompletionRequestToolChoice.g.cs | 4 +-- ...ers.SpeechToTextTranscribeResponse200.g.cs | 4 +-- ...stAI.Models.ChatCompletionRequestStop.g.cs | 32 +++++++++---------- ...odels.ChatCompletionRequestToolChoice.g.cs | 32 +++++++++---------- ...els.SpeechToTextTranscribeResponse200.g.cs | 32 +++++++++---------- ...onariesClient.CreatePronunciationDict.g.cs | 10 +++--- ...onariesClient.DeletePronunciationDict.g.cs | 10 +++--- ...tionariesClient.GetPronunciationDicts.g.cs | 10 +++--- ...onariesClient.UpdatePronunciationDict.g.cs | 10 +++--- ...llestAI.SpeechToTextClient.Transcribe.g.cs | 14 ++++---- ...SpeechToTextClient.TranscribeWithJson.g.cs | 14 ++++---- ...I.TextToSpeechClient.SynthesizeSpeech.g.cs | 24 +++++++------- ...extToSpeechClient.SynthesizeSpeechSse.g.cs | 10 +++--- ...I.VoiceCloningClient.CreateVoiceClone.g.cs | 30 ++++++++--------- ...AI.VoiceCloningClient.ListVoiceClones.g.cs | 10 +++--- ...mallestAI.VoicesClient.GetWavesVoices.g.cs | 12 +++---- 20 files changed, 143 insertions(+), 143 deletions(-) diff --git a/src/libs/SmallestAI/Generated/SmallestAI.AuthClient.CreateAccessToken.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.AuthClient.CreateAccessToken.g.cs index 733d6f6..6a1501b 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.AuthClient.CreateAccessToken.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.AuthClient.CreateAccessToken.g.cs @@ -234,7 +234,7 @@ partial void ProcessCreateAccessTokenResponseContent( pathTemplate: "\"/waves/v1/auth/token\"", 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, @@ -268,7 +268,7 @@ partial void ProcessCreateAccessTokenResponseContent( pathTemplate: "\"/waves/v1/auth/token\"", 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, @@ -309,7 +309,7 @@ partial void ProcessCreateAccessTokenResponseContent( pathTemplate: "\"/waves/v1/auth/token\"", 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, @@ -357,7 +357,7 @@ partial void ProcessCreateAccessTokenResponseContent( pathTemplate: "\"/waves/v1/auth/token\"", 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, @@ -379,7 +379,7 @@ partial void ProcessCreateAccessTokenResponseContent( pathTemplate: "\"/waves/v1/auth/token\"", 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/SmallestAI/Generated/SmallestAI.AutoSDKHttpResponse.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.AutoSDKHttpResponse.g.cs index c2afd7f..7529aa2 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.AutoSDKHttpResponse.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.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/SmallestAI/Generated/SmallestAI.ElectronClient.Complete.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.ElectronClient.Complete.g.cs index 5bf0fe1..71c75c4 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.ElectronClient.Complete.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.ElectronClient.Complete.g.cs @@ -328,7 +328,7 @@ partial void ProcessCompleteResponseContent( pathTemplate: "\"/waves/v1/chat/completions\"", 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, @@ -362,7 +362,7 @@ partial void ProcessCompleteResponseContent( pathTemplate: "\"/waves/v1/chat/completions\"", 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, @@ -403,7 +403,7 @@ partial void ProcessCompleteResponseContent( pathTemplate: "\"/waves/v1/chat/completions\"", 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, @@ -451,7 +451,7 @@ partial void ProcessCompleteResponseContent( pathTemplate: "\"/waves/v1/chat/completions\"", 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, @@ -473,7 +473,7 @@ partial void ProcessCompleteResponseContent( pathTemplate: "\"/waves/v1/chat/completions\"", 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/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestStop.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestStop.g.cs index d098dc8..42d8a16 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestStop.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestStop.g.cs @@ -149,13 +149,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChatCompletionRequestStopVariant1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickChatCompletionRequestStopVariant1(), typeInfo); } else if (value.IsChatCompletionRequestStopVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChatCompletionRequestStopVariant2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickChatCompletionRequestStopVariant2(), typeInfo); } } } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestToolChoice.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestToolChoice.g.cs index 4cf48cd..fecf407 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestToolChoice.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestToolChoice.g.cs @@ -136,13 +136,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::SmallestAI.ChatCompletionRequestToolChoice0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::SmallestAI.ChatCompletionRequestToolChoice0).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChatCompletionRequestToolChoice0!.Value, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickChatCompletionRequestToolChoice0(), typeInfo); } else if (value.IsChatCompletionRequestToolChoice1) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::SmallestAI.ChatCompletionRequestToolChoice1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::SmallestAI.ChatCompletionRequestToolChoice1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChatCompletionRequestToolChoice1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickChatCompletionRequestToolChoice1(), typeInfo); } } } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SpeechToTextTranscribeResponse200.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SpeechToTextTranscribeResponse200.g.cs index 35b7f81..1a576a6 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SpeechToTextTranscribeResponse200.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SpeechToTextTranscribeResponse200.g.cs @@ -150,13 +150,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::SmallestAI.TranscriptionResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::SmallestAI.TranscriptionResponse).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.TranscriptionResponse!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTranscriptionResponse(), typeInfo); } else if (value.IsAsyncAccepted) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::SmallestAI.AsyncAccepted), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::SmallestAI.AsyncAccepted).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.AsyncAccepted!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAsyncAccepted(), typeInfo); } } } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.Models.ChatCompletionRequestStop.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.Models.ChatCompletionRequestStop.g.cs index dc81908..a8b7878 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.Models.ChatCompletionRequestStop.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.Models.ChatCompletionRequestStop.g.cs @@ -42,8 +42,8 @@ public bool TryPickChatCompletionRequestStopVariant1( /// /// /// - public string PickChatCompletionRequestStopVariant1() => IsChatCompletionRequestStopVariant1 - ? ChatCompletionRequestStopVariant1! + public string PickChatCompletionRequestStopVariant1() => ChatCompletionRequestStopVariant1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ChatCompletionRequestStopVariant1' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickChatCompletionRequestStopVariant2( /// /// /// - public global::System.Collections.Generic.IList PickChatCompletionRequestStopVariant2() => IsChatCompletionRequestStopVariant2 - ? ChatCompletionRequestStopVariant2! + public global::System.Collections.Generic.IList PickChatCompletionRequestStopVariant2() => ChatCompletionRequestStopVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ChatCompletionRequestStopVariant2' but the value was {ToString()}."); /// /// @@ -154,13 +154,13 @@ public bool Validate() Validate(); } - if (IsChatCompletionRequestStopVariant1 && chatCompletionRequestStopVariant1 != null) + if (ChatCompletionRequestStopVariant1 is { } __value0 && chatCompletionRequestStopVariant1 != null) { - return chatCompletionRequestStopVariant1(ChatCompletionRequestStopVariant1!); + return chatCompletionRequestStopVariant1(__value0); } - else if (IsChatCompletionRequestStopVariant2 && chatCompletionRequestStopVariant2 != null) + else if (ChatCompletionRequestStopVariant2 is { } __value1 && chatCompletionRequestStopVariant2 != null) { - return chatCompletionRequestStopVariant2(ChatCompletionRequestStopVariant2!); + return chatCompletionRequestStopVariant2(__value1); } return default(TResult); @@ -180,13 +180,13 @@ public void Match( Validate(); } - if (IsChatCompletionRequestStopVariant1) + if (ChatCompletionRequestStopVariant1 is { } __value0) { - chatCompletionRequestStopVariant1?.Invoke(ChatCompletionRequestStopVariant1!); + chatCompletionRequestStopVariant1?.Invoke(__value0); } - else if (IsChatCompletionRequestStopVariant2) + else if (ChatCompletionRequestStopVariant2 is { } __value1) { - chatCompletionRequestStopVariant2?.Invoke(ChatCompletionRequestStopVariant2!); + chatCompletionRequestStopVariant2?.Invoke(__value1); } } @@ -203,13 +203,13 @@ public void Switch( Validate(); } - if (IsChatCompletionRequestStopVariant1) + if (ChatCompletionRequestStopVariant1 is { } __value0) { - chatCompletionRequestStopVariant1?.Invoke(ChatCompletionRequestStopVariant1!); + chatCompletionRequestStopVariant1?.Invoke(__value0); } - else if (IsChatCompletionRequestStopVariant2) + else if (ChatCompletionRequestStopVariant2 is { } __value1) { - chatCompletionRequestStopVariant2?.Invoke(ChatCompletionRequestStopVariant2!); + chatCompletionRequestStopVariant2?.Invoke(__value1); } } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.Models.ChatCompletionRequestToolChoice.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.Models.ChatCompletionRequestToolChoice.g.cs index 7943e6f..35d0a1e 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.Models.ChatCompletionRequestToolChoice.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.Models.ChatCompletionRequestToolChoice.g.cs @@ -42,8 +42,8 @@ public bool TryPickChatCompletionRequestToolChoice0( /// /// /// - public global::SmallestAI.ChatCompletionRequestToolChoice0 PickChatCompletionRequestToolChoice0() => IsChatCompletionRequestToolChoice0 - ? ChatCompletionRequestToolChoice0!.Value + public global::SmallestAI.ChatCompletionRequestToolChoice0 PickChatCompletionRequestToolChoice0() => ChatCompletionRequestToolChoice0 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ChatCompletionRequestToolChoice0' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickChatCompletionRequestToolChoice1( /// /// /// - public global::SmallestAI.ChatCompletionRequestToolChoice1 PickChatCompletionRequestToolChoice1() => IsChatCompletionRequestToolChoice1 - ? ChatCompletionRequestToolChoice1! + public global::SmallestAI.ChatCompletionRequestToolChoice1 PickChatCompletionRequestToolChoice1() => ChatCompletionRequestToolChoice1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ChatCompletionRequestToolChoice1' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsChatCompletionRequestToolChoice0 && chatCompletionRequestToolChoice0 != null) + if (ChatCompletionRequestToolChoice0 is { } __value0 && chatCompletionRequestToolChoice0 != null) { - return chatCompletionRequestToolChoice0(ChatCompletionRequestToolChoice0!); + return chatCompletionRequestToolChoice0(__value0); } - else if (IsChatCompletionRequestToolChoice1 && chatCompletionRequestToolChoice1 != null) + else if (ChatCompletionRequestToolChoice1 is { } __value1 && chatCompletionRequestToolChoice1 != null) { - return chatCompletionRequestToolChoice1(ChatCompletionRequestToolChoice1!); + return chatCompletionRequestToolChoice1(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsChatCompletionRequestToolChoice0) + if (ChatCompletionRequestToolChoice0 is { } __value0) { - chatCompletionRequestToolChoice0?.Invoke(ChatCompletionRequestToolChoice0!); + chatCompletionRequestToolChoice0?.Invoke(__value0); } - else if (IsChatCompletionRequestToolChoice1) + else if (ChatCompletionRequestToolChoice1 is { } __value1) { - chatCompletionRequestToolChoice1?.Invoke(ChatCompletionRequestToolChoice1!); + chatCompletionRequestToolChoice1?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsChatCompletionRequestToolChoice0) + if (ChatCompletionRequestToolChoice0 is { } __value0) { - chatCompletionRequestToolChoice0?.Invoke(ChatCompletionRequestToolChoice0!); + chatCompletionRequestToolChoice0?.Invoke(__value0); } - else if (IsChatCompletionRequestToolChoice1) + else if (ChatCompletionRequestToolChoice1 is { } __value1) { - chatCompletionRequestToolChoice1?.Invoke(ChatCompletionRequestToolChoice1!); + chatCompletionRequestToolChoice1?.Invoke(__value1); } } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.Models.SpeechToTextTranscribeResponse200.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.Models.SpeechToTextTranscribeResponse200.g.cs index 911149e..24ea24a 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.Models.SpeechToTextTranscribeResponse200.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.Models.SpeechToTextTranscribeResponse200.g.cs @@ -42,8 +42,8 @@ public bool TryPickTranscriptionResponse( /// /// /// - public global::SmallestAI.TranscriptionResponse PickTranscriptionResponse() => IsTranscriptionResponse - ? TranscriptionResponse! + public global::SmallestAI.TranscriptionResponse PickTranscriptionResponse() => TranscriptionResponse is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TranscriptionResponse' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickAsyncAccepted( /// /// /// - public global::SmallestAI.AsyncAccepted PickAsyncAccepted() => IsAsyncAccepted - ? AsyncAccepted! + public global::SmallestAI.AsyncAccepted PickAsyncAccepted() => AsyncAccepted is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'AsyncAccepted' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsTranscriptionResponse && transcriptionResponse != null) + if (TranscriptionResponse is { } __value0 && transcriptionResponse != null) { - return transcriptionResponse(TranscriptionResponse!); + return transcriptionResponse(__value0); } - else if (IsAsyncAccepted && asyncAccepted != null) + else if (AsyncAccepted is { } __value1 && asyncAccepted != null) { - return asyncAccepted(AsyncAccepted!); + return asyncAccepted(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsTranscriptionResponse) + if (TranscriptionResponse is { } __value0) { - transcriptionResponse?.Invoke(TranscriptionResponse!); + transcriptionResponse?.Invoke(__value0); } - else if (IsAsyncAccepted) + else if (AsyncAccepted is { } __value1) { - asyncAccepted?.Invoke(AsyncAccepted!); + asyncAccepted?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsTranscriptionResponse) + if (TranscriptionResponse is { } __value0) { - transcriptionResponse?.Invoke(TranscriptionResponse!); + transcriptionResponse?.Invoke(__value0); } - else if (IsAsyncAccepted) + else if (AsyncAccepted is { } __value1) { - asyncAccepted?.Invoke(AsyncAccepted!); + asyncAccepted?.Invoke(__value1); } } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.CreatePronunciationDict.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.CreatePronunciationDict.g.cs index 58bbfb9..bc8a05a 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.CreatePronunciationDict.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.CreatePronunciationDict.g.cs @@ -180,7 +180,7 @@ partial void ProcessCreatePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -214,7 +214,7 @@ partial void ProcessCreatePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -255,7 +255,7 @@ partial void ProcessCreatePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -303,7 +303,7 @@ partial void ProcessCreatePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -325,7 +325,7 @@ partial void ProcessCreatePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.DeletePronunciationDict.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.DeletePronunciationDict.g.cs index e17551e..6ebecc6 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.DeletePronunciationDict.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.DeletePronunciationDict.g.cs @@ -180,7 +180,7 @@ partial void ProcessDeletePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -214,7 +214,7 @@ partial void ProcessDeletePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -255,7 +255,7 @@ partial void ProcessDeletePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -303,7 +303,7 @@ partial void ProcessDeletePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -325,7 +325,7 @@ partial void ProcessDeletePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.GetPronunciationDicts.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.GetPronunciationDicts.g.cs index 345a74e..6ea261b 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.GetPronunciationDicts.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.GetPronunciationDicts.g.cs @@ -160,7 +160,7 @@ partial void ProcessGetPronunciationDictsResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -194,7 +194,7 @@ partial void ProcessGetPronunciationDictsResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -235,7 +235,7 @@ partial void ProcessGetPronunciationDictsResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -283,7 +283,7 @@ partial void ProcessGetPronunciationDictsResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -305,7 +305,7 @@ partial void ProcessGetPronunciationDictsResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.UpdatePronunciationDict.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.UpdatePronunciationDict.g.cs index 1894a9f..e5c7319 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.UpdatePronunciationDict.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.UpdatePronunciationDict.g.cs @@ -180,7 +180,7 @@ partial void ProcessUpdatePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -214,7 +214,7 @@ partial void ProcessUpdatePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -255,7 +255,7 @@ partial void ProcessUpdatePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -303,7 +303,7 @@ partial void ProcessUpdatePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, @@ -325,7 +325,7 @@ partial void ProcessUpdatePronunciationDictResponseContent( pathTemplate: "\"/waves/v1/pronunciation-dicts\"", 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, diff --git a/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.Transcribe.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.Transcribe.g.cs index 6a424d2..cca4ea7 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.Transcribe.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.Transcribe.g.cs @@ -432,8 +432,8 @@ partial void ProcessTranscribeResponseContent( PrepareTranscribeRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - model: model!, - language: language!, + model: model, + language: language, wordTimestamps: wordTimestamps, diarize: diarize, keywords: keywords, @@ -467,7 +467,7 @@ partial void ProcessTranscribeResponseContent( pathTemplate: "\"/waves/v1/stt/\"", 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, @@ -501,7 +501,7 @@ partial void ProcessTranscribeResponseContent( pathTemplate: "\"/waves/v1/stt/\"", 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, @@ -542,7 +542,7 @@ partial void ProcessTranscribeResponseContent( pathTemplate: "\"/waves/v1/stt/\"", 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, @@ -590,7 +590,7 @@ partial void ProcessTranscribeResponseContent( pathTemplate: "\"/waves/v1/stt/\"", 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, @@ -612,7 +612,7 @@ partial void ProcessTranscribeResponseContent( pathTemplate: "\"/waves/v1/stt/\"", 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/SmallestAI/Generated/SmallestAI.SpeechToTextClient.TranscribeWithJson.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.TranscribeWithJson.g.cs index 4899328..47a510a 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.TranscribeWithJson.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.TranscribeWithJson.g.cs @@ -434,8 +434,8 @@ partial void ProcessTranscribeWithJsonResponseContent( PrepareTranscribeWithJsonRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - model: model!, - language: language!, + model: model, + language: language, wordTimestamps: wordTimestamps, diarize: diarize, keywords: keywords, @@ -469,7 +469,7 @@ partial void ProcessTranscribeWithJsonResponseContent( pathTemplate: "\"/waves/v1/stt/\"", 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, @@ -503,7 +503,7 @@ partial void ProcessTranscribeWithJsonResponseContent( pathTemplate: "\"/waves/v1/stt/\"", 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, @@ -544,7 +544,7 @@ partial void ProcessTranscribeWithJsonResponseContent( pathTemplate: "\"/waves/v1/stt/\"", 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, @@ -592,7 +592,7 @@ partial void ProcessTranscribeWithJsonResponseContent( pathTemplate: "\"/waves/v1/stt/\"", 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, @@ -614,7 +614,7 @@ partial void ProcessTranscribeWithJsonResponseContent( pathTemplate: "\"/waves/v1/stt/\"", 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/SmallestAI/Generated/SmallestAI.TextToSpeechClient.SynthesizeSpeech.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.TextToSpeechClient.SynthesizeSpeech.g.cs index afe99f9..abf1462 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.TextToSpeechClient.SynthesizeSpeech.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.TextToSpeechClient.SynthesizeSpeech.g.cs @@ -341,7 +341,7 @@ partial void ProcessSynthesizeSpeechResponseContent( PrepareSynthesizeSpeechRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - accept: accept!, + accept: accept, xExpireContent: xExpireContent, request: request); @@ -365,7 +365,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/waves/v1/tts\"", 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, @@ -399,7 +399,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/waves/v1/tts\"", 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, @@ -440,7 +440,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/waves/v1/tts\"", 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, @@ -488,7 +488,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/waves/v1/tts\"", 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, @@ -510,7 +510,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/waves/v1/tts\"", 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, @@ -871,7 +871,7 @@ partial void ProcessSynthesizeSpeechResponseContent( PrepareSynthesizeSpeechRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - accept: accept!, + accept: accept, xExpireContent: xExpireContent, request: request); @@ -895,7 +895,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/waves/v1/tts\"", 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, @@ -929,7 +929,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/waves/v1/tts\"", 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, @@ -970,7 +970,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/waves/v1/tts\"", 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, @@ -1018,7 +1018,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/waves/v1/tts\"", 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, @@ -1040,7 +1040,7 @@ partial void ProcessSynthesizeSpeechResponseContent( pathTemplate: "\"/waves/v1/tts\"", 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/SmallestAI/Generated/SmallestAI.TextToSpeechClient.SynthesizeSpeechSse.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.TextToSpeechClient.SynthesizeSpeechSse.g.cs index 01e3728..ec55e9f 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.TextToSpeechClient.SynthesizeSpeechSse.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.TextToSpeechClient.SynthesizeSpeechSse.g.cs @@ -194,7 +194,7 @@ partial void ProcessSynthesizeSpeechSseResponse( pathTemplate: "\"/waves/v1/tts/live\"", 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, @@ -228,7 +228,7 @@ partial void ProcessSynthesizeSpeechSseResponse( pathTemplate: "\"/waves/v1/tts/live\"", 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, @@ -269,7 +269,7 @@ partial void ProcessSynthesizeSpeechSseResponse( pathTemplate: "\"/waves/v1/tts/live\"", 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, @@ -317,7 +317,7 @@ partial void ProcessSynthesizeSpeechSseResponse( pathTemplate: "\"/waves/v1/tts/live\"", 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, @@ -339,7 +339,7 @@ partial void ProcessSynthesizeSpeechSseResponse( pathTemplate: "\"/waves/v1/tts/live\"", 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/SmallestAI/Generated/SmallestAI.VoiceCloningClient.CreateVoiceClone.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.VoiceCloningClient.CreateVoiceClone.g.cs index 26f59fa..459bf64 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.VoiceCloningClient.CreateVoiceClone.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.VoiceCloningClient.CreateVoiceClone.g.cs @@ -261,7 +261,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -295,7 +295,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -336,7 +336,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -384,7 +384,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -406,7 +406,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -959,7 +959,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -993,7 +993,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -1034,7 +1034,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -1082,7 +1082,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -1104,7 +1104,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -1570,7 +1570,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -1604,7 +1604,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -1645,7 +1645,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -1693,7 +1693,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -1715,7 +1715,7 @@ request.Filename is null pathTemplate: "\"/waves/v1/voice-cloning\"", 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/SmallestAI/Generated/SmallestAI.VoiceCloningClient.ListVoiceClones.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.VoiceCloningClient.ListVoiceClones.g.cs index 8fa3459..9ec9c31 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.VoiceCloningClient.ListVoiceClones.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.VoiceCloningClient.ListVoiceClones.g.cs @@ -160,7 +160,7 @@ partial void ProcessListVoiceClonesResponseContent( pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -194,7 +194,7 @@ partial void ProcessListVoiceClonesResponseContent( pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -235,7 +235,7 @@ partial void ProcessListVoiceClonesResponseContent( pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -283,7 +283,7 @@ partial void ProcessListVoiceClonesResponseContent( pathTemplate: "\"/waves/v1/voice-cloning\"", 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, @@ -305,7 +305,7 @@ partial void ProcessListVoiceClonesResponseContent( pathTemplate: "\"/waves/v1/voice-cloning\"", 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/SmallestAI/Generated/SmallestAI.VoicesClient.GetWavesVoices.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.VoicesClient.GetWavesVoices.g.cs index 5b972c4..c68c596 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.VoicesClient.GetWavesVoices.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.VoicesClient.GetWavesVoices.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetWavesVoicesResponseContent( PrepareGetWavesVoicesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - model: model!); + model: model); return __httpRequest; } @@ -183,7 +183,7 @@ partial void ProcessGetWavesVoicesResponseContent( pathTemplate: "$\"/waves/v1/{(global::System.Uri.EscapeDataString(model.ToValueString()))}/get_voices\"", 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, @@ -217,7 +217,7 @@ partial void ProcessGetWavesVoicesResponseContent( pathTemplate: "$\"/waves/v1/{(global::System.Uri.EscapeDataString(model.ToValueString()))}/get_voices\"", 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, @@ -258,7 +258,7 @@ partial void ProcessGetWavesVoicesResponseContent( pathTemplate: "$\"/waves/v1/{(global::System.Uri.EscapeDataString(model.ToValueString()))}/get_voices\"", 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, @@ -306,7 +306,7 @@ partial void ProcessGetWavesVoicesResponseContent( pathTemplate: "$\"/waves/v1/{(global::System.Uri.EscapeDataString(model.ToValueString()))}/get_voices\"", 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, @@ -328,7 +328,7 @@ partial void ProcessGetWavesVoicesResponseContent( pathTemplate: "$\"/waves/v1/{(global::System.Uri.EscapeDataString(model.ToValueString()))}/get_voices\"", 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,