diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesOutputConfigTaskBudgetType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesOutputConfigTaskBudgetType.g.cs new file mode 100644 index 00000000..caf04f14 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesOutputConfigTaskBudgetType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class MessagesOutputConfigTaskBudgetTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.MessagesOutputConfigTaskBudgetType 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.MessagesOutputConfigTaskBudgetTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.MessagesOutputConfigTaskBudgetType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.MessagesOutputConfigTaskBudgetType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.MessagesOutputConfigTaskBudgetType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.MessagesOutputConfigTaskBudgetTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesOutputConfigTaskBudgetTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesOutputConfigTaskBudgetTypeNullable.g.cs new file mode 100644 index 00000000..cc7797cb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesOutputConfigTaskBudgetTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class MessagesOutputConfigTaskBudgetTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.MessagesOutputConfigTaskBudgetType? 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.MessagesOutputConfigTaskBudgetTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.MessagesOutputConfigTaskBudgetType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.MessagesOutputConfigTaskBudgetType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.MessagesOutputConfigTaskBudgetType? 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.MessagesOutputConfigTaskBudgetTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index 3e3207d1..6e825d4e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -1085,6 +1085,10 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.MessagesOutputConfigFormatTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.MessagesOutputConfigTaskBudgetTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.MessagesOutputConfigTaskBudgetTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.MessagesRequestServiceTierJsonConverter), typeof(global::OpenRouter.JsonConverters.MessagesRequestServiceTierNullableJsonConverter), @@ -1671,6 +1675,8 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.OneOfJsonConverter), + typeof(global::OpenRouter.JsonConverters.OneOfJsonConverter), + typeof(global::OpenRouter.JsonConverters.OneOfJsonConverter), typeof(global::OpenRouter.JsonConverters.OneOfJsonConverter), @@ -2501,9 +2507,12 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesOutputConfigEffort), TypeInfoPropertyName = "MessagesOutputConfigEffort2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesOutputConfigFormatType), TypeInfoPropertyName = "MessagesOutputConfigFormatType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesOutputConfigFormat))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesOutputConfigTaskBudgetType), TypeInfoPropertyName = "MessagesOutputConfigTaskBudgetType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesOutputConfigTaskBudget))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesOutputConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfMessagesOutputConfigEffortObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfMessagesOutputConfigFormatObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfMessagesOutputConfigTaskBudgetObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesRequestPluginsItems), TypeInfoPropertyName = "MessagesRequestPluginsItems2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesRequestServiceTier), TypeInfoPropertyName = "MessagesRequestServiceTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesRequestSpeed))] diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index 65fdf2a5..6513dd99 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -3264,951 +3264,963 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type809 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type809 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type810 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudget? Type810 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type811 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type811 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItems? Type812 { get; set; } + public global::OpenRouter.OneOf? Type812 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestServiceTier? Type813 { get; set; } + public global::OpenRouter.OneOf? Type813 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestSpeed? Type814 { get; set; } + public global::OpenRouter.OneOf? Type814 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestSystem? Type815 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItems? Type815 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingDisplay? Type816 { get; set; } + public global::OpenRouter.MessagesRequestServiceTier? Type816 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type817 { get; set; } + public global::OpenRouter.MessagesRequestSpeed? Type817 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking0? Type818 { get; set; } + public global::OpenRouter.MessagesRequestSystem? Type818 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type819 { get; set; } + public global::OpenRouter.AnthropicThinkingDisplay? Type819 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking1? Type820 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type820 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type821 { get; set; } + public global::OpenRouter.MessagesRequestThinking0? Type821 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking2? Type822 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type822 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking? Type823 { get; set; } + public global::OpenRouter.MessagesRequestThinking1? Type823 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type824 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type824 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice0? Type825 { get; set; } + public global::OpenRouter.MessagesRequestThinking2? Type825 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type826 { get; set; } + public global::OpenRouter.MessagesRequestThinking? Type826 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice1? Type827 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type827 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type828 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice0? Type828 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice2? Type829 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type829 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type830 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice1? Type830 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice3? Type831 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type831 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice? Type832 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice2? Type832 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type833 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type833 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type834 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice3? Type834 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems0? Type835 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice? Type835 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type836 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type836 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type837 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type837 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems1? Type838 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems0? Type838 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type839 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type839 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type840 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type840 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems2? Type841 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems1? Type841 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type842 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type842 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type843 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type843 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type844 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems2? Type844 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type845 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type845 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems3? Type846 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type846 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4AllowedCallersItems? Type847 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type847 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type848 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type848 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type849 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems3? Type849 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems4? Type850 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4AllowedCallersItems? Type850 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type851 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type851 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems? Type852 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type852 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type853 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems4? Type853 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type854 { get; set; } + public global::System.Collections.Generic.IList? Type854 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type855 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems? Type855 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type856 { get; set; } + public global::OpenRouter.MessagesRequest? Type856 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type857 { get; set; } + public global::OpenRouter.OneOf? Type857 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainer? Type858 { get; set; } + public global::System.Collections.Generic.IList? Type858 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationType? Type859 { get; set; } + public global::System.Collections.Generic.IList? Type859 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocation? Type860 { get; set; } + public global::System.Collections.Generic.IList? Type860 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationType? Type861 { get; set; } + public global::OpenRouter.AnthropicContainer? Type861 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocation? Type862 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationType? Type862 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type863 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocation? Type863 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocation? Type864 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationType? Type864 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitation? Type865 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocation? Type865 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockType? Type866 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type866 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlock? Type867 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocation? Type867 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type868 { get; set; } + public global::OpenRouter.AnthropicTextCitation? Type868 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCallerType? Type869 { get; set; } + public global::OpenRouter.AnthropicTextBlockType? Type869 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCaller? Type870 { get; set; } + public global::OpenRouter.AnthropicTextBlock? Type870 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type871 { get; set; } + public global::System.Collections.Generic.IList? Type871 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type872 { get; set; } + public global::OpenRouter.AnthropicDirectCallerType? Type872 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type873 { get; set; } + public global::OpenRouter.AnthropicDirectCaller? Type873 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type874 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type874 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCaller? Type875 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type875 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlockType? Type876 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type876 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlock? Type877 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type877 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockType? Type878 { get; set; } + public global::OpenRouter.AnthropicCaller? Type878 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlock? Type879 { get; set; } + public global::OpenRouter.AnthropicToolUseBlockType? Type879 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type880 { get; set; } + public global::OpenRouter.AnthropicToolUseBlock? Type880 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlock? Type881 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockType? Type881 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUseBlockType? Type882 { get; set; } + public global::OpenRouter.AnthropicThinkingBlock? Type882 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUseBlock? Type883 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type883 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultType? Type884 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlock? Type884 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResult? Type885 { get; set; } + public global::OpenRouter.AnthropicServerToolUseBlockType? Type885 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type886 { get; set; } + public global::OpenRouter.AnthropicServerToolUseBlock? Type886 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type887 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultType? Type887 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type888 { get; set; } + public global::OpenRouter.AnthropicWebSearchResult? Type888 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultError? Type889 { get; set; } + public global::System.Collections.Generic.IList? Type889 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultContent? Type890 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type890 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultType? Type891 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type891 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResult? Type892 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultError? Type892 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type893 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultContent? Type893 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type894 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultType? Type894 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultError? Type895 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResult? Type895 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationsConfig? Type896 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type896 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockSource? Type897 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type897 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockType? Type898 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultError? Type898 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlock? Type899 { get; set; } + public global::OpenRouter.AnthropicCitationsConfig? Type899 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlockType? Type900 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockSource? Type900 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlock? Type901 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockType? Type901 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContent? Type902 { get; set; } + public global::OpenRouter.AnthropicDocumentBlock? Type902 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultType? Type903 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlockType? Type903 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResult? Type904 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlock? Type904 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolErrorCode? Type905 { get; set; } + public global::OpenRouter.AnthropicWebFetchContent? Type905 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type906 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultType? Type906 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type907 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResult? Type907 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutputType? Type908 { get; set; } + public global::OpenRouter.AnthropicServerToolErrorCode? Type908 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutput? Type909 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type909 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResultType? Type910 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type910 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResult? Type911 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutputType? Type911 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type912 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutput? Type912 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type913 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResultType? Type913 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type914 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResult? Type914 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContent? Type915 { get; set; } + public global::System.Collections.Generic.IList? Type915 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type916 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type916 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResult? Type917 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type917 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type918 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContent? Type918 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type919 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type919 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type920 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResult? Type920 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type921 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type921 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type922 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type922 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type923 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type923 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResult? Type924 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type924 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type925 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type925 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContent? Type926 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type926 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type927 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResult? Type927 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type928 { get; set; } + public global::System.Collections.Generic.IList? Type928 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type929 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContent? Type929 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type930 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type930 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type931 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type931 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type932 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type932 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type933 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type933 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type934 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type934 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type935 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type935 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type936 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type936 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type937 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type937 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type938 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type938 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type939 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type939 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type940 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type940 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type941 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type941 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultErrorType? Type942 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type942 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultError? Type943 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type943 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReferenceType? Type944 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type944 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReference? Type945 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultErrorType? Type945 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultType? Type946 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultError? Type946 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResult? Type947 { get; set; } + public global::OpenRouter.AnthropicToolReferenceType? Type947 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type948 { get; set; } + public global::OpenRouter.AnthropicToolReference? Type948 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContent? Type949 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultType? Type949 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResultType? Type950 { get; set; } + public global::OpenRouter.AnthropicToolSearchResult? Type950 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResult? Type951 { get; set; } + public global::System.Collections.Generic.IList? Type951 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUploadType? Type952 { get; set; } + public global::OpenRouter.AnthropicToolSearchContent? Type952 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUpload? Type953 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResultType? Type953 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlockType? Type954 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResult? Type954 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlock? Type955 { get; set; } + public global::OpenRouter.AnthropicContainerUploadType? Type955 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlock? Type956 { get; set; } + public global::OpenRouter.AnthropicContainerUpload? Type956 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultRole? Type957 { get; set; } + public global::OpenRouter.AnthropicCompactionBlockType? Type957 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type958 { get; set; } + public global::OpenRouter.AnthropicCompactionBlock? Type958 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsType? Type959 { get; set; } + public global::OpenRouter.ORAnthropicContentBlock? Type959 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetails? Type960 { get; set; } + public global::OpenRouter.BaseMessagesResultRole? Type960 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type961 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type961 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicStopReason? Type962 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsType? Type962 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultType? Type963 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetails? Type963 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheCreation? Type964 { get; set; } + public global::OpenRouter.OneOf? Type964 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUsage? Type965 { get; set; } + public global::OpenRouter.ORAnthropicStopReason? Type965 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServiceTier? Type966 { get; set; } + public global::OpenRouter.BaseMessagesResultType? Type966 { get; set; } /// /// /// - public global::OpenRouter.AnthropicIterationCacheCreation? Type967 { get; set; } + public global::OpenRouter.AnthropicCacheCreation? Type967 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIterationType? Type968 { get; set; } + public global::OpenRouter.AnthropicServerToolUsage? Type968 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIteration? Type969 { get; set; } + public global::OpenRouter.AnthropicServiceTier? Type969 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIterationType? Type970 { get; set; } + public global::OpenRouter.AnthropicIterationCacheCreation? Type970 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIteration? Type971 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIterationType? Type971 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUnknownUsageIteration? Type972 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIteration? Type972 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUsageIteration? Type973 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIterationType? Type973 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSpeed? Type974 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIteration? Type974 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultUsage? Type975 { get; set; } + public global::OpenRouter.AnthropicUnknownUsageIteration? Type975 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type976 { get; set; } + public global::OpenRouter.AnthropicUsageIteration? Type976 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultContextManagementAppliedEditsItems? Type977 { get; set; } + public global::OpenRouter.AnthropicSpeed? Type977 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultContextManagement? Type978 { get; set; } + public global::OpenRouter.BaseMessagesResultUsage? Type978 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type979 { get; set; } + public global::System.Collections.Generic.IList? Type979 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultUsageCostDetails? Type980 { get; set; } + public global::OpenRouter.MessagesResultContextManagementAppliedEditsItems? Type980 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultUsage? Type981 { get; set; } + public global::OpenRouter.MessagesResultContextManagement? Type981 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type982 { get; set; } + public global::System.Collections.Generic.IList? Type982 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type983 { get; set; } + public global::OpenRouter.MessagesResultUsageCostDetails? Type983 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type984 { get; set; } + public global::OpenRouter.MessagesResultUsage? Type984 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type985 { get; set; } + public global::OpenRouter.OneOf? Type985 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorDetail? Type986 { get; set; } + public global::OpenRouter.MessagesResult? Type986 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponseType? Type987 { get; set; } + public global::System.Collections.Generic.IList? Type987 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponse? Type988 { get; set; } + public global::OpenRouter.OneOf? Type988 { get; set; } /// /// /// - public global::OpenRouter.ModelsGetParametersCategory? Type989 { get; set; } + public global::OpenRouter.MessagesErrorDetail? Type989 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type990 { get; set; } + public global::OpenRouter.MessagesErrorResponseType? Type990 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type991 { get; set; } + public global::OpenRouter.MessagesErrorResponse? Type991 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type992 { get; set; } + public global::OpenRouter.ModelsGetParametersCategory? Type992 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type993 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type993 { get; set; } /// /// /// - public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type994 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type994 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type995 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type995 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type996 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type996 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type997 { get; set; } + public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type997 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type998 { get; set; } + public global::System.Collections.Generic.IList? Type998 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type999 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type999 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1000 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type1000 { get; set; } /// /// /// - public global::OpenRouter.ProvidersListProvidersResponse200? Type1001 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type1001 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1002 { get; set; } + public global::System.Collections.Generic.IList? Type1002 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type1003 { get; set; } + public global::OpenRouter.OneOf? Type1003 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type1004 { get; set; } + public global::OpenRouter.ProvidersListProvidersResponse200? Type1004 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type1005 { get; set; } + public global::System.Collections.Generic.IList? Type1005 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type1006 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type1006 { get; set; } /// /// /// - public global::OpenRouter.RerankCreateRerankResponse200? Type1007 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type1007 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1008 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type1008 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type1009 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type1009 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageImageUrl? Type1010 { get; set; } + public global::OpenRouter.RerankCreateRerankResponse200? Type1010 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageType? Type1011 { get; set; } + public global::System.Collections.Generic.IList? Type1011 { get; set; } /// /// /// - public global::OpenRouter.FrameImageFrameType? Type1012 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type1012 { get; set; } /// /// /// - public global::OpenRouter.FrameImage? Type1013 { get; set; } + public global::OpenRouter.ContentPartImageImageUrl? Type1013 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImage? Type1014 { get; set; } + public global::OpenRouter.ContentPartImageType? Type1014 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1015 { get; set; } + public global::OpenRouter.FrameImageFrameType? Type1015 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type1016 { get; set; } + public global::OpenRouter.FrameImage? Type1016 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type1017 { get; set; } + public global::OpenRouter.ContentPartImage? Type1017 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type1018 { get; set; } + public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1018 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1019 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type1019 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1020 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type1020 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type1021 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type1021 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type1022 { get; set; } + public global::System.Collections.Generic.IList? Type1022 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type1023 { get; set; } + public global::System.Collections.Generic.IList? Type1023 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1024 { get; set; } + public global::OpenRouter.VideoGenerationResponseStatus? Type1024 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1025 { get; set; } + public global::OpenRouter.VideoGenerationUsage? Type1025 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1026 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type1026 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSizesItems? Type1027 { get; set; } + public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1027 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type1028 { get; set; } + public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1028 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1029 { get; set; } + public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1029 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1030 { get; set; } + public global::OpenRouter.VideoModelSupportedSizesItems? Type1030 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1031 { get; set; } + public global::OpenRouter.VideoModel? Type1031 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1032 { get; set; } + public global::System.Collections.Generic.IList? Type1032 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1033 { get; set; } + public global::System.Collections.Generic.IList? Type1033 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type1034 { get; set; } + public global::System.Collections.Generic.IList? Type1034 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1035 { get; set; } + public global::System.Collections.Generic.IList? Type1035 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1036 { get; set; } + public global::System.Collections.Generic.IList? Type1036 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1037 { get; set; } + public global::OpenRouter.VideoModelsListResponse? Type1037 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type1038 { get; set; } + public global::System.Collections.Generic.IList? Type1038 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type1039 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1039 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type1040 { get; set; } + public global::OpenRouter.OneOf? Type1040 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1041 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequest? Type1041 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type1042 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequest? Type1042 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1043 { get; set; } + public global::OpenRouter.CreateKeysRequest? Type1043 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type1044 { get; set; } + public global::OpenRouter.OneOf? Type1044 { get; set; } /// /// /// - public byte[]? Type1045 { get; set; } + public global::OpenRouter.UpdateKeysRequest? Type1045 { get; set; } + /// + /// + /// + public global::OpenRouter.OneOf? Type1046 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankRequest? Type1047 { get; set; } + /// + /// + /// + public byte[]? Type1048 { get; set; } /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfig.g.cs index 31c32b1d..3dc8e29c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfig.g.cs @@ -22,6 +22,13 @@ public sealed partial class MessagesOutputConfig [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OneOfJsonConverter))] public global::OpenRouter.OneOf? Format { get; set; } + /// + /// Task budget for an agentic turn. The model sees a countdown of remaining tokens and uses it to prioritize work and wind down gracefully. Advisory — does not enforce a hard cap. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("task_budget")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OneOfJsonConverter))] + public global::OpenRouter.OneOf? TaskBudget { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -37,15 +44,20 @@ public sealed partial class MessagesOutputConfig /// /// A schema to specify Claude's output format in responses. See [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs). /// + /// + /// Task budget for an agentic turn. The model sees a countdown of remaining tokens and uses it to prioritize work and wind down gracefully. Advisory — does not enforce a hard cap. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public MessagesOutputConfig( global::OpenRouter.OneOf? effort, - global::OpenRouter.OneOf? format) + global::OpenRouter.OneOf? format, + global::OpenRouter.OneOf? taskBudget) { this.Effort = effort; this.Format = format; + this.TaskBudget = taskBudget; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigTaskBudget.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigTaskBudget.Json.g.cs new file mode 100644 index 00000000..b4a8db66 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigTaskBudget.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class MessagesOutputConfigTaskBudget + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.MessagesOutputConfigTaskBudget? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.MessagesOutputConfigTaskBudget), + jsonSerializerContext) as global::OpenRouter.MessagesOutputConfigTaskBudget; + } + + /// + /// 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.MessagesOutputConfigTaskBudget? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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.MessagesOutputConfigTaskBudget), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.MessagesOutputConfigTaskBudget; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigTaskBudget.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigTaskBudget.g.cs new file mode 100644 index 00000000..591ce951 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigTaskBudget.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Task budget for an agentic turn. The model sees a countdown of remaining tokens and uses it to prioritize work and wind down gracefully. Advisory — does not enforce a hard cap. + /// + public sealed partial class MessagesOutputConfigTaskBudget + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("remaining")] + public int? Remaining { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Total { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.MessagesOutputConfigTaskBudgetTypeJsonConverter))] + public global::OpenRouter.MessagesOutputConfigTaskBudgetType 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 MessagesOutputConfigTaskBudget( + int total, + int? remaining, + global::OpenRouter.MessagesOutputConfigTaskBudgetType type) + { + this.Remaining = remaining; + this.Total = total; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public MessagesOutputConfigTaskBudget() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigTaskBudgetType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigTaskBudgetType.g.cs new file mode 100644 index 00000000..b31ed3cb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigTaskBudgetType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum MessagesOutputConfigTaskBudgetType + { + /// + /// + /// + Tokens, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class MessagesOutputConfigTaskBudgetTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this MessagesOutputConfigTaskBudgetType value) + { + return value switch + { + MessagesOutputConfigTaskBudgetType.Tokens => "tokens", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static MessagesOutputConfigTaskBudgetType? ToEnum(string value) + { + return value switch + { + "tokens" => MessagesOutputConfigTaskBudgetType.Tokens, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 25f3d120..1b5146c4 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -17139,6 +17139,36 @@ "description": "A schema to specify Claude's output format in responses. See [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs).", "title": "MessagesOutputConfigFormat" }, + "MessagesOutputConfigTaskBudgetType": { + "type": "string", + "enum": [ + "tokens" + ], + "title": "MessagesOutputConfigTaskBudgetType" + }, + "MessagesOutputConfigTaskBudget": { + "type": "object", + "properties": { + "remaining": { + "type": [ + "integer", + "null" + ] + }, + "total": { + "type": "integer" + }, + "type": { + "$ref": "#/components/schemas/MessagesOutputConfigTaskBudgetType" + } + }, + "required": [ + "total", + "type" + ], + "description": "Task budget for an agentic turn. The model sees a countdown of remaining tokens and uses it to prioritize work and wind down gracefully. Advisory — does not enforce a hard cap.", + "title": "MessagesOutputConfigTaskBudget" + }, "MessagesOutputConfig": { "type": "object", "properties": { @@ -17163,6 +17193,17 @@ } ], "description": "A schema to specify Claude's output format in responses. See [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs)." + }, + "task_budget": { + "oneOf": [ + { + "$ref": "#/components/schemas/MessagesOutputConfigTaskBudget" + }, + { + "type": "null" + } + ], + "description": "Task budget for an agentic turn. The model sees a countdown of remaining tokens and uses it to prioritize work and wind down gracefully. Advisory — does not enforce a hard cap." } }, "description": "Configuration for controlling output behavior. Supports the effort parameter and structured output format.",