From e5d185171e3ea5a1af11a9b2c29b4c080919dfe3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 26 Jun 2026 19:58:42 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ....ISubpackageImagesClient.CreateImages.g.cs | 2 +- .../OpenRouter.Models.BYOKProviderSlug.g.cs | 6 + ...uter.Models.ByokGetParametersProvider.g.cs | 6 + ...nRouter.Models.ImageGenerationRequest.g.cs | 4 +- ...ls.ImageGenerationRequestOutputFormat.g.cs | 8 +- ...ImageGenerationRequestProviderOptions.g.cs | 9 ++ ...tionRequestProviderOptionsQuiver.Json.g.cs | 141 ++++++++++++++++++ ...enerationRequestProviderOptionsQuiver.g.cs | 19 +++ ...ionRequestProviderOptionsQuiver2.Json.g.cs | 141 ++++++++++++++++++ ...nerationRequestProviderOptionsQuiver2.g.cs | 19 +++ .../OpenRouter.Models.ProviderName.g.cs | 6 + .../OpenRouter.Models.ProviderOptions.g.cs | 9 ++ ...ter.Models.ProviderOptionsQuiver.Json.g.cs | 141 ++++++++++++++++++ ...enRouter.Models.ProviderOptionsQuiver.g.cs | 19 +++ ...er.Models.ProviderOptionsQuiver2.Json.g.cs | 141 ++++++++++++++++++ ...nRouter.Models.ProviderOptionsQuiver2.g.cs | 19 +++ ...r.Models.ProviderResponseProviderName.g.cs | 6 + ...VideoGenerationRequestProviderOptions.g.cs | 9 ++ ...tionRequestProviderOptionsQuiver.Json.g.cs | 141 ++++++++++++++++++ ...enerationRequestProviderOptionsQuiver.g.cs | 19 +++ ...ionRequestProviderOptionsQuiver2.Json.g.cs | 141 ++++++++++++++++++ ...nerationRequestProviderOptionsQuiver2.g.cs | 19 +++ ...r.SubpackageImagesClient.CreateImages.g.cs | 2 +- src/libs/OpenRouter/openapi.yaml | 29 +++- 24 files changed, 1048 insertions(+), 8 deletions(-) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver2.g.cs diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.CreateImages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.CreateImages.g.cs index 0525011d..a5f26547 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.CreateImages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.CreateImages.g.cs @@ -53,7 +53,7 @@ public partial interface ISubpackageImagesClient /// Compression level (0-100) for webp/jpeg output. Ignored for png and by providers without a compression knob. /// /// - /// Encoding of the returned image bytes. + /// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`. /// /// /// Text description of the desired image diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs index 77ba83e4..2ed83ec0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs @@ -279,6 +279,10 @@ public enum BYOKProviderSlug /// /// /// + Quiver, + /// + /// + /// Recraft, /// /// @@ -437,6 +441,7 @@ public static string ToValueString(this BYOKProviderSlug value) BYOKProviderSlug.Perplexity => "perplexity", BYOKProviderSlug.Phala => "phala", BYOKProviderSlug.Poolside => "poolside", + BYOKProviderSlug.Quiver => "quiver", BYOKProviderSlug.Recraft => "recraft", BYOKProviderSlug.Reka => "reka", BYOKProviderSlug.Relace => "relace", @@ -534,6 +539,7 @@ public static string ToValueString(this BYOKProviderSlug value) "perplexity" => BYOKProviderSlug.Perplexity, "phala" => BYOKProviderSlug.Phala, "poolside" => BYOKProviderSlug.Poolside, + "quiver" => BYOKProviderSlug.Quiver, "recraft" => BYOKProviderSlug.Recraft, "reka" => BYOKProviderSlug.Reka, "relace" => BYOKProviderSlug.Relace, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs index 76a2d29f..6607d875 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs @@ -279,6 +279,10 @@ public enum ByokGetParametersProvider /// /// /// + Quiver, + /// + /// + /// Recraft, /// /// @@ -437,6 +441,7 @@ public static string ToValueString(this ByokGetParametersProvider value) ByokGetParametersProvider.Perplexity => "perplexity", ByokGetParametersProvider.Phala => "phala", ByokGetParametersProvider.Poolside => "poolside", + ByokGetParametersProvider.Quiver => "quiver", ByokGetParametersProvider.Recraft => "recraft", ByokGetParametersProvider.Reka => "reka", ByokGetParametersProvider.Relace => "relace", @@ -534,6 +539,7 @@ public static string ToValueString(this ByokGetParametersProvider value) "perplexity" => ByokGetParametersProvider.Perplexity, "phala" => ByokGetParametersProvider.Phala, "poolside" => ByokGetParametersProvider.Poolside, + "quiver" => ByokGetParametersProvider.Quiver, "recraft" => ByokGetParametersProvider.Recraft, "reka" => ByokGetParametersProvider.Reka, "relace" => ByokGetParametersProvider.Relace, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequest.g.cs index 5106230d..ecbdaa07 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequest.g.cs @@ -48,7 +48,7 @@ public sealed partial class ImageGenerationRequest public int? OutputCompression { get; set; } /// - /// Encoding of the returned image bytes. + /// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`. /// [global::System.Text.Json.Serialization.JsonPropertyName("output_format")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ImageGenerationRequestOutputFormatJsonConverter))] @@ -130,7 +130,7 @@ public sealed partial class ImageGenerationRequest /// Compression level (0-100) for webp/jpeg output. Ignored for png and by providers without a compression knob. /// /// - /// Encoding of the returned image bytes. + /// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`. /// /// /// Provider-specific passthrough configuration diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestOutputFormat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestOutputFormat.g.cs index 117faa23..c0fae931 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestOutputFormat.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestOutputFormat.g.cs @@ -4,7 +4,7 @@ namespace OpenRouter { /// - /// Encoding of the returned image bytes. + /// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`. /// public enum ImageGenerationRequestOutputFormat { @@ -19,6 +19,10 @@ public enum ImageGenerationRequestOutputFormat /// /// /// + Svg, + /// + /// + /// Webp, } @@ -36,6 +40,7 @@ public static string ToValueString(this ImageGenerationRequestOutputFormat value { ImageGenerationRequestOutputFormat.Jpeg => "jpeg", ImageGenerationRequestOutputFormat.Png => "png", + ImageGenerationRequestOutputFormat.Svg => "svg", ImageGenerationRequestOutputFormat.Webp => "webp", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -49,6 +54,7 @@ public static string ToValueString(this ImageGenerationRequestOutputFormat value { "jpeg" => ImageGenerationRequestOutputFormat.Jpeg, "png" => ImageGenerationRequestOutputFormat.Png, + "svg" => ImageGenerationRequestOutputFormat.Svg, "webp" => ImageGenerationRequestOutputFormat.Webp, _ => null, }; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs index 6641da14..da2c274d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs @@ -548,6 +548,12 @@ public sealed partial class ImageGenerationRequestProviderOptions [global::System.Text.Json.Serialization.JsonPropertyName("poolside")] public object? Poolside { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("quiver")] + public object? Quiver { get; set; } + /// /// /// @@ -821,6 +827,7 @@ public sealed partial class ImageGenerationRequestProviderOptions /// /// /// + /// /// /// /// @@ -944,6 +951,7 @@ public ImageGenerationRequestProviderOptions( object? perplexity, object? phala, object? poolside, + object? quiver, object? recraft, object? recursal, object? reflection, @@ -1064,6 +1072,7 @@ public ImageGenerationRequestProviderOptions( this.Perplexity = perplexity; this.Phala = phala; this.Poolside = poolside; + this.Quiver = quiver; this.Recraft = recraft; this.Recursal = recursal; this.Reflection = reflection; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver.Json.g.cs new file mode 100644 index 00000000..096c5a56 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ImageGenerationRequestProviderOptionsQuiver + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver), + jsonSerializerContext) as global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver.g.cs new file mode 100644 index 00000000..456b7645 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ImageGenerationRequestProviderOptionsQuiver + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver2.Json.g.cs new file mode 100644 index 00000000..0bbb8c51 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ImageGenerationRequestProviderOptionsQuiver2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver2), + jsonSerializerContext) as global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ImageGenerationRequestProviderOptionsQuiver2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver2.g.cs new file mode 100644 index 00000000..abbb0af5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsQuiver2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class ImageGenerationRequestProviderOptionsQuiver2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs index 0a0753ec..7f455dc8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs @@ -287,6 +287,10 @@ public enum ProviderName /// /// /// + Quiver, + /// + /// + /// Recraft, /// /// @@ -451,6 +455,7 @@ public static string ToValueString(this ProviderName value) ProviderName.Perplexity => "Perplexity", ProviderName.Phala => "Phala", ProviderName.Poolside => "Poolside", + ProviderName.Quiver => "Quiver", ProviderName.Recraft => "Recraft", ProviderName.Reka => "Reka", ProviderName.Relace => "Relace", @@ -551,6 +556,7 @@ public static string ToValueString(this ProviderName value) "Perplexity" => ProviderName.Perplexity, "Phala" => ProviderName.Phala, "Poolside" => ProviderName.Poolside, + "Quiver" => ProviderName.Quiver, "Recraft" => ProviderName.Recraft, "Reka" => ProviderName.Reka, "Relace" => ProviderName.Relace, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs index 830e25ff..d33d5ac9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs @@ -548,6 +548,12 @@ public sealed partial class ProviderOptions [global::System.Text.Json.Serialization.JsonPropertyName("poolside")] public object? Poolside { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("quiver")] + public object? Quiver { get; set; } + /// /// /// @@ -821,6 +827,7 @@ public sealed partial class ProviderOptions /// /// /// + /// /// /// /// @@ -944,6 +951,7 @@ public ProviderOptions( object? perplexity, object? phala, object? poolside, + object? quiver, object? recraft, object? recursal, object? reflection, @@ -1064,6 +1072,7 @@ public ProviderOptions( this.Perplexity = perplexity; this.Phala = phala; this.Poolside = poolside; + this.Quiver = quiver; this.Recraft = recraft; this.Recursal = recursal; this.Reflection = reflection; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver.Json.g.cs new file mode 100644 index 00000000..4bf5f1e0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ProviderOptionsQuiver + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ProviderOptionsQuiver? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ProviderOptionsQuiver), + jsonSerializerContext) as global::OpenRouter.ProviderOptionsQuiver; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ProviderOptionsQuiver? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ProviderOptionsQuiver? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ProviderOptionsQuiver), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ProviderOptionsQuiver; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver.g.cs new file mode 100644 index 00000000..d64a5b9b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ProviderOptionsQuiver + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver2.Json.g.cs new file mode 100644 index 00000000..45a152fa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ProviderOptionsQuiver2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ProviderOptionsQuiver2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ProviderOptionsQuiver2), + jsonSerializerContext) as global::OpenRouter.ProviderOptionsQuiver2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ProviderOptionsQuiver2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ProviderOptionsQuiver2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ProviderOptionsQuiver2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ProviderOptionsQuiver2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver2.g.cs new file mode 100644 index 00000000..8589f225 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsQuiver2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class ProviderOptionsQuiver2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs index d7884ce6..6555fb97 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs @@ -371,6 +371,10 @@ public enum ProviderResponseProviderName /// /// /// + Quiver, + /// + /// + /// Recraft, /// /// @@ -588,6 +592,7 @@ public static string ToValueString(this ProviderResponseProviderName value) ProviderResponseProviderName.Perplexity => "Perplexity", ProviderResponseProviderName.Phala => "Phala", ProviderResponseProviderName.Poolside => "Poolside", + ProviderResponseProviderName.Quiver => "Quiver", ProviderResponseProviderName.Recraft => "Recraft", ProviderResponseProviderName.Recursal => "Recursal", ProviderResponseProviderName.Reflection => "Reflection", @@ -717,6 +722,7 @@ public static string ToValueString(this ProviderResponseProviderName value) "Perplexity" => ProviderResponseProviderName.Perplexity, "Phala" => ProviderResponseProviderName.Phala, "Poolside" => ProviderResponseProviderName.Poolside, + "Quiver" => ProviderResponseProviderName.Quiver, "Recraft" => ProviderResponseProviderName.Recraft, "Recursal" => ProviderResponseProviderName.Recursal, "Reflection" => ProviderResponseProviderName.Reflection, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs index 902644eb..2dc0a220 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs @@ -548,6 +548,12 @@ public sealed partial class VideoGenerationRequestProviderOptions [global::System.Text.Json.Serialization.JsonPropertyName("poolside")] public object? Poolside { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("quiver")] + public object? Quiver { get; set; } + /// /// /// @@ -821,6 +827,7 @@ public sealed partial class VideoGenerationRequestProviderOptions /// /// /// + /// /// /// /// @@ -944,6 +951,7 @@ public VideoGenerationRequestProviderOptions( object? perplexity, object? phala, object? poolside, + object? quiver, object? recraft, object? recursal, object? reflection, @@ -1064,6 +1072,7 @@ public VideoGenerationRequestProviderOptions( this.Perplexity = perplexity; this.Phala = phala; this.Poolside = poolside; + this.Quiver = quiver; this.Recraft = recraft; this.Recursal = recursal; this.Reflection = reflection; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver.Json.g.cs new file mode 100644 index 00000000..c856750d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VideoGenerationRequestProviderOptionsQuiver + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver), + jsonSerializerContext) as global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver.g.cs new file mode 100644 index 00000000..81ff361c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VideoGenerationRequestProviderOptionsQuiver + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver2.Json.g.cs new file mode 100644 index 00000000..239c5fe6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VideoGenerationRequestProviderOptionsQuiver2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver2), + jsonSerializerContext) as global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VideoGenerationRequestProviderOptionsQuiver2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver2.g.cs new file mode 100644 index 00000000..15c02c2d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsQuiver2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class VideoGenerationRequestProviderOptionsQuiver2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.CreateImages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.CreateImages.g.cs index a014e2eb..1ab529db 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.CreateImages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.CreateImages.g.cs @@ -752,7 +752,7 @@ partial void ProcessCreateImagesResponseContent( /// Compression level (0-100) for webp/jpeg output. Ignored for png and by providers without a compression knob. /// /// - /// Encoding of the returned image bytes. + /// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`. /// /// /// Text description of the desired image diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index a33a4b8e..6f470d39 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -11383,6 +11383,7 @@ "Venice", "Wafer", "WandB", + "Quiver", "Xiaomi", "xAI", "Z.AI", @@ -18279,9 +18280,10 @@ "enum": [ "png", "jpeg", - "webp" + "webp", + "svg" ], - "description": "Encoding of the returned image bytes.", + "description": "Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`.", "title": "ImageGenerationRequestOutputFormat" }, "ImageGenerationRequestProviderOptions": { @@ -18827,6 +18829,12 @@ "description": "Any type" } }, + "quiver": { + "type": "object", + "additionalProperties": { + "description": "Any type" + } + }, "recraft": { "type": "object", "additionalProperties": { @@ -19069,7 +19077,7 @@ }, "output_format": { "$ref": "#/components/schemas/ImageGenerationRequestOutputFormat", - "description": "Encoding of the returned image bytes." + "description": "Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`." }, "prompt": { "type": "string", @@ -20398,6 +20406,12 @@ "description": "Any type" } }, + "quiver": { + "type": "object", + "additionalProperties": { + "description": "Any type" + } + }, "recraft": { "type": "object", "additionalProperties": { @@ -21556,6 +21570,7 @@ "perplexity", "phala", "poolside", + "quiver", "recraft", "reka", "relace", @@ -21650,6 +21665,7 @@ "perplexity", "phala", "poolside", + "quiver", "recraft", "reka", "relace", @@ -26629,6 +26645,7 @@ "Venice", "Wafer", "WandB", + "Quiver", "Xiaomi", "xAI", "Z.AI", @@ -42254,6 +42271,12 @@ "description": "Any type" } }, + "quiver": { + "type": "object", + "additionalProperties": { + "description": "Any type" + } + }, "recraft": { "type": "object", "additionalProperties": {