From 93f9cde712317f04c8f442c41270c8bd56357a97 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 13 Sep 2024 01:14:38 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...pInfraApi.CreateVoiceV1VoicesAddPost.g.cs} | 32 ++++++++--------- ...Api.DeleteVoiceV1VoicesVoiceIdDelete.g.cs} | 22 ++++++------ ...pInfraApi.GetVoiceV1VoicesVoiceIdGet.g.cs} | 20 +++++------ ...ra.DeepInfraApi.GetVoicesV1VoicesGet.g.cs} | 20 +++++------ ...ompletionsV1OpenaiChatCompletionsPost.g.cs | 5 +++ ...naiCompletionsV1OpenaiCompletionsPost.g.cs | 5 +++ ...extToSpeechV1TextToSpeechVoiceIdPost.g.cs} | 26 +++++++------- ...i.UpdateVoiceV1VoicesVoiceIdEditPost.g.cs} | 24 ++++++------- ...odels.BodyCreateVoiceV1VoicesAddPost.g.cs} | 2 +- ...teVoiceV1VoicesVoiceIdDeleteResponse.g.cs} | 2 +- ...pInfra.Models.OpenAIChatCompletionsIn.g.cs | 6 ++++ .../DeepInfra.Models.OpenAICompletionsIn.g.cs | 6 ++++ ...echV1TextToSpeechVoiceIdPostResponse.g.cs} | 2 +- .../Generated/JsonSerializerContextTypes.g.cs | 6 ++-- src/libs/DeepInfra/openapi.yaml | 36 +++++++++++-------- 15 files changed, 122 insertions(+), 92 deletions(-) rename src/libs/DeepInfra/Generated/{DeepInfra.DeepInfraApi.CreateVoiceV1ElevenlabsV1VoicesAddPost.g.cs => DeepInfra.DeepInfraApi.CreateVoiceV1VoicesAddPost.g.cs} (80%) rename src/libs/DeepInfra/Generated/{DeepInfra.DeepInfraApi.DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDelete.g.cs => DeepInfra.DeepInfraApi.DeleteVoiceV1VoicesVoiceIdDelete.g.cs} (77%) rename src/libs/DeepInfra/Generated/{DeepInfra.DeepInfraApi.GetVoiceV1ElevenlabsV1VoicesVoiceIdGet.g.cs => DeepInfra.DeepInfraApi.GetVoiceV1VoicesVoiceIdGet.g.cs} (80%) rename src/libs/DeepInfra/Generated/{DeepInfra.DeepInfraApi.GetVoicesV1ElevenlabsV1VoicesGet.g.cs => DeepInfra.DeepInfraApi.GetVoicesV1VoicesGet.g.cs} (80%) rename src/libs/DeepInfra/Generated/{DeepInfra.DeepInfraApi.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPost.g.cs => DeepInfra.DeepInfraApi.TextToSpeechV1TextToSpeechVoiceIdPost.g.cs} (84%) rename src/libs/DeepInfra/Generated/{DeepInfra.DeepInfraApi.UpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPost.g.cs => DeepInfra.DeepInfraApi.UpdateVoiceV1VoicesVoiceIdEditPost.g.cs} (83%) rename src/libs/DeepInfra/Generated/{DeepInfra.Models.BodyCreateVoiceV1ElevenlabsV1VoicesAddPost.g.cs => DeepInfra.Models.BodyCreateVoiceV1VoicesAddPost.g.cs} (94%) rename src/libs/DeepInfra/Generated/{DeepInfra.Models.DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponse.g.cs => DeepInfra.Models.DeleteVoiceV1VoicesVoiceIdDeleteResponse.g.cs} (84%) rename src/libs/DeepInfra/Generated/{DeepInfra.Models.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponse.g.cs => DeepInfra.Models.TextToSpeechV1TextToSpeechVoiceIdPostResponse.g.cs} (84%) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateVoiceV1ElevenlabsV1VoicesAddPost.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateVoiceV1VoicesAddPost.g.cs similarity index 80% rename from src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateVoiceV1ElevenlabsV1VoicesAddPost.g.cs rename to src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateVoiceV1VoicesAddPost.g.cs index 36eb61a..aac4464 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateVoiceV1ElevenlabsV1VoicesAddPost.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateVoiceV1VoicesAddPost.g.cs @@ -6,18 +6,18 @@ namespace DeepInfra { public partial class DeepInfraApi { - partial void PrepareCreateVoiceV1ElevenlabsV1VoicesAddPostArguments( + partial void PrepareCreateVoiceV1VoicesAddPostArguments( global::System.Net.Http.HttpClient httpClient, - global::DeepInfra.BodyCreateVoiceV1ElevenlabsV1VoicesAddPost request); - partial void PrepareCreateVoiceV1ElevenlabsV1VoicesAddPostRequest( + global::DeepInfra.BodyCreateVoiceV1VoicesAddPost request); + partial void PrepareCreateVoiceV1VoicesAddPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::DeepInfra.BodyCreateVoiceV1ElevenlabsV1VoicesAddPost request); - partial void ProcessCreateVoiceV1ElevenlabsV1VoicesAddPostResponse( + global::DeepInfra.BodyCreateVoiceV1VoicesAddPost request); + partial void ProcessCreateVoiceV1VoicesAddPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateVoiceV1ElevenlabsV1VoicesAddPostResponseContent( + partial void ProcessCreateVoiceV1VoicesAddPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,21 +29,21 @@ partial void ProcessCreateVoiceV1ElevenlabsV1VoicesAddPostResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateVoiceV1ElevenlabsV1VoicesAddPostAsync( - global::DeepInfra.BodyCreateVoiceV1ElevenlabsV1VoicesAddPost request, + public async global::System.Threading.Tasks.Task CreateVoiceV1VoicesAddPostAsync( + global::DeepInfra.BodyCreateVoiceV1VoicesAddPost request, global::System.Threading.CancellationToken cancellationToken = default) { request = request ?? throw new global::System.ArgumentNullException(nameof(request)); PrepareArguments( client: _httpClient); - PrepareCreateVoiceV1ElevenlabsV1VoicesAddPostArguments( + PrepareCreateVoiceV1VoicesAddPostArguments( httpClient: _httpClient, request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/v1/elevenlabs/v1/voices/add", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/v1/voices/add", global::System.UriKind.RelativeOrAbsolute)); using var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); __httpRequestContent.Add( content: new global::System.Net.Http.StringContent($"{request.Name}"), @@ -59,7 +59,7 @@ partial void ProcessCreateVoiceV1ElevenlabsV1VoicesAddPostResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareCreateVoiceV1ElevenlabsV1VoicesAddPostRequest( + PrepareCreateVoiceV1VoicesAddPostRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, request: request); @@ -72,7 +72,7 @@ partial void ProcessCreateVoiceV1ElevenlabsV1VoicesAddPostResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessCreateVoiceV1ElevenlabsV1VoicesAddPostResponse( + ProcessCreateVoiceV1VoicesAddPostResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -82,7 +82,7 @@ partial void ProcessCreateVoiceV1ElevenlabsV1VoicesAddPostResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessCreateVoiceV1ElevenlabsV1VoicesAddPostResponseContent( + ProcessCreateVoiceV1VoicesAddPostResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -110,20 +110,20 @@ partial void ProcessCreateVoiceV1ElevenlabsV1VoicesAddPostResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateVoiceV1ElevenlabsV1VoicesAddPostAsync( + public async global::System.Threading.Tasks.Task CreateVoiceV1VoicesAddPostAsync( string name, string description, global::System.Collections.Generic.IList files, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::DeepInfra.BodyCreateVoiceV1ElevenlabsV1VoicesAddPost + var request = new global::DeepInfra.BodyCreateVoiceV1VoicesAddPost { Name = name, Description = description, Files = files, }; - return await CreateVoiceV1ElevenlabsV1VoicesAddPostAsync( + return await CreateVoiceV1VoicesAddPostAsync( request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDelete.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteVoiceV1VoicesVoiceIdDelete.g.cs similarity index 77% rename from src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDelete.g.cs rename to src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteVoiceV1VoicesVoiceIdDelete.g.cs index b1ff520..1867007 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDelete.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteVoiceV1VoicesVoiceIdDelete.g.cs @@ -5,18 +5,18 @@ namespace DeepInfra { public partial class DeepInfraApi { - partial void PrepareDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteArguments( + partial void PrepareDeleteVoiceV1VoicesVoiceIdDeleteArguments( global::System.Net.Http.HttpClient httpClient, ref string voiceId); - partial void PrepareDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteRequest( + partial void PrepareDeleteVoiceV1VoicesVoiceIdDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string voiceId); - partial void ProcessDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponse( + partial void ProcessDeleteVoiceV1VoicesVoiceIdDeleteResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponseContent( + partial void ProcessDeleteVoiceV1VoicesVoiceIdDeleteResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -27,24 +27,24 @@ partial void ProcessDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteAsync( + public async global::System.Threading.Tasks.Task DeleteVoiceV1VoicesVoiceIdDeleteAsync( string voiceId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteArguments( + PrepareDeleteVoiceV1VoicesVoiceIdDeleteArguments( httpClient: _httpClient, voiceId: ref voiceId); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/elevenlabs/v1/voices/{voiceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/voices/{voiceId}", global::System.UriKind.RelativeOrAbsolute)); PrepareRequest( client: _httpClient, request: httpRequest); - PrepareDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteRequest( + PrepareDeleteVoiceV1VoicesVoiceIdDeleteRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, voiceId: voiceId); @@ -57,7 +57,7 @@ partial void ProcessDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponse( + ProcessDeleteVoiceV1VoicesVoiceIdDeleteResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -67,7 +67,7 @@ partial void ProcessDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponseContent( + ProcessDeleteVoiceV1VoicesVoiceIdDeleteResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -82,7 +82,7 @@ partial void ProcessDeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::DeepInfra.SourceGenerationContext.Default.DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponse) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::DeepInfra.SourceGenerationContext.Default.DeleteVoiceV1VoicesVoiceIdDeleteResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoiceV1ElevenlabsV1VoicesVoiceIdGet.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoiceV1VoicesVoiceIdGet.g.cs similarity index 80% rename from src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoiceV1ElevenlabsV1VoicesVoiceIdGet.g.cs rename to src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoiceV1VoicesVoiceIdGet.g.cs index 6bc2a41..86dcac0 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoiceV1ElevenlabsV1VoicesVoiceIdGet.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoiceV1VoicesVoiceIdGet.g.cs @@ -5,18 +5,18 @@ namespace DeepInfra { public partial class DeepInfraApi { - partial void PrepareGetVoiceV1ElevenlabsV1VoicesVoiceIdGetArguments( + partial void PrepareGetVoiceV1VoicesVoiceIdGetArguments( global::System.Net.Http.HttpClient httpClient, ref string voiceId); - partial void PrepareGetVoiceV1ElevenlabsV1VoicesVoiceIdGetRequest( + partial void PrepareGetVoiceV1VoicesVoiceIdGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string voiceId); - partial void ProcessGetVoiceV1ElevenlabsV1VoicesVoiceIdGetResponse( + partial void ProcessGetVoiceV1VoicesVoiceIdGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGetVoiceV1ElevenlabsV1VoicesVoiceIdGetResponseContent( + partial void ProcessGetVoiceV1VoicesVoiceIdGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -28,24 +28,24 @@ partial void ProcessGetVoiceV1ElevenlabsV1VoicesVoiceIdGetResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task GetVoiceV1ElevenlabsV1VoicesVoiceIdGetAsync( + public async global::System.Threading.Tasks.Task GetVoiceV1VoicesVoiceIdGetAsync( string voiceId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareGetVoiceV1ElevenlabsV1VoicesVoiceIdGetArguments( + PrepareGetVoiceV1VoicesVoiceIdGetArguments( httpClient: _httpClient, voiceId: ref voiceId); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/elevenlabs/v1/voices/{voiceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/voices/{voiceId}", global::System.UriKind.RelativeOrAbsolute)); PrepareRequest( client: _httpClient, request: httpRequest); - PrepareGetVoiceV1ElevenlabsV1VoicesVoiceIdGetRequest( + PrepareGetVoiceV1VoicesVoiceIdGetRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, voiceId: voiceId); @@ -58,7 +58,7 @@ partial void ProcessGetVoiceV1ElevenlabsV1VoicesVoiceIdGetResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessGetVoiceV1ElevenlabsV1VoicesVoiceIdGetResponse( + ProcessGetVoiceV1VoicesVoiceIdGetResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -68,7 +68,7 @@ partial void ProcessGetVoiceV1ElevenlabsV1VoicesVoiceIdGetResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessGetVoiceV1ElevenlabsV1VoicesVoiceIdGetResponseContent( + ProcessGetVoiceV1VoicesVoiceIdGetResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoicesV1ElevenlabsV1VoicesGet.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoicesV1VoicesGet.g.cs similarity index 80% rename from src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoicesV1ElevenlabsV1VoicesGet.g.cs rename to src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoicesV1VoicesGet.g.cs index 280d549..27d3212 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoicesV1ElevenlabsV1VoicesGet.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoicesV1VoicesGet.g.cs @@ -5,16 +5,16 @@ namespace DeepInfra { public partial class DeepInfraApi { - partial void PrepareGetVoicesV1ElevenlabsV1VoicesGetArguments( + partial void PrepareGetVoicesV1VoicesGetArguments( global::System.Net.Http.HttpClient httpClient); - partial void PrepareGetVoicesV1ElevenlabsV1VoicesGetRequest( + partial void PrepareGetVoicesV1VoicesGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage); - partial void ProcessGetVoicesV1ElevenlabsV1VoicesGetResponse( + partial void ProcessGetVoicesV1VoicesGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGetVoicesV1ElevenlabsV1VoicesGetResponseContent( + partial void ProcessGetVoicesV1VoicesGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -25,22 +25,22 @@ partial void ProcessGetVoicesV1ElevenlabsV1VoicesGetResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task GetVoicesV1ElevenlabsV1VoicesGetAsync( + public async global::System.Threading.Tasks.Task GetVoicesV1VoicesGetAsync( global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareGetVoicesV1ElevenlabsV1VoicesGetArguments( + PrepareGetVoicesV1VoicesGetArguments( httpClient: _httpClient); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/v1/elevenlabs/v1/voices", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/v1/voices", global::System.UriKind.RelativeOrAbsolute)); PrepareRequest( client: _httpClient, request: httpRequest); - PrepareGetVoicesV1ElevenlabsV1VoicesGetRequest( + PrepareGetVoicesV1VoicesGetRequest( httpClient: _httpClient, httpRequestMessage: httpRequest); @@ -52,7 +52,7 @@ partial void ProcessGetVoicesV1ElevenlabsV1VoicesGetResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessGetVoicesV1ElevenlabsV1VoicesGetResponse( + ProcessGetVoicesV1VoicesGetResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -62,7 +62,7 @@ partial void ProcessGetVoicesV1ElevenlabsV1VoicesGetResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessGetVoicesV1ElevenlabsV1VoicesGetResponseContent( + ProcessGetVoicesV1VoicesGetResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletionsV1OpenaiChatCompletionsPost.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletionsV1OpenaiChatCompletionsPost.g.cs index fa38eb8..54ed3d2 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletionsV1OpenaiChatCompletionsPost.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletionsV1OpenaiChatCompletionsPost.g.cs @@ -176,6 +176,9 @@ partial void ProcessOpenaiChatCompletionsV1OpenaiChatCompletionsPostResponseCont /// Alternative penalty for repetition, but multiplicative instead of additive (> 1 penalize, < 1 encourage)
/// Default Value: 1 /// + /// + /// A unique identifier representing your end-user, which can help monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task OpenaiChatCompletionsV1OpenaiChatCompletionsPostAsync( @@ -197,6 +200,7 @@ partial void ProcessOpenaiChatCompletionsV1OpenaiChatCompletionsPostResponseCont string? toolChoice = default, global::System.AllOf? responseFormat = default, double repetitionPenalty = 1, + string? user = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::DeepInfra.OpenAIChatCompletionsIn @@ -216,6 +220,7 @@ partial void ProcessOpenaiChatCompletionsV1OpenaiChatCompletionsPostResponseCont ToolChoice = toolChoice, ResponseFormat = responseFormat, RepetitionPenalty = repetitionPenalty, + User = user, }; return await OpenaiChatCompletionsV1OpenaiChatCompletionsPostAsync( diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletionsV1OpenaiCompletionsPost.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletionsV1OpenaiCompletionsPost.g.cs index c592074..11b6d0b 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletionsV1OpenaiCompletionsPost.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletionsV1OpenaiCompletionsPost.g.cs @@ -177,6 +177,9 @@ partial void ProcessOpenaiCompletionsV1OpenaiCompletionsPostResponseContent( /// Alternative penalty for repetition, but multiplicative instead of additive (> 1 penalize, < 1 encourage)
/// Default Value: 1 /// + /// + /// A unique identifier representing your end-user, which can help monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task OpenaiCompletionsV1OpenaiCompletionsPostAsync( @@ -198,6 +201,7 @@ partial void ProcessOpenaiCompletionsV1OpenaiCompletionsPostResponseContent( double frequencyPenalty = 0, global::System.AllOf? responseFormat = default, double repetitionPenalty = 1, + string? user = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::DeepInfra.OpenAICompletionsIn @@ -217,6 +221,7 @@ partial void ProcessOpenaiCompletionsV1OpenaiCompletionsPostResponseContent( FrequencyPenalty = frequencyPenalty, ResponseFormat = responseFormat, RepetitionPenalty = repetitionPenalty, + User = user, }; return await OpenaiCompletionsV1OpenaiCompletionsPostAsync( diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPost.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeechV1TextToSpeechVoiceIdPost.g.cs similarity index 84% rename from src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPost.g.cs rename to src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeechV1TextToSpeechVoiceIdPost.g.cs index b9e35e2..7a65e03 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPost.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeechV1TextToSpeechVoiceIdPost.g.cs @@ -5,22 +5,22 @@ namespace DeepInfra { public partial class DeepInfraApi { - partial void PrepareTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostArguments( + partial void PrepareTextToSpeechV1TextToSpeechVoiceIdPostArguments( global::System.Net.Http.HttpClient httpClient, ref string voiceId, ref string? xDeepinfraSource, global::DeepInfra.ElevenLabsTextToSpeechIn request); - partial void PrepareTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostRequest( + partial void PrepareTextToSpeechV1TextToSpeechVoiceIdPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string voiceId, string? xDeepinfraSource, global::DeepInfra.ElevenLabsTextToSpeechIn request); - partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponse( + partial void ProcessTextToSpeechV1TextToSpeechVoiceIdPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseContent( + partial void ProcessTextToSpeechV1TextToSpeechVoiceIdPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -33,7 +33,7 @@ partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseCon /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostAsync( + public async global::System.Threading.Tasks.Task TextToSpeechV1TextToSpeechVoiceIdPostAsync( string voiceId, global::DeepInfra.ElevenLabsTextToSpeechIn request, string? xDeepinfraSource = default, @@ -43,7 +43,7 @@ partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseCon PrepareArguments( client: _httpClient); - PrepareTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostArguments( + PrepareTextToSpeechV1TextToSpeechVoiceIdPostArguments( httpClient: _httpClient, voiceId: ref voiceId, xDeepinfraSource: ref xDeepinfraSource, @@ -51,7 +51,7 @@ partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseCon using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/elevenlabs/v1/text-to-speech/{voiceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/text-to-speech/{voiceId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, global::DeepInfra.SourceGenerationContext.Default.ElevenLabsTextToSpeechIn); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, @@ -62,7 +62,7 @@ partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseCon PrepareRequest( client: _httpClient, request: httpRequest); - PrepareTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostRequest( + PrepareTextToSpeechV1TextToSpeechVoiceIdPostRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, voiceId: voiceId, @@ -77,7 +77,7 @@ partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseCon ProcessResponse( client: _httpClient, response: response); - ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponse( + ProcessTextToSpeechV1TextToSpeechVoiceIdPostResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -87,7 +87,7 @@ partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseCon client: _httpClient, response: response, content: ref __content); - ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseContent( + ProcessTextToSpeechV1TextToSpeechVoiceIdPostResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -102,7 +102,7 @@ partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseCon } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::DeepInfra.SourceGenerationContext.Default.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponse) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::DeepInfra.SourceGenerationContext.Default.TextToSpeechV1TextToSpeechVoiceIdPostResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } @@ -131,7 +131,7 @@ partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseCon /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostAsync( + public async global::System.Threading.Tasks.Task TextToSpeechV1TextToSpeechVoiceIdPostAsync( string voiceId, string text, string? xDeepinfraSource = default, @@ -148,7 +148,7 @@ partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseCon LanguageCode = languageCode, }; - return await TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostAsync( + return await TextToSpeechV1TextToSpeechVoiceIdPostAsync( voiceId: voiceId, xDeepinfraSource: xDeepinfraSource, request: request, diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPost.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateVoiceV1VoicesVoiceIdEditPost.g.cs similarity index 83% rename from src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPost.g.cs rename to src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateVoiceV1VoicesVoiceIdEditPost.g.cs index df89d8d..7eca490 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPost.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateVoiceV1VoicesVoiceIdEditPost.g.cs @@ -5,20 +5,20 @@ namespace DeepInfra { public partial class DeepInfraApi { - partial void PrepareUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostArguments( + partial void PrepareUpdateVoiceV1VoicesVoiceIdEditPostArguments( global::System.Net.Http.HttpClient httpClient, ref string voiceId, global::DeepInfra.UpdateVoiceIn request); - partial void PrepareUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostRequest( + partial void PrepareUpdateVoiceV1VoicesVoiceIdEditPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string voiceId, global::DeepInfra.UpdateVoiceIn request); - partial void ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponse( + partial void ProcessUpdateVoiceV1VoicesVoiceIdEditPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponseContent( + partial void ProcessUpdateVoiceV1VoicesVoiceIdEditPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -30,7 +30,7 @@ partial void ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponseConten /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task UpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostAsync( + public async global::System.Threading.Tasks.Task UpdateVoiceV1VoicesVoiceIdEditPostAsync( string voiceId, global::DeepInfra.UpdateVoiceIn request, global::System.Threading.CancellationToken cancellationToken = default) @@ -39,14 +39,14 @@ partial void ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponseConten PrepareArguments( client: _httpClient); - PrepareUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostArguments( + PrepareUpdateVoiceV1VoicesVoiceIdEditPostArguments( httpClient: _httpClient, voiceId: ref voiceId, request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/elevenlabs/v1/voices/{voiceId}/edit", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/voices/{voiceId}/edit", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, global::DeepInfra.SourceGenerationContext.Default.UpdateVoiceIn); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, @@ -57,7 +57,7 @@ partial void ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponseConten PrepareRequest( client: _httpClient, request: httpRequest); - PrepareUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostRequest( + PrepareUpdateVoiceV1VoicesVoiceIdEditPostRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, voiceId: voiceId, @@ -71,7 +71,7 @@ partial void ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponseConten ProcessResponse( client: _httpClient, response: response); - ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponse( + ProcessUpdateVoiceV1VoicesVoiceIdEditPostResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -81,7 +81,7 @@ partial void ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponseConten client: _httpClient, response: response, content: ref __content); - ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponseContent( + ProcessUpdateVoiceV1VoicesVoiceIdEditPostResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -108,7 +108,7 @@ partial void ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponseConten /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task UpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostAsync( + public async global::System.Threading.Tasks.Task UpdateVoiceV1VoicesVoiceIdEditPostAsync( string voiceId, string name, string description, @@ -120,7 +120,7 @@ partial void ProcessUpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostResponseConten Description = description, }; - return await UpdateVoiceV1ElevenlabsV1VoicesVoiceIdEditPostAsync( + return await UpdateVoiceV1VoicesVoiceIdEditPostAsync( voiceId: voiceId, request: request, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.BodyCreateVoiceV1ElevenlabsV1VoicesAddPost.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.BodyCreateVoiceV1VoicesAddPost.g.cs similarity index 94% rename from src/libs/DeepInfra/Generated/DeepInfra.Models.BodyCreateVoiceV1ElevenlabsV1VoicesAddPost.g.cs rename to src/libs/DeepInfra/Generated/DeepInfra.Models.BodyCreateVoiceV1VoicesAddPost.g.cs index c299fca..315b341 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.BodyCreateVoiceV1ElevenlabsV1VoicesAddPost.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.BodyCreateVoiceV1VoicesAddPost.g.cs @@ -6,7 +6,7 @@ namespace DeepInfra /// /// /// - public sealed partial class BodyCreateVoiceV1ElevenlabsV1VoicesAddPost + public sealed partial class BodyCreateVoiceV1VoicesAddPost { /// /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponse.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.DeleteVoiceV1VoicesVoiceIdDeleteResponse.g.cs similarity index 84% rename from src/libs/DeepInfra/Generated/DeepInfra.Models.DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponse.g.cs rename to src/libs/DeepInfra/Generated/DeepInfra.Models.DeleteVoiceV1VoicesVoiceIdDeleteResponse.g.cs index afd9708..f17d7da 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponse.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.DeleteVoiceV1VoicesVoiceIdDeleteResponse.g.cs @@ -6,7 +6,7 @@ namespace DeepInfra /// /// /// - public sealed partial class DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponse + public sealed partial class DeleteVoiceV1VoicesVoiceIdDeleteResponse { /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs index 4fd0b94..0ba7ceb 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAIChatCompletionsIn.g.cs @@ -113,6 +113,12 @@ public sealed partial class OpenAIChatCompletionsIn [global::System.Text.Json.Serialization.JsonPropertyName("repetition_penalty")] public double RepetitionPenalty { get; set; } = 1; + /// + /// A unique identifier representing your end-user, which can help monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + public string? User { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs index bd12bf6..9ff13df 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.OpenAICompletionsIn.g.cs @@ -114,6 +114,12 @@ public sealed partial class OpenAICompletionsIn [global::System.Text.Json.Serialization.JsonPropertyName("repetition_penalty")] public double RepetitionPenalty { get; set; } = 1; + /// + /// A unique identifier representing your end-user, which can help monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + public string? User { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponse.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.TextToSpeechV1TextToSpeechVoiceIdPostResponse.g.cs similarity index 84% rename from src/libs/DeepInfra/Generated/DeepInfra.Models.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponse.g.cs rename to src/libs/DeepInfra/Generated/DeepInfra.Models.TextToSpeechV1TextToSpeechVoiceIdPostResponse.g.cs index 5179c25..5ab8c72 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponse.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.TextToSpeechV1TextToSpeechVoiceIdPostResponse.g.cs @@ -6,7 +6,7 @@ namespace DeepInfra /// /// /// - public sealed partial class TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponse + public sealed partial class TextToSpeechV1TextToSpeechVoiceIdPostResponse { /// diff --git a/src/libs/DeepInfra/Generated/JsonSerializerContextTypes.g.cs b/src/libs/DeepInfra/Generated/JsonSerializerContextTypes.g.cs index ceb2980..5397649 100644 --- a/src/libs/DeepInfra/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/DeepInfra/Generated/JsonSerializerContextTypes.g.cs @@ -125,7 +125,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::DeepInfra.BodyCreateVoiceV1ElevenlabsV1VoicesAddPost? Type28 { get; set; } + public global::DeepInfra.BodyCreateVoiceV1VoicesAddPost? Type28 { get; set; } /// /// /// @@ -781,11 +781,11 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::DeepInfra.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponse? Type192 { get; set; } + public global::DeepInfra.TextToSpeechV1TextToSpeechVoiceIdPostResponse? Type192 { get; set; } /// /// /// - public global::DeepInfra.DeleteVoiceV1ElevenlabsV1VoicesVoiceIdDeleteResponse? Type193 { get; set; } + public global::DeepInfra.DeleteVoiceV1VoicesVoiceIdDeleteResponse? Type193 { get; set; } /// /// /// diff --git a/src/libs/DeepInfra/openapi.yaml b/src/libs/DeepInfra/openapi.yaml index 6a0905d..739b607 100644 --- a/src/libs/DeepInfra/openapi.yaml +++ b/src/libs/DeepInfra/openapi.yaml @@ -1383,11 +1383,11 @@ paths: $ref: '#/components/schemas/HTTPValidationError' security: - HTTPBearer: [ ] - /v1/elevenlabs/v1/voices: + /v1/voices: get: summary: Get Voices description: Get available voices for a given user - operationId: get_voices_v1_elevenlabs_v1_voices_get + operationId: get_voices_v1_voices_get responses: '200': description: Successful Response @@ -1403,10 +1403,10 @@ paths: $ref: '#/components/schemas/DeepError' security: - HTTPBearer: [ ] - '/v1/elevenlabs/v1/text-to-speech/{voice_id}': + '/v1/text-to-speech/{voice_id}': post: summary: Text To Speech - operationId: text_to_speech_v1_elevenlabs_v1_text_to_speech__voice_id__post + operationId: text_to_speech_v1_text_to_speech__voice_id__post parameters: - name: voice_id in: path @@ -1439,11 +1439,11 @@ paths: $ref: '#/components/schemas/HTTPValidationError' security: - HTTPBearer: [ ] - '/v1/elevenlabs/v1/voices/{voice_id}': + '/v1/voices/{voice_id}': get: summary: Get Voice description: Get a voice by its id - operationId: get_voice_v1_elevenlabs_v1_voices__voice_id__get + operationId: get_voice_v1_voices__voice_id__get parameters: - name: voice_id in: path @@ -1474,7 +1474,7 @@ paths: - HTTPBearer: [ ] delete: summary: Delete Voice - operationId: delete_voice_v1_elevenlabs_v1_voices__voice_id__delete + operationId: delete_voice_v1_voices__voice_id__delete parameters: - name: voice_id in: path @@ -1508,16 +1508,16 @@ paths: $ref: '#/components/schemas/HTTPValidationError' security: - HTTPBearer: [ ] - /v1/elevenlabs/v1/voices/add: + /v1/voices/add: post: summary: Create Voice description: Create a new voice - operationId: create_voice_v1_elevenlabs_v1_voices_add_post + operationId: create_voice_v1_voices_add_post requestBody: content: multipart/form-data: schema: - $ref: '#/components/schemas/Body_create_voice_v1_elevenlabs_v1_voices_add_post' + $ref: '#/components/schemas/Body_create_voice_v1_voices_add_post' required: true responses: '200': @@ -1540,10 +1540,10 @@ paths: $ref: '#/components/schemas/HTTPValidationError' security: - HTTPBearer: [ ] - '/v1/elevenlabs/v1/voices/{voice_id}/edit': + '/v1/voices/{voice_id}/edit': post: summary: Update Voice - operationId: update_voice_v1_elevenlabs_v1_voices__voice_id__edit_post + operationId: update_voice_v1_voices__voice_id__edit_post parameters: - name: voice_id in: path @@ -2261,8 +2261,8 @@ components: name: title: Name type: string - Body_create_voice_v1_elevenlabs_v1_voices_add_post: - title: Body_create_voice_v1_elevenlabs_v1_voices_add_post + Body_create_voice_v1_voices_add_post: + title: Body_create_voice_v1_voices_add_post required: - name - description @@ -3717,6 +3717,10 @@ components: type: number description: 'Alternative penalty for repetition, but multiplicative instead of additive (> 1 penalize, < 1 encourage)' default: 1 + user: + title: User + type: string + description: 'A unique identifier representing your end-user, which can help monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers.' OpenAICompletionsIn: title: OpenAICompletionsIn required: @@ -3814,6 +3818,10 @@ components: type: number description: 'Alternative penalty for repetition, but multiplicative instead of additive (> 1 penalize, < 1 encourage)' default: 1 + user: + title: User + type: string + description: 'A unique identifier representing your end-user, which can help monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers.' OpenAIEmbeddingsIn: title: OpenAIEmbeddingsIn required: