From 159c9109ed06e72837e67ade6cfd5e710beac2fe Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 20 Sep 2024 06:26:45 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Ideogram.GenerateClient.PostRemixImage.g.cs | 6 ++---- .../Ideogram.IGenerateClient.PostRemixImage.g.cs | 6 ++---- ...ogram.Models.ManageApiSubscriptionResponse.g.cs | 4 ++-- .../Ideogram.Models.PostApiReactivateResponse.g.cs | 4 ++-- ...deogram.Models.PostApiSubscriptionResponse.g.cs | 4 ++-- .../Ideogram.Models.RemixImageRequest.g.cs | 4 ++-- .../Generated/JsonSerializerContextTypes.g.cs | 14 +++++++------- 7 files changed, 19 insertions(+), 23 deletions(-) diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImage.g.cs index 323811b..91b83b3 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImage.g.cs @@ -116,9 +116,7 @@ partial void ProcessPostRemixImageResponseContent( /// are cropped to the chosen aspect ratio before being remixed.
/// Supported image formats include JPEG, PNG, and WEBP /// - /// - /// A request to generate a new image using a provided image and a prompt. - /// + /// /// /// An image binary; only JPEG, WEBPs and PNGs are supported at this time /// @@ -128,7 +126,7 @@ partial void ProcessPostRemixImageResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task PostRemixImageAsync( - global::Ideogram.InitialImageRequest imageRequest, + global::Ideogram.ImageRequest imageRequest, byte[] imageFile, string imageFilename, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/Ideogram/Generated/Ideogram.IGenerateClient.PostRemixImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.IGenerateClient.PostRemixImage.g.cs index bce3d7f..d701b23 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IGenerateClient.PostRemixImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IGenerateClient.PostRemixImage.g.cs @@ -23,9 +23,7 @@ public partial interface IGenerateClient /// are cropped to the chosen aspect ratio before being remixed.
/// Supported image formats include JPEG, PNG, and WEBP /// - /// - /// A request to generate a new image using a provided image and a prompt. - /// + /// /// /// An image binary; only JPEG, WEBPs and PNGs are supported at this time /// @@ -35,7 +33,7 @@ public partial interface IGenerateClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task PostRemixImageAsync( - global::Ideogram.InitialImageRequest imageRequest, + global::Ideogram.ImageRequest imageRequest, byte[] imageFile, string imageFilename, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ManageApiSubscriptionResponse.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ManageApiSubscriptionResponse.g.cs index 7e44d1d..1c0010a 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.ManageApiSubscriptionResponse.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.ManageApiSubscriptionResponse.g.cs @@ -43,10 +43,10 @@ public sealed partial class ManageApiSubscriptionResponse public global::Ideogram.MetronomeLinks? MetronomeLinks { get; set; } /// - /// + /// The current recharge settings for the API subscription. /// [global::System.Text.Json.Serialization.JsonPropertyName("recharge_settings")] - public global::Ideogram.RechargeSettingsResponse? RechargeSettings { get; set; } + public global::Ideogram.RechargeSettings? RechargeSettings { get; set; } /// /// The URL for the user to manage the existing Stripe subscription plan. diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.PostApiReactivateResponse.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.PostApiReactivateResponse.g.cs index a1602c8..f454000 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.PostApiReactivateResponse.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.PostApiReactivateResponse.g.cs @@ -9,10 +9,10 @@ namespace Ideogram public sealed partial class PostApiReactivateResponse { /// - /// + /// The current recharge settings for the API subscription. /// [global::System.Text.Json.Serialization.JsonPropertyName("recharge_settings")] - public global::Ideogram.RechargeSettingsResponse? RechargeSettings { get; set; } + public global::Ideogram.RechargeSettings? RechargeSettings { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.PostApiSubscriptionResponse.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.PostApiSubscriptionResponse.g.cs index e2d245b..1707fcd 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.PostApiSubscriptionResponse.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.PostApiSubscriptionResponse.g.cs @@ -9,10 +9,10 @@ namespace Ideogram public sealed partial class PostApiSubscriptionResponse { /// - /// + /// The current recharge settings for the API subscription. /// [global::System.Text.Json.Serialization.JsonPropertyName("recharge_settings")] - public global::Ideogram.RechargeSettingsResponse? RechargeSettings { get; set; } + public global::Ideogram.RechargeSettings? RechargeSettings { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.RemixImageRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.RemixImageRequest.g.cs index 8f93824..5b6bd67 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.RemixImageRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.RemixImageRequest.g.cs @@ -9,11 +9,11 @@ namespace Ideogram public sealed partial class RemixImageRequest { /// - /// A request to generate a new image using a provided image and a prompt. + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("image_request")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Ideogram.InitialImageRequest ImageRequest { get; set; } + public required global::Ideogram.ImageRequest ImageRequest { get; set; } /// /// An image binary; only JPEG, WEBPs and PNGs are supported at this time diff --git a/src/libs/Ideogram/Generated/JsonSerializerContextTypes.g.cs b/src/libs/Ideogram/Generated/JsonSerializerContextTypes.g.cs index 6194151..e000b90 100644 --- a/src/libs/Ideogram/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/Ideogram/Generated/JsonSerializerContextTypes.g.cs @@ -73,15 +73,15 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Ideogram.InitialImageRequest? Type15 { get; set; } + public global::Ideogram.UpscaleImageRequest? Type15 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageRequest? Type16 { get; set; } + public global::Ideogram.UpscaleInitialImageRequest? Type16 { get; set; } /// /// /// - public global::Ideogram.UpscaleInitialImageRequest? Type17 { get; set; } + public global::Ideogram.InitialImageRequest? Type17 { get; set; } /// /// /// @@ -121,19 +121,19 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Ideogram.RechargeSettingsResponse? Type27 { get; set; } + public global::Ideogram.RechargeSettings? Type27 { get; set; } /// /// /// - public global::Ideogram.RechargeSettings? Type28 { get; set; } + public global::Ideogram.Price? Type28 { get; set; } /// /// /// - public global::Ideogram.Price? Type29 { get; set; } + public double? Type29 { get; set; } /// /// /// - public double? Type30 { get; set; } + public global::Ideogram.RechargeSettingsResponse? Type30 { get; set; } /// /// ///