From 3370cc2ad6fe0d7f3e65ffdbe819375e94b68c16 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 28 Aug 2024 21:16:45 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...eepInfraApi.DeployListDeployListGet2.g.cs} | 18 ++-- .../DeepInfra.Models.ModelDocBlockKey.g.cs | 90 +++++++++++++++++++ .../DeepInfra.Models.SchemaVariantKey.g.cs | 30 +++++++ .../DeepInfra.Models.TimeInterval.g.cs | 4 +- src/libs/DeepInfra/openapi.yaml | 20 +++++ 5 files changed, 151 insertions(+), 11 deletions(-) rename src/libs/DeepInfra/Generated/{DeepInfra.DeepInfraApi.DeployListDeployListGet.g.cs => DeepInfra.DeepInfraApi.DeployListDeployListGet2.g.cs} (87%) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployListDeployListGet.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployListDeployListGet2.g.cs similarity index 87% rename from src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployListDeployListGet.g.cs rename to src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployListDeployListGet2.g.cs index 55e43b9..39b5aa2 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployListDeployListGet.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployListDeployListGet2.g.cs @@ -5,18 +5,18 @@ namespace DeepInfra { public partial class DeepInfraApi { - partial void PrepareDeployListDeployListGetArguments( + partial void PrepareDeployListDeployListGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string? status); - partial void PrepareDeployListDeployListGetRequest( + partial void PrepareDeployListDeployListGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? status); - partial void ProcessDeployListDeployListGetResponse( + partial void ProcessDeployListDeployListGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessDeployListDeployListGetResponseContent( + partial void ProcessDeployListDeployListGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessDeployListDeployListGetResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> DeployListDeployListGetAsync( + public async global::System.Threading.Tasks.Task> DeployListDeployListGet2Async( string? status, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareDeployListDeployListGetArguments( + PrepareDeployListDeployListGet2Arguments( httpClient: _httpClient, status: ref status); @@ -46,7 +46,7 @@ partial void ProcessDeployListDeployListGetResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareDeployListDeployListGetRequest( + PrepareDeployListDeployListGet2Request( httpClient: _httpClient, httpRequestMessage: httpRequest, status: status); @@ -59,7 +59,7 @@ partial void ProcessDeployListDeployListGetResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessDeployListDeployListGetResponse( + ProcessDeployListDeployListGet2Response( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessDeployListDeployListGetResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessDeployListDeployListGetResponseContent( + ProcessDeployListDeployListGet2ResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelDocBlockKey.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelDocBlockKey.g.cs index 35e37a5..f131f3c 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelDocBlockKey.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelDocBlockKey.g.cs @@ -68,6 +68,66 @@ public enum ModelDocBlockKey /// /// OpenaiEmbJs, + /// + /// + /// + CreateVoiceHttp, + /// + /// + /// + CreateVoicePython, + /// + /// + /// + CreateVoiceJs, + /// + /// + /// + ReadVoiceHttp, + /// + /// + /// + ReadVoicePython, + /// + /// + /// + ReadVoiceJs, + /// + /// + /// + UpdateVoiceHttp, + /// + /// + /// + UpdateVoicePython, + /// + /// + /// + UpdateVoiceJs, + /// + /// + /// + DeleteVoiceHttp, + /// + /// + /// + DeleteVoicePython, + /// + /// + /// + DeleteVoiceJs, + /// + /// + /// + ListVoicesHttp, + /// + /// + /// + ListVoicesPython, + /// + /// + /// + ListVoicesJs, } /// @@ -97,6 +157,21 @@ public static string ToValueString(this ModelDocBlockKey value) ModelDocBlockKey.OpenaiEmbPy => "openai-emb-py", ModelDocBlockKey.OpenaiEmbHttp => "openai-emb-http", ModelDocBlockKey.OpenaiEmbJs => "openai-emb-js", + ModelDocBlockKey.CreateVoiceHttp => "create-voice-http", + ModelDocBlockKey.CreateVoicePython => "create-voice-python", + ModelDocBlockKey.CreateVoiceJs => "create-voice-js", + ModelDocBlockKey.ReadVoiceHttp => "read-voice-http", + ModelDocBlockKey.ReadVoicePython => "read-voice-python", + ModelDocBlockKey.ReadVoiceJs => "read-voice-js", + ModelDocBlockKey.UpdateVoiceHttp => "update-voice-http", + ModelDocBlockKey.UpdateVoicePython => "update-voice-python", + ModelDocBlockKey.UpdateVoiceJs => "update-voice-js", + ModelDocBlockKey.DeleteVoiceHttp => "delete-voice-http", + ModelDocBlockKey.DeleteVoicePython => "delete-voice-python", + ModelDocBlockKey.DeleteVoiceJs => "delete-voice-js", + ModelDocBlockKey.ListVoicesHttp => "list-voices-http", + ModelDocBlockKey.ListVoicesPython => "list-voices-python", + ModelDocBlockKey.ListVoicesJs => "list-voices-js", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -122,6 +197,21 @@ public static string ToValueString(this ModelDocBlockKey value) "openai-emb-py" => ModelDocBlockKey.OpenaiEmbPy, "openai-emb-http" => ModelDocBlockKey.OpenaiEmbHttp, "openai-emb-js" => ModelDocBlockKey.OpenaiEmbJs, + "create-voice-http" => ModelDocBlockKey.CreateVoiceHttp, + "create-voice-python" => ModelDocBlockKey.CreateVoicePython, + "create-voice-js" => ModelDocBlockKey.CreateVoiceJs, + "read-voice-http" => ModelDocBlockKey.ReadVoiceHttp, + "read-voice-python" => ModelDocBlockKey.ReadVoicePython, + "read-voice-js" => ModelDocBlockKey.ReadVoiceJs, + "update-voice-http" => ModelDocBlockKey.UpdateVoiceHttp, + "update-voice-python" => ModelDocBlockKey.UpdateVoicePython, + "update-voice-js" => ModelDocBlockKey.UpdateVoiceJs, + "delete-voice-http" => ModelDocBlockKey.DeleteVoiceHttp, + "delete-voice-python" => ModelDocBlockKey.DeleteVoicePython, + "delete-voice-js" => ModelDocBlockKey.DeleteVoiceJs, + "list-voices-http" => ModelDocBlockKey.ListVoicesHttp, + "list-voices-python" => ModelDocBlockKey.ListVoicesPython, + "list-voices-js" => ModelDocBlockKey.ListVoicesJs, _ => null, }; } diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.SchemaVariantKey.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.SchemaVariantKey.g.cs index f25249e..8dc57bc 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.SchemaVariantKey.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.SchemaVariantKey.g.cs @@ -24,6 +24,26 @@ public enum SchemaVariantKey /// /// OpenaiEmbeddings, + /// + /// + /// + CreateVoice, + /// + /// + /// + ReadVoice, + /// + /// + /// + UpdateVoice, + /// + /// + /// + DeleteVoice, + /// + /// + /// + ListVoices, } /// @@ -42,6 +62,11 @@ public static string ToValueString(this SchemaVariantKey value) SchemaVariantKey.OpenaiCompletions => "openai-completions", SchemaVariantKey.OpenaiChatCompletions => "openai-chat-completions", SchemaVariantKey.OpenaiEmbeddings => "openai-embeddings", + SchemaVariantKey.CreateVoice => "create-voice", + SchemaVariantKey.ReadVoice => "read-voice", + SchemaVariantKey.UpdateVoice => "update-voice", + SchemaVariantKey.DeleteVoice => "delete-voice", + SchemaVariantKey.ListVoices => "list-voices", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +81,11 @@ public static string ToValueString(this SchemaVariantKey value) "openai-completions" => SchemaVariantKey.OpenaiCompletions, "openai-chat-completions" => SchemaVariantKey.OpenaiChatCompletions, "openai-embeddings" => SchemaVariantKey.OpenaiEmbeddings, + "create-voice" => SchemaVariantKey.CreateVoice, + "read-voice" => SchemaVariantKey.ReadVoice, + "update-voice" => SchemaVariantKey.UpdateVoice, + "delete-voice" => SchemaVariantKey.DeleteVoice, + "list-voices" => SchemaVariantKey.ListVoices, _ => null, }; } diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.TimeInterval.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.TimeInterval.g.cs index 5246522..a0ce1db 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.TimeInterval.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.TimeInterval.g.cs @@ -15,10 +15,10 @@ public sealed partial class TimeInterval public int Fr { get; set; } = 0; /// - /// Default Value: 4000000000000 + /// Default Value: 4000000000000L /// [global::System.Text.Json.Serialization.JsonPropertyName("to")] - public long To { get; set; } = 4000000000000; + public long To { get; set; } = 4000000000000L; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/DeepInfra/openapi.yaml b/src/libs/DeepInfra/openapi.yaml index 740b635..ce3c6fb 100644 --- a/src/libs/DeepInfra/openapi.yaml +++ b/src/libs/DeepInfra/openapi.yaml @@ -3156,6 +3156,21 @@ components: - openai-emb-py - openai-emb-http - openai-emb-js + - create-voice-http + - create-voice-python + - create-voice-js + - read-voice-http + - read-voice-python + - read-voice-js + - update-voice-http + - update-voice-python + - update-voice-js + - delete-voice-http + - delete-voice-python + - delete-voice-js + - list-voices-http + - list-voices-python + - list-voices-js type: string description: An enumeration. ModelFieldInfo: @@ -4004,6 +4019,11 @@ components: - openai-completions - openai-chat-completions - openai-embeddings + - create-voice + - read-voice + - update-voice + - delete-voice + - list-voices type: string description: An enumeration. TimeDeploymentStatsOut: