From 4f5d37e7fbb20b66676513504a9cded7470ed417 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 25 Jun 2026 17:03:39 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...nverters.ProjectScoreConfigObjectType.g.cs | 53 ++ ....ProjectScoreConfigObjectTypeNullable.g.cs | 60 ++ .../Braintrust.JsonSerializerContext.g.cs | 17 +- ...Braintrust.JsonSerializerContextTypes.g.cs | 708 +++++++++--------- ...rust.Models.ProjectScoreConditionWhen.g.cs | 25 +- .../Braintrust.Models.ProjectScoreConfig.g.cs | 11 +- ...t.Models.ProjectScoreConfigObjectType.g.cs | 57 ++ src/libs/Braintrust/openapi.yaml | 32 +- 8 files changed, 604 insertions(+), 359 deletions(-) create mode 100644 src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectScoreConfigObjectType.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectScoreConfigObjectTypeNullable.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConfigObjectType.g.cs diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectScoreConfigObjectType.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectScoreConfigObjectType.g.cs new file mode 100644 index 0000000..b5bc938 --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectScoreConfigObjectType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Braintrust.JsonConverters +{ + /// + public sealed class ProjectScoreConfigObjectTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Braintrust.ProjectScoreConfigObjectType 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::Braintrust.ProjectScoreConfigObjectTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Braintrust.ProjectScoreConfigObjectType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Braintrust.ProjectScoreConfigObjectType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Braintrust.ProjectScoreConfigObjectType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Braintrust.ProjectScoreConfigObjectTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectScoreConfigObjectTypeNullable.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectScoreConfigObjectTypeNullable.g.cs new file mode 100644 index 0000000..b646728 --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectScoreConfigObjectTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Braintrust.JsonConverters +{ + /// + public sealed class ProjectScoreConfigObjectTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Braintrust.ProjectScoreConfigObjectType? 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::Braintrust.ProjectScoreConfigObjectTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Braintrust.ProjectScoreConfigObjectType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Braintrust.ProjectScoreConfigObjectType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Braintrust.ProjectScoreConfigObjectType? 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::Braintrust.ProjectScoreConfigObjectTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs index 2639156..1642f42 100644 --- a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs @@ -533,6 +533,10 @@ namespace Braintrust typeof(global::Braintrust.JsonConverters.ProjectScoreConditionBehaviorNullableJsonConverter), + typeof(global::Braintrust.JsonConverters.ProjectScoreConfigObjectTypeJsonConverter), + + typeof(global::Braintrust.JsonConverters.ProjectScoreConfigObjectTypeNullableJsonConverter), + typeof(global::Braintrust.JsonConverters.CodeBundleRuntimeContextRuntimeJsonConverter), typeof(global::Braintrust.JsonConverters.CodeBundleRuntimeContextRuntimeNullableJsonConverter), @@ -1445,6 +1449,8 @@ namespace Braintrust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectScoreConditionBehavior), TypeInfoPropertyName = "ProjectScoreConditionBehavior2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectScoreConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectScoreConfigVisibility))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectScoreConfigObjectType), TypeInfoPropertyName = "ProjectScoreConfigObjectType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectScore))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectScore))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectScore))] @@ -1491,8 +1497,6 @@ namespace Braintrust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant3Position))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant3Type), TypeInfoPropertyName = "GraphNodeVariant3Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant4Position))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant4Type), TypeInfoPropertyName = "GraphNodeVariant4Type2")] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2024,6 +2028,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Braintrust.JsonConverters.ProjectScoreConditionBehaviorNullableJsonConverter), + typeof(global::Braintrust.JsonConverters.ProjectScoreConfigObjectTypeJsonConverter), + + typeof(global::Braintrust.JsonConverters.ProjectScoreConfigObjectTypeNullableJsonConverter), + typeof(global::Braintrust.JsonConverters.CodeBundleRuntimeContextRuntimeJsonConverter), typeof(global::Braintrust.JsonConverters.CodeBundleRuntimeContextRuntimeNullableJsonConverter), @@ -2523,6 +2531,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AnyOf?), TypeInfoPropertyName = "CodeBundleLocationExperimentPositionClassifier_c4d9fe7d3ca7c609")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers_2c2424cd8ae0cdf5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?>>), TypeInfoPropertyName = "TopicAutomationConfigFacetFunctionVariant2Global_0de25e7b7f3aebf4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant4Position))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant4Type), TypeInfoPropertyName = "GraphNodeVariant4Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant5Position))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant5Type), TypeInfoPropertyName = "GraphNodeVariant5Type2")] @@ -2831,6 +2841,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?>>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -3168,6 +3179,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Braintrust.JsonConverters.OnlineScoreConfigScorerVariant2GlobalTypeNullableJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.ProjectScoreConditionBehaviorJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.ProjectScoreConditionBehaviorNullableJsonConverter()); + options.Converters.Add(new global::Braintrust.JsonConverters.ProjectScoreConfigObjectTypeJsonConverter()); + options.Converters.Add(new global::Braintrust.JsonConverters.ProjectScoreConfigObjectTypeNullableJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.CodeBundleRuntimeContextRuntimeJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.CodeBundleRuntimeContextRuntimeNullableJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.CodeBundleLocationExperimentTypeJsonConverter()); diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs index d408fa8..259f18b 100644 --- a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs @@ -1636,1255 +1636,1263 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Braintrust.ProjectScore? Type402 { get; set; } + public global::System.Collections.Generic.IList? Type402 { get; set; } /// /// /// - public global::Braintrust.CreateProjectScore? Type403 { get; set; } + public global::Braintrust.ProjectScoreConfigObjectType? Type403 { get; set; } /// /// /// - public global::Braintrust.PatchProjectScore? Type404 { get; set; } + public global::Braintrust.ProjectScore? Type404 { get; set; } /// /// /// - public global::Braintrust.ProjectTag? Type405 { get; set; } + public global::Braintrust.CreateProjectScore? Type405 { get; set; } /// /// /// - public global::Braintrust.CreateProjectTag? Type406 { get; set; } + public global::Braintrust.PatchProjectScore? Type406 { get; set; } /// /// /// - public global::Braintrust.PatchProjectTag? Type407 { get; set; } + public global::Braintrust.ProjectTag? Type407 { get; set; } /// /// /// - public global::Braintrust.SpanIFrame? Type408 { get; set; } + public global::Braintrust.CreateProjectTag? Type408 { get; set; } /// /// /// - public global::Braintrust.CreateSpanIFrame? Type409 { get; set; } + public global::Braintrust.PatchProjectTag? Type409 { get; set; } /// /// /// - public global::Braintrust.PatchSpanIFrame? Type410 { get; set; } + public global::Braintrust.SpanIFrame? Type410 { get; set; } /// /// /// - public global::Braintrust.CodeBundle? Type411 { get; set; } + public global::Braintrust.CreateSpanIFrame? Type411 { get; set; } /// /// /// - public global::Braintrust.CodeBundleRuntimeContext? Type412 { get; set; } + public global::Braintrust.PatchSpanIFrame? Type412 { get; set; } /// /// /// - public global::Braintrust.CodeBundleRuntimeContextRuntime? Type413 { get; set; } + public global::Braintrust.CodeBundle? Type413 { get; set; } /// /// /// - public global::Braintrust.AnyOf? Type414 { get; set; } + public global::Braintrust.CodeBundleRuntimeContext? Type414 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperiment? Type415 { get; set; } + public global::Braintrust.CodeBundleRuntimeContextRuntime? Type415 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentType? Type416 { get; set; } + public global::Braintrust.AnyOf? Type416 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionVariant1? Type417 { get; set; } + public global::Braintrust.CodeBundleLocationExperiment? Type417 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionVariant1Type? Type418 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentType? Type418 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionScorer? Type419 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionVariant1? Type419 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionScorerType? Type420 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionVariant1Type? Type420 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionClassifier? Type421 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionScorer? Type421 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionClassifierType? Type422 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionScorerType? Type422 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationFunction? Type423 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionClassifier? Type423 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationFunctionType? Type424 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionClassifierType? Type424 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3? Type425 { get; set; } + public global::Braintrust.CodeBundleLocationFunction? Type425 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3Type? Type426 { get; set; } + public global::Braintrust.CodeBundleLocationFunctionType? Type426 { get; set; } /// /// /// - public global::Braintrust.OneOf? Type427 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3? Type427 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1? Type428 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3Type? Type428 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1Provider? Type429 { get; set; } + public global::Braintrust.OneOf? Type429 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2? Type430 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1? Type430 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2Provider? Type431 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1Provider? Type431 { get; set; } /// /// /// - public global::Braintrust.PromptBlockData? Type432 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2? Type432 { get; set; } /// /// /// - public global::Braintrust.PromptBlockDataChat? Type433 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2Provider? Type433 { get; set; } /// /// /// - public global::Braintrust.PromptBlockDataChatType? Type434 { get; set; } + public global::Braintrust.PromptBlockData? Type434 { get; set; } /// /// /// - public global::Braintrust.PromptBlockDataCompletion? Type435 { get; set; } + public global::Braintrust.PromptBlockDataChat? Type435 { get; set; } /// /// /// - public global::Braintrust.PromptBlockDataCompletionType? Type436 { get; set; } + public global::Braintrust.PromptBlockDataChatType? Type436 { get; set; } /// /// /// - public global::Braintrust.GraphNode? Type437 { get; set; } + public global::Braintrust.PromptBlockDataCompletion? Type437 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant1? Type438 { get; set; } + public global::Braintrust.PromptBlockDataCompletionType? Type438 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant1Position? Type439 { get; set; } + public global::Braintrust.GraphNode? Type439 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant1Type? Type440 { get; set; } + public global::Braintrust.GraphNodeVariant1? Type440 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant2? Type441 { get; set; } + public global::Braintrust.GraphNodeVariant1Position? Type441 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant2Position? Type442 { get; set; } + public global::Braintrust.GraphNodeVariant1Type? Type442 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant2Type? Type443 { get; set; } + public global::Braintrust.GraphNodeVariant2? Type443 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant3? Type444 { get; set; } + public global::Braintrust.GraphNodeVariant2Position? Type444 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant3Position? Type445 { get; set; } + public global::Braintrust.GraphNodeVariant2Type? Type445 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant3Type? Type446 { get; set; } + public global::Braintrust.GraphNodeVariant3? Type446 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant4? Type447 { get; set; } + public global::Braintrust.GraphNodeVariant3Position? Type447 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant4Position? Type448 { get; set; } + public global::Braintrust.GraphNodeVariant3Type? Type448 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant4Type? Type449 { get; set; } + public global::Braintrust.GraphNodeVariant4? Type449 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant5? Type450 { get; set; } + public global::Braintrust.GraphNodeVariant4Position? Type450 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant5Position? Type451 { get; set; } + public global::Braintrust.GraphNodeVariant4Type? Type451 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant5Type? Type452 { get; set; } + public global::Braintrust.GraphNodeVariant5? Type452 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant6? Type453 { get; set; } + public global::Braintrust.GraphNodeVariant5Position? Type453 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant6Position? Type454 { get; set; } + public global::Braintrust.GraphNodeVariant5Type? Type454 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant6Type? Type455 { get; set; } + public global::Braintrust.GraphNodeVariant6? Type455 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant7? Type456 { get; set; } + public global::Braintrust.GraphNodeVariant6Position? Type456 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant7Position? Type457 { get; set; } + public global::Braintrust.GraphNodeVariant6Type? Type457 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant7Type? Type458 { get; set; } + public global::Braintrust.GraphNodeVariant7? Type458 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant8? Type459 { get; set; } + public global::Braintrust.GraphNodeVariant7Position? Type459 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant8Position? Type460 { get; set; } + public global::Braintrust.GraphNodeVariant7Type? Type460 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant8Type? Type461 { get; set; } + public global::Braintrust.GraphNodeVariant8? Type461 { get; set; } /// /// /// - public global::Braintrust.GraphEdge? Type462 { get; set; } + public global::Braintrust.GraphNodeVariant8Position? Type462 { get; set; } /// /// /// - public global::Braintrust.GraphEdgeSource? Type463 { get; set; } + public global::Braintrust.GraphNodeVariant8Type? Type463 { get; set; } /// /// /// - public global::Braintrust.GraphEdgeTarget? Type464 { get; set; } + public global::Braintrust.GraphEdge? Type464 { get; set; } /// /// /// - public global::Braintrust.GraphEdgePurpose? Type465 { get; set; } + public global::Braintrust.GraphEdgeSource? Type465 { get; set; } /// /// /// - public global::Braintrust.GraphData? Type466 { get; set; } + public global::Braintrust.GraphEdgeTarget? Type466 { get; set; } /// /// /// - public global::Braintrust.GraphDataType? Type467 { get; set; } + public global::Braintrust.GraphEdgePurpose? Type467 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type468 { get; set; } + public global::Braintrust.GraphData? Type468 { get; set; } /// /// /// - public global::Braintrust.FacetData? Type469 { get; set; } + public global::Braintrust.GraphDataType? Type469 { get; set; } /// /// /// - public global::Braintrust.FacetDataType? Type470 { get; set; } + public global::System.Collections.Generic.Dictionary? Type470 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type471 { get; set; } + public global::Braintrust.FacetData? Type471 { get; set; } /// /// /// - public global::Braintrust.TopicMapGenerationSettings? Type472 { get; set; } + public global::Braintrust.FacetDataType? Type472 { get; set; } /// /// /// - public global::Braintrust.TopicMapGenerationSettingsAlgorithm? Type473 { get; set; } + public global::Braintrust.AllOf? Type473 { get; set; } /// /// /// - public global::Braintrust.TopicMapGenerationSettingsDimensionReduction? Type474 { get; set; } + public global::Braintrust.TopicMapGenerationSettings? Type474 { get; set; } /// /// /// - public global::Braintrust.TopicMapData? Type475 { get; set; } + public global::Braintrust.TopicMapGenerationSettingsAlgorithm? Type475 { get; set; } /// /// /// - public global::Braintrust.TopicMapDataType? Type476 { get; set; } + public global::Braintrust.TopicMapGenerationSettingsDimensionReduction? Type476 { get; set; } /// /// /// - public global::Braintrust.BatchedFacetData? Type477 { get; set; } + public global::Braintrust.TopicMapData? Type477 { get; set; } /// /// /// - public global::Braintrust.BatchedFacetDataType? Type478 { get; set; } + public global::Braintrust.TopicMapDataType? Type478 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type479 { get; set; } + public global::Braintrust.BatchedFacetData? Type479 { get; set; } /// /// /// - public global::Braintrust.BatchedFacetDataFacet? Type480 { get; set; } + public global::Braintrust.BatchedFacetDataType? Type480 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type481 { get; set; } + public global::System.Collections.Generic.IList? Type481 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type482 { get; set; } + public global::Braintrust.BatchedFacetDataFacet? Type482 { get; set; } /// /// /// - public global::Braintrust.BatchedFacetDataTopicMap? Type483 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type483 { get; set; } /// /// /// - public global::Braintrust.FunctionData? Type484 { get; set; } + public global::System.Collections.Generic.IList? Type484 { get; set; } /// /// /// - public global::Braintrust.FunctionDataPrompt? Type485 { get; set; } + public global::Braintrust.BatchedFacetDataTopicMap? Type485 { get; set; } /// /// /// - public global::Braintrust.FunctionDataPromptType? Type486 { get; set; } + public global::Braintrust.FunctionData? Type486 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCode? Type487 { get; set; } + public global::Braintrust.FunctionDataPrompt? Type487 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeType? Type488 { get; set; } + public global::Braintrust.FunctionDataPromptType? Type488 { get; set; } /// /// /// - public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataCodeData2>? Type489 { get; set; } + public global::Braintrust.FunctionDataCode? Type489 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type490 { get; set; } + public global::Braintrust.FunctionDataCodeType? Type490 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeData? Type491 { get; set; } + public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataCodeData2>? Type491 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeDataType? Type492 { get; set; } + public global::Braintrust.AllOf? Type492 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeData2? Type493 { get; set; } + public global::Braintrust.FunctionDataCodeData? Type493 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeDataType2? Type494 { get; set; } + public global::Braintrust.FunctionDataCodeDataType? Type494 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeDataRuntimeContext? Type495 { get; set; } + public global::Braintrust.FunctionDataCodeData2? Type495 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeDataRuntimeContextRuntime? Type496 { get; set; } + public global::Braintrust.FunctionDataCodeDataType2? Type496 { get; set; } /// /// /// - public global::Braintrust.FunctionDataRemoteEval? Type497 { get; set; } + public global::Braintrust.FunctionDataCodeDataRuntimeContext? Type497 { get; set; } /// /// /// - public global::Braintrust.FunctionDataRemoteEvalType? Type498 { get; set; } + public global::Braintrust.FunctionDataCodeDataRuntimeContextRuntime? Type498 { get; set; } /// /// /// - public global::Braintrust.FunctionDataGlobal? Type499 { get; set; } + public global::Braintrust.FunctionDataRemoteEval? Type499 { get; set; } /// /// /// - public global::Braintrust.FunctionDataGlobalType? Type500 { get; set; } + public global::Braintrust.FunctionDataRemoteEvalType? Type500 { get; set; } /// /// /// - public global::Braintrust.FunctionDataParameters? Type501 { get; set; } + public global::Braintrust.FunctionDataGlobal? Type501 { get; set; } /// /// /// - public global::Braintrust.FunctionDataParametersType? Type502 { get; set; } + public global::Braintrust.FunctionDataGlobalType? Type502 { get; set; } /// /// /// - public global::Braintrust.FunctionDataParametersSchema? Type503 { get; set; } + public global::Braintrust.FunctionDataParameters? Type503 { get; set; } /// /// /// - public global::Braintrust.FunctionDataParametersSchemaType? Type504 { get; set; } + public global::Braintrust.FunctionDataParametersType? Type504 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type505 { get; set; } + public global::Braintrust.FunctionDataParametersSchema? Type505 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type506 { get; set; } + public global::Braintrust.FunctionDataParametersSchemaType? Type506 { get; set; } /// /// /// - public global::Braintrust.Function2? Type507 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type507 { get; set; } /// /// /// - public global::Braintrust.FunctionLogId? Type508 { get; set; } + public global::Braintrust.AllOf? Type508 { get; set; } /// /// /// - public global::Braintrust.FunctionOrigin? Type509 { get; set; } + public global::Braintrust.Function2? Type509 { get; set; } /// /// /// - public global::Braintrust.FunctionFunctionSchema? Type510 { get; set; } + public global::Braintrust.FunctionLogId? Type510 { get; set; } /// /// /// - public global::Braintrust.CreateFunction? Type511 { get; set; } + public global::Braintrust.FunctionOrigin? Type511 { get; set; } /// /// /// - public global::Braintrust.CreateFunctionOrigin? Type512 { get; set; } + public global::Braintrust.FunctionFunctionSchema? Type512 { get; set; } /// /// /// - public global::Braintrust.CreateFunctionFunctionSchema? Type513 { get; set; } + public global::Braintrust.CreateFunction? Type513 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullish? Type514 { get; set; } + public global::Braintrust.CreateFunctionOrigin? Type514 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishPrompt? Type515 { get; set; } + public global::Braintrust.CreateFunctionFunctionSchema? Type515 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishPromptType? Type516 { get; set; } + public global::Braintrust.FunctionDataNullish? Type516 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCode? Type517 { get; set; } + public global::Braintrust.FunctionDataNullishPrompt? Type517 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeType? Type518 { get; set; } + public global::Braintrust.FunctionDataNullishPromptType? Type518 { get; set; } /// /// /// - public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataNullishCodeData2>? Type519 { get; set; } + public global::Braintrust.FunctionDataNullishCode? Type519 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type520 { get; set; } + public global::Braintrust.FunctionDataNullishCodeType? Type520 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeData? Type521 { get; set; } + public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataNullishCodeData2>? Type521 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeDataType? Type522 { get; set; } + public global::Braintrust.AllOf? Type522 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeData2? Type523 { get; set; } + public global::Braintrust.FunctionDataNullishCodeData? Type523 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeDataType2? Type524 { get; set; } + public global::Braintrust.FunctionDataNullishCodeDataType? Type524 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeDataRuntimeContext? Type525 { get; set; } + public global::Braintrust.FunctionDataNullishCodeData2? Type525 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeDataRuntimeContextRuntime? Type526 { get; set; } + public global::Braintrust.FunctionDataNullishCodeDataType2? Type526 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishRemoteEval? Type527 { get; set; } + public global::Braintrust.FunctionDataNullishCodeDataRuntimeContext? Type527 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishRemoteEvalType? Type528 { get; set; } + public global::Braintrust.FunctionDataNullishCodeDataRuntimeContextRuntime? Type528 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishGlobal? Type529 { get; set; } + public global::Braintrust.FunctionDataNullishRemoteEval? Type529 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishGlobalType? Type530 { get; set; } + public global::Braintrust.FunctionDataNullishRemoteEvalType? Type530 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishParameters? Type531 { get; set; } + public global::Braintrust.FunctionDataNullishGlobal? Type531 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishParametersType? Type532 { get; set; } + public global::Braintrust.FunctionDataNullishGlobalType? Type532 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishParametersSchema? Type533 { get; set; } + public global::Braintrust.FunctionDataNullishParameters? Type533 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishParametersSchemaType? Type534 { get; set; } + public global::Braintrust.FunctionDataNullishParametersType? Type534 { get; set; } /// /// /// - public global::Braintrust.PatchFunction? Type535 { get; set; } + public global::Braintrust.FunctionDataNullishParametersSchema? Type535 { get; set; } /// /// /// - public global::Braintrust.InvokeParent? Type536 { get; set; } + public global::Braintrust.FunctionDataNullishParametersSchemaType? Type536 { get; set; } /// /// /// - public global::Braintrust.InvokeParentSpanParentStruct? Type537 { get; set; } + public global::Braintrust.PatchFunction? Type537 { get; set; } /// /// /// - public global::Braintrust.InvokeParentSpanParentStructObjectType? Type538 { get; set; } + public global::Braintrust.InvokeParent? Type538 { get; set; } /// /// /// - public global::Braintrust.InvokeParentSpanParentStructRowIds? Type539 { get; set; } + public global::Braintrust.InvokeParentSpanParentStruct? Type539 { get; set; } /// /// /// - public global::Braintrust.StreamingMode? Type540 { get; set; } + public global::Braintrust.InvokeParentSpanParentStructObjectType? Type540 { get; set; } /// /// /// - public global::Braintrust.InvokeApi? Type541 { get; set; } + public global::Braintrust.InvokeParentSpanParentStructRowIds? Type541 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type542 { get; set; } + public global::Braintrust.StreamingMode? Type542 { get; set; } /// /// /// - public global::Braintrust.InvokeApiMcpAuth2? Type543 { get; set; } + public global::Braintrust.InvokeApi? Type543 { get; set; } /// /// /// - public global::Braintrust.ViewDataSearch? Type544 { get; set; } + public global::System.Collections.Generic.Dictionary? Type544 { get; set; } /// /// /// - public global::Braintrust.ViewData? Type545 { get; set; } + public global::Braintrust.InvokeApiMcpAuth2? Type545 { get; set; } /// /// /// - public global::Braintrust.ViewOptions? Type546 { get; set; } + public global::Braintrust.ViewDataSearch? Type546 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsMonitorViewOptions? Type547 { get; set; } + public global::Braintrust.ViewData? Type547 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsMonitorViewOptionsViewType? Type548 { get; set; } + public global::Braintrust.ViewOptions? Type548 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsMonitorViewOptionsOptions? Type549 { get; set; } + public global::Braintrust.ViewOptionsMonitorViewOptions? Type549 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsSpanType? Type550 { get; set; } + public global::Braintrust.ViewOptionsMonitorViewOptionsViewType? Type550 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type551 { get; set; } + public global::Braintrust.ViewOptionsMonitorViewOptionsOptions? Type551 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsType? Type552 { get; set; } + public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsSpanType? Type552 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptions? Type553 { get; set; } + public global::System.Collections.Generic.Dictionary? Type553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type554 { get; set; } + public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsType? Type554 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasure? Type555 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptions? Type555 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasureType? Type556 { get; set; } + public global::System.Collections.Generic.IList? Type556 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsYMetric? Type557 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasure? Type557 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsYMetricType? Type558 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasureType? Type558 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsXAxis? Type559 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsYMetric? Type559 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsXAxisType? Type560 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsYMetricType? Type560 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsSymbolGrouping? Type561 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsXAxis? Type561 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsSymbolGroupingType? Type562 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsXAxisType? Type562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type563 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsSymbolGrouping? Type563 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsChartAnnotation? Type564 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsSymbolGroupingType? Type564 { get; set; } /// /// /// - public global::Braintrust.AnyOf? Type565 { get; set; } + public global::System.Collections.Generic.IList? Type565 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsTimeRangeFilter? Type566 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsChartAnnotation? Type566 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsQueryShape? Type567 { get; set; } + public global::Braintrust.AnyOf? Type567 { get; set; } /// /// /// - public global::Braintrust.View? Type568 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsTimeRangeFilter? Type568 { get; set; } /// /// /// - public global::Braintrust.ViewViewType? Type569 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsQueryShape? Type569 { get; set; } /// /// /// - public global::Braintrust.CreateView? Type570 { get; set; } + public global::Braintrust.View? Type570 { get; set; } /// /// /// - public global::Braintrust.CreateViewViewType? Type571 { get; set; } + public global::Braintrust.ViewViewType? Type571 { get; set; } /// /// /// - public global::Braintrust.PatchView? Type572 { get; set; } + public global::Braintrust.CreateView? Type572 { get; set; } /// /// /// - public global::Braintrust.PatchViewViewType? Type573 { get; set; } + public global::Braintrust.CreateViewViewType? Type573 { get; set; } /// /// /// - public global::Braintrust.DeleteView? Type574 { get; set; } + public global::Braintrust.PatchView? Type574 { get; set; } /// /// /// - public global::Braintrust.ImageRenderingMode? Type575 { get; set; } + public global::Braintrust.PatchViewViewType? Type575 { get; set; } /// /// /// - public global::Braintrust.Organization? Type576 { get; set; } + public global::Braintrust.DeleteView? Type576 { get; set; } /// /// /// - public global::Braintrust.PatchOrganization? Type577 { get; set; } + public global::Braintrust.ImageRenderingMode? Type577 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersOutput? Type578 { get; set; } + public global::Braintrust.Organization? Type578 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersOutputStatus? Type579 { get; set; } + public global::Braintrust.PatchOrganization? Type579 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type580 { get; set; } + public global::Braintrust.PatchOrganizationMembersOutput? Type580 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersOutputAddedUser? Type581 { get; set; } + public global::Braintrust.PatchOrganizationMembersOutputStatus? Type581 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembers? Type582 { get; set; } + public global::System.Collections.Generic.IList? Type582 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersInviteUsers? Type583 { get; set; } + public global::Braintrust.PatchOrganizationMembersOutputAddedUser? Type583 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type584 { get; set; } + public global::Braintrust.PatchOrganizationMembers? Type584 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersInviteUsersServiceAccount? Type585 { get; set; } + public global::Braintrust.PatchOrganizationMembersInviteUsers? Type585 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersRemoveUsers? Type586 { get; set; } + public global::System.Collections.Generic.IList? Type586 { get; set; } /// /// /// - public global::Braintrust.ApiKey? Type587 { get; set; } + public global::Braintrust.PatchOrganizationMembersInviteUsersServiceAccount? Type587 { get; set; } /// /// /// - public global::Braintrust.CreateServiceTokenOutput? Type588 { get; set; } + public global::Braintrust.PatchOrganizationMembersRemoveUsers? Type588 { get; set; } /// /// /// - public global::Braintrust.ServiceToken? Type589 { get; set; } + public global::Braintrust.ApiKey? Type589 { get; set; } /// /// /// - public global::Braintrust.DeleteServiceToken? Type590 { get; set; } + public global::Braintrust.CreateServiceTokenOutput? Type590 { get; set; } /// /// /// - public global::Braintrust.AISecret? Type591 { get; set; } + public global::Braintrust.ServiceToken? Type591 { get; set; } /// /// /// - public global::Braintrust.CreateAISecret? Type592 { get; set; } + public global::Braintrust.DeleteServiceToken? Type592 { get; set; } /// /// /// - public global::Braintrust.DeleteAISecret? Type593 { get; set; } + public global::Braintrust.AISecret? Type593 { get; set; } /// /// /// - public global::Braintrust.PatchAISecret? Type594 { get; set; } + public global::Braintrust.CreateAISecret? Type594 { get; set; } /// /// /// - public global::Braintrust.EnvVar? Type595 { get; set; } + public global::Braintrust.DeleteAISecret? Type595 { get; set; } /// /// /// - public global::Braintrust.EnvVarObjectType2? Type596 { get; set; } + public global::Braintrust.PatchAISecret? Type596 { get; set; } /// /// /// - public global::Braintrust.EnvVarSecretCategory? Type597 { get; set; } + public global::Braintrust.EnvVar? Type597 { get; set; } /// /// /// - public global::Braintrust.MCPServer? Type598 { get; set; } + public global::Braintrust.EnvVarObjectType2? Type598 { get; set; } /// /// /// - public global::Braintrust.CreateMCPServer? Type599 { get; set; } + public global::Braintrust.EnvVarSecretCategory? Type599 { get; set; } /// /// /// - public global::Braintrust.PatchMCPServer? Type600 { get; set; } + public global::Braintrust.MCPServer? Type600 { get; set; } /// /// /// - public global::Braintrust.DatasetSnapshot? Type601 { get; set; } + public global::Braintrust.CreateMCPServer? Type601 { get; set; } /// /// /// - public global::Braintrust.CreateDatasetSnapshot? Type602 { get; set; } + public global::Braintrust.PatchMCPServer? Type602 { get; set; } /// /// /// - public global::Braintrust.PatchDatasetSnapshot? Type603 { get; set; } + public global::Braintrust.DatasetSnapshot? Type603 { get; set; } /// /// /// - public global::Braintrust.Environment? Type604 { get; set; } + public global::Braintrust.CreateDatasetSnapshot? Type604 { get; set; } /// /// /// - public global::Braintrust.CreateEnvironment? Type605 { get; set; } + public global::Braintrust.PatchDatasetSnapshot? Type605 { get; set; } /// /// /// - public global::Braintrust.PatchEnvironment? Type606 { get; set; } + public global::Braintrust.Environment? Type606 { get; set; } /// /// /// - public global::Braintrust.CrossObjectInsertResponse? Type607 { get; set; } + public global::Braintrust.CreateEnvironment? Type607 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type608 { get; set; } + public global::Braintrust.PatchEnvironment? Type608 { get; set; } /// /// /// - public global::Braintrust.CrossObjectInsertRequest? Type609 { get; set; } + public global::Braintrust.CrossObjectInsertResponse? Type609 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type610 { get; set; } + public global::System.Collections.Generic.Dictionary? Type610 { get; set; } /// /// /// - public global::Braintrust.CrossObjectInsertRequestExperiment2? Type611 { get; set; } + public global::Braintrust.CrossObjectInsertRequest? Type611 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type612 { get; set; } + public global::System.Collections.Generic.Dictionary? Type612 { get; set; } /// /// /// - public global::Braintrust.CrossObjectInsertRequestDataset2? Type613 { get; set; } + public global::Braintrust.CrossObjectInsertRequestExperiment2? Type613 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type614 { get; set; } + public global::System.Collections.Generic.Dictionary? Type614 { get; set; } /// /// /// - public global::Braintrust.CrossObjectInsertRequestProjectLogs2? Type615 { get; set; } + public global::Braintrust.CrossObjectInsertRequestDataset2? Type615 { get; set; } /// /// /// - public global::Braintrust.PromptData? Type616 { get; set; } + public global::System.Collections.Generic.Dictionary? Type616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?>>? Type617 { get; set; } + public global::Braintrust.CrossObjectInsertRequestProjectLogs2? Type617 { get; set; } /// /// /// - public global::Braintrust.AllOf?>? Type618 { get; set; } + public global::Braintrust.PromptData? Type618 { get; set; } /// /// /// - public global::Braintrust.AnyOf? Type619 { get; set; } + public global::System.Collections.Generic.IList?>>? Type619 { get; set; } /// /// /// - public global::Braintrust.PromptDataToolFunctionVariant2Function? Type620 { get; set; } + public global::Braintrust.AllOf?>? Type620 { get; set; } /// /// /// - public global::Braintrust.PromptDataToolFunctionVariant2FunctionType? Type621 { get; set; } + public global::Braintrust.AnyOf? Type621 { get; set; } /// /// /// - public global::Braintrust.PromptDataToolFunctionVariant2Global? Type622 { get; set; } + public global::Braintrust.PromptDataToolFunctionVariant2Function? Type622 { get; set; } /// /// /// - public global::Braintrust.PromptDataToolFunctionVariant2GlobalType? Type623 { get; set; } + public global::Braintrust.PromptDataToolFunctionVariant2FunctionType? Type623 { get; set; } /// /// /// - public global::Braintrust.PromptDataTemplateFormat? Type624 { get; set; } + public global::Braintrust.PromptDataToolFunctionVariant2Global? Type624 { get; set; } /// /// /// - public global::Braintrust.PromptDataMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitions? Type625 { get; set; } + public global::Braintrust.PromptDataToolFunctionVariant2GlobalType? Type625 { get; set; } /// /// /// - public global::Braintrust.PromptDataMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitionsType? Type626 { get; set; } + public global::Braintrust.PromptDataTemplateFormat? Type626 { get; set; } /// /// /// - public global::Braintrust.PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers? Type627 { get; set; } + public global::Braintrust.PromptDataMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitions? Type627 { get; set; } /// /// /// - public global::Braintrust.PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServersType? Type628 { get; set; } + public global::Braintrust.PromptDataMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitionsType? Type628 { get; set; } /// /// /// - public global::Braintrust.PromptDataOrigin? Type629 { get; set; } + public global::Braintrust.PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers? Type629 { get; set; } /// /// /// - public global::Braintrust.FunctionId? Type630 { get; set; } + public global::Braintrust.PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServersType? Type630 { get; set; } /// /// /// - public global::Braintrust.FunctionIdFunctionId1? Type631 { get; set; } + public global::Braintrust.PromptDataOrigin? Type631 { get; set; } /// /// /// - public global::Braintrust.FunctionIdProjectSlug? Type632 { get; set; } + public global::Braintrust.FunctionId? Type632 { get; set; } /// /// /// - public global::Braintrust.FunctionIdGlobalFunction? Type633 { get; set; } + public global::Braintrust.FunctionIdFunctionId1? Type633 { get; set; } /// /// /// - public global::Braintrust.FunctionIdPromptSessionId? Type634 { get; set; } + public global::Braintrust.FunctionIdProjectSlug? Type634 { get; set; } /// /// /// - public global::Braintrust.FunctionIdInlineCode? Type635 { get; set; } + public global::Braintrust.FunctionIdGlobalFunction? Type635 { get; set; } /// /// /// - public global::Braintrust.FunctionIdInlineCodeInlineContext? Type636 { get; set; } + public global::Braintrust.FunctionIdPromptSessionId? Type636 { get; set; } /// /// /// - public global::Braintrust.FunctionIdInlineCodeInlineContextRuntime? Type637 { get; set; } + public global::Braintrust.FunctionIdInlineCode? Type637 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type638 { get; set; } + public global::Braintrust.FunctionIdInlineCodeInlineContext? Type638 { get; set; } /// /// /// - public global::Braintrust.FunctionIdInlineFunction? Type639 { get; set; } + public global::Braintrust.FunctionIdInlineCodeInlineContextRuntime? Type639 { get; set; } /// /// /// - public global::Braintrust.FunctionIdInlinePrompt? Type640 { get; set; } + public global::Braintrust.AllOf? Type640 { get; set; } /// /// /// - public global::Braintrust.GitMetadataSettings? Type641 { get; set; } + public global::Braintrust.FunctionIdInlineFunction? Type641 { get; set; } /// /// /// - public global::Braintrust.GitMetadataSettingsCollect? Type642 { get; set; } + public global::Braintrust.FunctionIdInlinePrompt? Type642 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type643 { get; set; } + public global::Braintrust.GitMetadataSettings? Type643 { get; set; } /// /// /// - public global::Braintrust.GitMetadataSettingsField? Type644 { get; set; } + public global::Braintrust.GitMetadataSettingsCollect? Type644 { get; set; } /// /// /// - public global::Braintrust.RunEval? Type645 { get; set; } + public global::System.Collections.Generic.IList? Type645 { get; set; } /// /// /// - public global::Braintrust.AnyOf? Type646 { get; set; } + public global::Braintrust.GitMetadataSettingsField? Type646 { get; set; } /// /// /// - public global::Braintrust.RunEvalDataDatasetId? Type647 { get; set; } + public global::Braintrust.RunEval? Type647 { get; set; } /// /// /// - public global::Braintrust.RunEvalDataProjectDatasetName? Type648 { get; set; } + public global::Braintrust.AnyOf? Type648 { get; set; } /// /// /// - public global::Braintrust.RunEvalDataDatasetRows? Type649 { get; set; } + public global::Braintrust.RunEvalDataDatasetId? Type649 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type650 { get; set; } + public global::Braintrust.RunEvalDataProjectDatasetName? Type650 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type651 { get; set; } + public global::Braintrust.RunEvalDataDatasetRows? Type651 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type652 { get; set; } + public global::System.Collections.Generic.IList>? Type652 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type653 { get; set; } + public global::Braintrust.AllOf? Type653 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type654 { get; set; } + public global::Braintrust.AllOf? Type654 { get; set; } /// /// /// - public global::Braintrust.RunEvalMcpAuth2? Type655 { get; set; } + public global::Braintrust.AllOf? Type655 { get; set; } /// /// /// - public global::Braintrust.PostServiceTokenRequest? Type656 { get; set; } + public global::System.Collections.Generic.Dictionary? Type656 { get; set; } /// /// /// - public global::Braintrust.PutServiceTokenRequest? Type657 { get; set; } + public global::Braintrust.RunEvalMcpAuth2? Type657 { get; set; } /// /// /// - public global::Braintrust.PostEnvVarRequest? Type658 { get; set; } + public global::Braintrust.PostServiceTokenRequest? Type658 { get; set; } /// /// /// - public global::Braintrust.PostEnvVarRequestObjectType? Type659 { get; set; } + public global::Braintrust.PutServiceTokenRequest? Type659 { get; set; } /// /// /// - public global::Braintrust.PutEnvVarRequest? Type660 { get; set; } + public global::Braintrust.PostEnvVarRequest? Type660 { get; set; } /// /// /// - public global::Braintrust.PutEnvVarRequestObjectType? Type661 { get; set; } + public global::Braintrust.PostEnvVarRequestObjectType? Type661 { get; set; } /// /// /// - public global::Braintrust.PatchEnvVarIdRequest? Type662 { get; set; } + public global::Braintrust.PutEnvVarRequest? Type662 { get; set; } /// /// /// - public global::Braintrust.ProxycredentialsRequest? Type663 { get; set; } + public global::Braintrust.PutEnvVarRequestObjectType? Type663 { get; set; } /// /// /// - public global::Braintrust.ProxycredentialsRequestLogging? Type664 { get; set; } + public global::Braintrust.PatchEnvVarIdRequest? Type664 { get; set; } /// /// /// - public global::Braintrust.AnyOf>>? Type665 { get; set; } + public global::Braintrust.ProxycredentialsRequest? Type665 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type666 { get; set; } + public global::Braintrust.ProxycredentialsRequestLogging? Type666 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type667 { get; set; } + public global::Braintrust.AnyOf>>? Type667 { get; set; } /// /// /// - public global::Braintrust.AnyOf>? Type668 { get; set; } + public global::System.Collections.Generic.IList>? Type668 { get; set; } /// /// /// - public global::Braintrust.GetProjectResponse? Type669 { get; set; } + public global::Braintrust.AllOf? Type669 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type670 { get; set; } + public global::Braintrust.AnyOf>? Type670 { get; set; } /// /// /// - public global::Braintrust.GetExperimentResponse? Type671 { get; set; } + public global::Braintrust.GetProjectResponse? Type671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type672 { get; set; } + public global::System.Collections.Generic.IList? Type672 { get; set; } /// /// /// - public global::Braintrust.GetDatasetResponse? Type673 { get; set; } + public global::Braintrust.GetExperimentResponse? Type673 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type674 { get; set; } + public global::System.Collections.Generic.IList? Type674 { get; set; } /// /// /// - public global::Braintrust.GetPromptResponse? Type675 { get; set; } + public global::Braintrust.GetDatasetResponse? Type675 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type676 { get; set; } + public global::System.Collections.Generic.IList? Type676 { get; set; } /// /// /// - public global::Braintrust.GetRoleResponse? Type677 { get; set; } + public global::Braintrust.GetPromptResponse? Type677 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type678 { get; set; } + public global::System.Collections.Generic.IList? Type678 { get; set; } /// /// /// - public global::Braintrust.GetGroupResponse? Type679 { get; set; } + public global::Braintrust.GetRoleResponse? Type679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type680 { get; set; } + public global::System.Collections.Generic.IList? Type680 { get; set; } /// /// /// - public global::Braintrust.GetAclResponse? Type681 { get; set; } + public global::Braintrust.GetGroupResponse? Type681 { get; set; } /// /// /// - public global::Braintrust.GetUserResponse? Type682 { get; set; } + public global::System.Collections.Generic.IList? Type682 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type683 { get; set; } + public global::Braintrust.GetAclResponse? Type683 { get; set; } /// /// /// - public global::Braintrust.GetAgentResponse? Type684 { get; set; } + public global::Braintrust.GetUserResponse? Type684 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type685 { get; set; } + public global::System.Collections.Generic.IList? Type685 { get; set; } /// /// /// - public global::Braintrust.GetProjectAutomationResponse? Type686 { get; set; } + public global::Braintrust.GetAgentResponse? Type686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type687 { get; set; } + public global::System.Collections.Generic.IList? Type687 { get; set; } /// /// /// - public global::Braintrust.GetProjectScoreResponse? Type688 { get; set; } + public global::Braintrust.GetProjectAutomationResponse? Type688 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type689 { get; set; } + public global::System.Collections.Generic.IList? Type689 { get; set; } /// /// /// - public global::Braintrust.GetProjectTagResponse? Type690 { get; set; } + public global::Braintrust.GetProjectScoreResponse? Type690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type691 { get; set; } + public global::System.Collections.Generic.IList? Type691 { get; set; } /// /// /// - public global::Braintrust.GetSpanIframeResponse? Type692 { get; set; } + public global::Braintrust.GetProjectTagResponse? Type692 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type693 { get; set; } + public global::System.Collections.Generic.IList? Type693 { get; set; } /// /// /// - public global::Braintrust.GetFunctionResponse? Type694 { get; set; } + public global::Braintrust.GetSpanIframeResponse? Type694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type695 { get; set; } + public global::System.Collections.Generic.IList? Type695 { get; set; } /// /// /// - public global::Braintrust.GetViewResponse? Type696 { get; set; } + public global::Braintrust.GetFunctionResponse? Type696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type697 { get; set; } + public global::System.Collections.Generic.IList? Type697 { get; set; } /// /// /// - public global::Braintrust.GetOrganizationResponse? Type698 { get; set; } + public global::Braintrust.GetViewResponse? Type698 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type699 { get; set; } + public global::System.Collections.Generic.IList? Type699 { get; set; } /// /// /// - public global::Braintrust.GetApiKeyResponse? Type700 { get; set; } + public global::Braintrust.GetOrganizationResponse? Type700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type701 { get; set; } + public global::System.Collections.Generic.IList? Type701 { get; set; } /// /// /// - public global::Braintrust.GetServiceTokenResponse? Type702 { get; set; } + public global::Braintrust.GetApiKeyResponse? Type702 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type703 { get; set; } + public global::System.Collections.Generic.IList? Type703 { get; set; } /// /// /// - public global::Braintrust.GetAiSecretResponse? Type704 { get; set; } + public global::Braintrust.GetServiceTokenResponse? Type704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type705 { get; set; } + public global::System.Collections.Generic.IList? Type705 { get; set; } /// /// /// - public global::Braintrust.GetEnvVarResponse? Type706 { get; set; } + public global::Braintrust.GetAiSecretResponse? Type706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type707 { get; set; } + public global::System.Collections.Generic.IList? Type707 { get; set; } /// /// /// - public global::Braintrust.GetMcpServerResponse? Type708 { get; set; } + public global::Braintrust.GetEnvVarResponse? Type708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type709 { get; set; } + public global::System.Collections.Generic.IList? Type709 { get; set; } /// /// /// - public global::Braintrust.GetDatasetSnapshotResponse? Type710 { get; set; } + public global::Braintrust.GetMcpServerResponse? Type710 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type711 { get; set; } + public global::System.Collections.Generic.IList? Type711 { get; set; } /// /// /// - public global::Braintrust.ListEnvironmentsResponse? Type712 { get; set; } + public global::Braintrust.GetDatasetSnapshotResponse? Type712 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type713 { get; set; } + public global::System.Collections.Generic.IList? Type713 { get; set; } /// /// /// - public global::Braintrust.ProxycredentialsResponse? Type714 { get; set; } + public global::Braintrust.ListEnvironmentsResponse? Type714 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type715 { get; set; } + /// + /// + /// + public global::Braintrust.ProxycredentialsResponse? Type716 { get; set; } /// /// @@ -3053,142 +3061,146 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType41 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType42 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? ListType42 { get; set; } + public global::System.Collections.Generic.Dictionary>? ListType43 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType44 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::System.Collections.Generic.List? ListType45 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType46 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType46 { get; set; } + public global::System.Collections.Generic.List? ListType47 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType48 { get; set; } /// /// /// - public global::System.Collections.Generic.List?>>? ListType48 { get; set; } + public global::System.Collections.Generic.List?>>? ListType49 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List? ListType50 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType50 { get; set; } + public global::System.Collections.Generic.List>? ListType51 { get; set; } /// /// /// - public global::Braintrust.AnyOf>>? ListType51 { get; set; } + public global::Braintrust.AnyOf>>? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType52 { get; set; } + public global::System.Collections.Generic.List>? ListType53 { get; set; } /// /// /// - public global::Braintrust.AnyOf>? ListType53 { get; set; } + public global::Braintrust.AnyOf>? ListType54 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType55 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType56 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType57 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType58 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType59 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType60 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType61 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType63 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType64 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType71 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::System.Collections.Generic.List? ListType73 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType73 { get; set; } + public global::System.Collections.Generic.List? ListType74 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType74 { get; set; } + public global::System.Collections.Generic.List? ListType75 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType75 { get; set; } + public global::System.Collections.Generic.List? ListType76 { get; set; } } } \ No newline at end of file diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConditionWhen.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConditionWhen.g.cs index 0b07059..48ebe36 100644 --- a/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConditionWhen.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConditionWhen.g.cs @@ -12,8 +12,19 @@ public sealed partial class ProjectScoreConditionWhen /// /// [global::System.Text.Json.Serialization.JsonPropertyName("clauses")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Clauses { get; set; } + public global::System.Collections.Generic.IList? Clauses { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subspan_clauses")] + public global::System.Collections.Generic.IList? SubspanClauses { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("trace_clauses")] + public global::System.Collections.Generic.IList? TraceClauses { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -25,13 +36,19 @@ public sealed partial class ProjectScoreConditionWhen /// Initializes a new instance of the class. /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ProjectScoreConditionWhen( - global::System.Collections.Generic.IList clauses) + global::System.Collections.Generic.IList? clauses, + global::System.Collections.Generic.IList? subspanClauses, + global::System.Collections.Generic.IList? traceClauses) { - this.Clauses = clauses ?? throw new global::System.ArgumentNullException(nameof(clauses)); + this.Clauses = clauses; + this.SubspanClauses = subspanClauses; + this.TraceClauses = traceClauses; } /// diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConfig.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConfig.g.cs index 91d80ce..dc371fd 100644 --- a/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConfig.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConfig.g.cs @@ -38,6 +38,12 @@ public sealed partial class ProjectScoreConfig [global::System.Text.Json.Serialization.JsonPropertyName("condition")] public global::Braintrust.ProjectScoreCondition? Condition { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object_types")] + public global::System.Collections.Generic.IList? ObjectTypes { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -52,6 +58,7 @@ public sealed partial class ProjectScoreConfig /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -60,13 +67,15 @@ public ProjectScoreConfig( string? destination, global::Braintrust.ProjectScoreConfigVisibility? visibility, global::Braintrust.OnlineScoreConfig? online, - global::Braintrust.ProjectScoreCondition? condition) + global::Braintrust.ProjectScoreCondition? condition, + global::System.Collections.Generic.IList? objectTypes) { this.MultiSelect = multiSelect; this.Destination = destination; this.Visibility = visibility; this.Online = online; this.Condition = condition; + this.ObjectTypes = objectTypes; } /// diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConfigObjectType.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConfigObjectType.g.cs new file mode 100644 index 0000000..4643a9f --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.Models.ProjectScoreConfigObjectType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Braintrust +{ + /// + /// + /// + public enum ProjectScoreConfigObjectType + { + /// + /// + /// + Dataset, + /// + /// + /// + Experiment, + /// + /// + /// + ProjectLogs, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectScoreConfigObjectTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectScoreConfigObjectType value) + { + return value switch + { + ProjectScoreConfigObjectType.Dataset => "dataset", + ProjectScoreConfigObjectType.Experiment => "experiment", + ProjectScoreConfigObjectType.ProjectLogs => "project_logs", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectScoreConfigObjectType? ToEnum(string value) + { + return value switch + { + "dataset" => ProjectScoreConfigObjectType.Dataset, + "experiment" => ProjectScoreConfigObjectType.Experiment, + "project_logs" => ProjectScoreConfigObjectType.ProjectLogs, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Braintrust/openapi.yaml b/src/libs/Braintrust/openapi.yaml index ff8f4d9..041dfc7 100644 --- a/src/libs/Braintrust/openapi.yaml +++ b/src/libs/Braintrust/openapi.yaml @@ -7095,14 +7095,26 @@ "properties": { "clauses": { "type": "array", + "nullable": true, + "items": { + "type": "string" + } + }, + "subspan_clauses": { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + }, + "trace_clauses": { + "type": "array", + "nullable": true, "items": { "type": "string" } } - }, - "required": [ - "clauses" - ] + } }, "behavior": { "type": "string", @@ -7153,6 +7165,18 @@ }, "condition": { "$ref": "#/components/schemas/ProjectScoreCondition" + }, + "object_types": { + "type": "array", + "nullable": true, + "items": { + "type": "string", + "enum": [ + "project_logs", + "dataset", + "experiment" + ] + } } } },