diff --git a/src/libs/AI21/Generated/AI21..JsonSerializerContext.g.cs b/src/libs/AI21/Generated/AI21..JsonSerializerContext.g.cs index 3f6dee2e..ef287e0c 100644 --- a/src/libs/AI21/Generated/AI21..JsonSerializerContext.g.cs +++ b/src/libs/AI21/Generated/AI21..JsonSerializerContext.g.cs @@ -218,31 +218,31 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf, global::System.Collections.Generic.IList>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf, global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnyOfIListGuidIListString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Guid))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinition))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinition), TypeInfoPropertyName = "LanguageStudioApiServerDataTypesExecutionEngineToolDefinition2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LanguageStudioApiServerDataTypesAssistantRequirement))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.BudgetLevel))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.Visibility))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AssistantType))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AssistantResponseLanguage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.BudgetLevel), TypeInfoPropertyName = "BudgetLevel2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.Visibility), TypeInfoPropertyName = "Visibility2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AssistantType), TypeInfoPropertyName = "AssistantType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AssistantResponseLanguage), TypeInfoPropertyName = "AssistantResponseLanguage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.StarterQuestion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WorkflowConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AssistantBasicInfo))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AssistantMessage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AssistantMessageRole))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AssistantMessageRole), TypeInfoPropertyName = "AssistantMessageRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolCall))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AssistantRoute))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AssistantsByMcpResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AuthenticationType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AuthenticationType), TypeInfoPropertyName = "AuthenticationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.BodyConvertDocumentFileStudioV1ChatFilesConvertPost))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] @@ -250,7 +250,7 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.BodyProcessRfiDocumentStudioV1DemosRfiProcessRfiPost))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.BodyUploadCheckComplianceStudioV1DemosRegulationsUploadCheckCompliancePost))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.BodyV1LibraryUpload))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.UploadMode))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.UploadMode), TypeInfoPropertyName = "UploadMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatCompletion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatCompletionResponseChoice))] @@ -258,7 +258,7 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.Logprobs))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatCompletionResponseDeltaChoice))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf), TypeInfoPropertyName = "AnyOfChatStreamingFirstDeltaChatStreamingContentDeltaChatStreamingToolCallsFirstDeltaChatStreamingToolCallsDelta2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatStreamingFirstDelta))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatStreamingContentDelta))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatStreamingToolCallsFirstDelta))] @@ -266,49 +266,50 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatCompletionVllmStreamingMessage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ModelName))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ModelName), TypeInfoPropertyName = "ModelName2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MessagesItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MessagesItem), TypeInfoPropertyName = "MessagesItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.UserMessage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolMessage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.SystemMessage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatRequestMessageDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatRequestMessageDiscriminatorRole))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatRequestMessageDiscriminatorRole), TypeInfoPropertyName = "ChatRequestMessageDiscriminatorRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LanguageStudioApiServerDataTypesChatToolDefinition))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf>), TypeInfoPropertyName = "AnyOfStringIListString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MockResponseConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DocumentSchema))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ResponseFormat))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatStreamingFirstDeltaRole))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ChatStreamingFirstDeltaRole), TypeInfoPropertyName = "ChatStreamingFirstDeltaRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolCallDelta))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolCallDeltaStart))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CompareTextRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ComparisonOperator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ConnectorConnectionStatus))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ParagonSyncStatus))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ParagonSyncStatus), TypeInfoPropertyName = "ParagonSyncStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ConnectorsDataSources))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DataSourceMetadata))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ConnectorsStatus))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ConnectorsWorkflowStatus))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ConnectorsWorkflowStatus), TypeInfoPropertyName = "ConnectorsWorkflowStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ConnectorsSyncParams))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ConnectorsToken))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateAssistantRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateMCPStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateMaestroRunsPayload))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf, string>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf, string>), TypeInfoPropertyName = "AnyOfIListMessageString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.Message))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LanguageStudioApiServerDataTypesExecutionEngineRequirement))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateMaestroRunsPayloadBudget))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateMaestroRunsPayloadVariant))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateMaestroRunsPayloadBudget), TypeInfoPropertyName = "CreateMaestroRunsPayloadBudget2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateMaestroRunsPayloadVariant), TypeInfoPropertyName = "CreateMaestroRunsPayloadVariant2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateMaestroRunsPayloadResponseLanguage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateMaestroRunsPayloadResponseLanguage), TypeInfoPropertyName = "CreateMaestroRunsPayloadResponseLanguage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateOrganizationSchemaRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreatePlanPayload))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.CreateRoutePayload))] @@ -316,8 +317,8 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DeleteAssistantResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DeleteMCPStorageResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.Demo))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DemoVisibility))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DemoStatus))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DemoVisibility), TypeInfoPropertyName = "DemoVisibility2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DemoStatus), TypeInfoPropertyName = "DemoStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DemoCreate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DemoUpdate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.DetectSchemaRequest))] @@ -329,26 +330,26 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FileResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(long))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FileSearchToolResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FileSearchToolResourceType))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FileSearchToolResourceLabelsFilterMode))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.QueryFilter))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RetrievalStrategy))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FileSearchToolResourceResponseLanguage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FileStatus))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FileSearchToolResourceType), TypeInfoPropertyName = "FileSearchToolResourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FileSearchToolResourceLabelsFilterMode), TypeInfoPropertyName = "FileSearchToolResourceLabelsFilterMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.QueryFilter), TypeInfoPropertyName = "QueryFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RetrievalStrategy), TypeInfoPropertyName = "RetrievalStrategy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FileSearchToolResourceResponseLanguage), TypeInfoPropertyName = "FileSearchToolResourceResponseLanguage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FileStatus), TypeInfoPropertyName = "FileStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FilesUpdateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.FunctionToolDefinition))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolParameters))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.GenerateAssistantRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.GenerateAssistantResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.GenerateAssistantResponseResponseLanguage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.GenerateAssistantResponseResponseLanguage), TypeInfoPropertyName = "GenerateAssistantResponseResponseLanguage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.HTTPToolEndpoint))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.HTTPToolFunction))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.HTTPToolFunctionParameters))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.HTTPToolFunctionParamProperties))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.HTTPToolFunctionParametersType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.HTTPToolFunctionParametersType), TypeInfoPropertyName = "HTTPToolFunctionParametersType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.HTTPToolResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.HTTPToolResourceType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.HTTPToolResourceType), TypeInfoPropertyName = "HTTPToolResourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.HTTPValidationError))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ValidationError))] @@ -357,7 +358,7 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.JambaExecuteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LibrarySearchRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LibrarySearchRequestLabelsFilterMode))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LibrarySearchRequestLabelsFilterMode), TypeInfoPropertyName = "LibrarySearchRequestLabelsFilterMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ListAssistantsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ListMCPsStorageResponse))] @@ -378,66 +379,66 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MCPTool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MCPToolResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MCPToolResourceType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MCPToolResourceType), TypeInfoPropertyName = "MCPToolResourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MaestroRunError))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MaestroRunResult))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MaestroRunResultStatus))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MaestroRunResultStatus), TypeInfoPropertyName = "MaestroRunResultStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MarkdownRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MessageRole))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.MessageRole), TypeInfoPropertyName = "MessageRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ModelInfo))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ModelQuantization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ModelQuantization), TypeInfoPropertyName = "ModelQuantization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ModelPricing))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ModelsInfoResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ModifyAssistantRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RunOptimization))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ModifyAssistantRequestResponseLanguage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RunOptimization), TypeInfoPropertyName = "RunOptimization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ModifyAssistantRequestResponseLanguage), TypeInfoPropertyName = "ModifyAssistantRequestResponseLanguage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.OrgSchema))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.OrgSchemas))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RFIResponseSection))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RequirementItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RequirementsGenerationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RequirementsGenerationResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ResponseFormatType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ResponseFormatType), TypeInfoPropertyName = "ResponseFormatType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RunAssistantRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RunAssistantRequestResponseLanguage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RunAssistantRequestResponseLanguage), TypeInfoPropertyName = "RunAssistantRequestResponseLanguage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.SecretResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.SystemMessageRole))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.SystemMessageRole), TypeInfoPropertyName = "SystemMessageRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ThreadNameGenerationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ThreadNameGenerationResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolCallType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolCallType), TypeInfoPropertyName = "ToolCallType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolFunction))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolFunctionDelta))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolCallDeltaStartType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolCallDeltaStartType), TypeInfoPropertyName = "ToolCallDeltaStartType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolFunctionDeltaStart))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolMessageRole))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolParametersType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolMessageRole), TypeInfoPropertyName = "ToolMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ToolParametersType), TypeInfoPropertyName = "ToolParametersType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.UpdateMCPStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.UpdateRoutePayload))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.UpdateSecretPayload))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.UserMessageRole))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.UserMessageRole), TypeInfoPropertyName = "UserMessageRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf), TypeInfoPropertyName = "AnyOfStringInt322")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ValidationResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WebSearchToolResource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WebSearchToolResourceType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WebSearchToolResourceType), TypeInfoPropertyName = "WebSearchToolResourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WebsiteConnectorCreateConfigPayload))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WebsiteConnectorIngestUrlPayload))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WebsiteConnectorIngestWebsitePayload))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WebsiteConnectorPayload))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WebsiteConnectorPayloadType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WebsiteConnectorPayloadType), TypeInfoPropertyName = "WebsiteConnectorPayloadType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WebsiteConnectorRetryIngestWebsitePayload))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WorkspaceModelResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WorkspaceModelUpdate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.WorkspaceModelsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LanguageStudioApiServerDataTypesChatToolDefinitionType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LanguageStudioApiServerDataTypesChatToolDefinitionType), TypeInfoPropertyName = "LanguageStudioApiServerDataTypesChatToolDefinitionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminatorType))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminatorType), TypeInfoPropertyName = "LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf>), TypeInfoPropertyName = "AnyOfChatCompletionIListChatCompletionVllmStreamingMessage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] diff --git a/src/libs/AI21/Generated/AI21.JsonConverters.QueryFilter.g.cs b/src/libs/AI21/Generated/AI21.JsonConverters.QueryFilter.g.cs index 21464976..07c0ea34 100644 --- a/src/libs/AI21/Generated/AI21.JsonConverters.QueryFilter.g.cs +++ b/src/libs/AI21/Generated/AI21.JsonConverters.QueryFilter.g.cs @@ -29,7 +29,7 @@ public class QueryFilterJsonConverter : global::System.Text.Json.Serialization.J var __score0 = 0; { - var __ti = typeInfoResolver.GetTypeInfo(typeof(object), options); + var __ti = typeInfoResolver.GetTypeInfo(typeof(global::AI21.ComparisonOperator), options); if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) { foreach (var __prop in __ti.Properties) @@ -51,7 +51,7 @@ public class QueryFilterJsonConverter : global::System.Text.Json.Serialization.J } var __score2 = 0; { - var __ti = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary), options); + var __ti = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary), options); if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) { foreach (var __prop in __ti.Properties) @@ -66,9 +66,9 @@ public class QueryFilterJsonConverter : global::System.Text.Json.Serialization.J if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } - object? comparisonOperator = default; + global::AI21.ComparisonOperator? comparisonOperator = default; global::System.Collections.Generic.Dictionary>? logicalOperator = default; - global::System.Collections.Generic.Dictionary? value3 = default; + global::System.Collections.Generic.Dictionary? value3 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -76,8 +76,8 @@ public class QueryFilterJsonConverter : global::System.Text.Json.Serialization.J try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AI21.ComparisonOperator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AI21.ComparisonOperator).Name}"); comparisonOperator = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -110,8 +110,8 @@ public class QueryFilterJsonConverter : global::System.Text.Json.Serialization.J try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.Dictionary).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.Dictionary).Name}"); value3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -128,8 +128,8 @@ public class QueryFilterJsonConverter : global::System.Text.Json.Serialization.J try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AI21.ComparisonOperator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AI21.ComparisonOperator).Name}"); comparisonOperator = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -156,8 +156,8 @@ public class QueryFilterJsonConverter : global::System.Text.Json.Serialization.J try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.Dictionary).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.Dictionary).Name}"); value3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -190,8 +190,8 @@ public override void Write( if (value.IsComparisonOperator) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AI21.ComparisonOperator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AI21.ComparisonOperator).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ComparisonOperator, typeInfo); } else if (value.IsLogicalOperator) @@ -202,8 +202,8 @@ public override void Write( } else if (value.IsValue3) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.Dictionary).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.Dictionary).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3, typeInfo); } } diff --git a/src/libs/AI21/Generated/AI21.JsonSerializerContextTypes.g.cs b/src/libs/AI21/Generated/AI21.JsonSerializerContextTypes.g.cs index c6e089cc..550dad63 100644 --- a/src/libs/AI21/Generated/AI21.JsonSerializerContextTypes.g.cs +++ b/src/libs/AI21/Generated/AI21.JsonSerializerContextTypes.g.cs @@ -324,619 +324,623 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::AI21.ConnectorConnectionStatus? Type74 { get; set; } + public global::AI21.ComparisonOperator? Type74 { get; set; } /// /// /// - public global::AI21.ParagonSyncStatus? Type75 { get; set; } + public global::AI21.ConnectorConnectionStatus? Type75 { get; set; } /// /// /// - public global::AI21.ConnectorsDataSources? Type76 { get; set; } + public global::AI21.ParagonSyncStatus? Type76 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type77 { get; set; } + public global::AI21.ConnectorsDataSources? Type77 { get; set; } /// /// /// - public global::AI21.DataSourceMetadata? Type78 { get; set; } + public global::System.Collections.Generic.IList? Type78 { get; set; } /// /// /// - public global::AI21.ConnectorsStatus? Type79 { get; set; } + public global::AI21.DataSourceMetadata? Type79 { get; set; } /// /// /// - public global::AI21.ConnectorsWorkflowStatus? Type80 { get; set; } + public global::AI21.ConnectorsStatus? Type80 { get; set; } /// /// /// - public global::AI21.ConnectorsSyncParams? Type81 { get; set; } + public global::AI21.ConnectorsWorkflowStatus? Type81 { get; set; } /// /// /// - public global::AI21.ConnectorsToken? Type82 { get; set; } + public global::AI21.ConnectorsSyncParams? Type82 { get; set; } /// /// /// - public global::AI21.CreateAssistantRequest? Type83 { get; set; } + public global::AI21.ConnectorsToken? Type83 { get; set; } /// /// /// - public global::AI21.CreateMCPStorageRequest? Type84 { get; set; } + public global::AI21.CreateAssistantRequest? Type84 { get; set; } /// /// /// - public global::AI21.CreateMaestroRunsPayload? Type85 { get; set; } + public global::AI21.CreateMCPStorageRequest? Type85 { get; set; } /// /// /// - public global::AI21.AnyOf, string>? Type86 { get; set; } + public global::AI21.CreateMaestroRunsPayload? Type86 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type87 { get; set; } + public global::AI21.AnyOf, string>? Type87 { get; set; } /// /// /// - public global::AI21.Message? Type88 { get; set; } + public global::System.Collections.Generic.IList? Type88 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type89 { get; set; } + public global::AI21.Message? Type89 { get; set; } /// /// /// - public global::AI21.LanguageStudioApiServerDataTypesExecutionEngineRequirement? Type90 { get; set; } + public global::System.Collections.Generic.IList? Type90 { get; set; } /// /// /// - public global::AI21.CreateMaestroRunsPayloadBudget? Type91 { get; set; } + public global::AI21.LanguageStudioApiServerDataTypesExecutionEngineRequirement? Type91 { get; set; } /// /// /// - public global::AI21.CreateMaestroRunsPayloadVariant? Type92 { get; set; } + public global::AI21.CreateMaestroRunsPayloadBudget? Type92 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type93 { get; set; } + public global::AI21.CreateMaestroRunsPayloadVariant? Type93 { get; set; } /// /// /// - public global::AI21.CreateMaestroRunsPayloadResponseLanguage? Type94 { get; set; } + public global::System.Collections.Generic.IList? Type94 { get; set; } /// /// /// - public global::AI21.CreateOrganizationSchemaRequest? Type95 { get; set; } + public global::AI21.CreateMaestroRunsPayloadResponseLanguage? Type95 { get; set; } /// /// /// - public global::AI21.CreatePlanPayload? Type96 { get; set; } + public global::AI21.CreateOrganizationSchemaRequest? Type96 { get; set; } /// /// /// - public global::AI21.CreateRoutePayload? Type97 { get; set; } + public global::AI21.CreatePlanPayload? Type97 { get; set; } /// /// /// - public global::AI21.CreateSecretPayload? Type98 { get; set; } + public global::AI21.CreateRoutePayload? Type98 { get; set; } /// /// /// - public global::AI21.DeleteAssistantResponse? Type99 { get; set; } + public global::AI21.CreateSecretPayload? Type99 { get; set; } /// /// /// - public global::AI21.DeleteMCPStorageResponse? Type100 { get; set; } + public global::AI21.DeleteAssistantResponse? Type100 { get; set; } /// /// /// - public global::AI21.Demo? Type101 { get; set; } + public global::AI21.DeleteMCPStorageResponse? Type101 { get; set; } /// /// /// - public global::AI21.DemoVisibility? Type102 { get; set; } + public global::AI21.Demo? Type102 { get; set; } /// /// /// - public global::AI21.DemoStatus? Type103 { get; set; } + public global::AI21.DemoVisibility? Type103 { get; set; } /// /// /// - public global::AI21.DemoCreate? Type104 { get; set; } + public global::AI21.DemoStatus? Type104 { get; set; } /// /// /// - public global::AI21.DemoUpdate? Type105 { get; set; } + public global::AI21.DemoCreate? Type105 { get; set; } /// /// /// - public global::AI21.DetectSchemaRequest? Type106 { get; set; } + public global::AI21.DemoUpdate? Type106 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type107 { get; set; } + public global::AI21.DetectSchemaRequest? Type107 { get; set; } /// /// /// - public global::AI21.DocumentReference? Type108 { get; set; } + public global::System.Collections.Generic.IList? Type108 { get; set; } /// /// /// - public global::AI21.DetectSchemaResponse? Type109 { get; set; } + public global::AI21.DocumentReference? Type109 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type110 { get; set; } + public global::AI21.DetectSchemaResponse? Type110 { get; set; } /// /// /// - public global::AI21.DownloadModifiedDocumentRequest? Type111 { get; set; } + public global::System.Collections.Generic.Dictionary? Type111 { get; set; } /// /// /// - public global::AI21.FileResponse? Type112 { get; set; } + public global::AI21.DownloadModifiedDocumentRequest? Type112 { get; set; } /// /// /// - public long? Type113 { get; set; } + public global::AI21.FileResponse? Type113 { get; set; } /// /// /// - public global::AI21.FileSearchToolResource? Type114 { get; set; } + public long? Type114 { get; set; } /// /// /// - public global::AI21.FileSearchToolResourceType? Type115 { get; set; } + public global::AI21.FileSearchToolResource? Type115 { get; set; } /// /// /// - public global::AI21.FileSearchToolResourceLabelsFilterMode? Type116 { get; set; } + public global::AI21.FileSearchToolResourceType? Type116 { get; set; } /// /// /// - public global::AI21.QueryFilter? Type117 { get; set; } + public global::AI21.FileSearchToolResourceLabelsFilterMode? Type117 { get; set; } /// /// /// - public global::AI21.RetrievalStrategy? Type118 { get; set; } + public global::AI21.QueryFilter? Type118 { get; set; } /// /// /// - public global::AI21.FileSearchToolResourceResponseLanguage? Type119 { get; set; } + public global::AI21.RetrievalStrategy? Type119 { get; set; } /// /// /// - public global::AI21.FileStatus? Type120 { get; set; } + public global::AI21.FileSearchToolResourceResponseLanguage? Type120 { get; set; } /// /// /// - public global::AI21.FilesUpdateRequest? Type121 { get; set; } + public global::AI21.FileStatus? Type121 { get; set; } /// /// /// - public global::AI21.FunctionToolDefinition? Type122 { get; set; } + public global::AI21.FilesUpdateRequest? Type122 { get; set; } /// /// /// - public global::AI21.ToolParameters? Type123 { get; set; } + public global::AI21.FunctionToolDefinition? Type123 { get; set; } /// /// /// - public global::AI21.GenerateAssistantRequest? Type124 { get; set; } + public global::AI21.ToolParameters? Type124 { get; set; } /// /// /// - public global::AI21.GenerateAssistantResponse? Type125 { get; set; } + public global::AI21.GenerateAssistantRequest? Type125 { get; set; } /// /// /// - public global::AI21.GenerateAssistantResponseResponseLanguage? Type126 { get; set; } + public global::AI21.GenerateAssistantResponse? Type126 { get; set; } /// /// /// - public global::AI21.HTTPToolEndpoint? Type127 { get; set; } + public global::AI21.GenerateAssistantResponseResponseLanguage? Type127 { get; set; } /// /// /// - public global::AI21.HTTPToolFunction? Type128 { get; set; } + public global::AI21.HTTPToolEndpoint? Type128 { get; set; } /// /// /// - public global::AI21.HTTPToolFunctionParameters? Type129 { get; set; } + public global::AI21.HTTPToolFunction? Type129 { get; set; } /// /// /// - public global::AI21.HTTPToolFunctionParamProperties? Type130 { get; set; } + public global::AI21.HTTPToolFunctionParameters? Type130 { get; set; } /// /// /// - public global::AI21.HTTPToolFunctionParametersType? Type131 { get; set; } + public global::AI21.HTTPToolFunctionParamProperties? Type131 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type132 { get; set; } + public global::AI21.HTTPToolFunctionParametersType? Type132 { get; set; } /// /// /// - public global::AI21.HTTPToolResource? Type133 { get; set; } + public global::System.Collections.Generic.Dictionary? Type133 { get; set; } /// /// /// - public global::AI21.HTTPToolResourceType? Type134 { get; set; } + public global::AI21.HTTPToolResource? Type134 { get; set; } /// /// /// - public global::AI21.HTTPValidationError? Type135 { get; set; } + public global::AI21.HTTPToolResourceType? Type135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type136 { get; set; } + public global::AI21.HTTPValidationError? Type136 { get; set; } /// /// /// - public global::AI21.ValidationError? Type137 { get; set; } + public global::System.Collections.Generic.IList? Type137 { get; set; } /// /// /// - public global::AI21.IgnestionBatchStatusCount? Type138 { get; set; } + public global::AI21.ValidationError? Type138 { get; set; } /// /// /// - public global::AI21.IngestionBatchStatusResponse? Type139 { get; set; } + public global::AI21.IgnestionBatchStatusCount? Type139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type140 { get; set; } + public global::AI21.IngestionBatchStatusResponse? Type140 { get; set; } /// /// /// - public global::AI21.JambaExecuteRequest? Type141 { get; set; } + public global::System.Collections.Generic.IList? Type141 { get; set; } /// /// /// - public global::AI21.LibrarySearchRequest? Type142 { get; set; } + public global::AI21.JambaExecuteRequest? Type142 { get; set; } /// /// /// - public global::AI21.LibrarySearchRequestLabelsFilterMode? Type143 { get; set; } + public global::AI21.LibrarySearchRequest? Type143 { get; set; } /// /// /// - public global::AI21.ListAssistantsResponse? Type144 { get; set; } + public global::AI21.LibrarySearchRequestLabelsFilterMode? Type144 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type145 { get; set; } + public global::AI21.ListAssistantsResponse? Type145 { get; set; } /// /// /// - public global::AI21.ListMCPsStorageResponse? Type146 { get; set; } + public global::System.Collections.Generic.IList? Type146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type147 { get; set; } + public global::AI21.ListMCPsStorageResponse? Type147 { get; set; } /// /// /// - public global::AI21.MCPStorageResponse? Type148 { get; set; } + public global::System.Collections.Generic.IList? Type148 { get; set; } /// /// /// - public global::AI21.ListPlansResponse? Type149 { get; set; } + public global::AI21.MCPStorageResponse? Type149 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type150 { get; set; } + public global::AI21.ListPlansResponse? Type150 { get; set; } /// /// /// - public global::AI21.Plan? Type151 { get; set; } + public global::System.Collections.Generic.IList? Type151 { get; set; } /// /// /// - public global::AI21.ListRoutesResponse? Type152 { get; set; } + public global::AI21.Plan? Type152 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type153 { get; set; } + public global::AI21.ListRoutesResponse? Type153 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type154 { get; set; } + public global::System.Collections.Generic.IList? Type154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type155 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type155 { get; set; } /// /// /// - public global::AI21.LogprobsData? Type156 { get; set; } + public global::System.Collections.Generic.IList? Type156 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type157 { get; set; } + public global::AI21.LogprobsData? Type157 { get; set; } /// /// /// - public global::AI21.TopLogprobsData? Type158 { get; set; } + public global::System.Collections.Generic.IList? Type158 { get; set; } /// /// /// - public global::AI21.MCPDefinition? Type159 { get; set; } + public global::AI21.TopLogprobsData? Type159 { get; set; } /// /// /// - public global::AI21.MCPDiscoveryResponse? Type160 { get; set; } + public global::AI21.MCPDefinition? Type160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type161 { get; set; } + public global::AI21.MCPDiscoveryResponse? Type161 { get; set; } /// /// /// - public global::AI21.MCPTool? Type162 { get; set; } + public global::System.Collections.Generic.IList? Type162 { get; set; } /// /// /// - public global::AI21.MCPToolResource? Type163 { get; set; } + public global::AI21.MCPTool? Type163 { get; set; } /// /// /// - public global::AI21.MCPToolResourceType? Type164 { get; set; } + public global::AI21.MCPToolResource? Type164 { get; set; } /// /// /// - public global::AI21.MaestroRunError? Type165 { get; set; } + public global::AI21.MCPToolResourceType? Type165 { get; set; } /// /// /// - public global::AI21.MaestroRunResult? Type166 { get; set; } + public global::AI21.MaestroRunError? Type166 { get; set; } /// /// /// - public global::AI21.MaestroRunResultStatus? Type167 { get; set; } + public global::AI21.MaestroRunResult? Type167 { get; set; } /// /// /// - public global::AI21.MarkdownRequest? Type168 { get; set; } + public global::AI21.MaestroRunResultStatus? Type168 { get; set; } /// /// /// - public global::AI21.MessageRole? Type169 { get; set; } + public global::AI21.MarkdownRequest? Type169 { get; set; } /// /// /// - public global::AI21.ModelInfo? Type170 { get; set; } + public global::AI21.MessageRole? Type170 { get; set; } /// /// /// - public global::AI21.ModelQuantization? Type171 { get; set; } + public global::AI21.ModelInfo? Type171 { get; set; } /// /// /// - public global::AI21.ModelPricing? Type172 { get; set; } + public global::AI21.ModelQuantization? Type172 { get; set; } /// /// /// - public global::AI21.ModelsInfoResponse? Type173 { get; set; } + public global::AI21.ModelPricing? Type173 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type174 { get; set; } + public global::AI21.ModelsInfoResponse? Type174 { get; set; } /// /// /// - public global::AI21.ModifyAssistantRequest? Type175 { get; set; } + public global::System.Collections.Generic.IList? Type175 { get; set; } /// /// /// - public global::AI21.RunOptimization? Type176 { get; set; } + public global::AI21.ModifyAssistantRequest? Type176 { get; set; } /// /// /// - public global::AI21.ModifyAssistantRequestResponseLanguage? Type177 { get; set; } + public global::AI21.RunOptimization? Type177 { get; set; } /// /// /// - public global::AI21.OrgSchema? Type178 { get; set; } + public global::AI21.ModifyAssistantRequestResponseLanguage? Type178 { get; set; } /// /// /// - public global::AI21.OrgSchemas? Type179 { get; set; } + public global::AI21.OrgSchema? Type179 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type180 { get; set; } + public global::AI21.OrgSchemas? Type180 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type181 { get; set; } + public global::System.Collections.Generic.IList? Type181 { get; set; } /// /// /// - public global::AI21.RFIResponseSection? Type182 { get; set; } + public global::System.Collections.Generic.Dictionary? Type182 { get; set; } /// /// /// - public global::AI21.RequirementItem? Type183 { get; set; } + public global::AI21.RFIResponseSection? Type183 { get; set; } /// /// /// - public global::AI21.RequirementsGenerationRequest? Type184 { get; set; } + public global::AI21.RequirementItem? Type184 { get; set; } /// /// /// - public global::AI21.RequirementsGenerationResponse? Type185 { get; set; } + public global::AI21.RequirementsGenerationRequest? Type185 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type186 { get; set; } + public global::AI21.RequirementsGenerationResponse? Type186 { get; set; } /// /// /// - public global::AI21.ResponseFormatType? Type187 { get; set; } + public global::System.Collections.Generic.IList? Type187 { get; set; } /// /// /// - public global::AI21.RunAssistantRequest? Type188 { get; set; } + public global::AI21.ResponseFormatType? Type188 { get; set; } /// /// /// - public global::AI21.RunAssistantRequestResponseLanguage? Type189 { get; set; } + public global::AI21.RunAssistantRequest? Type189 { get; set; } /// /// /// - public global::AI21.SecretResponse? Type190 { get; set; } + public global::AI21.RunAssistantRequestResponseLanguage? Type190 { get; set; } /// /// /// - public global::AI21.SystemMessageRole? Type191 { get; set; } + public global::AI21.SecretResponse? Type191 { get; set; } /// /// /// - public global::AI21.ThreadNameGenerationRequest? Type192 { get; set; } + public global::AI21.SystemMessageRole? Type192 { get; set; } /// /// /// - public global::AI21.ThreadNameGenerationResponse? Type193 { get; set; } + public global::AI21.ThreadNameGenerationRequest? Type193 { get; set; } /// /// /// - public global::AI21.ToolCallType? Type194 { get; set; } + public global::AI21.ThreadNameGenerationResponse? Type194 { get; set; } /// /// /// - public global::AI21.ToolFunction? Type195 { get; set; } + public global::AI21.ToolCallType? Type195 { get; set; } /// /// /// - public global::AI21.ToolFunctionDelta? Type196 { get; set; } + public global::AI21.ToolFunction? Type196 { get; set; } /// /// /// - public global::AI21.ToolCallDeltaStartType? Type197 { get; set; } + public global::AI21.ToolFunctionDelta? Type197 { get; set; } /// /// /// - public global::AI21.ToolFunctionDeltaStart? Type198 { get; set; } + public global::AI21.ToolCallDeltaStartType? Type198 { get; set; } /// /// /// - public global::AI21.ToolMessageRole? Type199 { get; set; } + public global::AI21.ToolFunctionDeltaStart? Type199 { get; set; } /// /// /// - public global::AI21.ToolParametersType? Type200 { get; set; } + public global::AI21.ToolMessageRole? Type200 { get; set; } /// /// /// - public global::AI21.UpdateMCPStorageRequest? Type201 { get; set; } + public global::AI21.ToolParametersType? Type201 { get; set; } /// /// /// - public global::AI21.UpdateRoutePayload? Type202 { get; set; } + public global::AI21.UpdateMCPStorageRequest? Type202 { get; set; } /// /// /// - public global::AI21.UpdateSecretPayload? Type203 { get; set; } + public global::AI21.UpdateRoutePayload? Type203 { get; set; } /// /// /// - public global::AI21.UserMessageRole? Type204 { get; set; } + public global::AI21.UpdateSecretPayload? Type204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type205 { get; set; } + public global::AI21.UserMessageRole? Type205 { get; set; } /// /// /// - public global::AI21.AnyOf? Type206 { get; set; } + public global::System.Collections.Generic.IList>? Type206 { get; set; } /// /// /// - public global::AI21.ValidationResult? Type207 { get; set; } + public global::AI21.AnyOf? Type207 { get; set; } /// /// /// - public global::AI21.WebSearchToolResource? Type208 { get; set; } + public global::AI21.ValidationResult? Type208 { get; set; } /// /// /// - public global::AI21.WebSearchToolResourceType? Type209 { get; set; } + public global::AI21.WebSearchToolResource? Type209 { get; set; } /// /// /// - public global::AI21.WebsiteConnectorCreateConfigPayload? Type210 { get; set; } + public global::AI21.WebSearchToolResourceType? Type210 { get; set; } /// /// /// - public global::AI21.WebsiteConnectorIngestUrlPayload? Type211 { get; set; } + public global::AI21.WebsiteConnectorCreateConfigPayload? Type211 { get; set; } /// /// /// - public global::AI21.WebsiteConnectorIngestWebsitePayload? Type212 { get; set; } + public global::AI21.WebsiteConnectorIngestUrlPayload? Type212 { get; set; } /// /// /// - public global::AI21.WebsiteConnectorPayload? Type213 { get; set; } + public global::AI21.WebsiteConnectorIngestWebsitePayload? Type213 { get; set; } /// /// /// - public global::AI21.WebsiteConnectorPayloadType? Type214 { get; set; } + public global::AI21.WebsiteConnectorPayload? Type214 { get; set; } /// /// /// - public global::AI21.WebsiteConnectorRetryIngestWebsitePayload? Type215 { get; set; } + public global::AI21.WebsiteConnectorPayloadType? Type215 { get; set; } /// /// /// - public global::AI21.WorkspaceModelResponse? Type216 { get; set; } + public global::AI21.WebsiteConnectorRetryIngestWebsitePayload? Type216 { get; set; } /// /// /// - public global::AI21.WorkspaceModelUpdate? Type217 { get; set; } + public global::AI21.WorkspaceModelResponse? Type217 { get; set; } /// /// /// - public global::AI21.WorkspaceModelsResponse? Type218 { get; set; } + public global::AI21.WorkspaceModelUpdate? Type218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type219 { get; set; } + public global::AI21.WorkspaceModelsResponse? Type219 { get; set; } /// /// /// - public global::AI21.LanguageStudioApiServerDataTypesChatToolDefinitionType? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminator? Type221 { get; set; } + public global::AI21.LanguageStudioApiServerDataTypesChatToolDefinitionType? Type221 { get; set; } /// /// /// - public global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminatorType? Type222 { get; set; } + public global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminator? Type222 { get; set; } /// /// /// - public global::AI21.AnyOf>? Type223 { get; set; } + public global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminatorType? Type223 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type224 { get; set; } + public global::AI21.AnyOf>? Type224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type225 { get; set; } + public global::System.Collections.Generic.IList? Type225 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type226 { get; set; } + public global::System.Collections.Generic.IList? Type226 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type227 { get; set; } + public global::System.Collections.Generic.IList? Type227 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type228 { get; set; } /// /// diff --git a/src/libs/AI21/Generated/AI21.Models.Assistant.g.cs b/src/libs/AI21/Generated/AI21.Models.Assistant.g.cs index 369f2371..930e7326 100644 --- a/src/libs/AI21/Generated/AI21.Models.Assistant.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.Assistant.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace AI21 diff --git a/src/libs/AI21/Generated/AI21.Models.ChatCompletionResponseDeltaChoice.g.cs b/src/libs/AI21/Generated/AI21.Models.ChatCompletionResponseDeltaChoice.g.cs index 540c97fb..a17874e8 100644 --- a/src/libs/AI21/Generated/AI21.Models.ChatCompletionResponseDeltaChoice.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ChatCompletionResponseDeltaChoice.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace AI21 diff --git a/src/libs/AI21/Generated/AI21.Models.ChatRequest.g.cs b/src/libs/AI21/Generated/AI21.Models.ChatRequest.g.cs index c013761a..37b23ac8 100644 --- a/src/libs/AI21/Generated/AI21.Models.ChatRequest.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ChatRequest.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace AI21 diff --git a/src/libs/AI21/Generated/AI21.Models.CreateMaestroRunsPayload.g.cs b/src/libs/AI21/Generated/AI21.Models.CreateMaestroRunsPayload.g.cs index 78ce0fa9..dc1e378e 100644 --- a/src/libs/AI21/Generated/AI21.Models.CreateMaestroRunsPayload.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.CreateMaestroRunsPayload.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace AI21 diff --git a/src/libs/AI21/Generated/AI21.Models.GenerateAssistantResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.GenerateAssistantResponse.g.cs index 6f07e564..de4f216c 100644 --- a/src/libs/AI21/Generated/AI21.Models.GenerateAssistantResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.GenerateAssistantResponse.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace AI21 diff --git a/src/libs/AI21/Generated/AI21.Models.QueryFilter.g.cs b/src/libs/AI21/Generated/AI21.Models.QueryFilter.g.cs index aa6729c8..7b2c67e6 100644 --- a/src/libs/AI21/Generated/AI21.Models.QueryFilter.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.QueryFilter.g.cs @@ -13,9 +13,9 @@ namespace AI21 /// /// #if NET6_0_OR_GREATER - public object? ComparisonOperator { get; init; } + public global::AI21.ComparisonOperator? ComparisonOperator { get; init; } #else - public object? ComparisonOperator { get; } + public global::AI21.ComparisonOperator? ComparisonOperator { get; } #endif /// @@ -47,9 +47,9 @@ namespace AI21 /// /// #if NET6_0_OR_GREATER - public global::System.Collections.Generic.Dictionary? Value3 { get; init; } + public global::System.Collections.Generic.Dictionary? Value3 { get; init; } #else - public global::System.Collections.Generic.Dictionary? Value3 { get; } + public global::System.Collections.Generic.Dictionary? Value3 { get; } #endif /// @@ -59,6 +59,24 @@ namespace AI21 [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value3))] #endif public bool IsValue3 => Value3 != null; + /// + /// + /// + public static implicit operator QueryFilter(global::AI21.ComparisonOperator value) => new QueryFilter((global::AI21.ComparisonOperator?)value); + + /// + /// + /// + public static implicit operator global::AI21.ComparisonOperator?(QueryFilter @this) => @this.ComparisonOperator; + + /// + /// + /// + public QueryFilter(global::AI21.ComparisonOperator? value) + { + ComparisonOperator = value; + } + /// /// /// @@ -80,17 +98,17 @@ public QueryFilter(global::System.Collections.Generic.Dictionary /// /// - public static implicit operator QueryFilter(global::System.Collections.Generic.Dictionary value) => new QueryFilter((global::System.Collections.Generic.Dictionary?)value); + public static implicit operator QueryFilter(global::System.Collections.Generic.Dictionary value) => new QueryFilter((global::System.Collections.Generic.Dictionary?)value); /// /// /// - public static implicit operator global::System.Collections.Generic.Dictionary?(QueryFilter @this) => @this.Value3; + public static implicit operator global::System.Collections.Generic.Dictionary?(QueryFilter @this) => @this.Value3; /// /// /// - public QueryFilter(global::System.Collections.Generic.Dictionary? value) + public QueryFilter(global::System.Collections.Generic.Dictionary? value) { Value3 = value; } @@ -99,9 +117,9 @@ public QueryFilter(global::System.Collections.Generic.Dictionary /// /// public QueryFilter( - object? comparisonOperator, + global::AI21.ComparisonOperator? comparisonOperator, global::System.Collections.Generic.Dictionary>? logicalOperator, - global::System.Collections.Generic.Dictionary? value3 + global::System.Collections.Generic.Dictionary? value3 ) { ComparisonOperator = comparisonOperator; @@ -139,9 +157,9 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? comparisonOperator = null, + global::System.Func? comparisonOperator = null, global::System.Func>?, TResult>? logicalOperator = null, - global::System.Func?, TResult>? value3 = null, + global::System.Func?, TResult>? value3 = null, bool validate = true) { if (validate) @@ -169,9 +187,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? comparisonOperator = null, + global::System.Action? comparisonOperator = null, global::System.Action>?>? logicalOperator = null, - global::System.Action?>? value3 = null, + global::System.Action?>? value3 = null, bool validate = true) { if (validate) @@ -201,11 +219,11 @@ public override int GetHashCode() var fields = new object?[] { ComparisonOperator, - typeof(object), + typeof(global::AI21.ComparisonOperator), LogicalOperator, typeof(global::System.Collections.Generic.Dictionary>), Value3, - typeof(global::System.Collections.Generic.Dictionary), + typeof(global::System.Collections.Generic.Dictionary), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -222,9 +240,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(QueryFilter other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(ComparisonOperator, other.ComparisonOperator) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ComparisonOperator, other.ComparisonOperator) && global::System.Collections.Generic.EqualityComparer>?>.Default.Equals(LogicalOperator, other.LogicalOperator) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value3, other.Value3) + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value3, other.Value3) ; } diff --git a/src/libs/AI21/Generated/AI21.Models.ValidationError.g.cs b/src/libs/AI21/Generated/AI21.Models.ValidationError.g.cs index 8d81922d..b3a10b2f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ValidationError.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ValidationError.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace AI21 diff --git a/src/libs/AI21/Generated/AI21.Models.WebsiteConnectorPayload.g.cs b/src/libs/AI21/Generated/AI21.Models.WebsiteConnectorPayload.g.cs index 481efe3c..b5b09b47 100644 --- a/src/libs/AI21/Generated/AI21.Models.WebsiteConnectorPayload.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.WebsiteConnectorPayload.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace AI21