diff --git a/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.18.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.18.Json.g.cs new file mode 100644 index 00000000..528a2778 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.18.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct AnyOf + { + /// + /// 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.AnyOf? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnyOf), + jsonSerializerContext) as global::OpenRouter.AnyOf?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.AnyOf? 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.AnyOf? 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.AnyOf), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnyOf?; + } + + /// + /// 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.AnyOf.18.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.18.g.cs new file mode 100644 index 00000000..af945246 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnyOf.18.g.cs @@ -0,0 +1,1622 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public readonly partial struct AnyOf : global::System.IEquatable> + { + /// + /// + /// +#if NET6_0_OR_GREATER + public T1? Value1 { get; init; } +#else + public T1? Value1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] +#endif + public bool IsValue1 => Value1 != null; + + /// + /// + /// + public bool TryPickValue1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T1? value) + { + value = Value1; + return IsValue1; + } + + /// + /// + /// + public T1 PickValue1() => Value1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T2? Value2 { get; init; } +#else + public T2? Value2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] +#endif + public bool IsValue2 => Value2 != null; + + /// + /// + /// + public bool TryPickValue2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T2? value) + { + value = Value2; + return IsValue2; + } + + /// + /// + /// + public T2 PickValue2() => Value2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T3? Value3 { get; init; } +#else + public T3? Value3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value3))] +#endif + public bool IsValue3 => Value3 != null; + + /// + /// + /// + public bool TryPickValue3( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T3? value) + { + value = Value3; + return IsValue3; + } + + /// + /// + /// + public T3 PickValue3() => Value3 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T4? Value4 { get; init; } +#else + public T4? Value4 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value4))] +#endif + public bool IsValue4 => Value4 != null; + + /// + /// + /// + public bool TryPickValue4( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T4? value) + { + value = Value4; + return IsValue4; + } + + /// + /// + /// + public T4 PickValue4() => Value4 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value4' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T5? Value5 { get; init; } +#else + public T5? Value5 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value5))] +#endif + public bool IsValue5 => Value5 != null; + + /// + /// + /// + public bool TryPickValue5( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T5? value) + { + value = Value5; + return IsValue5; + } + + /// + /// + /// + public T5 PickValue5() => Value5 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value5' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T6? Value6 { get; init; } +#else + public T6? Value6 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value6))] +#endif + public bool IsValue6 => Value6 != null; + + /// + /// + /// + public bool TryPickValue6( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T6? value) + { + value = Value6; + return IsValue6; + } + + /// + /// + /// + public T6 PickValue6() => Value6 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value6' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T7? Value7 { get; init; } +#else + public T7? Value7 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value7))] +#endif + public bool IsValue7 => Value7 != null; + + /// + /// + /// + public bool TryPickValue7( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T7? value) + { + value = Value7; + return IsValue7; + } + + /// + /// + /// + public T7 PickValue7() => Value7 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value7' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T8? Value8 { get; init; } +#else + public T8? Value8 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value8))] +#endif + public bool IsValue8 => Value8 != null; + + /// + /// + /// + public bool TryPickValue8( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T8? value) + { + value = Value8; + return IsValue8; + } + + /// + /// + /// + public T8 PickValue8() => Value8 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value8' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T9? Value9 { get; init; } +#else + public T9? Value9 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value9))] +#endif + public bool IsValue9 => Value9 != null; + + /// + /// + /// + public bool TryPickValue9( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T9? value) + { + value = Value9; + return IsValue9; + } + + /// + /// + /// + public T9 PickValue9() => Value9 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value9' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T10? Value10 { get; init; } +#else + public T10? Value10 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value10))] +#endif + public bool IsValue10 => Value10 != null; + + /// + /// + /// + public bool TryPickValue10( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T10? value) + { + value = Value10; + return IsValue10; + } + + /// + /// + /// + public T10 PickValue10() => Value10 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value10' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T11? Value11 { get; init; } +#else + public T11? Value11 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value11))] +#endif + public bool IsValue11 => Value11 != null; + + /// + /// + /// + public bool TryPickValue11( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T11? value) + { + value = Value11; + return IsValue11; + } + + /// + /// + /// + public T11 PickValue11() => Value11 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value11' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T12? Value12 { get; init; } +#else + public T12? Value12 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value12))] +#endif + public bool IsValue12 => Value12 != null; + + /// + /// + /// + public bool TryPickValue12( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T12? value) + { + value = Value12; + return IsValue12; + } + + /// + /// + /// + public T12 PickValue12() => Value12 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value12' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T13? Value13 { get; init; } +#else + public T13? Value13 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value13))] +#endif + public bool IsValue13 => Value13 != null; + + /// + /// + /// + public bool TryPickValue13( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T13? value) + { + value = Value13; + return IsValue13; + } + + /// + /// + /// + public T13 PickValue13() => Value13 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value13' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T14? Value14 { get; init; } +#else + public T14? Value14 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value14))] +#endif + public bool IsValue14 => Value14 != null; + + /// + /// + /// + public bool TryPickValue14( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T14? value) + { + value = Value14; + return IsValue14; + } + + /// + /// + /// + public T14 PickValue14() => Value14 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value14' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T15? Value15 { get; init; } +#else + public T15? Value15 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value15))] +#endif + public bool IsValue15 => Value15 != null; + + /// + /// + /// + public bool TryPickValue15( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T15? value) + { + value = Value15; + return IsValue15; + } + + /// + /// + /// + public T15 PickValue15() => Value15 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value15' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T16? Value16 { get; init; } +#else + public T16? Value16 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value16))] +#endif + public bool IsValue16 => Value16 != null; + + /// + /// + /// + public bool TryPickValue16( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T16? value) + { + value = Value16; + return IsValue16; + } + + /// + /// + /// + public T16 PickValue16() => Value16 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value16' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T17? Value17 { get; init; } +#else + public T17? Value17 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value17))] +#endif + public bool IsValue17 => Value17 != null; + + /// + /// + /// + public bool TryPickValue17( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T17? value) + { + value = Value17; + return IsValue17; + } + + /// + /// + /// + public T17 PickValue17() => Value17 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value17' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T18? Value18 { get; init; } +#else + public T18? Value18 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value18))] +#endif + public bool IsValue18 => Value18 != null; + + /// + /// + /// + public bool TryPickValue18( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T18? value) + { + value = Value18; + return IsValue18; + } + + /// + /// + /// + public T18 PickValue18() => Value18 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value18' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AnyOf(T1 value) => new AnyOf((T1?)value); + + /// + /// + /// + public static implicit operator T1?(AnyOf @this) => @this.Value1; + + /// + /// + /// + public AnyOf(T1? value) + { + Value1 = value; + } + + /// + /// + /// + public static AnyOf FromValue1(T1? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T2 value) => new AnyOf((T2?)value); + + /// + /// + /// + public static implicit operator T2?(AnyOf @this) => @this.Value2; + + /// + /// + /// + public AnyOf(T2? value) + { + Value2 = value; + } + + /// + /// + /// + public static AnyOf FromValue2(T2? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T3 value) => new AnyOf((T3?)value); + + /// + /// + /// + public static implicit operator T3?(AnyOf @this) => @this.Value3; + + /// + /// + /// + public AnyOf(T3? value) + { + Value3 = value; + } + + /// + /// + /// + public static AnyOf FromValue3(T3? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T4 value) => new AnyOf((T4?)value); + + /// + /// + /// + public static implicit operator T4?(AnyOf @this) => @this.Value4; + + /// + /// + /// + public AnyOf(T4? value) + { + Value4 = value; + } + + /// + /// + /// + public static AnyOf FromValue4(T4? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T5 value) => new AnyOf((T5?)value); + + /// + /// + /// + public static implicit operator T5?(AnyOf @this) => @this.Value5; + + /// + /// + /// + public AnyOf(T5? value) + { + Value5 = value; + } + + /// + /// + /// + public static AnyOf FromValue5(T5? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T6 value) => new AnyOf((T6?)value); + + /// + /// + /// + public static implicit operator T6?(AnyOf @this) => @this.Value6; + + /// + /// + /// + public AnyOf(T6? value) + { + Value6 = value; + } + + /// + /// + /// + public static AnyOf FromValue6(T6? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T7 value) => new AnyOf((T7?)value); + + /// + /// + /// + public static implicit operator T7?(AnyOf @this) => @this.Value7; + + /// + /// + /// + public AnyOf(T7? value) + { + Value7 = value; + } + + /// + /// + /// + public static AnyOf FromValue7(T7? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T8 value) => new AnyOf((T8?)value); + + /// + /// + /// + public static implicit operator T8?(AnyOf @this) => @this.Value8; + + /// + /// + /// + public AnyOf(T8? value) + { + Value8 = value; + } + + /// + /// + /// + public static AnyOf FromValue8(T8? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T9 value) => new AnyOf((T9?)value); + + /// + /// + /// + public static implicit operator T9?(AnyOf @this) => @this.Value9; + + /// + /// + /// + public AnyOf(T9? value) + { + Value9 = value; + } + + /// + /// + /// + public static AnyOf FromValue9(T9? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T10 value) => new AnyOf((T10?)value); + + /// + /// + /// + public static implicit operator T10?(AnyOf @this) => @this.Value10; + + /// + /// + /// + public AnyOf(T10? value) + { + Value10 = value; + } + + /// + /// + /// + public static AnyOf FromValue10(T10? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T11 value) => new AnyOf((T11?)value); + + /// + /// + /// + public static implicit operator T11?(AnyOf @this) => @this.Value11; + + /// + /// + /// + public AnyOf(T11? value) + { + Value11 = value; + } + + /// + /// + /// + public static AnyOf FromValue11(T11? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T12 value) => new AnyOf((T12?)value); + + /// + /// + /// + public static implicit operator T12?(AnyOf @this) => @this.Value12; + + /// + /// + /// + public AnyOf(T12? value) + { + Value12 = value; + } + + /// + /// + /// + public static AnyOf FromValue12(T12? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T13 value) => new AnyOf((T13?)value); + + /// + /// + /// + public static implicit operator T13?(AnyOf @this) => @this.Value13; + + /// + /// + /// + public AnyOf(T13? value) + { + Value13 = value; + } + + /// + /// + /// + public static AnyOf FromValue13(T13? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T14 value) => new AnyOf((T14?)value); + + /// + /// + /// + public static implicit operator T14?(AnyOf @this) => @this.Value14; + + /// + /// + /// + public AnyOf(T14? value) + { + Value14 = value; + } + + /// + /// + /// + public static AnyOf FromValue14(T14? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T15 value) => new AnyOf((T15?)value); + + /// + /// + /// + public static implicit operator T15?(AnyOf @this) => @this.Value15; + + /// + /// + /// + public AnyOf(T15? value) + { + Value15 = value; + } + + /// + /// + /// + public static AnyOf FromValue15(T15? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T16 value) => new AnyOf((T16?)value); + + /// + /// + /// + public static implicit operator T16?(AnyOf @this) => @this.Value16; + + /// + /// + /// + public AnyOf(T16? value) + { + Value16 = value; + } + + /// + /// + /// + public static AnyOf FromValue16(T16? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T17 value) => new AnyOf((T17?)value); + + /// + /// + /// + public static implicit operator T17?(AnyOf @this) => @this.Value17; + + /// + /// + /// + public AnyOf(T17? value) + { + Value17 = value; + } + + /// + /// + /// + public static AnyOf FromValue17(T17? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T18 value) => new AnyOf((T18?)value); + + /// + /// + /// + public static implicit operator T18?(AnyOf @this) => @this.Value18; + + /// + /// + /// + public AnyOf(T18? value) + { + Value18 = value; + } + + /// + /// + /// + public static AnyOf FromValue18(T18? value) => new AnyOf(value); + + /// + /// + /// + public AnyOf( + T1? value1, + T2? value2, + T3? value3, + T4? value4, + T5? value5, + T6? value6, + T7? value7, + T8? value8, + T9? value9, + T10? value10, + T11? value11, + T12? value12, + T13? value13, + T14? value14, + T15? value15, + T16? value16, + T17? value17, + T18? value18 + ) + { + Value1 = value1; + Value2 = value2; + Value3 = value3; + Value4 = value4; + Value5 = value5; + Value6 = value6; + Value7 = value7; + Value8 = value8; + Value9 = value9; + Value10 = value10; + Value11 = value11; + Value12 = value12; + Value13 = value13; + Value14 = value14; + Value15 = value15; + Value16 = value16; + Value17 = value17; + Value18 = value18; + } + + /// + /// + /// + public object? Object => + Value18 as object ?? + Value17 as object ?? + Value16 as object ?? + Value15 as object ?? + Value14 as object ?? + Value13 as object ?? + Value12 as object ?? + Value11 as object ?? + Value10 as object ?? + Value9 as object ?? + Value8 as object ?? + Value7 as object ?? + Value6 as object ?? + Value5 as object ?? + Value4 as object ?? + Value3 as object ?? + Value2 as object ?? + Value1 as object + ; + + /// + /// + /// + public override string? ToString() => + Value1?.ToString() ?? + Value2?.ToString() ?? + Value3?.ToString() ?? + Value4?.ToString() ?? + Value5?.ToString() ?? + Value6?.ToString() ?? + Value7?.ToString() ?? + Value8?.ToString() ?? + Value9?.ToString() ?? + Value10?.ToString() ?? + Value11?.ToString() ?? + Value12?.ToString() ?? + Value13?.ToString() ?? + Value14?.ToString() ?? + Value15?.ToString() ?? + Value16?.ToString() ?? + Value17?.ToString() ?? + Value18?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsValue1 || IsValue2 || IsValue3 || IsValue4 || IsValue5 || IsValue6 || IsValue7 || IsValue8 || IsValue9 || IsValue10 || IsValue11 || IsValue12 || IsValue13 || IsValue14 || IsValue15 || IsValue16 || IsValue17 || IsValue18; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? value1 = null, + global::System.Func? value2 = null, + global::System.Func? value3 = null, + global::System.Func? value4 = null, + global::System.Func? value5 = null, + global::System.Func? value6 = null, + global::System.Func? value7 = null, + global::System.Func? value8 = null, + global::System.Func? value9 = null, + global::System.Func? value10 = null, + global::System.Func? value11 = null, + global::System.Func? value12 = null, + global::System.Func? value13 = null, + global::System.Func? value14 = null, + global::System.Func? value15 = null, + global::System.Func? value16 = null, + global::System.Func? value17 = null, + global::System.Func? value18 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Value1 is { } __value0 && value1 != null) + { + return value1(__value0); + } + else if (Value2 is { } __value1 && value2 != null) + { + return value2(__value1); + } + else if (Value3 is { } __value2 && value3 != null) + { + return value3(__value2); + } + else if (Value4 is { } __value3 && value4 != null) + { + return value4(__value3); + } + else if (Value5 is { } __value4 && value5 != null) + { + return value5(__value4); + } + else if (Value6 is { } __value5 && value6 != null) + { + return value6(__value5); + } + else if (Value7 is { } __value6 && value7 != null) + { + return value7(__value6); + } + else if (Value8 is { } __value7 && value8 != null) + { + return value8(__value7); + } + else if (Value9 is { } __value8 && value9 != null) + { + return value9(__value8); + } + else if (Value10 is { } __value9 && value10 != null) + { + return value10(__value9); + } + else if (Value11 is { } __value10 && value11 != null) + { + return value11(__value10); + } + else if (Value12 is { } __value11 && value12 != null) + { + return value12(__value11); + } + else if (Value13 is { } __value12 && value13 != null) + { + return value13(__value12); + } + else if (Value14 is { } __value13 && value14 != null) + { + return value14(__value13); + } + else if (Value15 is { } __value14 && value15 != null) + { + return value15(__value14); + } + else if (Value16 is { } __value15 && value16 != null) + { + return value16(__value15); + } + else if (Value17 is { } __value16 && value17 != null) + { + return value17(__value16); + } + else if (Value18 is { } __value17 && value18 != null) + { + return value18(__value17); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? value1 = null, + + global::System.Action? value2 = null, + + global::System.Action? value3 = null, + + global::System.Action? value4 = null, + + global::System.Action? value5 = null, + + global::System.Action? value6 = null, + + global::System.Action? value7 = null, + + global::System.Action? value8 = null, + + global::System.Action? value9 = null, + + global::System.Action? value10 = null, + + global::System.Action? value11 = null, + + global::System.Action? value12 = null, + + global::System.Action? value13 = null, + + global::System.Action? value14 = null, + + global::System.Action? value15 = null, + + global::System.Action? value16 = null, + + global::System.Action? value17 = null, + + global::System.Action? value18 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Value1 is { } __value0) + { + value1?.Invoke(__value0); + } + else if (Value2 is { } __value1) + { + value2?.Invoke(__value1); + } + else if (Value3 is { } __value2) + { + value3?.Invoke(__value2); + } + else if (Value4 is { } __value3) + { + value4?.Invoke(__value3); + } + else if (Value5 is { } __value4) + { + value5?.Invoke(__value4); + } + else if (Value6 is { } __value5) + { + value6?.Invoke(__value5); + } + else if (Value7 is { } __value6) + { + value7?.Invoke(__value6); + } + else if (Value8 is { } __value7) + { + value8?.Invoke(__value7); + } + else if (Value9 is { } __value8) + { + value9?.Invoke(__value8); + } + else if (Value10 is { } __value9) + { + value10?.Invoke(__value9); + } + else if (Value11 is { } __value10) + { + value11?.Invoke(__value10); + } + else if (Value12 is { } __value11) + { + value12?.Invoke(__value11); + } + else if (Value13 is { } __value12) + { + value13?.Invoke(__value12); + } + else if (Value14 is { } __value13) + { + value14?.Invoke(__value13); + } + else if (Value15 is { } __value14) + { + value15?.Invoke(__value14); + } + else if (Value16 is { } __value15) + { + value16?.Invoke(__value15); + } + else if (Value17 is { } __value16) + { + value17?.Invoke(__value16); + } + else if (Value18 is { } __value17) + { + value18?.Invoke(__value17); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? value1 = null, + global::System.Action? value2 = null, + global::System.Action? value3 = null, + global::System.Action? value4 = null, + global::System.Action? value5 = null, + global::System.Action? value6 = null, + global::System.Action? value7 = null, + global::System.Action? value8 = null, + global::System.Action? value9 = null, + global::System.Action? value10 = null, + global::System.Action? value11 = null, + global::System.Action? value12 = null, + global::System.Action? value13 = null, + global::System.Action? value14 = null, + global::System.Action? value15 = null, + global::System.Action? value16 = null, + global::System.Action? value17 = null, + global::System.Action? value18 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Value1 is { } __value0) + { + value1?.Invoke(__value0); + } + else if (Value2 is { } __value1) + { + value2?.Invoke(__value1); + } + else if (Value3 is { } __value2) + { + value3?.Invoke(__value2); + } + else if (Value4 is { } __value3) + { + value4?.Invoke(__value3); + } + else if (Value5 is { } __value4) + { + value5?.Invoke(__value4); + } + else if (Value6 is { } __value5) + { + value6?.Invoke(__value5); + } + else if (Value7 is { } __value6) + { + value7?.Invoke(__value6); + } + else if (Value8 is { } __value7) + { + value8?.Invoke(__value7); + } + else if (Value9 is { } __value8) + { + value9?.Invoke(__value8); + } + else if (Value10 is { } __value9) + { + value10?.Invoke(__value9); + } + else if (Value11 is { } __value10) + { + value11?.Invoke(__value10); + } + else if (Value12 is { } __value11) + { + value12?.Invoke(__value11); + } + else if (Value13 is { } __value12) + { + value13?.Invoke(__value12); + } + else if (Value14 is { } __value13) + { + value14?.Invoke(__value13); + } + else if (Value15 is { } __value14) + { + value15?.Invoke(__value14); + } + else if (Value16 is { } __value15) + { + value16?.Invoke(__value15); + } + else if (Value17 is { } __value16) + { + value17?.Invoke(__value16); + } + else if (Value18 is { } __value17) + { + value18?.Invoke(__value17); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Value1, + typeof(T1), + Value2, + typeof(T2), + Value3, + typeof(T3), + Value4, + typeof(T4), + Value5, + typeof(T5), + Value6, + typeof(T6), + Value7, + typeof(T7), + Value8, + typeof(T8), + Value9, + typeof(T9), + Value10, + typeof(T10), + Value11, + typeof(T11), + Value12, + typeof(T12), + Value13, + typeof(T13), + Value14, + typeof(T14), + Value15, + typeof(T15), + Value16, + typeof(T16), + Value17, + typeof(T17), + Value18, + typeof(T18), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AnyOf other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value4, other.Value4) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value6, other.Value6) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value7, other.Value7) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value8, other.Value8) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value9, other.Value9) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value10, other.Value10) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value11, other.Value11) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value12, other.Value12) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value13, other.Value13) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value14, other.Value14) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value15, other.Value15) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value16, other.Value16) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value17, other.Value17) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value18, other.Value18) + ; + } + + /// + /// + /// + public static bool operator ==(AnyOf obj1, AnyOf obj2) + { + return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AnyOf obj1, AnyOf obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AnyOf o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.Update.g.cs index e2effe66..43c4393e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.Update.g.cs @@ -46,8 +46,9 @@ partial void ProcessUpdateResponseContent( /// /// Update an API key
/// Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
+ /// Set `workspace_id` to move the key to another workspace.
/// <Warning>
- /// You can't change `workspace_id` through the API. The request body accepts only the fields listed below, and unrecognized fields are ignored. To move a key to another workspace, use the OpenRouter dashboard. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
+ /// The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
/// </Warning> ///
/// @@ -78,8 +79,9 @@ partial void ProcessUpdateResponseContent( /// /// Update an API key
/// Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
+ /// Set `workspace_id` to move the key to another workspace.
/// <Warning>
- /// You can't change `workspace_id` through the API. The request body accepts only the fields listed below, and unrecognized fields are ignored. To move a key to another workspace, use the OpenRouter dashboard. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
+ /// The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
/// </Warning> ///
/// @@ -432,6 +434,43 @@ partial void ProcessUpdateResponseContent( h => h.Key, h => h.Value)); } + // Forbidden - Authentication successful but insufficient permissions + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::OpenRouter.ForbiddenResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } // Not Found - Resource does not exist if ((int)__response.StatusCode == 404) { @@ -469,6 +508,43 @@ partial void ProcessUpdateResponseContent( h => h.Key, h => h.Value)); } + // Conflict - Resource conflict or concurrent modification + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::OpenRouter.ConflictResponse? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::OpenRouter.ConflictResponse.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::OpenRouter.ConflictResponse.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } // Too Many Requests - Rate limit exceeded if ((int)__response.StatusCode == 429) { @@ -642,8 +718,9 @@ partial void ProcessUpdateResponseContent( /// /// Update an API key
/// Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
+ /// Set `workspace_id` to move the key to another workspace.
/// <Warning>
- /// You can't change `workspace_id` through the API. The request body accepts only the fields listed below, and unrecognized fields are ignored. To move a key to another workspace, use the OpenRouter dashboard. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
+ /// The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
/// </Warning> ///
/// @@ -670,6 +747,10 @@ partial void ProcessUpdateResponseContent( /// New name for the API key
/// Example: Updated API Key Name /// + /// + /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -680,6 +761,7 @@ partial void ProcessUpdateResponseContent( double? limit = default, global::OpenRouter.UpdateKeysRequestLimitReset? limitReset = default, string? name = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -690,6 +772,7 @@ partial void ProcessUpdateResponseContent( Limit = limit, LimitReset = limitReset, Name = name, + WorkspaceId = workspaceId, }; return await UpdateAsync( diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.Send.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.Send.g.cs index 9323d687..8d1edb73 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.Send.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.Send.g.cs @@ -99,6 +99,7 @@ partial void ProcessSendResponseContent( { CacheControl = request.CacheControl, Debug = request.Debug, + DeferredTools = request.DeferredTools, FrequencyPenalty = request.FrequencyPenalty, ImageConfig = request.ImageConfig, LogitBias = request.LogitBias, @@ -1038,6 +1039,10 @@ partial void ProcessSendResponseContent( /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// Frequency penalty (-2.0 to 2.0)
/// Example: 0 @@ -1193,6 +1198,7 @@ partial void ProcessSendResponseContent( global::OpenRouter.MetadataLevel? xOpenRouterMetadata = default, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.Dictionary? logitBias = default, @@ -1237,6 +1243,7 @@ partial void ProcessSendResponseContent( { CacheControl = cacheControl, Debug = debug, + DeferredTools = deferredTools, FrequencyPenalty = frequencyPenalty, ImageConfig = imageConfig, LogitBias = logitBias, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.SendAsStream.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.SendAsStream.g.cs index 4c5526a6..4e6a3959 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.SendAsStream.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.SendAsStream.g.cs @@ -65,6 +65,7 @@ partial void ProcessSendAsStreamResponse( { CacheControl = request.CacheControl, Debug = request.Debug, + DeferredTools = request.DeferredTools, FrequencyPenalty = request.FrequencyPenalty, ImageConfig = request.ImageConfig, LogitBias = request.LogitBias, @@ -457,6 +458,10 @@ partial void ProcessSendAsStreamResponse( /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// Frequency penalty (-2.0 to 2.0)
/// Example: 0 @@ -612,6 +617,7 @@ partial void ProcessSendAsStreamResponse( global::OpenRouter.MetadataLevel? xOpenRouterMetadata = default, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.Dictionary? logitBias = default, @@ -656,6 +662,7 @@ partial void ProcessSendAsStreamResponse( { CacheControl = cacheControl, Debug = debug, + DeferredTools = deferredTools, FrequencyPenalty = frequencyPenalty, ImageConfig = imageConfig, LogitBias = logitBias, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeys.g.cs index cd2bf703..b4253fbb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeys.g.cs @@ -426,7 +426,7 @@ partial void ProcessBulkAssignKeysResponseContent( h => h.Key, h => h.Value)); } - // The guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a HIPAA-enabled workspace, where that filter is not available. + // The guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a workspace that does not allow that filter. if ((int)__response.StatusCode == 403) { string? __content_403 = null; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs index 90273ab5..09cb0111 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs @@ -413,7 +413,7 @@ partial void ProcessCreateResponseContent( h => h.Key, h => h.Value)); } - // The workspace is not owned by this account, or the guardrail would give a HIPAA-enabled workspace a person-name or address sensitive-info filter, which is not available there. + // The workspace is not owned by this account, or the workspace does not allow a person-name or address sensitive-info filter. if ((int)__response.StatusCode == 403) { string? __content_403 = null; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs index 4140a5a3..28fb8af8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs @@ -428,7 +428,7 @@ partial void ProcessUpdateResponseContent( h => h.Key, h => h.Value)); } - // The update would give a HIPAA-enabled workspace a person-name or address sensitive-info filter, which is not available there. + // The update would add a person-name or address sensitive-info filter to a workspace that does not allow it. if ((int)__response.StatusCode == 403) { string? __content_403 = null; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.Update.g.cs index 5411339e..a6fe23f9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.Update.g.cs @@ -7,8 +7,9 @@ public partial interface IApiKeysClient /// /// Update an API key
/// Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
+ /// Set `workspace_id` to move the key to another workspace.
/// <Warning>
- /// You can't change `workspace_id` through the API. The request body accepts only the fields listed below, and unrecognized fields are ignored. To move a key to another workspace, use the OpenRouter dashboard. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
+ /// The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
/// </Warning> ///
/// @@ -28,8 +29,9 @@ public partial interface IApiKeysClient /// /// Update an API key
/// Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
+ /// Set `workspace_id` to move the key to another workspace.
/// <Warning>
- /// You can't change `workspace_id` through the API. The request body accepts only the fields listed below, and unrecognized fields are ignored. To move a key to another workspace, use the OpenRouter dashboard. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
+ /// The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
/// </Warning> ///
/// @@ -49,8 +51,9 @@ public partial interface IApiKeysClient /// /// Update an API key
/// Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
+ /// Set `workspace_id` to move the key to another workspace.
/// <Warning>
- /// You can't change `workspace_id` through the API. The request body accepts only the fields listed below, and unrecognized fields are ignored. To move a key to another workspace, use the OpenRouter dashboard. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
+ /// The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
/// </Warning> ///
/// @@ -77,6 +80,10 @@ public partial interface IApiKeysClient /// New name for the API key
/// Example: Updated API Key Name /// + /// + /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -87,6 +94,7 @@ public partial interface IApiKeysClient double? limit = default, global::OpenRouter.UpdateKeysRequestLimitReset? limitReset = default, string? name = default, + global::System.Guid? workspaceId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.Send.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.Send.g.cs index 5f0cf9cb..a28bb500 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.Send.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.Send.g.cs @@ -58,6 +58,10 @@ public partial interface IChatClient /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// Frequency penalty (-2.0 to 2.0)
/// Example: 0 @@ -213,6 +217,7 @@ public partial interface IChatClient global::OpenRouter.MetadataLevel? xOpenRouterMetadata = default, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.Dictionary? logitBias = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.SendAsStream.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.SendAsStream.g.cs index 18adb58c..b5ef520e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.SendAsStream.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.SendAsStream.g.cs @@ -40,6 +40,10 @@ public partial interface IChatClient /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// Frequency penalty (-2.0 to 2.0)
/// Example: 0 @@ -195,6 +199,7 @@ public partial interface IChatClient global::OpenRouter.MetadataLevel? xOpenRouterMetadata = default, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.Dictionary? logitBias = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsChatCompletions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsChatCompletions.g.cs index efaf0219..785405aa 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsChatCompletions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsChatCompletions.g.cs @@ -58,6 +58,10 @@ public partial interface IPresetsClient /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// Frequency penalty (-2.0 to 2.0)
/// Example: 0 @@ -218,6 +222,7 @@ public partial interface IPresetsClient global::System.Collections.Generic.IList messages, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.Dictionary? logitBias = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsMessages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsMessages.g.cs index 4b086777..9f78e6fa 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsMessages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsMessages.g.cs @@ -55,6 +55,10 @@ public partial interface IPresetsClient /// Example: {"type":"ephemeral"} /// /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// Fallback models to try if the primary model fails or refuses, in order. Handled by OpenRouter multi-model routing rather than Anthropic server-side fallbacks; cannot be combined with `models`. Each entry accepts only `model`. Maximum of 3 entries.
/// Example: [{"model":"claude-opus-4-8"}] @@ -109,6 +113,7 @@ public partial interface IPresetsClient string model, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.MessagesRequestContextManagement? contextManagement = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, global::System.Collections.Generic.IList? fallbacks = default, int? maxTokens = default, global::System.Collections.Generic.IList? messages = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsResponses.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsResponses.g.cs index 9b61faf8..b686c643 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsResponses.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsResponses.g.cs @@ -59,6 +59,10 @@ public partial interface IPresetsClient /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// /// Provider-specific image configuration options. Keys and values vary by model/provider. See https://openrouter.ai/docs/guides/overview/multimodal/image-generation for more details.
@@ -160,6 +164,7 @@ public partial interface IPresetsClient bool? background = default, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.IList? include = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IResponsesClient.Send.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IResponsesClient.Send.g.cs index 7bb34ae2..f103c520 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IResponsesClient.Send.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IResponsesClient.Send.g.cs @@ -59,6 +59,10 @@ public partial interface IResponsesClient /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// /// Provider-specific image configuration options. Keys and values vary by model/provider. See https://openrouter.ai/docs/guides/overview/multimodal/image-generation for more details.
@@ -157,6 +161,7 @@ public partial interface IResponsesClient bool? background = default, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.IList? include = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IResponsesClient.SendAsStream.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IResponsesClient.SendAsStream.g.cs index 7928bdcf..56d89619 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IResponsesClient.SendAsStream.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IResponsesClient.SendAsStream.g.cs @@ -41,6 +41,10 @@ public partial interface IResponsesClient /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// /// Provider-specific image configuration options. Keys and values vary by model/provider. See https://openrouter.ai/docs/guides/overview/multimodal/image-generation for more details.
@@ -139,6 +143,7 @@ public partial interface IResponsesClient bool? background = default, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.IList? include = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.CreateIntern.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.CreateIntern.g.cs index e9c0e5a2..f337fdd4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.CreateIntern.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.InternsClient.CreateIntern.g.cs @@ -434,7 +434,7 @@ partial void ProcessCreateInternResponseContent( h => h.Key, h => h.Value)); } - // The key acts as an organization and has no member who can own the intern, the workspace does not allow interns (a HIPAA workspace), or regional access is refused. + // The key acts as an organization and has no member who can own the intern, the workspace does not allow interns, or regional access is refused. if ((int)__response.StatusCode == 403) { string? __content_403 = null; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AdditionalToolsItemToolAllowedCaller.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AdditionalToolsItemToolAllowedCaller.g.cs new file mode 100644 index 00000000..c8da5e25 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AdditionalToolsItemToolAllowedCaller.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AdditionalToolsItemToolAllowedCallerJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AdditionalToolsItemToolAllowedCaller Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AdditionalToolsItemToolAllowedCallerExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AdditionalToolsItemToolAllowedCaller); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AdditionalToolsItemToolAllowedCaller value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.AdditionalToolsItemToolAllowedCallerExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AdditionalToolsItemToolAllowedCallerNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AdditionalToolsItemToolAllowedCallerNullable.g.cs new file mode 100644 index 00000000..4bf07ddb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AdditionalToolsItemToolAllowedCallerNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AdditionalToolsItemToolAllowedCallerNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AdditionalToolsItemToolAllowedCaller? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AdditionalToolsItemToolAllowedCallerExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AdditionalToolsItemToolAllowedCaller?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AdditionalToolsItemToolAllowedCaller? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.AdditionalToolsItemToolAllowedCallerExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnyOf18.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnyOf18.g.cs new file mode 100644 index 00000000..f309d92e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnyOf18.g.cs @@ -0,0 +1,1041 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public class AnyOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> + { + /// + public override global::OpenRouter.AnyOf Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + } + } + + var __score0 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T1), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score0++; + } + } + } + var __score1 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T2), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score1++; + } + } + } + var __score2 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T3), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score2++; + } + } + } + var __score3 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T4), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score3++; + } + } + } + var __score4 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T5), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score4++; + } + } + } + var __score5 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T6), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score5++; + } + } + } + var __score6 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T7), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score6++; + } + } + } + var __score7 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T8), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score7++; + } + } + } + var __score8 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T9), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score8++; + } + } + } + var __score9 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T10), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score9++; + } + } + } + var __score10 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T11), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score10++; + } + } + } + var __score11 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T12), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score11++; + } + } + } + var __score12 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T13), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score12++; + } + } + } + var __score13 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T14), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score13++; + } + } + } + var __score14 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T15), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score14++; + } + } + } + var __score15 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T16), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score15++; + } + } + } + var __score16 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T17), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score16++; + } + } + } + var __score17 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T18), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score17++; + } + } + } + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } + if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } + if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } + if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; } + if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; } + if (__score7 > __bestScore) { __bestScore = __score7; __bestIndex = 7; } + if (__score8 > __bestScore) { __bestScore = __score8; __bestIndex = 8; } + if (__score9 > __bestScore) { __bestScore = __score9; __bestIndex = 9; } + if (__score10 > __bestScore) { __bestScore = __score10; __bestIndex = 10; } + if (__score11 > __bestScore) { __bestScore = __score11; __bestIndex = 11; } + if (__score12 > __bestScore) { __bestScore = __score12; __bestIndex = 12; } + if (__score13 > __bestScore) { __bestScore = __score13; __bestIndex = 13; } + if (__score14 > __bestScore) { __bestScore = __score14; __bestIndex = 14; } + if (__score15 > __bestScore) { __bestScore = __score15; __bestIndex = 15; } + if (__score16 > __bestScore) { __bestScore = __score16; __bestIndex = 16; } + if (__score17 > __bestScore) { __bestScore = __score17; __bestIndex = 17; } + + T1? value1 = default; + T2? value2 = default; + T3? value3 = default; + T4? value4 = default; + T5? value5 = default; + T6? value6 = default; + T7? value7 = default; + T8? value8 = default; + T9? value9 = default; + T10? value10 = default; + T11? value11 = default; + T12? value12 = default; + T13? value13 = default; + T14? value14 = default; + T15? value15 = default; + T16? value16 = default; + T17? value17 = default; + T18? value18 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 1) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 2) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); + value3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 3) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); + value4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 4) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); + value5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 5) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); + value6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 6) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}"); + value7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 7) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}"); + value8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 8) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}"); + value9 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 9) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T10), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T10).Name}"); + value10 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 10) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T11), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T11).Name}"); + value11 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 11) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T12), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T12).Name}"); + value12 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 12) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}"); + value13 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 13) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T14), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T14).Name}"); + value14 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 14) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T15), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T15).Name}"); + value15 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 15) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T16), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T16).Name}"); + value16 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 16) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}"); + value17 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 17) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T18), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T18).Name}"); + value18 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); + value3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); + value4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); + value5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); + value6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}"); + value7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}"); + value8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}"); + value9 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T10), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T10).Name}"); + value10 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T11), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T11).Name}"); + value11 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T12), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T12).Name}"); + value12 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}"); + value13 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T14), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T14).Name}"); + value14 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T15), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T15).Name}"); + value15 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T16), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T16).Name}"); + value16 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}"); + value17 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T18), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T18).Name}"); + value18 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.AnyOf( + value1, + + value2, + + value3, + + value4, + + value5, + + value6, + + value7, + + value8, + + value9, + + value10, + + value11, + + value12, + + value13, + + value14, + + value15, + + value16, + + value17, + + value18 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnyOf value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsValue1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue1(), typeInfo); + } + else if (value.IsValue2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue2(), typeInfo); + } + else if (value.IsValue3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue3(), typeInfo); + } + else if (value.IsValue4) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue4(), typeInfo); + } + else if (value.IsValue5) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue5(), typeInfo); + } + else if (value.IsValue6) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue6(), typeInfo); + } + else if (value.IsValue7) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue7(), typeInfo); + } + else if (value.IsValue8) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue8(), typeInfo); + } + else if (value.IsValue9) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue9(), typeInfo); + } + else if (value.IsValue10) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T10), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T10).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue10(), typeInfo); + } + else if (value.IsValue11) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T11), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T11).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue11(), typeInfo); + } + else if (value.IsValue12) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T12), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T12).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue12(), typeInfo); + } + else if (value.IsValue13) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue13(), typeInfo); + } + else if (value.IsValue14) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T14), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T14).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue14(), typeInfo); + } + else if (value.IsValue15) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T15), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T15).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue15(), typeInfo); + } + else if (value.IsValue16) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T16), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T16).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue16(), typeInfo); + } + else if (value.IsValue17) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue17(), typeInfo); + } + else if (value.IsValue18) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T18), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T18).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue18(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BaseResponsesResultToolVariant1AllowedCaller.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BaseResponsesResultToolVariant1AllowedCaller.g.cs new file mode 100644 index 00000000..61c99636 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BaseResponsesResultToolVariant1AllowedCaller.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class BaseResponsesResultToolVariant1AllowedCallerJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.BaseResponsesResultToolVariant1AllowedCallerExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.BaseResponsesResultToolVariant1AllowedCallerExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BaseResponsesResultToolVariant1AllowedCallerNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BaseResponsesResultToolVariant1AllowedCallerNullable.g.cs new file mode 100644 index 00000000..07b27ff7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.BaseResponsesResultToolVariant1AllowedCallerNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class BaseResponsesResultToolVariant1AllowedCallerNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.BaseResponsesResultToolVariant1AllowedCallerExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.BaseResponsesResultToolVariant1AllowedCallerExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs index 0ee9348f..aaf7f2d0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs @@ -36,7 +36,9 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat var __score0 = 0; if (__jsonProps.Contains("cache_control")) __score0++; + if (__jsonProps.Contains("defer_loading")) __score0++; if (__jsonProps.Contains("function")) __score0++; + if (__jsonProps.Contains("function.defer_loading")) __score0++; if (__jsonProps.Contains("function.description")) __score0++; if (__jsonProps.Contains("function.name")) __score0++; if (__jsonProps.Contains("function.parameters")) __score0++; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredBm25SearchType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredBm25SearchType.g.cs new file mode 100644 index 00000000..295afc6f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredBm25SearchType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredBm25SearchTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredBm25SearchType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredBm25SearchTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredBm25SearchType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredBm25SearchType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredBm25SearchType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.DeferredBm25SearchTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredBm25SearchTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredBm25SearchTypeNullable.g.cs new file mode 100644 index 00000000..c7e007f6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredBm25SearchTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredBm25SearchTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredBm25SearchType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredBm25SearchTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredBm25SearchType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredBm25SearchType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredBm25SearchType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.DeferredBm25SearchTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredCustomSearchType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredCustomSearchType.g.cs new file mode 100644 index 00000000..db5c0870 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredCustomSearchType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredCustomSearchTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredCustomSearchType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredCustomSearchTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredCustomSearchType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredCustomSearchType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredCustomSearchType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.DeferredCustomSearchTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredCustomSearchTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredCustomSearchTypeNullable.g.cs new file mode 100644 index 00000000..d0582c62 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredCustomSearchTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredCustomSearchTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredCustomSearchType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredCustomSearchTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredCustomSearchType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredCustomSearchType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredCustomSearchType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.DeferredCustomSearchTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredRegexSearchType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredRegexSearchType.g.cs new file mode 100644 index 00000000..dba8df42 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredRegexSearchType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredRegexSearchTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredRegexSearchType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredRegexSearchTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredRegexSearchType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredRegexSearchType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredRegexSearchType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.DeferredRegexSearchTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredRegexSearchTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredRegexSearchTypeNullable.g.cs new file mode 100644 index 00000000..f92a5327 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredRegexSearchTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredRegexSearchTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredRegexSearchType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredRegexSearchTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredRegexSearchType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredRegexSearchType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredRegexSearchType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.DeferredRegexSearchTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProfile.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProfile.g.cs new file mode 100644 index 00000000..4b59e8fa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProfile.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredToolsControlProfileJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredToolsControlProfile Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredToolsControlProfileExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredToolsControlProfile)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredToolsControlProfile); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredToolsControlProfile value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.DeferredToolsControlProfileExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProfileNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProfileNullable.g.cs new file mode 100644 index 00000000..fee6526b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProfileNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredToolsControlProfileNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredToolsControlProfile? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredToolsControlProfileExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredToolsControlProfile)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredToolsControlProfile?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredToolsControlProfile? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.DeferredToolsControlProfileExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProtocol.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProtocol.g.cs new file mode 100644 index 00000000..178a4c67 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProtocol.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredToolsControlProtocolJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredToolsControlProtocol Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredToolsControlProtocolExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredToolsControlProtocol)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredToolsControlProtocol); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredToolsControlProtocol value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.DeferredToolsControlProtocolExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProtocolNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProtocolNullable.g.cs new file mode 100644 index 00000000..b81794bd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlProtocolNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredToolsControlProtocolNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredToolsControlProtocol? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredToolsControlProtocolExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredToolsControlProtocol)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredToolsControlProtocol?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredToolsControlProtocol? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.DeferredToolsControlProtocolExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlValidation.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlValidation.g.cs new file mode 100644 index 00000000..7a20350f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlValidation.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredToolsControlValidationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredToolsControlValidation Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredToolsControlValidationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredToolsControlValidation)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredToolsControlValidation); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredToolsControlValidation value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.DeferredToolsControlValidationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlValidationNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlValidationNullable.g.cs new file mode 100644 index 00000000..ddd436b8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsControlValidationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredToolsControlValidationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredToolsControlValidation? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredToolsControlValidationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredToolsControlValidation)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredToolsControlValidation?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredToolsControlValidation? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.DeferredToolsControlValidationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsSearchStrategy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsSearchStrategy.g.cs new file mode 100644 index 00000000..adfc1a78 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsSearchStrategy.g.cs @@ -0,0 +1,87 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class DeferredToolsSearchStrategyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredToolsSearchStrategy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.DeferredToolsSearchStrategyDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.DeferredToolsSearchStrategyDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::OpenRouter.DeferredRegexSearch? regex = default; + if (discriminator?.Type == global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType.Regex) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.DeferredRegexSearch), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.DeferredRegexSearch)}"); + regex = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::OpenRouter.DeferredBm25Search? bm25 = default; + if (discriminator?.Type == global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType.Bm25) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.DeferredBm25Search), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.DeferredBm25Search)}"); + bm25 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::OpenRouter.DeferredCustomSearch? custom = default; + if (discriminator?.Type == global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType.Custom) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.DeferredCustomSearch), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.DeferredCustomSearch)}"); + custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::OpenRouter.DeferredToolsSearchStrategy( + discriminator?.Type, + regex, + + bm25, + + custom + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredToolsSearchStrategy value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsRegex) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.DeferredRegexSearch), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.DeferredRegexSearch).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRegex(), typeInfo); + } + else if (value.IsBm25) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.DeferredBm25Search), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.DeferredBm25Search).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBm25(), typeInfo); + } + else if (value.IsCustom) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.DeferredCustomSearch), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.DeferredCustomSearch).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustom(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsSearchStrategyDiscriminatorType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsSearchStrategyDiscriminatorType.g.cs new file mode 100644 index 00000000..bd12f7b6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsSearchStrategyDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredToolsSearchStrategyDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsSearchStrategyDiscriminatorTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsSearchStrategyDiscriminatorTypeNullable.g.cs new file mode 100644 index 00000000..9e32a749 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DeferredToolsSearchStrategyDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DeferredToolsSearchStrategyDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicContentBlock.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicContentBlock.g.cs index 66df1db7..3b820f09 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicContentBlock.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicContentBlock.g.cs @@ -133,6 +133,13 @@ public class ORAnthropicContentBlockJsonConverter : global::System.Text.Json.Ser throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.ORAnthropicBashToolResult)}"); openrouterBashToolResult = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::OpenRouter.ORAnthropicToolSearchResult? openrouterToolSearchResult = default; + if (discriminator?.Type == global::OpenRouter.ORAnthropicContentBlockDiscriminatorType.OpenrouterToolSearchResult) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ORAnthropicToolSearchResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::OpenRouter.ORAnthropicToolSearchResult)}"); + openrouterToolSearchResult = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::OpenRouter.ORAnthropicContentBlock( discriminator?.Type, @@ -166,7 +173,9 @@ public class ORAnthropicContentBlockJsonConverter : global::System.Text.Json.Ser openrouterShellToolResult, - openrouterBashToolResult + openrouterBashToolResult, + + openrouterToolSearchResult ); return __value; @@ -277,6 +286,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ORAnthropicBashToolResult).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOpenrouterBashToolResult(), typeInfo); } + else if (value.IsOpenrouterToolSearchResult) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ORAnthropicToolSearchResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ORAnthropicToolSearchResult).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOpenrouterToolSearchResult(), typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultParamType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultParamType.g.cs new file mode 100644 index 00000000..355f57aa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ORAnthropicToolSearchResultParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ORAnthropicToolSearchResultParamType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ORAnthropicToolSearchResultParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ORAnthropicToolSearchResultParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ORAnthropicToolSearchResultParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ORAnthropicToolSearchResultParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ORAnthropicToolSearchResultParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultParamTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultParamTypeNullable.g.cs new file mode 100644 index 00000000..43207acb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ORAnthropicToolSearchResultParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ORAnthropicToolSearchResultParamType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ORAnthropicToolSearchResultParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ORAnthropicToolSearchResultParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ORAnthropicToolSearchResultParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ORAnthropicToolSearchResultParamType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ORAnthropicToolSearchResultParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultType.g.cs new file mode 100644 index 00000000..7584910d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ORAnthropicToolSearchResultTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ORAnthropicToolSearchResultType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ORAnthropicToolSearchResultTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ORAnthropicToolSearchResultType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ORAnthropicToolSearchResultType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ORAnthropicToolSearchResultType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ORAnthropicToolSearchResultTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultTypeNullable.g.cs new file mode 100644 index 00000000..26b31756 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ORAnthropicToolSearchResultTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ORAnthropicToolSearchResultTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ORAnthropicToolSearchResultType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ORAnthropicToolSearchResultTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ORAnthropicToolSearchResultType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ORAnthropicToolSearchResultType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ORAnthropicToolSearchResultType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ORAnthropicToolSearchResultTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OneOf16.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OneOf17.g.cs similarity index 91% rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OneOf16.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OneOf17.g.cs index 35b594a0..69848a0c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OneOf16.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OneOf17.g.cs @@ -3,10 +3,10 @@ namespace OpenRouter.JsonConverters { /// - public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> + public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> { /// - public override global::OpenRouter.OneOf Read( + public override global::OpenRouter.OneOf Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -202,6 +202,17 @@ public class OneOfJsonConverter __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -220,6 +231,7 @@ public class OneOfJsonConverter __bestScore) { __bestScore = __score13; __bestIndex = 13; } if (__score14 > __bestScore) { __bestScore = __score14; __bestIndex = 14; } if (__score15 > __bestScore) { __bestScore = __score15; __bestIndex = 15; } + if (__score16 > __bestScore) { __bestScore = __score16; __bestIndex = 16; } T1? value1 = default; T2? value2 = default; @@ -237,6 +249,7 @@ public class OneOfJsonConverter= 0) { if (__bestIndex == 0) @@ -510,9 +523,26 @@ public class OneOfJsonConverter ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}"); + value17 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null) { try { @@ -529,7 +559,7 @@ public class OneOfJsonConverter( + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}"); + value17 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.OneOf( value1, value2, @@ -815,7 +862,9 @@ public class OneOfJsonConverter public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::OpenRouter.OneOf value, + global::OpenRouter.OneOf value, global::System.Text.Json.JsonSerializerOptions options) { options = options ?? throw new global::System.ArgumentNullException(nameof(options)); @@ -926,6 +975,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T16).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue16(), typeInfo); } + else if (value.IsValue17) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue17(), typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolVariant1AllowedCaller.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolVariant1AllowedCaller.g.cs new file mode 100644 index 00000000..36784591 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolVariant1AllowedCaller.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ResponsesRequestToolVariant1AllowedCallerJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ResponsesRequestToolVariant1AllowedCallerExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ResponsesRequestToolVariant1AllowedCallerExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolVariant1AllowedCallerNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolVariant1AllowedCallerNullable.g.cs new file mode 100644 index 00000000..88dd0f01 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolVariant1AllowedCallerNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ResponsesRequestToolVariant1AllowedCallerNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ResponsesRequestToolVariant1AllowedCallerExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ResponsesRequestToolVariant1AllowedCallerExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemToolAllowedCaller.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemToolAllowedCaller.g.cs new file mode 100644 index 00000000..7d60b05b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemToolAllowedCaller.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchOutputItemToolAllowedCallerJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchOutputItemToolAllowedCaller Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchOutputItemToolAllowedCallerExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchOutputItemToolAllowedCaller); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchOutputItemToolAllowedCaller value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ToolSearchOutputItemToolAllowedCallerExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemToolAllowedCallerNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemToolAllowedCallerNullable.g.cs new file mode 100644 index 00000000..db49dd49 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ToolSearchOutputItemToolAllowedCallerNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ToolSearchOutputItemToolAllowedCallerNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ToolSearchOutputItemToolAllowedCaller? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ToolSearchOutputItemToolAllowedCallerExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ToolSearchOutputItemToolAllowedCaller?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ToolSearchOutputItemToolAllowedCaller? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ToolSearchOutputItemToolAllowedCallerExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index 1c35ba63..45442829 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -25,10 +25,10 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_25db2b9007507e22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_a830fbfb5e9626e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_852e8dbebe67306b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_31a1b30890f9e262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] @@ -58,9 +58,9 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_a7f8131972d9612b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_da2025d9555d1b10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e3ef77e98141e736")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] @@ -82,8 +82,8 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_cfed1a0da3b80605")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e090d91717704994")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] @@ -107,7 +107,10 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfFunctionToolAdditionalToolsItemTool2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FunctionTool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdditionalToolsItemTool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdditionalToolsItemToolAllowedCaller), TypeInfoPropertyName = "AdditionalToolsItemToolAllowedCaller2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchServerTool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Preview20250311WebSearchServerTool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.LegacyWebSearchServerTool))] @@ -136,7 +139,6 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolOpenRouter))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchServerTool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdditionalToolsItemTool2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdditionalToolsItemType), TypeInfoPropertyName = "AdditionalToolsItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdvisorReasoning))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdvisorReasoningEffort), TypeInfoPropertyName = "AdvisorReasoningEffort2")] @@ -509,8 +511,6 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemContentVariant1ItemDiscriminatorType), TypeInfoPropertyName = "BaseInputsVariant2ItemContentVariant1ItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfBaseInputsVariant2ItemPhaseVariant1BaseInputsVariant2ItemPhaseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemPhaseVariant1), TypeInfoPropertyName = "BaseInputsVariant2ItemPhaseVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemPhaseVariant2), TypeInfoPropertyName = "BaseInputsVariant2ItemPhaseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant1), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant12")] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -537,10 +537,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_25db2b9007507e22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_a830fbfb5e9626e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_852e8dbebe67306b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_31a1b30890f9e262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] @@ -570,9 +570,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_a7f8131972d9612b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_da2025d9555d1b10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e3ef77e98141e736")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] @@ -594,8 +594,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_cfed1a0da3b80605")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e090d91717704994")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] @@ -603,6 +603,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemPhaseVariant2), TypeInfoPropertyName = "BaseInputsVariant2ItemPhaseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant1), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant12")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant2), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant3), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant4), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant42")] @@ -661,6 +663,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoice), TypeInfoPropertyName = "OpenAIResponsesToolChoice2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfFunctionToolBaseResponsesResultToolVariant12")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseResponsesResultToolVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller), TypeInfoPropertyName = "BaseResponsesResultToolVariant1AllowedCaller2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Truncation), TypeInfoPropertyName = "Truncation2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesUsage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseTextDeltaEvent))] @@ -907,6 +911,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailUnion), TypeInfoPropertyName = "ReasoningDetailUnion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatReasoningSummaryVerbosityEnum), TypeInfoPropertyName = "ChatReasoningSummaryVerbosityEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsControl))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -1020,11 +1025,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CompoundFilterType), TypeInfoPropertyName = "CompoundFilterType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ComputerUseServerToolEnvironment), TypeInfoPropertyName = "ComputerUseServerToolEnvironment2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ComputerUseServerToolType), TypeInfoPropertyName = "ComputerUseServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateItemType), TypeInfoPropertyName = "ConfigurationUpdateItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateReasoningEffort), TypeInfoPropertyName = "ConfigurationUpdateReasoningEffort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConflictResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConflictResponseErrorData))] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1051,10 +1051,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_25db2b9007507e22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_a830fbfb5e9626e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_852e8dbebe67306b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_31a1b30890f9e262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] @@ -1084,9 +1084,9 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_a7f8131972d9612b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_da2025d9555d1b10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e3ef77e98141e736")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] @@ -1108,8 +1108,8 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_cfed1a0da3b80605")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e090d91717704994")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] @@ -1117,6 +1117,11 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ComputerUseServerToolType), TypeInfoPropertyName = "ComputerUseServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateItemType), TypeInfoPropertyName = "ConfigurationUpdateItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateReasoningEffort), TypeInfoPropertyName = "ConfigurationUpdateReasoningEffort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConflictResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConflictResponseErrorData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicy), TypeInfoPropertyName = "ContainerNetworkPolicy2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerAutoEnvironmentType), TypeInfoPropertyName = "ContainerAutoEnvironmentType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFile))] @@ -1262,6 +1267,18 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsScoreQuestionType), TypeInfoPropertyName = "DecisionsScoreQuestionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DefaultParameters))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredBm25Search))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredBm25SearchType), TypeInfoPropertyName = "DeferredBm25SearchType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredCustomSearch))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredCustomSearchType), TypeInfoPropertyName = "DeferredCustomSearchType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredRegexSearch))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredRegexSearchType), TypeInfoPropertyName = "DeferredRegexSearchType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsControlProfile), TypeInfoPropertyName = "DeferredToolsControlProfile2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsControlProtocol), TypeInfoPropertyName = "DeferredToolsControlProtocol2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsSearchStrategy), TypeInfoPropertyName = "DeferredToolsSearchStrategy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsControlValidation), TypeInfoPropertyName = "DeferredToolsControlValidation2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsSearchStrategyDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType), TypeInfoPropertyName = "DeferredToolsSearchStrategyDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteBYOKKeyResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteGuardrailResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteInternRequest))] @@ -1518,23 +1535,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputReferenceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputReferenceDiscriminatorType), TypeInfoPropertyName = "InputReferenceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Inputs), TypeInfoPropertyName = "Inputs2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningItem), TypeInfoPropertyName = "ReasoningItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfOutputMessageItemInputsVariant2ItemVariant822")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageItem), TypeInfoPropertyName = "OutputMessageItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant82))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>, string>), TypeInfoPropertyName = "AnyOfIListAnyOfResponseOutputTextOpenAIResponsesRefusalContentString2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant8Type), TypeInfoPropertyName = "InputsVariant2ItemVariant8Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfOutputReasoningItemInputsVariant2ItemVariant922")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputReasoningItem), TypeInfoPropertyName = "OutputReasoningItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant92))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchCallItem), TypeInfoPropertyName = "OutputWebSearchCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchCallItem), TypeInfoPropertyName = "OutputFileSearchCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputImageGenerationCallItem), TypeInfoPropertyName = "OutputImageGenerationCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterCallItem), TypeInfoPropertyName = "OutputCodeInterpreterCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputComputerCallItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputDatetimeItem))] internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1561,10 +1561,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_25db2b9007507e22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_a830fbfb5e9626e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_852e8dbebe67306b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_31a1b30890f9e262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] @@ -1594,9 +1594,9 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_a7f8131972d9612b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_da2025d9555d1b10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e3ef77e98141e736")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] @@ -1618,8 +1618,8 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_cfed1a0da3b80605")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e090d91717704994")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] @@ -1627,6 +1627,23 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningItem), TypeInfoPropertyName = "ReasoningItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfOutputMessageItemInputsVariant2ItemVariant822")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageItem), TypeInfoPropertyName = "OutputMessageItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant82))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>, string>), TypeInfoPropertyName = "AnyOfIListAnyOfResponseOutputTextOpenAIResponsesRefusalContentString2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant8Type), TypeInfoPropertyName = "InputsVariant2ItemVariant8Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfOutputReasoningItemInputsVariant2ItemVariant922")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputReasoningItem), TypeInfoPropertyName = "OutputReasoningItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant92))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchCallItem), TypeInfoPropertyName = "OutputWebSearchCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchCallItem), TypeInfoPropertyName = "OutputFileSearchCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputImageGenerationCallItem), TypeInfoPropertyName = "OutputImageGenerationCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterCallItem), TypeInfoPropertyName = "OutputCodeInterpreterCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputComputerCallItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputDatetimeItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterServerToolItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchServerToolItem))] @@ -1839,6 +1856,7 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicServerToolUseBlock))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicShellToolResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicBashToolResult))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicToolSearchResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesContentBlockStartEventContentBlock))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesContentBlockStartEventContentBlockType), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlockType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesContentBlockStartEventType), TypeInfoPropertyName = "MessagesContentBlockStartEventType2")] @@ -1879,6 +1897,7 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesToolAdditionBlock))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesToolRemovalBlock))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesShellToolResultBlock))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicToolSearchResultParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesMessageParamRole), TypeInfoPropertyName = "MessagesMessageParamRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesOutputConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesOutputConfigEffort), TypeInfoPropertyName = "MessagesOutputConfigEffort2")] @@ -2032,25 +2051,6 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyKty), TypeInfoPropertyName = "OAuthJwksKeyKty2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyUse), TypeInfoPropertyName = "OAuthJwksKeyUse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestinationConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRulesConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDataRegion), TypeInfoPropertyName = "ObservabilityDataRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestinationType), TypeInfoPropertyName = "ObservabilityArizeDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestinationConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestinationType), TypeInfoPropertyName = "ObservabilityBraintrustDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestinationConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestinationType), TypeInfoPropertyName = "ObservabilityClickhouseDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestinationConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestinationType), TypeInfoPropertyName = "ObservabilityDatadogDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangsmithDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOpikDestination))] internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2077,10 +2077,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_25db2b9007507e22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_a830fbfb5e9626e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_852e8dbebe67306b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_31a1b30890f9e262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] @@ -2110,9 +2110,9 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_a7f8131972d9612b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_da2025d9555d1b10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e3ef77e98141e736")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] @@ -2134,8 +2134,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_cfed1a0da3b80605")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e090d91717704994")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] @@ -2143,6 +2143,25 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestinationConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRulesConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDataRegion), TypeInfoPropertyName = "ObservabilityDataRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestinationType), TypeInfoPropertyName = "ObservabilityArizeDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestinationConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestinationType), TypeInfoPropertyName = "ObservabilityBraintrustDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestinationConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestinationType), TypeInfoPropertyName = "ObservabilityClickhouseDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestinationConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestinationType), TypeInfoPropertyName = "ObservabilityDatadogDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangsmithDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOpikDestination))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOtelCollectorDestination))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityPosthogDestination))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityRampDestination))] @@ -2298,6 +2317,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicShellToolResultFile))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicShellToolResultFileType), TypeInfoPropertyName = "ORAnthropicShellToolResultFileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicShellToolResultType), TypeInfoPropertyName = "ORAnthropicShellToolResultType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicToolSearchResultType), TypeInfoPropertyName = "ORAnthropicToolSearchResultType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicToolSearchResultParamType), TypeInfoPropertyName = "ORAnthropicToolSearchResultParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OrganizationSettings))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputAdvisorServerToolItemType), TypeInfoPropertyName = "OutputAdvisorServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputApplyPatchCallItem))] @@ -2418,6 +2439,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemType), TypeInfoPropertyName = "OutputTextEditorServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItemExecution), TypeInfoPropertyName = "OutputToolSearchCallItemExecution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItemType), TypeInfoPropertyName = "OutputToolSearchCallItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItemMatche))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItemType), TypeInfoPropertyName = "OutputToolSearchServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebFetchServerToolItemType), TypeInfoPropertyName = "OutputWebFetchServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemAction))] @@ -2537,30 +2560,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestServiceTier), TypeInfoPropertyName = "ResponsesRequestServiceTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfFunctionToolResponsesRequestToolVariant12")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestToolVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesStreamingResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StreamEvents), TypeInfoPropertyName = "StreamEvents2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ScimGroupMappingRole), TypeInfoPropertyName = "ScimGroupMappingRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ScimSyncJobStatus), TypeInfoPropertyName = "ScimSyncJobStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SearchModelsServerToolOpenRouterType), TypeInfoPropertyName = "SearchModelsServerToolOpenRouterType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolInputName))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolEngine))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolNativeSupport))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolStatus), TypeInfoPropertyName = "ServerToolStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolSupportedApiFormat), TypeInfoPropertyName = "ServerToolSupportedApiFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolDetailsVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfServerToolNativeSupportServerToolDetailsVariant2NativeSupport2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolDetailsVariant2NativeSupport))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolNativeModel))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolEngineByok), TypeInfoPropertyName = "ServerToolEngineByok2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolEngineDataRegion), TypeInfoPropertyName = "ServerToolEngineDataRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolExecutedBy), TypeInfoPropertyName = "ServerToolExecutedBy2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolPrice))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2587,10 +2587,10 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_25db2b9007507e22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_a830fbfb5e9626e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_852e8dbebe67306b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_31a1b30890f9e262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] @@ -2620,9 +2620,9 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_a7f8131972d9612b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_da2025d9555d1b10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e3ef77e98141e736")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] @@ -2644,8 +2644,8 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_cfed1a0da3b80605")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e090d91717704994")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] @@ -2653,6 +2653,31 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller), TypeInfoPropertyName = "ResponsesRequestToolVariant1AllowedCaller2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesStreamingResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StreamEvents), TypeInfoPropertyName = "StreamEvents2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ScimGroupMappingRole), TypeInfoPropertyName = "ScimGroupMappingRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ScimSyncJobStatus), TypeInfoPropertyName = "ScimSyncJobStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SearchModelsServerToolOpenRouterType), TypeInfoPropertyName = "SearchModelsServerToolOpenRouterType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolInputName))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolEngine))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolNativeSupport))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolStatus), TypeInfoPropertyName = "ServerToolStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolSupportedApiFormat), TypeInfoPropertyName = "ServerToolSupportedApiFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolDetailsVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfServerToolNativeSupportServerToolDetailsVariant2NativeSupport2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolDetailsVariant2NativeSupport))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolNativeModel))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolEngineByok), TypeInfoPropertyName = "ServerToolEngineByok2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolEngineDataRegion), TypeInfoPropertyName = "ServerToolEngineDataRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolExecutedBy), TypeInfoPropertyName = "ServerToolExecutedBy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolPrice))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolEnginePricingSource), TypeInfoPropertyName = "ServerToolEnginePricingSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ServerToolInputNameApiFormat), TypeInfoPropertyName = "ServerToolInputNameApiFormat2")] @@ -2805,6 +2830,8 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemStatus), TypeInfoPropertyName = "ToolSearchOutputItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfFunctionToolToolSearchOutputItemTool2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemTool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemToolAllowedCaller), TypeInfoPropertyName = "ToolSearchOutputItemToolAllowedCaller2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemTool2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemType), TypeInfoPropertyName = "ToolSearchOutputItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchServerToolConfig))] @@ -3046,33 +3073,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemDatacenter), TypeInfoPropertyName = "ListProvidersResponseDataItemDatacenter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemHeadquarters), TypeInfoPropertyName = "ListProvidersResponseDataItemHeadquarters2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankResponseResult))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankResponseResultDocument))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankResponseUsage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdditionalToolsItemRole?), TypeInfoPropertyName = "NullableAdditionalToolsItemRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfFunctionToolAdditionalToolsItemTool2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdditionalToolsItemType?), TypeInfoPropertyName = "NullableAdditionalToolsItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdvisorReasoningEffort?), TypeInfoPropertyName = "NullableAdvisorReasoningEffort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdvisorServerToolOpenRouterType?), TypeInfoPropertyName = "NullableAdvisorServerToolOpenRouterType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.AgentMessageItemContentItem2>?), TypeInfoPropertyName = "NullableOneOfInputTextAllOfInputImageObjectAgentMessageItemContentItem22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfInputImageObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AgentMessageItemContentItemType?), TypeInfoPropertyName = "NullableAgentMessageItemContentItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AgentMessageItemType?), TypeInfoPropertyName = "NullableAgentMessageItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentCallRecord?), TypeInfoPropertyName = "NullableAlignmentCallRecord2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentAllowedCallRecordOutcome?), TypeInfoPropertyName = "NullableAlignmentAllowedCallRecordOutcome2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentBlockedCallRecordOutcome?), TypeInfoPropertyName = "NullableAlignmentBlockedCallRecordOutcome2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentCallRecordDiscriminatorOutcome?), TypeInfoPropertyName = "NullableAlignmentCallRecordDiscriminatorOutcome2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentChatImageType?), TypeInfoPropertyName = "NullableAlignmentChatImageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentChatRejectedRole?), TypeInfoPropertyName = "NullableAlignmentChatRejectedRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentChatToolCallType?), TypeInfoPropertyName = "NullableAlignmentChatToolCallType2")] internal sealed partial class SourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3099,10 +3099,10 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_25db2b9007507e22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_a830fbfb5e9626e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_852e8dbebe67306b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_31a1b30890f9e262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] @@ -3132,9 +3132,9 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_a7f8131972d9612b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_da2025d9555d1b10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e3ef77e98141e736")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] @@ -3156,8 +3156,8 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_cfed1a0da3b80605")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e090d91717704994")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] @@ -3165,6 +3165,34 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemDatacenter), TypeInfoPropertyName = "ListProvidersResponseDataItemDatacenter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemHeadquarters), TypeInfoPropertyName = "ListProvidersResponseDataItemHeadquarters2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankResponseResult))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankResponseResultDocument))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankResponseUsage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdditionalToolsItemRole?), TypeInfoPropertyName = "NullableAdditionalToolsItemRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfFunctionToolAdditionalToolsItemTool2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdditionalToolsItemToolAllowedCaller?), TypeInfoPropertyName = "NullableAdditionalToolsItemToolAllowedCaller2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdditionalToolsItemType?), TypeInfoPropertyName = "NullableAdditionalToolsItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdvisorReasoningEffort?), TypeInfoPropertyName = "NullableAdvisorReasoningEffort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AdvisorServerToolOpenRouterType?), TypeInfoPropertyName = "NullableAdvisorServerToolOpenRouterType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.AgentMessageItemContentItem2>?), TypeInfoPropertyName = "NullableOneOfInputTextAllOfInputImageObjectAgentMessageItemContentItem22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfInputImageObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AgentMessageItemContentItemType?), TypeInfoPropertyName = "NullableAgentMessageItemContentItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AgentMessageItemType?), TypeInfoPropertyName = "NullableAgentMessageItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentCallRecord?), TypeInfoPropertyName = "NullableAlignmentCallRecord2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentAllowedCallRecordOutcome?), TypeInfoPropertyName = "NullableAlignmentAllowedCallRecordOutcome2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentBlockedCallRecordOutcome?), TypeInfoPropertyName = "NullableAlignmentBlockedCallRecordOutcome2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentCallRecordDiscriminatorOutcome?), TypeInfoPropertyName = "NullableAlignmentCallRecordDiscriminatorOutcome2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentChatImageType?), TypeInfoPropertyName = "NullableAlignmentChatImageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentChatRejectedRole?), TypeInfoPropertyName = "NullableAlignmentChatRejectedRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentChatToolCallType?), TypeInfoPropertyName = "NullableAlignmentChatToolCallType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentPluginId?), TypeInfoPropertyName = "NullableAlignmentPluginId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentPluginMode?), TypeInfoPropertyName = "NullableAlignmentPluginMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentRejected?), TypeInfoPropertyName = "NullableAlignmentRejected2")] @@ -3368,6 +3396,7 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesResponseStatus?), TypeInfoPropertyName = "NullableOpenAIResponsesResponseStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoice?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoice2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfFunctionToolBaseResponsesResultToolVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller?), TypeInfoPropertyName = "NullableBaseResponsesResultToolVariant1AllowedCaller2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Truncation?), TypeInfoPropertyName = "NullableTruncation2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseTextDeltaEventType?), TypeInfoPropertyName = "NullableBaseTextDeltaEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseTextDoneEventType?), TypeInfoPropertyName = "NullableBaseTextDoneEventType2")] @@ -3558,35 +3587,6 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringObjectIListObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsChoiceQuestionType?), TypeInfoPropertyName = "NullableDecisionsChoiceQuestionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsNoulAnswerType?), TypeInfoPropertyName = "NullableDecisionsNoulAnswerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsNoulQuestionType?), TypeInfoPropertyName = "NullableDecisionsNoulQuestionType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfProviderPreferencesObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Questions?), TypeInfoPropertyName = "NullableQuestions2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsRequestQuestionsDiscriminatorType?), TypeInfoPropertyName = "NullableDecisionsRequestQuestionsDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Answers?), TypeInfoPropertyName = "NullableAnswers2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsResponseAnswersDiscriminatorType?), TypeInfoPropertyName = "NullableDecisionsResponseAnswersDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsScoreAnswerType?), TypeInfoPropertyName = "NullableDecisionsScoreAnswerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsScoreQuestionType?), TypeInfoPropertyName = "NullableDecisionsScoreQuestionType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>?), TypeInfoPropertyName = "NullableAnyOfIListOneOfInputTextAllOfInputImageObjectInputFileInputAudioInputVideoString2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>?), TypeInfoPropertyName = "NullableOneOfInputTextAllOfInputImageObjectInputFileInputAudioInputVideo2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfEasyInputMessagePhaseVariant1EasyInputMessagePhaseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessagePhaseVariant1?), TypeInfoPropertyName = "NullableEasyInputMessagePhaseVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessagePhaseVariant2?), TypeInfoPropertyName = "NullableEasyInputMessagePhaseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageRoleVariant1?), TypeInfoPropertyName = "NullableEasyInputMessageRoleVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageRoleVariant2?), TypeInfoPropertyName = "NullableEasyInputMessageRoleVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageRoleVariant3?), TypeInfoPropertyName = "NullableEasyInputMessageRoleVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageRoleVariant4?), TypeInfoPropertyName = "NullableEasyInputMessageRoleVariant42")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageType?), TypeInfoPropertyName = "NullableEasyInputMessageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EnumCapabilityType?), TypeInfoPropertyName = "NullableEnumCapabilityType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ErrorEvent?), TypeInfoPropertyName = "NullableErrorEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FailableToolCallStatus?), TypeInfoPropertyName = "NullableFailableToolCallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FailedEventType?), TypeInfoPropertyName = "NullableFailedEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileCitationType?), TypeInfoPropertyName = "NullableFileCitationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileDeleteResponse?), TypeInfoPropertyName = "NullableFileDeleteResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileDeleteResponseDiscriminatorShape?), TypeInfoPropertyName = "NullableFileDeleteResponseDiscriminatorShape2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileListResponse?), TypeInfoPropertyName = "NullableFileListResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileListResponseDiscriminatorShape?), TypeInfoPropertyName = "NullableFileListResponseDiscriminatorShape2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileParserPluginId?), TypeInfoPropertyName = "NullableFileParserPluginId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FilePathType?), TypeInfoPropertyName = "NullableFilePathType2")] internal sealed partial class SourceGenerationContextChunk6 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3613,10 +3613,10 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_25db2b9007507e22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_a830fbfb5e9626e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_852e8dbebe67306b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_31a1b30890f9e262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] @@ -3646,9 +3646,9 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_a7f8131972d9612b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_da2025d9555d1b10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e3ef77e98141e736")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] @@ -3670,8 +3670,8 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_cfed1a0da3b80605")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e090d91717704994")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] @@ -3679,6 +3679,43 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsNoulQuestionType?), TypeInfoPropertyName = "NullableDecisionsNoulQuestionType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfProviderPreferencesObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Questions?), TypeInfoPropertyName = "NullableQuestions2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsRequestQuestionsDiscriminatorType?), TypeInfoPropertyName = "NullableDecisionsRequestQuestionsDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Answers?), TypeInfoPropertyName = "NullableAnswers2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsResponseAnswersDiscriminatorType?), TypeInfoPropertyName = "NullableDecisionsResponseAnswersDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsScoreAnswerType?), TypeInfoPropertyName = "NullableDecisionsScoreAnswerType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsScoreQuestionType?), TypeInfoPropertyName = "NullableDecisionsScoreQuestionType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredBm25SearchType?), TypeInfoPropertyName = "NullableDeferredBm25SearchType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredCustomSearchType?), TypeInfoPropertyName = "NullableDeferredCustomSearchType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredRegexSearchType?), TypeInfoPropertyName = "NullableDeferredRegexSearchType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsControlProfile?), TypeInfoPropertyName = "NullableDeferredToolsControlProfile2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsControlProtocol?), TypeInfoPropertyName = "NullableDeferredToolsControlProtocol2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsSearchStrategy?), TypeInfoPropertyName = "NullableDeferredToolsSearchStrategy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsControlValidation?), TypeInfoPropertyName = "NullableDeferredToolsControlValidation2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType?), TypeInfoPropertyName = "NullableDeferredToolsSearchStrategyDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>?), TypeInfoPropertyName = "NullableAnyOfIListOneOfInputTextAllOfInputImageObjectInputFileInputAudioInputVideoString2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>?), TypeInfoPropertyName = "NullableOneOfInputTextAllOfInputImageObjectInputFileInputAudioInputVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfEasyInputMessagePhaseVariant1EasyInputMessagePhaseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessagePhaseVariant1?), TypeInfoPropertyName = "NullableEasyInputMessagePhaseVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessagePhaseVariant2?), TypeInfoPropertyName = "NullableEasyInputMessagePhaseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageRoleVariant1?), TypeInfoPropertyName = "NullableEasyInputMessageRoleVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageRoleVariant2?), TypeInfoPropertyName = "NullableEasyInputMessageRoleVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageRoleVariant3?), TypeInfoPropertyName = "NullableEasyInputMessageRoleVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageRoleVariant4?), TypeInfoPropertyName = "NullableEasyInputMessageRoleVariant42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageType?), TypeInfoPropertyName = "NullableEasyInputMessageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EnumCapabilityType?), TypeInfoPropertyName = "NullableEnumCapabilityType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ErrorEvent?), TypeInfoPropertyName = "NullableErrorEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FailableToolCallStatus?), TypeInfoPropertyName = "NullableFailableToolCallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FailedEventType?), TypeInfoPropertyName = "NullableFailedEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileCitationType?), TypeInfoPropertyName = "NullableFileCitationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileDeleteResponse?), TypeInfoPropertyName = "NullableFileDeleteResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileDeleteResponseDiscriminatorShape?), TypeInfoPropertyName = "NullableFileDeleteResponseDiscriminatorShape2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileListResponse?), TypeInfoPropertyName = "NullableFileListResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileListResponseDiscriminatorShape?), TypeInfoPropertyName = "NullableFileListResponseDiscriminatorShape2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileParserPluginId?), TypeInfoPropertyName = "NullableFileParserPluginId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FilePathType?), TypeInfoPropertyName = "NullableFilePathType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileProvider?), TypeInfoPropertyName = "NullableFileProvider2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileResponse?), TypeInfoPropertyName = "NullableFileResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FileResponseDiscriminatorShape?), TypeInfoPropertyName = "NullableFileResponseDiscriminatorShape2")] @@ -4024,6 +4061,8 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicServerToolUseBlockType?), TypeInfoPropertyName = "NullableORAnthropicServerToolUseBlockType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicShellToolResultFileType?), TypeInfoPropertyName = "NullableORAnthropicShellToolResultFileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicShellToolResultType?), TypeInfoPropertyName = "NullableORAnthropicShellToolResultType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicToolSearchResultType?), TypeInfoPropertyName = "NullableORAnthropicToolSearchResultType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicToolSearchResultParamType?), TypeInfoPropertyName = "NullableORAnthropicToolSearchResultParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputAdvisorServerToolItemType?), TypeInfoPropertyName = "NullableOutputAdvisorServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputApplyPatchCallItemType?), TypeInfoPropertyName = "NullableOutputApplyPatchCallItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputApplyPatchServerToolItemType?), TypeInfoPropertyName = "NullableOutputApplyPatchServerToolItemType2")] @@ -4035,72 +4074,33 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputComputerCallItemType?), TypeInfoPropertyName = "NullableOutputComputerCallItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCustomToolCallItemStatus?), TypeInfoPropertyName = "NullableOutputCustomToolCallItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCustomToolCallItemType?), TypeInfoPropertyName = "NullableOutputCustomToolCallItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputDatetimeItemType?), TypeInfoPropertyName = "NullableOutputDatetimeItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchServerToolItemType?), TypeInfoPropertyName = "NullableOutputFileSearchServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFilesServerToolItemType?), TypeInfoPropertyName = "NullableOutputFilesServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFunctionCallItem?), TypeInfoPropertyName = "NullableOutputFunctionCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFusionServerToolItemType?), TypeInfoPropertyName = "NullableOutputFusionServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputImageGenerationServerToolItemType?), TypeInfoPropertyName = "NullableOutputImageGenerationServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Item?), TypeInfoPropertyName = "NullableItem2_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemAddedEventItemDiscriminatorType?), TypeInfoPropertyName = "NullableOutputItemAddedEventItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemAddedEventType?), TypeInfoPropertyName = "NullableOutputItemAddedEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Operation?), TypeInfoPropertyName = "NullableOperation2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType?), TypeInfoPropertyName = "NullableOutputItemApplyPatchCallOperationDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemApplyPatchCallStatus?), TypeInfoPropertyName = "NullableOutputItemApplyPatchCallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemApplyPatchCallType?), TypeInfoPropertyName = "NullableOutputItemApplyPatchCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputsItem?), TypeInfoPropertyName = "NullableOutputsItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType?), TypeInfoPropertyName = "NullableOutputItemCodeInterpreterCallOutputDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemCodeInterpreterCallStatus?), TypeInfoPropertyName = "NullableOutputItemCodeInterpreterCallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemCodeInterpreterCallType?), TypeInfoPropertyName = "NullableOutputItemCodeInterpreterCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemCustomToolCallStatus?), TypeInfoPropertyName = "NullableOutputItemCustomToolCallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemCustomToolCallType?), TypeInfoPropertyName = "NullableOutputItemCustomToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Item2?), TypeInfoPropertyName = "NullableItem22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemDoneEventItemDiscriminatorType?), TypeInfoPropertyName = "NullableOutputItemDoneEventItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemDoneEventType?), TypeInfoPropertyName = "NullableOutputItemDoneEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchStatus?), TypeInfoPropertyName = "NullableWebSearchStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemFileSearchCallType?), TypeInfoPropertyName = "NullableOutputItemFileSearchCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemFunctionCallStatusVariant1?), TypeInfoPropertyName = "NullableOutputItemFunctionCallStatusVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemFunctionCallStatusVariant2?), TypeInfoPropertyName = "NullableOutputItemFunctionCallStatusVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemFunctionCallStatusVariant3?), TypeInfoPropertyName = "NullableOutputItemFunctionCallStatusVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemFunctionCallType?), TypeInfoPropertyName = "NullableOutputItemFunctionCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemImageGenerationCallType?), TypeInfoPropertyName = "NullableOutputItemImageGenerationCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOutputItemReasoningStatusVariant1OutputItemReasoningStatusVariant2OutputItemReasoningStatusVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemReasoningStatusVariant1?), TypeInfoPropertyName = "NullableOutputItemReasoningStatusVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemReasoningStatusVariant2?), TypeInfoPropertyName = "NullableOutputItemReasoningStatusVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemReasoningStatusVariant3?), TypeInfoPropertyName = "NullableOutputItemReasoningStatusVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemReasoningType?), TypeInfoPropertyName = "NullableOutputItemReasoningType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemsDiscriminatorType?), TypeInfoPropertyName = "NullableOutputItemsDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemWebSearchCallActionVariant1Type?), TypeInfoPropertyName = "NullableOutputItemWebSearchCallActionVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemWebSearchCallActionVariant2Type?), TypeInfoPropertyName = "NullableOutputItemWebSearchCallActionVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemWebSearchCallActionVariant3Type?), TypeInfoPropertyName = "NullableOutputItemWebSearchCallActionVariant3Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemWebSearchCallType?), TypeInfoPropertyName = "NullableOutputItemWebSearchCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMcpServerToolItemType?), TypeInfoPropertyName = "NullableOutputMcpServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMemoryServerToolItemAction?), TypeInfoPropertyName = "NullableOutputMemoryServerToolItemAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMemoryServerToolItemType?), TypeInfoPropertyName = "NullableOutputMemoryServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOutputMessagePhaseVariant1OutputMessagePhaseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhaseVariant1?), TypeInfoPropertyName = "NullableOutputMessagePhaseVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhaseVariant2?), TypeInfoPropertyName = "NullableOutputMessagePhaseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageRole?), TypeInfoPropertyName = "NullableOutputMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOutputMessageStatusVariant1OutputMessageStatusVariant2OutputMessageStatusVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant1?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant2?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant3?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageType?), TypeInfoPropertyName = "NullableOutputMessageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputModalityEnum?), TypeInfoPropertyName = "NullableOutputModalityEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningFormat?), TypeInfoPropertyName = "NullableReasoningFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSearchModelsServerToolItemType?), TypeInfoPropertyName = "NullableOutputSearchModelsServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallStatus?), TypeInfoPropertyName = "NullableShellCallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallItemType?), TypeInfoPropertyName = "NullableOutputShellCallItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallOutputItemFileType?), TypeInfoPropertyName = "NullableOutputShellCallOutputItemFileType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallOutputItemType?), TypeInfoPropertyName = "NullableOutputShellCallOutputItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellServerToolItemFileType?), TypeInfoPropertyName = "NullableOutputShellServerToolItemFileType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellServerToolItemType?), TypeInfoPropertyName = "NullableOutputShellServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSubagentServerToolItemType?), TypeInfoPropertyName = "NullableOutputSubagentServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemCommand?), TypeInfoPropertyName = "NullableOutputTextEditorServerToolItemCommand2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemType?), TypeInfoPropertyName = "NullableOutputTextEditorServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItemExecution?), TypeInfoPropertyName = "NullableOutputToolSearchCallItemExecution2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItemType?), TypeInfoPropertyName = "NullableOutputToolSearchCallItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItemType?), TypeInfoPropertyName = "NullableOutputToolSearchServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputDatetimeItemType?), TypeInfoPropertyName = "NullableOutputDatetimeItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchServerToolItemType?), TypeInfoPropertyName = "NullableOutputFileSearchServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFilesServerToolItemType?), TypeInfoPropertyName = "NullableOutputFilesServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFunctionCallItem?), TypeInfoPropertyName = "NullableOutputFunctionCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFusionServerToolItemType?), TypeInfoPropertyName = "NullableOutputFusionServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputImageGenerationServerToolItemType?), TypeInfoPropertyName = "NullableOutputImageGenerationServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Item?), TypeInfoPropertyName = "NullableItem2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemAddedEventItemDiscriminatorType?), TypeInfoPropertyName = "NullableOutputItemAddedEventItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemAddedEventType?), TypeInfoPropertyName = "NullableOutputItemAddedEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Operation?), TypeInfoPropertyName = "NullableOperation2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType?), TypeInfoPropertyName = "NullableOutputItemApplyPatchCallOperationDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemApplyPatchCallStatus?), TypeInfoPropertyName = "NullableOutputItemApplyPatchCallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemApplyPatchCallType?), TypeInfoPropertyName = "NullableOutputItemApplyPatchCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputsItem?), TypeInfoPropertyName = "NullableOutputsItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType?), TypeInfoPropertyName = "NullableOutputItemCodeInterpreterCallOutputDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemCodeInterpreterCallStatus?), TypeInfoPropertyName = "NullableOutputItemCodeInterpreterCallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemCodeInterpreterCallType?), TypeInfoPropertyName = "NullableOutputItemCodeInterpreterCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemCustomToolCallStatus?), TypeInfoPropertyName = "NullableOutputItemCustomToolCallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemCustomToolCallType?), TypeInfoPropertyName = "NullableOutputItemCustomToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Item2?), TypeInfoPropertyName = "NullableItem22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemDoneEventItemDiscriminatorType?), TypeInfoPropertyName = "NullableOutputItemDoneEventItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemDoneEventType?), TypeInfoPropertyName = "NullableOutputItemDoneEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchStatus?), TypeInfoPropertyName = "NullableWebSearchStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemFileSearchCallType?), TypeInfoPropertyName = "NullableOutputItemFileSearchCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemFunctionCallStatusVariant1?), TypeInfoPropertyName = "NullableOutputItemFunctionCallStatusVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemFunctionCallStatusVariant2?), TypeInfoPropertyName = "NullableOutputItemFunctionCallStatusVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemFunctionCallStatusVariant3?), TypeInfoPropertyName = "NullableOutputItemFunctionCallStatusVariant32")] internal sealed partial class SourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -4127,10 +4127,10 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_25db2b9007507e22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_a830fbfb5e9626e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_852e8dbebe67306b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_31a1b30890f9e262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] @@ -4160,9 +4160,9 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_a7f8131972d9612b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_da2025d9555d1b10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e3ef77e98141e736")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] @@ -4184,8 +4184,8 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_cfed1a0da3b80605")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e090d91717704994")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] @@ -4193,6 +4193,45 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemFunctionCallType?), TypeInfoPropertyName = "NullableOutputItemFunctionCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemImageGenerationCallType?), TypeInfoPropertyName = "NullableOutputItemImageGenerationCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOutputItemReasoningStatusVariant1OutputItemReasoningStatusVariant2OutputItemReasoningStatusVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemReasoningStatusVariant1?), TypeInfoPropertyName = "NullableOutputItemReasoningStatusVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemReasoningStatusVariant2?), TypeInfoPropertyName = "NullableOutputItemReasoningStatusVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemReasoningStatusVariant3?), TypeInfoPropertyName = "NullableOutputItemReasoningStatusVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemReasoningType?), TypeInfoPropertyName = "NullableOutputItemReasoningType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemsDiscriminatorType?), TypeInfoPropertyName = "NullableOutputItemsDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemWebSearchCallActionVariant1Type?), TypeInfoPropertyName = "NullableOutputItemWebSearchCallActionVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemWebSearchCallActionVariant2Type?), TypeInfoPropertyName = "NullableOutputItemWebSearchCallActionVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemWebSearchCallActionVariant3Type?), TypeInfoPropertyName = "NullableOutputItemWebSearchCallActionVariant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItemWebSearchCallType?), TypeInfoPropertyName = "NullableOutputItemWebSearchCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMcpServerToolItemType?), TypeInfoPropertyName = "NullableOutputMcpServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMemoryServerToolItemAction?), TypeInfoPropertyName = "NullableOutputMemoryServerToolItemAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMemoryServerToolItemType?), TypeInfoPropertyName = "NullableOutputMemoryServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOutputMessagePhaseVariant1OutputMessagePhaseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhaseVariant1?), TypeInfoPropertyName = "NullableOutputMessagePhaseVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessagePhaseVariant2?), TypeInfoPropertyName = "NullableOutputMessagePhaseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageRole?), TypeInfoPropertyName = "NullableOutputMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOutputMessageStatusVariant1OutputMessageStatusVariant2OutputMessageStatusVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant1?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant2?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant3?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageType?), TypeInfoPropertyName = "NullableOutputMessageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputModalityEnum?), TypeInfoPropertyName = "NullableOutputModalityEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningFormat?), TypeInfoPropertyName = "NullableReasoningFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSearchModelsServerToolItemType?), TypeInfoPropertyName = "NullableOutputSearchModelsServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallStatus?), TypeInfoPropertyName = "NullableShellCallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallItemType?), TypeInfoPropertyName = "NullableOutputShellCallItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallOutputItemFileType?), TypeInfoPropertyName = "NullableOutputShellCallOutputItemFileType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellCallOutputItemType?), TypeInfoPropertyName = "NullableOutputShellCallOutputItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellServerToolItemFileType?), TypeInfoPropertyName = "NullableOutputShellServerToolItemFileType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputShellServerToolItemType?), TypeInfoPropertyName = "NullableOutputShellServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSubagentServerToolItemType?), TypeInfoPropertyName = "NullableOutputSubagentServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemCommand?), TypeInfoPropertyName = "NullableOutputTextEditorServerToolItemCommand2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItemType?), TypeInfoPropertyName = "NullableOutputTextEditorServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItemExecution?), TypeInfoPropertyName = "NullableOutputToolSearchCallItemExecution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchCallItemType?), TypeInfoPropertyName = "NullableOutputToolSearchCallItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItemType?), TypeInfoPropertyName = "NullableOutputToolSearchServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebFetchServerToolItemType?), TypeInfoPropertyName = "NullableOutputWebFetchServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemActionSourceType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemActionSourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemActionType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemActionType2")] @@ -4249,6 +4288,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginDiscriminatorId?), TypeInfoPropertyName = "NullableResponsesRequestPluginDiscriminatorId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestServiceTier?), TypeInfoPropertyName = "NullableResponsesRequestServiceTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfFunctionToolResponsesRequestToolVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller?), TypeInfoPropertyName = "NullableResponsesRequestToolVariant1AllowedCaller2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StreamEvents?), TypeInfoPropertyName = "NullableStreamEvents2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ScimGroupMappingRole?), TypeInfoPropertyName = "NullableScimGroupMappingRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ScimSyncJobStatus?), TypeInfoPropertyName = "NullableScimSyncJobStatus2")] @@ -4332,6 +4372,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemExecution?), TypeInfoPropertyName = "NullableToolSearchOutputItemExecution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemStatus?), TypeInfoPropertyName = "NullableToolSearchOutputItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfFunctionToolToolSearchOutputItemTool2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemToolAllowedCaller?), TypeInfoPropertyName = "NullableToolSearchOutputItemToolAllowedCaller2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchOutputItemType?), TypeInfoPropertyName = "NullableToolSearchOutputItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ToolSearchServerToolType?), TypeInfoPropertyName = "NullableToolSearchServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UnifiedBenchmarksAAItemSource?), TypeInfoPropertyName = "NullableUnifiedBenchmarksAAItemSource2")] @@ -4432,6 +4473,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemDatacenter?), TypeInfoPropertyName = "NullableListProvidersResponseDataItemDatacenter2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemHeadquarters?), TypeInfoPropertyName = "NullableListProvidersResponseDataItemHeadquarters2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AgentMessageItemContentItem2>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -4459,6 +4501,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -4568,49 +4611,6 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -4637,10 +4637,10 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_7e90133358311c77")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>), TypeInfoPropertyName = "ToolSearchOutputItem_a4ac23cbb615b238")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_25db2b9007507e22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_a830fbfb5e9626e3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_852e8dbebe67306b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_31a1b30890f9e262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] @@ -4670,9 +4670,9 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>?), TypeInfoPropertyName = "ToolSearchOutputItem_391bef5835d79777")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_9e80cf046f55ac7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_a7f8131972d9612b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_da2025d9555d1b10")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e3ef77e98141e736")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] @@ -4694,8 +4694,8 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem, global::OpenRouter.ToolSearchCallItem, global::OpenRouter.ToolSearchOutputItem>>), TypeInfoPropertyName = "ToolSearchOutputItem_726f60c78e2f6b87")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_cfed1a0da3b80605")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ORAnthropicToolSearchResultParam_e090d91717704994")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] @@ -4703,6 +4703,50 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -4714,6 +4758,7 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -4736,6 +4781,7 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -4852,6 +4898,7 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.CustomToolCallOutputItemJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.QuestionsJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnswersJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.DeferredToolsSearchStrategyJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ErrorEventJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.FileDeleteResponseJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.FileListResponseJsonConverter()); @@ -5027,9 +5074,9 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter, global::OpenRouter.McpServerToolAllowedTools>()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.OneOfJsonConverter()); - options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); - options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter>>()); - options.Converters.Add(new global::OpenRouter.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter>>()); + options.Converters.Add(new global::OpenRouter.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter>>()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>()); @@ -5145,6 +5192,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.AdditionalToolsItemRole?) + || typeToConvert == typeof(global::OpenRouter.AdditionalToolsItemToolAllowedCaller) + + || typeToConvert == typeof(global::OpenRouter.AdditionalToolsItemToolAllowedCaller?) + || typeToConvert == typeof(global::OpenRouter.AdditionalToolsItemType) || typeToConvert == typeof(global::OpenRouter.AdditionalToolsItemType?) @@ -5829,6 +5880,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.BaseResponsesResultOutputItemDiscriminatorType?) + || typeToConvert == typeof(global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller) + + || typeToConvert == typeof(global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller?) + || typeToConvert == typeof(global::OpenRouter.BaseTextDeltaEventType) || typeToConvert == typeof(global::OpenRouter.BaseTextDeltaEventType?) @@ -6361,6 +6416,34 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.DecisionsScoreQuestionType?) + || typeToConvert == typeof(global::OpenRouter.DeferredBm25SearchType) + + || typeToConvert == typeof(global::OpenRouter.DeferredBm25SearchType?) + + || typeToConvert == typeof(global::OpenRouter.DeferredCustomSearchType) + + || typeToConvert == typeof(global::OpenRouter.DeferredCustomSearchType?) + + || typeToConvert == typeof(global::OpenRouter.DeferredRegexSearchType) + + || typeToConvert == typeof(global::OpenRouter.DeferredRegexSearchType?) + + || typeToConvert == typeof(global::OpenRouter.DeferredToolsControlProfile) + + || typeToConvert == typeof(global::OpenRouter.DeferredToolsControlProfile?) + + || typeToConvert == typeof(global::OpenRouter.DeferredToolsControlProtocol) + + || typeToConvert == typeof(global::OpenRouter.DeferredToolsControlProtocol?) + + || typeToConvert == typeof(global::OpenRouter.DeferredToolsControlValidation) + + || typeToConvert == typeof(global::OpenRouter.DeferredToolsControlValidation?) + + || typeToConvert == typeof(global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType) + + || typeToConvert == typeof(global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType?) + || typeToConvert == typeof(global::OpenRouter.DeprecatedRoute) || typeToConvert == typeof(global::OpenRouter.DeprecatedRoute?) @@ -7521,6 +7604,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.ORAnthropicStopReason?) + || typeToConvert == typeof(global::OpenRouter.ORAnthropicToolSearchResultType) + + || typeToConvert == typeof(global::OpenRouter.ORAnthropicToolSearchResultType?) + + || typeToConvert == typeof(global::OpenRouter.ORAnthropicToolSearchResultParamType) + + || typeToConvert == typeof(global::OpenRouter.ORAnthropicToolSearchResultParamType?) + || typeToConvert == typeof(global::OpenRouter.OutputAdvisorServerToolItemType) || typeToConvert == typeof(global::OpenRouter.OutputAdvisorServerToolItemType?) @@ -7993,6 +8084,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.ResponsesRequestServiceTier?) + || typeToConvert == typeof(global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller) + + || typeToConvert == typeof(global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller?) + || typeToConvert == typeof(global::OpenRouter.RoutingStrategy) || typeToConvert == typeof(global::OpenRouter.RoutingStrategy?) @@ -8257,6 +8352,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemStatus?) + || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemToolAllowedCaller) + + || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemToolAllowedCaller?) + || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemType) || typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemType?) @@ -8632,6 +8731,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.AdditionalToolsItemRoleNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.AdditionalToolsItemToolAllowedCaller)) + { + return new global::OpenRouter.JsonConverters.AdditionalToolsItemToolAllowedCallerJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.AdditionalToolsItemToolAllowedCaller?)) + { + return new global::OpenRouter.JsonConverters.AdditionalToolsItemToolAllowedCallerNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.AdditionalToolsItemType)) { return new global::OpenRouter.JsonConverters.AdditionalToolsItemTypeJsonConverter(); @@ -10342,6 +10451,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.BaseResponsesResultOutputItemDiscriminatorTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller)) + { + return new global::OpenRouter.JsonConverters.BaseResponsesResultToolVariant1AllowedCallerJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller?)) + { + return new global::OpenRouter.JsonConverters.BaseResponsesResultToolVariant1AllowedCallerNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.BaseTextDeltaEventType)) { return new global::OpenRouter.JsonConverters.BaseTextDeltaEventTypeJsonConverter(); @@ -11672,6 +11791,76 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.DecisionsScoreQuestionTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.DeferredBm25SearchType)) + { + return new global::OpenRouter.JsonConverters.DeferredBm25SearchTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredBm25SearchType?)) + { + return new global::OpenRouter.JsonConverters.DeferredBm25SearchTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredCustomSearchType)) + { + return new global::OpenRouter.JsonConverters.DeferredCustomSearchTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredCustomSearchType?)) + { + return new global::OpenRouter.JsonConverters.DeferredCustomSearchTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredRegexSearchType)) + { + return new global::OpenRouter.JsonConverters.DeferredRegexSearchTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredRegexSearchType?)) + { + return new global::OpenRouter.JsonConverters.DeferredRegexSearchTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredToolsControlProfile)) + { + return new global::OpenRouter.JsonConverters.DeferredToolsControlProfileJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredToolsControlProfile?)) + { + return new global::OpenRouter.JsonConverters.DeferredToolsControlProfileNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredToolsControlProtocol)) + { + return new global::OpenRouter.JsonConverters.DeferredToolsControlProtocolJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredToolsControlProtocol?)) + { + return new global::OpenRouter.JsonConverters.DeferredToolsControlProtocolNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredToolsControlValidation)) + { + return new global::OpenRouter.JsonConverters.DeferredToolsControlValidationJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredToolsControlValidation?)) + { + return new global::OpenRouter.JsonConverters.DeferredToolsControlValidationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType)) + { + return new global::OpenRouter.JsonConverters.DeferredToolsSearchStrategyDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType?)) + { + return new global::OpenRouter.JsonConverters.DeferredToolsSearchStrategyDiscriminatorTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.DeprecatedRoute)) { return new global::OpenRouter.JsonConverters.DeprecatedRouteJsonConverter(); @@ -14572,6 +14761,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.ORAnthropicStopReasonNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.ORAnthropicToolSearchResultType)) + { + return new global::OpenRouter.JsonConverters.ORAnthropicToolSearchResultTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ORAnthropicToolSearchResultType?)) + { + return new global::OpenRouter.JsonConverters.ORAnthropicToolSearchResultTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ORAnthropicToolSearchResultParamType)) + { + return new global::OpenRouter.JsonConverters.ORAnthropicToolSearchResultParamTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ORAnthropicToolSearchResultParamType?)) + { + return new global::OpenRouter.JsonConverters.ORAnthropicToolSearchResultParamTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.OutputAdvisorServerToolItemType)) { return new global::OpenRouter.JsonConverters.OutputAdvisorServerToolItemTypeJsonConverter(); @@ -15752,6 +15961,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.ResponsesRequestServiceTierNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller)) + { + return new global::OpenRouter.JsonConverters.ResponsesRequestToolVariant1AllowedCallerJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller?)) + { + return new global::OpenRouter.JsonConverters.ResponsesRequestToolVariant1AllowedCallerNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.RoutingStrategy)) { return new global::OpenRouter.JsonConverters.RoutingStrategyJsonConverter(); @@ -16412,6 +16631,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.ToolSearchOutputItemStatusNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemToolAllowedCaller)) + { + return new global::OpenRouter.JsonConverters.ToolSearchOutputItemToolAllowedCallerJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemToolAllowedCaller?)) + { + return new global::OpenRouter.JsonConverters.ToolSearchOutputItemToolAllowedCallerNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.ToolSearchOutputItemType)) { return new global::OpenRouter.JsonConverters.ToolSearchOutputItemTypeJsonConverter(); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index dfa370df..5e41c712 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -81,9875 +81,9983 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public bool? Type12 { get; set; } + public global::System.Collections.Generic.IList? Type12 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchServerTool? Type13 { get; set; } + public global::OpenRouter.AdditionalToolsItemToolAllowedCaller? Type13 { get; set; } /// /// /// - public global::OpenRouter.Preview20250311WebSearchServerTool? Type14 { get; set; } + public bool? Type14 { get; set; } /// /// /// - public global::OpenRouter.LegacyWebSearchServerTool? Type15 { get; set; } + public object? Type15 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerTool? Type16 { get; set; } + public global::OpenRouter.PreviewWebSearchServerTool? Type16 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerTool? Type17 { get; set; } + public global::OpenRouter.Preview20250311WebSearchServerTool? Type17 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerTool? Type18 { get; set; } + public global::OpenRouter.LegacyWebSearchServerTool? Type18 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerTool? Type19 { get; set; } + public global::OpenRouter.WebSearchServerTool? Type19 { get; set; } /// /// /// - public global::OpenRouter.McpServerTool? Type20 { get; set; } + public global::OpenRouter.FileSearchServerTool? Type20 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerTool? Type21 { get; set; } + public global::OpenRouter.ComputerUseServerTool? Type21 { get; set; } /// /// /// - public global::OpenRouter.CodexLocalShellTool? Type22 { get; set; } + public global::OpenRouter.CodeInterpreterServerTool? Type22 { get; set; } /// /// /// - public global::OpenRouter.ShellServerTool? Type23 { get; set; } + public global::OpenRouter.McpServerTool? Type23 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerTool? Type24 { get; set; } + public global::OpenRouter.ImageGenerationServerTool? Type24 { get; set; } /// /// /// - public global::OpenRouter.CustomTool? Type25 { get; set; } + public global::OpenRouter.CodexLocalShellTool? Type25 { get; set; } /// /// /// - public global::OpenRouter.NamespaceTool? Type26 { get; set; } + public global::OpenRouter.ShellServerTool? Type26 { get; set; } /// /// /// - public global::OpenRouter.AdvisorServerToolOpenRouter? Type27 { get; set; } + public global::OpenRouter.ApplyPatchServerTool? Type27 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolOpenRouter? Type28 { get; set; } + public global::OpenRouter.CustomTool? Type28 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerTool? Type29 { get; set; } + public global::OpenRouter.NamespaceTool? Type29 { get; set; } /// /// /// - public global::OpenRouter.FilesServerTool? Type30 { get; set; } + public global::OpenRouter.AdvisorServerToolOpenRouter? Type30 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolOpenRouter? Type31 { get; set; } + public global::OpenRouter.SubagentServerToolOpenRouter? Type31 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOpenRouter? Type32 { get; set; } + public global::OpenRouter.DatetimeServerTool? Type32 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolOpenRouter? Type33 { get; set; } + public global::OpenRouter.FilesServerTool? Type33 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerTool? Type34 { get; set; } + public global::OpenRouter.FusionServerToolOpenRouter? Type34 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouter? Type35 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOpenRouter? Type35 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolOpenRouter? Type36 { get; set; } + public global::OpenRouter.SearchModelsServerToolOpenRouter? Type36 { get; set; } /// /// /// - public global::OpenRouter.BashServerTool? Type37 { get; set; } + public global::OpenRouter.WebFetchServerTool? Type37 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolOpenRouter? Type38 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouter? Type38 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerTool? Type39 { get; set; } + public global::OpenRouter.ApplyPatchServerToolOpenRouter? Type39 { get; set; } /// /// /// - public global::OpenRouter.AdditionalToolsItemTool2? Type40 { get; set; } + public global::OpenRouter.BashServerTool? Type40 { get; set; } /// /// /// - public object? Type41 { get; set; } + public global::OpenRouter.ShellServerToolOpenRouter? Type41 { get; set; } /// /// /// - public global::OpenRouter.AdditionalToolsItemType? Type42 { get; set; } + public global::OpenRouter.ToolSearchServerTool? Type42 { get; set; } /// /// /// - public global::OpenRouter.AdvisorReasoning? Type43 { get; set; } + public global::OpenRouter.AdditionalToolsItemTool2? Type43 { get; set; } /// /// /// - public global::OpenRouter.AdvisorReasoningEffort? Type44 { get; set; } + public global::OpenRouter.AdditionalToolsItemType? Type44 { get; set; } /// /// /// - public global::OpenRouter.AdvisorServerToolConfig? Type45 { get; set; } + public global::OpenRouter.AdvisorReasoning? Type45 { get; set; } /// /// /// - public global::OpenRouter.AdvisorServerToolOpenRouterType? Type46 { get; set; } + public global::OpenRouter.AdvisorReasoningEffort? Type46 { get; set; } /// /// /// - public global::OpenRouter.AgentMessageItem? Type47 { get; set; } + public global::OpenRouter.AdvisorServerToolConfig? Type47 { get; set; } /// /// /// - public global::OpenRouter.AgentMessageItemAgent? Type48 { get; set; } + public global::OpenRouter.AdvisorServerToolOpenRouterType? Type48 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?, global::OpenRouter.AgentMessageItemContentItem2>>? Type49 { get; set; } + public global::OpenRouter.AgentMessageItem? Type49 { get; set; } /// /// /// - public global::OpenRouter.OneOf?, global::OpenRouter.AgentMessageItemContentItem2>? Type50 { get; set; } + public global::OpenRouter.AgentMessageItemAgent? Type50 { get; set; } /// /// /// - public global::OpenRouter.InputText? Type51 { get; set; } + public global::System.Collections.Generic.IList?, global::OpenRouter.AgentMessageItemContentItem2>>? Type51 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type52 { get; set; } + public global::OpenRouter.OneOf?, global::OpenRouter.AgentMessageItemContentItem2>? Type52 { get; set; } /// /// /// - public global::OpenRouter.InputImage? Type53 { get; set; } + public global::OpenRouter.InputText? Type53 { get; set; } /// /// /// - public global::OpenRouter.AgentMessageItemContentItem2? Type54 { get; set; } + public global::OpenRouter.AllOf? Type54 { get; set; } /// /// /// - public global::OpenRouter.AgentMessageItemContentItemType? Type55 { get; set; } + public global::OpenRouter.InputImage? Type55 { get; set; } /// /// /// - public global::OpenRouter.AgentMessageItemType? Type56 { get; set; } + public global::OpenRouter.AgentMessageItemContentItem2? Type56 { get; set; } /// /// /// - public global::OpenRouter.Alignment? Type57 { get; set; } + public global::OpenRouter.AgentMessageItemContentItemType? Type57 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type58 { get; set; } + public global::OpenRouter.AgentMessageItemType? Type58 { get; set; } /// /// /// - public global::OpenRouter.AlignmentCallRecord? Type59 { get; set; } + public global::OpenRouter.Alignment? Type59 { get; set; } /// /// /// - public global::OpenRouter.AlignmentAllowedCallRecord? Type60 { get; set; } + public global::System.Collections.Generic.IList? Type60 { get; set; } /// /// /// - public global::OpenRouter.AlignmentAllowedCallRecordOutcome? Type61 { get; set; } + public global::OpenRouter.AlignmentCallRecord? Type61 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type62 { get; set; } + public global::OpenRouter.AlignmentAllowedCallRecord? Type62 { get; set; } /// /// /// - public global::OpenRouter.AlignmentRuleRecord? Type63 { get; set; } + public global::OpenRouter.AlignmentAllowedCallRecordOutcome? Type63 { get; set; } /// /// /// - public global::OpenRouter.AlignmentBlockedCallRecord? Type64 { get; set; } + public global::System.Collections.Generic.IList? Type64 { get; set; } /// /// /// - public global::OpenRouter.AlignmentBlockedCallRecordOutcome? Type65 { get; set; } + public global::OpenRouter.AlignmentRuleRecord? Type65 { get; set; } /// /// /// - public global::OpenRouter.AlignmentUnavailableCallRecord? Type66 { get; set; } + public global::OpenRouter.AlignmentBlockedCallRecord? Type66 { get; set; } /// /// /// - public global::OpenRouter.AlignmentCallRecordDiscriminator? Type67 { get; set; } + public global::OpenRouter.AlignmentBlockedCallRecordOutcome? Type67 { get; set; } /// /// /// - public global::OpenRouter.AlignmentCallRecordDiscriminatorOutcome? Type68 { get; set; } + public global::OpenRouter.AlignmentUnavailableCallRecord? Type68 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatAudio? Type69 { get; set; } + public global::OpenRouter.AlignmentCallRecordDiscriminator? Type69 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatImage? Type70 { get; set; } + public global::OpenRouter.AlignmentCallRecordDiscriminatorOutcome? Type70 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatImageImageUrl? Type71 { get; set; } + public global::OpenRouter.AlignmentChatAudio? Type71 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatImageType? Type72 { get; set; } + public global::OpenRouter.AlignmentChatImage? Type72 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatRejected? Type73 { get; set; } + public global::OpenRouter.AlignmentChatImageImageUrl? Type73 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type74 { get; set; } + public global::OpenRouter.AlignmentChatImageType? Type74 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatRejectedRole? Type75 { get; set; } + public global::OpenRouter.AlignmentChatRejected? Type75 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type76 { get; set; } + public global::System.Collections.Generic.IList? Type76 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatToolCall? Type77 { get; set; } + public global::OpenRouter.AlignmentChatRejectedRole? Type77 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatToolCallFunction? Type78 { get; set; } + public global::System.Collections.Generic.IList? Type78 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatToolCallType? Type79 { get; set; } + public global::OpenRouter.AlignmentChatToolCall? Type79 { get; set; } /// /// /// - public global::OpenRouter.AlignmentPlugin? Type80 { get; set; } + public global::OpenRouter.AlignmentChatToolCallFunction? Type80 { get; set; } /// /// /// - public global::OpenRouter.AlignmentPluginId? Type81 { get; set; } + public global::OpenRouter.AlignmentChatToolCallType? Type81 { get; set; } /// /// /// - public global::OpenRouter.AlignmentPluginMode? Type82 { get; set; } + public global::OpenRouter.AlignmentPlugin? Type82 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type83 { get; set; } + public global::OpenRouter.AlignmentPluginId? Type83 { get; set; } /// /// /// - public global::OpenRouter.AlignmentRejected? Type84 { get; set; } + public global::OpenRouter.AlignmentPluginMode? Type84 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type85 { get; set; } + public global::System.Collections.Generic.IList? Type85 { get; set; } /// /// /// - public global::OpenRouter.AlignmentResponsesRejectedItem? Type86 { get; set; } + public global::OpenRouter.AlignmentRejected? Type86 { get; set; } /// /// /// - public global::OpenRouter.OutputMessage? Type87 { get; set; } + public global::System.Collections.Generic.IList? Type87 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoning? Type88 { get; set; } + public global::OpenRouter.AlignmentResponsesRejectedItem? Type88 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCall? Type89 { get; set; } + public global::OpenRouter.OutputMessage? Type89 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCall? Type90 { get; set; } + public global::OpenRouter.OutputItemReasoning? Type90 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCall? Type91 { get; set; } + public global::OpenRouter.OutputItemFunctionCall? Type91 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFileSearchCall? Type92 { get; set; } + public global::OpenRouter.OutputItemCustomToolCall? Type92 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCall? Type93 { get; set; } + public global::OpenRouter.OutputItemWebSearchCall? Type93 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCall? Type94 { get; set; } + public global::OpenRouter.OutputItemFileSearchCall? Type94 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCall? Type95 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCall? Type95 { get; set; } /// /// /// - public global::OpenRouter.AlignmentResponsesRejectedItemDiscriminator? Type96 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCall? Type96 { get; set; } /// /// /// - public global::OpenRouter.AlignmentResponsesRejectedItemDiscriminatorType? Type97 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCall? Type97 { get; set; } /// /// /// - public global::OpenRouter.AlignmentUnavailableCallRecordOutcome? Type98 { get; set; } + public global::OpenRouter.AlignmentResponsesRejectedItemDiscriminator? Type98 { get; set; } /// /// /// - public global::OpenRouter.AlignmentUnavailableCallRecordReason? Type99 { get; set; } + public global::OpenRouter.AlignmentResponsesRejectedItemDiscriminatorType? Type99 { get; set; } /// /// /// - public global::OpenRouter.AnnotationAddedEvent? Type100 { get; set; } + public global::OpenRouter.AlignmentUnavailableCallRecordOutcome? Type100 { get; set; } /// /// /// - public global::OpenRouter.BaseAnnotationAddedEvent? Type101 { get; set; } + public global::OpenRouter.AlignmentUnavailableCallRecordReason? Type101 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorMessageUsageIteration? Type102 { get; set; } + public global::OpenRouter.AnnotationAddedEvent? Type102 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBaseUsageIteration? Type103 { get; set; } + public global::OpenRouter.BaseAnnotationAddedEvent? Type103 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorMessageUsageIterationVariant2? Type104 { get; set; } + public global::OpenRouter.AnthropicAdvisorMessageUsageIteration? Type104 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorMessageUsageIterationVariant2Type? Type105 { get; set; } + public global::OpenRouter.AnthropicBaseUsageIteration? Type105 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorToolResult? Type106 { get; set; } + public global::OpenRouter.AnthropicAdvisorMessageUsageIterationVariant2? Type106 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorToolResultType? Type107 { get; set; } + public global::OpenRouter.AnthropicAdvisorMessageUsageIterationVariant2Type? Type107 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type108 { get; set; } + public global::OpenRouter.AnthropicAdvisorToolResult? Type108 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAllowedCaller? Type109 { get; set; } + public global::OpenRouter.AnthropicAdvisorToolResultType? Type109 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64ImageSource? Type110 { get; set; } + public global::System.Collections.Generic.IList? Type110 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageMimeType? Type111 { get; set; } + public global::OpenRouter.AnthropicAllowedCaller? Type111 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64ImageSourceType? Type112 { get; set; } + public global::OpenRouter.AnthropicBase64ImageSource? Type112 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSource? Type113 { get; set; } + public global::OpenRouter.AnthropicImageMimeType? Type113 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type114 { get; set; } + public global::OpenRouter.AnthropicBase64ImageSourceType? Type114 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceType? Type115 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSource? Type115 { get; set; } /// /// /// - public global::OpenRouter.AnthropicIterationCacheCreation? Type116 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type116 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContent? Type117 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceType? Type117 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type118 { get; set; } + public global::OpenRouter.AnthropicIterationCacheCreation? Type118 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResult? Type119 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContent? Type119 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminator? Type120 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type120 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType? Type121 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResult? Type121 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type122 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminator? Type122 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type123 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType? Type123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type124 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type124 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type125 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type125 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type126 { get; set; } + public global::System.Collections.Generic.IList? Type126 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type127 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type127 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type128 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type128 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type129 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type129 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlDirective? Type130 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type130 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlTtl? Type131 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type131 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlDirectiveType? Type132 { get; set; } + public global::OpenRouter.AnthropicCacheControlDirective? Type132 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheCreation? Type133 { get; set; } + public global::OpenRouter.AnthropicCacheControlTtl? Type133 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCaller? Type134 { get; set; } + public global::OpenRouter.AnthropicCacheControlDirectiveType? Type134 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCaller? Type135 { get; set; } + public global::OpenRouter.AnthropicCacheCreation? Type135 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type136 { get; set; } + public global::OpenRouter.AnthropicCaller? Type136 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type137 { get; set; } + public global::OpenRouter.AnthropicDirectCaller? Type137 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerDiscriminator? Type138 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type138 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerDiscriminatorType? Type139 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type139 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocation? Type140 { get; set; } + public global::OpenRouter.AnthropicCallerDiscriminator? Type140 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationType? Type141 { get; set; } + public global::OpenRouter.AnthropicCallerDiscriminatorType? Type141 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationParam? Type142 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocation? Type142 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationParamType? Type143 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationType? Type143 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocation? Type144 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationParam? Type144 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type145 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationParamType? Type145 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationParam? Type146 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocation? Type146 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationParamType? Type147 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type147 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocation? Type148 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationParam? Type148 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationType? Type149 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationParamType? Type149 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationParam? Type150 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocation? Type150 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationParamType? Type151 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationType? Type151 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationsConfig? Type152 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationParam? Type152 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocation? Type153 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationParamType? Type153 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocationType? Type154 { get; set; } + public global::OpenRouter.AnthropicCitationsConfig? Type154 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocationParam? Type155 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocation? Type155 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocationParamType? Type156 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocationType? Type156 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocation? Type157 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocationParam? Type157 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocationType? Type158 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocationParamType? Type158 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocationParam? Type159 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocation? Type159 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocationParamType? Type160 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocationType? Type160 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type161 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocationParam? Type161 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type162 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocationParamType? Type162 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContent? Type163 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type163 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type164 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type164 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResult? Type165 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContent? Type165 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type166 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type166 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentDiscriminator? Type167 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResult? Type167 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType? Type168 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type168 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutput? Type169 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentDiscriminator? Type169 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutputType? Type170 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType? Type170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type171 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutput? Type171 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResultType? Type172 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutputType? Type172 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResult? Type173 { get; set; } + public global::System.Collections.Generic.IList? Type173 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type174 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResultType? Type174 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolErrorCode? Type175 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResult? Type175 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type176 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type176 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlock? Type177 { get; set; } + public global::OpenRouter.AnthropicServerToolErrorCode? Type177 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlockType? Type178 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type178 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIteration? Type179 { get; set; } + public global::OpenRouter.AnthropicCompactionBlock? Type179 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIterationVariant2? Type180 { get; set; } + public global::OpenRouter.AnthropicCompactionBlockType? Type180 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIterationVariant2Type? Type181 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIteration? Type181 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainer? Type182 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIterationVariant2? Type182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type183 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIterationVariant2Type? Type183 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerSkill? Type184 { get; set; } + public global::OpenRouter.AnthropicContainer? Type184 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerSkillType? Type185 { get; set; } + public global::System.Collections.Generic.IList? Type185 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUpload? Type186 { get; set; } + public global::OpenRouter.AnthropicContainerSkill? Type186 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUploadType? Type187 { get; set; } + public global::OpenRouter.AnthropicContainerSkillType? Type187 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCallerType? Type188 { get; set; } + public global::OpenRouter.AnthropicContainerUpload? Type188 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlock? Type189 { get; set; } + public global::OpenRouter.AnthropicContainerUploadType? Type189 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type190 { get; set; } + public global::OpenRouter.AnthropicDirectCallerType? Type190 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSource? Type191 { get; set; } + public global::OpenRouter.AnthropicDocumentBlock? Type191 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockType? Type192 { get; set; } + public global::OpenRouter.AnyOf? Type192 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParam? Type193 { get; set; } + public global::OpenRouter.AnthropicPlainTextSource? Type193 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type194 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockType? Type194 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource? Type195 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParam? Type195 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type196 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type197 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource? Type197 { get; set; } /// /// /// - public global::OpenRouter.ContentVariant2Item? Type198 { get; set; } + public global::OpenRouter.AnyOf>? Type198 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParam? Type199 { get; set; } + public global::System.Collections.Generic.IList? Type199 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParam? Type200 { get; set; } + public global::OpenRouter.ContentVariant2Item? Type200 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceContentVariant2ItemDiscriminator? Type201 { get; set; } + public global::OpenRouter.AnthropicTextBlockParam? Type201 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceContentVariant2ItemDiscriminatorType? Type202 { get; set; } + public global::OpenRouter.AnthropicImageBlockParam? Type202 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceType? Type203 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceContentVariant2ItemDiscriminator? Type203 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSource? Type204 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceContentVariant2ItemDiscriminatorType? Type204 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileDocumentSource? Type205 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceType? Type205 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamType? Type206 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSource? Type206 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type207 { get; set; } + public global::OpenRouter.AnthropicFileDocumentSource? Type207 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFile? Type208 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamType? Type208 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileShape? Type209 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type209 { get; set; } /// /// /// - public long? Type210 { get; set; } + public global::OpenRouter.AnthropicFile? Type210 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileType? Type211 { get; set; } + public global::OpenRouter.AnthropicFileShape? Type211 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileDeleted? Type212 { get; set; } + public long? Type212 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileDeletedShape? Type213 { get; set; } + public global::OpenRouter.AnthropicFileType? Type213 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileDeletedType? Type214 { get; set; } + public global::OpenRouter.AnthropicFileDeleted? Type214 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileDocumentSourceType? Type215 { get; set; } + public global::OpenRouter.AnthropicFileDeletedShape? Type215 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileList? Type216 { get; set; } + public global::OpenRouter.AnthropicFileDeletedType? Type216 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileListShape? Type217 { get; set; } + public global::OpenRouter.AnthropicFileDocumentSourceType? Type217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type218 { get; set; } + public global::OpenRouter.AnthropicFileList? Type218 { get; set; } /// /// /// - public global::OpenRouter.Source3? Type219 { get; set; } + public global::OpenRouter.AnthropicFileListShape? Type219 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSource? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminator? Type221 { get; set; } + public global::OpenRouter.Source3? Type221 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminatorType? Type222 { get; set; } + public global::OpenRouter.AnthropicUrlImageSource? Type222 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamType? Type223 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminator? Type223 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type224 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminatorType? Type224 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type225 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamType? Type225 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensTrigger? Type226 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type226 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensTriggerType? Type227 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type227 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTransformation? Type228 { get; set; } + public global::OpenRouter.AnthropicInputTokensTrigger? Type228 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageOutputConfig? Type229 { get; set; } + public global::OpenRouter.AnthropicInputTokensTriggerType? Type229 { get; set; } /// /// /// - public global::OpenRouter.AnthropicOutputEffort? Type230 { get; set; } + public global::OpenRouter.AnthropicInputTransformation? Type230 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessagesErrorResponse? Type231 { get; set; } + public global::OpenRouter.AnthropicMessageOutputConfig? Type231 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessagesErrorResponseError? Type232 { get; set; } + public global::OpenRouter.AnthropicOutputEffort? Type232 { get; set; } /// /// /// - public global::OpenRouter.ApiErrorType? Type233 { get; set; } + public global::OpenRouter.AnthropicMessagesErrorResponse? Type233 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessagesErrorResponseErrorType? Type234 { get; set; } + public global::OpenRouter.AnthropicMessagesErrorResponseError? Type234 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessagesErrorResponseType? Type235 { get; set; } + public global::OpenRouter.ApiErrorType? Type235 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIteration? Type236 { get; set; } + public global::OpenRouter.AnthropicMessagesErrorResponseErrorType? Type236 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIterationVariant2? Type237 { get; set; } + public global::OpenRouter.AnthropicMessagesErrorResponseType? Type237 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIterationVariant2Type? Type238 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIteration? Type238 { get; set; } /// /// /// - public global::OpenRouter.AnthropicOutputTokensDetails? Type239 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIterationVariant2? Type239 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type240 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIterationVariant2Type? Type240 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceType? Type241 { get; set; } + public global::OpenRouter.AnthropicOutputTokensDetails? Type241 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlock? Type242 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type242 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type243 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceType? Type243 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetails? Type244 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlock? Type244 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type245 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type245 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsType? Type246 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetails? Type246 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSafeguard? Type247 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type247 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSafeguardResult? Type248 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsType? Type248 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSafeguardResultStatus? Type249 { get; set; } + public global::OpenRouter.AnthropicSafeguard? Type249 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParam? Type250 { get; set; } + public global::OpenRouter.AnthropicSafeguardResult? Type250 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type251 { get; set; } + public global::OpenRouter.AnthropicSafeguardResultStatus? Type251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type252 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParam? Type252 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamType? Type253 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type253 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUsage? Type254 { get; set; } + public global::System.Collections.Generic.IList? Type254 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServiceTier? Type255 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamType? Type255 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSpeed? Type256 { get; set; } + public global::OpenRouter.AnthropicServerToolUsage? Type256 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSystemClearAt? Type257 { get; set; } + public global::OpenRouter.AnthropicServiceTier? Type257 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlock? Type258 { get; set; } + public global::OpenRouter.AnthropicSpeed? Type258 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type259 { get; set; } + public global::OpenRouter.AnthropicSystemClearAt? Type259 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitation? Type260 { get; set; } + public global::OpenRouter.AnthropicTextBlock? Type260 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockType? Type261 { get; set; } + public global::System.Collections.Generic.IList? Type261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type262 { get; set; } + public global::OpenRouter.AnthropicTextCitation? Type262 { get; set; } /// /// /// - public global::OpenRouter.CitationsItem? Type263 { get; set; } + public global::OpenRouter.AnthropicTextBlockType? Type263 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationDiscriminator? Type264 { get; set; } + public global::System.Collections.Generic.IList? Type264 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationDiscriminatorType? Type265 { get; set; } + public global::OpenRouter.CitationsItem? Type265 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamType? Type266 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationDiscriminator? Type266 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationDiscriminator? Type267 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationDiscriminatorType? Type267 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationDiscriminatorType? Type268 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamType? Type268 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type269 { get; set; } + public global::OpenRouter.AnthropicTextCitationDiscriminator? Type269 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type270 { get; set; } + public global::OpenRouter.AnthropicTextCitationDiscriminatorType? Type270 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type271 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type271 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type272 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type272 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type273 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type273 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminator? Type274 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type274 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminatorType? Type275 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type275 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type276 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminator? Type276 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type277 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminatorType? Type277 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type278 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type278 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type279 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type279 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type280 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type280 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type281 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type281 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type282 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type282 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type283 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type283 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlock? Type284 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type284 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockType? Type285 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type285 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockBinding? Type286 { get; set; } + public global::OpenRouter.AnthropicThinkingBlock? Type286 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockBindingMismatchBehavior? Type287 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockType? Type287 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockBindingPrefixMismatchBehavior? Type288 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockBinding? Type288 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingDisplay? Type289 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockBindingMismatchBehavior? Type289 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurns? Type290 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockBindingPrefixMismatchBehavior? Type290 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurnsType? Type291 { get; set; } + public global::OpenRouter.AnthropicThinkingDisplay? Type291 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReference? Type292 { get; set; } + public global::OpenRouter.AnthropicThinkingTurns? Type292 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReferenceType? Type293 { get; set; } + public global::OpenRouter.AnthropicThinkingTurnsType? Type293 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContent? Type294 { get; set; } + public global::OpenRouter.AnthropicToolReference? Type294 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultError? Type295 { get; set; } + public global::OpenRouter.AnthropicToolReferenceType? Type295 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResult? Type296 { get; set; } + public global::OpenRouter.AnthropicToolSearchContent? Type296 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentDiscriminator? Type297 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultError? Type297 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentDiscriminatorType? Type298 { get; set; } + public global::OpenRouter.AnthropicToolSearchResult? Type298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type299 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentDiscriminator? Type299 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultType? Type300 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentDiscriminatorType? Type300 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultErrorType? Type301 { get; set; } + public global::System.Collections.Generic.IList? Type301 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolBm25? Type302 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultType? Type302 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolBm25Name? Type303 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultErrorType? Type303 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolBm25Type? Type304 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolBm25? Type304 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolRegex? Type305 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolBm25Name? Type305 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolRegexName? Type306 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolBm25Type? Type306 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolRegexType? Type307 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolRegex? Type307 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResult? Type308 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolRegexName? Type308 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResultType? Type309 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolRegexType? Type309 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlock? Type310 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResult? Type310 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlockType? Type311 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResultType? Type311 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeep? Type312 { get; set; } + public global::OpenRouter.AnthropicToolUseBlock? Type312 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeepType? Type313 { get; set; } + public global::OpenRouter.AnthropicToolUseBlockType? Type313 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesTrigger? Type314 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeep? Type314 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesTriggerType? Type315 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeepType? Type315 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUnknownUsageIteration? Type316 { get; set; } + public global::OpenRouter.AnthropicToolUsesTrigger? Type316 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUnknownUsageIterationVariant2? Type317 { get; set; } + public global::OpenRouter.AnthropicToolUsesTriggerType? Type317 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSourceType? Type318 { get; set; } + public global::OpenRouter.AnthropicUnknownUsageIteration? Type318 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSourceType? Type319 { get; set; } + public global::OpenRouter.AnthropicUnknownUsageIterationVariant2? Type319 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUsage? Type320 { get; set; } + public global::OpenRouter.AnthropicUrlImageSourceType? Type320 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUsageIteration? Type321 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSourceType? Type321 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlock? Type322 { get; set; } + public global::OpenRouter.AnthropicUsage? Type322 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlockType? Type323 { get; set; } + public global::OpenRouter.AnthropicUsageIteration? Type323 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContent? Type324 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlock? Type324 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultError? Type325 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlockType? Type325 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentDiscriminator? Type326 { get; set; } + public global::OpenRouter.AnthropicWebFetchContent? Type326 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentDiscriminatorType? Type327 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultError? Type327 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResult? Type328 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentDiscriminator? Type328 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultType? Type329 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentDiscriminatorType? Type329 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type330 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResult? Type330 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type331 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultType? Type331 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResult? Type332 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type332 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultType? Type333 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type333 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type334 { get; set; } + public global::OpenRouter.AnthropicWebSearchResult? Type334 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type335 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultType? Type335 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResult? Type336 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type336 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.AnthropicWebSearchToolResultError>? Type337 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type337 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type338 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResult? Type338 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultError? Type339 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.AnthropicWebSearchToolResultError>? Type339 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultType? Type340 { get; set; } + public global::System.Collections.Generic.IList? Type340 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type341 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultError? Type341 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type342 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultType? Type342 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type343 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type343 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type344 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type344 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallItem? Type345 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type345 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperation? Type346 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type346 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallStatus? Type347 { get; set; } + public global::OpenRouter.ApplyPatchCallItem? Type347 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallItemType? Type348 { get; set; } + public global::OpenRouter.ApplyPatchCallOperation? Type348 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCreateFileOperation? Type349 { get; set; } + public global::OpenRouter.ApplyPatchCallStatus? Type349 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchUpdateFileOperation? Type350 { get; set; } + public global::OpenRouter.ApplyPatchCallItemType? Type350 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchDeleteFileOperation? Type351 { get; set; } + public global::OpenRouter.ApplyPatchCreateFileOperation? Type351 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiscriminator? Type352 { get; set; } + public global::OpenRouter.ApplyPatchUpdateFileOperation? Type352 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiscriminatorType? Type353 { get; set; } + public global::OpenRouter.ApplyPatchDeleteFileOperation? Type353 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiffDeltaEvent? Type354 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiscriminator? Type354 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiffDeltaEventType? Type355 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiscriminatorType? Type355 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiffDoneEvent? Type356 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiffDeltaEvent? Type356 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiffDoneEventType? Type357 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiffDeltaEventType? Type357 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOutputItem? Type358 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiffDoneEvent? Type358 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOutputItemStatus? Type359 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiffDoneEventType? Type359 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOutputItemType? Type360 { get; set; } + public global::OpenRouter.ApplyPatchCallOutputItem? Type360 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCreateFileOperationType? Type361 { get; set; } + public global::OpenRouter.ApplyPatchCallOutputItemStatus? Type361 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchDeleteFileOperationType? Type362 { get; set; } + public global::OpenRouter.ApplyPatchCallOutputItemType? Type362 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchEngineEnum? Type363 { get; set; } + public global::OpenRouter.ApplyPatchCreateFileOperationType? Type363 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolType? Type364 { get; set; } + public global::OpenRouter.ApplyPatchDeleteFileOperationType? Type364 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolConfig? Type365 { get; set; } + public global::OpenRouter.ApplyPatchEngineEnum? Type365 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolOpenRouterType? Type366 { get; set; } + public global::OpenRouter.ApplyPatchServerToolType? Type366 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchUpdateFileOperationType? Type367 { get; set; } + public global::OpenRouter.ApplyPatchServerToolConfig? Type367 { get; set; } /// /// /// - public global::OpenRouter.AppRankingsItem? Type368 { get; set; } + public global::OpenRouter.ApplyPatchServerToolOpenRouterType? Type368 { get; set; } /// /// /// - public global::OpenRouter.AppRankingsResponse? Type369 { get; set; } + public global::OpenRouter.ApplyPatchUpdateFileOperationType? Type369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type370 { get; set; } + public global::OpenRouter.AppRankingsItem? Type370 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyMeta? Type371 { get; set; } + public global::OpenRouter.AppRankingsResponse? Type371 { get; set; } /// /// /// - public global::OpenRouter.AutoBetaRouterPlugin? Type372 { get; set; } + public global::System.Collections.Generic.IList? Type372 { get; set; } /// /// /// - public global::OpenRouter.AutoBetaRouterPluginCostTier? Type373 { get; set; } + public global::OpenRouter.RankingsDailyMeta? Type373 { get; set; } /// /// /// - public global::OpenRouter.AutoBetaRouterPluginId? Type374 { get; set; } + public global::OpenRouter.AutoBetaRouterPlugin? Type374 { get; set; } /// /// /// - public global::OpenRouter.AutoRouterPlugin? Type375 { get; set; } + public global::OpenRouter.AutoBetaRouterPluginCostTier? Type375 { get; set; } /// /// /// - public global::OpenRouter.AutoRouterPluginCostTier? Type376 { get; set; } + public global::OpenRouter.AutoBetaRouterPluginId? Type376 { get; set; } /// /// /// - public global::OpenRouter.AutoRouterPluginId? Type377 { get; set; } + public global::OpenRouter.AutoRouterPlugin? Type377 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponse? Type378 { get; set; } + public global::OpenRouter.AutoRouterPluginCostTier? Type378 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponseErrorData? Type379 { get; set; } + public global::OpenRouter.AutoRouterPluginId? Type379 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponse? Type380 { get; set; } + public global::OpenRouter.BadGatewayResponse? Type380 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponseErrorData? Type381 { get; set; } + public global::OpenRouter.BadGatewayResponseErrorData? Type381 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesAnnotation? Type382 { get; set; } + public global::OpenRouter.BadRequestResponse? Type382 { get; set; } /// /// /// - public global::OpenRouter.BaseAnnotationAddedEventType? Type383 { get; set; } + public global::OpenRouter.BadRequestResponseErrorData? Type383 { get; set; } /// /// /// - public global::OpenRouter.BaseContentPartAddedEvent? Type384 { get; set; } + public global::OpenRouter.OpenAIResponsesAnnotation? Type384 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type385 { get; set; } + public global::OpenRouter.BaseAnnotationAddedEventType? Type385 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputText? Type386 { get; set; } + public global::OpenRouter.BaseContentPartAddedEvent? Type386 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesRefusalContent? Type387 { get; set; } + public global::OpenRouter.AnyOf? Type387 { get; set; } /// /// /// - public global::OpenRouter.BaseContentPartAddedEventType? Type388 { get; set; } + public global::OpenRouter.ResponseOutputText? Type388 { get; set; } /// /// /// - public global::OpenRouter.BaseContentPartDoneEvent? Type389 { get; set; } + public global::OpenRouter.OpenAIResponsesRefusalContent? Type389 { get; set; } /// /// /// - public global::OpenRouter.BaseContentPartDoneEventType? Type390 { get; set; } + public global::OpenRouter.BaseContentPartAddedEventType? Type390 { get; set; } /// /// /// - public global::OpenRouter.BaseCustomToolCallInputDeltaEvent? Type391 { get; set; } + public global::OpenRouter.BaseContentPartDoneEvent? Type391 { get; set; } /// /// /// - public global::OpenRouter.BaseCustomToolCallInputDeltaEventType? Type392 { get; set; } + public global::OpenRouter.BaseContentPartDoneEventType? Type392 { get; set; } /// /// /// - public global::OpenRouter.BaseCustomToolCallInputDoneEvent? Type393 { get; set; } + public global::OpenRouter.BaseCustomToolCallInputDeltaEvent? Type393 { get; set; } /// /// /// - public global::OpenRouter.BaseCustomToolCallInputDoneEventType? Type394 { get; set; } + public global::OpenRouter.BaseCustomToolCallInputDeltaEventType? Type394 { get; set; } /// /// /// - public global::OpenRouter.BaseErrorEvent? Type395 { get; set; } + public global::OpenRouter.BaseCustomToolCallInputDoneEvent? Type395 { get; set; } /// /// /// - public global::OpenRouter.BaseErrorEventType? Type396 { get; set; } + public global::OpenRouter.BaseCustomToolCallInputDoneEventType? Type396 { get; set; } /// /// /// - public global::OpenRouter.BaseFunctionCallArgsDeltaEvent? Type397 { get; set; } + public global::OpenRouter.BaseErrorEvent? Type397 { get; set; } /// /// /// - public global::OpenRouter.BaseFunctionCallArgsDeltaEventType? Type398 { get; set; } + public global::OpenRouter.BaseErrorEventType? Type398 { get; set; } /// /// /// - public global::OpenRouter.BaseFunctionCallArgsDoneEvent? Type399 { get; set; } + public global::OpenRouter.BaseFunctionCallArgsDeltaEvent? Type399 { get; set; } /// /// /// - public global::OpenRouter.BaseFunctionCallArgsDoneEventType? Type400 { get; set; } + public global::OpenRouter.BaseFunctionCallArgsDeltaEventType? Type400 { get; set; } /// /// /// - public global::OpenRouter.BaseInputs? Type401 { get; set; } + public global::OpenRouter.BaseFunctionCallArgsDoneEvent? Type401 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2Item2? Type402 { get; set; } + public global::OpenRouter.BaseFunctionCallArgsDoneEventType? Type402 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, string>? Type403 { get; set; } + public global::OpenRouter.BaseInputs? Type403 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type404 { get; set; } + public global::OpenRouter.BaseInputsVariant2Item2? Type404 { get; set; } /// /// /// - public global::OpenRouter.ContentVariant1Item? Type405 { get; set; } + public global::OpenRouter.AnyOf, string>? Type405 { get; set; } /// /// /// - public global::OpenRouter.InputFile? Type406 { get; set; } + public global::System.Collections.Generic.IList? Type406 { get; set; } /// /// /// - public global::OpenRouter.InputAudio? Type407 { get; set; } + public global::OpenRouter.ContentVariant1Item? Type407 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemContentVariant1ItemDiscriminator? Type408 { get; set; } + public global::OpenRouter.InputFile? Type408 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemContentVariant1ItemDiscriminatorType? Type409 { get; set; } + public global::OpenRouter.InputAudio? Type409 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type410 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemContentVariant1ItemDiscriminator? Type410 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemPhaseVariant1? Type411 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemContentVariant1ItemDiscriminatorType? Type411 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemPhaseVariant2? Type412 { get; set; } + public global::OpenRouter.AnyOf? Type412 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemRoleVariant1? Type413 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemPhaseVariant1? Type413 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemRoleVariant2? Type414 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemPhaseVariant2? Type414 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemRoleVariant3? Type415 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemRoleVariant1? Type415 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemRoleVariant4? Type416 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemRoleVariant2? Type416 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemType? Type417 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemRoleVariant3? Type417 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItem? Type418 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemRoleVariant4? Type418 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type419 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemType? Type419 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCall? Type420 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItem? Type420 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCall? Type421 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type421 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutput? Type422 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCall? Type422 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateItem? Type423 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCall? Type423 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResult? Type424 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutput? Type424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type425 { get; set; } + public global::OpenRouter.ConfigurationUpdateItem? Type425 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlock? Type426 { get; set; } + public global::OpenRouter.BaseMessagesResult? Type426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type427 { get; set; } + public global::System.Collections.Generic.IList? Type427 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultRole? Type428 { get; set; } + public global::OpenRouter.ORAnthropicContentBlock? Type428 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicStopReason? Type429 { get; set; } + public global::System.Collections.Generic.IList? Type429 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultType? Type430 { get; set; } + public global::OpenRouter.BaseMessagesResultRole? Type430 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type431 { get; set; } + public global::OpenRouter.ORAnthropicStopReason? Type431 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultUsage? Type432 { get; set; } + public global::OpenRouter.BaseMessagesResultType? Type432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type433 { get; set; } + public global::OpenRouter.AllOf? Type433 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningConfig? Type434 { get; set; } + public global::OpenRouter.BaseMessagesResultUsage? Type434 { get; set; } /// /// /// - public global::OpenRouter.ReasoningContext? Type435 { get; set; } + public global::System.Collections.Generic.IList? Type435 { get; set; } /// /// /// - public global::OpenRouter.ReasoningEffort? Type436 { get; set; } + public global::OpenRouter.BaseReasoningConfig? Type436 { get; set; } /// /// /// - public global::OpenRouter.ReasoningMode? Type437 { get; set; } + public global::OpenRouter.ReasoningContext? Type437 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryVerbosity? Type438 { get; set; } + public global::OpenRouter.ReasoningEffort? Type438 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningDeltaEvent? Type439 { get; set; } + public global::OpenRouter.ReasoningMode? Type439 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningDeltaEventType? Type440 { get; set; } + public global::OpenRouter.ReasoningSummaryVerbosity? Type440 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningDoneEvent? Type441 { get; set; } + public global::OpenRouter.BaseReasoningDeltaEvent? Type441 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningDoneEventType? Type442 { get; set; } + public global::OpenRouter.BaseReasoningDeltaEventType? Type442 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryPartAddedEvent? Type443 { get; set; } + public global::OpenRouter.BaseReasoningDoneEvent? Type443 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryText? Type444 { get; set; } + public global::OpenRouter.BaseReasoningDoneEventType? Type444 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryPartAddedEventType? Type445 { get; set; } + public global::OpenRouter.BaseReasoningSummaryPartAddedEvent? Type445 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryPartDoneEvent? Type446 { get; set; } + public global::OpenRouter.ReasoningSummaryText? Type446 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryPartDoneEventType? Type447 { get; set; } + public global::OpenRouter.BaseReasoningSummaryPartAddedEventType? Type447 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryTextDeltaEvent? Type448 { get; set; } + public global::OpenRouter.BaseReasoningSummaryPartDoneEvent? Type448 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryTextDeltaEventType? Type449 { get; set; } + public global::OpenRouter.BaseReasoningSummaryPartDoneEventType? Type449 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryTextDoneEvent? Type450 { get; set; } + public global::OpenRouter.BaseReasoningSummaryTextDeltaEvent? Type450 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryTextDoneEventType? Type451 { get; set; } + public global::OpenRouter.BaseReasoningSummaryTextDeltaEventType? Type451 { get; set; } /// /// /// - public global::OpenRouter.BaseRefusalDeltaEvent? Type452 { get; set; } + public global::OpenRouter.BaseReasoningSummaryTextDoneEvent? Type452 { get; set; } /// /// /// - public global::OpenRouter.BaseRefusalDeltaEventType? Type453 { get; set; } + public global::OpenRouter.BaseReasoningSummaryTextDoneEventType? Type453 { get; set; } /// /// /// - public global::OpenRouter.BaseRefusalDoneEvent? Type454 { get; set; } + public global::OpenRouter.BaseRefusalDeltaEvent? Type454 { get; set; } /// /// /// - public global::OpenRouter.BaseRefusalDoneEventType? Type455 { get; set; } + public global::OpenRouter.BaseRefusalDeltaEventType? Type455 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResult? Type456 { get; set; } + public global::OpenRouter.BaseRefusalDoneEvent? Type456 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorField? Type457 { get; set; } + public global::OpenRouter.BaseRefusalDoneEventType? Type457 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetails? Type458 { get; set; } + public global::OpenRouter.BaseResponsesResult? Type458 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type459 { get; set; } + public global::OpenRouter.ResponsesErrorField? Type459 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultObject? Type460 { get; set; } + public global::OpenRouter.IncompleteDetails? Type460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type461 { get; set; } + public global::System.Collections.Generic.Dictionary? Type461 { get; set; } /// /// /// - public global::OpenRouter.OutputItem? Type462 { get; set; } + public global::OpenRouter.BaseResponsesResultObject? Type462 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultOutputItemDiscriminator? Type463 { get; set; } + public global::System.Collections.Generic.IList? Type463 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultOutputItemDiscriminatorType? Type464 { get; set; } + public global::OpenRouter.OutputItem? Type464 { get; set; } /// /// /// - public global::OpenRouter.StoredPromptTemplate? Type465 { get; set; } + public global::OpenRouter.BaseResponsesResultOutputItemDiscriminator? Type465 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheOptions? Type466 { get; set; } + public global::OpenRouter.BaseResponsesResultOutputItemDiscriminatorType? Type466 { get; set; } /// /// /// - public global::OpenRouter.ServiceTier? Type467 { get; set; } + public global::OpenRouter.StoredPromptTemplate? Type467 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesResponseStatus? Type468 { get; set; } + public global::OpenRouter.PromptCacheOptions? Type468 { get; set; } /// /// /// - public global::OpenRouter.TextConfig? Type469 { get; set; } + public global::OpenRouter.ServiceTier? Type469 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoice? Type470 { get; set; } + public global::OpenRouter.OpenAIResponsesResponseStatus? Type470 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type471 { get; set; } + public global::OpenRouter.TextConfig? Type471 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultToolVariant1? Type472 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoice? Type472 { get; set; } /// /// /// - public global::OpenRouter.Truncation? Type473 { get; set; } + public global::OpenRouter.AllOf? Type473 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsage? Type474 { get; set; } + public global::OpenRouter.BaseResponsesResultToolVariant1? Type474 { get; set; } /// /// /// - public global::OpenRouter.BaseTextDeltaEvent? Type475 { get; set; } + public global::System.Collections.Generic.IList? Type475 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type476 { get; set; } + public global::OpenRouter.BaseResponsesResultToolVariant1AllowedCaller? Type476 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesLogProbs? Type477 { get; set; } + public global::OpenRouter.Truncation? Type477 { get; set; } /// /// /// - public global::OpenRouter.BaseTextDeltaEventType? Type478 { get; set; } + public global::OpenRouter.OpenAIResponsesUsage? Type478 { get; set; } /// /// /// - public global::OpenRouter.BaseTextDoneEvent? Type479 { get; set; } + public global::OpenRouter.BaseTextDeltaEvent? Type479 { get; set; } /// /// /// - public global::OpenRouter.BaseTextDoneEventType? Type480 { get; set; } + public global::System.Collections.Generic.IList? Type480 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolConfig? Type481 { get; set; } + public global::OpenRouter.OpenResponsesLogProbs? Type481 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolType? Type482 { get; set; } + public global::OpenRouter.BaseTextDeltaEventType? Type482 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolEngine? Type483 { get; set; } + public global::OpenRouter.BaseTextDoneEvent? Type483 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolEnvironment? Type484 { get; set; } + public global::OpenRouter.BaseTextDoneEventType? Type484 { get; set; } /// /// /// - public global::OpenRouter.ContainerAutoEnvironment? Type485 { get; set; } + public global::OpenRouter.BashServerToolConfig? Type485 { get; set; } /// /// /// - public global::OpenRouter.ContainerReferenceEnvironment? Type486 { get; set; } + public global::OpenRouter.BashServerToolType? Type486 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolEnvironmentDiscriminator? Type487 { get; set; } + public global::OpenRouter.BashServerToolEngine? Type487 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolEnvironmentDiscriminatorType? Type488 { get; set; } + public global::OpenRouter.BashServerToolEnvironment? Type488 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletedObject? Type489 { get; set; } + public global::OpenRouter.ContainerAutoEnvironment? Type489 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletionTargets? Type490 { get; set; } + public global::OpenRouter.ContainerReferenceEnvironment? Type490 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletedObjectObject? Type491 { get; set; } + public global::OpenRouter.BashServerToolEnvironmentDiscriminator? Type491 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletionOutcome? Type492 { get; set; } + public global::OpenRouter.BashServerToolEnvironmentDiscriminatorType? Type492 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletionTargetsOpenrouter? Type493 { get; set; } + public global::OpenRouter.BatchDeletedObject? Type493 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletionTargetsUpstream? Type494 { get; set; } + public global::OpenRouter.BatchDeletionTargets? Type494 { get; set; } /// /// /// - public global::OpenRouter.BatchErrorResponse? Type495 { get; set; } + public global::OpenRouter.BatchDeletedObjectObject? Type495 { get; set; } /// /// /// - public global::OpenRouter.BatchErrorResponseError? Type496 { get; set; } + public global::OpenRouter.BatchDeletionOutcome? Type496 { get; set; } /// /// /// - public global::OpenRouter.BatchListItem? Type497 { get; set; } + public global::OpenRouter.BatchDeletionTargetsOpenrouter? Type497 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemCompletionWindow? Type498 { get; set; } + public global::OpenRouter.BatchDeletionTargetsUpstream? Type498 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemError? Type499 { get; set; } + public global::OpenRouter.BatchErrorResponse? Type499 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemObject? Type500 { get; set; } + public global::OpenRouter.BatchErrorResponseError? Type500 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemRequestCounts? Type501 { get; set; } + public global::OpenRouter.BatchListItem? Type501 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemStatus? Type502 { get; set; } + public global::OpenRouter.BatchListItemCompletionWindow? Type502 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemUsage? Type503 { get; set; } + public global::OpenRouter.BatchListItemError? Type503 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemUsageCompletionTokensDetails? Type504 { get; set; } + public global::OpenRouter.BatchListItemObject? Type504 { get; set; } /// /// /// - public global::OpenRouter.CostDetails? Type505 { get; set; } + public global::OpenRouter.BatchListItemRequestCounts? Type505 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemUsagePromptTokensDetails? Type506 { get; set; } + public global::OpenRouter.BatchListItemStatus? Type506 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemUsageServerToolUse? Type507 { get; set; } + public global::OpenRouter.BatchListItemUsage? Type507 { get; set; } /// /// /// - public global::OpenRouter.BatchListResponse? Type508 { get; set; } + public global::OpenRouter.BatchListItemUsageCompletionTokensDetails? Type508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type509 { get; set; } + public global::OpenRouter.CostDetails? Type509 { get; set; } /// /// /// - public global::OpenRouter.BatchListResponseObject? Type510 { get; set; } + public global::OpenRouter.BatchListItemUsagePromptTokensDetails? Type510 { get; set; } /// /// /// - public global::OpenRouter.BatchListStatus? Type511 { get; set; } + public global::OpenRouter.BatchListItemUsageServerToolUse? Type511 { get; set; } /// /// /// - public global::OpenRouter.BatchListTimestamp? Type512 { get; set; } + public global::OpenRouter.BatchListResponse? Type512 { get; set; } /// /// /// - public global::System.DateTime? Type513 { get; set; } + public global::System.Collections.Generic.IList? Type513 { get; set; } /// /// /// - public global::OpenRouter.BatchObject? Type514 { get; set; } + public global::OpenRouter.BatchListResponseObject? Type514 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectCompletionWindow? Type515 { get; set; } + public global::OpenRouter.BatchListStatus? Type515 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectError? Type516 { get; set; } + public global::OpenRouter.BatchListTimestamp? Type516 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectObject? Type517 { get; set; } + public global::System.DateTime? Type517 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectRequestCounts? Type518 { get; set; } + public global::OpenRouter.BatchObject? Type518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type519 { get; set; } + public global::OpenRouter.BatchObjectCompletionWindow? Type519 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResult? Type520 { get; set; } + public global::OpenRouter.BatchObjectError? Type520 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultError? Type521 { get; set; } + public global::OpenRouter.BatchObjectObject? Type521 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponse? Type522 { get; set; } + public global::OpenRouter.BatchObjectRequestCounts? Type522 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1? Type523 { get; set; } + public global::System.Collections.Generic.IList? Type523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type524 { get; set; } + public global::OpenRouter.BatchObjectResult? Type524 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1Choice? Type525 { get; set; } + public global::OpenRouter.BatchObjectResultError? Type525 { get; set; } /// /// /// - public global::OpenRouter.FinishReason? Type526 { get; set; } + public global::OpenRouter.BatchObjectResultResponse? Type526 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobs? Type527 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1? Type527 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type528 { get; set; } + public global::System.Collections.Generic.IList? Type528 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsContentItem? Type529 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1Choice? Type529 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type530 { get; set; } + public global::OpenRouter.FinishReason? Type530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type531 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobs? Type531 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsContentItemTopLogprob? Type532 { get; set; } + public global::System.Collections.Generic.IList? Type532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type533 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsContentItem? Type533 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsRefusalItem? Type534 { get; set; } + public global::System.Collections.Generic.IList? Type534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type535 { get; set; } + public global::System.Collections.Generic.IList? Type535 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsRefusalItemTopLogprob? Type536 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsContentItemTopLogprob? Type536 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessage? Type537 { get; set; } + public global::System.Collections.Generic.IList? Type537 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1? Type538 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsRefusalItem? Type538 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1File? Type539 { get; set; } + public global::System.Collections.Generic.IList? Type539 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant1? Type540 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsRefusalItemTopLogprob? Type540 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant1Type? Type541 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessage? Type541 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2? Type542 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1? Type542 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2ImageUrl? Type543 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1File? Type543 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2Type? Type544 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant1? Type544 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1Type? Type545 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant1Type? Type545 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2? Type546 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2? Type546 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2Type? Type547 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2ImageUrl? Type547 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2UrlCitation? Type548 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2Type? Type548 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3? Type549 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1Type? Type549 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3Type? Type550 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2? Type550 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3WebSearchCitation? Type551 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2Type? Type551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type552 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2UrlCitation? Type552 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImage? Type553 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3? Type553 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImageImageUrl? Type554 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3Type? Type554 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImageType? Type555 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3WebSearchCitation? Type555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?>? Type556 { get; set; } + public global::System.Collections.Generic.IList? Type556 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type557 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImage? Type557 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummary? Type558 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImageImageUrl? Type558 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncrypted? Type559 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImageType? Type559 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailText? Type560 { get; set; } + public global::System.Collections.Generic.IList?>? Type560 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailServerToolCall? Type561 { get; set; } + public global::OpenRouter.AnyOf? Type561 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageRole? Type562 { get; set; } + public global::OpenRouter.ReasoningDetailSummary? Type562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type563 { get; set; } + public global::OpenRouter.ReasoningDetailEncrypted? Type563 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCall? Type564 { get; set; } + public global::OpenRouter.ReasoningDetailText? Type564 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCallFunction? Type565 { get; set; } + public global::OpenRouter.ReasoningDetailServerToolCall? Type565 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCallType? Type566 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageRole? Type566 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1Debug? Type567 { get; set; } + public global::System.Collections.Generic.IList? Type567 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1DebugTimings? Type568 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCall? Type568 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1DebugTimingsEvent? Type569 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCallFunction? Type569 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1Object? Type570 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCallType? Type570 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterMetadata? Type571 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1Debug? Type571 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1Usage? Type572 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1DebugTimings? Type572 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageCompletionTokensDetails? Type573 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1DebugTimingsEvent? Type573 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsagePromptTokensDetails? Type574 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1Object? Type574 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageServerToolUse? Type575 { get; set; } + public global::OpenRouter.OpenRouterMetadata? Type575 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageServerToolUseDetails? Type576 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1Usage? Type576 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResult? Type577 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageCompletionTokensDetails? Type577 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant3? Type578 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsagePromptTokensDetails? Type578 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant3Role? Type579 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageServerToolUse? Type579 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant3Type? Type580 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageServerToolUseDetails? Type580 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type581 { get; set; } + public global::OpenRouter.OpenResponsesResult? Type581 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant3Usage? Type582 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant3? Type582 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4? Type583 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant3Role? Type583 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type584 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant3Type? Type584 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4DataItem? Type585 { get; set; } + public global::OpenRouter.AllOf? Type585 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, string>? Type586 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant3Usage? Type586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type587 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4? Type587 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4DataItemObject? Type588 { get; set; } + public global::System.Collections.Generic.IList? Type588 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4Object? Type589 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4DataItem? Type589 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4Usage? Type590 { get; set; } + public global::OpenRouter.AnyOf, string>? Type590 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4UsagePromptTokensDetails? Type591 { get; set; } + public global::System.Collections.Generic.IList? Type591 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectStatus? Type592 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4DataItemObject? Type592 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectUsage? Type593 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4Object? Type593 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectUsageCompletionTokensDetails? Type594 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4Usage? Type594 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectUsagePromptTokensDetails? Type595 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4UsagePromptTokensDetails? Type595 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectUsageServerToolUse? Type596 { get; set; } + public global::OpenRouter.BatchObjectStatus? Type596 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponse? Type597 { get; set; } + public global::OpenRouter.BatchObjectUsage? Type597 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseCompletionWindow? Type598 { get; set; } + public global::OpenRouter.BatchObjectUsageCompletionTokensDetails? Type598 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseError? Type599 { get; set; } + public global::OpenRouter.BatchObjectUsagePromptTokensDetails? Type599 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseObject? Type600 { get; set; } + public global::OpenRouter.BatchObjectUsageServerToolUse? Type600 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseRequestCounts? Type601 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponse? Type601 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseStatus? Type602 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseCompletionWindow? Type602 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseUsage? Type603 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseError? Type603 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseUsageCompletionTokensDetails? Type604 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseObject? Type604 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseUsagePromptTokensDetails? Type605 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseRequestCounts? Type605 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseUsageServerToolUse? Type606 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseStatus? Type606 { get; set; } /// /// /// - public global::OpenRouter.BatchProviderPreferences? Type607 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseUsage? Type607 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type608 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseUsageCompletionTokensDetails? Type608 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type609 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseUsagePromptTokensDetails? Type609 { get; set; } /// /// /// - public global::OpenRouter.ProviderName? Type610 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseUsageServerToolUse? Type610 { get; set; } /// /// /// - public global::OpenRouter.BatchSubmitBody? Type611 { get; set; } + public global::OpenRouter.BatchProviderPreferences? Type611 { get; set; } /// /// /// - public global::OpenRouter.BatchSubmitBodyCompletionWindow? Type612 { get; set; } + public global::System.Collections.Generic.IList>? Type612 { get; set; } /// /// /// - public global::OpenRouter.BatchSubmitBodyEndpoint? Type613 { get; set; } + public global::OpenRouter.AnyOf? Type613 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type614 { get; set; } + public global::OpenRouter.ProviderName? Type614 { get; set; } /// /// /// - public global::OpenRouter.BatchSubmitBodyRequest? Type615 { get; set; } + public global::OpenRouter.BatchSubmitBody? Type615 { get; set; } /// /// /// - public global::OpenRouter.BooleanCapability? Type616 { get; set; } + public global::OpenRouter.BatchSubmitBodyCompletionWindow? Type616 { get; set; } /// /// /// - public global::OpenRouter.BooleanCapabilityType? Type617 { get; set; } + public global::OpenRouter.BatchSubmitBodyEndpoint? Type617 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type618 { get; set; } + public global::System.Collections.Generic.IList? Type618 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type619 { get; set; } + public global::OpenRouter.BatchSubmitBodyRequest? Type619 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type620 { get; set; } + public global::OpenRouter.BooleanCapability? Type620 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMember? Type621 { get; set; } + public global::OpenRouter.BooleanCapabilityType? Type621 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysRequest? Type622 { get; set; } + public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type622 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysResponse? Type623 { get; set; } + public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type623 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersRequest? Type624 { get; set; } + public global::System.Collections.Generic.IList? Type624 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersResponse? Type625 { get; set; } + public global::OpenRouter.WorkspaceMember? Type625 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type626 { get; set; } + public global::OpenRouter.BulkAssignKeysRequest? Type626 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type627 { get; set; } + public global::OpenRouter.BulkAssignKeysResponse? Type627 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysRequest? Type628 { get; set; } + public global::OpenRouter.BulkAssignMembersRequest? Type628 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysResponse? Type629 { get; set; } + public global::OpenRouter.BulkAssignMembersResponse? Type629 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersRequest? Type630 { get; set; } + public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type630 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersResponse? Type631 { get; set; } + public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type631 { get; set; } /// /// /// - public global::OpenRouter.BYOKKey? Type632 { get; set; } + public global::OpenRouter.BulkUnassignKeysRequest? Type632 { get; set; } /// /// /// - public global::OpenRouter.BYOKKeyDeclaredRegion? Type633 { get; set; } + public global::OpenRouter.BulkUnassignKeysResponse? Type633 { get; set; } /// /// /// - public global::System.Guid? Type634 { get; set; } + public global::OpenRouter.BulkUnassignMembersRequest? Type634 { get; set; } /// /// /// - public global::OpenRouter.BYOKProviderSlug? Type635 { get; set; } + public global::OpenRouter.BulkUnassignMembersResponse? Type635 { get; set; } /// /// /// - public global::OpenRouter.CapabilityDescriptor? Type636 { get; set; } + public global::OpenRouter.BYOKKey? Type636 { get; set; } /// /// /// - public global::OpenRouter.EnumCapability? Type637 { get; set; } + public global::OpenRouter.BYOKKeyDeclaredRegion? Type637 { get; set; } /// /// /// - public global::OpenRouter.RangeCapability? Type638 { get; set; } + public global::System.Guid? Type638 { get; set; } /// /// /// - public global::OpenRouter.CapabilityDescriptorDiscriminator? Type639 { get; set; } + public global::OpenRouter.BYOKProviderSlug? Type639 { get; set; } /// /// /// - public global::OpenRouter.CapabilityDescriptorDiscriminatorType? Type640 { get; set; } + public global::OpenRouter.CapabilityDescriptor? Type640 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type641 { get; set; } + public global::OpenRouter.EnumCapability? Type641 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImage? Type642 { get; set; } + public global::OpenRouter.RangeCapability? Type642 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImageImageUrl? Type643 { get; set; } + public global::OpenRouter.CapabilityDescriptorDiscriminator? Type643 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessage? Type644 { get; set; } + public global::OpenRouter.CapabilityDescriptorDiscriminatorType? Type644 { get; set; } /// /// /// - public global::OpenRouter.ChatAudioOutput? Type645 { get; set; } + public global::System.Collections.Generic.IList? Type645 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type646 { get; set; } + public global::OpenRouter.ChatAssistantImage? Type646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type647 { get; set; } + public global::OpenRouter.ChatAssistantImageImageUrl? Type647 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItems? Type648 { get; set; } + public global::OpenRouter.ChatAssistantMessage? Type648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type649 { get; set; } + public global::OpenRouter.ChatAudioOutput? Type649 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessageRole? Type650 { get; set; } + public global::OpenRouter.AnyOf>? Type650 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type651 { get; set; } + public global::System.Collections.Generic.IList? Type651 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCall? Type652 { get; set; } + public global::OpenRouter.ChatContentItems? Type652 { get; set; } /// /// /// - public global::OpenRouter.ChatChoice? Type653 { get; set; } + public global::System.Collections.Generic.IList? Type653 { get; set; } /// /// /// - public global::OpenRouter.ChatFinishReasonEnum? Type654 { get; set; } + public global::OpenRouter.ChatAssistantMessageRole? Type654 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobs? Type655 { get; set; } + public global::System.Collections.Generic.IList? Type655 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudio? Type656 { get; set; } + public global::OpenRouter.ChatToolCall? Type656 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudioInputAudio? Type657 { get; set; } + public global::OpenRouter.ChatChoice? Type657 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudioType? Type658 { get; set; } + public global::OpenRouter.ChatFinishReasonEnum? Type658 { get; set; } /// /// /// - public global::OpenRouter.ChatContentCacheControl? Type659 { get; set; } + public global::OpenRouter.ChatTokenLogprobs? Type659 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFile? Type660 { get; set; } + public global::OpenRouter.ChatContentAudio? Type660 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFileFile? Type661 { get; set; } + public global::OpenRouter.ChatContentAudioInputAudio? Type661 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFileType? Type662 { get; set; } + public global::OpenRouter.ChatContentAudioType? Type662 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImage? Type663 { get; set; } + public global::OpenRouter.ChatContentCacheControl? Type663 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageImageUrl? Type664 { get; set; } + public global::OpenRouter.ChatContentFile? Type664 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageImageUrlDetail? Type665 { get; set; } + public global::OpenRouter.ChatContentFileFile? Type665 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageType? Type666 { get; set; } + public global::OpenRouter.ChatContentFileType? Type666 { get; set; } /// /// /// - public global::OpenRouter.ChatContentText? Type667 { get; set; } + public global::OpenRouter.ChatContentImage? Type667 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideo? Type668 { get; set; } + public global::OpenRouter.ChatContentImageImageUrl? Type668 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideo? Type669 { get; set; } + public global::OpenRouter.ChatContentImageImageUrlDetail? Type669 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminator? Type670 { get; set; } + public global::OpenRouter.ChatContentImageType? Type670 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorType? Type671 { get; set; } + public global::OpenRouter.ChatContentText? Type671 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheBreakpoint? Type672 { get; set; } + public global::OpenRouter.LegacyChatContentVideo? Type672 { get; set; } /// /// /// - public global::OpenRouter.ChatContentTextType? Type673 { get; set; } + public global::OpenRouter.ChatContentVideo? Type673 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoType? Type674 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminator? Type674 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoInput? Type675 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorType? Type675 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoInputProcessing? Type676 { get; set; } + public global::OpenRouter.PromptCacheBreakpoint? Type676 { get; set; } /// /// /// - public global::OpenRouter.ChatDebugOptions? Type677 { get; set; } + public global::OpenRouter.ChatContentTextType? Type677 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessage? Type678 { get; set; } + public global::OpenRouter.ChatContentVideoType? Type678 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? Type679 { get; set; } + public global::OpenRouter.ChatContentVideoInput? Type679 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateReasoning? Type680 { get; set; } + public global::OpenRouter.ChatContentVideoInputProcessing? Type680 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type681 { get; set; } + public global::OpenRouter.ChatDebugOptions? Type681 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type682 { get; set; } + public global::OpenRouter.ChatDeveloperMessage? Type682 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageRole? Type683 { get; set; } + public global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? Type683 { get; set; } /// /// /// - public global::OpenRouter.ChatDynamicServerTool? Type684 { get; set; } + public global::OpenRouter.ConfigurationUpdateReasoning? Type684 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfig? Type685 { get; set; } + public global::OpenRouter.AnyOf>? Type685 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfigType? Type686 { get; set; } + public global::System.Collections.Generic.IList? Type686 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonObjectConfig? Type687 { get; set; } + public global::OpenRouter.ChatDeveloperMessageRole? Type687 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonObjectConfigType? Type688 { get; set; } + public global::OpenRouter.ChatDynamicServerTool? Type688 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfig? Type689 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfig? Type689 { get; set; } /// /// /// - public global::OpenRouter.ChatJsonSchemaConfig? Type690 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfigType? Type690 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type691 { get; set; } + public global::OpenRouter.ChatFormatJsonObjectConfig? Type691 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfig? Type692 { get; set; } + public global::OpenRouter.ChatFormatJsonObjectConfigType? Type692 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfigType? Type693 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfig? Type693 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfig? Type694 { get; set; } + public global::OpenRouter.ChatJsonSchemaConfig? Type694 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfigType? Type695 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type695 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool? Type696 { get; set; } + public global::OpenRouter.ChatFormatPythonConfig? Type696 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolVariant1? Type697 { get; set; } + public global::OpenRouter.ChatFormatPythonConfigType? Type697 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolVariant1Function? Type698 { get; set; } + public global::OpenRouter.ChatFormatTextConfig? Type698 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolVariant1Type? Type699 { get; set; } + public global::OpenRouter.ChatFormatTextConfigType? Type699 { get; set; } /// /// /// - public global::OpenRouter.ChatSearchModelsServerTool? Type700 { get; set; } + public global::OpenRouter.ChatFunctionTool? Type700 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerTool? Type701 { get; set; } + public global::OpenRouter.ChatFunctionToolVariant1? Type701 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthand? Type702 { get; set; } + public global::OpenRouter.ChatFunctionToolVariant1Function? Type702 { get; set; } /// /// /// - public global::OpenRouter.ChatMessages? Type703 { get; set; } + public global::OpenRouter.ChatFunctionToolVariant1Type? Type703 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessage? Type704 { get; set; } + public global::OpenRouter.ChatSearchModelsServerTool? Type704 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessage? Type705 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerTool? Type705 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessage? Type706 { get; set; } + public global::OpenRouter.ChatWebSearchShorthand? Type706 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminator? Type707 { get; set; } + public global::OpenRouter.ChatMessages? Type707 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminatorRole? Type708 { get; set; } + public global::OpenRouter.ChatSystemMessage? Type708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type709 { get; set; } + public global::OpenRouter.ChatUserMessage? Type709 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type710 { get; set; } + public global::OpenRouter.ChatToolMessage? Type710 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoice? Type711 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminator? Type711 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceFunction? Type712 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminatorRole? Type712 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceType? Type713 { get; set; } + public global::System.Collections.Generic.IList>? Type713 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnion? Type714 { get; set; } + public global::OpenRouter.AllOf? Type714 { get; set; } /// /// /// - public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type715 { get; set; } + public global::OpenRouter.ChatNamedToolChoice? Type715 { get; set; } /// /// /// - public global::OpenRouter.ChatRequest? Type716 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceFunction? Type716 { get; set; } /// /// /// - public global::OpenRouter.ImageConfig? Type717 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceType? Type717 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type718 { get; set; } + public global::OpenRouter.ReasoningDetailUnion? Type718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type719 { get; set; } + public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type719 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type720 { get; set; } + public global::OpenRouter.ChatRequest? Type720 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestModalitie? Type721 { get; set; } + public global::OpenRouter.DeferredToolsControl? Type721 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type722 { get; set; } + public global::OpenRouter.ImageConfig? Type722 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem? Type723 { get; set; } + public global::System.Collections.Generic.Dictionary? Type723 { get; set; } /// /// /// - public global::OpenRouter.ModerationPlugin? Type724 { get; set; } + public global::System.Collections.Generic.IList? Type724 { get; set; } /// /// /// - public global::OpenRouter.WebSearchPlugin? Type725 { get; set; } + public global::System.Collections.Generic.IList? Type725 { get; set; } /// /// /// - public global::OpenRouter.WebFetchPlugin? Type726 { get; set; } + public global::OpenRouter.ChatRequestModalitie? Type726 { get; set; } /// /// /// - public global::OpenRouter.FileParserPlugin? Type727 { get; set; } + public global::System.Collections.Generic.IList? Type727 { get; set; } /// /// /// - public global::OpenRouter.ResponseHealingPlugin? Type728 { get; set; } + public global::OpenRouter.PluginsItem? Type728 { get; set; } /// /// /// - public global::OpenRouter.ContextCompressionPlugin? Type729 { get; set; } + public global::OpenRouter.ModerationPlugin? Type729 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPlugin? Type730 { get; set; } + public global::OpenRouter.WebSearchPlugin? Type730 { get; set; } /// /// /// - public global::OpenRouter.FusionPlugin? Type731 { get; set; } + public global::OpenRouter.WebFetchPlugin? Type731 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPlugin? Type732 { get; set; } + public global::OpenRouter.FileParserPlugin? Type732 { get; set; } /// /// /// - public global::OpenRouter.JevRouterPlugin? Type733 { get; set; } + public global::OpenRouter.ResponseHealingPlugin? Type733 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginDiscriminator? Type734 { get; set; } + public global::OpenRouter.ContextCompressionPlugin? Type734 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginDiscriminatorId? Type735 { get; set; } + public global::OpenRouter.ParetoRouterPlugin? Type735 { get; set; } /// /// /// - public global::OpenRouter.Prediction? Type736 { get; set; } + public global::OpenRouter.FusionPlugin? Type736 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferences? Type737 { get; set; } + public global::OpenRouter.SwitchyardRouterPlugin? Type737 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoning? Type738 { get; set; } + public global::OpenRouter.JevRouterPlugin? Type738 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort? Type739 { get; set; } + public global::OpenRouter.ChatRequestPluginDiscriminator? Type739 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort2? Type740 { get; set; } + public global::OpenRouter.ChatRequestPluginDiscriminatorId? Type740 { get; set; } /// /// /// - public global::OpenRouter.ResponseFormat? Type741 { get; set; } + public global::OpenRouter.Prediction? Type741 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type742 { get; set; } + public global::OpenRouter.ProviderPreferences? Type742 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type743 { get; set; } + public global::OpenRouter.ChatRequestReasoning? Type743 { get; set; } /// /// /// - public global::OpenRouter.DeprecatedRoute? Type744 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort? Type744 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestServiceTier? Type745 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort2? Type745 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type746 { get; set; } + public global::OpenRouter.ResponseFormat? Type746 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type747 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type747 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamOptions? Type748 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type748 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice? Type749 { get; set; } + public global::OpenRouter.DeprecatedRoute? Type749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type750 { get; set; } + public global::OpenRouter.ChatRequestServiceTier? Type750 { get; set; } /// /// /// - public global::OpenRouter.TraceConfig? Type751 { get; set; } + public global::OpenRouter.AnyOf>? Type751 { get; set; } /// /// /// - public global::OpenRouter.ChatResult? Type752 { get; set; } + public global::System.Collections.Generic.IList? Type752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type753 { get; set; } + public global::OpenRouter.ChatStreamOptions? Type753 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type754 { get; set; } + public global::OpenRouter.ChatToolChoice? Type754 { get; set; } /// /// /// - public global::OpenRouter.ChatResultObject? Type755 { get; set; } + public global::System.Collections.Generic.IList? Type755 { get; set; } /// /// /// - public global::OpenRouter.ChatUsage? Type756 { get; set; } + public global::OpenRouter.TraceConfig? Type756 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolConfig? Type757 { get; set; } + public global::OpenRouter.ChatResult? Type757 { get; set; } /// /// /// - public global::OpenRouter.ChatSearchModelsServerToolType? Type758 { get; set; } + public global::System.Collections.Generic.IList? Type758 { get; set; } /// /// /// - public global::OpenRouter.ChatServerToolChoice? Type759 { get; set; } + public global::System.DateTimeOffset? Type759 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChoice? Type760 { get; set; } + public global::OpenRouter.ChatResultObject? Type760 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamDelta? Type761 { get; set; } + public global::OpenRouter.ChatUsage? Type761 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunk? Type762 { get; set; } + public global::OpenRouter.SearchModelsServerToolConfig? Type762 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type763 { get; set; } + public global::OpenRouter.ChatSearchModelsServerToolType? Type763 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunkError? Type764 { get; set; } + public global::OpenRouter.ChatServerToolChoice? Type764 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunkErrorMetadata? Type765 { get; set; } + public global::OpenRouter.ChatStreamChoice? Type765 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunkObject? Type766 { get; set; } + public global::OpenRouter.ChatStreamDelta? Type766 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type767 { get; set; } + public global::OpenRouter.ChatStreamChunk? Type767 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamDeltaRole? Type768 { get; set; } + public global::System.Collections.Generic.IList? Type768 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type769 { get; set; } + public global::OpenRouter.ChatStreamChunkError? Type769 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamToolCall? Type770 { get; set; } + public global::OpenRouter.ChatStreamChunkErrorMetadata? Type770 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamingResponse? Type771 { get; set; } + public global::OpenRouter.ChatStreamChunkObject? Type771 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamToolCallFunction? Type772 { get; set; } + public global::OpenRouter.AllOf? Type772 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamToolCallType? Type773 { get; set; } + public global::OpenRouter.ChatStreamDeltaRole? Type773 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageConfigurationUpdate? Type774 { get; set; } + public global::System.Collections.Generic.IList? Type774 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageRole? Type775 { get; set; } + public global::OpenRouter.ChatStreamToolCall? Type775 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprob? Type776 { get; set; } + public global::OpenRouter.ChatStreamingResponse? Type776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type777 { get; set; } + public global::OpenRouter.ChatStreamToolCallFunction? Type777 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobTopLogprob? Type778 { get; set; } + public global::OpenRouter.ChatStreamToolCallType? Type778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type779 { get; set; } + public global::OpenRouter.ChatSystemMessageConfigurationUpdate? Type779 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallFunction? Type780 { get; set; } + public global::OpenRouter.ChatSystemMessageRole? Type780 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallType? Type781 { get; set; } + public global::OpenRouter.ChatTokenLogprob? Type781 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoiceVariant1? Type782 { get; set; } + public global::System.Collections.Generic.IList? Type782 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoiceVariant2? Type783 { get; set; } + public global::OpenRouter.ChatTokenLogprobTopLogprob? Type783 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoiceVariant3? Type784 { get; set; } + public global::System.Collections.Generic.IList? Type784 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageRole? Type785 { get; set; } + public global::OpenRouter.ChatToolCallFunction? Type785 { get; set; } /// /// /// - public global::OpenRouter.ChatUsageCompletionTokensDetails? Type786 { get; set; } + public global::OpenRouter.ChatToolCallType? Type786 { get; set; } /// /// /// - public global::OpenRouter.ChatUsagePromptTokensDetails? Type787 { get; set; } + public global::OpenRouter.ChatToolChoiceVariant1? Type787 { get; set; } /// /// /// - public global::OpenRouter.ServerToolUseDetails? Type788 { get; set; } + public global::OpenRouter.ChatToolChoiceVariant2? Type788 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageRole? Type789 { get; set; } + public global::OpenRouter.ChatToolChoiceVariant3? Type789 { get; set; } /// /// /// - public global::OpenRouter.WebSearchEngineEnum? Type790 { get; set; } + public global::OpenRouter.ChatToolMessageRole? Type790 { get; set; } /// /// /// - public global::OpenRouter.WebSearchMode? Type791 { get; set; } + public global::OpenRouter.ChatUsageCompletionTokensDetails? Type791 { get; set; } /// /// /// - public global::OpenRouter.WebSearchConfig? Type792 { get; set; } + public global::OpenRouter.ChatUsagePromptTokensDetails? Type792 { get; set; } /// /// /// - public global::OpenRouter.SearchQualityLevel? Type793 { get; set; } + public global::OpenRouter.ServerToolUseDetails? Type793 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthandType? Type794 { get; set; } + public global::OpenRouter.ChatUserMessageRole? Type794 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerTool? Type795 { get; set; } + public global::OpenRouter.WebSearchEngineEnum? Type795 { get; set; } /// /// /// - public global::OpenRouter.XSearchOptions? Type796 { get; set; } + public global::OpenRouter.WebSearchMode? Type796 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallCodeDeltaEvent? Type797 { get; set; } + public global::OpenRouter.WebSearchConfig? Type797 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDelta? Type798 { get; set; } + public global::OpenRouter.SearchQualityLevel? Type798 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallCodeDoneEvent? Type799 { get; set; } + public global::OpenRouter.ChatWebSearchShorthandType? Type799 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDone? Type800 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerTool? Type800 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallCompletedEvent? Type801 { get; set; } + public global::OpenRouter.XSearchOptions? Type801 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompleted? Type802 { get; set; } + public global::OpenRouter.CodeInterpreterCallCodeDeltaEvent? Type802 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallInProgressEvent? Type803 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDelta? Type803 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgress? Type804 { get; set; } + public global::OpenRouter.CodeInterpreterCallCodeDoneEvent? Type804 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallInterpretingEvent? Type805 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDone? Type805 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpreting? Type806 { get; set; } + public global::OpenRouter.CodeInterpreterCallCompletedEvent? Type806 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItem? Type807 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompleted? Type807 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterFileOutput? Type808 { get; set; } + public global::OpenRouter.CodeInterpreterCallInProgressEvent? Type808 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterFileOutputType? Type809 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgress? Type809 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterImageOutput? Type810 { get; set; } + public global::OpenRouter.CodeInterpreterCallInterpretingEvent? Type810 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterImageOutputType? Type811 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpreting? Type811 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterLogsOutput? Type812 { get; set; } + public global::OpenRouter.CodeInterpreterCallItem? Type812 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterLogsOutputType? Type813 { get; set; } + public global::OpenRouter.CodeInterpreterFileOutput? Type813 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type814 { get; set; } + public global::OpenRouter.CodeInterpreterFileOutputType? Type814 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainer? Type815 { get; set; } + public global::OpenRouter.CodeInterpreterImageOutput? Type815 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit? Type816 { get; set; } + public global::OpenRouter.CodeInterpreterImageOutputType? Type816 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainerType? Type817 { get; set; } + public global::OpenRouter.CodeInterpreterLogsOutput? Type817 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolType? Type818 { get; set; } + public global::OpenRouter.CodeInterpreterLogsOutputType? Type818 { get; set; } /// /// /// - public global::OpenRouter.CodexLocalShellToolType? Type819 { get; set; } + public global::OpenRouter.AnyOf? Type819 { get; set; } /// /// /// - public global::OpenRouter.CompactionItem? Type820 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainer? Type820 { get; set; } /// /// /// - public global::OpenRouter.CompactionItemType? Type821 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit? Type821 { get; set; } /// /// /// - public global::OpenRouter.CompletedEvent? Type822 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainerType? Type822 { get; set; } /// /// /// - public global::OpenRouter.CompletedEventType? Type823 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolType? Type823 { get; set; } /// /// /// - public global::OpenRouter.CompoundFilter? Type824 { get; set; } + public global::OpenRouter.CodexLocalShellToolType? Type824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type825 { get; set; } + public global::OpenRouter.CompactionItem? Type825 { get; set; } /// /// /// - public global::OpenRouter.CompoundFilterType? Type826 { get; set; } + public global::OpenRouter.CompactionItemType? Type826 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerToolEnvironment? Type827 { get; set; } + public global::OpenRouter.CompletedEvent? Type827 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerToolType? Type828 { get; set; } + public global::OpenRouter.CompletedEventType? Type828 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateItemType? Type829 { get; set; } + public global::OpenRouter.CompoundFilter? Type829 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateReasoningEffort? Type830 { get; set; } + public global::System.Collections.Generic.IList? Type830 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponse? Type831 { get; set; } + public global::OpenRouter.CompoundFilterType? Type831 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponseErrorData? Type832 { get; set; } + public global::OpenRouter.ComputerUseServerToolEnvironment? Type832 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicy? Type833 { get; set; } + public global::OpenRouter.ComputerUseServerToolType? Type833 { get; set; } /// /// /// - public global::OpenRouter.ContainerAutoEnvironmentType? Type834 { get; set; } + public global::OpenRouter.ConfigurationUpdateItemType? Type834 { get; set; } /// /// /// - public global::OpenRouter.ContainerFile? Type835 { get; set; } + public global::OpenRouter.ConfigurationUpdateReasoningEffort? Type835 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileObject? Type836 { get; set; } + public global::OpenRouter.ConflictResponse? Type836 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileSource? Type837 { get; set; } + public global::OpenRouter.ConflictResponseErrorData? Type837 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileListResponse? Type838 { get; set; } + public global::OpenRouter.ContainerNetworkPolicy? Type838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type839 { get; set; } + public global::OpenRouter.ContainerAutoEnvironmentType? Type839 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileListResponseObject? Type840 { get; set; } + public global::OpenRouter.ContainerFile? Type840 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant1? Type841 { get; set; } + public global::OpenRouter.ContainerFileObject? Type841 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant1Type? Type842 { get; set; } + public global::OpenRouter.ContainerFileSource? Type842 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant2? Type843 { get; set; } + public global::OpenRouter.ContainerFileListResponse? Type843 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant2Type? Type844 { get; set; } + public global::System.Collections.Generic.IList? Type844 { get; set; } /// /// /// - public global::OpenRouter.ContainerReferenceEnvironmentType? Type845 { get; set; } + public global::OpenRouter.ContainerFileListResponseObject? Type845 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterAction? Type846 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant1? Type846 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinAction? Type847 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant1Type? Type847 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinEntry? Type848 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant2? Type848 { get; set; } /// /// /// - public global::OpenRouter.PromptInjectionScanScope? Type849 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant2Type? Type849 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinSlug? Type850 { get; set; } + public global::OpenRouter.ContainerReferenceEnvironmentType? Type850 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinEntryInput? Type851 { get; set; } + public global::OpenRouter.ContentFilterAction? Type851 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterEntry? Type852 { get; set; } + public global::OpenRouter.ContentFilterBuiltinAction? Type852 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAddedEvent? Type853 { get; set; } + public global::OpenRouter.ContentFilterBuiltinEntry? Type853 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAddedEventVariant2? Type854 { get; set; } + public global::OpenRouter.PromptInjectionScanScope? Type854 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type855 { get; set; } + public global::OpenRouter.ContentFilterBuiltinSlug? Type855 { get; set; } /// /// /// - public global::OpenRouter.ReasoningTextContent? Type856 { get; set; } + public global::OpenRouter.ContentFilterBuiltinEntryInput? Type856 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAudio? Type857 { get; set; } + public global::OpenRouter.ContentFilterEntry? Type857 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAudioAudioUrl? Type858 { get; set; } + public global::OpenRouter.ContentPartAddedEvent? Type858 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAudioType? Type859 { get; set; } + public global::OpenRouter.ContentPartAddedEventVariant2? Type859 { get; set; } /// /// /// - public global::OpenRouter.ContentPartDoneEvent? Type860 { get; set; } + public global::OpenRouter.AnyOf? Type860 { get; set; } /// /// /// - public global::OpenRouter.ContentPartDoneEventVariant2? Type861 { get; set; } + public global::OpenRouter.ReasoningTextContent? Type861 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImage? Type862 { get; set; } + public global::OpenRouter.ContentPartAudio? Type862 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageImageUrl? Type863 { get; set; } + public global::OpenRouter.ContentPartAudioAudioUrl? Type863 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageType? Type864 { get; set; } + public global::OpenRouter.ContentPartAudioType? Type864 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputAudio? Type865 { get; set; } + public global::OpenRouter.ContentPartDoneEvent? Type865 { get; set; } /// /// /// - public global::OpenRouter.MultimodalMedia? Type866 { get; set; } + public global::OpenRouter.ContentPartDoneEventVariant2? Type866 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputAudioType? Type867 { get; set; } + public global::OpenRouter.ContentPartImage? Type867 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputFile? Type868 { get; set; } + public global::OpenRouter.ContentPartImageImageUrl? Type868 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputFileType? Type869 { get; set; } + public global::OpenRouter.ContentPartImageType? Type869 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputVideo? Type870 { get; set; } + public global::OpenRouter.ContentPartInputAudio? Type870 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputVideoType? Type871 { get; set; } + public global::OpenRouter.MultimodalMedia? Type871 { get; set; } /// /// /// - public global::OpenRouter.ContentPartVideo? Type872 { get; set; } + public global::OpenRouter.ContentPartInputAudioType? Type872 { get; set; } /// /// /// - public global::OpenRouter.ContentPartVideoType? Type873 { get; set; } + public global::OpenRouter.ContentPartInputFile? Type873 { get; set; } /// /// /// - public global::OpenRouter.ContentPartVideoVideoUrl? Type874 { get; set; } + public global::OpenRouter.ContentPartInputFileType? Type874 { get; set; } /// /// /// - public global::OpenRouter.ContextCompactionItem? Type875 { get; set; } + public global::OpenRouter.ContentPartInputVideo? Type875 { get; set; } /// /// /// - public global::OpenRouter.ContextCompactionItemType? Type876 { get; set; } + public global::OpenRouter.ContentPartInputVideoType? Type876 { get; set; } /// /// /// - public global::OpenRouter.ContextCompressionEngine? Type877 { get; set; } + public global::OpenRouter.ContentPartVideo? Type877 { get; set; } /// /// /// - public global::OpenRouter.ContextCompressionPluginId? Type878 { get; set; } + public global::OpenRouter.ContentPartVideoType? Type878 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyRequest? Type879 { get; set; } + public global::OpenRouter.ContentPartVideoVideoUrl? Type879 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion? Type880 { get; set; } + public global::OpenRouter.ContextCompactionItem? Type880 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyResponse? Type881 { get; set; } + public global::OpenRouter.ContextCompactionItemType? Type881 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type882 { get; set; } + public global::OpenRouter.ContextCompressionEngine? Type882 { get; set; } /// /// /// - public global::OpenRouter.CreatedEvent? Type883 { get; set; } + public global::OpenRouter.ContextCompressionPluginId? Type883 { get; set; } /// /// /// - public global::OpenRouter.CreatedEventType? Type884 { get; set; } + public global::OpenRouter.CreateBYOKKeyRequest? Type884 { get; set; } /// /// /// - public global::OpenRouter.CreateEndUserRequest? Type885 { get; set; } + public global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion? Type885 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailRequest? Type886 { get; set; } + public global::OpenRouter.CreateBYOKKeyResponse? Type886 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type887 { get; set; } + public global::OpenRouter.AllOf? Type887 { get; set; } /// /// /// - public global::OpenRouter.GuardrailDataRegion? Type888 { get; set; } + public global::OpenRouter.CreatedEvent? Type888 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type889 { get; set; } + public global::OpenRouter.CreatedEventType? Type889 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type890 { get; set; } + public global::OpenRouter.CreateEndUserRequest? Type890 { get; set; } /// /// /// - public global::OpenRouter.GuardrailInterval? Type891 { get; set; } + public global::OpenRouter.CreateGuardrailRequest? Type891 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponse? Type892 { get; set; } + public global::System.Collections.Generic.IList? Type892 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type893 { get; set; } + public global::OpenRouter.GuardrailDataRegion? Type893 { get; set; } /// /// /// - public global::OpenRouter.Guardrail? Type894 { get; set; } + public global::System.Collections.Generic.IList? Type894 { get; set; } /// /// /// - public global::OpenRouter.CreateInternRequest? Type895 { get; set; } + public global::System.Collections.Generic.IList? Type895 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationRequest? Type896 { get; set; } + public global::OpenRouter.GuardrailInterval? Type896 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigNullable? Type897 { get; set; } + public global::OpenRouter.CreateGuardrailResponse? Type897 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type898 { get; set; } + public global::OpenRouter.AllOf? Type898 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDataRegionInput? Type899 { get; set; } + public global::OpenRouter.Guardrail? Type899 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationRequestType? Type900 { get; set; } + public global::OpenRouter.CreateInternRequest? Type900 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponse? Type901 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationRequest? Type901 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestination? Type902 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigNullable? Type902 { get; set; } /// /// /// - public global::OpenRouter.CreatePresetFromInferenceResponse? Type903 { get; set; } + public global::System.Collections.Generic.IList? Type903 { get; set; } /// /// /// - public global::OpenRouter.PresetWithDesignatedVersion? Type904 { get; set; } + public global::OpenRouter.ObservabilityDataRegionInput? Type904 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointRequest? Type905 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationRequestType? Type905 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointActivation? Type906 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponse? Type906 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointRequestDeclaredRegion? Type907 { get; set; } + public global::OpenRouter.ObservabilityDestination? Type907 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointPricing? Type908 { get; set; } + public global::OpenRouter.CreatePresetFromInferenceResponse? Type908 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointValidationFailedResponse? Type909 { get; set; } + public global::OpenRouter.PresetWithDesignatedVersion? Type909 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointValidationFailedResponseData? Type910 { get; set; } + public global::OpenRouter.CreatePrivateEndpointRequest? Type910 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpoint? Type911 { get; set; } + public global::OpenRouter.PrivateEndpointActivation? Type911 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidationNullable? Type912 { get; set; } + public global::OpenRouter.CreatePrivateEndpointRequestDeclaredRegion? Type912 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointValidationFailedResponseError? Type913 { get; set; } + public global::OpenRouter.PrivateEndpointPricing? Type913 { get; set; } /// /// /// - public global::OpenRouter.CreateScimGroupMappingRequest? Type914 { get; set; } + public global::OpenRouter.CreatePrivateEndpointValidationFailedResponse? Type914 { get; set; } /// /// /// - public global::OpenRouter.CreateScimGroupMappingRequestRole? Type915 { get; set; } + public global::OpenRouter.CreatePrivateEndpointValidationFailedResponseData? Type915 { get; set; } /// /// /// - public global::OpenRouter.CreateScimGroupMappingResponse? Type916 { get; set; } + public global::OpenRouter.ManagedPrivateEndpoint? Type916 { get; set; } /// /// /// - public global::OpenRouter.ScimGroupMapping? Type917 { get; set; } + public global::OpenRouter.PrivateEndpointValidationNullable? Type917 { get; set; } /// /// /// - public global::OpenRouter.CreateScimSyncJobResponse? Type918 { get; set; } + public global::OpenRouter.CreatePrivateEndpointValidationFailedResponseError? Type918 { get; set; } /// /// /// - public global::OpenRouter.ScimSyncJob? Type919 { get; set; } + public global::OpenRouter.CreateScimGroupMappingRequest? Type919 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceRequest? Type920 { get; set; } + public global::OpenRouter.CreateScimGroupMappingRequestRole? Type920 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type921 { get; set; } + public global::OpenRouter.CreateScimGroupMappingResponse? Type921 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceRequestDisabledServerTool? Type922 { get; set; } + public global::OpenRouter.ScimGroupMapping? Type922 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type923 { get; set; } + public global::OpenRouter.CreateScimSyncJobResponse? Type923 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponse? Type924 { get; set; } + public global::OpenRouter.ScimSyncJob? Type924 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type925 { get; set; } + public global::OpenRouter.CreateWorkspaceRequest? Type925 { get; set; } /// /// /// - public global::OpenRouter.Workspace? Type926 { get; set; } + public global::System.Collections.Generic.IList? Type926 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type927 { get; set; } + public global::OpenRouter.CreateWorkspaceRequestDisabledServerTool? Type927 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant1? Type928 { get; set; } + public global::System.Collections.Generic.IList? Type928 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant1Type? Type929 { get; set; } + public global::OpenRouter.CreateWorkspaceResponse? Type929 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2? Type930 { get; set; } + public global::OpenRouter.AllOf? Type930 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2Syntax? Type931 { get; set; } + public global::OpenRouter.Workspace? Type931 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2Type? Type932 { get; set; } + public global::OpenRouter.AnyOf? Type932 { get; set; } /// /// /// - public global::OpenRouter.CustomToolType? Type933 { get; set; } + public global::OpenRouter.CustomToolFormatVariant1? Type933 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallInputDeltaEvent? Type934 { get; set; } + public global::OpenRouter.CustomToolFormatVariant1Type? Type934 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallInputDoneEvent? Type935 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2? Type935 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallItem? Type936 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2Syntax? Type936 { get; set; } /// /// /// - public global::OpenRouter.ToolCallStatus? Type937 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2Type? Type937 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallItemType? Type938 { get; set; } + public global::OpenRouter.CustomToolType? Type938 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallOutputItem? Type939 { get; set; } + public global::OpenRouter.CustomToolCallInputDeltaEvent? Type939 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallOutputItemVariant2? Type940 { get; set; } + public global::OpenRouter.CustomToolCallInputDoneEvent? Type940 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>? Type941 { get; set; } + public global::OpenRouter.CustomToolCallItem? Type941 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile>>? Type942 { get; set; } + public global::OpenRouter.ToolCallStatus? Type942 { get; set; } /// /// /// - public global::OpenRouter.OneOf?, global::OpenRouter.InputFile>? Type943 { get; set; } + public global::OpenRouter.CustomToolCallItemType? Type943 { get; set; } /// /// /// - public global::OpenRouter.DABenchmarkEntry? Type944 { get; set; } + public global::OpenRouter.CustomToolCallOutputItem? Type944 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolConfig? Type945 { get; set; } + public global::OpenRouter.CustomToolCallOutputItemVariant2? Type945 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolType? Type946 { get; set; } + public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>? Type946 { get; set; } /// /// /// - public global::OpenRouter.DebugEvent? Type947 { get; set; } + public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile>>? Type947 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebug? Type948 { get; set; } + public global::OpenRouter.OneOf?, global::OpenRouter.InputFile>? Type948 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebugTimings? Type949 { get; set; } + public global::OpenRouter.DABenchmarkEntry? Type949 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebugTimingsEvent? Type950 { get; set; } + public global::OpenRouter.DatetimeServerToolConfig? Type950 { get; set; } /// /// /// - public global::OpenRouter.DebugEventType? Type951 { get; set; } + public global::OpenRouter.DatetimeServerToolType? Type951 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceAnswer? Type952 { get; set; } + public global::OpenRouter.DebugEvent? Type952 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceAnswerType? Type953 { get; set; } + public global::OpenRouter.DebugEventDebug? Type953 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceQuestion? Type954 { get; set; } + public global::OpenRouter.DebugEventDebugTimings? Type954 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type955 { get; set; } + public global::OpenRouter.DebugEventDebugTimingsEvent? Type955 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceQuestionType? Type956 { get; set; } + public global::OpenRouter.DebugEventType? Type956 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulAnswer? Type957 { get; set; } + public global::OpenRouter.DecisionsChoiceAnswer? Type957 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulAnswerType? Type958 { get; set; } + public global::OpenRouter.DecisionsChoiceAnswerType? Type958 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestion? Type959 { get; set; } + public global::OpenRouter.DecisionsChoiceQuestion? Type959 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestionCriteria? Type960 { get; set; } + public global::OpenRouter.AnyOf>? Type960 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestionType? Type961 { get; set; } + public global::OpenRouter.DecisionsChoiceQuestionType? Type961 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequest? Type962 { get; set; } + public global::OpenRouter.DecisionsNoulAnswer? Type962 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type963 { get; set; } + public global::OpenRouter.DecisionsNoulAnswerType? Type963 { get; set; } /// /// /// - public global::OpenRouter.Questions? Type964 { get; set; } + public global::OpenRouter.DecisionsNoulQuestion? Type964 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreQuestion? Type965 { get; set; } + public global::OpenRouter.DecisionsNoulQuestionCriteria? Type965 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequestQuestionsDiscriminator? Type966 { get; set; } + public global::OpenRouter.DecisionsNoulQuestionType? Type966 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequestQuestionsDiscriminatorType? Type967 { get; set; } + public global::OpenRouter.DecisionsRequest? Type967 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponse? Type968 { get; set; } + public global::OpenRouter.AllOf? Type968 { get; set; } /// /// /// - public global::OpenRouter.Answers? Type969 { get; set; } + public global::OpenRouter.Questions? Type969 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreAnswer? Type970 { get; set; } + public global::OpenRouter.DecisionsScoreQuestion? Type970 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseAnswersDiscriminator? Type971 { get; set; } + public global::OpenRouter.DecisionsRequestQuestionsDiscriminator? Type971 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseAnswersDiscriminatorType? Type972 { get; set; } + public global::OpenRouter.DecisionsRequestQuestionsDiscriminatorType? Type972 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseUsage? Type973 { get; set; } + public global::OpenRouter.DecisionsResponse? Type973 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreAnswerType? Type974 { get; set; } + public global::OpenRouter.Answers? Type974 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>>? Type975 { get; set; } + public global::OpenRouter.DecisionsScoreAnswer? Type975 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreQuestionType? Type976 { get; set; } + public global::OpenRouter.DecisionsResponseAnswersDiscriminator? Type976 { get; set; } /// /// /// - public global::OpenRouter.DefaultParameters? Type977 { get; set; } + public global::OpenRouter.DecisionsResponseAnswersDiscriminatorType? Type977 { get; set; } /// /// /// - public global::OpenRouter.DeleteBYOKKeyResponse? Type978 { get; set; } + public global::OpenRouter.DecisionsResponseUsage? Type978 { get; set; } /// /// /// - public global::OpenRouter.DeleteGuardrailResponse? Type979 { get; set; } + public global::OpenRouter.DecisionsScoreAnswerType? Type979 { get; set; } /// /// /// - public global::OpenRouter.DeleteInternRequest? Type980 { get; set; } + public global::System.Collections.Generic.IList>>? Type980 { get; set; } /// /// /// - public global::OpenRouter.DeleteInternResponse? Type981 { get; set; } + public global::OpenRouter.DecisionsScoreQuestionType? Type981 { get; set; } /// /// /// - public global::OpenRouter.DeleteObservabilityDestinationResponse? Type982 { get; set; } + public global::OpenRouter.DefaultParameters? Type982 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointResponse? Type983 { get; set; } + public global::OpenRouter.DeferredBm25Search? Type983 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointResponseData? Type984 { get; set; } + public global::OpenRouter.DeferredBm25SearchType? Type984 { get; set; } /// /// /// - public global::OpenRouter.DeleteScimGroupMappingResponse? Type985 { get; set; } + public global::OpenRouter.DeferredCustomSearch? Type985 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceBudgetResponse? Type986 { get; set; } + public global::OpenRouter.DeferredCustomSearchType? Type986 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceResponse? Type987 { get; set; } + public global::OpenRouter.DeferredRegexSearch? Type987 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessage? Type988 { get; set; } + public global::OpenRouter.DeferredRegexSearchType? Type988 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>? Type989 { get; set; } + public global::OpenRouter.DeferredToolsControlProfile? Type989 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>? Type990 { get; set; } + public global::OpenRouter.DeferredToolsControlProtocol? Type990 { get; set; } /// /// /// - public global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>? Type991 { get; set; } + public global::OpenRouter.DeferredToolsSearchStrategy? Type991 { get; set; } /// /// /// - public global::OpenRouter.InputVideo? Type992 { get; set; } + public global::OpenRouter.DeferredToolsControlValidation? Type992 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type993 { get; set; } + public global::OpenRouter.DeferredToolsSearchStrategyDiscriminator? Type993 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessagePhaseVariant1? Type994 { get; set; } + public global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? Type994 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessagePhaseVariant2? Type995 { get; set; } + public global::OpenRouter.DeleteBYOKKeyResponse? Type995 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant1? Type996 { get; set; } + public global::OpenRouter.DeleteGuardrailResponse? Type996 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant2? Type997 { get; set; } + public global::OpenRouter.DeleteInternRequest? Type997 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant3? Type998 { get; set; } + public global::OpenRouter.DeleteInternResponse? Type998 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant4? Type999 { get; set; } + public global::OpenRouter.DeleteObservabilityDestinationResponse? Type999 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageType? Type1000 { get; set; } + public global::OpenRouter.DeletePrivateEndpointResponse? Type1000 { get; set; } /// /// /// - public global::OpenRouter.EdgeNetworkTimeoutResponse? Type1001 { get; set; } + public global::OpenRouter.DeletePrivateEndpointResponseData? Type1001 { get; set; } /// /// /// - public global::OpenRouter.EdgeNetworkTimeoutResponseErrorData? Type1002 { get; set; } + public global::OpenRouter.DeleteScimGroupMappingResponse? Type1002 { get; set; } /// /// /// - public global::OpenRouter.EndpointInfo? Type1003 { get; set; } + public global::OpenRouter.DeleteWorkspaceBudgetResponse? Type1003 { get; set; } /// /// /// - public global::OpenRouter.EndpointsMetadata? Type1004 { get; set; } + public global::OpenRouter.DeleteWorkspaceResponse? Type1004 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1005 { get; set; } + public global::OpenRouter.EasyInputMessage? Type1005 { get; set; } /// /// /// - public global::OpenRouter.EndUser? Type1006 { get; set; } + public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>? Type1006 { get; set; } /// /// /// - public global::OpenRouter.EndUserResponse? Type1007 { get; set; } + public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>? Type1007 { get; set; } /// /// /// - public global::OpenRouter.EnumCapabilityType? Type1008 { get; set; } + public global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>? Type1008 { get; set; } /// /// /// - public global::OpenRouter.ErrorEvent? Type1009 { get; set; } + public global::OpenRouter.InputVideo? Type1009 { get; set; } /// /// /// - public global::OpenRouter.FailableToolCallStatus? Type1010 { get; set; } + public global::OpenRouter.AnyOf? Type1010 { get; set; } /// /// /// - public global::OpenRouter.FailedEvent? Type1011 { get; set; } + public global::OpenRouter.EasyInputMessagePhaseVariant1? Type1011 { get; set; } /// /// /// - public global::OpenRouter.FailedEventType? Type1012 { get; set; } + public global::OpenRouter.EasyInputMessagePhaseVariant2? Type1012 { get; set; } /// /// /// - public global::OpenRouter.FileCitation? Type1013 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant1? Type1013 { get; set; } /// /// /// - public global::OpenRouter.FileCitationType? Type1014 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant2? Type1014 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponse? Type1015 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant3? Type1015 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeleted? Type1016 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant4? Type1016 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeleted? Type1017 { get; set; } + public global::OpenRouter.EasyInputMessageType? Type1017 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponseDiscriminator? Type1018 { get; set; } + public global::OpenRouter.EdgeNetworkTimeoutResponse? Type1018 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponseDiscriminatorShape? Type1019 { get; set; } + public global::OpenRouter.EdgeNetworkTimeoutResponseErrorData? Type1019 { get; set; } /// /// /// - public global::OpenRouter.FileListResponse? Type1020 { get; set; } + public global::OpenRouter.EndpointInfo? Type1020 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileList? Type1021 { get; set; } + public global::OpenRouter.EndpointsMetadata? Type1021 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileList? Type1022 { get; set; } + public global::System.Collections.Generic.IList? Type1022 { get; set; } /// /// /// - public global::OpenRouter.FileListResponseDiscriminator? Type1023 { get; set; } + public global::OpenRouter.EndUser? Type1023 { get; set; } /// /// /// - public global::OpenRouter.FileListResponseDiscriminatorShape? Type1024 { get; set; } + public global::OpenRouter.EndUserResponse? Type1024 { get; set; } /// /// /// - public global::OpenRouter.FileParserPluginId? Type1025 { get; set; } + public global::OpenRouter.EnumCapabilityType? Type1025 { get; set; } /// /// /// - public global::OpenRouter.PDFParserOptions? Type1026 { get; set; } + public global::OpenRouter.ErrorEvent? Type1026 { get; set; } /// /// /// - public global::OpenRouter.FilePath? Type1027 { get; set; } + public global::OpenRouter.FailableToolCallStatus? Type1027 { get; set; } /// /// /// - public global::OpenRouter.FilePathType? Type1028 { get; set; } + public global::OpenRouter.FailedEvent? Type1028 { get; set; } /// /// /// - public global::OpenRouter.FileProvider? Type1029 { get; set; } + public global::OpenRouter.FailedEventType? Type1029 { get; set; } /// /// /// - public global::OpenRouter.FileResponse? Type1030 { get; set; } + public global::OpenRouter.FileCitation? Type1030 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFile? Type1031 { get; set; } + public global::OpenRouter.FileCitationType? Type1031 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFile? Type1032 { get; set; } + public global::OpenRouter.FileDeleteResponse? Type1032 { get; set; } /// /// /// - public global::OpenRouter.FileResponseDiscriminator? Type1033 { get; set; } + public global::OpenRouter.OpenRouterFileDeleted? Type1033 { get; set; } /// /// /// - public global::OpenRouter.FileResponseDiscriminatorShape? Type1034 { get; set; } + public global::OpenRouter.OpenAIFileDeleted? Type1034 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1035 { get; set; } + public global::OpenRouter.FileDeleteResponseDiscriminator? Type1035 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFilters? Type1036 { get; set; } + public global::OpenRouter.FileDeleteResponseDiscriminatorShape? Type1036 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFiltersType? Type1037 { get; set; } + public global::OpenRouter.FileListResponse? Type1037 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? Type1038 { get; set; } + public global::OpenRouter.OpenRouterFileList? Type1038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1039 { get; set; } + public global::OpenRouter.OpenAIFileList? Type1039 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1040 { get; set; } + public global::OpenRouter.FileListResponseDiscriminator? Type1040 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptions? Type1041 { get; set; } + public global::OpenRouter.FileListResponseDiscriminatorShape? Type1041 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type1042 { get; set; } + public global::OpenRouter.FileParserPluginId? Type1042 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolType? Type1043 { get; set; } + public global::OpenRouter.PDFParserOptions? Type1043 { get; set; } /// /// /// - public global::OpenRouter.FilesServerToolConfig? Type1044 { get; set; } + public global::OpenRouter.FilePath? Type1044 { get; set; } /// /// /// - public global::OpenRouter.FilesServerToolType? Type1045 { get; set; } + public global::OpenRouter.FilePathType? Type1045 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponse? Type1046 { get; set; } + public global::OpenRouter.FileProvider? Type1046 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponseErrorData? Type1047 { get; set; } + public global::OpenRouter.FileResponse? Type1047 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfig? Type1048 { get; set; } + public global::OpenRouter.OpenRouterFile? Type1048 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfigType? Type1049 { get; set; } + public global::OpenRouter.OpenAIFile? Type1049 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfig? Type1050 { get; set; } + public global::OpenRouter.FileResponseDiscriminator? Type1050 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfigType? Type1051 { get; set; } + public global::OpenRouter.FileResponseDiscriminatorShape? Type1051 { get; set; } /// /// /// - public global::OpenRouter.Formats? Type1052 { get; set; } + public global::OpenRouter.AnyOf? Type1052 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfig? Type1053 { get; set; } + public global::OpenRouter.FileSearchServerToolFilters? Type1053 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfigType? Type1054 { get; set; } + public global::OpenRouter.FileSearchServerToolFiltersType? Type1054 { get; set; } /// /// /// - public global::OpenRouter.FrameImage? Type1055 { get; set; } + public global::OpenRouter.AnyOf>>? Type1055 { get; set; } /// /// /// - public global::OpenRouter.FrameImageVariant2? Type1056 { get; set; } + public global::System.Collections.Generic.IList>? Type1056 { get; set; } /// /// /// - public global::OpenRouter.FrameImageVariant2FrameType? Type1057 { get; set; } + public global::OpenRouter.AnyOf? Type1057 { get; set; } /// /// /// - public global::OpenRouter.FreeModelDailyRequests? Type1058 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptions? Type1058 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallArgsDeltaEvent? Type1059 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type1059 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallArgsDoneEvent? Type1060 { get; set; } + public global::OpenRouter.FileSearchServerToolType? Type1060 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItem? Type1061 { get; set; } + public global::OpenRouter.FilesServerToolConfig? Type1061 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1062 { get; set; } + public global::OpenRouter.FilesServerToolType? Type1062 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItemSubagentItem? Type1063 { get; set; } + public global::OpenRouter.ForbiddenResponse? Type1063 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItemType? Type1064 { get; set; } + public global::OpenRouter.ForbiddenResponseErrorData? Type1064 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallOutputItem? Type1065 { get; set; } + public global::OpenRouter.FormatJsonObjectConfig? Type1065 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallOutputItemVariant2? Type1066 { get; set; } + public global::OpenRouter.FormatJsonObjectConfigType? Type1066 { get; set; } /// /// /// - public global::OpenRouter.FunctionToolType? Type1067 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfig? Type1067 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResult? Type1068 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfigType? Type1068 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1069 { get; set; } + public global::OpenRouter.Formats? Type1069 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultContradiction? Type1070 { get; set; } + public global::OpenRouter.FormatTextConfig? Type1070 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1071 { get; set; } + public global::OpenRouter.FormatTextConfigType? Type1071 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultContradictionStance? Type1072 { get; set; } + public global::OpenRouter.FrameImage? Type1072 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1073 { get; set; } + public global::OpenRouter.FrameImageVariant2? Type1073 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultPartialCoverageItem? Type1074 { get; set; } + public global::OpenRouter.FrameImageVariant2FrameType? Type1074 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1075 { get; set; } + public global::OpenRouter.FreeModelDailyRequests? Type1075 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultUniqueInsight? Type1076 { get; set; } + public global::OpenRouter.FunctionCallArgsDeltaEvent? Type1076 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisCompletedEvent? Type1077 { get; set; } + public global::OpenRouter.FunctionCallArgsDoneEvent? Type1077 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisCompletedEventType? Type1078 { get; set; } + public global::OpenRouter.FunctionCallItem? Type1078 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisInProgressEvent? Type1079 { get; set; } + public global::System.Collections.Generic.IList? Type1079 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisInProgressEventType? Type1080 { get; set; } + public global::OpenRouter.FunctionCallItemSubagentItem? Type1080 { get; set; } /// /// /// - public global::OpenRouter.FusionCallCompletedEvent? Type1081 { get; set; } + public global::OpenRouter.FunctionCallItemType? Type1081 { get; set; } /// /// /// - public global::OpenRouter.FusionCallCompletedEventType? Type1082 { get; set; } + public global::OpenRouter.FunctionCallOutputItem? Type1082 { get; set; } /// /// /// - public global::OpenRouter.FusionCallInProgressEvent? Type1083 { get; set; } + public global::OpenRouter.FunctionCallOutputItemVariant2? Type1083 { get; set; } /// /// /// - public global::OpenRouter.FusionCallInProgressEventType? Type1084 { get; set; } + public global::OpenRouter.FunctionToolType? Type1084 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelAddedEvent? Type1085 { get; set; } + public global::OpenRouter.FusionAnalysisResult? Type1085 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelAddedEventType? Type1086 { get; set; } + public global::System.Collections.Generic.IList? Type1086 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelCompletedEvent? Type1087 { get; set; } + public global::OpenRouter.FusionAnalysisResultContradiction? Type1087 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelCompletedEventType? Type1088 { get; set; } + public global::System.Collections.Generic.IList? Type1088 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelDeltaEvent? Type1089 { get; set; } + public global::OpenRouter.FusionAnalysisResultContradictionStance? Type1089 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelDeltaEventType? Type1090 { get; set; } + public global::System.Collections.Generic.IList? Type1090 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelFailedEvent? Type1091 { get; set; } + public global::OpenRouter.FusionAnalysisResultPartialCoverageItem? Type1091 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelFailedEventType? Type1092 { get; set; } + public global::System.Collections.Generic.IList? Type1092 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelReasoningDeltaEvent? Type1093 { get; set; } + public global::OpenRouter.FusionAnalysisResultUniqueInsight? Type1093 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelReasoningDeltaEventType? Type1094 { get; set; } + public global::OpenRouter.FusionCallAnalysisCompletedEvent? Type1094 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginId? Type1095 { get; set; } + public global::OpenRouter.FusionCallAnalysisCompletedEventType? Type1095 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginPreset? Type1096 { get; set; } + public global::OpenRouter.FusionCallAnalysisInProgressEvent? Type1096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1097 { get; set; } + public global::OpenRouter.FusionCallAnalysisInProgressEventType? Type1097 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginTool? Type1098 { get; set; } + public global::OpenRouter.FusionCallCompletedEvent? Type1098 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?>, object>? Type1099 { get; set; } + public global::OpenRouter.FusionCallCompletedEventType? Type1099 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?>? Type1100 { get; set; } + public global::OpenRouter.FusionCallInProgressEvent? Type1100 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1101 { get; set; } + public global::OpenRouter.FusionCallInProgressEventType? Type1101 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfig? Type1102 { get; set; } + public global::OpenRouter.FusionCallPanelAddedEvent? Type1102 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolOpenRouterType? Type1103 { get; set; } + public global::OpenRouter.FusionCallPanelAddedEventType? Type1103 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigReasoning? Type1104 { get; set; } + public global::OpenRouter.FusionCallPanelCompletedEvent? Type1104 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigReasoningEffort? Type1105 { get; set; } + public global::OpenRouter.FusionCallPanelCompletedEventType? Type1105 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1106 { get; set; } + public global::OpenRouter.FusionCallPanelDeltaEvent? Type1106 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigTool? Type1107 { get; set; } + public global::OpenRouter.FusionCallPanelDeltaEventType? Type1107 { get; set; } /// /// /// - public global::OpenRouter.FusionSource? Type1108 { get; set; } + public global::OpenRouter.FusionCallPanelFailedEvent? Type1108 { get; set; } /// /// /// - public global::OpenRouter.GatewayTimeoutResponse? Type1109 { get; set; } + public global::OpenRouter.FusionCallPanelFailedEventType? Type1109 { get; set; } /// /// /// - public global::OpenRouter.GatewayTimeoutResponseErrorData? Type1110 { get; set; } + public global::OpenRouter.FusionCallPanelReasoningDeltaEvent? Type1110 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentData? Type1111 { get; set; } + public global::OpenRouter.FusionCallPanelReasoningDeltaEventType? Type1111 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentError? Type1112 { get; set; } + public global::OpenRouter.FusionPluginId? Type1112 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1113 { get; set; } + public global::OpenRouter.FusionPluginPreset? Type1113 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInputVariant1? Type1114 { get; set; } + public global::System.Collections.Generic.IList? Type1114 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInputVariant2? Type1115 { get; set; } + public global::OpenRouter.FusionPluginTool? Type1115 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataOutput? Type1116 { get; set; } + public global::OpenRouter.AnyOf?>, object>? Type1116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1117 { get; set; } + public global::System.Collections.Generic.IList?>? Type1117 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentErrorAttempt? Type1118 { get; set; } + public global::OpenRouter.AnyOf? Type1118 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentResponse? Type1119 { get; set; } + public global::OpenRouter.FusionServerToolConfig? Type1119 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponse? Type1120 { get; set; } + public global::OpenRouter.FusionServerToolOpenRouterType? Type1120 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseData? Type1121 { get; set; } + public global::OpenRouter.FusionServerToolConfigReasoning? Type1121 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataApiType? Type1122 { get; set; } + public global::OpenRouter.FusionServerToolConfigReasoningEffort? Type1122 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataDataRegion? Type1123 { get; set; } + public global::System.Collections.Generic.IList? Type1123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1124 { get; set; } + public global::OpenRouter.FusionServerToolConfigTool? Type1124 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponse? Type1125 { get; set; } + public global::OpenRouter.FusionSource? Type1125 { get; set; } /// /// /// - public global::OpenRouter.GetBYOKKeyResponse? Type1126 { get; set; } + public global::OpenRouter.GatewayTimeoutResponse? Type1126 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponse? Type1127 { get; set; } + public global::OpenRouter.GatewayTimeoutResponseErrorData? Type1127 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponse? Type1128 { get; set; } + public global::OpenRouter.GenerationContentData? Type1128 { get; set; } /// /// /// - public global::OpenRouter.GetPresetResponse? Type1129 { get; set; } + public global::OpenRouter.GenerationContentError? Type1129 { get; set; } /// /// /// - public global::OpenRouter.GetPresetVersionResponse? Type1130 { get; set; } + public global::OpenRouter.AnyOf? Type1130 { get; set; } /// /// /// - public global::OpenRouter.PresetDesignatedVersion? Type1131 { get; set; } + public global::OpenRouter.GenerationContentDataInputVariant1? Type1131 { get; set; } /// /// /// - public global::OpenRouter.GetScimGroupMappingResponse? Type1132 { get; set; } + public global::OpenRouter.GenerationContentDataInputVariant2? Type1132 { get; set; } /// /// /// - public global::OpenRouter.GetScimSyncJobResponse? Type1133 { get; set; } + public global::OpenRouter.GenerationContentDataOutput? Type1133 { get; set; } /// /// /// - public global::OpenRouter.GetToolResponse? Type1134 { get; set; } + public global::System.Collections.Generic.IList? Type1134 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetails? Type1135 { get; set; } + public global::OpenRouter.GenerationContentErrorAttempt? Type1135 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceBudgetResponse? Type1136 { get; set; } + public global::OpenRouter.GenerationContentResponse? Type1136 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1137 { get; set; } + public global::OpenRouter.GenerationResponse? Type1137 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudget? Type1138 { get; set; } + public global::OpenRouter.GenerationResponseData? Type1138 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponse? Type1139 { get; set; } + public global::OpenRouter.GenerationResponseDataApiType? Type1139 { get; set; } /// /// /// - public global::OpenRouter.GoneResponse? Type1140 { get; set; } + public global::OpenRouter.GenerationResponseDataDataRegion? Type1140 { get; set; } /// /// /// - public global::OpenRouter.GoneResponseErrorData? Type1141 { get; set; } + public global::System.Collections.Generic.IList? Type1141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1142 { get; set; } + public global::OpenRouter.ProviderResponse? Type1142 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1143 { get; set; } + public global::OpenRouter.GetBYOKKeyResponse? Type1143 { get; set; } /// /// /// - public global::OpenRouter.ImageEndpoint? Type1144 { get; set; } + public global::OpenRouter.GetGuardrailResponse? Type1144 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1145 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponse? Type1145 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntry? Type1146 { get; set; } + public global::OpenRouter.GetPresetResponse? Type1146 { get; set; } /// /// /// - public global::OpenRouter.AllOf, object>? Type1147 { get; set; } + public global::OpenRouter.GetPresetVersionResponse? Type1147 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type1148 { get; set; } + public global::OpenRouter.PresetDesignatedVersion? Type1148 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallCompletedEvent? Type1149 { get; set; } + public global::OpenRouter.GetScimGroupMappingResponse? Type1149 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallCompleted? Type1150 { get; set; } + public global::OpenRouter.GetScimSyncJobResponse? Type1150 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallGeneratingEvent? Type1151 { get; set; } + public global::OpenRouter.GetToolResponse? Type1151 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallGenerating? Type1152 { get; set; } + public global::OpenRouter.ServerToolDetails? Type1152 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallInProgressEvent? Type1153 { get; set; } + public global::OpenRouter.GetWorkspaceBudgetResponse? Type1153 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallInProgress? Type1154 { get; set; } + public global::OpenRouter.AllOf? Type1154 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallPartialImageEvent? Type1155 { get; set; } + public global::OpenRouter.WorkspaceBudget? Type1155 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallPartialImage? Type1156 { get; set; } + public global::OpenRouter.GetWorkspaceResponse? Type1156 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCompletedEvent? Type1157 { get; set; } + public global::OpenRouter.GoneResponse? Type1157 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCompletedEventType? Type1158 { get; set; } + public global::OpenRouter.GoneResponseErrorData? Type1158 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsage? Type1159 { get; set; } + public global::System.Collections.Generic.IList? Type1159 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationProviderPreferences? Type1160 { get; set; } + public global::OpenRouter.AnyOf>? Type1160 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1161 { get; set; } + public global::OpenRouter.ImageEndpoint? Type1161 { get; set; } /// /// /// - public global::OpenRouter.ProviderOptions? Type1162 { get; set; } + public global::System.Collections.Generic.IList? Type1162 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1163 { get; set; } + public global::OpenRouter.ImagePricingEntry? Type1163 { get; set; } /// /// /// - public global::OpenRouter.ProviderSort? Type1164 { get; set; } + public global::OpenRouter.AllOf, object>? Type1164 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfig? Type1165 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1165 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequest? Type1166 { get; set; } + public global::OpenRouter.ImageGenCallCompletedEvent? Type1166 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestAspectRatio? Type1167 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallCompleted? Type1167 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestBackground? Type1168 { get; set; } + public global::OpenRouter.ImageGenCallGeneratingEvent? Type1168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1169 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallGenerating? Type1169 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestOutputFormat? Type1170 { get; set; } + public global::OpenRouter.ImageGenCallInProgressEvent? Type1170 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestQuality? Type1171 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallInProgress? Type1171 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestResolution? Type1172 { get; set; } + public global::OpenRouter.ImageGenCallPartialImageEvent? Type1172 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationResponse? Type1173 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallPartialImage? Type1173 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1174 { get; set; } + public global::OpenRouter.ImageGenCompletedEvent? Type1174 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationResponseDataItem? Type1175 { get; set; } + public global::OpenRouter.ImageGenCompletedEventType? Type1175 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolBackground? Type1176 { get; set; } + public global::OpenRouter.ImageGenerationUsage? Type1176 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type1177 { get; set; } + public global::OpenRouter.ImageGenerationProviderPreferences? Type1177 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type1178 { get; set; } + public global::OpenRouter.AllOf? Type1178 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolModeration? Type1179 { get; set; } + public global::OpenRouter.ProviderOptions? Type1179 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type1180 { get; set; } + public global::OpenRouter.AnyOf? Type1180 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolQuality? Type1181 { get; set; } + public global::OpenRouter.ProviderSort? Type1181 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolType? Type1182 { get; set; } + public global::OpenRouter.ProviderSortConfig? Type1182 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolConfig? Type1183 { get; set; } + public global::OpenRouter.ImageGenerationRequest? Type1183 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type1184 { get; set; } + public global::OpenRouter.ImageGenerationRequestAspectRatio? Type1184 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationStatus? Type1185 { get; set; } + public global::OpenRouter.ImageGenerationRequestBackground? Type1185 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsageCompletionTokensDetails? Type1186 { get; set; } + public global::System.Collections.Generic.IList? Type1186 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsagePromptTokensDetails? Type1187 { get; set; } + public global::OpenRouter.ImageGenerationRequestOutputFormat? Type1187 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsageServerToolUse? Type1188 { get; set; } + public global::OpenRouter.ImageGenerationRequestQuality? Type1188 { get; set; } /// /// /// - public global::OpenRouter.ImageGenPartialImageEvent? Type1189 { get; set; } + public global::OpenRouter.ImageGenerationRequestResolution? Type1189 { get; set; } /// /// /// - public global::OpenRouter.ImageGenPartialImageEventType? Type1190 { get; set; } + public global::OpenRouter.ImageGenerationResponse? Type1190 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEvent? Type1191 { get; set; } + public global::System.Collections.Generic.IList? Type1191 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEventError? Type1192 { get; set; } + public global::OpenRouter.ImageGenerationResponseDataItem? Type1192 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEventType? Type1193 { get; set; } + public global::OpenRouter.ImageGenerationServerToolBackground? Type1193 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEvent? Type1194 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type1194 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEventPhase? Type1195 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type1195 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEventType? Type1196 { get; set; } + public global::OpenRouter.ImageGenerationServerToolModeration? Type1196 { get; set; } /// /// /// - public global::OpenRouter.ImageInputModality? Type1197 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type1197 { get; set; } /// /// /// - public global::OpenRouter.ImageModelArchitecture? Type1198 { get; set; } + public global::OpenRouter.ImageGenerationServerToolQuality? Type1198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1199 { get; set; } + public global::OpenRouter.ImageGenerationServerToolType? Type1199 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1200 { get; set; } + public global::OpenRouter.ImageGenerationServerToolConfig? Type1200 { get; set; } /// /// /// - public global::OpenRouter.ImageOutputModality? Type1201 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type1201 { get; set; } /// /// /// - public global::OpenRouter.ImageModelEndpointsResponse? Type1202 { get; set; } + public global::OpenRouter.ImageGenerationStatus? Type1202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1203 { get; set; } + public global::OpenRouter.ImageGenerationUsageCompletionTokensDetails? Type1203 { get; set; } /// /// /// - public global::OpenRouter.ImageModelListItem? Type1204 { get; set; } + public global::OpenRouter.ImageGenerationUsagePromptTokensDetails? Type1204 { get; set; } /// /// /// - public global::OpenRouter.ImageModelsListResponse? Type1205 { get; set; } + public global::OpenRouter.ImageGenerationUsageServerToolUse? Type1205 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1206 { get; set; } + public global::OpenRouter.ImageGenPartialImageEvent? Type1206 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntryBillable? Type1207 { get; set; } + public global::OpenRouter.ImageGenPartialImageEventType? Type1207 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntryUnit? Type1208 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEvent? Type1208 { get; set; } /// /// /// - public global::OpenRouter.ImageStreamingResponse? Type1209 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEventError? Type1209 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1210 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEventType? Type1210 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetailsReason? Type1211 { get; set; } + public global::OpenRouter.ImageGenTextChunkEvent? Type1211 { get; set; } /// /// /// - public global::OpenRouter.IncompleteEvent? Type1212 { get; set; } + public global::OpenRouter.ImageGenTextChunkEventPhase? Type1212 { get; set; } /// /// /// - public global::OpenRouter.IncompleteEventType? Type1213 { get; set; } + public global::OpenRouter.ImageGenTextChunkEventType? Type1213 { get; set; } /// /// /// - public global::OpenRouter.InProgressEvent? Type1214 { get; set; } + public global::OpenRouter.ImageInputModality? Type1214 { get; set; } /// /// /// - public global::OpenRouter.InProgressEventType? Type1215 { get; set; } + public global::OpenRouter.ImageModelArchitecture? Type1215 { get; set; } /// /// /// - public global::OpenRouter.InputAudioInputAudio1? Type1216 { get; set; } + public global::System.Collections.Generic.IList? Type1216 { get; set; } /// /// /// - public global::OpenRouter.InputAudioInputAudio1Format? Type1217 { get; set; } + public global::System.Collections.Generic.IList? Type1217 { get; set; } /// /// /// - public global::OpenRouter.InputAudioType? Type1218 { get; set; } + public global::OpenRouter.ImageOutputModality? Type1218 { get; set; } /// /// /// - public global::OpenRouter.InputFileType? Type1219 { get; set; } + public global::OpenRouter.ImageModelEndpointsResponse? Type1219 { get; set; } /// /// /// - public global::OpenRouter.InputImageDetail? Type1220 { get; set; } + public global::System.Collections.Generic.IList? Type1220 { get; set; } /// /// /// - public global::OpenRouter.InputImageType? Type1221 { get; set; } + public global::OpenRouter.ImageModelListItem? Type1221 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItem? Type1222 { get; set; } + public global::OpenRouter.ImageModelsListResponse? Type1222 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1223 { get; set; } + public global::System.Collections.Generic.IList? Type1223 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant1? Type1224 { get; set; } + public global::OpenRouter.ImagePricingEntryBillable? Type1224 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant2? Type1225 { get; set; } + public global::OpenRouter.ImagePricingEntryUnit? Type1225 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant3? Type1226 { get; set; } + public global::OpenRouter.ImageStreamingResponse? Type1226 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemType? Type1227 { get; set; } + public global::OpenRouter.AnyOf? Type1227 { get; set; } /// /// /// - public global::OpenRouter.InputModality? Type1228 { get; set; } + public global::OpenRouter.IncompleteDetailsReason? Type1228 { get; set; } /// /// /// - public global::OpenRouter.InputReference? Type1229 { get; set; } + public global::OpenRouter.IncompleteEvent? Type1229 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminator? Type1230 { get; set; } + public global::OpenRouter.IncompleteEventType? Type1230 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminatorType? Type1231 { get; set; } + public global::OpenRouter.InProgressEvent? Type1231 { get; set; } /// /// /// - public global::OpenRouter.Inputs? Type1232 { get; set; } + public global::OpenRouter.InProgressEventType? Type1232 { get; set; } /// /// /// - public global::OpenRouter.ReasoningItem? Type1233 { get; set; } + public global::OpenRouter.InputAudioInputAudio1? Type1233 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1234 { get; set; } + public global::OpenRouter.InputAudioInputAudio1Format? Type1234 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItem? Type1235 { get; set; } + public global::OpenRouter.InputAudioType? Type1235 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant82? Type1236 { get; set; } + public global::OpenRouter.InputFileType? Type1236 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>, string>? Type1237 { get; set; } + public global::OpenRouter.InputImageDetail? Type1237 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1238 { get; set; } + public global::OpenRouter.InputImageType? Type1238 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant8Type? Type1239 { get; set; } + public global::OpenRouter.InputMessageItem? Type1239 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1240 { get; set; } + public global::OpenRouter.AnyOf? Type1240 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItem? Type1241 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant1? Type1241 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant92? Type1242 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant2? Type1242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1243 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant3? Type1243 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchCallItem? Type1244 { get; set; } + public global::OpenRouter.InputMessageItemType? Type1244 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchCallItem? Type1245 { get; set; } + public global::OpenRouter.InputModality? Type1245 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationCallItem? Type1246 { get; set; } + public global::OpenRouter.InputReference? Type1246 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterCallItem? Type1247 { get; set; } + public global::OpenRouter.InputReferenceDiscriminator? Type1247 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItem? Type1248 { get; set; } + public global::OpenRouter.InputReferenceDiscriminatorType? Type1248 { get; set; } /// /// /// - public global::OpenRouter.OutputDatetimeItem? Type1249 { get; set; } + public global::OpenRouter.Inputs? Type1249 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItem? Type1250 { get; set; } + public global::OpenRouter.ReasoningItem? Type1250 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItem? Type1251 { get; set; } + public global::OpenRouter.AllOf? Type1251 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItem? Type1252 { get; set; } + public global::OpenRouter.OutputMessageItem? Type1252 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItem? Type1253 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant82? Type1253 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItem? Type1254 { get; set; } + public global::OpenRouter.AnyOf>, string>? Type1254 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItem? Type1255 { get; set; } + public global::System.Collections.Generic.IList>? Type1255 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItem? Type1256 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant8Type? Type1256 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItem? Type1257 { get; set; } + public global::OpenRouter.AllOf? Type1257 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItem? Type1258 { get; set; } + public global::OpenRouter.OutputReasoningItem? Type1258 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItem? Type1259 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant92? Type1259 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItem? Type1260 { get; set; } + public global::System.Collections.Generic.IList? Type1260 { get; set; } /// /// /// - public global::OpenRouter.OutputMcpServerToolItem? Type1261 { get; set; } + public global::OpenRouter.OutputWebSearchCallItem? Type1261 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItem? Type1262 { get; set; } + public global::OpenRouter.OutputFileSearchCallItem? Type1262 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItem? Type1263 { get; set; } + public global::OpenRouter.OutputImageGenerationCallItem? Type1263 { get; set; } /// /// /// - public global::OpenRouter.OutputAdvisorServerToolItem? Type1264 { get; set; } + public global::OpenRouter.OutputCodeInterpreterCallItem? Type1264 { get; set; } /// /// /// - public global::OpenRouter.OutputSubagentServerToolItem? Type1265 { get; set; } + public global::OpenRouter.OutputComputerCallItem? Type1265 { get; set; } /// /// /// - public global::OpenRouter.OutputFilesServerToolItem? Type1266 { get; set; } + public global::OpenRouter.OutputDatetimeItem? Type1266 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItem? Type1267 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItem? Type1267 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItem? Type1268 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItem? Type1268 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallOutputItem? Type1269 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItem? Type1269 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItem? Type1270 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItem? Type1270 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItem? Type1271 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItem? Type1271 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItem? Type1272 { get; set; } + public global::OpenRouter.OutputBashServerToolItem? Type1272 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalRequestItem? Type1273 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItem? Type1273 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalResponseItem? Type1274 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItem? Type1274 { get; set; } /// /// /// - public global::OpenRouter.McpCallItem? Type1275 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItem? Type1275 { get; set; } /// /// /// - public global::OpenRouter.ItemReferenceItem? Type1276 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItem? Type1276 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItem? Type1277 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItem? Type1277 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItem? Type1278 { get; set; } + public global::OpenRouter.OutputMcpServerToolItem? Type1278 { get; set; } /// /// /// - public global::OpenRouter.InputTextType? Type1279 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItem? Type1279 { get; set; } /// /// /// - public global::OpenRouter.InputVideoProcessing? Type1280 { get; set; } + public global::OpenRouter.OutputFusionServerToolItem? Type1280 { get; set; } /// /// /// - public global::OpenRouter.InputVideoType? Type1281 { get; set; } + public global::OpenRouter.OutputAdvisorServerToolItem? Type1281 { get; set; } /// /// /// - public global::OpenRouter.InstructType? Type1282 { get; set; } + public global::OpenRouter.OutputSubagentServerToolItem? Type1282 { get; set; } /// /// /// - public global::OpenRouter.Intern? Type1283 { get; set; } + public global::OpenRouter.OutputFilesServerToolItem? Type1283 { get; set; } /// /// /// - public global::OpenRouter.InternProgress? Type1284 { get; set; } + public global::OpenRouter.OutputShellServerToolItem? Type1284 { get; set; } /// /// /// - public global::OpenRouter.InternStatus? Type1285 { get; set; } + public global::OpenRouter.LocalShellCallItem? Type1285 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponse? Type1286 { get; set; } + public global::OpenRouter.LocalShellCallOutputItem? Type1286 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponseErrorData? Type1287 { get; set; } + public global::OpenRouter.ShellCallItem? Type1287 { get; set; } /// /// /// - public global::OpenRouter.InternApprovalMode? Type1288 { get; set; } + public global::OpenRouter.ShellCallOutputItem? Type1288 { get; set; } /// /// /// - public global::OpenRouter.InternChatAssistantMessage? Type1289 { get; set; } + public global::OpenRouter.McpListToolsItem? Type1289 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessageContent? Type1290 { get; set; } + public global::OpenRouter.McpApprovalRequestItem? Type1290 { get; set; } /// /// /// - public global::OpenRouter.InternChatAssistantMessageRole? Type1291 { get; set; } + public global::OpenRouter.McpApprovalResponseItem? Type1291 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1292 { get; set; } + public global::OpenRouter.McpCallItem? Type1292 { get; set; } /// /// /// - public global::OpenRouter.InternChatEchoedToolCall? Type1293 { get; set; } + public global::OpenRouter.ItemReferenceItem? Type1293 { get; set; } /// /// /// - public global::OpenRouter.InternChatChoice? Type1294 { get; set; } + public global::OpenRouter.ToolSearchCallItem? Type1294 { get; set; } /// /// /// - public global::OpenRouter.InternChatDelta? Type1295 { get; set; } + public global::OpenRouter.ToolSearchOutputItem? Type1295 { get; set; } /// /// /// - public global::OpenRouter.InternChatChoiceFinishReason? Type1296 { get; set; } + public global::OpenRouter.InputTextType? Type1296 { get; set; } /// /// /// - public global::OpenRouter.InternChatCompletionChunk? Type1297 { get; set; } + public global::OpenRouter.InputVideoProcessing? Type1297 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1298 { get; set; } + public global::OpenRouter.InputVideoType? Type1298 { get; set; } /// /// /// - public global::OpenRouter.InternChatStreamError? Type1299 { get; set; } + public global::OpenRouter.InstructType? Type1299 { get; set; } /// /// /// - public global::OpenRouter.InternChatCompletionChunkObject? Type1300 { get; set; } + public global::OpenRouter.Intern? Type1300 { get; set; } /// /// /// - public global::OpenRouter.InternChatUsage? Type1301 { get; set; } + public global::OpenRouter.InternProgress? Type1301 { get; set; } /// /// /// - public global::OpenRouter.InternChatCompletionRequest? Type1302 { get; set; } + public global::OpenRouter.InternStatus? Type1302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1303 { get; set; } + public global::OpenRouter.InternalServerResponse? Type1303 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessage? Type1304 { get; set; } + public global::OpenRouter.InternalServerResponseErrorData? Type1304 { get; set; } /// /// /// - public global::OpenRouter.InternChatDeltaRole? Type1305 { get; set; } + public global::OpenRouter.InternApprovalMode? Type1305 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1306 { get; set; } + public global::OpenRouter.InternChatAssistantMessage? Type1306 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCall? Type1307 { get; set; } + public global::OpenRouter.InternChatMessageContent? Type1307 { get; set; } /// /// /// - public global::OpenRouter.InternChatDeveloperMessage? Type1308 { get; set; } + public global::OpenRouter.InternChatAssistantMessageRole? Type1308 { get; set; } /// /// /// - public global::OpenRouter.InternChatDeveloperMessageRole? Type1309 { get; set; } + public global::System.Collections.Generic.IList? Type1309 { get; set; } /// /// /// - public global::OpenRouter.InternChatEchoedToolCallFunction? Type1310 { get; set; } + public global::OpenRouter.InternChatEchoedToolCall? Type1310 { get; set; } /// /// /// - public global::OpenRouter.InternChatError? Type1311 { get; set; } + public global::OpenRouter.InternChatChoice? Type1311 { get; set; } /// /// /// - public global::OpenRouter.InternChatErrorMetadata? Type1312 { get; set; } + public global::OpenRouter.InternChatDelta? Type1312 { get; set; } /// /// /// - public global::OpenRouter.InternChatErrorMetadataReason? Type1313 { get; set; } + public global::OpenRouter.InternChatChoiceFinishReason? Type1313 { get; set; } /// /// /// - public global::OpenRouter.InternChatErrorResponse? Type1314 { get; set; } + public global::OpenRouter.InternChatCompletionChunk? Type1314 { get; set; } /// /// /// - public global::OpenRouter.InternChatSystemMessage? Type1315 { get; set; } + public global::System.Collections.Generic.IList? Type1315 { get; set; } /// /// /// - public global::OpenRouter.InternChatUserMessage? Type1316 { get; set; } + public global::OpenRouter.InternChatStreamError? Type1316 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolMessage? Type1317 { get; set; } + public global::OpenRouter.InternChatCompletionChunkObject? Type1317 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessageDiscriminator? Type1318 { get; set; } + public global::OpenRouter.InternChatUsage? Type1318 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessageDiscriminatorRole? Type1319 { get; set; } + public global::OpenRouter.InternChatCompletionRequest? Type1319 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1320 { get; set; } + public global::System.Collections.Generic.IList? Type1320 { get; set; } /// /// /// - public global::OpenRouter.InternChatTextPart? Type1321 { get; set; } + public global::OpenRouter.InternChatMessage? Type1321 { get; set; } /// /// /// - public global::OpenRouter.InternChatPromptTokensDetails? Type1322 { get; set; } + public global::OpenRouter.InternChatDeltaRole? Type1322 { get; set; } /// /// /// - public global::OpenRouter.InternChatSteeredResponse? Type1323 { get; set; } + public global::System.Collections.Generic.IList? Type1323 { get; set; } /// /// /// - public global::OpenRouter.InternChatSteeredResponseStatus? Type1324 { get; set; } + public global::OpenRouter.InternChatToolCall? Type1324 { get; set; } /// /// /// - public global::OpenRouter.InternChatStreamingResponse? Type1325 { get; set; } + public global::OpenRouter.InternChatDeveloperMessage? Type1325 { get; set; } /// /// /// - public global::OpenRouter.InternChatSystemMessageRole? Type1326 { get; set; } + public global::OpenRouter.InternChatDeveloperMessageRole? Type1326 { get; set; } /// /// /// - public global::OpenRouter.InternChatTextPartType? Type1327 { get; set; } + public global::OpenRouter.InternChatEchoedToolCallFunction? Type1327 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCallFunction? Type1328 { get; set; } + public global::OpenRouter.InternChatError? Type1328 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCallType? Type1329 { get; set; } + public global::OpenRouter.InternChatErrorMetadata? Type1329 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCallFunctionName? Type1330 { get; set; } + public global::OpenRouter.InternChatErrorMetadataReason? Type1330 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolMessageRole? Type1331 { get; set; } + public global::OpenRouter.InternChatErrorResponse? Type1331 { get; set; } /// /// /// - public global::OpenRouter.InternChatUserMessageRole? Type1332 { get; set; } + public global::OpenRouter.InternChatSystemMessage? Type1332 { get; set; } /// /// /// - public global::OpenRouter.InternDaemonAccess? Type1333 { get; set; } + public global::OpenRouter.InternChatUserMessage? Type1333 { get; set; } /// /// /// - public global::OpenRouter.InternInvokeAcceptedResponse? Type1334 { get; set; } + public global::OpenRouter.InternChatToolMessage? Type1334 { get; set; } /// /// /// - public global::OpenRouter.InternInvokeAcceptedResponseStatus? Type1335 { get; set; } + public global::OpenRouter.InternChatMessageDiscriminator? Type1335 { get; set; } /// /// /// - public global::OpenRouter.InternInvokeRequest? Type1336 { get; set; } + public global::OpenRouter.InternChatMessageDiscriminatorRole? Type1336 { get; set; } /// /// /// - public global::OpenRouter.InternLifecycleError? Type1337 { get; set; } + public global::System.Collections.Generic.IList? Type1337 { get; set; } /// /// /// - public global::OpenRouter.InternLifecycleErrorError? Type1338 { get; set; } + public global::OpenRouter.InternChatTextPart? Type1338 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1339 { get; set; } + public global::OpenRouter.InternChatPromptTokensDetails? Type1339 { get; set; } /// /// /// - public global::OpenRouter.InternLifecycleErrorErrorMetadata? Type1340 { get; set; } + public global::OpenRouter.InternChatSteeredResponse? Type1340 { get; set; } /// /// /// - public global::OpenRouter.InternListResponse? Type1341 { get; set; } + public global::OpenRouter.InternChatSteeredResponseStatus? Type1341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1342 { get; set; } + public global::OpenRouter.InternChatStreamingResponse? Type1342 { get; set; } /// /// /// - public global::OpenRouter.ItemReferenceItemType? Type1343 { get; set; } + public global::OpenRouter.InternChatSystemMessageRole? Type1343 { get; set; } /// /// /// - public global::OpenRouter.JevRouterPluginId? Type1344 { get; set; } + public global::OpenRouter.InternChatTextPartType? Type1344 { get; set; } /// /// /// - public global::OpenRouter.KeyAssignment? Type1345 { get; set; } + public global::OpenRouter.InternChatToolCallFunction? Type1345 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoType? Type1346 { get; set; } + public global::OpenRouter.InternChatToolCallType? Type1346 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoInput? Type1347 { get; set; } + public global::OpenRouter.InternChatToolCallFunctionName? Type1347 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoInputProcessing? Type1348 { get; set; } + public global::OpenRouter.InternChatToolMessageRole? Type1348 { get; set; } /// /// /// - public global::OpenRouter.WebSearchDomainFilter? Type1349 { get; set; } + public global::OpenRouter.InternChatUserMessageRole? Type1349 { get; set; } /// /// /// - public global::OpenRouter.SearchContextSizeEnum? Type1350 { get; set; } + public global::OpenRouter.InternDaemonAccess? Type1350 { get; set; } /// /// /// - public global::OpenRouter.LegacyWebSearchServerToolType? Type1351 { get; set; } + public global::OpenRouter.InternInvokeAcceptedResponse? Type1351 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocation? Type1352 { get; set; } + public global::OpenRouter.InternInvokeAcceptedResponseStatus? Type1352 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysResponse? Type1353 { get; set; } + public global::OpenRouter.InternInvokeRequest? Type1353 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1354 { get; set; } + public global::OpenRouter.InternLifecycleError? Type1354 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse? Type1355 { get; set; } + public global::OpenRouter.InternLifecycleErrorError? Type1355 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1356 { get; set; } + public global::OpenRouter.AnyOf? Type1356 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitecture? Type1357 { get; set; } + public global::OpenRouter.InternLifecycleErrorErrorMetadata? Type1357 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitecture? Type1358 { get; set; } + public global::OpenRouter.InternListResponse? Type1358 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1359 { get; set; } + public global::System.Collections.Generic.IList? Type1359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1360 { get; set; } + public global::OpenRouter.ItemReferenceItemType? Type1360 { get; set; } /// /// /// - public global::OpenRouter.OutputModality? Type1361 { get; set; } + public global::OpenRouter.JevRouterPluginId? Type1361 { get; set; } /// /// /// - public global::OpenRouter.ModelGroup? Type1362 { get; set; } + public global::OpenRouter.KeyAssignment? Type1362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1363 { get; set; } + public global::OpenRouter.LegacyChatContentVideoType? Type1363 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpoint? Type1364 { get; set; } + public global::OpenRouter.LegacyChatContentVideoInput? Type1364 { get; set; } /// /// /// - public global::OpenRouter.ListEndUsersResponse? Type1365 { get; set; } + public global::OpenRouter.LegacyChatContentVideoInputProcessing? Type1365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1366 { get; set; } + public global::OpenRouter.WebSearchDomainFilter? Type1366 { get; set; } /// /// /// - public global::OpenRouter.ListGuardrailsResponse? Type1367 { get; set; } + public global::OpenRouter.SearchContextSizeEnum? Type1367 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1368 { get; set; } + public global::OpenRouter.LegacyWebSearchServerToolType? Type1368 { get; set; } /// /// /// - public global::OpenRouter.ListKeyAssignmentsResponse? Type1369 { get; set; } + public global::OpenRouter.WebSearchUserLocation? Type1369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1370 { get; set; } + public global::OpenRouter.ListBYOKKeysResponse? Type1370 { get; set; } /// /// /// - public global::OpenRouter.ListMemberAssignmentsResponse? Type1371 { get; set; } + public global::System.Collections.Generic.IList? Type1371 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1372 { get; set; } + public global::OpenRouter.ListEndpointsResponse? Type1372 { get; set; } /// /// /// - public global::OpenRouter.MemberAssignment? Type1373 { get; set; } + public global::OpenRouter.AllOf? Type1373 { get; set; } /// /// /// - public global::OpenRouter.ListObservabilityDestinationsResponse? Type1374 { get; set; } + public global::OpenRouter.ModelArchitecture? Type1374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1375 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitecture? Type1375 { get; set; } /// /// /// - public global::OpenRouter.ListPresetsResponse? Type1376 { get; set; } + public global::System.Collections.Generic.IList? Type1376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1377 { get; set; } + public global::System.Collections.Generic.IList? Type1377 { get; set; } /// /// /// - public global::OpenRouter.Preset? Type1378 { get; set; } + public global::OpenRouter.OutputModality? Type1378 { get; set; } /// /// /// - public global::OpenRouter.ListPresetVersionsResponse? Type1379 { get; set; } + public global::OpenRouter.ModelGroup? Type1379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1380 { get; set; } + public global::System.Collections.Generic.IList? Type1380 { get; set; } /// /// /// - public global::OpenRouter.ListPrivateEndpointsResponse? Type1381 { get; set; } + public global::OpenRouter.PublicEndpoint? Type1381 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1382 { get; set; } + public global::OpenRouter.ListEndUsersResponse? Type1382 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSummary? Type1383 { get; set; } + public global::System.Collections.Generic.IList? Type1383 { get; set; } /// /// /// - public global::OpenRouter.ListScimGroupMappingsResponse? Type1384 { get; set; } + public global::OpenRouter.ListGuardrailsResponse? Type1384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1385 { get; set; } + public global::System.Collections.Generic.IList? Type1385 { get; set; } /// /// /// - public global::OpenRouter.ListScimGroupsResponse? Type1386 { get; set; } + public global::OpenRouter.ListKeyAssignmentsResponse? Type1386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1387 { get; set; } + public global::System.Collections.Generic.IList? Type1387 { get; set; } /// /// /// - public global::OpenRouter.ScimGroup? Type1388 { get; set; } + public global::OpenRouter.ListMemberAssignmentsResponse? Type1388 { get; set; } /// /// /// - public global::OpenRouter.ListToolsResponse? Type1389 { get; set; } + public global::System.Collections.Generic.IList? Type1389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1390 { get; set; } + public global::OpenRouter.MemberAssignment? Type1390 { get; set; } /// /// /// - public global::OpenRouter.ServerTool? Type1391 { get; set; } + public global::OpenRouter.ListObservabilityDestinationsResponse? Type1391 { get; set; } /// /// /// - public global::OpenRouter.ListToolsResponseLinks? Type1392 { get; set; } + public global::System.Collections.Generic.IList? Type1392 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspaceBudgetsResponse? Type1393 { get; set; } + public global::OpenRouter.ListPresetsResponse? Type1393 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1394 { get; set; } + public global::System.Collections.Generic.IList? Type1394 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspaceMembersResponse? Type1395 { get; set; } + public global::OpenRouter.Preset? Type1395 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspacesResponse? Type1396 { get; set; } + public global::OpenRouter.ListPresetVersionsResponse? Type1396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1397 { get; set; } + public global::System.Collections.Generic.IList? Type1397 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemAction? Type1398 { get; set; } + public global::OpenRouter.ListPrivateEndpointsResponse? Type1398 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemActionType? Type1399 { get; set; } + public global::System.Collections.Generic.IList? Type1399 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemType? Type1400 { get; set; } + public global::OpenRouter.PrivateEndpointSummary? Type1400 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallOutputItemType? Type1401 { get; set; } + public global::OpenRouter.ListScimGroupMappingsResponse? Type1401 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpointVariant2? Type1402 { get; set; } + public global::System.Collections.Generic.IList? Type1402 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointDeclaredRegion? Type1403 { get; set; } + public global::OpenRouter.ListScimGroupsResponse? Type1403 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpointResponse? Type1404 { get; set; } + public global::System.Collections.Generic.IList? Type1404 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalRequestItemType? Type1405 { get; set; } + public global::OpenRouter.ScimGroup? Type1405 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalResponseItemType? Type1406 { get; set; } + public global::OpenRouter.ListToolsResponse? Type1406 { get; set; } /// /// /// - public global::OpenRouter.McpToolCallError? Type1407 { get; set; } + public global::System.Collections.Generic.IList? Type1407 { get; set; } /// /// /// - public global::OpenRouter.McpCallItemType? Type1408 { get; set; } + public global::OpenRouter.ServerTool? Type1408 { get; set; } /// /// /// - public global::OpenRouter.McpHttpError? Type1409 { get; set; } + public global::OpenRouter.ListToolsResponseLinks? Type1409 { get; set; } /// /// /// - public global::OpenRouter.McpHttpErrorType? Type1410 { get; set; } + public global::OpenRouter.ListWorkspaceBudgetsResponse? Type1410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1411 { get; set; } + public global::System.Collections.Generic.IList? Type1411 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItemTool? Type1412 { get; set; } + public global::OpenRouter.ListWorkspaceMembersResponse? Type1412 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItemType? Type1413 { get; set; } + public global::OpenRouter.ListWorkspacesResponse? Type1413 { get; set; } /// /// /// - public global::OpenRouter.McpProtocolError? Type1414 { get; set; } + public global::System.Collections.Generic.IList? Type1414 { get; set; } /// /// /// - public global::OpenRouter.McpProtocolErrorType? Type1415 { get; set; } + public global::OpenRouter.LocalShellCallItemAction? Type1415 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools>? Type1416 { get; set; } + public global::OpenRouter.LocalShellCallItemActionType? Type1416 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolAllowedTools? Type1417 { get; set; } + public global::OpenRouter.LocalShellCallItemType? Type1417 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolConnectorId? Type1418 { get; set; } + public global::OpenRouter.LocalShellCallOutputItemType? Type1418 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1? Type1419 { get; set; } + public global::OpenRouter.ManagedPrivateEndpointVariant2? Type1419 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1Always? Type1420 { get; set; } + public global::OpenRouter.PrivateEndpointDeclaredRegion? Type1420 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1Never? Type1421 { get; set; } + public global::OpenRouter.ManagedPrivateEndpointResponse? Type1421 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant2? Type1422 { get; set; } + public global::OpenRouter.McpApprovalRequestItemType? Type1422 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant3? Type1423 { get; set; } + public global::OpenRouter.McpApprovalResponseItemType? Type1423 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolType? Type1424 { get; set; } + public global::OpenRouter.McpToolCallError? Type1424 { get; set; } /// /// /// - public global::OpenRouter.McpToolExecutionError? Type1425 { get; set; } + public global::OpenRouter.McpCallItemType? Type1425 { get; set; } /// /// /// - public global::OpenRouter.McpToolExecutionErrorType? Type1426 { get; set; } + public global::OpenRouter.McpHttpError? Type1426 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1427 { get; set; } + public global::OpenRouter.McpHttpErrorType? Type1427 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1428 { get; set; } + public global::System.Collections.Generic.IList? Type1428 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlock? Type1429 { get; set; } + public global::OpenRouter.McpListToolsItemTool? Type1429 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1430 { get; set; } + public global::OpenRouter.McpListToolsItemType? Type1430 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockFile? Type1431 { get; set; } + public global::OpenRouter.McpProtocolError? Type1431 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockFileType? Type1432 { get; set; } + public global::OpenRouter.McpProtocolErrorType? Type1432 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockType? Type1433 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools>? Type1433 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEvent? Type1434 { get; set; } + public global::OpenRouter.McpServerToolAllowedTools? Type1434 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1? Type1435 { get; set; } + public global::OpenRouter.McpServerToolConnectorId? Type1435 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1Type? Type1436 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1? Type1436 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2? Type1437 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1Always? Type1437 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2Type? Type1438 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1Never? Type1438 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3? Type1439 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant2? Type1439 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3Type? Type1440 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant3? Type1440 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4? Type1441 { get; set; } + public global::OpenRouter.McpServerToolType? Type1441 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4Type? Type1442 { get; set; } + public global::OpenRouter.McpToolExecutionError? Type1442 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5? Type1443 { get; set; } + public global::OpenRouter.McpToolExecutionErrorType? Type1443 { get; set; } /// /// /// - public global::OpenRouter.Citation? Type1444 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1444 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminator? Type1445 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1445 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminatorType? Type1446 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlock? Type1446 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5Type? Type1447 { get; set; } + public global::System.Collections.Generic.IList? Type1447 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6? Type1448 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockFile? Type1448 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6Type? Type1449 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockFileType? Type1449 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventType? Type1450 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockType? Type1450 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEvent? Type1451 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEvent? Type1451 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUseBlock? Type1452 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1? Type1452 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResult? Type1453 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1Type? Type1453 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResult? Type1454 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2? Type1454 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventContentBlock? Type1455 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2Type? Type1455 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventContentBlockType? Type1456 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3? Type1456 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventType? Type1457 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3Type? Type1457 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStopEvent? Type1458 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4? Type1458 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStopEventType? Type1459 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4Type? Type1459 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEvent? Type1460 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5? Type1460 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventDelta? Type1461 { get; set; } + public global::OpenRouter.Citation? Type1461 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1462 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminator? Type1462 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventType? Type1463 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminatorType? Type1463 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventUsage? Type1464 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5Type? Type1464 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUsage? Type1465 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6? Type1465 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEvent? Type1466 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6Type? Type1466 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEventError? Type1467 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventType? Type1467 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEventType? Type1468 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEvent? Type1468 { get; set; } /// /// /// - public global::OpenRouter.MessagesFallbackParam? Type1469 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUseBlock? Type1469 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParam? Type1470 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResult? Type1470 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4? Type1471 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResult? Type1471 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4Type? Type1472 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResult? Type1472 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5? Type1473 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventContentBlock? Type1473 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2Item? Type1474 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventContentBlockType? Type1474 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2ItemType? Type1475 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventType? Type1475 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5Type? Type1476 { get; set; } + public global::OpenRouter.MessagesContentBlockStopEvent? Type1476 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6? Type1477 { get; set; } + public global::OpenRouter.MessagesContentBlockStopEventType? Type1477 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6Type? Type1478 { get; set; } + public global::OpenRouter.MessagesDeltaEvent? Type1478 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7? Type1479 { get; set; } + public global::OpenRouter.MessagesDeltaEventDelta? Type1479 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7Type? Type1480 { get; set; } + public global::System.Collections.Generic.IList? Type1480 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8? Type1481 { get; set; } + public global::OpenRouter.MessagesDeltaEventType? Type1481 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8Type? Type1482 { get; set; } + public global::OpenRouter.MessagesDeltaEventUsage? Type1482 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9? Type1483 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUsage? Type1483 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? Type1484 { get; set; } + public global::OpenRouter.MessagesErrorEvent? Type1484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1485 { get; set; } + public global::OpenRouter.MessagesErrorEventError? Type1485 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content? Type1486 { get; set; } + public global::OpenRouter.MessagesErrorEventType? Type1486 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentErrorCode? Type1487 { get; set; } + public global::OpenRouter.MessagesFallbackParam? Type1487 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentType? Type1488 { get; set; } + public global::OpenRouter.MessagesMessageParam? Type1488 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Type? Type1489 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4? Type1489 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11? Type1490 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4Type? Type1490 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11Type? Type1491 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5? Type1491 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlock? Type1492 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2Item? Type1492 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlock? Type1493 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2ItemType? Type1493 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlock? Type1494 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5Type? Type1494 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamRole? Type1495 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6? Type1495 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type1496 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6Type? Type1496 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigEffort? Type1497 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7? Type1497 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormat? Type1498 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7Type? Type1498 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormatType? Type1499 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8? Type1499 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1500 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8Type? Type1500 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1501 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9? Type1501 { get; set; } /// /// /// - public global::OpenRouter.MessagesPingEvent? Type1502 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? Type1502 { get; set; } /// /// /// - public global::OpenRouter.MessagesPingEventType? Type1503 { get; set; } + public global::System.Collections.Generic.IList? Type1503 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type1504 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content? Type1504 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagement? Type1505 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentErrorCode? Type1505 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1? Type1506 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentType? Type1506 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1507 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Type? Type1507 { get; set; } /// /// /// - public global::OpenRouter.Trigger? Type1508 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11? Type1508 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminator? Type1509 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11Type? Type1509 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminatorType? Type1510 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlock? Type1510 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1Type? Type1511 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlock? Type1511 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2? Type1512 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlock? Type1512 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum? Type1513 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResultParam? Type1513 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnumType? Type1514 { get; set; } + public global::OpenRouter.MessagesMessageParamRole? Type1514 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum2? Type1515 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type1515 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2Type? Type1516 { get; set; } + public global::OpenRouter.MessagesOutputConfigEffort? Type1516 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant3? Type1517 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormat? Type1517 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1518 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormatType? Type1518 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant3Type? Type1519 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1519 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1520 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1521 { get; set; } + public global::OpenRouter.MessagesPingEvent? Type1521 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestMetadata? Type1522 { get; set; } + public global::OpenRouter.MessagesPingEventType? Type1522 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1523 { get; set; } + public global::OpenRouter.MessagesRequest? Type1523 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem2? Type1524 { get; set; } + public global::OpenRouter.MessagesRequestContextManagement? Type1524 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginDiscriminator? Type1525 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1? Type1525 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginDiscriminatorId? Type1526 { get; set; } + public global::OpenRouter.AnyOf>? Type1526 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1527 { get; set; } + public global::OpenRouter.Trigger? Type1527 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1528 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminator? Type1528 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1529 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminatorType? Type1529 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant1? Type1530 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1Type? Type1530 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant1Type? Type1531 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2? Type1531 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant2? Type1532 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum? Type1532 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant2Type? Type1533 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnumType? Type1533 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant3? Type1534 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum2? Type1534 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant3Type? Type1535 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2Type? Type1535 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant4? Type1536 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant3? Type1536 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant4Type? Type1537 { get; set; } + public global::OpenRouter.AllOf? Type1537 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant1? Type1538 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant3Type? Type1538 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant1Type? Type1539 { get; set; } + public global::System.Collections.Generic.IList? Type1539 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant2? Type1540 { get; set; } + public global::System.Collections.Generic.IList? Type1540 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant2Type? Type1541 { get; set; } + public global::OpenRouter.MessagesRequestMetadata? Type1541 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant3? Type1542 { get; set; } + public global::System.Collections.Generic.IList? Type1542 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant3Type? Type1543 { get; set; } + public global::OpenRouter.PluginsItem2? Type1543 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant4? Type1544 { get; set; } + public global::OpenRouter.MessagesRequestPluginDiscriminator? Type1544 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant4Type? Type1545 { get; set; } + public global::OpenRouter.MessagesRequestPluginDiscriminatorId? Type1545 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1? Type1546 { get; set; } + public global::System.Collections.Generic.IList? Type1546 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1InputSchema? Type1547 { get; set; } + public global::OpenRouter.AllOf? Type1547 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1Type? Type1548 { get; set; } + public global::OpenRouter.AnyOf>? Type1548 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2? Type1549 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant1? Type1549 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2Name? Type1550 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant1Type? Type1550 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2Type? Type1551 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant2? Type1551 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3? Type1552 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant2Type? Type1552 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3Name? Type1553 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant3? Type1553 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3Type? Type1554 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant3Type? Type1554 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4? Type1555 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant4? Type1555 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4Name? Type1556 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant4Type? Type1556 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4Type? Type1557 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant1? Type1557 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5? Type1558 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant1Type? Type1558 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5Name? Type1559 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant2? Type1559 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5Type? Type1560 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant2Type? Type1560 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6? Type1561 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant3? Type1561 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6Name? Type1562 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant3Type? Type1562 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6Type? Type1563 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant4? Type1563 { get; set; } /// /// /// - public global::OpenRouter.MessagesSearchModelsServerTool? Type1564 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant4Type? Type1564 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant13? Type1565 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1? Type1565 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type1566 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1InputSchema? Type1566 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2? Type1567 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1Type? Type1567 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2ContextManagement? Type1568 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2? Type1568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1569 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2Name? Type1569 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2ContextManagementAppliedEdit? Type1570 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2Type? Type1570 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1571 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3? Type1571 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2Usage? Type1572 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3Name? Type1572 { get; set; } /// /// /// - public global::OpenRouter.MessagesSearchModelsServerToolType? Type1573 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3Type? Type1573 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1574 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4? Type1574 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockFile? Type1575 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4Name? Type1575 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockFileType? Type1576 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4Type? Type1576 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockType? Type1577 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5? Type1577 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEvent? Type1578 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5Name? Type1578 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessage? Type1579 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5Type? Type1579 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageProvider? Type1580 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6? Type1580 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageRole? Type1581 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6Name? Type1581 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageType? Type1582 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6Type? Type1582 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1583 { get; set; } + public global::OpenRouter.MessagesSearchModelsServerTool? Type1583 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageUsage? Type1584 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant13? Type1584 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventType? Type1585 { get; set; } + public global::OpenRouter.MessagesResult? Type1585 { get; set; } /// /// /// - public global::OpenRouter.MessagesStopEvent? Type1586 { get; set; } + public global::OpenRouter.MessagesResultVariant2? Type1586 { get; set; } /// /// /// - public global::OpenRouter.MessagesStopEventType? Type1587 { get; set; } + public global::OpenRouter.MessagesResultVariant2ContextManagement? Type1587 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEvents? Type1588 { get; set; } + public global::System.Collections.Generic.IList? Type1588 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEventsDiscriminator? Type1589 { get; set; } + public global::OpenRouter.MessagesResultVariant2ContextManagementAppliedEdit? Type1589 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEventsDiscriminatorType? Type1590 { get; set; } + public global::OpenRouter.AllOf? Type1590 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamingResponse? Type1591 { get; set; } + public global::OpenRouter.MessagesResultVariant2Usage? Type1591 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant1? Type1592 { get; set; } + public global::OpenRouter.MessagesSearchModelsServerToolType? Type1592 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type? Type1593 { get; set; } + public global::System.Collections.Generic.IList? Type1593 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant2? Type1594 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockFile? Type1594 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type? Type1595 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockFileType? Type1595 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant3? Type1596 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockType? Type1596 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type? Type1597 { get; set; } + public global::OpenRouter.MessagesStartEvent? Type1597 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockType? Type1598 { get; set; } + public global::OpenRouter.MessagesStartEventMessage? Type1598 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant1? Type1599 { get; set; } + public global::OpenRouter.MessagesStartEventMessageProvider? Type1599 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type? Type1600 { get; set; } + public global::OpenRouter.MessagesStartEventMessageRole? Type1600 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant2? Type1601 { get; set; } + public global::OpenRouter.MessagesStartEventMessageType? Type1601 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type? Type1602 { get; set; } + public global::OpenRouter.AllOf? Type1602 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant3? Type1603 { get; set; } + public global::OpenRouter.MessagesStartEventMessageUsage? Type1603 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type? Type1604 { get; set; } + public global::OpenRouter.MessagesStartEventType? Type1604 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockType? Type1605 { get; set; } + public global::OpenRouter.MessagesStopEvent? Type1605 { get; set; } /// /// /// - public global::OpenRouter.MetadataLevel? Type1606 { get; set; } + public global::OpenRouter.MessagesStopEventType? Type1606 { get; set; } /// /// /// - public global::OpenRouter.Model? Type1607 { get; set; } + public global::OpenRouter.MessagesStreamEvents? Type1607 { get; set; } /// /// /// - public global::OpenRouter.ModelAliasTarget? Type1608 { get; set; } + public global::OpenRouter.MessagesStreamEventsDiscriminator? Type1608 { get; set; } /// /// /// - public global::OpenRouter.ModelBenchmarks? Type1609 { get; set; } + public global::OpenRouter.MessagesStreamEventsDiscriminatorType? Type1609 { get; set; } /// /// /// - public global::OpenRouter.ModelLinks? Type1610 { get; set; } + public global::OpenRouter.MessagesStreamingResponse? Type1610 { get; set; } /// /// /// - public global::OpenRouter.PerRequestLimits? Type1611 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant1? Type1611 { get; set; } /// /// /// - public global::OpenRouter.PublicPricing? Type1612 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type? Type1612 { get; set; } /// /// /// - public global::OpenRouter.ModelReasoning? Type1613 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant2? Type1613 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1614 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type? Type1614 { get; set; } /// /// /// - public global::OpenRouter.Parameter? Type1615 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant3? Type1615 { get; set; } /// /// /// - public global::OpenRouter.TopProviderInfo? Type1616 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type? Type1616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1617 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockType? Type1617 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1618 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant1? Type1618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1619 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type? Type1619 { get; set; } /// /// /// - public global::OpenRouter.ModelResponse? Type1620 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant2? Type1620 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type1621 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type? Type1621 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type1622 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant3? Type1622 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponse? Type1623 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type? Type1623 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1624 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockType? Type1624 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponseLinks? Type1625 { get; set; } + public global::OpenRouter.MetadataLevel? Type1625 { get; set; } /// /// /// - public global::OpenRouter.ModerationPluginId? Type1626 { get; set; } + public global::OpenRouter.Model? Type1626 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionTool? Type1627 { get; set; } + public global::OpenRouter.ModelAliasTarget? Type1627 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1628 { get; set; } + public global::OpenRouter.ModelBenchmarks? Type1628 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionToolAllowedCaller? Type1629 { get; set; } + public global::OpenRouter.ModelLinks? Type1629 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionToolType? Type1630 { get; set; } + public global::OpenRouter.PerRequestLimits? Type1630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1631 { get; set; } + public global::OpenRouter.PublicPricing? Type1631 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1632 { get; set; } + public global::OpenRouter.ModelReasoning? Type1632 { get; set; } /// /// /// - public global::OpenRouter.NamespaceToolType? Type1633 { get; set; } + public global::System.Collections.Generic.IList? Type1633 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponse? Type1634 { get; set; } + public global::OpenRouter.Parameter? Type1634 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponseErrorData? Type1635 { get; set; } + public global::OpenRouter.TopProviderInfo? Type1635 { get; set; } /// /// /// - public global::OpenRouter.OAuthErrorResponse? Type1636 { get; set; } + public global::System.Collections.Generic.IList? Type1636 { get; set; } /// /// /// - public global::OpenRouter.OAuthErrorResponseError? Type1637 { get; set; } + public global::OpenRouter.AllOf? Type1637 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwks? Type1638 { get; set; } + public global::System.Collections.Generic.IList? Type1638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1639 { get; set; } + public global::OpenRouter.ModelResponse? Type1639 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKey? Type1640 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type1640 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyAlg? Type1641 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type1641 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyCrv? Type1642 { get; set; } + public global::OpenRouter.ModelsListResponse? Type1642 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyKty? Type1643 { get; set; } + public global::System.Collections.Generic.IList? Type1643 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyUse? Type1644 { get; set; } + public global::OpenRouter.ModelsListResponseLinks? Type1644 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestination? Type1645 { get; set; } + public global::OpenRouter.ModerationPluginId? Type1645 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestinationConfig? Type1646 { get; set; } + public global::OpenRouter.NamespaceFunctionTool? Type1646 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfig? Type1647 { get; set; } + public global::System.Collections.Generic.IList? Type1647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1648 { get; set; } + public global::OpenRouter.NamespaceFunctionToolAllowedCaller? Type1648 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDataRegion? Type1649 { get; set; } + public global::OpenRouter.NamespaceFunctionToolType? Type1649 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestinationType? Type1650 { get; set; } + public global::System.Collections.Generic.IList>? Type1650 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestination? Type1651 { get; set; } + public global::OpenRouter.AnyOf? Type1651 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestinationConfig? Type1652 { get; set; } + public global::OpenRouter.NamespaceToolType? Type1652 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestinationType? Type1653 { get; set; } + public global::OpenRouter.NotFoundResponse? Type1653 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestination? Type1654 { get; set; } + public global::OpenRouter.NotFoundResponseErrorData? Type1654 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestinationConfig? Type1655 { get; set; } + public global::OpenRouter.OAuthErrorResponse? Type1655 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestinationType? Type1656 { get; set; } + public global::OpenRouter.OAuthErrorResponseError? Type1656 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestination? Type1657 { get; set; } + public global::OpenRouter.OAuthJwks? Type1657 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestinationConfig? Type1658 { get; set; } + public global::System.Collections.Generic.IList? Type1658 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestinationType? Type1659 { get; set; } + public global::OpenRouter.OAuthJwksKey? Type1659 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestination? Type1660 { get; set; } + public global::OpenRouter.OAuthJwksKeyAlg? Type1660 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestination? Type1661 { get; set; } + public global::OpenRouter.OAuthJwksKeyCrv? Type1661 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestination? Type1662 { get; set; } + public global::OpenRouter.OAuthJwksKeyKty? Type1662 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestination? Type1663 { get; set; } + public global::OpenRouter.OAuthJwksKeyUse? Type1663 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestination? Type1664 { get; set; } + public global::OpenRouter.ObservabilityArizeDestination? Type1664 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestination? Type1665 { get; set; } + public global::OpenRouter.ObservabilityArizeDestinationConfig? Type1665 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestination? Type1666 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfig? Type1666 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestination? Type1667 { get; set; } + public global::System.Collections.Generic.IList? Type1667 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3Destination? Type1668 { get; set; } + public global::OpenRouter.ObservabilityDataRegion? Type1668 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestination? Type1669 { get; set; } + public global::OpenRouter.ObservabilityArizeDestinationType? Type1669 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestination? Type1670 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestination? Type1670 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestination? Type1671 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestinationConfig? Type1671 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestination? Type1672 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestinationType? Type1672 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1673 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestination? Type1673 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1674 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestinationConfig? Type1674 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroup? Type1675 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestinationType? Type1675 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupLogic? Type1676 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestination? Type1676 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1677 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestinationConfig? Type1677 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRule? Type1678 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestinationType? Type1678 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRuleField? Type1679 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestination? Type1679 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator? Type1680 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestination? Type1680 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1681 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestination? Type1681 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestinationConfig? Type1682 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestination? Type1682 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestinationType? Type1683 { get; set; } + public global::OpenRouter.ObservabilityOpikDestination? Type1683 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestinationConfig? Type1684 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestination? Type1684 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestinationType? Type1685 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestination? Type1685 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestinationConfig? Type1686 { get; set; } + public global::OpenRouter.ObservabilityRampDestination? Type1686 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestinationType? Type1687 { get; set; } + public global::OpenRouter.ObservabilityS3Destination? Type1687 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationConfig? Type1688 { get; set; } + public global::OpenRouter.ObservabilitySentryDestination? Type1688 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion? Type1689 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestination? Type1689 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationType? Type1690 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestination? Type1690 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestinationConfig? Type1691 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestination? Type1691 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestinationType? Type1692 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1692 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestinationConfig? Type1693 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1693 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestinationType? Type1694 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroup? Type1694 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestinationConfig? Type1695 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupLogic? Type1695 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestinationType? Type1696 { get; set; } + public global::System.Collections.Generic.IList? Type1696 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestinationConfig? Type1697 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRule? Type1697 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestinationType? Type1698 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRuleField? Type1698 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationConfig? Type1699 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator? Type1699 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationType? Type1700 { get; set; } + public global::System.Collections.Generic.IList? Type1700 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestinationConfig? Type1701 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestinationConfig? Type1701 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestinationType? Type1702 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestinationType? Type1702 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestinationConfig? Type1703 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestinationConfig? Type1703 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestinationType? Type1704 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestinationType? Type1704 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestinationConfig? Type1705 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestinationConfig? Type1705 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestinationType? Type1706 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestinationType? Type1706 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationConfig? Type1707 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationConfig? Type1707 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationConfigMethod? Type1708 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion? Type1708 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationType? Type1709 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationType? Type1709 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileShape? Type1710 { get; set; } + public global::OpenRouter.ObservabilityOpikDestinationConfig? Type1710 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileObject? Type1711 { get; set; } + public global::OpenRouter.ObservabilityOpikDestinationType? Type1711 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFilePurpose? Type1712 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestinationConfig? Type1712 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileStatus? Type1713 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestinationType? Type1713 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeletedShape? Type1714 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestinationConfig? Type1714 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeletedObject? Type1715 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestinationType? Type1715 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileListShape? Type1716 { get; set; } + public global::OpenRouter.ObservabilityRampDestinationConfig? Type1716 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1717 { get; set; } + public global::OpenRouter.ObservabilityRampDestinationType? Type1717 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileListObject? Type1718 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationConfig? Type1718 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallType? Type1719 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationType? Type1719 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1720 { get; set; } + public global::OpenRouter.ObservabilitySentryDestinationConfig? Type1720 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1721 { get; set; } + public global::OpenRouter.ObservabilitySentryDestinationType? Type1721 { get; set; } /// /// /// - public global::OpenRouter.OutputVariant2Item3? Type1722 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestinationConfig? Type1722 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminator? Type1723 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestinationType? Type1723 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType? Type1724 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestinationConfig? Type1724 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputType? Type1725 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestinationType? Type1725 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1726 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationConfig? Type1726 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallSubagentItem? Type1727 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationConfigMethod? Type1727 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallType? Type1728 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationType? Type1728 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1729 { get; set; } + public global::OpenRouter.OpenAIFileShape? Type1729 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1730 { get; set; } + public global::OpenRouter.OpenAIFileObject? Type1730 { get; set; } /// /// /// - public global::OpenRouter.OutputVariant2Item4? Type1731 { get; set; } + public global::OpenRouter.OpenAIFilePurpose? Type1731 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminator? Type1732 { get; set; } + public global::OpenRouter.OpenAIFileStatus? Type1732 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType? Type1733 { get; set; } + public global::OpenRouter.OpenAIFileDeletedShape? Type1733 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputType? Type1734 { get; set; } + public global::OpenRouter.OpenAIFileDeletedObject? Type1734 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1735 { get; set; } + public global::OpenRouter.OpenAIFileListShape? Type1735 { get; set; } /// /// /// - public global::OpenRouter.ContentItem4? Type1736 { get; set; } + public global::System.Collections.Generic.IList? Type1736 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminator? Type1737 { get; set; } + public global::OpenRouter.OpenAIFileListObject? Type1737 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType? Type1738 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallType? Type1738 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1? Type1739 { get; set; } + public global::OpenRouter.AnyOf>? Type1739 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2? Type1740 { get; set; } + public global::System.Collections.Generic.IList? Type1740 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3? Type1741 { get; set; } + public global::OpenRouter.OutputVariant2Item3? Type1741 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemType? Type1742 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminator? Type1742 { get; set; } /// /// /// - public global::OpenRouter.URLCitation? Type1743 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType? Type1743 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType? Type1744 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputType? Type1744 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType? Type1745 { get; set; } + public global::System.Collections.Generic.IList? Type1745 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType? Type1746 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallSubagentItem? Type1746 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType? Type1747 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallType? Type1747 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType? Type1748 { get; set; } + public global::OpenRouter.AnyOf>? Type1748 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallCompletedType? Type1749 { get; set; } + public global::System.Collections.Generic.IList? Type1749 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType? Type1750 { get; set; } + public global::OpenRouter.OutputVariant2Item4? Type1750 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallInProgressType? Type1751 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminator? Type1751 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType? Type1752 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType? Type1752 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesRefusalContentType? Type1753 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputType? Type1753 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesSearchCompleted? Type1754 { get; set; } + public global::System.Collections.Generic.IList? Type1754 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesSearchCompletedType? Type1755 { get; set; } + public global::OpenRouter.ContentItem4? Type1755 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant1? Type1756 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminator? Type1756 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant2? Type1757 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType? Type1757 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant3? Type1758 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1? Type1758 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant4? Type1759 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2? Type1759 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type? Type1760 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3? Type1760 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5? Type1761 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemType? Type1761 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1762 { get; set; } + public global::OpenRouter.URLCitation? Type1762 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1? Type1763 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType? Type1763 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2? Type1764 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType? Type1764 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowed? Type1765 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType? Type1765 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant7? Type1766 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType? Type1766 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type? Type1767 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType? Type1767 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant8? Type1768 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallCompletedType? Type1768 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type? Type1769 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType? Type1769 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesTruncation? Type1770 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallInProgressType? Type1770 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsageInputTokensDetails? Type1771 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType? Type1771 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsageOutputTokensDetails? Type1772 { get; set; } + public global::OpenRouter.OpenAIResponsesRefusalContentType? Type1772 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallInProgress? Type1773 { get; set; } + public global::OpenRouter.OpenAIResponsesSearchCompleted? Type1773 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType? Type1774 { get; set; } + public global::OpenRouter.OpenAIResponsesSearchCompletedType? Type1774 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallSearching? Type1775 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant1? Type1775 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType? Type1776 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant2? Type1776 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesCreatedEvent? Type1777 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant3? Type1777 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesCreatedEventVariant2? Type1778 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant4? Type1778 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorField? Type1779 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type? Type1779 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorFieldCode? Type1780 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5? Type1780 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorMetadata? Type1781 { get; set; } + public global::OpenRouter.AnyOf? Type1781 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1782 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1? Type1782 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorMetadataAlignment? Type1783 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2? Type1783 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesInProgressEvent? Type1784 { get; set; } + public global::OpenRouter.ToolChoiceAllowed? Type1784 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesInProgressEventVariant2? Type1785 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant7? Type1785 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1786 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type? Type1786 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesTopLogprobs? Type1787 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant8? Type1787 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultVariant2? Type1788 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type? Type1788 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1789 { get; set; } + public global::OpenRouter.OpenAIResponsesTruncation? Type1789 { get; set; } /// /// /// - public global::OpenRouter.OutputItems? Type1790 { get; set; } + public global::OpenRouter.OpenAIResponsesUsageInputTokensDetails? Type1790 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfig? Type1791 { get; set; } + public global::OpenRouter.OpenAIResponsesUsageOutputTokensDetails? Type1791 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1792 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallInProgress? Type1792 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileShape? Type1793 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType? Type1793 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileType? Type1794 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallSearching? Type1794 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeletedShape? Type1795 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType? Type1795 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeletedType? Type1796 { get; set; } + public global::OpenRouter.OpenResponsesCreatedEvent? Type1796 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileListShape? Type1797 { get; set; } + public global::OpenRouter.OpenResponsesCreatedEventVariant2? Type1797 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1798 { get; set; } + public global::OpenRouter.OpenResponsesErrorField? Type1798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1799 { get; set; } + public global::OpenRouter.OpenResponsesErrorFieldCode? Type1799 { get; set; } /// /// /// - public global::OpenRouter.RouterAttempt? Type1800 { get; set; } + public global::OpenRouter.OpenResponsesErrorMetadata? Type1800 { get; set; } /// /// /// - public global::OpenRouter.RouterParams? Type1801 { get; set; } + public global::OpenRouter.AllOf? Type1801 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1802 { get; set; } + public global::OpenRouter.OpenResponsesErrorMetadataAlignment? Type1802 { get; set; } /// /// /// - public global::OpenRouter.PipelineStage? Type1803 { get; set; } + public global::OpenRouter.OpenResponsesInProgressEvent? Type1803 { get; set; } /// /// /// - public global::OpenRouter.RoutingStrategy? Type1804 { get; set; } + public global::OpenRouter.OpenResponsesInProgressEventVariant2? Type1804 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerToolType? Type1805 { get; set; } + public global::System.Collections.Generic.IList? Type1805 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1806 { get; set; } + public global::OpenRouter.OpenResponsesTopLogprobs? Type1806 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultFile? Type1807 { get; set; } + public global::OpenRouter.OpenResponsesResultVariant2? Type1807 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultFileType? Type1808 { get; set; } + public global::System.Collections.Generic.IList? Type1808 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultType? Type1809 { get; set; } + public global::OpenRouter.OutputItems? Type1809 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1810 { get; set; } + public global::OpenRouter.TextExtendedConfig? Type1810 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1811 { get; set; } + public global::OpenRouter.AllOf? Type1811 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCaller? Type1812 { get; set; } + public global::OpenRouter.OpenRouterFileShape? Type1812 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1813 { get; set; } + public global::OpenRouter.OpenRouterFileType? Type1813 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1814 { get; set; } + public global::OpenRouter.OpenRouterFileDeletedShape? Type1814 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUseBlockType? Type1815 { get; set; } + public global::OpenRouter.OpenRouterFileDeletedType? Type1815 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1816 { get; set; } + public global::OpenRouter.OpenRouterFileListShape? Type1816 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultFile? Type1817 { get; set; } + public global::System.Collections.Generic.IList? Type1817 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultFileType? Type1818 { get; set; } + public global::System.Collections.Generic.IList? Type1818 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultType? Type1819 { get; set; } + public global::OpenRouter.RouterAttempt? Type1819 { get; set; } /// /// /// - public global::OpenRouter.OrganizationSettings? Type1820 { get; set; } + public global::OpenRouter.RouterParams? Type1820 { get; set; } /// /// /// - public global::OpenRouter.OutputAdvisorServerToolItemType? Type1821 { get; set; } + public global::System.Collections.Generic.IList? Type1821 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchCallItem? Type1822 { get; set; } + public global::OpenRouter.PipelineStage? Type1822 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchCallItemType? Type1823 { get; set; } + public global::OpenRouter.RoutingStrategy? Type1823 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItemType? Type1824 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerToolType? Type1824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1825 { get; set; } + public global::System.Collections.Generic.IList? Type1825 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemFile? Type1826 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultFile? Type1826 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemFileType? Type1827 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultFileType? Type1827 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemType? Type1828 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultType? Type1828 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItemType? Type1829 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1829 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type1830 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1830 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1831 { get; set; } + public global::OpenRouter.ORAnthropicNullableCaller? Type1831 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemPendingSafetyCheck? Type1832 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1832 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemStatus? Type1833 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1833 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemType? Type1834 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUseBlockType? Type1834 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItem? Type1835 { get; set; } + public global::System.Collections.Generic.IList? Type1835 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItemStatus? Type1836 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultFile? Type1836 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItemType? Type1837 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultFileType? Type1837 { get; set; } /// /// /// - public global::OpenRouter.OutputDatetimeItemType? Type1838 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultType? Type1838 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItemType? Type1839 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResultType? Type1839 { get; set; } /// /// /// - public global::OpenRouter.OutputFilesServerToolItemType? Type1840 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResultParamType? Type1840 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItem? Type1841 { get; set; } + public global::OpenRouter.OrganizationSettings? Type1841 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItemVariant2? Type1842 { get; set; } + public global::OpenRouter.OutputAdvisorServerToolItemType? Type1842 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1843 { get; set; } + public global::OpenRouter.OutputApplyPatchCallItem? Type1843 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItemVariant2SubagentItem? Type1844 { get; set; } + public global::OpenRouter.OutputApplyPatchCallItemType? Type1844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1845 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItemType? Type1845 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemFailedModel? Type1846 { get; set; } + public global::System.Collections.Generic.IList? Type1846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1847 { get; set; } + public global::OpenRouter.OutputBashServerToolItemFile? Type1847 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemResponse? Type1848 { get; set; } + public global::OpenRouter.OutputBashServerToolItemFileType? Type1848 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1849 { get; set; } + public global::OpenRouter.OutputBashServerToolItemType? Type1849 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemType? Type1850 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItemType? Type1850 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationCallItemVariant2? Type1851 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type1851 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItemType? Type1852 { get; set; } + public global::System.Collections.Generic.IList? Type1852 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEvent? Type1853 { get; set; } + public global::OpenRouter.OutputComputerCallItemPendingSafetyCheck? Type1853 { get; set; } /// /// /// - public global::OpenRouter.Item? Type1854 { get; set; } + public global::OpenRouter.OutputComputerCallItemStatus? Type1854 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventItemDiscriminator? Type1855 { get; set; } + public global::OpenRouter.OutputComputerCallItemType? Type1855 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventItemDiscriminatorType? Type1856 { get; set; } + public global::OpenRouter.OutputCustomToolCallItem? Type1856 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventType? Type1857 { get; set; } + public global::OpenRouter.OutputCustomToolCallItemStatus? Type1857 { get; set; } /// /// /// - public global::OpenRouter.Operation? Type1858 { get; set; } + public global::OpenRouter.OutputCustomToolCallItemType? Type1858 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminator? Type1859 { get; set; } + public global::OpenRouter.OutputDatetimeItemType? Type1859 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType? Type1860 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItemType? Type1860 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallStatus? Type1861 { get; set; } + public global::OpenRouter.OutputFilesServerToolItemType? Type1861 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallType? Type1862 { get; set; } + public global::OpenRouter.OutputFunctionCallItem? Type1862 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1863 { get; set; } + public global::OpenRouter.OutputFunctionCallItemVariant2? Type1863 { get; set; } /// /// /// - public global::OpenRouter.OutputsItem? Type1864 { get; set; } + public global::System.Collections.Generic.IList? Type1864 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminator? Type1865 { get; set; } + public global::OpenRouter.OutputFunctionCallItemVariant2SubagentItem? Type1865 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType? Type1866 { get; set; } + public global::System.Collections.Generic.IList? Type1866 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallStatus? Type1867 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemFailedModel? Type1867 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallType? Type1868 { get; set; } + public global::System.Collections.Generic.IList? Type1868 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCallStatus? Type1869 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemResponse? Type1869 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCallType? Type1870 { get; set; } + public global::System.Collections.Generic.IList? Type1870 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEvent? Type1871 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemType? Type1871 { get; set; } /// /// /// - public global::OpenRouter.Item2? Type1872 { get; set; } + public global::OpenRouter.OutputImageGenerationCallItemVariant2? Type1872 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventItemDiscriminator? Type1873 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItemType? Type1873 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventItemDiscriminatorType? Type1874 { get; set; } + public global::OpenRouter.OutputItemAddedEvent? Type1874 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventType? Type1875 { get; set; } + public global::OpenRouter.Item? Type1875 { get; set; } /// /// /// - public global::OpenRouter.WebSearchStatus? Type1876 { get; set; } + public global::OpenRouter.OutputItemAddedEventItemDiscriminator? Type1876 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFileSearchCallType? Type1877 { get; set; } + public global::OpenRouter.OutputItemAddedEventItemDiscriminatorType? Type1877 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant1? Type1878 { get; set; } + public global::OpenRouter.OutputItemAddedEventType? Type1878 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant2? Type1879 { get; set; } + public global::OpenRouter.Operation? Type1879 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant3? Type1880 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminator? Type1880 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallType? Type1881 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType? Type1881 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCallType? Type1882 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallStatus? Type1882 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1883 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallType? Type1883 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1884 { get; set; } + public global::System.Collections.Generic.IList? Type1884 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant1? Type1885 { get; set; } + public global::OpenRouter.OutputsItem? Type1885 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant2? Type1886 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminator? Type1886 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant3? Type1887 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType? Type1887 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningType? Type1888 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallStatus? Type1888 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItem? Type1889 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallType? Type1889 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItem? Type1890 { get; set; } + public global::OpenRouter.OutputItemCustomToolCallStatus? Type1890 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchCallItem? Type1891 { get; set; } + public global::OpenRouter.OutputItemCustomToolCallType? Type1891 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminator? Type1892 { get; set; } + public global::OpenRouter.OutputItemDoneEvent? Type1892 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorType? Type1893 { get; set; } + public global::OpenRouter.Item2? Type1893 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant1? Type1894 { get; set; } + public global::OpenRouter.OutputItemDoneEventItemDiscriminator? Type1894 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1895 { get; set; } + public global::OpenRouter.OutputItemDoneEventItemDiscriminatorType? Type1895 { get; set; } /// /// /// - public global::OpenRouter.WebSearchSource? Type1896 { get; set; } + public global::OpenRouter.OutputItemDoneEventType? Type1896 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant1Type? Type1897 { get; set; } + public global::OpenRouter.WebSearchStatus? Type1897 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant2? Type1898 { get; set; } + public global::OpenRouter.OutputItemFileSearchCallType? Type1898 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant2Type? Type1899 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant1? Type1899 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant3? Type1900 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant2? Type1900 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant3Type? Type1901 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant3? Type1901 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallType? Type1902 { get; set; } + public global::OpenRouter.OutputItemFunctionCallType? Type1902 { get; set; } /// /// /// - public global::OpenRouter.OutputMcpServerToolItemType? Type1903 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCallType? Type1903 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemAction? Type1904 { get; set; } + public global::System.Collections.Generic.IList? Type1904 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemType? Type1905 { get; set; } + public global::OpenRouter.AnyOf? Type1905 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1906 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant1? Type1906 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhaseVariant1? Type1907 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant2? Type1907 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhaseVariant2? Type1908 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant3? Type1908 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageRole? Type1909 { get; set; } + public global::OpenRouter.OutputItemReasoningType? Type1909 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1910 { get; set; } + public global::OpenRouter.OutputShellCallItem? Type1910 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant1? Type1911 { get; set; } + public global::OpenRouter.OutputShellCallOutputItem? Type1911 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant2? Type1912 { get; set; } + public global::OpenRouter.OutputToolSearchCallItem? Type1912 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant3? Type1913 { get; set; } + public global::OpenRouter.OutputItemsDiscriminator? Type1913 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageType? Type1914 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorType? Type1914 { get; set; } /// /// /// - public global::OpenRouter.OutputModalityEnum? Type1915 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant1? Type1915 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItemVariant2? Type1916 { get; set; } + public global::System.Collections.Generic.IList? Type1916 { get; set; } /// /// /// - public global::OpenRouter.ReasoningFormat? Type1917 { get; set; } + public global::OpenRouter.WebSearchSource? Type1917 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItemType? Type1918 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant1Type? Type1918 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItemAction? Type1919 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant2? Type1919 { get; set; } /// /// /// - public global::OpenRouter.ShellCallStatus? Type1920 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant2Type? Type1920 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItemType? Type1921 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant3? Type1921 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1922 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant3Type? Type1922 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemFile? Type1923 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallType? Type1923 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemFileType? Type1924 { get; set; } + public global::OpenRouter.OutputMcpServerToolItemType? Type1924 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1925 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemAction? Type1925 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContent? Type1926 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemType? Type1926 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemType? Type1927 { get; set; } + public global::OpenRouter.AnyOf? Type1927 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemAction? Type1928 { get; set; } + public global::OpenRouter.OutputMessagePhaseVariant1? Type1928 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1929 { get; set; } + public global::OpenRouter.OutputMessagePhaseVariant2? Type1929 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemFile? Type1930 { get; set; } + public global::OpenRouter.OutputMessageRole? Type1930 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemFileType? Type1931 { get; set; } + public global::OpenRouter.AnyOf? Type1931 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemType? Type1932 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant1? Type1932 { get; set; } /// /// /// - public global::OpenRouter.OutputSubagentServerToolItemType? Type1933 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant2? Type1933 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type1934 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant3? Type1934 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemType? Type1935 { get; set; } + public global::OpenRouter.OutputMessageType? Type1935 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchCallItemExecution? Type1936 { get; set; } + public global::OpenRouter.OutputModalityEnum? Type1936 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchCallItemType? Type1937 { get; set; } + public global::OpenRouter.OutputReasoningItemVariant2? Type1937 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemType? Type1938 { get; set; } + public global::OpenRouter.ReasoningFormat? Type1938 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItemType? Type1939 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItemType? Type1939 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemAction? Type1940 { get; set; } + public global::OpenRouter.OutputShellCallItemAction? Type1940 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1941 { get; set; } + public global::OpenRouter.ShellCallStatus? Type1941 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionSource? Type1942 { get; set; } + public global::OpenRouter.OutputShellCallItemType? Type1942 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionSourceType? Type1943 { get; set; } + public global::System.Collections.Generic.IList? Type1943 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionType? Type1944 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemFile? Type1944 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemType? Type1945 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemFileType? Type1945 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPluginId? Type1946 { get; set; } + public global::System.Collections.Generic.IList? Type1946 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPluginPriceSource? Type1947 { get; set; } + public global::OpenRouter.ShellCallOutputContent? Type1947 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponse? Type1948 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemType? Type1948 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponseErrorData? Type1949 { get; set; } + public global::OpenRouter.OutputShellServerToolItemAction? Type1949 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponse? Type1950 { get; set; } + public global::System.Collections.Generic.IList? Type1950 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponseErrorData? Type1951 { get; set; } + public global::OpenRouter.OutputShellServerToolItemFile? Type1951 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngine? Type1952 { get; set; } + public global::OpenRouter.OutputShellServerToolItemFileType? Type1952 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngineVariant1? Type1953 { get; set; } + public global::OpenRouter.OutputShellServerToolItemType? Type1953 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngineVariant2? Type1954 { get; set; } + public global::OpenRouter.OutputSubagentServerToolItemType? Type1954 { get; set; } /// /// /// - public global::OpenRouter.PercentileLatencyCutoffs? Type1955 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type1955 { get; set; } /// /// /// - public global::OpenRouter.PercentileStats? Type1956 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemType? Type1956 { get; set; } /// /// /// - public global::OpenRouter.PercentileThroughputCutoffs? Type1957 { get; set; } + public global::OpenRouter.OutputToolSearchCallItemExecution? Type1957 { get; set; } /// /// /// - public global::OpenRouter.PipelineStageType? Type1958 { get; set; } + public global::OpenRouter.OutputToolSearchCallItemType? Type1958 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1959 { get; set; } + public global::System.Collections.Generic.IList? Type1959 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1960 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemMatche? Type1960 { get; set; } /// /// /// - public global::OpenRouter.PredictionContentText? Type1961 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemType? Type1961 { get; set; } /// /// /// - public global::OpenRouter.PredictionType? Type1962 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItemType? Type1962 { get; set; } /// /// /// - public global::OpenRouter.PredictionContentTextType? Type1963 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemAction? Type1963 { get; set; } /// /// /// - public global::OpenRouter.PreferredMaxLatency? Type1964 { get; set; } + public global::System.Collections.Generic.IList? Type1964 { get; set; } /// /// /// - public global::OpenRouter.PreferredMinThroughput? Type1965 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionSource? Type1965 { get; set; } /// /// /// - public global::OpenRouter.PresetStatus? Type1966 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionSourceType? Type1966 { get; set; } /// /// /// - public global::OpenRouter.PresetWithDesignatedVersionVariant2? Type1967 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionType? Type1967 { get; set; } /// /// /// - public global::OpenRouter.Preview20250311WebSearchServerToolType? Type1968 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemType? Type1968 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocation? Type1969 { get; set; } + public global::OpenRouter.ParetoRouterPluginId? Type1969 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchServerToolType? Type1970 { get; set; } + public global::OpenRouter.ParetoRouterPluginPriceSource? Type1970 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocationType? Type1971 { get; set; } + public global::OpenRouter.PayloadTooLargeResponse? Type1971 { get; set; } /// /// /// - public global::OpenRouter.PricingOverride? Type1972 { get; set; } + public global::OpenRouter.PayloadTooLargeResponseErrorData? Type1972 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1973 { get; set; } + public global::OpenRouter.PaymentRequiredResponse? Type1973 { get; set; } /// /// /// - public global::OpenRouter.PricingOverrideUtcDay? Type1974 { get; set; } + public global::OpenRouter.PaymentRequiredResponseErrorData? Type1974 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpoint? Type1975 { get; set; } + public global::OpenRouter.PDFParserEngine? Type1975 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointStatus? Type1976 { get; set; } + public global::OpenRouter.PDFParserEngineVariant1? Type1976 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointCheck? Type1977 { get; set; } + public global::OpenRouter.PDFParserEngineVariant2? Type1977 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointCheckReason? Type1978 { get; set; } + public global::OpenRouter.PercentileLatencyCutoffs? Type1978 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointResponse? Type1979 { get; set; } + public global::OpenRouter.PercentileStats? Type1979 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidation? Type1980 { get; set; } + public global::OpenRouter.PercentileThroughputCutoffs? Type1980 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1981 { get; set; } + public global::OpenRouter.PipelineStageType? Type1981 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidationResponse? Type1982 { get; set; } + public global::OpenRouter.AnyOf>? Type1982 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheBreakpointMode? Type1983 { get; set; } + public global::System.Collections.Generic.IList? Type1983 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheOptionsMode? Type1984 { get; set; } + public global::OpenRouter.PredictionContentText? Type1984 { get; set; } /// /// /// - public global::OpenRouter.ProviderOverloadedResponse? Type1985 { get; set; } + public global::OpenRouter.PredictionType? Type1985 { get; set; } /// /// /// - public global::OpenRouter.ProviderOverloadedResponseErrorData? Type1986 { get; set; } + public global::OpenRouter.PredictionContentTextType? Type1986 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesDataCollection? Type1987 { get; set; } + public global::OpenRouter.PreferredMaxLatency? Type1987 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPrice? Type1988 { get; set; } + public global::OpenRouter.PreferredMinThroughput? Type1988 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1989 { get; set; } + public global::OpenRouter.PresetStatus? Type1989 { get; set; } /// /// /// - public global::OpenRouter.Quantization? Type1990 { get; set; } + public global::OpenRouter.PresetWithDesignatedVersionVariant2? Type1990 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseProviderName? Type1991 { get; set; } + public global::OpenRouter.Preview20250311WebSearchServerToolType? Type1991 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseRoutedServiceTier? Type1992 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocation? Type1992 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigBy? Type1993 { get; set; } + public global::OpenRouter.PreviewWebSearchServerToolType? Type1993 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigPartition? Type1994 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocationType? Type1994 { get; set; } /// /// /// - public global::OpenRouter.ProvisionInternResponse? Type1995 { get; set; } + public global::OpenRouter.PricingOverride? Type1995 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type1996 { get; set; } + public global::System.Collections.Generic.IList? Type1996 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointNativeTools2? Type1997 { get; set; } + public global::OpenRouter.PricingOverrideUtcDay? Type1997 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkload? Type1998 { get; set; } + public global::OpenRouter.PrivateEndpoint? Type1998 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadDecisions? Type1999 { get; set; } + public global::OpenRouter.PrivateEndpointStatus? Type1999 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2000 { get; set; } + public global::OpenRouter.PrivateEndpointCheck? Type2000 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadEmbeddings? Type2001 { get; set; } + public global::OpenRouter.PrivateEndpointCheckReason? Type2001 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadImageGeneration? Type2002 { get; set; } + public global::OpenRouter.PrivateEndpointResponse? Type2002 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadRerank? Type2003 { get; set; } + public global::OpenRouter.PrivateEndpointValidation? Type2003 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadStt? Type2004 { get; set; } + public global::System.Collections.Generic.IList? Type2004 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTextGeneration? Type2005 { get; set; } + public global::OpenRouter.PrivateEndpointValidationResponse? Type2005 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTts? Type2006 { get; set; } + public global::OpenRouter.PromptCacheBreakpointMode? Type2006 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadUnknown? Type2007 { get; set; } + public global::OpenRouter.PromptCacheOptionsMode? Type2007 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadVideoGeneration? Type2008 { get; set; } + public global::OpenRouter.ProviderOverloadedResponse? Type2008 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricing? Type2009 { get; set; } + public global::OpenRouter.ProviderOverloadedResponseErrorData? Type2009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2010 { get; set; } + public global::OpenRouter.ProviderPreferencesDataCollection? Type2010 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceSupport? Type2011 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPrice? Type2011 { get; set; } /// /// /// - public global::OpenRouter.RangeCapabilityType? Type2012 { get; set; } + public global::System.Collections.Generic.IList? Type2012 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyItem? Type2013 { get; set; } + public global::OpenRouter.Quantization? Type2013 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyMetaVersion? Type2014 { get; set; } + public global::OpenRouter.ProviderResponseProviderName? Type2014 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyResponse? Type2015 { get; set; } + public global::OpenRouter.ProviderResponseRoutedServiceTier? Type2015 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2016 { get; set; } + public global::OpenRouter.ProviderSortConfigBy? Type2016 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2017 { get; set; } + public global::OpenRouter.ProviderSortConfigPartition? Type2017 { get; set; } /// /// /// - public global::OpenRouter.ReasoningConfigVariant12? Type2018 { get; set; } + public global::OpenRouter.ProvisionInternResponse? Type2018 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDeltaEvent? Type2019 { get; set; } + public global::System.Collections.Generic.Dictionary? Type2019 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncryptedType? Type2020 { get; set; } + public global::OpenRouter.PublicEndpointNativeTools2? Type2020 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailServerToolCallType? Type2021 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkload? Type2021 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummaryType? Type2022 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadDecisions? Type2022 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailTextType? Type2023 { get; set; } + public global::OpenRouter.AllOf? Type2023 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type2024 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadEmbeddings? Type2024 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type2025 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadImageGeneration? Type2025 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDoneEvent? Type2026 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadRerank? Type2026 { get; set; } /// /// /// - public global::OpenRouter.ReasoningItemVariant2? Type2027 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadStt? Type2027 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryPartAddedEvent? Type2028 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTextGeneration? Type2028 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryPartDoneEvent? Type2029 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTts? Type2029 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextType? Type2030 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadUnknown? Type2030 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextDeltaEvent? Type2031 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadVideoGeneration? Type2031 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextDoneEvent? Type2032 { get; set; } + public global::OpenRouter.PublicEndpointPricing? Type2032 { get; set; } /// /// /// - public global::OpenRouter.ReasoningTextContentType? Type2033 { get; set; } + public global::System.Collections.Generic.IList? Type2033 { get; set; } /// /// /// - public global::OpenRouter.RefusalDeltaEvent? Type2034 { get; set; } + public global::OpenRouter.ToolChoiceSupport? Type2034 { get; set; } /// /// /// - public global::OpenRouter.RefusalDoneEvent? Type2035 { get; set; } + public global::OpenRouter.RangeCapabilityType? Type2035 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponse? Type2036 { get; set; } + public global::OpenRouter.RankingsDailyItem? Type2036 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponseErrorData? Type2037 { get; set; } + public global::OpenRouter.RankingsDailyMetaVersion? Type2037 { get; set; } /// /// /// - public global::OpenRouter.ResponseHealingPluginId? Type2038 { get; set; } + public global::OpenRouter.RankingsDailyResponse? Type2038 { get; set; } /// /// /// - public global::OpenRouter.ResponseIncludesEnum? Type2039 { get; set; } + public global::System.Collections.Generic.IList? Type2039 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2040 { get; set; } + public global::OpenRouter.AllOf? Type2040 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2041 { get; set; } + public global::OpenRouter.ReasoningConfigVariant12? Type2041 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextLogprob? Type2042 { get; set; } + public global::OpenRouter.ReasoningDeltaEvent? Type2042 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2043 { get; set; } + public global::OpenRouter.ReasoningDetailEncryptedType? Type2043 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextLogprobTopLogprob? Type2044 { get; set; } + public global::OpenRouter.ReasoningDetailServerToolCallType? Type2044 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextType? Type2045 { get; set; } + public global::OpenRouter.ReasoningDetailSummaryType? Type2045 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorFieldCode? Type2046 { get; set; } + public global::OpenRouter.ReasoningDetailTextType? Type2046 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequest? Type2047 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type2047 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2048 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type2048 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2049 { get; set; } + public global::OpenRouter.ReasoningDoneEvent? Type2049 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2050 { get; set; } + public global::OpenRouter.ReasoningItemVariant2? Type2050 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem3? Type2051 { get; set; } + public global::OpenRouter.ReasoningSummaryPartAddedEvent? Type2051 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginDiscriminator? Type2052 { get; set; } + public global::OpenRouter.ReasoningSummaryPartDoneEvent? Type2052 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginDiscriminatorId? Type2053 { get; set; } + public global::OpenRouter.ReasoningSummaryTextType? Type2053 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestServiceTier? Type2054 { get; set; } + public global::OpenRouter.ReasoningSummaryTextDeltaEvent? Type2054 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2055 { get; set; } + public global::OpenRouter.ReasoningSummaryTextDoneEvent? Type2055 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolVariant1? Type2056 { get; set; } + public global::OpenRouter.ReasoningTextContentType? Type2056 { get; set; } /// /// /// - public global::OpenRouter.ResponsesStreamingResponse? Type2057 { get; set; } + public global::OpenRouter.RefusalDeltaEvent? Type2057 { get; set; } /// /// /// - public global::OpenRouter.StreamEvents? Type2058 { get; set; } + public global::OpenRouter.RefusalDoneEvent? Type2058 { get; set; } /// /// /// - public global::OpenRouter.ScimGroupMappingRole? Type2059 { get; set; } + public global::OpenRouter.RequestTimeoutResponse? Type2059 { get; set; } /// /// /// - public global::OpenRouter.ScimSyncJobStatus? Type2060 { get; set; } + public global::OpenRouter.RequestTimeoutResponseErrorData? Type2060 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolOpenRouterType? Type2061 { get; set; } + public global::OpenRouter.ResponseHealingPluginId? Type2061 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2062 { get; set; } + public global::OpenRouter.ResponseIncludesEnum? Type2062 { get; set; } /// /// /// - public global::OpenRouter.ServerToolInputName? Type2063 { get; set; } + public global::System.Collections.Generic.IList? Type2063 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2064 { get; set; } + public global::System.Collections.Generic.IList? Type2064 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngine? Type2065 { get; set; } + public global::OpenRouter.ResponseOutputTextLogprob? Type2065 { get; set; } /// /// /// - public global::OpenRouter.ServerToolNativeSupport? Type2066 { get; set; } + public global::System.Collections.Generic.IList? Type2066 { get; set; } /// /// /// - public global::OpenRouter.ServerToolStatus? Type2067 { get; set; } + public global::OpenRouter.ResponseOutputTextLogprobTopLogprob? Type2067 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2068 { get; set; } + public global::OpenRouter.ResponseOutputTextType? Type2068 { get; set; } /// /// /// - public global::OpenRouter.ServerToolSupportedApiFormat? Type2069 { get; set; } + public global::OpenRouter.ResponsesErrorFieldCode? Type2069 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetailsVariant2? Type2070 { get; set; } + public global::OpenRouter.ResponsesRequest? Type2070 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2071 { get; set; } + public global::System.Collections.Generic.IList? Type2071 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetailsVariant2NativeSupport? Type2072 { get; set; } + public global::System.Collections.Generic.IList? Type2072 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2073 { get; set; } + public global::System.Collections.Generic.IList? Type2073 { get; set; } /// /// /// - public global::OpenRouter.ServerToolNativeModel? Type2074 { get; set; } + public global::OpenRouter.PluginsItem3? Type2074 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngineByok? Type2075 { get; set; } + public global::OpenRouter.ResponsesRequestPluginDiscriminator? Type2075 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2076 { get; set; } + public global::OpenRouter.ResponsesRequestPluginDiscriminatorId? Type2076 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngineDataRegion? Type2077 { get; set; } + public global::OpenRouter.ResponsesRequestServiceTier? Type2077 { get; set; } /// /// /// - public global::OpenRouter.ServerToolExecutedBy? Type2078 { get; set; } + public global::OpenRouter.AllOf? Type2078 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2079 { get; set; } + public global::OpenRouter.ResponsesRequestToolVariant1? Type2079 { get; set; } /// /// /// - public global::OpenRouter.ServerToolPrice? Type2080 { get; set; } + public global::System.Collections.Generic.IList? Type2080 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEnginePricingSource? Type2081 { get; set; } + public global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller? Type2081 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2082 { get; set; } + public global::OpenRouter.ResponsesStreamingResponse? Type2082 { get; set; } /// /// /// - public global::OpenRouter.ServerToolInputNameApiFormat? Type2083 { get; set; } + public global::OpenRouter.StreamEvents? Type2083 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2084 { get; set; } + public global::OpenRouter.ScimGroupMappingRole? Type2084 { get; set; } /// /// /// - public global::OpenRouter.ServerToolOutputName? Type2085 { get; set; } + public global::OpenRouter.ScimSyncJobStatus? Type2085 { get; set; } /// /// /// - public global::OpenRouter.ServerToolOutputNameApiFormat? Type2086 { get; set; } + public global::OpenRouter.SearchModelsServerToolOpenRouterType? Type2086 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponse? Type2087 { get; set; } + public global::System.Collections.Generic.IList? Type2087 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponseErrorData? Type2088 { get; set; } + public global::OpenRouter.ServerToolInputName? Type2088 { get; set; } /// /// /// - public global::OpenRouter.SessionCostItem? Type2089 { get; set; } + public global::System.Collections.Generic.IList? Type2089 { get; set; } /// /// /// - public global::OpenRouter.SessionCostItemTurnRange? Type2090 { get; set; } + public global::OpenRouter.ServerToolEngine? Type2090 { get; set; } /// /// /// - public global::OpenRouter.SessionCostMeta? Type2091 { get; set; } + public global::OpenRouter.ServerToolNativeSupport? Type2091 { get; set; } /// /// /// - public global::OpenRouter.SessionCostMetaVersion? Type2092 { get; set; } + public global::OpenRouter.ServerToolStatus? Type2092 { get; set; } /// /// /// - public global::OpenRouter.SessionCostResponse? Type2093 { get; set; } + public global::System.Collections.Generic.IList? Type2093 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2094 { get; set; } + public global::OpenRouter.ServerToolSupportedApiFormat? Type2094 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItemAction? Type2095 { get; set; } + public global::OpenRouter.ServerToolDetailsVariant2? Type2095 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItemType? Type2096 { get; set; } + public global::OpenRouter.AllOf? Type2096 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type2097 { get; set; } + public global::OpenRouter.ServerToolDetailsVariant2NativeSupport? Type2097 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant1? Type2098 { get; set; } + public global::System.Collections.Generic.IList? Type2098 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type? Type2099 { get; set; } + public global::OpenRouter.ServerToolNativeModel? Type2099 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant2? Type2100 { get; set; } + public global::OpenRouter.ServerToolEngineByok? Type2100 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type? Type2101 { get; set; } + public global::System.Collections.Generic.IList? Type2101 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2102 { get; set; } + public global::OpenRouter.ServerToolEngineDataRegion? Type2102 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemFile? Type2103 { get; set; } + public global::OpenRouter.ServerToolExecutedBy? Type2103 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemFileType? Type2104 { get; set; } + public global::System.Collections.Generic.IList? Type2104 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemType? Type2105 { get; set; } + public global::OpenRouter.ServerToolPrice? Type2105 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolType? Type2106 { get; set; } + public global::OpenRouter.ServerToolEnginePricingSource? Type2106 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolConfig? Type2107 { get; set; } + public global::System.Collections.Generic.IList? Type2107 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolOpenRouterType? Type2108 { get; set; } + public global::OpenRouter.ServerToolInputNameApiFormat? Type2108 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEngine? Type2109 { get; set; } + public global::System.Collections.Generic.IList? Type2109 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironment? Type2110 { get; set; } + public global::OpenRouter.ServerToolOutputName? Type2110 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironmentDiscriminator? Type2111 { get; set; } + public global::OpenRouter.ServerToolOutputNameApiFormat? Type2111 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType? Type2112 { get; set; } + public global::OpenRouter.ServiceUnavailableResponse? Type2112 { get; set; } /// /// /// - public global::OpenRouter.SignInternDaemonRequest? Type2113 { get; set; } + public global::OpenRouter.ServiceUnavailableResponseErrorData? Type2113 { get; set; } /// /// /// - public global::OpenRouter.SignInternDaemonResponse? Type2114 { get; set; } + public global::OpenRouter.SessionCostItem? Type2114 { get; set; } /// /// /// - public global::OpenRouter.SpeechInput? Type2115 { get; set; } + public global::OpenRouter.SessionCostItemTurnRange? Type2115 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2116 { get; set; } + public global::OpenRouter.SessionCostMeta? Type2116 { get; set; } /// /// /// - public global::OpenRouter.SpeechTurn? Type2117 { get; set; } + public global::OpenRouter.SessionCostMetaVersion? Type2117 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReference? Type2118 { get; set; } + public global::OpenRouter.SessionCostResponse? Type2118 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudio? Type2119 { get; set; } + public global::System.Collections.Generic.IList? Type2119 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceText? Type2120 { get; set; } + public global::OpenRouter.ShellCallItemAction? Type2120 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImage? Type2121 { get; set; } + public global::OpenRouter.ShellCallItemType? Type2121 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceDiscriminator? Type2122 { get; set; } + public global::OpenRouter.OneOf? Type2122 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceDiscriminatorType? Type2123 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant1? Type2123 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudioInput? Type2124 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type? Type2124 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudioType? Type2125 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant2? Type2125 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImageInput? Type2126 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type? Type2126 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImageType? Type2127 { get; set; } + public global::System.Collections.Generic.IList? Type2127 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceTextType? Type2128 { get; set; } + public global::OpenRouter.ShellCallOutputItemFile? Type2128 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequest? Type2129 { get; set; } + public global::OpenRouter.ShellCallOutputItemFileType? Type2129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2130 { get; set; } + public global::OpenRouter.ShellCallOutputItemType? Type2130 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProvider? Type2131 { get; set; } + public global::OpenRouter.ShellServerToolType? Type2131 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProviderDataCollection? Type2132 { get; set; } + public global::OpenRouter.ShellServerToolConfig? Type2132 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestResponseFormat? Type2133 { get; set; } + public global::OpenRouter.ShellServerToolOpenRouterType? Type2133 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenCondition? Type2134 { get; set; } + public global::OpenRouter.ShellServerToolEngine? Type2134 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenStepCountIs? Type2135 { get; set; } + public global::OpenRouter.ShellServerToolEnvironment? Type2135 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenHasToolCall? Type2136 { get; set; } + public global::OpenRouter.ShellServerToolEnvironmentDiscriminator? Type2136 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxTokensUsed? Type2137 { get; set; } + public global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType? Type2137 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxCost? Type2138 { get; set; } + public global::OpenRouter.SignInternDaemonRequest? Type2138 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenFinishReasonIs? Type2139 { get; set; } + public global::OpenRouter.SignInternDaemonResponse? Type2139 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type2140 { get; set; } + public global::OpenRouter.SpeechInput? Type2140 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type2141 { get; set; } + public global::System.Collections.Generic.IList? Type2141 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type2142 { get; set; } + public global::OpenRouter.SpeechTurn? Type2142 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type2143 { get; set; } + public global::OpenRouter.SpeechInputReference? Type2143 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxCostType? Type2144 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudio? Type2144 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type2145 { get; set; } + public global::OpenRouter.SpeechInputReferenceText? Type2145 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type2146 { get; set; } + public global::OpenRouter.SpeechInputReferenceImage? Type2146 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2147 { get; set; } + public global::OpenRouter.SpeechInputReferenceDiscriminator? Type2147 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseCompleted? Type2148 { get; set; } + public global::OpenRouter.SpeechInputReferenceDiscriminatorType? Type2148 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseIncomplete? Type2149 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudioInput? Type2149 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseFailed? Type2150 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudioType? Type2150 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemAdded? Type2151 { get; set; } + public global::OpenRouter.SpeechInputReferenceImageInput? Type2151 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemDone? Type2152 { get; set; } + public global::OpenRouter.SpeechInputReferenceImageType? Type2152 { get; set; } /// /// /// - public global::OpenRouter.TextDeltaEvent? Type2153 { get; set; } + public global::OpenRouter.SpeechInputReferenceTextType? Type2153 { get; set; } /// /// /// - public global::OpenRouter.TextDoneEvent? Type2154 { get; set; } + public global::OpenRouter.SpeechRequest? Type2154 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallInProgressEvent? Type2155 { get; set; } + public global::System.Collections.Generic.IList? Type2155 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallSearchingEvent? Type2156 { get; set; } + public global::OpenRouter.SpeechRequestProvider? Type2156 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallCompletedEvent? Type2157 { get; set; } + public global::OpenRouter.SpeechRequestProviderDataCollection? Type2157 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsDiscriminator? Type2158 { get; set; } + public global::OpenRouter.SpeechRequestResponseFormat? Type2158 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsDiscriminatorType? Type2159 { get; set; } + public global::OpenRouter.StopServerToolsWhenCondition? Type2159 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseCompletedVariant2? Type2160 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIs? Type2160 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseFailedVariant2? Type2161 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCall? Type2161 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseIncompleteVariant2? Type2162 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsed? Type2162 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemAddedVariant2? Type2163 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCost? Type2163 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemDoneVariant2? Type2164 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIs? Type2164 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprob? Type2165 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type2165 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprobVariant2? Type2166 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type2166 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2167 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type2167 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprobTopLogprob? Type2168 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type2168 { get; set; } /// /// /// - public global::OpenRouter.STTEntity? Type2169 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCostType? Type2169 { get; set; } /// /// /// - public global::OpenRouter.STTInlineInputAudio? Type2170 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type2170 { get; set; } /// /// /// - public global::OpenRouter.STTInputAudio? Type2171 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type2171 { get; set; } /// /// /// - public global::OpenRouter.STTUrlInputAudio? Type2172 { get; set; } + public global::OpenRouter.AnyOf? Type2172 { get; set; } /// /// /// - public global::OpenRouter.STTRequest? Type2173 { get; set; } + public global::OpenRouter.StreamEventsResponseCompleted? Type2173 { get; set; } /// /// /// - public global::OpenRouter.STTRequestProvider? Type2174 { get; set; } + public global::OpenRouter.StreamEventsResponseIncomplete? Type2174 { get; set; } /// /// /// - public global::OpenRouter.STTRequestProviderDataCollection? Type2175 { get; set; } + public global::OpenRouter.StreamEventsResponseFailed? Type2175 { get; set; } /// /// /// - public global::OpenRouter.STTRequestResponseFormat? Type2176 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemAdded? Type2176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2177 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemDone? Type2177 { get; set; } /// /// /// - public global::OpenRouter.STTTimestampGranularity? Type2178 { get; set; } + public global::OpenRouter.TextDeltaEvent? Type2178 { get; set; } /// /// /// - public global::OpenRouter.STTResponse? Type2179 { get; set; } + public global::OpenRouter.TextDoneEvent? Type2179 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2180 { get; set; } + public global::OpenRouter.WebSearchCallInProgressEvent? Type2180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2181 { get; set; } + public global::OpenRouter.WebSearchCallSearchingEvent? Type2181 { get; set; } /// /// /// - public global::OpenRouter.STTSegment? Type2182 { get; set; } + public global::OpenRouter.WebSearchCallCompletedEvent? Type2182 { get; set; } /// /// /// - public global::OpenRouter.STTUsage? Type2183 { get; set; } + public global::OpenRouter.StreamEventsDiscriminator? Type2183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2184 { get; set; } + public global::OpenRouter.StreamEventsDiscriminatorType? Type2184 { get; set; } /// /// /// - public global::OpenRouter.STTWord? Type2185 { get; set; } + public global::OpenRouter.StreamEventsResponseCompletedVariant2? Type2185 { get; set; } /// /// /// - public global::OpenRouter.STTWordType? Type2186 { get; set; } + public global::OpenRouter.StreamEventsResponseFailedVariant2? Type2186 { get; set; } /// /// /// - public global::OpenRouter.SubagentNestedTool? Type2187 { get; set; } + public global::OpenRouter.StreamEventsResponseIncompleteVariant2? Type2187 { get; set; } /// /// /// - public global::OpenRouter.SubagentReasoning? Type2188 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemAddedVariant2? Type2188 { get; set; } /// /// /// - public global::OpenRouter.SubagentReasoningEffort? Type2189 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemDoneVariant2? Type2189 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolConfig? Type2190 { get; set; } + public global::OpenRouter.StreamLogprob? Type2190 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolOpenRouterType? Type2191 { get; set; } + public global::OpenRouter.StreamLogprobVariant2? Type2191 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2192 { get; set; } + public global::System.Collections.Generic.IList? Type2192 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackRequest? Type2193 { get; set; } + public global::OpenRouter.StreamLogprobTopLogprob? Type2193 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackRequestCategory? Type2194 { get; set; } + public global::OpenRouter.STTEntity? Type2194 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackResponse? Type2195 { get; set; } + public global::OpenRouter.STTInlineInputAudio? Type2195 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackResponseData? Type2196 { get; set; } + public global::OpenRouter.STTInputAudio? Type2196 { get; set; } /// /// /// - public global::OpenRouter.SuspendInternResponse? Type2197 { get; set; } + public global::OpenRouter.STTUrlInputAudio? Type2197 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPluginAlgorithm? Type2198 { get; set; } + public global::OpenRouter.STTRequest? Type2198 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPluginId? Type2199 { get; set; } + public global::OpenRouter.STTRequestProvider? Type2199 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationItem? Type2200 { get; set; } + public global::OpenRouter.STTRequestProviderDataCollection? Type2200 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2201 { get; set; } + public global::OpenRouter.STTRequestResponseFormat? Type2201 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationModel? Type2202 { get; set; } + public global::System.Collections.Generic.IList? Type2202 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationMacroCategory? Type2203 { get; set; } + public global::OpenRouter.STTTimestampGranularity? Type2203 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationResponse? Type2204 { get; set; } + public global::OpenRouter.STTResponse? Type2204 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationResponseData? Type2205 { get; set; } + public global::System.Collections.Generic.IList? Type2205 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2206 { get; set; } + public global::System.Collections.Generic.IList? Type2206 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2207 { get; set; } + public global::OpenRouter.STTSegment? Type2207 { get; set; } /// /// /// - public global::OpenRouter.TextConfigVerbosity? Type2208 { get; set; } + public global::OpenRouter.STTUsage? Type2208 { get; set; } /// /// /// - public global::OpenRouter.TextDeltaEventVariant2? Type2209 { get; set; } + public global::System.Collections.Generic.IList? Type2209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2210 { get; set; } + public global::OpenRouter.STTWord? Type2210 { get; set; } /// /// /// - public global::OpenRouter.TextDoneEventVariant2? Type2211 { get; set; } + public global::OpenRouter.STTWordType? Type2211 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVariant2? Type2212 { get; set; } + public global::OpenRouter.SubagentNestedTool? Type2212 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVariant2Verbosity? Type2213 { get; set; } + public global::OpenRouter.SubagentReasoning? Type2213 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequest? Type2214 { get; set; } + public global::OpenRouter.SubagentReasoningEffort? Type2214 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestGrantType? Type2215 { get; set; } + public global::OpenRouter.SubagentServerToolConfig? Type2215 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestRequestedTokenType? Type2216 { get; set; } + public global::OpenRouter.SubagentServerToolOpenRouterType? Type2216 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestScope? Type2217 { get; set; } + public global::System.Collections.Generic.IList? Type2217 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestSubjectTokenType? Type2218 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackRequest? Type2218 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponse? Type2219 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackRequestCategory? Type2219 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponseIssuedTokenType? Type2220 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackResponse? Type2220 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponseTokenType? Type2221 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackResponseData? Type2221 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2222 { get; set; } + public global::OpenRouter.SuspendInternResponse? Type2222 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedModeVariant1? Type2223 { get; set; } + public global::OpenRouter.SwitchyardRouterPluginAlgorithm? Type2223 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedModeVariant2? Type2224 { get; set; } + public global::OpenRouter.SwitchyardRouterPluginId? Type2224 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedType? Type2225 { get; set; } + public global::OpenRouter.TaskClassificationItem? Type2225 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItemExecution? Type2226 { get; set; } + public global::System.Collections.Generic.IList? Type2226 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItemStatus? Type2227 { get; set; } + public global::OpenRouter.TaskClassificationModel? Type2227 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItemType? Type2228 { get; set; } + public global::OpenRouter.TaskClassificationMacroCategory? Type2228 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemExecution? Type2229 { get; set; } + public global::OpenRouter.TaskClassificationResponse? Type2229 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemStatus? Type2230 { get; set; } + public global::OpenRouter.TaskClassificationResponseData? Type2230 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2231 { get; set; } + public global::System.Collections.Generic.IList? Type2231 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemTool? Type2232 { get; set; } + public global::System.Collections.Generic.IList? Type2232 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemTool2? Type2233 { get; set; } + public global::OpenRouter.TextConfigVerbosity? Type2233 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemType? Type2234 { get; set; } + public global::OpenRouter.TextDeltaEventVariant2? Type2234 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerToolConfig? Type2235 { get; set; } + public global::System.Collections.Generic.IList? Type2235 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerToolType? Type2236 { get; set; } + public global::OpenRouter.TextDoneEventVariant2? Type2236 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponse? Type2237 { get; set; } + public global::OpenRouter.TextExtendedConfigVariant2? Type2237 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponseErrorData? Type2238 { get; set; } + public global::OpenRouter.TextExtendedConfigVariant2Verbosity? Type2238 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponse? Type2239 { get; set; } + public global::OpenRouter.TokenExchangeRequest? Type2239 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponseErrorData? Type2240 { get; set; } + public global::OpenRouter.TokenExchangeRequestGrantType? Type2240 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarkPricing? Type2241 { get; set; } + public global::OpenRouter.TokenExchangeRequestRequestedTokenType? Type2241 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksAAItem? Type2242 { get; set; } + public global::OpenRouter.TokenExchangeRequestScope? Type2242 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksAAItemSource? Type2243 { get; set; } + public global::OpenRouter.TokenExchangeRequestSubjectTokenType? Type2243 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItem? Type2244 { get; set; } + public global::OpenRouter.TokenExchangeResponse? Type2244 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItemSource? Type2245 { get; set; } + public global::OpenRouter.TokenExchangeResponseIssuedTokenType? Type2245 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItemTournamentStats? Type2246 { get; set; } + public global::OpenRouter.TokenExchangeResponseTokenType? Type2246 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMeta? Type2247 { get; set; } + public global::OpenRouter.AnyOf? Type2247 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMetaSource? Type2248 { get; set; } + public global::OpenRouter.ToolChoiceAllowedModeVariant1? Type2248 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMetaVersion? Type2249 { get; set; } + public global::OpenRouter.ToolChoiceAllowedModeVariant2? Type2249 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItem? Type2250 { get; set; } + public global::OpenRouter.ToolChoiceAllowedType? Type2250 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItemBenchmarkType? Type2251 { get; set; } + public global::OpenRouter.ToolSearchCallItemExecution? Type2251 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItemSource? Type2252 { get; set; } + public global::OpenRouter.ToolSearchCallItemStatus? Type2252 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksResponse? Type2253 { get; set; } + public global::OpenRouter.ToolSearchCallItemType? Type2253 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2254 { get; set; } + public global::OpenRouter.ToolSearchOutputItemExecution? Type2254 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type2255 { get; set; } + public global::OpenRouter.ToolSearchOutputItemStatus? Type2255 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItem? Type2256 { get; set; } + public global::OpenRouter.AllOf? Type2256 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemBenchmarkType? Type2257 { get; set; } + public global::OpenRouter.ToolSearchOutputItemTool? Type2257 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric? Type2258 { get; set; } + public global::System.Collections.Generic.IList? Type2258 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchRunConfig? Type2259 { get; set; } + public global::OpenRouter.ToolSearchOutputItemToolAllowedCaller? Type2259 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface? Type2260 { get; set; } + public global::OpenRouter.ToolSearchOutputItemTool2? Type2260 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemSource? Type2261 { get; set; } + public global::OpenRouter.ToolSearchOutputItemType? Type2261 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponse? Type2262 { get; set; } + public global::OpenRouter.ToolSearchServerToolConfig? Type2262 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponseErrorData? Type2263 { get; set; } + public global::OpenRouter.ToolSearchServerToolType? Type2263 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequest? Type2264 { get; set; } + public global::OpenRouter.TooManyRequestsResponse? Type2264 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? Type2265 { get; set; } + public global::OpenRouter.TooManyRequestsResponseErrorData? Type2265 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyResponse? Type2266 { get; set; } + public global::OpenRouter.UnauthorizedResponse? Type2266 { get; set; } /// /// /// - public global::OpenRouter.UpdateEndUserRequest? Type2267 { get; set; } + public global::OpenRouter.UnauthorizedResponseErrorData? Type2267 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailRequest? Type2268 { get; set; } + public global::OpenRouter.UnifiedBenchmarkPricing? Type2268 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponse? Type2269 { get; set; } + public global::OpenRouter.UnifiedBenchmarksAAItem? Type2269 { get; set; } /// /// /// - public global::OpenRouter.UpdateInternRequest? Type2270 { get; set; } + public global::OpenRouter.UnifiedBenchmarksAAItemSource? Type2270 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequest? Type2271 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItem? Type2271 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2272 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItemSource? Type2272 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponse? Type2273 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItemTournamentStats? Type2273 { get; set; } /// /// /// - public global::OpenRouter.UpdateOrganizationSettingsRequest? Type2274 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMeta? Type2274 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointPricingRequest? Type2275 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMetaSource? Type2275 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointRequest? Type2276 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMetaVersion? Type2276 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? Type2277 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItem? Type2277 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingRequest? Type2278 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItemBenchmarkType? Type2278 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingRequestRole? Type2279 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItemSource? Type2279 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingResponse? Type2280 { get; set; } + public global::OpenRouter.UnifiedBenchmarksResponse? Type2280 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequest? Type2281 { get; set; } + public global::System.Collections.Generic.IList>? Type2281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2282 { get; set; } + public global::OpenRouter.OneOf? Type2282 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool? Type2283 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItem? Type2283 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponse? Type2284 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemBenchmarkType? Type2284 { get; set; } /// /// /// - public global::OpenRouter.UpsertWorkspaceBudgetRequest? Type2285 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric? Type2285 { get; set; } /// /// /// - public global::OpenRouter.UpsertWorkspaceBudgetResponse? Type2286 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchRunConfig? Type2286 { get; set; } /// /// /// - public global::OpenRouter.URLCitationType? Type2287 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface? Type2287 { get; set; } /// /// /// - public global::OpenRouter.UsageVariant12? Type2288 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemSource? Type2288 { get; set; } /// /// /// - public global::OpenRouter.UsageVariant1CostDetails? Type2289 { get; set; } + public global::OpenRouter.UnprocessableEntityResponse? Type2289 { get; set; } /// /// /// - public global::OpenRouter.ValidatePrivateEndpointRequest? Type2290 { get; set; } + public global::OpenRouter.UnprocessableEntityResponseErrorData? Type2290 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecret? Type2291 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequest? Type2291 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecretScope? Type2292 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? Type2292 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecretListResponse? Type2293 { get; set; } + public global::OpenRouter.UpdateBYOKKeyResponse? Type2293 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2294 { get; set; } + public global::OpenRouter.UpdateEndUserRequest? Type2294 { get; set; } /// /// /// - public global::OpenRouter.VaultSecret? Type2295 { get; set; } + public global::OpenRouter.UpdateGuardrailRequest? Type2295 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretCopyRequest? Type2296 { get; set; } + public global::OpenRouter.UpdateGuardrailResponse? Type2296 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretCopyResponse? Type2297 { get; set; } + public global::OpenRouter.UpdateInternRequest? Type2297 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2298 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequest? Type2298 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretListResponse? Type2299 { get; set; } + public global::OpenRouter.AllOf? Type2299 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretResponse? Type2300 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponse? Type2300 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretWriteRequest? Type2301 { get; set; } + public global::OpenRouter.UpdateOrganizationSettingsRequest? Type2301 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type2302 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointPricingRequest? Type2302 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type2303 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointRequest? Type2303 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2304 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? Type2304 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2305 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingRequest? Type2305 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type2306 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingRequestRole? Type2306 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type2307 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingResponse? Type2307 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type2308 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequest? Type2308 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type2309 { get; set; } + public global::System.Collections.Generic.IList? Type2309 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type2310 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool? Type2310 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type2311 { get; set; } + public global::OpenRouter.UpdateWorkspaceResponse? Type2311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2312 { get; set; } + public global::OpenRouter.UpsertWorkspaceBudgetRequest? Type2312 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatio? Type2313 { get; set; } + public global::OpenRouter.UpsertWorkspaceBudgetResponse? Type2313 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2314 { get; set; } + public global::OpenRouter.URLCitationType? Type2314 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImage? Type2315 { get; set; } + public global::OpenRouter.UsageVariant12? Type2315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2316 { get; set; } + public global::OpenRouter.UsageVariant1CostDetails? Type2316 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolution? Type2317 { get; set; } + public global::OpenRouter.ValidatePrivateEndpointRequest? Type2317 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2318 { get; set; } + public global::OpenRouter.VaultEffectiveSecret? Type2318 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSize? Type2319 { get; set; } + public global::OpenRouter.VaultEffectiveSecretScope? Type2319 { get; set; } /// /// /// - public global::OpenRouter.VideoModelUpscaleFactor? Type2320 { get; set; } + public global::OpenRouter.VaultEffectiveSecretListResponse? Type2320 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type2321 { get; set; } + public global::System.Collections.Generic.IList? Type2321 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2322 { get; set; } + public global::OpenRouter.VaultSecret? Type2322 { get; set; } /// /// /// - public global::OpenRouter.WebFetchEngineEnum? Type2323 { get; set; } + public global::OpenRouter.VaultSecretCopyRequest? Type2323 { get; set; } /// /// /// - public global::OpenRouter.WebFetchPluginId? Type2324 { get; set; } + public global::OpenRouter.VaultSecretCopyResponse? Type2324 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolConfig? Type2325 { get; set; } + public global::System.Collections.Generic.IList? Type2325 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolType? Type2326 { get; set; } + public global::OpenRouter.VaultSecretListResponse? Type2326 { get; set; } /// /// /// - public global::OpenRouter.WebSearchEngine? Type2327 { get; set; } + public global::OpenRouter.VaultSecretResponse? Type2327 { get; set; } /// /// /// - public global::OpenRouter.WebSearchPluginId? Type2328 { get; set; } + public global::OpenRouter.VaultSecretWriteRequest? Type2328 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2329 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type2329 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolType? Type2330 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type2330 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolConfig? Type2331 { get; set; } + public global::System.Collections.Generic.IList? Type2331 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterType? Type2332 { get; set; } + public global::System.Collections.Generic.IList? Type2332 { get; set; } /// /// /// - public global::OpenRouter.WebSearchSourceType? Type2333 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type2333 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationType? Type2334 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type2334 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerToolType? Type2335 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type2335 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudgetResetInterval? Type2336 { get; set; } + public global::OpenRouter.VideoGenerationResponseStatus? Type2336 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudgetInterval? Type2337 { get; set; } + public global::OpenRouter.VideoGenerationUsage? Type2337 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMemberRole? Type2338 { get; set; } + public global::OpenRouter.VideoModel? Type2338 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequest? Type2339 { get; set; } + public global::System.Collections.Generic.IList? Type2339 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierDimensions? Type2340 { get; set; } + public global::OpenRouter.VideoModelSupportedAspectRatio? Type2340 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierFilters? Type2341 { get; set; } + public global::System.Collections.Generic.IList? Type2341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2342 { get; set; } + public global::OpenRouter.VideoModelSupportedFrameImage? Type2342 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierFiltersFilter? Type2343 { get; set; } + public global::System.Collections.Generic.IList? Type2343 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? Type2344 { get; set; } + public global::OpenRouter.VideoModelSupportedResolution? Type2344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2345 { get; set; } + public global::System.Collections.Generic.IList? Type2345 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestFilter? Type2346 { get; set; } + public global::OpenRouter.VideoModelSupportedSize? Type2346 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestOrderBy? Type2347 { get; set; } + public global::OpenRouter.VideoModelUpscaleFactor? Type2347 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestOrderByDirection? Type2348 { get; set; } + public global::OpenRouter.VideoModelsListResponse? Type2348 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestTimeRange? Type2349 { get; set; } + public global::System.Collections.Generic.IList? Type2349 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequest? Type2350 { get; set; } + public global::OpenRouter.WebFetchEngineEnum? Type2350 { get; set; } /// /// /// - public byte[]? Type2351 { get; set; } + public global::OpenRouter.WebFetchPluginId? Type2351 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat? Type2352 { get; set; } + public global::OpenRouter.WebFetchServerToolConfig? Type2352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2353 { get; set; } + public global::OpenRouter.WebFetchServerToolType? Type2353 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie? Type2354 { get; set; } + public global::OpenRouter.WebSearchEngine? Type2354 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequest? Type2355 { get; set; } + public global::OpenRouter.WebSearchPluginId? Type2355 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod? Type2356 { get; set; } + public global::OpenRouter.AllOf? Type2356 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type2357 { get; set; } + public global::OpenRouter.WebSearchServerToolType? Type2357 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod? Type2358 { get; set; } + public global::OpenRouter.WebSearchServerToolConfig? Type2358 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType? Type2359 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterType? Type2359 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type2360 { get; set; } + public global::OpenRouter.WebSearchSourceType? Type2360 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestEncodingFormat? Type2361 { get; set; } + public global::OpenRouter.WebSearchUserLocationType? Type2361 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>? Type2362 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerToolType? Type2362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2363 { get; set; } + public global::OpenRouter.WorkspaceBudgetResetInterval? Type2363 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2364 { get; set; } + public global::OpenRouter.WorkspaceBudgetInterval? Type2364 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item? Type2365 { get; set; } + public global::OpenRouter.WorkspaceMemberRole? Type2365 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1? Type2366 { get; set; } + public global::OpenRouter.QueryAnalyticsRequest? Type2366 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type? Type2367 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierDimensions? Type2367 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2? Type2368 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierFilters? Type2368 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl? Type2369 { get; set; } + public global::System.Collections.Generic.IList? Type2369 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type? Type2370 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierFiltersFilter? Type2370 { get; set; } /// /// /// - public global::OpenRouter.UploadFileRequest? Type2371 { get; set; } + public global::OpenRouter.AnyOf>>? Type2371 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type2372 { get; set; } + public global::System.Collections.Generic.IList? Type2372 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequestExternal? Type2373 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestFilter? Type2373 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequestLimitReset? Type2374 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestOrderBy? Type2374 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type2375 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestOrderByDirection? Type2375 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequestLimitReset? Type2376 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestTimeRange? Type2376 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type2377 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequest? Type2377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2378 { get; set; } + public byte[]? Type2378 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2379 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat? Type2379 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequestDocument? Type2380 { get; set; } + public global::System.Collections.Generic.IList? Type2380 { get; set; } /// /// /// - public global::OpenRouter.GetUserActivityGroupBy? Type2381 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie? Type2381 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2382 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequest? Type2382 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2383 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod? Type2383 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksSource? Type2384 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequest? Type2384 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksTaskType? Type2385 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod? Type2385 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksBenchmarkType? Type2386 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType? Type2386 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksSearchSurface? Type2387 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequest? Type2387 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksArena? Type2388 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestEncodingFormat? Type2388 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysProvider? Type2389 { get; set; } + public global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>? Type2389 { get; set; } /// /// /// - public global::OpenRouter.GetTaskClassificationsWindow? Type2390 { get; set; } + public global::System.Collections.Generic.IList>? Type2390 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsCategory? Type2391 { get; set; } + public global::System.Collections.Generic.IList? Type2391 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsSubcategory? Type2392 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item? Type2392 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsSort? Type2393 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1? Type2393 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyPeriod? Type2394 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type? Type2394 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyModality? Type2395 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2? Type2395 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyContextBucket? Type2396 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl? Type2396 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyCategory? Type2397 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type? Type2397 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyLanguageType? Type2398 { get; set; } + public global::OpenRouter.UploadFileRequest? Type2398 { get; set; } /// /// /// - public global::OpenRouter.GetSessionCostTurnRange? Type2399 { get; set; } + public global::OpenRouter.CreateKeysRequest? Type2399 { get; set; } /// /// /// - public global::OpenRouter.ListFilesOrder? Type2400 { get; set; } + public global::OpenRouter.CreateKeysRequestExternal? Type2400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2401 { get; set; } + public global::OpenRouter.CreateKeysRequestLimitReset? Type2401 { get; set; } /// /// /// - public global::OpenRouter.ListInternsStatu? Type2402 { get; set; } + public global::OpenRouter.UpdateKeysRequest? Type2402 { get; set; } /// /// /// - public global::OpenRouter.GetModelsCategory? Type2403 { get; set; } + public global::OpenRouter.UpdateKeysRequestLimitReset? Type2403 { get; set; } /// /// /// - public global::OpenRouter.GetModelsSort? Type2404 { get; set; } + public global::OpenRouter.CreateRerankRequest? Type2404 { get; set; } /// /// /// - public global::OpenRouter.GetModelsDistillable? Type2405 { get; set; } + public global::System.Collections.Generic.IList>? Type2405 { get; set; } /// /// /// - public global::OpenRouter.GetModelsZdr? Type2406 { get; set; } + public global::OpenRouter.AnyOf? Type2406 { get; set; } /// /// /// - public global::OpenRouter.GetModelsRegion? Type2407 { get; set; } + public global::OpenRouter.CreateRerankRequestDocument? Type2407 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointDraftOnly? Type2408 { get; set; } + public global::OpenRouter.GetUserActivityGroupBy? Type2408 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2409 { get; set; } + public global::System.Collections.Generic.IList? Type2409 { get; set; } /// /// /// - public global::OpenRouter.DeleteScimGroupMappingKeepMembers2? Type2410 { get; set; } + public global::OpenRouter.AllOf? Type2410 { get; set; } /// /// /// - public global::OpenRouter.ListToolsApiFormat? Type2411 { get; set; } + public global::OpenRouter.GetBenchmarksSource? Type2411 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponse? Type2412 { get; set; } + public global::OpenRouter.GetBenchmarksTaskType? Type2412 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseData? Type2413 { get; set; } + public global::OpenRouter.GetBenchmarksBenchmarkType? Type2413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2414 { get; set; } + public global::OpenRouter.GetBenchmarksSearchSurface? Type2414 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataDimension? Type2415 { get; set; } + public global::OpenRouter.GetBenchmarksArena? Type2415 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2416 { get; set; } + public global::OpenRouter.ListBYOKKeysProvider? Type2416 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie? Type2417 { get; set; } + public global::OpenRouter.GetTaskClassificationsWindow? Type2417 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName? Type2418 { get; set; } + public global::OpenRouter.GetAppRankingsCategory? Type2418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2419 { get; set; } + public global::OpenRouter.GetAppRankingsSubcategory? Type2419 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataMetric? Type2420 { get; set; } + public global::OpenRouter.GetAppRankingsSort? Type2420 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat? Type2421 { get; set; } + public global::OpenRouter.GetRankingsDailyPeriod? Type2421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2422 { get; set; } + public global::OpenRouter.GetRankingsDailyModality? Type2422 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperator? Type2423 { get; set; } + public global::OpenRouter.GetRankingsDailyContextBucket? Type2423 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName? Type2424 { get; set; } + public global::OpenRouter.GetRankingsDailyCategory? Type2424 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType? Type2425 { get; set; } + public global::OpenRouter.GetRankingsDailyLanguageType? Type2425 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponse? Type2426 { get; set; } + public global::OpenRouter.GetSessionCostTurnRange? Type2426 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponseData? Type2427 { get; set; } + public global::OpenRouter.ListFilesOrder? Type2427 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponseDataMetadata? Type2428 { get; set; } + public global::System.Collections.Generic.IList? Type2428 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse? Type2429 { get; set; } + public global::OpenRouter.ListInternsStatu? Type2429 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeResponse? Type2430 { get; set; } + public global::OpenRouter.GetModelsCategory? Type2430 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeResponseData? Type2431 { get; set; } + public global::OpenRouter.GetModelsSort? Type2431 { get; set; } /// /// /// - public global::OpenRouter.GetCreditsResponse? Type2432 { get; set; } + public global::OpenRouter.GetModelsDistillable? Type2432 { get; set; } /// /// /// - public global::OpenRouter.GetCreditsResponseData? Type2433 { get; set; } + public global::OpenRouter.GetModelsZdr? Type2433 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponse? Type2434 { get; set; } + public global::OpenRouter.GetModelsRegion? Type2434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2435 { get; set; } + public global::OpenRouter.DeletePrivateEndpointDraftOnly? Type2435 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseDataItem? Type2436 { get; set; } + public global::OpenRouter.AnyOf? Type2436 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseDataItemObject? Type2437 { get; set; } + public global::OpenRouter.DeleteScimGroupMappingKeepMembers2? Type2437 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseObject? Type2438 { get; set; } + public global::OpenRouter.ListToolsApiFormat? Type2438 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseUsage? Type2439 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponse? Type2439 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails? Type2440 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseData? Type2440 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsZdrResponse? Type2441 { get; set; } + public global::System.Collections.Generic.IList? Type2441 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponse? Type2442 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataDimension? Type2442 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseData? Type2443 { get; set; } + public global::System.Collections.Generic.IList? Type2443 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2444 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie? Type2444 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion? Type2445 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName? Type2445 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseDataRateLimit? Type2446 { get; set; } + public global::System.Collections.Generic.IList? Type2446 { get; set; } /// /// /// - public global::OpenRouter.ListResponse? Type2447 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataMetric? Type2447 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2448 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat? Type2448 { get; set; } /// /// /// - public global::OpenRouter.ListResponseDataItem? Type2449 { get; set; } + public global::System.Collections.Generic.IList? Type2449 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysResponse? Type2450 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataOperator? Type2450 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysResponseData? Type2451 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName? Type2451 { get; set; } /// /// /// - public global::OpenRouter.DeleteKeysResponse? Type2452 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType? Type2452 { get; set; } /// /// /// - public global::OpenRouter.GetKeyResponse? Type2453 { get; set; } + public global::OpenRouter.QueryAnalyticsResponse? Type2453 { get; set; } /// /// /// - public global::OpenRouter.GetKeyResponseData? Type2454 { get; set; } + public global::OpenRouter.QueryAnalyticsResponseData? Type2454 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysResponse? Type2455 { get; set; } + public global::OpenRouter.QueryAnalyticsResponseDataMetadata? Type2455 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysResponseData? Type2456 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse? Type2456 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse2? Type2457 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeResponse? Type2457 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponse? Type2458 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeResponseData? Type2458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2459 { get; set; } + public global::OpenRouter.GetCreditsResponse? Type2459 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponseDataItem? Type2460 { get; set; } + public global::OpenRouter.GetCreditsResponseData? Type2460 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponseDataItemRole? Type2461 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponse? Type2461 { get; set; } /// /// /// - public global::OpenRouter.GetOrganizationSettingsResponse? Type2462 { get; set; } + public global::System.Collections.Generic.IList? Type2462 { get; set; } /// /// /// - public global::OpenRouter.UpdateOrganizationSettingsResponse? Type2463 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseDataItem? Type2463 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2464 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseDataItemObject? Type2464 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2465 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseObject? Type2465 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2466 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseUsage? Type2466 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2467 { get; set; } + public global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails? Type2467 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2468 { get; set; } + public global::OpenRouter.ListEndpointsZdrResponse? Type2468 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponse? Type2469 { get; set; } + public global::OpenRouter.GetCurrentKeyResponse? Type2469 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2470 { get; set; } + public global::OpenRouter.GetCurrentKeyResponseData? Type2470 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItem? Type2471 { get; set; } + public global::System.Collections.Generic.IList? Type2471 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2472 { get; set; } + public global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion? Type2472 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItemDatacenter? Type2473 { get; set; } + public global::OpenRouter.GetCurrentKeyResponseDataRateLimit? Type2473 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItemHeadquarters? Type2474 { get; set; } + public global::OpenRouter.ListResponse? Type2474 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponse? Type2475 { get; set; } + public global::System.Collections.Generic.IList? Type2475 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2476 { get; set; } + public global::OpenRouter.ListResponseDataItem? Type2476 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseResult? Type2477 { get; set; } + public global::OpenRouter.CreateKeysResponse? Type2477 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseResultDocument? Type2478 { get; set; } + public global::OpenRouter.CreateKeysResponseData? Type2478 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseUsage? Type2479 { get; set; } + public global::OpenRouter.DeleteKeysResponse? Type2479 { get; set; } + /// + /// + /// + public global::OpenRouter.GetKeyResponse? Type2480 { get; set; } + /// + /// + /// + public global::OpenRouter.GetKeyResponseData? Type2481 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysResponse? Type2482 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysResponseData? Type2483 { get; set; } + /// + /// + /// + public global::OpenRouter.ListEndpointsResponse2? Type2484 { get; set; } + /// + /// + /// + public global::OpenRouter.ListOrganizationMembersResponse? Type2485 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2486 { get; set; } + /// + /// + /// + public global::OpenRouter.ListOrganizationMembersResponseDataItem? Type2487 { get; set; } + /// + /// + /// + public global::OpenRouter.ListOrganizationMembersResponseDataItemRole? Type2488 { get; set; } + /// + /// + /// + public global::OpenRouter.GetOrganizationSettingsResponse? Type2489 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateOrganizationSettingsResponse? Type2490 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2491 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2492 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2493 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2494 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2495 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponse? Type2496 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2497 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItem? Type2498 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2499 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItemDatacenter? Type2500 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItemHeadquarters? Type2501 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponse? Type2502 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2503 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseResult? Type2504 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseResultDocument? Type2505 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseUsage? Type2506 { get; set; } /// /// @@ -9958,982 +10066,1002 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List?, global::OpenRouter.AgentMessageItemContentItem2>>? ListType1 { get; set; } + public global::System.Collections.Generic.List? ListType1 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List?, global::OpenRouter.AgentMessageItemContentItem2>>? ListType2 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType3 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType4 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType5 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType6 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2 { get; set; } + public global::System.Collections.Generic.List? ListType7 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType3 { get; set; } + public global::System.Collections.Generic.List? ListType8 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType4 { get; set; } + public global::System.Collections.Generic.List? ListType9 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType5 { get; set; } + public global::System.Collections.Generic.List? ListType10 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType6 { get; set; } + public global::System.Collections.Generic.List? ListType11 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType7 { get; set; } + public global::System.Collections.Generic.List? ListType12 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType8 { get; set; } + public global::OpenRouter.AnyOf>? ListType13 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType9 { get; set; } + public global::System.Collections.Generic.List? ListType14 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType10 { get; set; } + public global::System.Collections.Generic.List? ListType15 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType11 { get; set; } + public global::System.Collections.Generic.List? ListType16 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType12 { get; set; } + public global::System.Collections.Generic.List? ListType17 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType13 { get; set; } + public global::System.Collections.Generic.List? ListType18 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType14 { get; set; } + public global::System.Collections.Generic.List? ListType19 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType15 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.AnthropicWebSearchToolResultError>? ListType20 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType16 { get; set; } + public global::System.Collections.Generic.List? ListType21 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType17 { get; set; } + public global::System.Collections.Generic.List? ListType22 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType18 { get; set; } + public global::OpenRouter.AnyOf, string>? ListType23 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.AnthropicWebSearchToolResultError>? ListType19 { get; set; } + public global::System.Collections.Generic.List? ListType24 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType20 { get; set; } + public global::System.Collections.Generic.List? ListType25 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType21 { get; set; } + public global::System.Collections.Generic.List? ListType26 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, string>? ListType22 { get; set; } + public global::System.Collections.Generic.List? ListType27 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType23 { get; set; } + public global::System.Collections.Generic.List? ListType28 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType24 { get; set; } + public global::System.Collections.Generic.List? ListType29 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType25 { get; set; } + public global::System.Collections.Generic.List? ListType30 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType26 { get; set; } + public global::System.Collections.Generic.List? ListType31 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType27 { get; set; } + public global::System.Collections.Generic.List? ListType32 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType28 { get; set; } + public global::System.Collections.Generic.List? ListType33 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType29 { get; set; } + public global::System.Collections.Generic.List? ListType34 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType30 { get; set; } + public global::System.Collections.Generic.List? ListType35 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType31 { get; set; } + public global::System.Collections.Generic.List? ListType36 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType32 { get; set; } + public global::System.Collections.Generic.List? ListType37 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType33 { get; set; } + public global::System.Collections.Generic.List? ListType38 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType34 { get; set; } + public global::System.Collections.Generic.List? ListType39 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType35 { get; set; } + public global::System.Collections.Generic.List?>? ListType40 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType36 { get; set; } + public global::System.Collections.Generic.List? ListType41 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType37 { get; set; } + public global::System.Collections.Generic.List? ListType42 { get; set; } /// /// /// - public global::System.Collections.Generic.List?>? ListType38 { get; set; } + public global::OpenRouter.AnyOf, string>? ListType43 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType39 { get; set; } + public global::System.Collections.Generic.List? ListType44 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType40 { get; set; } + public global::System.Collections.Generic.List>? ListType45 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, string>? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType46 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType42 { get; set; } + public global::System.Collections.Generic.List? ListType47 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType48 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::OpenRouter.AnyOf>? ListType49 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType50 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType46 { get; set; } + public global::System.Collections.Generic.List? ListType51 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType48 { get; set; } + public global::OpenRouter.AnyOf>? ListType53 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType50 { get; set; } + public global::System.Collections.Generic.List>? ListType55 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType51 { get; set; } + public global::System.Collections.Generic.List? ListType56 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List? ListType57 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType58 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::OpenRouter.AnyOf>? ListType59 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType60 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType61 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType63 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType64 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType73 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType74 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>? ListType75 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType71 { get; set; } + public global::System.Collections.Generic.List?, global::OpenRouter.InputFile>>? ListType76 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::OpenRouter.AnyOf>? ListType77 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>? ListType73 { get; set; } + public global::System.Collections.Generic.List>>? ListType78 { get; set; } /// /// /// - public global::System.Collections.Generic.List?, global::OpenRouter.InputFile>>? ListType74 { get; set; } + public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>? ListType79 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType75 { get; set; } + public global::System.Collections.Generic.List?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>? ListType80 { get; set; } /// /// /// - public global::System.Collections.Generic.List>>? ListType76 { get; set; } + public global::System.Collections.Generic.List? ListType81 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>? ListType77 { get; set; } + public global::OpenRouter.AnyOf>>? ListType82 { get; set; } /// /// /// - public global::System.Collections.Generic.List?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>? ListType78 { get; set; } + public global::System.Collections.Generic.List>? ListType83 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType79 { get; set; } + public global::System.Collections.Generic.List? ListType84 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? ListType80 { get; set; } + public global::System.Collections.Generic.List? ListType85 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType81 { get; set; } + public global::System.Collections.Generic.List? ListType86 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType82 { get; set; } + public global::System.Collections.Generic.List? ListType87 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::System.Collections.Generic.List? ListType88 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType84 { get; set; } + public global::System.Collections.Generic.List? ListType89 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::OpenRouter.AnyOf?>, object>? ListType90 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List?>? ListType91 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType92 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?>, object>? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType93 { get; set; } /// /// /// - public global::System.Collections.Generic.List?>? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType94 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType90 { get; set; } + public global::System.Collections.Generic.List? ListType95 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::OpenRouter.AnyOf>? ListType96 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType97 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType98 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType99 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::OpenRouter.AnyOf>, string>? ListType104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List>? ListType105 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType106 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>, string>? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType107 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType108 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType105 { get; set; } + public global::System.Collections.Generic.List? ListType110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType106 { get; set; } + public global::System.Collections.Generic.List? ListType111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType107 { get; set; } + public global::System.Collections.Generic.List? ListType112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType108 { get; set; } + public global::System.Collections.Generic.List? ListType113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType109 { get; set; } + public global::System.Collections.Generic.List? ListType114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType110 { get; set; } + public global::System.Collections.Generic.List? ListType115 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType111 { get; set; } + public global::System.Collections.Generic.List? ListType116 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType112 { get; set; } + public global::System.Collections.Generic.List? ListType117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType113 { get; set; } + public global::System.Collections.Generic.List? ListType118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType114 { get; set; } + public global::System.Collections.Generic.List? ListType119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType115 { get; set; } + public global::System.Collections.Generic.List? ListType120 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType116 { get; set; } + public global::System.Collections.Generic.List? ListType121 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType117 { get; set; } + public global::System.Collections.Generic.List? ListType122 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType118 { get; set; } + public global::System.Collections.Generic.List? ListType123 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType119 { get; set; } + public global::System.Collections.Generic.List? ListType124 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType120 { get; set; } + public global::System.Collections.Generic.List? ListType125 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType121 { get; set; } + public global::System.Collections.Generic.List? ListType126 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType122 { get; set; } + public global::System.Collections.Generic.List? ListType127 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType123 { get; set; } + public global::System.Collections.Generic.List? ListType128 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType124 { get; set; } + public global::System.Collections.Generic.List? ListType129 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType125 { get; set; } + public global::System.Collections.Generic.List? ListType130 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType126 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools>? ListType131 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType127 { get; set; } + public global::System.Collections.Generic.List? ListType132 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType128 { get; set; } + public global::System.Collections.Generic.List? ListType133 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools>? ListType129 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? ListType134 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType130 { get; set; } + public global::System.Collections.Generic.List? ListType135 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType131 { get; set; } + public global::OpenRouter.AnyOf>? ListType136 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? ListType132 { get; set; } + public global::System.Collections.Generic.List? ListType137 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType133 { get; set; } + public global::System.Collections.Generic.List? ListType138 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType134 { get; set; } + public global::System.Collections.Generic.List? ListType139 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType135 { get; set; } + public global::System.Collections.Generic.List? ListType140 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType136 { get; set; } + public global::OpenRouter.AnyOf>? ListType141 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType137 { get; set; } + public global::System.Collections.Generic.List? ListType142 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType138 { get; set; } + public global::System.Collections.Generic.List? ListType143 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType139 { get; set; } + public global::System.Collections.Generic.List? ListType144 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType140 { get; set; } + public global::System.Collections.Generic.List? ListType145 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType141 { get; set; } + public global::System.Collections.Generic.List? ListType146 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType142 { get; set; } + public global::System.Collections.Generic.List? ListType147 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType143 { get; set; } + public global::System.Collections.Generic.List? ListType148 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType144 { get; set; } + public global::System.Collections.Generic.List>? ListType149 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType145 { get; set; } + public global::System.Collections.Generic.List? ListType150 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType146 { get; set; } + public global::System.Collections.Generic.List? ListType151 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType147 { get; set; } + public global::System.Collections.Generic.List? ListType152 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType148 { get; set; } + public global::System.Collections.Generic.List? ListType153 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType149 { get; set; } + public global::System.Collections.Generic.List? ListType154 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType150 { get; set; } + public global::OpenRouter.AnyOf>? ListType155 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType151 { get; set; } + public global::System.Collections.Generic.List? ListType156 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType152 { get; set; } + public global::System.Collections.Generic.List? ListType157 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType153 { get; set; } + public global::OpenRouter.AnyOf>? ListType158 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType154 { get; set; } + public global::System.Collections.Generic.List? ListType159 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType155 { get; set; } + public global::System.Collections.Generic.List? ListType160 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType156 { get; set; } + public global::System.Collections.Generic.List? ListType161 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType157 { get; set; } + public global::System.Collections.Generic.List? ListType162 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType158 { get; set; } + public global::System.Collections.Generic.List? ListType163 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType159 { get; set; } + public global::System.Collections.Generic.List? ListType164 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType160 { get; set; } + public global::System.Collections.Generic.List? ListType165 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType161 { get; set; } + public global::System.Collections.Generic.List? ListType166 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType162 { get; set; } + public global::System.Collections.Generic.List? ListType167 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType163 { get; set; } + public global::System.Collections.Generic.List? ListType168 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType164 { get; set; } + public global::System.Collections.Generic.List? ListType169 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType165 { get; set; } + public global::System.Collections.Generic.List? ListType170 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType166 { get; set; } + public global::System.Collections.Generic.List? ListType171 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType167 { get; set; } + public global::System.Collections.Generic.List? ListType172 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType168 { get; set; } + public global::System.Collections.Generic.List? ListType173 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType169 { get; set; } + public global::System.Collections.Generic.List? ListType174 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType170 { get; set; } + public global::System.Collections.Generic.List? ListType175 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType171 { get; set; } + public global::System.Collections.Generic.List? ListType176 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType172 { get; set; } + public global::System.Collections.Generic.List? ListType177 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType173 { get; set; } + public global::System.Collections.Generic.List? ListType178 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType174 { get; set; } + public global::System.Collections.Generic.List? ListType179 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType175 { get; set; } + public global::System.Collections.Generic.List? ListType180 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType176 { get; set; } + public global::System.Collections.Generic.List? ListType181 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType177 { get; set; } + public global::OpenRouter.AnyOf>? ListType182 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType178 { get; set; } + public global::System.Collections.Generic.List? ListType183 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType179 { get; set; } + public global::System.Collections.Generic.List? ListType184 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType180 { get; set; } + public global::System.Collections.Generic.List? ListType185 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType181 { get; set; } + public global::System.Collections.Generic.List? ListType186 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType182 { get; set; } + public global::System.Collections.Generic.List? ListType187 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType183 { get; set; } + public global::System.Collections.Generic.List? ListType188 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType184 { get; set; } + public global::System.Collections.Generic.List? ListType189 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType185 { get; set; } + public global::System.Collections.Generic.List? ListType190 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType186 { get; set; } + public global::System.Collections.Generic.List? ListType191 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType187 { get; set; } + public global::System.Collections.Generic.List? ListType192 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType188 { get; set; } + public global::System.Collections.Generic.List? ListType193 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType189 { get; set; } + public global::System.Collections.Generic.List? ListType194 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType190 { get; set; } + public global::System.Collections.Generic.List? ListType195 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType191 { get; set; } + public global::System.Collections.Generic.List? ListType196 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType192 { get; set; } + public global::System.Collections.Generic.List? ListType197 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType193 { get; set; } + public global::System.Collections.Generic.List? ListType198 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType194 { get; set; } + public global::System.Collections.Generic.List? ListType199 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType195 { get; set; } + public global::System.Collections.Generic.List? ListType200 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType196 { get; set; } + public global::System.Collections.Generic.List? ListType201 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType197 { get; set; } + public global::System.Collections.Generic.List? ListType202 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType198 { get; set; } + public global::System.Collections.Generic.List? ListType203 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType199 { get; set; } + public global::System.Collections.Generic.List? ListType204 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType200 { get; set; } + public global::System.Collections.Generic.List? ListType205 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType201 { get; set; } + public global::System.Collections.Generic.List? ListType206 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType202 { get; set; } + public global::System.Collections.Generic.List? ListType207 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType203 { get; set; } + public global::System.Collections.Generic.List? ListType208 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType204 { get; set; } + public global::System.Collections.Generic.List? ListType209 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType205 { get; set; } + public global::System.Collections.Generic.List? ListType210 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType206 { get; set; } + public global::System.Collections.Generic.List? ListType211 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType207 { get; set; } + public global::System.Collections.Generic.List? ListType212 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType208 { get; set; } + public global::System.Collections.Generic.List? ListType213 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType209 { get; set; } + public global::System.Collections.Generic.List? ListType214 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType210 { get; set; } + public global::System.Collections.Generic.List? ListType215 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType211 { get; set; } + public global::System.Collections.Generic.List? ListType216 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType212 { get; set; } + public global::System.Collections.Generic.List? ListType217 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType213 { get; set; } + public global::System.Collections.Generic.List? ListType218 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType214 { get; set; } + public global::System.Collections.Generic.List>? ListType219 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType215 { get; set; } + public global::System.Collections.Generic.List? ListType220 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType216 { get; set; } + public global::System.Collections.Generic.List? ListType221 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType217 { get; set; } + public global::System.Collections.Generic.List? ListType222 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType218 { get; set; } + public global::System.Collections.Generic.List? ListType223 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType219 { get; set; } + public global::System.Collections.Generic.List? ListType224 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType220 { get; set; } + public global::System.Collections.Generic.List? ListType225 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType221 { get; set; } + public global::System.Collections.Generic.List? ListType226 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType222 { get; set; } + public global::System.Collections.Generic.List? ListType227 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType223 { get; set; } + public global::System.Collections.Generic.List? ListType228 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType224 { get; set; } + public global::System.Collections.Generic.List? ListType229 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType225 { get; set; } + public global::System.Collections.Generic.List? ListType230 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? ListType226 { get; set; } + public global::OpenRouter.AnyOf>>? ListType231 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType227 { get; set; } + public global::System.Collections.Generic.List? ListType232 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType228 { get; set; } + public global::System.Collections.Generic.List? ListType233 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>, global::System.Collections.Generic.List>? ListType229 { get; set; } + public global::OpenRouter.AnyOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>, global::System.Collections.Generic.List>? ListType234 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType230 { get; set; } + public global::System.Collections.Generic.List>? ListType235 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType231 { get; set; } + public global::System.Collections.Generic.List? ListType236 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType232 { get; set; } + public global::System.Collections.Generic.List>? ListType237 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType233 { get; set; } + public global::System.Collections.Generic.List? ListType238 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType234 { get; set; } + public global::System.Collections.Generic.List? ListType239 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType235 { get; set; } + public global::System.Collections.Generic.List? ListType240 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType236 { get; set; } + public global::System.Collections.Generic.List? ListType241 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType237 { get; set; } + public global::System.Collections.Generic.List? ListType242 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType238 { get; set; } + public global::System.Collections.Generic.List? ListType243 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType239 { get; set; } + public global::System.Collections.Generic.List? ListType244 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType240 { get; set; } + public global::System.Collections.Generic.List? ListType245 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType241 { get; set; } + public global::System.Collections.Generic.List? ListType246 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType242 { get; set; } + public global::System.Collections.Generic.List? ListType247 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType243 { get; set; } + public global::System.Collections.Generic.List? ListType248 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType244 { get; set; } + public global::System.Collections.Generic.List? ListType249 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType245 { get; set; } + public global::System.Collections.Generic.List? ListType250 { get; set; } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemTool.g.cs index 5a9d4a61..3fd7b27b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemTool.g.cs @@ -8,6 +8,12 @@ namespace OpenRouter /// public sealed partial class AdditionalToolsItemTool { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allowed_callers")] + public global::System.Collections.Generic.IList? AllowedCallers { get; set; } + /// /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
/// Example: true @@ -17,13 +23,19 @@ public sealed partial class AdditionalToolsItemTool public bool? Async { get; set; } /// - /// Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.
+ /// Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.
/// Example: true ///
/// true [global::System.Text.Json.Serialization.JsonPropertyName("defer_loading")] public bool? DeferLoading { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("output_schema")] + public object? OutputSchema { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -33,23 +45,29 @@ public sealed partial class AdditionalToolsItemTool /// /// Initializes a new instance of the class. /// + /// /// /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
/// Example: true /// /// - /// Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.
+ /// Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.
/// Example: true /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AdditionalToolsItemTool( + global::System.Collections.Generic.IList? allowedCallers, bool? async, - bool? deferLoading) + bool? deferLoading, + object? outputSchema) { + this.AllowedCallers = allowedCallers; this.Async = async; this.DeferLoading = deferLoading; + this.OutputSchema = outputSchema; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolAllowedCaller.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolAllowedCaller.g.cs new file mode 100644 index 00000000..011700e4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolAllowedCaller.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct AdditionalToolsItemToolAllowedCaller : global::System.IEquatable + { + /// + /// + /// + public AdditionalToolsItemToolAllowedCaller(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static AdditionalToolsItemToolAllowedCaller Direct { get; } = new("direct"); + + /// + /// + /// + public static AdditionalToolsItemToolAllowedCaller Programmatic { get; } = new("programmatic"); + /// + /// + /// + public static AdditionalToolsItemToolAllowedCaller FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "direct" => Direct, + "programmatic" => Programmatic, + _ => new AdditionalToolsItemToolAllowedCaller(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "direct" => true, + "programmatic" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(AdditionalToolsItemToolAllowedCaller other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AdditionalToolsItemToolAllowedCaller other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(AdditionalToolsItemToolAllowedCaller left, AdditionalToolsItemToolAllowedCaller right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(AdditionalToolsItemToolAllowedCaller left, AdditionalToolsItemToolAllowedCaller right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AdditionalToolsItemToolAllowedCallerExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AdditionalToolsItemToolAllowedCaller value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static AdditionalToolsItemToolAllowedCaller? ToEnum(string value) + { + return AdditionalToolsItemToolAllowedCaller.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolOutputSchema.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolOutputSchema.Json.g.cs new file mode 100644 index 00000000..151b8fac --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolOutputSchema.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AdditionalToolsItemToolOutputSchema + { + /// + /// 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.AdditionalToolsItemToolOutputSchema? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AdditionalToolsItemToolOutputSchema), + jsonSerializerContext) as global::OpenRouter.AdditionalToolsItemToolOutputSchema; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.AdditionalToolsItemToolOutputSchema? 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.AdditionalToolsItemToolOutputSchema? 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.AdditionalToolsItemToolOutputSchema), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AdditionalToolsItemToolOutputSchema; + } + + /// + /// 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.AdditionalToolsItemToolOutputSchema.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolOutputSchema.g.cs new file mode 100644 index 00000000..fe0674b0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolOutputSchema.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AdditionalToolsItemToolOutputSchema + { + + /// + /// 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.AdditionalToolsItemToolOutputSchema2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolOutputSchema2.Json.g.cs new file mode 100644 index 00000000..39798845 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolOutputSchema2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AdditionalToolsItemToolOutputSchema2 + { + /// + /// 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.AdditionalToolsItemToolOutputSchema2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AdditionalToolsItemToolOutputSchema2), + jsonSerializerContext) as global::OpenRouter.AdditionalToolsItemToolOutputSchema2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.AdditionalToolsItemToolOutputSchema2? 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.AdditionalToolsItemToolOutputSchema2? 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.AdditionalToolsItemToolOutputSchema2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AdditionalToolsItemToolOutputSchema2; + } + + /// + /// 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.AdditionalToolsItemToolOutputSchema2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolOutputSchema2.g.cs new file mode 100644 index 00000000..b16e0e0a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AdditionalToolsItemToolOutputSchema2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AdditionalToolsItemToolOutputSchema2 + { + + /// + /// 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.AlignmentPlugin.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AlignmentPlugin.g.cs index 5be421f3..e98d2cbe 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AlignmentPlugin.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AlignmentPlugin.g.cs @@ -4,7 +4,7 @@ namespace OpenRouter { /// - /// Beta. States the listed rules to the model and evaluates every turn against them. Requests are evaluated only for entities admitted to the beta; the configuration, metadata, and error shapes may change.
+ /// Beta. States the listed rules to the model and evaluates every turn against them; the configuration, metadata, and error shapes may change.
/// Example: {"id":"alignment","mode":"audit","rules":["Never offer a discount."]} ///
public sealed partial class AlignmentPlugin diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1.g.cs index 581c8c2f..cd16e141 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1.g.cs @@ -8,6 +8,12 @@ namespace OpenRouter ///
public sealed partial class BaseResponsesResultToolVariant1 { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allowed_callers")] + public global::System.Collections.Generic.IList? AllowedCallers { get; set; } + /// /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
/// Example: true @@ -17,13 +23,19 @@ public sealed partial class BaseResponsesResultToolVariant1 public bool? Async { get; set; } /// - /// Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.
+ /// Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.
/// Example: true ///
/// true [global::System.Text.Json.Serialization.JsonPropertyName("defer_loading")] public bool? DeferLoading { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("output_schema")] + public object? OutputSchema { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -33,23 +45,29 @@ public sealed partial class BaseResponsesResultToolVariant1 /// /// Initializes a new instance of the class. /// + /// /// /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
/// Example: true /// /// - /// Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.
+ /// Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.
/// Example: true /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public BaseResponsesResultToolVariant1( + global::System.Collections.Generic.IList? allowedCallers, bool? async, - bool? deferLoading) + bool? deferLoading, + object? outputSchema) { + this.AllowedCallers = allowedCallers; this.Async = async; this.DeferLoading = deferLoading; + this.OutputSchema = outputSchema; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1AllowedCaller.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1AllowedCaller.g.cs new file mode 100644 index 00000000..f191890e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1AllowedCaller.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct BaseResponsesResultToolVariant1AllowedCaller : global::System.IEquatable + { + /// + /// + /// + public BaseResponsesResultToolVariant1AllowedCaller(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static BaseResponsesResultToolVariant1AllowedCaller Direct { get; } = new("direct"); + + /// + /// + /// + public static BaseResponsesResultToolVariant1AllowedCaller Programmatic { get; } = new("programmatic"); + /// + /// + /// + public static BaseResponsesResultToolVariant1AllowedCaller FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "direct" => Direct, + "programmatic" => Programmatic, + _ => new BaseResponsesResultToolVariant1AllowedCaller(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "direct" => true, + "programmatic" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(BaseResponsesResultToolVariant1AllowedCaller other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is BaseResponsesResultToolVariant1AllowedCaller other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(BaseResponsesResultToolVariant1AllowedCaller left, BaseResponsesResultToolVariant1AllowedCaller right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(BaseResponsesResultToolVariant1AllowedCaller left, BaseResponsesResultToolVariant1AllowedCaller right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BaseResponsesResultToolVariant1AllowedCallerExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BaseResponsesResultToolVariant1AllowedCaller value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static BaseResponsesResultToolVariant1AllowedCaller? ToEnum(string value) + { + return BaseResponsesResultToolVariant1AllowedCaller.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1OutputSchema.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1OutputSchema.Json.g.cs new file mode 100644 index 00000000..24403877 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1OutputSchema.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class BaseResponsesResultToolVariant1OutputSchema + { + /// + /// 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.BaseResponsesResultToolVariant1OutputSchema? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.BaseResponsesResultToolVariant1OutputSchema), + jsonSerializerContext) as global::OpenRouter.BaseResponsesResultToolVariant1OutputSchema; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.BaseResponsesResultToolVariant1OutputSchema? 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.BaseResponsesResultToolVariant1OutputSchema? 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.BaseResponsesResultToolVariant1OutputSchema), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.BaseResponsesResultToolVariant1OutputSchema; + } + + /// + /// 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.BaseResponsesResultToolVariant1OutputSchema.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1OutputSchema.g.cs new file mode 100644 index 00000000..aa04f927 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1OutputSchema.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class BaseResponsesResultToolVariant1OutputSchema + { + + /// + /// 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.BaseResponsesResultToolVariant1OutputSchema2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1OutputSchema2.Json.g.cs new file mode 100644 index 00000000..8021f870 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1OutputSchema2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class BaseResponsesResultToolVariant1OutputSchema2 + { + /// + /// 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.BaseResponsesResultToolVariant1OutputSchema2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.BaseResponsesResultToolVariant1OutputSchema2), + jsonSerializerContext) as global::OpenRouter.BaseResponsesResultToolVariant1OutputSchema2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.BaseResponsesResultToolVariant1OutputSchema2? 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.BaseResponsesResultToolVariant1OutputSchema2? 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.BaseResponsesResultToolVariant1OutputSchema2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.BaseResponsesResultToolVariant1OutputSchema2; + } + + /// + /// 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.BaseResponsesResultToolVariant1OutputSchema2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1OutputSchema2.g.cs new file mode 100644 index 00000000..534668ef --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolVariant1OutputSchema2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class BaseResponsesResultToolVariant1OutputSchema2 + { + + /// + /// 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.ChatFunctionToolVariant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionToolVariant1.g.cs index b778888c..e6571258 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionToolVariant1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionToolVariant1.g.cs @@ -17,6 +17,12 @@ public sealed partial class ChatFunctionToolVariant1 [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ChatContentCacheControlJsonConverter))] public global::OpenRouter.ChatContentCacheControl? CacheControl { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("defer_loading")] + public bool? DeferLoading { get; set; } + /// /// Function definition for tool calling
/// Example: {"description":"Get the current weather for a location","name":"get_weather","parameters":{"properties":{"location":{"description":"City name","type":"string"}},"required":["location"],"type":"object"}} @@ -50,6 +56,7 @@ public sealed partial class ChatFunctionToolVariant1 /// Anthropic-style cache breakpoint for the content part. Interchangeable with the OpenAI-style `prompt_cache_breakpoint` marker: OpenRouter converts between the two based on the provider serving the request.
/// Example: {"ttl":"5m","type":"ephemeral"} /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -57,9 +64,11 @@ public sealed partial class ChatFunctionToolVariant1 public ChatFunctionToolVariant1( global::OpenRouter.ChatFunctionToolVariant1Function function, global::OpenRouter.ChatContentCacheControl? cacheControl, + bool? deferLoading, global::OpenRouter.ChatFunctionToolVariant1Type type) { this.CacheControl = cacheControl; + this.DeferLoading = deferLoading; this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionToolVariant1Function.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionToolVariant1Function.g.cs index 11be2c4c..9d75d35d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionToolVariant1Function.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionToolVariant1Function.g.cs @@ -9,6 +9,12 @@ namespace OpenRouter ///
public sealed partial class ChatFunctionToolVariant1Function { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("defer_loading")] + public bool? DeferLoading { get; set; } + /// /// Function description for the model
/// Example: Get the current weather for a location @@ -55,6 +61,7 @@ public sealed partial class ChatFunctionToolVariant1Function /// Function name (a-z, A-Z, 0-9, underscores, dashes, max 64 chars)
/// Example: get_weather /// + /// /// /// Function description for the model
/// Example: Get the current weather for a location @@ -72,10 +79,12 @@ public sealed partial class ChatFunctionToolVariant1Function #endif public ChatFunctionToolVariant1Function( string name, + bool? deferLoading, string? description, object? parameters, bool? strict) { + this.DeferLoading = deferLoading; this.Description = description; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Parameters = parameters; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs index 90345fed..75dfa9bd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs @@ -27,6 +27,14 @@ public sealed partial class ChatRequest [global::System.Text.Json.Serialization.JsonPropertyName("debug")] public global::OpenRouter.ChatDebugOptions? Debug { get; set; } + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + ///
+ /// {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + [global::System.Text.Json.Serialization.JsonPropertyName("deferred_tools")] + public global::OpenRouter.DeferredToolsControl? DeferredTools { get; set; } + /// /// Frequency penalty (-2.0 to 2.0)
/// Example: 0 @@ -371,6 +379,10 @@ public sealed partial class ChatRequest /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// Frequency penalty (-2.0 to 2.0)
/// Example: 0 @@ -526,6 +538,7 @@ public ChatRequest( global::System.Collections.Generic.IList messages, global::OpenRouter.AnthropicCacheControlDirective? cacheControl, global::OpenRouter.ChatDebugOptions? debug, + global::OpenRouter.DeferredToolsControl? deferredTools, double? frequencyPenalty, global::OpenRouter.ImageConfig? imageConfig, global::System.Collections.Generic.Dictionary? logitBias, @@ -567,6 +580,7 @@ public ChatRequest( { this.CacheControl = cacheControl; this.Debug = debug; + this.DeferredTools = deferredTools; this.FrequencyPenalty = frequencyPenalty; this.ImageConfig = imageConfig; this.LogitBias = logitBias; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomTool.g.cs index 0eaaab26..f35201e5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomTool.g.cs @@ -17,6 +17,12 @@ public sealed partial class CustomTool [global::System.Text.Json.Serialization.JsonPropertyName("async")] public bool? Async { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("defer_loading")] + public bool? DeferLoading { get; set; } + /// /// /// @@ -58,6 +64,7 @@ public sealed partial class CustomTool /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
/// Example: true /// + /// /// /// /// @@ -67,11 +74,13 @@ public sealed partial class CustomTool public CustomTool( string name, bool? async, + bool? deferLoading, string? description, global::OpenRouter.AnyOf? format, global::OpenRouter.CustomToolType type) { this.Async = async; + this.DeferLoading = deferLoading; this.Description = description; this.Format = format; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredBm25Search.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredBm25Search.Json.g.cs new file mode 100644 index 00000000..fd1570d4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredBm25Search.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class DeferredBm25Search + { + /// + /// 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.DeferredBm25Search? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.DeferredBm25Search), + jsonSerializerContext) as global::OpenRouter.DeferredBm25Search; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.DeferredBm25Search? 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.DeferredBm25Search? 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.DeferredBm25Search), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.DeferredBm25Search; + } + + /// + /// 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.DeferredBm25Search.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredBm25Search.g.cs new file mode 100644 index 00000000..60d309d5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredBm25Search.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Deterministic BM25 retrieval over supplied tool definitions.
+ /// Example: {"max_results":5,"type":"bm25"} + ///
+ public sealed partial class DeferredBm25Search + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_results")] + public int? MaxResults { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DeferredBm25SearchTypeJsonConverter))] + public global::OpenRouter.DeferredBm25SearchType Type { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DeferredBm25Search( + int? maxResults, + global::OpenRouter.DeferredBm25SearchType type) + { + this.MaxResults = maxResults; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public DeferredBm25Search() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredBm25SearchType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredBm25SearchType.g.cs new file mode 100644 index 00000000..15684a70 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredBm25SearchType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum DeferredBm25SearchType + { + /// + /// + /// + Bm25, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DeferredBm25SearchTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DeferredBm25SearchType value) + { + return value switch + { + DeferredBm25SearchType.Bm25 => "bm25", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DeferredBm25SearchType? ToEnum(string value) + { + return value switch + { + "bm25" => DeferredBm25SearchType.Bm25, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredCustomSearch.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredCustomSearch.Json.g.cs new file mode 100644 index 00000000..1e52dcf8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredCustomSearch.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class DeferredCustomSearch + { + /// + /// 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.DeferredCustomSearch? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.DeferredCustomSearch), + jsonSerializerContext) as global::OpenRouter.DeferredCustomSearch; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.DeferredCustomSearch? 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.DeferredCustomSearch? 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.DeferredCustomSearch), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.DeferredCustomSearch; + } + + /// + /// 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.DeferredCustomSearch.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredCustomSearch.g.cs new file mode 100644 index 00000000..92b63ba9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredCustomSearch.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Caller-executed search returning existing tool identities under result_key.
+ /// Example: {"max_results":5,"result_key":"tool_names","tool_id":"search_catalog","type":"custom"} + ///
+ public sealed partial class DeferredCustomSearch + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_results")] + public int? MaxResults { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("result_key")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ResultKey { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tool_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ToolId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DeferredCustomSearchTypeJsonConverter))] + public global::OpenRouter.DeferredCustomSearchType Type { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DeferredCustomSearch( + string resultKey, + string toolId, + int? maxResults, + global::OpenRouter.DeferredCustomSearchType type) + { + this.MaxResults = maxResults; + this.ResultKey = resultKey ?? throw new global::System.ArgumentNullException(nameof(resultKey)); + this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public DeferredCustomSearch() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredCustomSearchType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredCustomSearchType.g.cs new file mode 100644 index 00000000..6fb5733a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredCustomSearchType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum DeferredCustomSearchType + { + /// + /// + /// + Custom, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DeferredCustomSearchTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DeferredCustomSearchType value) + { + return value switch + { + DeferredCustomSearchType.Custom => "custom", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DeferredCustomSearchType? ToEnum(string value) + { + return value switch + { + "custom" => DeferredCustomSearchType.Custom, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredRegexSearch.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredRegexSearch.Json.g.cs new file mode 100644 index 00000000..a17e7179 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredRegexSearch.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class DeferredRegexSearch + { + /// + /// 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.DeferredRegexSearch? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.DeferredRegexSearch), + jsonSerializerContext) as global::OpenRouter.DeferredRegexSearch; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.DeferredRegexSearch? 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.DeferredRegexSearch? 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.DeferredRegexSearch), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.DeferredRegexSearch; + } + + /// + /// 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.DeferredRegexSearch.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredRegexSearch.g.cs new file mode 100644 index 00000000..7e6fbf1e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredRegexSearch.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Versioned safe-regex retrieval over supplied tool definitions.
+ /// Example: {"max_results":5,"type":"regex"} + ///
+ public sealed partial class DeferredRegexSearch + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_results")] + public int? MaxResults { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DeferredRegexSearchTypeJsonConverter))] + public global::OpenRouter.DeferredRegexSearchType Type { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DeferredRegexSearch( + int? maxResults, + global::OpenRouter.DeferredRegexSearchType type) + { + this.MaxResults = maxResults; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public DeferredRegexSearch() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredRegexSearchType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredRegexSearchType.g.cs new file mode 100644 index 00000000..041754ff --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredRegexSearchType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum DeferredRegexSearchType + { + /// + /// + /// + Regex, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DeferredRegexSearchTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DeferredRegexSearchType value) + { + return value switch + { + DeferredRegexSearchType.Regex => "regex", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DeferredRegexSearchType? ToEnum(string value) + { + return value switch + { + "regex" => DeferredRegexSearchType.Regex, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControl.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControl.Json.g.cs new file mode 100644 index 00000000..0f180182 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControl.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class DeferredToolsControl + { + /// + /// 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.DeferredToolsControl? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.DeferredToolsControl), + jsonSerializerContext) as global::OpenRouter.DeferredToolsControl; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.DeferredToolsControl? 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.DeferredToolsControl? 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.DeferredToolsControl), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.DeferredToolsControl; + } + + /// + /// 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.DeferredToolsControl.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControl.g.cs new file mode 100644 index 00000000..713c9174 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControl.g.cs @@ -0,0 +1,86 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + ///
+ public sealed partial class DeferredToolsControl + { + /// + /// Loading profile. Only `portable` is available in this release: OpenRouter serves deferral with router-built search and call wrappers on any model. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("profile")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DeferredToolsControlProfileJsonConverter))] + public global::OpenRouter.DeferredToolsControlProfile Profile { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("protocol")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DeferredToolsControlProtocolJsonConverter))] + public global::OpenRouter.DeferredToolsControlProtocol Protocol { get; set; } + + /// + /// Router-local regex/BM25 or caller-owned custom search.
+ /// Example: {"max_results":5,"type":"bm25"} + ///
+ /// {"max_results":5,"type":"bm25"} + [global::System.Text.Json.Serialization.JsonPropertyName("search")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DeferredToolsSearchStrategyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.DeferredToolsSearchStrategy Search { get; set; } + + /// + /// Where tool-call arguments are checked against the original schema. Only `runtime` (in OpenRouter) is available in this release. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("validation")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DeferredToolsControlValidationJsonConverter))] + public global::OpenRouter.DeferredToolsControlValidation Validation { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Router-local regex/BM25 or caller-owned custom search.
+ /// Example: {"max_results":5,"type":"bm25"} + /// + /// + /// Loading profile. Only `portable` is available in this release: OpenRouter serves deferral with router-built search and call wrappers on any model. + /// + /// + /// + /// Where tool-call arguments are checked against the original schema. Only `runtime` (in OpenRouter) is available in this release. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DeferredToolsControl( + global::OpenRouter.DeferredToolsSearchStrategy search, + global::OpenRouter.DeferredToolsControlProfile profile, + global::OpenRouter.DeferredToolsControlProtocol protocol, + global::OpenRouter.DeferredToolsControlValidation validation) + { + this.Profile = profile; + this.Protocol = protocol; + this.Search = search; + this.Validation = validation; + } + + /// + /// Initializes a new instance of the class. + /// + public DeferredToolsControl() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControlProfile.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControlProfile.g.cs new file mode 100644 index 00000000..9ece60e6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControlProfile.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Loading profile. Only `portable` is available in this release: OpenRouter serves deferral with router-built search and call wrappers on any model. + /// + public enum DeferredToolsControlProfile + { + /// + /// OpenRouter serves deferral with router-built search and call wrappers on any model. + /// + Portable, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DeferredToolsControlProfileExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DeferredToolsControlProfile value) + { + return value switch + { + DeferredToolsControlProfile.Portable => "portable", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DeferredToolsControlProfile? ToEnum(string value) + { + return value switch + { + "portable" => DeferredToolsControlProfile.Portable, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControlProtocol.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControlProtocol.g.cs new file mode 100644 index 00000000..3a2a56d4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControlProtocol.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum DeferredToolsControlProtocol + { + /// + /// + /// + V1, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DeferredToolsControlProtocolExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DeferredToolsControlProtocol value) + { + return value switch + { + DeferredToolsControlProtocol.V1 => "v1", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DeferredToolsControlProtocol? ToEnum(string value) + { + return value switch + { + "v1" => DeferredToolsControlProtocol.V1, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControlValidation.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControlValidation.g.cs new file mode 100644 index 00000000..15bcca20 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsControlValidation.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Where tool-call arguments are checked against the original schema. Only `runtime` (in OpenRouter) is available in this release. + /// + public enum DeferredToolsControlValidation + { + /// + /// + /// + Runtime, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DeferredToolsControlValidationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DeferredToolsControlValidation value) + { + return value switch + { + DeferredToolsControlValidation.Runtime => "runtime", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DeferredToolsControlValidation? ToEnum(string value) + { + return value switch + { + "runtime" => DeferredToolsControlValidation.Runtime, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategy.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategy.Json.g.cs new file mode 100644 index 00000000..f19bc968 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategy.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct DeferredToolsSearchStrategy + { + /// + /// 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.DeferredToolsSearchStrategy? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.DeferredToolsSearchStrategy), + jsonSerializerContext) as global::OpenRouter.DeferredToolsSearchStrategy?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.DeferredToolsSearchStrategy? 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.DeferredToolsSearchStrategy? 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.DeferredToolsSearchStrategy), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.DeferredToolsSearchStrategy?; + } + + /// + /// 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.DeferredToolsSearchStrategy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategy.g.cs new file mode 100644 index 00000000..aed43ac8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategy.g.cs @@ -0,0 +1,390 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// Router-local regex/BM25 or caller-owned custom search.
+ /// Example: {"max_results":5,"type":"bm25"} + ///
+ public readonly partial struct DeferredToolsSearchStrategy : global::System.IEquatable + { + /// + /// + /// + public global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? Type { get; } + + /// + /// Versioned safe-regex retrieval over supplied tool definitions.
+ /// Example: {"max_results":5,"type":"regex"} + ///
+#if NET6_0_OR_GREATER + public global::OpenRouter.DeferredRegexSearch? Regex { get; init; } +#else + public global::OpenRouter.DeferredRegexSearch? Regex { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Regex))] +#endif + public bool IsRegex => Regex != null; + + /// + /// + /// + public bool TryPickRegex( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.DeferredRegexSearch? value) + { + value = Regex; + return IsRegex; + } + + /// + /// + /// + public global::OpenRouter.DeferredRegexSearch PickRegex() => Regex is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Regex' but the value was {ToString()}."); + + /// + /// Deterministic BM25 retrieval over supplied tool definitions.
+ /// Example: {"max_results":5,"type":"bm25"} + ///
+#if NET6_0_OR_GREATER + public global::OpenRouter.DeferredBm25Search? Bm25 { get; init; } +#else + public global::OpenRouter.DeferredBm25Search? Bm25 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Bm25))] +#endif + public bool IsBm25 => Bm25 != null; + + /// + /// + /// + public bool TryPickBm25( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.DeferredBm25Search? value) + { + value = Bm25; + return IsBm25; + } + + /// + /// + /// + public global::OpenRouter.DeferredBm25Search PickBm25() => Bm25 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Bm25' but the value was {ToString()}."); + + /// + /// Caller-executed search returning existing tool identities under result_key.
+ /// Example: {"max_results":5,"result_key":"tool_names","tool_id":"search_catalog","type":"custom"} + ///
+#if NET6_0_OR_GREATER + public global::OpenRouter.DeferredCustomSearch? Custom { get; init; } +#else + public global::OpenRouter.DeferredCustomSearch? Custom { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Custom))] +#endif + public bool IsCustom => Custom != null; + + /// + /// + /// + public bool TryPickCustom( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.DeferredCustomSearch? value) + { + value = Custom; + return IsCustom; + } + + /// + /// + /// + public global::OpenRouter.DeferredCustomSearch PickCustom() => Custom is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator DeferredToolsSearchStrategy(global::OpenRouter.DeferredRegexSearch value) => new DeferredToolsSearchStrategy((global::OpenRouter.DeferredRegexSearch?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.DeferredRegexSearch?(DeferredToolsSearchStrategy @this) => @this.Regex; + + /// + /// + /// + public DeferredToolsSearchStrategy(global::OpenRouter.DeferredRegexSearch? value) + { + Regex = value; + } + + /// + /// + /// + public static DeferredToolsSearchStrategy FromRegex(global::OpenRouter.DeferredRegexSearch? value) => new DeferredToolsSearchStrategy(value); + + /// + /// + /// + public static implicit operator DeferredToolsSearchStrategy(global::OpenRouter.DeferredBm25Search value) => new DeferredToolsSearchStrategy((global::OpenRouter.DeferredBm25Search?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.DeferredBm25Search?(DeferredToolsSearchStrategy @this) => @this.Bm25; + + /// + /// + /// + public DeferredToolsSearchStrategy(global::OpenRouter.DeferredBm25Search? value) + { + Bm25 = value; + } + + /// + /// + /// + public static DeferredToolsSearchStrategy FromBm25(global::OpenRouter.DeferredBm25Search? value) => new DeferredToolsSearchStrategy(value); + + /// + /// + /// + public static implicit operator DeferredToolsSearchStrategy(global::OpenRouter.DeferredCustomSearch value) => new DeferredToolsSearchStrategy((global::OpenRouter.DeferredCustomSearch?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.DeferredCustomSearch?(DeferredToolsSearchStrategy @this) => @this.Custom; + + /// + /// + /// + public DeferredToolsSearchStrategy(global::OpenRouter.DeferredCustomSearch? value) + { + Custom = value; + } + + /// + /// + /// + public static DeferredToolsSearchStrategy FromCustom(global::OpenRouter.DeferredCustomSearch? value) => new DeferredToolsSearchStrategy(value); + + /// + /// + /// + public DeferredToolsSearchStrategy( + global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? type, + global::OpenRouter.DeferredRegexSearch? regex, + global::OpenRouter.DeferredBm25Search? bm25, + global::OpenRouter.DeferredCustomSearch? custom + ) + { + Type = type; + + Regex = regex; + Bm25 = bm25; + Custom = custom; + } + + /// + /// + /// + public object? Object => + Custom as object ?? + Bm25 as object ?? + Regex as object + ; + + /// + /// + /// + public override string? ToString() => + Regex?.ToString() ?? + Bm25?.ToString() ?? + Custom?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsRegex && !IsBm25 && !IsCustom || !IsRegex && IsBm25 && !IsCustom || !IsRegex && !IsBm25 && IsCustom; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? regex = null, + global::System.Func? bm25 = null, + global::System.Func? custom = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Regex is { } __value0 && regex != null) + { + return regex(__value0); + } + else if (Bm25 is { } __value1 && bm25 != null) + { + return bm25(__value1); + } + else if (Custom is { } __value2 && custom != null) + { + return custom(__value2); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? regex = null, + + global::System.Action? bm25 = null, + + global::System.Action? custom = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Regex is { } __value0) + { + regex?.Invoke(__value0); + } + else if (Bm25 is { } __value1) + { + bm25?.Invoke(__value1); + } + else if (Custom is { } __value2) + { + custom?.Invoke(__value2); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? regex = null, + global::System.Action? bm25 = null, + global::System.Action? custom = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Regex is { } __value0) + { + regex?.Invoke(__value0); + } + else if (Bm25 is { } __value1) + { + bm25?.Invoke(__value1); + } + else if (Custom is { } __value2) + { + custom?.Invoke(__value2); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Regex, + typeof(global::OpenRouter.DeferredRegexSearch), + Bm25, + typeof(global::OpenRouter.DeferredBm25Search), + Custom, + typeof(global::OpenRouter.DeferredCustomSearch), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(DeferredToolsSearchStrategy other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Regex, other.Regex) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Bm25, other.Bm25) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + ; + } + + /// + /// + /// + public static bool operator ==(DeferredToolsSearchStrategy obj1, DeferredToolsSearchStrategy obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(DeferredToolsSearchStrategy obj1, DeferredToolsSearchStrategy obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is DeferredToolsSearchStrategy o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategyDiscriminator.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategyDiscriminator.Json.g.cs new file mode 100644 index 00000000..918ef716 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategyDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class DeferredToolsSearchStrategyDiscriminator + { + /// + /// 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.DeferredToolsSearchStrategyDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.DeferredToolsSearchStrategyDiscriminator), + jsonSerializerContext) as global::OpenRouter.DeferredToolsSearchStrategyDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.DeferredToolsSearchStrategyDiscriminator? 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.DeferredToolsSearchStrategyDiscriminator? 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.DeferredToolsSearchStrategyDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.DeferredToolsSearchStrategyDiscriminator; + } + + /// + /// 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.DeferredToolsSearchStrategyDiscriminator.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategyDiscriminator.g.cs new file mode 100644 index 00000000..386f9b44 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategyDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class DeferredToolsSearchStrategyDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DeferredToolsSearchStrategyDiscriminatorTypeJsonConverter))] + public global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? Type { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DeferredToolsSearchStrategyDiscriminator( + global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public DeferredToolsSearchStrategyDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategyDiscriminatorType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategyDiscriminatorType.g.cs new file mode 100644 index 00000000..6ba72eff --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeferredToolsSearchStrategyDiscriminatorType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum DeferredToolsSearchStrategyDiscriminatorType + { + /// + /// + /// + Bm25, + /// + /// + /// + Custom, + /// + /// + /// + Regex, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DeferredToolsSearchStrategyDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DeferredToolsSearchStrategyDiscriminatorType value) + { + return value switch + { + DeferredToolsSearchStrategyDiscriminatorType.Bm25 => "bm25", + DeferredToolsSearchStrategyDiscriminatorType.Custom => "custom", + DeferredToolsSearchStrategyDiscriminatorType.Regex => "regex", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DeferredToolsSearchStrategyDiscriminatorType? ToEnum(string value) + { + return value switch + { + "bm25" => DeferredToolsSearchStrategyDiscriminatorType.Bm25, + "custom" => DeferredToolsSearchStrategyDiscriminatorType.Custom, + "regex" => DeferredToolsSearchStrategyDiscriminatorType.Regex, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesContentBlockStartEvent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesContentBlockStartEvent.g.cs index 6df3f966..ee18d086 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesContentBlockStartEvent.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesContentBlockStartEvent.g.cs @@ -13,9 +13,9 @@ public sealed partial class MessagesContentBlockStartEvent /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("content_block")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AnyOfJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AnyOfJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.AnyOf ContentBlock { get; set; } + public required global::OpenRouter.AnyOf ContentBlock { get; set; } /// /// @@ -47,7 +47,7 @@ public sealed partial class MessagesContentBlockStartEvent [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public MessagesContentBlockStartEvent( - global::OpenRouter.AnyOf contentBlock, + global::OpenRouter.AnyOf contentBlock, int index, global::OpenRouter.MessagesContentBlockStartEventType type) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParam.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParam.g.cs index 3e34b281..f95957d2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParam.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParam.g.cs @@ -21,9 +21,9 @@ public sealed partial class MessagesMessageParam /// /// [global::System.Text.Json.Serialization.JsonPropertyName("content")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AnyOfJsonConverter>>))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AnyOfJsonConverter>>))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.AnyOf>> Content { get; set; } + public required global::OpenRouter.AnyOf>> Content { get; set; } /// /// Example: {"effort":"low"} @@ -61,7 +61,7 @@ public sealed partial class MessagesMessageParam [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public MessagesMessageParam( - global::OpenRouter.AnyOf>> content, + global::OpenRouter.AnyOf>> content, global::OpenRouter.MessagesMessageParamRole role, global::OpenRouter.AnthropicSystemClearAt? clearAt, global::OpenRouter.AnthropicMessageOutputConfig? outputConfig) diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequest.g.cs index 1785bd88..f625c6bf 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequest.g.cs @@ -25,6 +25,14 @@ public sealed partial class MessagesRequest [global::System.Text.Json.Serialization.JsonPropertyName("context_management")] public global::OpenRouter.MessagesRequestContextManagement? ContextManagement { get; set; } + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + ///
+ /// {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + [global::System.Text.Json.Serialization.JsonPropertyName("deferred_tools")] + public global::OpenRouter.DeferredToolsControl? DeferredTools { get; set; } + /// /// Fallback models to try if the primary model fails or refuses, in order. Handled by OpenRouter multi-model routing rather than Anthropic server-side fallbacks; cannot be combined with `models`. Each entry accepts only `model`. Maximum of 3 entries.
/// Example: [{"model":"claude-opus-4-8"}] @@ -215,6 +223,10 @@ public sealed partial class MessagesRequest /// Example: {"type":"ephemeral"} /// /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// Fallback models to try if the primary model fails or refuses, in order. Handled by OpenRouter multi-model routing rather than Anthropic server-side fallbacks; cannot be combined with `models`. Each entry accepts only `model`. Maximum of 3 entries.
/// Example: [{"model":"claude-opus-4-8"}] @@ -267,6 +279,7 @@ public MessagesRequest( string model, global::OpenRouter.AnthropicCacheControlDirective? cacheControl, global::OpenRouter.MessagesRequestContextManagement? contextManagement, + global::OpenRouter.DeferredToolsControl? deferredTools, global::System.Collections.Generic.IList? fallbacks, int? maxTokens, global::System.Collections.Generic.IList? messages, @@ -294,6 +307,7 @@ public MessagesRequest( { this.CacheControl = cacheControl; this.ContextManagement = contextManagement; + this.DeferredTools = deferredTools; this.Fallbacks = fallbacks; this.MaxTokens = maxTokens; this.Messages = messages; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicContentBlock.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicContentBlock.g.cs index 085afa65..5e8aa1b7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicContentBlock.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicContentBlock.g.cs @@ -607,6 +607,44 @@ public bool TryPickOpenrouterBashToolResult( public global::OpenRouter.ORAnthropicBashToolResult PickOpenrouterBashToolResult() => OpenrouterBashToolResult is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'OpenrouterBashToolResult' but the value was {ToString()}."); + + /// + /// Router-owned deferred discovery result containing original selected tool definitions.
+ /// Example: {"content":{"matches":[]},"tool_use_id":"search","type":"openrouter_tool_search_result"} + ///
+#if NET6_0_OR_GREATER + public global::OpenRouter.ORAnthropicToolSearchResult? OpenrouterToolSearchResult { get; init; } +#else + public global::OpenRouter.ORAnthropicToolSearchResult? OpenrouterToolSearchResult { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(OpenrouterToolSearchResult))] +#endif + public bool IsOpenrouterToolSearchResult => OpenrouterToolSearchResult != null; + + /// + /// + /// + public bool TryPickOpenrouterToolSearchResult( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ORAnthropicToolSearchResult? value) + { + value = OpenrouterToolSearchResult; + return IsOpenrouterToolSearchResult; + } + + /// + /// + /// + public global::OpenRouter.ORAnthropicToolSearchResult PickOpenrouterToolSearchResult() => OpenrouterToolSearchResult is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'OpenrouterToolSearchResult' but the value was {ToString()}."); /// /// /// @@ -975,6 +1013,29 @@ public ORAnthropicContentBlock(global::OpenRouter.ORAnthropicBashToolResult? val ///
public static ORAnthropicContentBlock FromOpenrouterBashToolResult(global::OpenRouter.ORAnthropicBashToolResult? value) => new ORAnthropicContentBlock(value); + /// + /// + /// + public static implicit operator ORAnthropicContentBlock(global::OpenRouter.ORAnthropicToolSearchResult value) => new ORAnthropicContentBlock((global::OpenRouter.ORAnthropicToolSearchResult?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ORAnthropicToolSearchResult?(ORAnthropicContentBlock @this) => @this.OpenrouterToolSearchResult; + + /// + /// + /// + public ORAnthropicContentBlock(global::OpenRouter.ORAnthropicToolSearchResult? value) + { + OpenrouterToolSearchResult = value; + } + + /// + /// + /// + public static ORAnthropicContentBlock FromOpenrouterToolSearchResult(global::OpenRouter.ORAnthropicToolSearchResult? value) => new ORAnthropicContentBlock(value); + /// /// /// @@ -995,7 +1056,8 @@ public ORAnthropicContentBlock( global::OpenRouter.AnthropicCompactionBlock? compaction, global::OpenRouter.AnthropicAdvisorToolResult? advisorToolResult, global::OpenRouter.ORAnthropicShellToolResult? openrouterShellToolResult, - global::OpenRouter.ORAnthropicBashToolResult? openrouterBashToolResult + global::OpenRouter.ORAnthropicBashToolResult? openrouterBashToolResult, + global::OpenRouter.ORAnthropicToolSearchResult? openrouterToolSearchResult ) { Type = type; @@ -1016,12 +1078,14 @@ public ORAnthropicContentBlock( AdvisorToolResult = advisorToolResult; OpenrouterShellToolResult = openrouterShellToolResult; OpenrouterBashToolResult = openrouterBashToolResult; + OpenrouterToolSearchResult = openrouterToolSearchResult; } /// /// /// public object? Object => + OpenrouterToolSearchResult as object ?? OpenrouterBashToolResult as object ?? OpenrouterShellToolResult as object ?? AdvisorToolResult as object ?? @@ -1059,7 +1123,8 @@ Text as object Compaction?.ToString() ?? AdvisorToolResult?.ToString() ?? OpenrouterShellToolResult?.ToString() ?? - OpenrouterBashToolResult?.ToString() + OpenrouterBashToolResult?.ToString() ?? + OpenrouterToolSearchResult?.ToString() ; /// @@ -1067,7 +1132,7 @@ Text as object /// public bool Validate() { - return IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && IsOpenrouterBashToolResult; + return IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && IsOpenrouterBashToolResult && !IsOpenrouterToolSearchResult || !IsText && !IsToolUse && !IsThinking && !IsRedactedThinking && !IsServerToolUse && !IsWebSearchToolResult && !IsWebFetchToolResult && !IsCodeExecutionToolResult && !IsBashCodeExecutionToolResult && !IsTextEditorCodeExecutionToolResult && !IsToolSearchToolResult && !IsContainerUpload && !IsCompaction && !IsAdvisorToolResult && !IsOpenrouterShellToolResult && !IsOpenrouterBashToolResult && IsOpenrouterToolSearchResult; } /// @@ -1090,6 +1155,7 @@ public bool Validate() global::System.Func? advisorToolResult = null, global::System.Func? openrouterShellToolResult = null, global::System.Func? openrouterBashToolResult = null, + global::System.Func? openrouterToolSearchResult = null, bool validate = true) { if (validate) @@ -1161,6 +1227,10 @@ public bool Validate() { return openrouterBashToolResult(__value15); } + else if (OpenrouterToolSearchResult is { } __value16 && openrouterToolSearchResult != null) + { + return openrouterToolSearchResult(__value16); + } return default(TResult); } @@ -1200,6 +1270,8 @@ public void Match( global::System.Action? openrouterShellToolResult = null, global::System.Action? openrouterBashToolResult = null, + + global::System.Action? openrouterToolSearchResult = null, bool validate = true) { if (validate) @@ -1271,6 +1343,10 @@ public void Match( { openrouterBashToolResult?.Invoke(__value15); } + else if (OpenrouterToolSearchResult is { } __value16) + { + openrouterToolSearchResult?.Invoke(__value16); + } } /// @@ -1293,6 +1369,7 @@ public void Switch( global::System.Action? advisorToolResult = null, global::System.Action? openrouterShellToolResult = null, global::System.Action? openrouterBashToolResult = null, + global::System.Action? openrouterToolSearchResult = null, bool validate = true) { if (validate) @@ -1364,6 +1441,10 @@ public void Switch( { openrouterBashToolResult?.Invoke(__value15); } + else if (OpenrouterToolSearchResult is { } __value16) + { + openrouterToolSearchResult?.Invoke(__value16); + } } /// @@ -1405,6 +1486,8 @@ public override int GetHashCode() typeof(global::OpenRouter.ORAnthropicShellToolResult), OpenrouterBashToolResult, typeof(global::OpenRouter.ORAnthropicBashToolResult), + OpenrouterToolSearchResult, + typeof(global::OpenRouter.ORAnthropicToolSearchResult), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1436,7 +1519,8 @@ public bool Equals(ORAnthropicContentBlock other) global::System.Collections.Generic.EqualityComparer.Default.Equals(Compaction, other.Compaction) && global::System.Collections.Generic.EqualityComparer.Default.Equals(AdvisorToolResult, other.AdvisorToolResult) && global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenrouterShellToolResult, other.OpenrouterShellToolResult) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenrouterBashToolResult, other.OpenrouterBashToolResult) + global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenrouterBashToolResult, other.OpenrouterBashToolResult) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenrouterToolSearchResult, other.OpenrouterToolSearchResult) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicContentBlockDiscriminatorType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicContentBlockDiscriminatorType.g.cs index fc9a5730..4b6d8381 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicContentBlockDiscriminatorType.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicContentBlockDiscriminatorType.g.cs @@ -39,6 +39,10 @@ public enum ORAnthropicContentBlockDiscriminatorType /// /// /// + OpenrouterToolSearchResult, + /// + /// + /// RedactedThinking, /// /// @@ -93,6 +97,7 @@ public static string ToValueString(this ORAnthropicContentBlockDiscriminatorType ORAnthropicContentBlockDiscriminatorType.ContainerUpload => "container_upload", ORAnthropicContentBlockDiscriminatorType.OpenrouterBashToolResult => "openrouter_bash_tool_result", ORAnthropicContentBlockDiscriminatorType.OpenrouterShellToolResult => "openrouter_shell_tool_result", + ORAnthropicContentBlockDiscriminatorType.OpenrouterToolSearchResult => "openrouter_tool_search_result", ORAnthropicContentBlockDiscriminatorType.RedactedThinking => "redacted_thinking", ORAnthropicContentBlockDiscriminatorType.ServerToolUse => "server_tool_use", ORAnthropicContentBlockDiscriminatorType.Text => "text", @@ -119,6 +124,7 @@ public static string ToValueString(this ORAnthropicContentBlockDiscriminatorType "container_upload" => ORAnthropicContentBlockDiscriminatorType.ContainerUpload, "openrouter_bash_tool_result" => ORAnthropicContentBlockDiscriminatorType.OpenrouterBashToolResult, "openrouter_shell_tool_result" => ORAnthropicContentBlockDiscriminatorType.OpenrouterShellToolResult, + "openrouter_tool_search_result" => ORAnthropicContentBlockDiscriminatorType.OpenrouterToolSearchResult, "redacted_thinking" => ORAnthropicContentBlockDiscriminatorType.RedactedThinking, "server_tool_use" => ORAnthropicContentBlockDiscriminatorType.ServerToolUse, "text" => ORAnthropicContentBlockDiscriminatorType.Text, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResult.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResult.Json.g.cs new file mode 100644 index 00000000..cbe6bb2f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResult.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ORAnthropicToolSearchResult + { + /// + /// 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.ORAnthropicToolSearchResult? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ORAnthropicToolSearchResult), + jsonSerializerContext) as global::OpenRouter.ORAnthropicToolSearchResult; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ORAnthropicToolSearchResult? 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.ORAnthropicToolSearchResult? 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.ORAnthropicToolSearchResult), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ORAnthropicToolSearchResult; + } + + /// + /// 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.ORAnthropicToolSearchResult.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResult.g.cs new file mode 100644 index 00000000..8ee5c1d9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResult.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Router-owned deferred discovery result containing original selected tool definitions.
+ /// Example: {"content":{"matches":[]},"tool_use_id":"search","type":"openrouter_tool_search_result"} + ///
+ public sealed partial class ORAnthropicToolSearchResult + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Content { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tool_use_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ToolUseId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ORAnthropicToolSearchResultTypeJsonConverter))] + public global::OpenRouter.ORAnthropicToolSearchResultType Type { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ORAnthropicToolSearchResult( + object content, + string toolUseId, + global::OpenRouter.ORAnthropicToolSearchResultType type) + { + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ORAnthropicToolSearchResult() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultContent.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultContent.Json.g.cs new file mode 100644 index 00000000..d47cab58 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultContent.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ORAnthropicToolSearchResultContent + { + /// + /// 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.ORAnthropicToolSearchResultContent? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ORAnthropicToolSearchResultContent), + jsonSerializerContext) as global::OpenRouter.ORAnthropicToolSearchResultContent; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ORAnthropicToolSearchResultContent? 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.ORAnthropicToolSearchResultContent? 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.ORAnthropicToolSearchResultContent), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ORAnthropicToolSearchResultContent; + } + + /// + /// 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.ORAnthropicToolSearchResultContent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultContent.g.cs new file mode 100644 index 00000000..8435bf67 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultContent.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ORAnthropicToolSearchResultContent + { + + /// + /// 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.ORAnthropicToolSearchResultContent2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultContent2.Json.g.cs new file mode 100644 index 00000000..367b5f03 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultContent2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ORAnthropicToolSearchResultContent2 + { + /// + /// 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.ORAnthropicToolSearchResultContent2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ORAnthropicToolSearchResultContent2), + jsonSerializerContext) as global::OpenRouter.ORAnthropicToolSearchResultContent2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ORAnthropicToolSearchResultContent2? 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.ORAnthropicToolSearchResultContent2? 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.ORAnthropicToolSearchResultContent2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ORAnthropicToolSearchResultContent2; + } + + /// + /// 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.ORAnthropicToolSearchResultContent2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultContent2.g.cs new file mode 100644 index 00000000..f3bb3608 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultContent2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ORAnthropicToolSearchResultContent2 + { + + /// + /// 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.ORAnthropicToolSearchResultParam.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParam.Json.g.cs new file mode 100644 index 00000000..df80aea7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParam.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ORAnthropicToolSearchResultParam + { + /// + /// 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.ORAnthropicToolSearchResultParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ORAnthropicToolSearchResultParam), + jsonSerializerContext) as global::OpenRouter.ORAnthropicToolSearchResultParam; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ORAnthropicToolSearchResultParam? 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.ORAnthropicToolSearchResultParam? 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.ORAnthropicToolSearchResultParam), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ORAnthropicToolSearchResultParam; + } + + /// + /// 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.ORAnthropicToolSearchResultParam.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParam.g.cs new file mode 100644 index 00000000..af9660f0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParam.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Router-owned deferred discovery result for continuation.
+ /// Example: {"content":{"matches":[]},"tool_use_id":"search","type":"openrouter_tool_search_result"} + ///
+ public sealed partial class ORAnthropicToolSearchResultParam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Content { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tool_use_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ToolUseId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ORAnthropicToolSearchResultParamTypeJsonConverter))] + public global::OpenRouter.ORAnthropicToolSearchResultParamType Type { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ORAnthropicToolSearchResultParam( + object content, + string toolUseId, + global::OpenRouter.ORAnthropicToolSearchResultParamType type) + { + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ORAnthropicToolSearchResultParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamContent.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamContent.Json.g.cs new file mode 100644 index 00000000..a2bb69a6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamContent.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ORAnthropicToolSearchResultParamContent + { + /// + /// 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.ORAnthropicToolSearchResultParamContent? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ORAnthropicToolSearchResultParamContent), + jsonSerializerContext) as global::OpenRouter.ORAnthropicToolSearchResultParamContent; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ORAnthropicToolSearchResultParamContent? 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.ORAnthropicToolSearchResultParamContent? 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.ORAnthropicToolSearchResultParamContent), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ORAnthropicToolSearchResultParamContent; + } + + /// + /// 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.ORAnthropicToolSearchResultParamContent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamContent.g.cs new file mode 100644 index 00000000..c4f60b9c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamContent.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ORAnthropicToolSearchResultParamContent + { + + /// + /// 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.ORAnthropicToolSearchResultParamContent2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamContent2.Json.g.cs new file mode 100644 index 00000000..7be72848 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamContent2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ORAnthropicToolSearchResultParamContent2 + { + /// + /// 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.ORAnthropicToolSearchResultParamContent2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ORAnthropicToolSearchResultParamContent2), + jsonSerializerContext) as global::OpenRouter.ORAnthropicToolSearchResultParamContent2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ORAnthropicToolSearchResultParamContent2? 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.ORAnthropicToolSearchResultParamContent2? 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.ORAnthropicToolSearchResultParamContent2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ORAnthropicToolSearchResultParamContent2; + } + + /// + /// 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.ORAnthropicToolSearchResultParamContent2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamContent2.g.cs new file mode 100644 index 00000000..61bb8a45 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamContent2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ORAnthropicToolSearchResultParamContent2 + { + + /// + /// 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.ORAnthropicToolSearchResultParamType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamType.g.cs new file mode 100644 index 00000000..0ea054ca --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultParamType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ORAnthropicToolSearchResultParamType + { + /// + /// + /// + OpenrouterToolSearchResult, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ORAnthropicToolSearchResultParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ORAnthropicToolSearchResultParamType value) + { + return value switch + { + ORAnthropicToolSearchResultParamType.OpenrouterToolSearchResult => "openrouter_tool_search_result", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ORAnthropicToolSearchResultParamType? ToEnum(string value) + { + return value switch + { + "openrouter_tool_search_result" => ORAnthropicToolSearchResultParamType.OpenrouterToolSearchResult, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultType.g.cs new file mode 100644 index 00000000..dbbfa674 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ORAnthropicToolSearchResultType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ORAnthropicToolSearchResultType + { + /// + /// + /// + OpenrouterToolSearchResult, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ORAnthropicToolSearchResultTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ORAnthropicToolSearchResultType value) + { + return value switch + { + ORAnthropicToolSearchResultType.OpenrouterToolSearchResult => "openrouter_tool_search_result", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ORAnthropicToolSearchResultType? ToEnum(string value) + { + return value switch + { + "openrouter_tool_search_result" => ORAnthropicToolSearchResultType.OpenrouterToolSearchResult, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItem.g.cs index 985e10f7..b1d16551 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItem.g.cs @@ -23,6 +23,12 @@ public sealed partial class OutputToolSearchServerToolItem [global::System.Text.Json.Serialization.JsonPropertyName("id")] public string? Id { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("matches")] + public global::System.Collections.Generic.IList? Matches { get; set; } + /// /// /// @@ -62,6 +68,7 @@ public sealed partial class OutputToolSearchServerToolItem /// Example: Tool execution failed /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -71,11 +78,13 @@ public OutputToolSearchServerToolItem( global::OpenRouter.FailableToolCallStatus status, string? error, string? id, + global::System.Collections.Generic.IList? matches, string? query, global::OpenRouter.OutputToolSearchServerToolItemType type) { this.Error = error; this.Id = id; + this.Matches = matches; this.Query = query; this.Status = status; this.Type = type; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatche.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatche.Json.g.cs new file mode 100644 index 00000000..b8b8cfd8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatche.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class OutputToolSearchServerToolItemMatche + { + /// + /// 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.OutputToolSearchServerToolItemMatche? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.OutputToolSearchServerToolItemMatche), + jsonSerializerContext) as global::OpenRouter.OutputToolSearchServerToolItemMatche; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.OutputToolSearchServerToolItemMatche? 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.OutputToolSearchServerToolItemMatche? 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.OutputToolSearchServerToolItemMatche), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OutputToolSearchServerToolItemMatche; + } + + /// + /// 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.OutputToolSearchServerToolItemMatche.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatche.g.cs new file mode 100644 index 00000000..22fa39cf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatche.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class OutputToolSearchServerToolItemMatche + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("definition")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Definition { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("schema_digest")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SchemaDigest { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tool_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ToolId { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public OutputToolSearchServerToolItemMatche( + object definition, + string schemaDigest, + string toolId) + { + this.Definition = definition ?? throw new global::System.ArgumentNullException(nameof(definition)); + this.SchemaDigest = schemaDigest ?? throw new global::System.ArgumentNullException(nameof(schemaDigest)); + this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); + } + + /// + /// Initializes a new instance of the class. + /// + public OutputToolSearchServerToolItemMatche() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatcheDefinition.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatcheDefinition.Json.g.cs new file mode 100644 index 00000000..30cdc9a5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatcheDefinition.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class OutputToolSearchServerToolItemMatcheDefinition + { + /// + /// 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.OutputToolSearchServerToolItemMatcheDefinition? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.OutputToolSearchServerToolItemMatcheDefinition), + jsonSerializerContext) as global::OpenRouter.OutputToolSearchServerToolItemMatcheDefinition; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.OutputToolSearchServerToolItemMatcheDefinition? 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.OutputToolSearchServerToolItemMatcheDefinition? 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.OutputToolSearchServerToolItemMatcheDefinition), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OutputToolSearchServerToolItemMatcheDefinition; + } + + /// + /// 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.OutputToolSearchServerToolItemMatcheDefinition.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatcheDefinition.g.cs new file mode 100644 index 00000000..4e0d91f6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatcheDefinition.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class OutputToolSearchServerToolItemMatcheDefinition + { + + /// + /// 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.OutputToolSearchServerToolItemMatcheDefinition2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatcheDefinition2.Json.g.cs new file mode 100644 index 00000000..477a1c9f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatcheDefinition2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class OutputToolSearchServerToolItemMatcheDefinition2 + { + /// + /// 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.OutputToolSearchServerToolItemMatcheDefinition2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.OutputToolSearchServerToolItemMatcheDefinition2), + jsonSerializerContext) as global::OpenRouter.OutputToolSearchServerToolItemMatcheDefinition2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.OutputToolSearchServerToolItemMatcheDefinition2? 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.OutputToolSearchServerToolItemMatcheDefinition2? 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.OutputToolSearchServerToolItemMatcheDefinition2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OutputToolSearchServerToolItemMatcheDefinition2; + } + + /// + /// 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.OutputToolSearchServerToolItemMatcheDefinition2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatcheDefinition2.g.cs new file mode 100644 index 00000000..5b5e88c8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputToolSearchServerToolItemMatcheDefinition2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class OutputToolSearchServerToolItemMatcheDefinition2 + { + + /// + /// 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.PluginsItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem.g.cs index 2e91dca8..ef2b7382 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem.g.cs @@ -459,7 +459,7 @@ public bool TryPickJevRouter( : throw new global::System.InvalidOperationException($"Expected union variant 'JevRouter' but the value was {ToString()}."); /// - /// Beta. States the listed rules to the model and evaluates every turn against them. Requests are evaluated only for entities admitted to the beta; the configuration, metadata, and error shapes may change.
+ /// Beta. States the listed rules to the model and evaluates every turn against them; the configuration, metadata, and error shapes may change.
/// Example: {"id":"alignment","mode":"audit","rules":["Never offer a discount."]} ///
#if NET6_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem2.g.cs index 9782f1bf..b0d3b0b9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem2.g.cs @@ -459,7 +459,7 @@ public bool TryPickJevRouter( : throw new global::System.InvalidOperationException($"Expected union variant 'JevRouter' but the value was {ToString()}."); /// - /// Beta. States the listed rules to the model and evaluates every turn against them. Requests are evaluated only for entities admitted to the beta; the configuration, metadata, and error shapes may change.
+ /// Beta. States the listed rules to the model and evaluates every turn against them; the configuration, metadata, and error shapes may change.
/// Example: {"id":"alignment","mode":"audit","rules":["Never offer a discount."]} ///
#if NET6_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem3.g.cs index 8b32fc4a..adb1d617 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PluginsItem3.g.cs @@ -459,7 +459,7 @@ public bool TryPickJevRouter( : throw new global::System.InvalidOperationException($"Expected union variant 'JevRouter' but the value was {ToString()}."); /// - /// Beta. States the listed rules to the model and evaluates every turn against them. Requests are evaluated only for entities admitted to the beta; the configuration, metadata, and error shapes may change.
+ /// Beta. States the listed rules to the model and evaluates every turn against them; the configuration, metadata, and error shapes may change.
/// Example: {"id":"alignment","mode":"audit","rules":["Never offer a discount."]} ///
#if NET6_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequest.g.cs index 814b74fa..dbd00806 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequest.g.cs @@ -33,6 +33,14 @@ public sealed partial class ResponsesRequest [global::System.Text.Json.Serialization.JsonPropertyName("debug")] public global::OpenRouter.ChatDebugOptions? Debug { get; set; } + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + ///
+ /// {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + [global::System.Text.Json.Serialization.JsonPropertyName("deferred_tools")] + public global::OpenRouter.DeferredToolsControl? DeferredTools { get; set; } + /// /// /// @@ -310,6 +318,10 @@ public sealed partial class ResponsesRequest /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// /// Provider-specific image configuration options. Keys and values vary by model/provider. See https://openrouter.ai/docs/guides/overview/multimodal/image-generation for more details.
@@ -410,6 +422,7 @@ public ResponsesRequest( bool? background, global::OpenRouter.AnthropicCacheControlDirective? cacheControl, global::OpenRouter.ChatDebugOptions? debug, + global::OpenRouter.DeferredToolsControl? deferredTools, double? frequencyPenalty, global::OpenRouter.ImageConfig? imageConfig, global::System.Collections.Generic.IList? include, @@ -450,6 +463,7 @@ public ResponsesRequest( this.Background = background; this.CacheControl = cacheControl; this.Debug = debug; + this.DeferredTools = deferredTools; this.FrequencyPenalty = frequencyPenalty; this.ImageConfig = imageConfig; this.Include = include; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1.g.cs index d3c06601..8f5e360b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1.g.cs @@ -8,6 +8,12 @@ namespace OpenRouter ///
public sealed partial class ResponsesRequestToolVariant1 { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allowed_callers")] + public global::System.Collections.Generic.IList? AllowedCallers { get; set; } + /// /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
/// Example: true @@ -17,13 +23,19 @@ public sealed partial class ResponsesRequestToolVariant1 public bool? Async { get; set; } /// - /// Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.
+ /// Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.
/// Example: true ///
/// true [global::System.Text.Json.Serialization.JsonPropertyName("defer_loading")] public bool? DeferLoading { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("output_schema")] + public object? OutputSchema { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -33,23 +45,29 @@ public sealed partial class ResponsesRequestToolVariant1 /// /// Initializes a new instance of the class. /// + /// /// /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
/// Example: true /// /// - /// Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.
+ /// Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.
/// Example: true /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ResponsesRequestToolVariant1( + global::System.Collections.Generic.IList? allowedCallers, bool? async, - bool? deferLoading) + bool? deferLoading, + object? outputSchema) { + this.AllowedCallers = allowedCallers; this.Async = async; this.DeferLoading = deferLoading; + this.OutputSchema = outputSchema; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1AllowedCaller.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1AllowedCaller.g.cs new file mode 100644 index 00000000..7dad3cc2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1AllowedCaller.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ResponsesRequestToolVariant1AllowedCaller : global::System.IEquatable + { + /// + /// + /// + public ResponsesRequestToolVariant1AllowedCaller(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ResponsesRequestToolVariant1AllowedCaller Direct { get; } = new("direct"); + + /// + /// + /// + public static ResponsesRequestToolVariant1AllowedCaller Programmatic { get; } = new("programmatic"); + /// + /// + /// + public static ResponsesRequestToolVariant1AllowedCaller FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "direct" => Direct, + "programmatic" => Programmatic, + _ => new ResponsesRequestToolVariant1AllowedCaller(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "direct" => true, + "programmatic" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ResponsesRequestToolVariant1AllowedCaller other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ResponsesRequestToolVariant1AllowedCaller other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ResponsesRequestToolVariant1AllowedCaller left, ResponsesRequestToolVariant1AllowedCaller right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ResponsesRequestToolVariant1AllowedCaller left, ResponsesRequestToolVariant1AllowedCaller right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ResponsesRequestToolVariant1AllowedCallerExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ResponsesRequestToolVariant1AllowedCaller value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ResponsesRequestToolVariant1AllowedCaller? ToEnum(string value) + { + return ResponsesRequestToolVariant1AllowedCaller.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1OutputSchema.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1OutputSchema.Json.g.cs new file mode 100644 index 00000000..759b11d1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1OutputSchema.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ResponsesRequestToolVariant1OutputSchema + { + /// + /// 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.ResponsesRequestToolVariant1OutputSchema? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ResponsesRequestToolVariant1OutputSchema), + jsonSerializerContext) as global::OpenRouter.ResponsesRequestToolVariant1OutputSchema; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ResponsesRequestToolVariant1OutputSchema? 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.ResponsesRequestToolVariant1OutputSchema? 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.ResponsesRequestToolVariant1OutputSchema), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ResponsesRequestToolVariant1OutputSchema; + } + + /// + /// 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.ResponsesRequestToolVariant1OutputSchema.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1OutputSchema.g.cs new file mode 100644 index 00000000..464195d4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1OutputSchema.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ResponsesRequestToolVariant1OutputSchema + { + + /// + /// 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.ResponsesRequestToolVariant1OutputSchema2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1OutputSchema2.Json.g.cs new file mode 100644 index 00000000..54a7d14d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1OutputSchema2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ResponsesRequestToolVariant1OutputSchema2 + { + /// + /// 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.ResponsesRequestToolVariant1OutputSchema2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ResponsesRequestToolVariant1OutputSchema2), + jsonSerializerContext) as global::OpenRouter.ResponsesRequestToolVariant1OutputSchema2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ResponsesRequestToolVariant1OutputSchema2? 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.ResponsesRequestToolVariant1OutputSchema2? 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.ResponsesRequestToolVariant1OutputSchema2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ResponsesRequestToolVariant1OutputSchema2; + } + + /// + /// 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.ResponsesRequestToolVariant1OutputSchema2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1OutputSchema2.g.cs new file mode 100644 index 00000000..7726fe0b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolVariant1OutputSchema2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ResponsesRequestToolVariant1OutputSchema2 + { + + /// + /// 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.ToolSearchOutputItemTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.g.cs index 6027d825..1cc22239 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemTool.g.cs @@ -8,6 +8,12 @@ namespace OpenRouter /// public sealed partial class ToolSearchOutputItemTool { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allowed_callers")] + public global::System.Collections.Generic.IList? AllowedCallers { get; set; } + /// /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
/// Example: true @@ -17,13 +23,19 @@ public sealed partial class ToolSearchOutputItemTool public bool? Async { get; set; } /// - /// Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.
+ /// Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.
/// Example: true ///
/// true [global::System.Text.Json.Serialization.JsonPropertyName("defer_loading")] public bool? DeferLoading { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("output_schema")] + public object? OutputSchema { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -33,23 +45,29 @@ public sealed partial class ToolSearchOutputItemTool /// /// Initializes a new instance of the class. /// + /// /// /// Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.
/// Example: true /// /// - /// Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.
+ /// Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.
/// Example: true /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ToolSearchOutputItemTool( + global::System.Collections.Generic.IList? allowedCallers, bool? async, - bool? deferLoading) + bool? deferLoading, + object? outputSchema) { + this.AllowedCallers = allowedCallers; this.Async = async; this.DeferLoading = deferLoading; + this.OutputSchema = outputSchema; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolAllowedCaller.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolAllowedCaller.g.cs new file mode 100644 index 00000000..68e50157 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolAllowedCaller.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ToolSearchOutputItemToolAllowedCaller : global::System.IEquatable + { + /// + /// + /// + public ToolSearchOutputItemToolAllowedCaller(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ToolSearchOutputItemToolAllowedCaller Direct { get; } = new("direct"); + + /// + /// + /// + public static ToolSearchOutputItemToolAllowedCaller Programmatic { get; } = new("programmatic"); + /// + /// + /// + public static ToolSearchOutputItemToolAllowedCaller FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "direct" => Direct, + "programmatic" => Programmatic, + _ => new ToolSearchOutputItemToolAllowedCaller(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "direct" => true, + "programmatic" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ToolSearchOutputItemToolAllowedCaller other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ToolSearchOutputItemToolAllowedCaller other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ToolSearchOutputItemToolAllowedCaller left, ToolSearchOutputItemToolAllowedCaller right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ToolSearchOutputItemToolAllowedCaller left, ToolSearchOutputItemToolAllowedCaller right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ToolSearchOutputItemToolAllowedCallerExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ToolSearchOutputItemToolAllowedCaller value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ToolSearchOutputItemToolAllowedCaller? ToEnum(string value) + { + return ToolSearchOutputItemToolAllowedCaller.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolOutputSchema.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolOutputSchema.Json.g.cs new file mode 100644 index 00000000..b674c40d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolOutputSchema.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ToolSearchOutputItemToolOutputSchema + { + /// + /// 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.ToolSearchOutputItemToolOutputSchema? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ToolSearchOutputItemToolOutputSchema), + jsonSerializerContext) as global::OpenRouter.ToolSearchOutputItemToolOutputSchema; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchOutputItemToolOutputSchema? 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.ToolSearchOutputItemToolOutputSchema? 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.ToolSearchOutputItemToolOutputSchema), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ToolSearchOutputItemToolOutputSchema; + } + + /// + /// 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.ToolSearchOutputItemToolOutputSchema.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolOutputSchema.g.cs new file mode 100644 index 00000000..0e9aac94 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolOutputSchema.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ToolSearchOutputItemToolOutputSchema + { + + /// + /// 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.ToolSearchOutputItemToolOutputSchema2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolOutputSchema2.Json.g.cs new file mode 100644 index 00000000..0838a5a8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolOutputSchema2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ToolSearchOutputItemToolOutputSchema2 + { + /// + /// 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.ToolSearchOutputItemToolOutputSchema2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ToolSearchOutputItemToolOutputSchema2), + jsonSerializerContext) as global::OpenRouter.ToolSearchOutputItemToolOutputSchema2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ToolSearchOutputItemToolOutputSchema2? 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.ToolSearchOutputItemToolOutputSchema2? 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.ToolSearchOutputItemToolOutputSchema2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ToolSearchOutputItemToolOutputSchema2; + } + + /// + /// 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.ToolSearchOutputItemToolOutputSchema2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolOutputSchema2.g.cs new file mode 100644 index 00000000..0b12b03e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ToolSearchOutputItemToolOutputSchema2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ToolSearchOutputItemToolOutputSchema2 + { + + /// + /// 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.UpdateKeysRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateKeysRequest.g.cs index c3665541..97b012a9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateKeysRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateKeysRequest.g.cs @@ -49,6 +49,14 @@ public sealed partial class UpdateKeysRequest [global::System.Text.Json.Serialization.JsonPropertyName("name")] public string? Name { get; set; } + /// + /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + ///
+ /// 0df9e665-d932-5740-b2c7-b52af166bc11 + [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] + public global::System.Guid? WorkspaceId { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -78,6 +86,10 @@ public sealed partial class UpdateKeysRequest /// New name for the API key
/// Example: Updated API Key Name /// + /// + /// Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.
+ /// Example: 0df9e665-d932-5740-b2c7-b52af166bc11 + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -86,13 +98,15 @@ public UpdateKeysRequest( bool? includeByokInLimit, double? limit, global::OpenRouter.UpdateKeysRequestLimitReset? limitReset, - string? name) + string? name, + global::System.Guid? workspaceId) { this.Disabled = disabled; this.IncludeByokInLimit = includeByokInLimit; this.Limit = limit; this.LimitReset = limitReset; this.Name = name; + this.WorkspaceId = workspaceId; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.OneOf.16.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OneOf.17.Json.g.cs similarity index 90% rename from src/libs/OpenRouter/Generated/OpenRouter.OneOf.16.Json.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.OneOf.17.Json.g.cs index d7705857..f607c723 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.OneOf.16.Json.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.OneOf.17.Json.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public readonly partial struct OneOf + public readonly partial struct OneOf { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::OpenRouter.OneOf? FromJson( + public static global::OpenRouter.OneOf? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::OpenRouter.OneOf), - jsonSerializerContext) as global::OpenRouter.OneOf?; + typeof(global::OpenRouter.OneOf), + jsonSerializerContext) as global::OpenRouter.OneOf?; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::OpenRouter.OneOf? FromJson( + public static global::OpenRouter.OneOf? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.OneOf? FromJson( + public static global::OpenRouter.OneOf? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::OpenRouter.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize>( + return global::System.Text.Json.JsonSerializer.Deserialize>( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + 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.OneOf), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OneOf?; + typeof(global::OpenRouter.OneOf), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OneOf?; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::OpenRouter.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( + return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.OneOf.16.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OneOf.17.g.cs similarity index 75% rename from src/libs/OpenRouter/Generated/OpenRouter.OneOf.16.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.OneOf.17.g.cs index be35f41f..8c3a58d8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.OneOf.16.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.OneOf.17.g.cs @@ -6,7 +6,7 @@ namespace OpenRouter /// /// /// - public readonly partial struct OneOf : global::System.IEquatable> + public readonly partial struct OneOf : global::System.IEquatable> { /// /// @@ -599,15 +599,52 @@ public bool TryPickValue16( public T16 PickValue16() => Value16 is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value16' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T17? Value17 { get; init; } +#else + public T17? Value17 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value17))] +#endif + public bool IsValue17 => Value17 != null; + + /// + /// + /// + public bool TryPickValue17( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T17? value) + { + value = Value17; + return IsValue17; + } + + /// + /// + /// + public T17 PickValue17() => Value17 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Value17' but the value was {ToString()}."); /// /// /// - public static implicit operator OneOf(T1 value) => new OneOf((T1?)value); + public static implicit operator OneOf(T1 value) => new OneOf((T1?)value); /// /// /// - public static implicit operator T1?(OneOf @this) => @this.Value1; + public static implicit operator T1?(OneOf @this) => @this.Value1; /// /// @@ -620,17 +657,17 @@ public OneOf(T1? value) /// /// /// - public static OneOf FromValue1(T1? value) => new OneOf(value); + public static OneOf FromValue1(T1? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T2 value) => new OneOf((T2?)value); + public static implicit operator OneOf(T2 value) => new OneOf((T2?)value); /// /// /// - public static implicit operator T2?(OneOf @this) => @this.Value2; + public static implicit operator T2?(OneOf @this) => @this.Value2; /// /// @@ -643,17 +680,17 @@ public OneOf(T2? value) /// /// /// - public static OneOf FromValue2(T2? value) => new OneOf(value); + public static OneOf FromValue2(T2? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T3 value) => new OneOf((T3?)value); + public static implicit operator OneOf(T3 value) => new OneOf((T3?)value); /// /// /// - public static implicit operator T3?(OneOf @this) => @this.Value3; + public static implicit operator T3?(OneOf @this) => @this.Value3; /// /// @@ -666,17 +703,17 @@ public OneOf(T3? value) /// /// /// - public static OneOf FromValue3(T3? value) => new OneOf(value); + public static OneOf FromValue3(T3? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T4 value) => new OneOf((T4?)value); + public static implicit operator OneOf(T4 value) => new OneOf((T4?)value); /// /// /// - public static implicit operator T4?(OneOf @this) => @this.Value4; + public static implicit operator T4?(OneOf @this) => @this.Value4; /// /// @@ -689,17 +726,17 @@ public OneOf(T4? value) /// /// /// - public static OneOf FromValue4(T4? value) => new OneOf(value); + public static OneOf FromValue4(T4? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T5 value) => new OneOf((T5?)value); + public static implicit operator OneOf(T5 value) => new OneOf((T5?)value); /// /// /// - public static implicit operator T5?(OneOf @this) => @this.Value5; + public static implicit operator T5?(OneOf @this) => @this.Value5; /// /// @@ -712,17 +749,17 @@ public OneOf(T5? value) /// /// /// - public static OneOf FromValue5(T5? value) => new OneOf(value); + public static OneOf FromValue5(T5? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T6 value) => new OneOf((T6?)value); + public static implicit operator OneOf(T6 value) => new OneOf((T6?)value); /// /// /// - public static implicit operator T6?(OneOf @this) => @this.Value6; + public static implicit operator T6?(OneOf @this) => @this.Value6; /// /// @@ -735,17 +772,17 @@ public OneOf(T6? value) /// /// /// - public static OneOf FromValue6(T6? value) => new OneOf(value); + public static OneOf FromValue6(T6? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T7 value) => new OneOf((T7?)value); + public static implicit operator OneOf(T7 value) => new OneOf((T7?)value); /// /// /// - public static implicit operator T7?(OneOf @this) => @this.Value7; + public static implicit operator T7?(OneOf @this) => @this.Value7; /// /// @@ -758,17 +795,17 @@ public OneOf(T7? value) /// /// /// - public static OneOf FromValue7(T7? value) => new OneOf(value); + public static OneOf FromValue7(T7? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T8 value) => new OneOf((T8?)value); + public static implicit operator OneOf(T8 value) => new OneOf((T8?)value); /// /// /// - public static implicit operator T8?(OneOf @this) => @this.Value8; + public static implicit operator T8?(OneOf @this) => @this.Value8; /// /// @@ -781,17 +818,17 @@ public OneOf(T8? value) /// /// /// - public static OneOf FromValue8(T8? value) => new OneOf(value); + public static OneOf FromValue8(T8? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T9 value) => new OneOf((T9?)value); + public static implicit operator OneOf(T9 value) => new OneOf((T9?)value); /// /// /// - public static implicit operator T9?(OneOf @this) => @this.Value9; + public static implicit operator T9?(OneOf @this) => @this.Value9; /// /// @@ -804,17 +841,17 @@ public OneOf(T9? value) /// /// /// - public static OneOf FromValue9(T9? value) => new OneOf(value); + public static OneOf FromValue9(T9? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T10 value) => new OneOf((T10?)value); + public static implicit operator OneOf(T10 value) => new OneOf((T10?)value); /// /// /// - public static implicit operator T10?(OneOf @this) => @this.Value10; + public static implicit operator T10?(OneOf @this) => @this.Value10; /// /// @@ -827,17 +864,17 @@ public OneOf(T10? value) /// /// /// - public static OneOf FromValue10(T10? value) => new OneOf(value); + public static OneOf FromValue10(T10? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T11 value) => new OneOf((T11?)value); + public static implicit operator OneOf(T11 value) => new OneOf((T11?)value); /// /// /// - public static implicit operator T11?(OneOf @this) => @this.Value11; + public static implicit operator T11?(OneOf @this) => @this.Value11; /// /// @@ -850,17 +887,17 @@ public OneOf(T11? value) /// /// /// - public static OneOf FromValue11(T11? value) => new OneOf(value); + public static OneOf FromValue11(T11? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T12 value) => new OneOf((T12?)value); + public static implicit operator OneOf(T12 value) => new OneOf((T12?)value); /// /// /// - public static implicit operator T12?(OneOf @this) => @this.Value12; + public static implicit operator T12?(OneOf @this) => @this.Value12; /// /// @@ -873,17 +910,17 @@ public OneOf(T12? value) /// /// /// - public static OneOf FromValue12(T12? value) => new OneOf(value); + public static OneOf FromValue12(T12? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T13 value) => new OneOf((T13?)value); + public static implicit operator OneOf(T13 value) => new OneOf((T13?)value); /// /// /// - public static implicit operator T13?(OneOf @this) => @this.Value13; + public static implicit operator T13?(OneOf @this) => @this.Value13; /// /// @@ -896,17 +933,17 @@ public OneOf(T13? value) /// /// /// - public static OneOf FromValue13(T13? value) => new OneOf(value); + public static OneOf FromValue13(T13? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T14 value) => new OneOf((T14?)value); + public static implicit operator OneOf(T14 value) => new OneOf((T14?)value); /// /// /// - public static implicit operator T14?(OneOf @this) => @this.Value14; + public static implicit operator T14?(OneOf @this) => @this.Value14; /// /// @@ -919,17 +956,17 @@ public OneOf(T14? value) /// /// /// - public static OneOf FromValue14(T14? value) => new OneOf(value); + public static OneOf FromValue14(T14? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T15 value) => new OneOf((T15?)value); + public static implicit operator OneOf(T15 value) => new OneOf((T15?)value); /// /// /// - public static implicit operator T15?(OneOf @this) => @this.Value15; + public static implicit operator T15?(OneOf @this) => @this.Value15; /// /// @@ -942,17 +979,17 @@ public OneOf(T15? value) /// /// /// - public static OneOf FromValue15(T15? value) => new OneOf(value); + public static OneOf FromValue15(T15? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T16 value) => new OneOf((T16?)value); + public static implicit operator OneOf(T16 value) => new OneOf((T16?)value); /// /// /// - public static implicit operator T16?(OneOf @this) => @this.Value16; + public static implicit operator T16?(OneOf @this) => @this.Value16; /// /// @@ -965,7 +1002,30 @@ public OneOf(T16? value) /// /// /// - public static OneOf FromValue16(T16? value) => new OneOf(value); + public static OneOf FromValue16(T16? value) => new OneOf(value); + + /// + /// + /// + public static implicit operator OneOf(T17 value) => new OneOf((T17?)value); + + /// + /// + /// + public static implicit operator T17?(OneOf @this) => @this.Value17; + + /// + /// + /// + public OneOf(T17? value) + { + Value17 = value; + } + + /// + /// + /// + public static OneOf FromValue17(T17? value) => new OneOf(value); /// /// @@ -986,7 +1046,8 @@ public OneOf( T13? value13, T14? value14, T15? value15, - T16? value16 + T16? value16, + T17? value17 ) { Value1 = value1; @@ -1005,12 +1066,14 @@ public OneOf( Value14 = value14; Value15 = value15; Value16 = value16; + Value17 = value17; } /// /// /// public object? Object => + Value17 as object ?? Value16 as object ?? Value15 as object ?? Value14 as object ?? @@ -1048,7 +1111,8 @@ Value1 as object Value13?.ToString() ?? Value14?.ToString() ?? Value15?.ToString() ?? - Value16?.ToString() + Value16?.ToString() ?? + Value17?.ToString() ; /// @@ -1056,7 +1120,7 @@ Value1 as object /// public bool Validate() { - return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16; + return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16 && !IsValue17 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && IsValue17; } /// @@ -1079,6 +1143,7 @@ public bool Validate() global::System.Func? value14 = null, global::System.Func? value15 = null, global::System.Func? value16 = null, + global::System.Func? value17 = null, bool validate = true) { if (validate) @@ -1150,6 +1215,10 @@ public bool Validate() { return value16(__value15); } + else if (Value17 is { } __value16 && value17 != null) + { + return value17(__value16); + } return default(TResult); } @@ -1189,6 +1258,8 @@ public void Match( global::System.Action? value15 = null, global::System.Action? value16 = null, + + global::System.Action? value17 = null, bool validate = true) { if (validate) @@ -1260,6 +1331,10 @@ public void Match( { value16?.Invoke(__value15); } + else if (Value17 is { } __value16) + { + value17?.Invoke(__value16); + } } /// @@ -1282,6 +1357,7 @@ public void Switch( global::System.Action? value14 = null, global::System.Action? value15 = null, global::System.Action? value16 = null, + global::System.Action? value17 = null, bool validate = true) { if (validate) @@ -1353,6 +1429,10 @@ public void Switch( { value16?.Invoke(__value15); } + else if (Value17 is { } __value16) + { + value17?.Invoke(__value16); + } } /// @@ -1394,6 +1474,8 @@ public override int GetHashCode() typeof(T15), Value16, typeof(T16), + Value17, + typeof(T17), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1407,7 +1489,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null /// /// /// - public bool Equals(OneOf other) + public bool Equals(OneOf other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && @@ -1425,22 +1507,23 @@ public bool Equals(OneOf.Default.Equals(Value13, other.Value13) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value14, other.Value14) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value15, other.Value15) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value16, other.Value16) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value16, other.Value16) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value17, other.Value17) ; } /// /// /// - public static bool operator ==(OneOf obj1, OneOf obj2) + public static bool operator ==(OneOf obj1, OneOf obj2) { - return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); + return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); } /// /// /// - public static bool operator !=(OneOf obj1, OneOf obj2) + public static bool operator !=(OneOf obj1, OneOf obj2) { return !(obj1 == obj2); } @@ -1450,7 +1533,7 @@ public bool Equals(OneOf public override bool Equals(object? obj) { - return obj is OneOf o && Equals(o); + return obj is OneOf o && Equals(o); } } } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsChatCompletions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsChatCompletions.g.cs index 80051eb5..8db606d7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsChatCompletions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsChatCompletions.g.cs @@ -690,6 +690,10 @@ partial void ProcessCreatePresetsChatCompletionsResponseContent( /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// Frequency penalty (-2.0 to 2.0)
/// Example: 0 @@ -850,6 +854,7 @@ partial void ProcessCreatePresetsChatCompletionsResponseContent( global::System.Collections.Generic.IList messages, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.Dictionary? logitBias = default, @@ -895,6 +900,7 @@ partial void ProcessCreatePresetsChatCompletionsResponseContent( { CacheControl = cacheControl, Debug = debug, + DeferredTools = deferredTools, FrequencyPenalty = frequencyPenalty, ImageConfig = imageConfig, LogitBias = logitBias, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsMessages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsMessages.g.cs index da31318b..29a4de95 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsMessages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsMessages.g.cs @@ -687,6 +687,10 @@ partial void ProcessCreatePresetsMessagesResponseContent( /// Example: {"type":"ephemeral"} /// /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// Fallback models to try if the primary model fails or refuses, in order. Handled by OpenRouter multi-model routing rather than Anthropic server-side fallbacks; cannot be combined with `models`. Each entry accepts only `model`. Maximum of 3 entries.
/// Example: [{"model":"claude-opus-4-8"}] @@ -741,6 +745,7 @@ partial void ProcessCreatePresetsMessagesResponseContent( string model, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.MessagesRequestContextManagement? contextManagement = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, global::System.Collections.Generic.IList? fallbacks = default, int? maxTokens = default, global::System.Collections.Generic.IList? messages = default, @@ -772,6 +777,7 @@ partial void ProcessCreatePresetsMessagesResponseContent( { CacheControl = cacheControl, ContextManagement = contextManagement, + DeferredTools = deferredTools, Fallbacks = fallbacks, MaxTokens = maxTokens, Messages = messages, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsResponses.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsResponses.g.cs index f792fb90..f9c01fae 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsResponses.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsResponses.g.cs @@ -691,6 +691,10 @@ partial void ProcessCreatePresetsResponsesResponseContent( /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// /// Provider-specific image configuration options. Keys and values vary by model/provider. See https://openrouter.ai/docs/guides/overview/multimodal/image-generation for more details.
@@ -792,6 +796,7 @@ partial void ProcessCreatePresetsResponsesResponseContent( bool? background = default, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.IList? include = default, @@ -836,6 +841,7 @@ partial void ProcessCreatePresetsResponsesResponseContent( Background = background, CacheControl = cacheControl, Debug = debug, + DeferredTools = deferredTools, FrequencyPenalty = frequencyPenalty, ImageConfig = imageConfig, Include = include, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ResponsesClient.Send.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ResponsesClient.Send.g.cs index 8e915b17..2da63e02 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ResponsesClient.Send.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ResponsesClient.Send.g.cs @@ -100,6 +100,7 @@ partial void ProcessSendResponseContent( Background = request.Background, CacheControl = request.CacheControl, Debug = request.Debug, + DeferredTools = request.DeferredTools, FrequencyPenalty = request.FrequencyPenalty, ImageConfig = request.ImageConfig, Include = request.Include, @@ -1037,6 +1038,10 @@ partial void ProcessSendResponseContent( /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// /// Provider-specific image configuration options. Keys and values vary by model/provider. See https://openrouter.ai/docs/guides/overview/multimodal/image-generation for more details.
@@ -1135,6 +1140,7 @@ partial void ProcessSendResponseContent( bool? background = default, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.IList? include = default, @@ -1178,6 +1184,7 @@ partial void ProcessSendResponseContent( Background = background, CacheControl = cacheControl, Debug = debug, + DeferredTools = deferredTools, FrequencyPenalty = frequencyPenalty, ImageConfig = imageConfig, Include = include, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ResponsesClient.SendAsStream.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ResponsesClient.SendAsStream.g.cs index 31229c0a..ecc550e7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ResponsesClient.SendAsStream.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ResponsesClient.SendAsStream.g.cs @@ -66,6 +66,7 @@ partial void ProcessSendAsStreamResponse( Background = request.Background, CacheControl = request.CacheControl, Debug = request.Debug, + DeferredTools = request.DeferredTools, FrequencyPenalty = request.FrequencyPenalty, ImageConfig = request.ImageConfig, Include = request.Include, @@ -456,6 +457,10 @@ partial void ProcessSendAsStreamResponse( /// Debug options for inspecting request transformations (streaming only)
/// Example: {"echo_upstream_body":true} /// + /// + /// Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
+ /// Example: {"profile":"portable","protocol":"v1","search":{"max_results":5,"type":"bm25"},"validation":"runtime"} + /// /// /// /// Provider-specific image configuration options. Keys and values vary by model/provider. See https://openrouter.ai/docs/guides/overview/multimodal/image-generation for more details.
@@ -554,6 +559,7 @@ partial void ProcessSendAsStreamResponse( bool? background = default, global::OpenRouter.AnthropicCacheControlDirective? cacheControl = default, global::OpenRouter.ChatDebugOptions? debug = default, + global::OpenRouter.DeferredToolsControl? deferredTools = default, double? frequencyPenalty = default, global::OpenRouter.ImageConfig? imageConfig = default, global::System.Collections.Generic.IList? include = default, @@ -597,6 +603,7 @@ partial void ProcessSendAsStreamResponse( Background = background, CacheControl = cacheControl, Debug = debug, + DeferredTools = deferredTools, FrequencyPenalty = frequencyPenalty, ImageConfig = imageConfig, Include = include, diff --git a/src/libs/OpenRouter/Generated/autosdk.generated-examples.json b/src/libs/OpenRouter/Generated/autosdk.generated-examples.json index a1056eeb..3f067056 100644 --- a/src/libs/OpenRouter/Generated/autosdk.generated-examples.json +++ b/src/libs/OpenRouter/Generated/autosdk.generated-examples.json @@ -103,9 +103,9 @@ "Order": 10, "Title": "Update an API key", "Slug": "updatekeys", - "Description": "Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\n\u003CWarning\u003E\nYou can\u0027t change \u0060workspace_id\u0060 through the API. The request body accepts only the fields listed below, and unrecognized fields are ignored. To move a key to another workspace, use the OpenRouter dashboard. If the body contains none of the accepted fields, the request fails with \u0060400\u0060 and the message \u0060No update fields provided\u0060.\n\u003C/Warning\u003E", + "Description": "Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\nSet \u0060workspace_id\u0060 to move the key to another workspace.\n\n\u003CWarning\u003E\nThe request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with \u0060400\u0060 and the message \u0060No update fields provided\u0060.\n\u003C/Warning\u003E", "Language": "http", - "Code": "### Update an API key\n# @name updateKeys\nPATCH {{host}}/keys/{{hash}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022disabled\u0022: false,\n \u0022include_byok_in_limit\u0022: true,\n \u0022limit\u0022: 75,\n \u0022limit_reset\u0022: \u0022daily\u0022,\n \u0022name\u0022: \u0022Updated API Key Name\u0022\n}\n\n## Responses\n# 200\n# Description: API key updated successfully\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 429\n# Description: Too Many Requests - Rate limit exceeded\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", + "Code": "### Update an API key\n# @name updateKeys\nPATCH {{host}}/keys/{{hash}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022disabled\u0022: false,\n \u0022include_byok_in_limit\u0022: true,\n \u0022limit\u0022: 75,\n \u0022limit_reset\u0022: \u0022daily\u0022,\n \u0022name\u0022: \u0022Updated API Key Name\u0022\n}\n\n## Responses\n# 200\n# Description: API key updated successfully\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 429\n# Description: Too Many Requests - Rate limit exceeded\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", "OperationId": "updateKeys", "Setup": null @@ -523,7 +523,7 @@ "Slug": "bulkassignkeystoguardrail", "Description": "Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", - "Code": "### Bulk assign keys to a guardrail\n# @name bulkAssignKeysToGuardrail\nPOST {{host}}/guardrails/{{id}}/assignments/keys\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022key_hashes\u0022: [\n \u0022c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93\u0022\n ]\n}\n\n## Responses\n# 200\n# Description: Assignment result\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: The guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a HIPAA-enabled workspace, where that filter is not available.\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", + "Code": "### Bulk assign keys to a guardrail\n# @name bulkAssignKeysToGuardrail\nPOST {{host}}/guardrails/{{id}}/assignments/keys\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022key_hashes\u0022: [\n \u0022c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93\u0022\n ]\n}\n\n## Responses\n# 200\n# Description: Assignment result\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: The guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a workspace that does not allow that filter.\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", "OperationId": "bulkAssignKeysToGuardrail", "Setup": null @@ -655,7 +655,7 @@ "Slug": "updateguardrail", "Description": "Update an existing guardrail, or materialize an unconfigured workspace default guardrail. Collection fields use replace semantics: send the full desired set on every update. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", - "Code": "### Update a guardrail\n# @name updateGuardrail\nPATCH {{host}}/guardrails/{{id}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022description\u0022: \u0022Updated description\u0022,\n \u0022limit_usd\u0022: 75,\n \u0022name\u0022: \u0022Updated Guardrail Name\u0022,\n \u0022reset_interval\u0022: \u0022weekly\u0022\n}\n\n## Responses\n# 200\n# Description: Guardrail updated successfully\n# Content-Type: application/json\n# 400\n# Description: Invalid request, or an attempt to change a workspace default guardrail\u0027s name (which is derived from its workspace and not editable; sending the current name unchanged is accepted).\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: The update would give a HIPAA-enabled workspace a person-name or address sensitive-info filter, which is not available there.\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 409\n# Description: Guardrail name conflict \u2014 another guardrail in this workspace already uses the requested name.\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", + "Code": "### Update a guardrail\n# @name updateGuardrail\nPATCH {{host}}/guardrails/{{id}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022description\u0022: \u0022Updated description\u0022,\n \u0022limit_usd\u0022: 75,\n \u0022name\u0022: \u0022Updated Guardrail Name\u0022,\n \u0022reset_interval\u0022: \u0022weekly\u0022\n}\n\n## Responses\n# 200\n# Description: Guardrail updated successfully\n# Content-Type: application/json\n# 400\n# Description: Invalid request, or an attempt to change a workspace default guardrail\u0027s name (which is derived from its workspace and not editable; sending the current name unchanged is accepted).\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: The update would add a person-name or address sensitive-info filter to a workspace that does not allow it.\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 409\n# Description: Guardrail name conflict \u2014 another guardrail in this workspace already uses the requested name.\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", "Format": "http", "OperationId": "updateGuardrail", "Setup": null diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index c6c0c1a3..73d3c03b 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -256,15 +256,36 @@ }, { "properties": { + "allowed_callers": { + "items": { + "enum": [ + "direct", + "programmatic" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": [ + "array", + "null" + ] + }, "async": { "description": "Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.", "example": true, "type": "boolean" }, "defer_loading": { - "description": "Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.", + "description": "Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.", "example": true, "type": "boolean" + }, + "output_schema": { + "additionalProperties": {}, + "type": [ + "object", + "null" + ] } }, "type": "object" @@ -868,7 +889,7 @@ }, "AlignmentPlugin": { "additionalProperties": false, - "description": "Beta. States the listed rules to the model and evaluates every turn against them. Requests are evaluated only for entities admitted to the beta; the configuration, metadata, and error shapes may change.", + "description": "Beta. States the listed rules to the model and evaluates every turn against them; the configuration, metadata, and error shapes may change.", "example": { "id": "alignment", "mode": "audit", @@ -6502,15 +6523,36 @@ }, { "properties": { + "allowed_callers": { + "items": { + "enum": [ + "direct", + "programmatic" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": [ + "array", + "null" + ] + }, "async": { "description": "Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.", "example": true, "type": "boolean" }, "defer_loading": { - "description": "Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.", + "description": "Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.", "example": true, "type": "boolean" + }, + "output_schema": { + "additionalProperties": {}, + "type": [ + "object", + "null" + ] } }, "type": "object" @@ -10239,6 +10281,9 @@ "cache_control": { "$ref": "#/components/schemas/ChatContentCacheControl" }, + "defer_loading": { + "type": "boolean" + }, "function": { "description": "Function definition for tool calling", "example": { @@ -10258,6 +10303,9 @@ } }, "properties": { + "defer_loading": { + "type": "boolean" + }, "description": { "description": "Function description for the model", "example": "Get the current weather for a location", @@ -10577,6 +10625,9 @@ "debug": { "$ref": "#/components/schemas/ChatDebugOptions" }, + "deferred_tools": { + "$ref": "#/components/schemas/DeferredToolsControl" + }, "frequency_penalty": { "description": "Frequency penalty (-2.0 to 2.0)", "example": 0, @@ -14431,6 +14482,9 @@ "example": true, "type": "boolean" }, + "defer_loading": { + "type": "boolean" + }, "description": { "type": "string" }, @@ -15283,6 +15337,154 @@ "null" ] }, + "DeferredBm25Search": { + "description": "Deterministic BM25 retrieval over supplied tool definitions.", + "example": { + "max_results": 5, + "type": "bm25" + }, + "properties": { + "max_results": { + "type": "integer" + }, + "type": { + "enum": [ + "bm25" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "DeferredCustomSearch": { + "description": "Caller-executed search returning existing tool identities under result_key.", + "example": { + "max_results": 5, + "result_key": "tool_names", + "tool_id": "search_catalog", + "type": "custom" + }, + "properties": { + "max_results": { + "type": "integer" + }, + "result_key": { + "minLength": 1, + "type": "string" + }, + "tool_id": { + "minLength": 1, + "type": "string" + }, + "type": { + "enum": [ + "custom" + ], + "type": "string" + } + }, + "required": [ + "type", + "tool_id", + "result_key" + ], + "type": "object" + }, + "DeferredRegexSearch": { + "description": "Versioned safe-regex retrieval over supplied tool definitions.", + "example": { + "max_results": 5, + "type": "regex" + }, + "properties": { + "max_results": { + "type": "integer" + }, + "type": { + "enum": [ + "regex" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "DeferredToolsControl": { + "description": "Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.", + "example": { + "profile": "portable", + "protocol": "v1", + "search": { + "max_results": 5, + "type": "bm25" + }, + "validation": "runtime" + }, + "properties": { + "profile": { + "description": "Loading profile. Only `portable` is available in this release: OpenRouter serves deferral with router-built search and call wrappers on any model.", + "enum": [ + "portable" + ], + "type": "string" + }, + "protocol": { + "enum": [ + "v1" + ], + "type": "string" + }, + "search": { + "$ref": "#/components/schemas/DeferredToolsSearchStrategy" + }, + "validation": { + "description": "Where tool-call arguments are checked against the original schema. Only `runtime` (in OpenRouter) is available in this release.", + "enum": [ + "runtime" + ], + "type": "string" + } + }, + "required": [ + "protocol", + "profile", + "validation", + "search" + ], + "type": "object" + }, + "DeferredToolsSearchStrategy": { + "description": "Router-local regex/BM25 or caller-owned custom search.", + "discriminator": { + "mapping": { + "bm25": "#/components/schemas/DeferredBm25Search", + "custom": "#/components/schemas/DeferredCustomSearch", + "regex": "#/components/schemas/DeferredRegexSearch" + }, + "propertyName": "type" + }, + "example": { + "max_results": 5, + "type": "bm25" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/DeferredRegexSearch" + }, + { + "$ref": "#/components/schemas/DeferredBm25Search" + }, + { + "$ref": "#/components/schemas/DeferredCustomSearch" + } + ] + }, "DeleteBYOKKeyResponse": { "example": { "deleted": true @@ -24064,6 +24266,9 @@ { "$ref": "#/components/schemas/ORAnthropicBashToolResult" }, + { + "$ref": "#/components/schemas/ORAnthropicToolSearchResult" + }, { "properties": { "content": { @@ -24605,6 +24810,9 @@ }, { "$ref": "#/components/schemas/MessagesBashToolResultBlock" + }, + { + "$ref": "#/components/schemas/ORAnthropicToolSearchResultParam" } ] }, @@ -24912,6 +25120,9 @@ "null" ] }, + "deferred_tools": { + "$ref": "#/components/schemas/DeferredToolsControl" + }, "fallbacks": { "description": "Fallback models to try if the primary model fails or refuses, in order. Handled by OpenRouter multi-model routing rather than Anthropic server-side fallbacks; cannot be combined with `models`. Each entry accepts only `model`. Maximum of 3 entries.", "example": [ @@ -32236,6 +32447,7 @@ "container_upload": "#/components/schemas/AnthropicContainerUpload", "openrouter_bash_tool_result": "#/components/schemas/ORAnthropicBashToolResult", "openrouter_shell_tool_result": "#/components/schemas/ORAnthropicShellToolResult", + "openrouter_tool_search_result": "#/components/schemas/ORAnthropicToolSearchResult", "redacted_thinking": "#/components/schemas/AnthropicRedactedThinkingBlock", "server_tool_use": "#/components/schemas/ORAnthropicServerToolUseBlock", "text": "#/components/schemas/AnthropicTextBlock", @@ -32301,6 +32513,9 @@ }, { "$ref": "#/components/schemas/ORAnthropicBashToolResult" + }, + { + "$ref": "#/components/schemas/ORAnthropicToolSearchResult" } ] }, @@ -32497,6 +32712,68 @@ ], "x-speakeasy-unknown-values": "allow" }, + "ORAnthropicToolSearchResult": { + "description": "Router-owned deferred discovery result containing original selected tool definitions.", + "example": { + "content": { + "matches": [] + }, + "tool_use_id": "search", + "type": "openrouter_tool_search_result" + }, + "properties": { + "content": { + "additionalProperties": {}, + "type": "object" + }, + "tool_use_id": { + "type": "string" + }, + "type": { + "enum": [ + "openrouter_tool_search_result" + ], + "type": "string" + } + }, + "required": [ + "type", + "tool_use_id", + "content" + ], + "type": "object" + }, + "ORAnthropicToolSearchResultParam": { + "description": "Router-owned deferred discovery result for continuation.", + "example": { + "content": { + "matches": [] + }, + "tool_use_id": "search", + "type": "openrouter_tool_search_result" + }, + "properties": { + "content": { + "additionalProperties": {}, + "type": "object" + }, + "tool_use_id": { + "type": "string" + }, + "type": { + "enum": [ + "openrouter_tool_search_result" + ], + "type": "string" + } + }, + "required": [ + "type", + "tool_use_id", + "content" + ], + "type": "object" + }, "OrganizationSettings": { "example": { "id": "org_2dHFtVWx2n56w6HkM0000000000", @@ -34977,6 +35254,29 @@ "id": { "type": "string" }, + "matches": { + "items": { + "properties": { + "definition": { + "additionalProperties": {}, + "type": "object" + }, + "schema_digest": { + "type": "string" + }, + "tool_id": { + "type": "string" + } + }, + "required": [ + "tool_id", + "schema_digest", + "definition" + ], + "type": "object" + }, + "type": "array" + }, "query": { "type": "string" }, @@ -39473,6 +39773,9 @@ "debug": { "$ref": "#/components/schemas/ChatDebugOptions" }, + "deferred_tools": { + "$ref": "#/components/schemas/DeferredToolsControl" + }, "frequency_penalty": { "format": "double", "type": [ @@ -39707,15 +40010,36 @@ }, { "properties": { + "allowed_callers": { + "items": { + "enum": [ + "direct", + "programmatic" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": [ + "array", + "null" + ] + }, "async": { "description": "Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.", "example": true, "type": "boolean" }, "defer_loading": { - "description": "Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.", + "description": "Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.", "example": true, "type": "boolean" + }, + "output_schema": { + "additionalProperties": {}, + "type": [ + "object", + "null" + ] } }, "type": "object" @@ -43642,15 +43966,36 @@ }, { "properties": { + "allowed_callers": { + "items": { + "enum": [ + "direct", + "programmatic" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": [ + "array", + "null" + ] + }, "async": { "description": "Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.", "example": true, "type": "boolean" }, "defer_loading": { - "description": "Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.", + "description": "Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred.", "example": true, "type": "boolean" + }, + "output_schema": { + "additionalProperties": {}, + "type": [ + "object", + "null" + ] } }, "type": "object" @@ -57386,7 +57731,7 @@ } } }, - "description": "The workspace is not owned by this account, or the guardrail would give a HIPAA-enabled workspace a person-name or address sensitive-info filter, which is not available there." + "description": "The workspace is not owned by this account, or the workspace does not allow a person-name or address sensitive-info filter." }, "500": { "content": { @@ -57731,7 +58076,7 @@ } } }, - "description": "The update would give a HIPAA-enabled workspace a person-name or address sensitive-info filter, which is not available there." + "description": "The update would add a person-name or address sensitive-info filter to a workspace that does not allow it." }, "404": { "content": { @@ -58038,7 +58383,7 @@ } } }, - "description": "The guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a HIPAA-enabled workspace, where that filter is not available." + "description": "The guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a workspace that does not allow that filter." }, "404": { "content": { @@ -59722,7 +60067,7 @@ } } }, - "description": "The key acts as an organization and has no member who can own the intern, the workspace does not allow interns (a HIPAA workspace), or regional access is refused." + "description": "The key acts as an organization and has no member who can own the intern, the workspace does not allow interns, or regional access is refused." }, "404": { "content": { @@ -64362,7 +64707,7 @@ "x-speakeasy-name-override": "get" }, "patch": { - "description": "Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\n\nYou can't change `workspace_id` through the API. The request body accepts only the fields listed below, and unrecognized fields are ignored. To move a key to another workspace, use the OpenRouter dashboard. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.\n", + "description": "Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\nSet `workspace_id` to move the key to another workspace.\n\n\nThe request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.\n", "operationId": "updateKeys", "parameters": [ { @@ -64434,6 +64779,12 @@ "description": "New name for the API key", "example": "Updated API Key Name", "type": "string" + }, + "workspace_id": { + "description": "Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key's current workspace is a no-op.", + "example": "0df9e665-d932-5740-b2c7-b52af166bc11", + "format": "uuid", + "type": "string" } }, "type": "object" @@ -64731,7 +65082,7 @@ } }, "no_update_fields": { - "description": "Returned when the body contains none of the accepted fields, for example `{\"workspace_id\": \"...\"}`. `workspace_id` can't be changed through the API.", + "description": "Returned when the body contains none of the accepted fields, for example `{\"label\": \"...\"}`.", "summary": "No accepted fields in the request body", "value": { "error": { @@ -64764,6 +65115,22 @@ }, "description": "Unauthorized - Authentication required or invalid credentials" }, + "403": { + "content": { + "application/json": { + "example": { + "error": { + "code": 403, + "message": "Only management keys can perform this operation" + } + }, + "schema": { + "$ref": "#/components/schemas/ForbiddenResponse" + } + } + }, + "description": "Forbidden - Authentication successful but insufficient permissions" + }, "404": { "content": { "application/json": { @@ -64780,6 +65147,22 @@ }, "description": "Not Found - Resource does not exist" }, + "409": { + "content": { + "application/json": { + "example": { + "error": { + "code": 409, + "message": "The API key creator is not a member of the target workspace. Add them to the workspace, then retry." + } + }, + "schema": { + "$ref": "#/components/schemas/ConflictResponse" + } + } + }, + "description": "Conflict - Resource conflict or concurrent modification" + }, "429": { "content": { "application/json": {