From ef1e33a0307204999c66456659eacc1137e22b54 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 2 Jul 2026 02:27:47 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ationsClient.PatchProjectAutomationId.g.cs | 2 +- ...tomationsClient.PostProjectAutomation.g.cs | 2 +- ...utomationsClient.PutProjectAutomation.g.cs | 2 +- ... => Braintrust.JsonConverters.OneOf8.g.cs} | 132 ++- ...TopicDigestAutomationConfigActionType.g.cs | 53 ++ ...estAutomationConfigActionTypeNullable.g.cs | 60 ++ ....TopicDigestAutomationConfigEventType.g.cs | 53 ++ ...gestAutomationConfigEventTypeNullable.g.cs | 60 ++ .../Braintrust.JsonSerializerContext.g.cs | 74 +- ...Braintrust.JsonSerializerContextTypes.g.cs | 884 +++++++++--------- ...ntrust.Models.CreateProjectAutomation.g.cs | 6 +- ...intrust.Models.PatchProjectAutomation.g.cs | 6 +- .../Braintrust.Models.ProjectAutomation.g.cs | 6 +- ...dels.TopicDigestAutomationConfig.Json.g.cs | 141 +++ ...st.Models.TopicDigestAutomationConfig.g.cs | 107 +++ ...opicDigestAutomationConfigAction.Json.g.cs | 141 +++ ...els.TopicDigestAutomationConfigAction.g.cs | 82 ++ ...TopicDigestAutomationConfigActionType.g.cs | 45 + ....TopicDigestAutomationConfigEventType.g.cs | 45 + ...Json.g.cs => Braintrust.OneOf.8.Json.g.cs} | 26 +- ...t.OneOf.6.g.cs => Braintrust.OneOf.8.g.cs} | 222 ++++- ...ationsClient.PatchProjectAutomationId.g.cs | 2 +- ...tomationsClient.PostProjectAutomation.g.cs | 2 +- ...utomationsClient.PutProjectAutomation.g.cs | 2 +- src/libs/Braintrust/openapi.yaml | 80 ++ 25 files changed, 1709 insertions(+), 526 deletions(-) rename src/libs/Braintrust/Generated/{Braintrust.JsonConverters.OneOf6.g.cs => Braintrust.JsonConverters.OneOf8.g.cs} (73%) create mode 100644 src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigActionType.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeNullable.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigEventType.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeNullable.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfig.Json.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfig.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigAction.Json.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigAction.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigActionType.g.cs create mode 100644 src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigEventType.g.cs rename src/libs/Braintrust/Generated/{Braintrust.OneOf.6.Json.g.cs => Braintrust.OneOf.8.Json.g.cs} (90%) rename src/libs/Braintrust/Generated/{Braintrust.OneOf.6.g.cs => Braintrust.OneOf.8.g.cs} (66%) diff --git a/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PatchProjectAutomationId.g.cs b/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PatchProjectAutomationId.g.cs index a34ac95..9e7f973 100644 --- a/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PatchProjectAutomationId.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PatchProjectAutomationId.g.cs @@ -61,7 +61,7 @@ public partial interface IProjectAutomationsClient global::System.Guid projectAutomationId, string? name = default, string? description = default, - global::Braintrust.OneOf? config = default, + global::Braintrust.OneOf? config = default, global::Braintrust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PostProjectAutomation.g.cs b/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PostProjectAutomation.g.cs index 177a9ec..cc27252 100644 --- a/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PostProjectAutomation.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PostProjectAutomation.g.cs @@ -52,7 +52,7 @@ public partial interface IProjectAutomationsClient global::System.Threading.Tasks.Task PostProjectAutomationAsync( global::System.Guid projectId, string name, - global::Braintrust.OneOf config, + global::Braintrust.OneOf config, string? description = default, global::Braintrust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PutProjectAutomation.g.cs b/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PutProjectAutomation.g.cs index 7529ebe..aeb5606 100644 --- a/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PutProjectAutomation.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.IProjectAutomationsClient.PutProjectAutomation.g.cs @@ -52,7 +52,7 @@ public partial interface IProjectAutomationsClient global::System.Threading.Tasks.Task PutProjectAutomationAsync( global::System.Guid projectId, string name, - global::Braintrust.OneOf config, + global::Braintrust.OneOf config, string? description = default, global::Braintrust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.OneOf6.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.OneOf8.g.cs similarity index 73% rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.OneOf6.g.cs rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.OneOf8.g.cs index f6a15b6..0e4c86e 100644 --- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.OneOf6.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.OneOf8.g.cs @@ -3,10 +3,10 @@ namespace Braintrust.JsonConverters { /// - public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> + public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> { /// - public override global::Braintrust.OneOf Read( + public override global::Braintrust.OneOf Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -92,6 +92,28 @@ public class OneOfJsonConverter : global::System.Text.Js } } } + var __score6 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T7), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score6++; + } + } + } + var __score7 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T8), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score7++; + } + } + } var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -100,6 +122,8 @@ public class OneOfJsonConverter : global::System.Text.Js if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; } + if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; } + if (__score7 > __bestScore) { __bestScore = __score7; __bestIndex = 7; } T1? value1 = default; T2? value2 = default; @@ -107,6 +131,8 @@ public class OneOfJsonConverter : global::System.Text.Js T4? value4 = default; T5? value5 = default; T6? value6 = default; + T7? value7 = default; + T8? value8 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -210,9 +236,43 @@ public class OneOfJsonConverter : global::System.Text.Js { } } + + else if (__bestIndex == 6) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}"); + value7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 7) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}"); + value8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) { try { @@ -229,7 +289,7 @@ public class OneOfJsonConverter : global::System.Text.Js } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) { try { @@ -246,7 +306,7 @@ public class OneOfJsonConverter : global::System.Text.Js } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) { try { @@ -263,7 +323,7 @@ public class OneOfJsonConverter : global::System.Text.Js } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) { try { @@ -280,7 +340,7 @@ public class OneOfJsonConverter : global::System.Text.Js } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) { try { @@ -297,7 +357,7 @@ public class OneOfJsonConverter : global::System.Text.Js } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) { try { @@ -314,7 +374,41 @@ public class OneOfJsonConverter : global::System.Text.Js } } - var __value = new global::Braintrust.OneOf( + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}"); + value7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}"); + value8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::Braintrust.OneOf( value1, value2, @@ -325,7 +419,11 @@ public class OneOfJsonConverter : global::System.Text.Js value5, - value6 + value6, + + value7, + + value8 ); return __value; @@ -334,7 +432,7 @@ public class OneOfJsonConverter : global::System.Text.Js /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Braintrust.OneOf value, + global::Braintrust.OneOf value, global::System.Text.Json.JsonSerializerOptions options) { options = options ?? throw new global::System.ArgumentNullException(nameof(options)); @@ -376,6 +474,18 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6!, typeInfo); } + else if (value.IsValue7) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value7!, typeInfo); + } + else if (value.IsValue8) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value8!, typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigActionType.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigActionType.g.cs new file mode 100644 index 0000000..bc155d3 --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigActionType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Braintrust.JsonConverters +{ + /// + public sealed class TopicDigestAutomationConfigActionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Braintrust.TopicDigestAutomationConfigActionType 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.TopicDigestAutomationConfigActionTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Braintrust.TopicDigestAutomationConfigActionType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Braintrust.TopicDigestAutomationConfigActionType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Braintrust.TopicDigestAutomationConfigActionType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Braintrust.TopicDigestAutomationConfigActionTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeNullable.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeNullable.g.cs new file mode 100644 index 0000000..fe3f254 --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Braintrust.JsonConverters +{ + /// + public sealed class TopicDigestAutomationConfigActionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Braintrust.TopicDigestAutomationConfigActionType? 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.TopicDigestAutomationConfigActionTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Braintrust.TopicDigestAutomationConfigActionType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Braintrust.TopicDigestAutomationConfigActionType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Braintrust.TopicDigestAutomationConfigActionType? 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.TopicDigestAutomationConfigActionTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigEventType.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigEventType.g.cs new file mode 100644 index 0000000..02885bf --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigEventType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Braintrust.JsonConverters +{ + /// + public sealed class TopicDigestAutomationConfigEventTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Braintrust.TopicDigestAutomationConfigEventType 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.TopicDigestAutomationConfigEventTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Braintrust.TopicDigestAutomationConfigEventType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Braintrust.TopicDigestAutomationConfigEventType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Braintrust.TopicDigestAutomationConfigEventType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Braintrust.TopicDigestAutomationConfigEventTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeNullable.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeNullable.g.cs new file mode 100644 index 0000000..f36c6ac --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Braintrust.JsonConverters +{ + /// + public sealed class TopicDigestAutomationConfigEventTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Braintrust.TopicDigestAutomationConfigEventType? 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.TopicDigestAutomationConfigEventTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Braintrust.TopicDigestAutomationConfigEventType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Braintrust.TopicDigestAutomationConfigEventType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Braintrust.TopicDigestAutomationConfigEventType? 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.TopicDigestAutomationConfigEventTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs index 1642f42..649045c 100644 --- a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs @@ -317,6 +317,14 @@ namespace Braintrust typeof(global::Braintrust.JsonConverters.TopicAutomationConfigFacetFunctionVariant2GlobalTypeNullableJsonConverter), + typeof(global::Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeJsonConverter), + + typeof(global::Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeNullableJsonConverter), + + typeof(global::Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeJsonConverter), + + typeof(global::Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeNullableJsonConverter), + typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant1EventTypeJsonConverter), typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant1EventTypeNullableJsonConverter), @@ -907,7 +915,7 @@ namespace Braintrust typeof(global::Braintrust.JsonConverters.AnyOfJsonConverter), - typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), + typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), @@ -919,7 +927,7 @@ namespace Braintrust typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), - typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), + typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), @@ -931,7 +939,7 @@ namespace Braintrust typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), - typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), + typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), @@ -1007,11 +1015,11 @@ namespace Braintrust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AllOf?>), TypeInfoPropertyName = "TopicMapFunctionAutomationFunctionVariant2Global_31dc6848fbb9ed5d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?>>), TypeInfoPropertyName = "TopicAutomationConfigFacetFunctionVariant2Global_385eb3dc65d85bbf")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AllOf?>), TypeInfoPropertyName = "TopicAutomationConfigFacetFunctionVariant2Global_35e623b86265f845")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicAutomationConfig_39b025dda331d8c6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicDigestAutomationConfig_58445dfa22af15c2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "ProjectAutomationConfigVariant2ExportDefinitionVariant3_2a6132df942795d9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicAutomationConfig_894780c3462a57c1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicDigestAutomationConfig_87051094549c52e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2ExportDefinitionVariant3_378e18d0da0115e9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicAutomationConfig_object_bcb4e8da6f037ee8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicDigestAutomationConfig_object_808a42b69b283e4c")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2ExportDefinitionVariant3_a18e2b09c026c85e")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AnyOf), TypeInfoPropertyName = "CodeBundleLocationExperimentPositionClassifier_b29c562fd5b3ee2b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers_5dbc7250a4b23b86")] @@ -1025,12 +1033,12 @@ namespace Braintrust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "PromptDataNullishMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers_d50854d224e89aa6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AllOf?>?), TypeInfoPropertyName = "TopicMapFunctionAutomationFunctionVariant2Global_dd10e9b65bc14212")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AllOf?>?), TypeInfoPropertyName = "TopicAutomationConfigFacetFunctionVariant2Global_e7c55b45c643ace1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicAutomationConfig_0d6c5f854a69b14c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicDigestAutomationConfig_6457a5a9e284da92")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "ProjectAutomationConfigVariant2ExportDefinitionVariant3_ec6424933b017d35")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicAutomationConfig_b7a8ff37db6c0845")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicDigestAutomationConfig_ac7bb9e2b6eec7bc")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2ExportDefinitionVariant3_c447fd26e3994f56")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2CredentialsVariant2_4d1ae1fb74e40163")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicAutomationConfig_object_2bfedff763b4b9bd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicDigestAutomationConfig_object_1c903ce9c31f355e")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2ExportDefinitionVariant3_406398cc1ac2a868")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2CredentialsVariant2_8e5c5ea50cba239d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AnyOf?), TypeInfoPropertyName = "CodeBundleLocationExperimentPositionClassifier_c4d9fe7d3ca7c609")] @@ -1328,6 +1336,10 @@ namespace Braintrust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AnyOf), TypeInfoPropertyName = "AnyOfSpanScopeTraceScopeGroupScopeObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AnyOf), TypeInfoPropertyName = "AnyOfStringTopicAutomationConfigBackfillTimeRangeObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicAutomationConfigBackfillTimeRange))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicDigestAutomationConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicDigestAutomationConfigEventType), TypeInfoPropertyName = "TopicDigestAutomationConfigEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicDigestAutomationConfigAction))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicDigestAutomationConfigActionType), TypeInfoPropertyName = "TopicDigestAutomationConfigActionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomation))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant1EventType), TypeInfoPropertyName = "ProjectAutomationConfigVariant1EventType2")] @@ -1493,10 +1505,6 @@ namespace Braintrust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant2Position))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant2Type), TypeInfoPropertyName = "GraphNodeVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant3))] - [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))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1812,6 +1820,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Braintrust.JsonConverters.TopicAutomationConfigFacetFunctionVariant2GlobalTypeNullableJsonConverter), + typeof(global::Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeJsonConverter), + + typeof(global::Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeNullableJsonConverter), + + typeof(global::Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeJsonConverter), + + typeof(global::Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeNullableJsonConverter), + typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant1EventTypeJsonConverter), typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant1EventTypeNullableJsonConverter), @@ -2402,7 +2418,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Braintrust.JsonConverters.AnyOfJsonConverter), - typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), + typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), @@ -2414,7 +2430,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), - typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), + typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), @@ -2426,7 +2442,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), - typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), + typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), typeof(global::Braintrust.JsonConverters.OneOfJsonConverter), @@ -2502,11 +2518,11 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AllOf?>), TypeInfoPropertyName = "TopicMapFunctionAutomationFunctionVariant2Global_31dc6848fbb9ed5d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?>>), TypeInfoPropertyName = "TopicAutomationConfigFacetFunctionVariant2Global_385eb3dc65d85bbf")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AllOf?>), TypeInfoPropertyName = "TopicAutomationConfigFacetFunctionVariant2Global_35e623b86265f845")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicAutomationConfig_39b025dda331d8c6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicDigestAutomationConfig_58445dfa22af15c2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "ProjectAutomationConfigVariant2ExportDefinitionVariant3_2a6132df942795d9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicAutomationConfig_894780c3462a57c1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicDigestAutomationConfig_87051094549c52e9")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2ExportDefinitionVariant3_378e18d0da0115e9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicAutomationConfig_object_bcb4e8da6f037ee8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "TopicDigestAutomationConfig_object_808a42b69b283e4c")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2ExportDefinitionVariant3_a18e2b09c026c85e")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AnyOf), TypeInfoPropertyName = "CodeBundleLocationExperimentPositionClassifier_b29c562fd5b3ee2b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers_5dbc7250a4b23b86")] @@ -2520,17 +2536,21 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "PromptDataNullishMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers_d50854d224e89aa6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AllOf?>?), TypeInfoPropertyName = "TopicMapFunctionAutomationFunctionVariant2Global_dd10e9b65bc14212")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AllOf?>?), TypeInfoPropertyName = "TopicAutomationConfigFacetFunctionVariant2Global_e7c55b45c643ace1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicAutomationConfig_0d6c5f854a69b14c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicDigestAutomationConfig_6457a5a9e284da92")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "ProjectAutomationConfigVariant2ExportDefinitionVariant3_ec6424933b017d35")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicAutomationConfig_b7a8ff37db6c0845")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicDigestAutomationConfig_ac7bb9e2b6eec7bc")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2ExportDefinitionVariant3_c447fd26e3994f56")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2CredentialsVariant2_4d1ae1fb74e40163")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicAutomationConfig_object_2bfedff763b4b9bd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "TopicDigestAutomationConfig_object_1c903ce9c31f355e")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2ExportDefinitionVariant3_406398cc1ac2a868")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf?), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2CredentialsVariant2_8e5c5ea50cba239d")] [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.GraphNodeVariant3))] + [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")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GraphNodeVariant5))] @@ -3071,6 +3091,10 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Braintrust.JsonConverters.TopicAutomationConfigFacetFunctionVariant2FunctionTypeNullableJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.TopicAutomationConfigFacetFunctionVariant2GlobalTypeJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.TopicAutomationConfigFacetFunctionVariant2GlobalTypeNullableJsonConverter()); + options.Converters.Add(new global::Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeJsonConverter()); + options.Converters.Add(new global::Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeNullableJsonConverter()); + options.Converters.Add(new global::Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeJsonConverter()); + options.Converters.Add(new global::Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeNullableJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.ProjectAutomationConfigVariant1EventTypeJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.ProjectAutomationConfigVariant1EventTypeNullableJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.ProjectAutomationConfigVariant1ActionVariant1TypeJsonConverter()); @@ -3366,19 +3390,19 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Braintrust.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.AnyOfJsonConverter()); - options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); - options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); - options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::Braintrust.JsonConverters.AnyOfJsonConverter()); diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs index 259f18b..871c6f2 100644 --- a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs @@ -1160,1739 +1160,1755 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Braintrust.ProjectAutomation? Type283 { get; set; } + public global::Braintrust.TopicDigestAutomationConfig? Type283 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant1? Type284 { get; set; } + public global::Braintrust.TopicDigestAutomationConfigEventType? Type284 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant1EventType? Type285 { get; set; } + public global::Braintrust.TopicDigestAutomationConfigAction? Type285 { get; set; } /// /// /// - public global::Braintrust.OneOf? Type286 { get; set; } + public global::Braintrust.TopicDigestAutomationConfigActionType? Type286 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant1? Type287 { get; set; } + public global::Braintrust.ProjectAutomation? Type287 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant1Type? Type288 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant1? Type288 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant2? Type289 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant1EventType? Type289 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant2Type? Type290 { get; set; } + public global::Braintrust.OneOf? Type290 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2? Type291 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant1? Type291 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2EventType? Type292 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant1Type? Type292 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant1? Type293 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant2? Type293 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type294 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant2Type? Type294 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant2? Type295 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2? Type295 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type296 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2EventType? Type296 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant3? Type297 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant1? Type297 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type298 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type298 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2Format? Type299 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant2? Type299 { get; set; } /// /// /// - public global::Braintrust.OneOf? Type300 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type300 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1? Type301 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant3? Type301 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type? Type302 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type302 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2? Type303 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2Format? Type303 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type? Type304 { get; set; } + public global::Braintrust.OneOf? Type304 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant3? Type305 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1? Type305 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant3EventType? Type306 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type? Type306 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant3ObjectType? Type307 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2? Type307 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant3Format? Type308 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type? Type308 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant4? Type309 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant3? Type309 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant4EventType? Type310 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant3EventType? Type310 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant5? Type311 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant3ObjectType? Type311 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant5EventType? Type312 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant3Format? Type312 { get; set; } /// /// /// - public global::Braintrust.OneOf? Type313 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant4? Type313 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant5ActionVariant1? Type314 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant4EventType? Type314 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant5ActionVariant1Type? Type315 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant5? Type315 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant5ActionVariant2? Type316 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant5EventType? Type316 { get; set; } /// /// /// - public global::Braintrust.ProjectAutomationConfigVariant5ActionVariant2Type? Type317 { get; set; } + public global::Braintrust.OneOf? Type317 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomation? Type318 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant5ActionVariant1? Type318 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant1? Type319 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant5ActionVariant1Type? Type319 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant1EventType? Type320 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant5ActionVariant2? Type320 { get; set; } /// /// /// - public global::Braintrust.OneOf? Type321 { get; set; } + public global::Braintrust.ProjectAutomationConfigVariant5ActionVariant2Type? Type321 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant1? Type322 { get; set; } + public global::Braintrust.CreateProjectAutomation? Type322 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant1Type? Type323 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant1? Type323 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant2? Type324 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant1EventType? Type324 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant2Type? Type325 { get; set; } + public global::Braintrust.OneOf? Type325 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2? Type326 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant1? Type326 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2EventType? Type327 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant1Type? Type327 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant1? Type328 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant2? Type328 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type329 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant2Type? Type329 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant2? Type330 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2? Type330 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type331 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2EventType? Type331 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant3? Type332 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant1? Type332 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type333 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type333 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2Format? Type334 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant2? Type334 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1? Type335 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type335 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type? Type336 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant3? Type336 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2? Type337 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type337 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type? Type338 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2Format? Type338 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant3? Type339 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1? Type339 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant3EventType? Type340 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type? Type340 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant3ObjectType? Type341 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2? Type341 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant3Format? Type342 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type? Type342 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant4? Type343 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant3? Type343 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant4EventType? Type344 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant3EventType? Type344 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant5? Type345 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant3ObjectType? Type345 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant5EventType? Type346 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant3Format? Type346 { get; set; } /// /// /// - public global::Braintrust.OneOf? Type347 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant4? Type347 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant5ActionVariant1? Type348 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant4EventType? Type348 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant5ActionVariant1Type? Type349 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant5? Type349 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant5ActionVariant2? Type350 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant5EventType? Type350 { get; set; } /// /// /// - public global::Braintrust.CreateProjectAutomationConfigVariant5ActionVariant2Type? Type351 { get; set; } + public global::Braintrust.OneOf? Type351 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomation? Type352 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant5ActionVariant1? Type352 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant1? Type353 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant5ActionVariant1Type? Type353 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant1EventType? Type354 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant5ActionVariant2? Type354 { get; set; } /// /// /// - public global::Braintrust.OneOf? Type355 { get; set; } + public global::Braintrust.CreateProjectAutomationConfigVariant5ActionVariant2Type? Type355 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant1? Type356 { get; set; } + public global::Braintrust.PatchProjectAutomation? Type356 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant1Type? Type357 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant1? Type357 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant2? Type358 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant1EventType? Type358 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant2Type? Type359 { get; set; } + public global::Braintrust.OneOf? Type359 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2? Type360 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant1? Type360 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2EventType? Type361 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant1Type? Type361 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant1? Type362 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant2? Type362 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type363 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant2Type? Type363 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant2? Type364 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2? Type364 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type365 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2EventType? Type365 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant3? Type366 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant1? Type366 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type367 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type367 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2Format? Type368 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant2? Type368 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1? Type369 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type369 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type? Type370 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant3? Type370 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2? Type371 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type371 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type? Type372 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2Format? Type372 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant3? Type373 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1? Type373 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant3EventType? Type374 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type? Type374 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant3ObjectType? Type375 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2? Type375 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant3Format? Type376 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type? Type376 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant4? Type377 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant3? Type377 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant4EventType? Type378 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant3EventType? Type378 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant5? Type379 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant3ObjectType? Type379 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant5EventType? Type380 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant3Format? Type380 { get; set; } /// /// /// - public global::Braintrust.OneOf? Type381 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant4? Type381 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant5ActionVariant1? Type382 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant4EventType? Type382 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant5ActionVariant1Type? Type383 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant5? Type383 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant5ActionVariant2? Type384 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant5EventType? Type384 { get; set; } /// /// /// - public global::Braintrust.PatchProjectAutomationConfigVariant5ActionVariant2Type? Type385 { get; set; } + public global::Braintrust.OneOf? Type385 { get; set; } /// /// /// - public global::Braintrust.ProjectScoreCategory? Type386 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant5ActionVariant1? Type386 { get; set; } /// /// /// - public global::Braintrust.ProjectScoreCategories? Type387 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant5ActionVariant1Type? Type387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type388 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant5ActionVariant2? Type388 { get; set; } /// /// /// - public global::Braintrust.OnlineScoreConfig? Type389 { get; set; } + public global::Braintrust.PatchProjectAutomationConfigVariant5ActionVariant2Type? Type389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?>>? Type390 { get; set; } + public global::Braintrust.ProjectScoreCategory? Type390 { get; set; } /// /// /// - public global::Braintrust.AllOf?>? Type391 { get; set; } + public global::Braintrust.ProjectScoreCategories? Type391 { get; set; } /// /// /// - public global::Braintrust.AnyOf? Type392 { get; set; } + public global::System.Collections.Generic.IList? Type392 { get; set; } /// /// /// - public global::Braintrust.OnlineScoreConfigScorerVariant2Function? Type393 { get; set; } + public global::Braintrust.OnlineScoreConfig? Type393 { get; set; } /// /// /// - public global::Braintrust.OnlineScoreConfigScorerVariant2FunctionType? Type394 { get; set; } + public global::System.Collections.Generic.IList?>>? Type394 { get; set; } /// /// /// - public global::Braintrust.OnlineScoreConfigScorerVariant2Global? Type395 { get; set; } + public global::Braintrust.AllOf?>? Type395 { get; set; } /// /// /// - public global::Braintrust.OnlineScoreConfigScorerVariant2GlobalType? Type396 { get; set; } + public global::Braintrust.AnyOf? Type396 { get; set; } /// /// /// - public global::Braintrust.ProjectScoreCondition? Type397 { get; set; } + public global::Braintrust.OnlineScoreConfigScorerVariant2Function? Type397 { get; set; } /// /// /// - public global::Braintrust.ProjectScoreConditionWhen? Type398 { get; set; } + public global::Braintrust.OnlineScoreConfigScorerVariant2FunctionType? Type398 { get; set; } /// /// /// - public global::Braintrust.ProjectScoreConditionBehavior? Type399 { get; set; } + public global::Braintrust.OnlineScoreConfigScorerVariant2Global? Type399 { get; set; } /// /// /// - public global::Braintrust.ProjectScoreConfig? Type400 { get; set; } + public global::Braintrust.OnlineScoreConfigScorerVariant2GlobalType? Type400 { get; set; } /// /// /// - public global::Braintrust.ProjectScoreConfigVisibility? Type401 { get; set; } + public global::Braintrust.ProjectScoreCondition? Type401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type402 { get; set; } + public global::Braintrust.ProjectScoreConditionWhen? Type402 { get; set; } /// /// /// - public global::Braintrust.ProjectScoreConfigObjectType? Type403 { get; set; } + public global::Braintrust.ProjectScoreConditionBehavior? Type403 { get; set; } /// /// /// - public global::Braintrust.ProjectScore? Type404 { get; set; } + public global::Braintrust.ProjectScoreConfig? Type404 { get; set; } /// /// /// - public global::Braintrust.CreateProjectScore? Type405 { get; set; } + public global::Braintrust.ProjectScoreConfigVisibility? Type405 { get; set; } /// /// /// - public global::Braintrust.PatchProjectScore? Type406 { get; set; } + public global::System.Collections.Generic.IList? Type406 { get; set; } /// /// /// - public global::Braintrust.ProjectTag? Type407 { get; set; } + public global::Braintrust.ProjectScoreConfigObjectType? Type407 { get; set; } /// /// /// - public global::Braintrust.CreateProjectTag? Type408 { get; set; } + public global::Braintrust.ProjectScore? Type408 { get; set; } /// /// /// - public global::Braintrust.PatchProjectTag? Type409 { get; set; } + public global::Braintrust.CreateProjectScore? Type409 { get; set; } /// /// /// - public global::Braintrust.SpanIFrame? Type410 { get; set; } + public global::Braintrust.PatchProjectScore? Type410 { get; set; } /// /// /// - public global::Braintrust.CreateSpanIFrame? Type411 { get; set; } + public global::Braintrust.ProjectTag? Type411 { get; set; } /// /// /// - public global::Braintrust.PatchSpanIFrame? Type412 { get; set; } + public global::Braintrust.CreateProjectTag? Type412 { get; set; } /// /// /// - public global::Braintrust.CodeBundle? Type413 { get; set; } + public global::Braintrust.PatchProjectTag? Type413 { get; set; } /// /// /// - public global::Braintrust.CodeBundleRuntimeContext? Type414 { get; set; } + public global::Braintrust.SpanIFrame? Type414 { get; set; } /// /// /// - public global::Braintrust.CodeBundleRuntimeContextRuntime? Type415 { get; set; } + public global::Braintrust.CreateSpanIFrame? Type415 { get; set; } /// /// /// - public global::Braintrust.AnyOf? Type416 { get; set; } + public global::Braintrust.PatchSpanIFrame? Type416 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperiment? Type417 { get; set; } + public global::Braintrust.CodeBundle? Type417 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentType? Type418 { get; set; } + public global::Braintrust.CodeBundleRuntimeContext? Type418 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionVariant1? Type419 { get; set; } + public global::Braintrust.CodeBundleRuntimeContextRuntime? Type419 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionVariant1Type? Type420 { get; set; } + public global::Braintrust.AnyOf? Type420 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionScorer? Type421 { get; set; } + public global::Braintrust.CodeBundleLocationExperiment? Type421 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionScorerType? Type422 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentType? Type422 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionClassifier? Type423 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionVariant1? Type423 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationExperimentPositionClassifierType? Type424 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionVariant1Type? Type424 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationFunction? Type425 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionScorer? Type425 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationFunctionType? Type426 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionScorerType? Type426 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3? Type427 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionClassifier? Type427 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3Type? Type428 { get; set; } + public global::Braintrust.CodeBundleLocationExperimentPositionClassifierType? Type428 { get; set; } /// /// /// - public global::Braintrust.OneOf? Type429 { get; set; } + public global::Braintrust.CodeBundleLocationFunction? Type429 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1? Type430 { get; set; } + public global::Braintrust.CodeBundleLocationFunctionType? Type430 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1Provider? Type431 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3? Type431 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2? Type432 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3Type? Type432 { get; set; } /// /// /// - public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2Provider? Type433 { get; set; } + public global::Braintrust.OneOf? Type433 { get; set; } /// /// /// - public global::Braintrust.PromptBlockData? Type434 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1? Type434 { get; set; } /// /// /// - public global::Braintrust.PromptBlockDataChat? Type435 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1Provider? Type435 { get; set; } /// /// /// - public global::Braintrust.PromptBlockDataChatType? Type436 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2? Type436 { get; set; } /// /// /// - public global::Braintrust.PromptBlockDataCompletion? Type437 { get; set; } + public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2Provider? Type437 { get; set; } /// /// /// - public global::Braintrust.PromptBlockDataCompletionType? Type438 { get; set; } + public global::Braintrust.PromptBlockData? Type438 { get; set; } /// /// /// - public global::Braintrust.GraphNode? Type439 { get; set; } + public global::Braintrust.PromptBlockDataChat? Type439 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant1? Type440 { get; set; } + public global::Braintrust.PromptBlockDataChatType? Type440 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant1Position? Type441 { get; set; } + public global::Braintrust.PromptBlockDataCompletion? Type441 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant1Type? Type442 { get; set; } + public global::Braintrust.PromptBlockDataCompletionType? Type442 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant2? Type443 { get; set; } + public global::Braintrust.GraphNode? Type443 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant2Position? Type444 { get; set; } + public global::Braintrust.GraphNodeVariant1? Type444 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant2Type? Type445 { get; set; } + public global::Braintrust.GraphNodeVariant1Position? Type445 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant3? Type446 { get; set; } + public global::Braintrust.GraphNodeVariant1Type? Type446 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant3Position? Type447 { get; set; } + public global::Braintrust.GraphNodeVariant2? Type447 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant3Type? Type448 { get; set; } + public global::Braintrust.GraphNodeVariant2Position? Type448 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant4? Type449 { get; set; } + public global::Braintrust.GraphNodeVariant2Type? Type449 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant4Position? Type450 { get; set; } + public global::Braintrust.GraphNodeVariant3? Type450 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant4Type? Type451 { get; set; } + public global::Braintrust.GraphNodeVariant3Position? Type451 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant5? Type452 { get; set; } + public global::Braintrust.GraphNodeVariant3Type? Type452 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant5Position? Type453 { get; set; } + public global::Braintrust.GraphNodeVariant4? Type453 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant5Type? Type454 { get; set; } + public global::Braintrust.GraphNodeVariant4Position? Type454 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant6? Type455 { get; set; } + public global::Braintrust.GraphNodeVariant4Type? Type455 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant6Position? Type456 { get; set; } + public global::Braintrust.GraphNodeVariant5? Type456 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant6Type? Type457 { get; set; } + public global::Braintrust.GraphNodeVariant5Position? Type457 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant7? Type458 { get; set; } + public global::Braintrust.GraphNodeVariant5Type? Type458 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant7Position? Type459 { get; set; } + public global::Braintrust.GraphNodeVariant6? Type459 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant7Type? Type460 { get; set; } + public global::Braintrust.GraphNodeVariant6Position? Type460 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant8? Type461 { get; set; } + public global::Braintrust.GraphNodeVariant6Type? Type461 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant8Position? Type462 { get; set; } + public global::Braintrust.GraphNodeVariant7? Type462 { get; set; } /// /// /// - public global::Braintrust.GraphNodeVariant8Type? Type463 { get; set; } + public global::Braintrust.GraphNodeVariant7Position? Type463 { get; set; } /// /// /// - public global::Braintrust.GraphEdge? Type464 { get; set; } + public global::Braintrust.GraphNodeVariant7Type? Type464 { get; set; } /// /// /// - public global::Braintrust.GraphEdgeSource? Type465 { get; set; } + public global::Braintrust.GraphNodeVariant8? Type465 { get; set; } /// /// /// - public global::Braintrust.GraphEdgeTarget? Type466 { get; set; } + public global::Braintrust.GraphNodeVariant8Position? Type466 { get; set; } /// /// /// - public global::Braintrust.GraphEdgePurpose? Type467 { get; set; } + public global::Braintrust.GraphNodeVariant8Type? Type467 { get; set; } /// /// /// - public global::Braintrust.GraphData? Type468 { get; set; } + public global::Braintrust.GraphEdge? Type468 { get; set; } /// /// /// - public global::Braintrust.GraphDataType? Type469 { get; set; } + public global::Braintrust.GraphEdgeSource? Type469 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type470 { get; set; } + public global::Braintrust.GraphEdgeTarget? Type470 { get; set; } /// /// /// - public global::Braintrust.FacetData? Type471 { get; set; } + public global::Braintrust.GraphEdgePurpose? Type471 { get; set; } /// /// /// - public global::Braintrust.FacetDataType? Type472 { get; set; } + public global::Braintrust.GraphData? Type472 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type473 { get; set; } + public global::Braintrust.GraphDataType? Type473 { get; set; } /// /// /// - public global::Braintrust.TopicMapGenerationSettings? Type474 { get; set; } + public global::System.Collections.Generic.Dictionary? Type474 { get; set; } /// /// /// - public global::Braintrust.TopicMapGenerationSettingsAlgorithm? Type475 { get; set; } + public global::Braintrust.FacetData? Type475 { get; set; } /// /// /// - public global::Braintrust.TopicMapGenerationSettingsDimensionReduction? Type476 { get; set; } + public global::Braintrust.FacetDataType? Type476 { get; set; } /// /// /// - public global::Braintrust.TopicMapData? Type477 { get; set; } + public global::Braintrust.AllOf? Type477 { get; set; } /// /// /// - public global::Braintrust.TopicMapDataType? Type478 { get; set; } + public global::Braintrust.TopicMapGenerationSettings? Type478 { get; set; } /// /// /// - public global::Braintrust.BatchedFacetData? Type479 { get; set; } + public global::Braintrust.TopicMapGenerationSettingsAlgorithm? Type479 { get; set; } /// /// /// - public global::Braintrust.BatchedFacetDataType? Type480 { get; set; } + public global::Braintrust.TopicMapGenerationSettingsDimensionReduction? Type480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type481 { get; set; } + public global::Braintrust.TopicMapData? Type481 { get; set; } /// /// /// - public global::Braintrust.BatchedFacetDataFacet? Type482 { get; set; } + public global::Braintrust.TopicMapDataType? Type482 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type483 { get; set; } + public global::Braintrust.BatchedFacetData? Type483 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type484 { get; set; } + public global::Braintrust.BatchedFacetDataType? Type484 { get; set; } /// /// /// - public global::Braintrust.BatchedFacetDataTopicMap? Type485 { get; set; } + public global::System.Collections.Generic.IList? Type485 { get; set; } /// /// /// - public global::Braintrust.FunctionData? Type486 { get; set; } + public global::Braintrust.BatchedFacetDataFacet? Type486 { get; set; } /// /// /// - public global::Braintrust.FunctionDataPrompt? Type487 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type487 { get; set; } /// /// /// - public global::Braintrust.FunctionDataPromptType? Type488 { get; set; } + public global::System.Collections.Generic.IList? Type488 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCode? Type489 { get; set; } + public global::Braintrust.BatchedFacetDataTopicMap? Type489 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeType? Type490 { get; set; } + public global::Braintrust.FunctionData? Type490 { get; set; } /// /// /// - public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataCodeData2>? Type491 { get; set; } + public global::Braintrust.FunctionDataPrompt? Type491 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type492 { get; set; } + public global::Braintrust.FunctionDataPromptType? Type492 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeData? Type493 { get; set; } + public global::Braintrust.FunctionDataCode? Type493 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeDataType? Type494 { get; set; } + public global::Braintrust.FunctionDataCodeType? Type494 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeData2? Type495 { get; set; } + public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataCodeData2>? Type495 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeDataType2? Type496 { get; set; } + public global::Braintrust.AllOf? Type496 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeDataRuntimeContext? Type497 { get; set; } + public global::Braintrust.FunctionDataCodeData? Type497 { get; set; } /// /// /// - public global::Braintrust.FunctionDataCodeDataRuntimeContextRuntime? Type498 { get; set; } + public global::Braintrust.FunctionDataCodeDataType? Type498 { get; set; } /// /// /// - public global::Braintrust.FunctionDataRemoteEval? Type499 { get; set; } + public global::Braintrust.FunctionDataCodeData2? Type499 { get; set; } /// /// /// - public global::Braintrust.FunctionDataRemoteEvalType? Type500 { get; set; } + public global::Braintrust.FunctionDataCodeDataType2? Type500 { get; set; } /// /// /// - public global::Braintrust.FunctionDataGlobal? Type501 { get; set; } + public global::Braintrust.FunctionDataCodeDataRuntimeContext? Type501 { get; set; } /// /// /// - public global::Braintrust.FunctionDataGlobalType? Type502 { get; set; } + public global::Braintrust.FunctionDataCodeDataRuntimeContextRuntime? Type502 { get; set; } /// /// /// - public global::Braintrust.FunctionDataParameters? Type503 { get; set; } + public global::Braintrust.FunctionDataRemoteEval? Type503 { get; set; } /// /// /// - public global::Braintrust.FunctionDataParametersType? Type504 { get; set; } + public global::Braintrust.FunctionDataRemoteEvalType? Type504 { get; set; } /// /// /// - public global::Braintrust.FunctionDataParametersSchema? Type505 { get; set; } + public global::Braintrust.FunctionDataGlobal? Type505 { get; set; } /// /// /// - public global::Braintrust.FunctionDataParametersSchemaType? Type506 { get; set; } + public global::Braintrust.FunctionDataGlobalType? Type506 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type507 { get; set; } + public global::Braintrust.FunctionDataParameters? Type507 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type508 { get; set; } + public global::Braintrust.FunctionDataParametersType? Type508 { get; set; } /// /// /// - public global::Braintrust.Function2? Type509 { get; set; } + public global::Braintrust.FunctionDataParametersSchema? Type509 { get; set; } /// /// /// - public global::Braintrust.FunctionLogId? Type510 { get; set; } + public global::Braintrust.FunctionDataParametersSchemaType? Type510 { get; set; } /// /// /// - public global::Braintrust.FunctionOrigin? Type511 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type511 { get; set; } /// /// /// - public global::Braintrust.FunctionFunctionSchema? Type512 { get; set; } + public global::Braintrust.AllOf? Type512 { get; set; } /// /// /// - public global::Braintrust.CreateFunction? Type513 { get; set; } + public global::Braintrust.Function2? Type513 { get; set; } /// /// /// - public global::Braintrust.CreateFunctionOrigin? Type514 { get; set; } + public global::Braintrust.FunctionLogId? Type514 { get; set; } /// /// /// - public global::Braintrust.CreateFunctionFunctionSchema? Type515 { get; set; } + public global::Braintrust.FunctionOrigin? Type515 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullish? Type516 { get; set; } + public global::Braintrust.FunctionFunctionSchema? Type516 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishPrompt? Type517 { get; set; } + public global::Braintrust.CreateFunction? Type517 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishPromptType? Type518 { get; set; } + public global::Braintrust.CreateFunctionOrigin? Type518 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCode? Type519 { get; set; } + public global::Braintrust.CreateFunctionFunctionSchema? Type519 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeType? Type520 { get; set; } + public global::Braintrust.FunctionDataNullish? Type520 { get; set; } /// /// /// - public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataNullishCodeData2>? Type521 { get; set; } + public global::Braintrust.FunctionDataNullishPrompt? Type521 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type522 { get; set; } + public global::Braintrust.FunctionDataNullishPromptType? Type522 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeData? Type523 { get; set; } + public global::Braintrust.FunctionDataNullishCode? Type523 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeDataType? Type524 { get; set; } + public global::Braintrust.FunctionDataNullishCodeType? Type524 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeData2? Type525 { get; set; } + public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataNullishCodeData2>? Type525 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeDataType2? Type526 { get; set; } + public global::Braintrust.AllOf? Type526 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeDataRuntimeContext? Type527 { get; set; } + public global::Braintrust.FunctionDataNullishCodeData? Type527 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishCodeDataRuntimeContextRuntime? Type528 { get; set; } + public global::Braintrust.FunctionDataNullishCodeDataType? Type528 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishRemoteEval? Type529 { get; set; } + public global::Braintrust.FunctionDataNullishCodeData2? Type529 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishRemoteEvalType? Type530 { get; set; } + public global::Braintrust.FunctionDataNullishCodeDataType2? Type530 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishGlobal? Type531 { get; set; } + public global::Braintrust.FunctionDataNullishCodeDataRuntimeContext? Type531 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishGlobalType? Type532 { get; set; } + public global::Braintrust.FunctionDataNullishCodeDataRuntimeContextRuntime? Type532 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishParameters? Type533 { get; set; } + public global::Braintrust.FunctionDataNullishRemoteEval? Type533 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishParametersType? Type534 { get; set; } + public global::Braintrust.FunctionDataNullishRemoteEvalType? Type534 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishParametersSchema? Type535 { get; set; } + public global::Braintrust.FunctionDataNullishGlobal? Type535 { get; set; } /// /// /// - public global::Braintrust.FunctionDataNullishParametersSchemaType? Type536 { get; set; } + public global::Braintrust.FunctionDataNullishGlobalType? Type536 { get; set; } /// /// /// - public global::Braintrust.PatchFunction? Type537 { get; set; } + public global::Braintrust.FunctionDataNullishParameters? Type537 { get; set; } /// /// /// - public global::Braintrust.InvokeParent? Type538 { get; set; } + public global::Braintrust.FunctionDataNullishParametersType? Type538 { get; set; } /// /// /// - public global::Braintrust.InvokeParentSpanParentStruct? Type539 { get; set; } + public global::Braintrust.FunctionDataNullishParametersSchema? Type539 { get; set; } /// /// /// - public global::Braintrust.InvokeParentSpanParentStructObjectType? Type540 { get; set; } + public global::Braintrust.FunctionDataNullishParametersSchemaType? Type540 { get; set; } /// /// /// - public global::Braintrust.InvokeParentSpanParentStructRowIds? Type541 { get; set; } + public global::Braintrust.PatchFunction? Type541 { get; set; } /// /// /// - public global::Braintrust.StreamingMode? Type542 { get; set; } + public global::Braintrust.InvokeParent? Type542 { get; set; } /// /// /// - public global::Braintrust.InvokeApi? Type543 { get; set; } + public global::Braintrust.InvokeParentSpanParentStruct? Type543 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type544 { get; set; } + public global::Braintrust.InvokeParentSpanParentStructObjectType? Type544 { get; set; } /// /// /// - public global::Braintrust.InvokeApiMcpAuth2? Type545 { get; set; } + public global::Braintrust.InvokeParentSpanParentStructRowIds? Type545 { get; set; } /// /// /// - public global::Braintrust.ViewDataSearch? Type546 { get; set; } + public global::Braintrust.StreamingMode? Type546 { get; set; } /// /// /// - public global::Braintrust.ViewData? Type547 { get; set; } + public global::Braintrust.InvokeApi? Type547 { get; set; } /// /// /// - public global::Braintrust.ViewOptions? Type548 { get; set; } + public global::System.Collections.Generic.Dictionary? Type548 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsMonitorViewOptions? Type549 { get; set; } + public global::Braintrust.InvokeApiMcpAuth2? Type549 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsMonitorViewOptionsViewType? Type550 { get; set; } + public global::Braintrust.ViewDataSearch? Type550 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsMonitorViewOptionsOptions? Type551 { get; set; } + public global::Braintrust.ViewData? Type551 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsSpanType? Type552 { get; set; } + public global::Braintrust.ViewOptions? Type552 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type553 { get; set; } + public global::Braintrust.ViewOptionsMonitorViewOptions? Type553 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsType? Type554 { get; set; } + public global::Braintrust.ViewOptionsMonitorViewOptionsViewType? Type554 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptions? Type555 { get; set; } + public global::Braintrust.ViewOptionsMonitorViewOptionsOptions? Type555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type556 { get; set; } + public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsSpanType? Type556 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasure? Type557 { get; set; } + public global::System.Collections.Generic.Dictionary? Type557 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasureType? Type558 { get; set; } + public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsType? Type558 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsYMetric? Type559 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptions? Type559 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsYMetricType? Type560 { get; set; } + public global::System.Collections.Generic.IList? Type560 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsXAxis? Type561 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasure? Type561 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsXAxisType? Type562 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasureType? Type562 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsSymbolGrouping? Type563 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsYMetric? Type563 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsSymbolGroupingType? Type564 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsYMetricType? Type564 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type565 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsXAxis? Type565 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsChartAnnotation? Type566 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsXAxisType? Type566 { get; set; } /// /// /// - public global::Braintrust.AnyOf? Type567 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsSymbolGrouping? Type567 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsTimeRangeFilter? Type568 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsSymbolGroupingType? Type568 { get; set; } /// /// /// - public global::Braintrust.ViewOptionsTableViewOptionsQueryShape? Type569 { get; set; } + public global::System.Collections.Generic.IList? Type569 { get; set; } /// /// /// - public global::Braintrust.View? Type570 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsChartAnnotation? Type570 { get; set; } /// /// /// - public global::Braintrust.ViewViewType? Type571 { get; set; } + public global::Braintrust.AnyOf? Type571 { get; set; } /// /// /// - public global::Braintrust.CreateView? Type572 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsTimeRangeFilter? Type572 { get; set; } /// /// /// - public global::Braintrust.CreateViewViewType? Type573 { get; set; } + public global::Braintrust.ViewOptionsTableViewOptionsQueryShape? Type573 { get; set; } /// /// /// - public global::Braintrust.PatchView? Type574 { get; set; } + public global::Braintrust.View? Type574 { get; set; } /// /// /// - public global::Braintrust.PatchViewViewType? Type575 { get; set; } + public global::Braintrust.ViewViewType? Type575 { get; set; } /// /// /// - public global::Braintrust.DeleteView? Type576 { get; set; } + public global::Braintrust.CreateView? Type576 { get; set; } /// /// /// - public global::Braintrust.ImageRenderingMode? Type577 { get; set; } + public global::Braintrust.CreateViewViewType? Type577 { get; set; } /// /// /// - public global::Braintrust.Organization? Type578 { get; set; } + public global::Braintrust.PatchView? Type578 { get; set; } /// /// /// - public global::Braintrust.PatchOrganization? Type579 { get; set; } + public global::Braintrust.PatchViewViewType? Type579 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersOutput? Type580 { get; set; } + public global::Braintrust.DeleteView? Type580 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersOutputStatus? Type581 { get; set; } + public global::Braintrust.ImageRenderingMode? Type581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type582 { get; set; } + public global::Braintrust.Organization? Type582 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersOutputAddedUser? Type583 { get; set; } + public global::Braintrust.PatchOrganization? Type583 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembers? Type584 { get; set; } + public global::Braintrust.PatchOrganizationMembersOutput? Type584 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersInviteUsers? Type585 { get; set; } + public global::Braintrust.PatchOrganizationMembersOutputStatus? Type585 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type586 { get; set; } + public global::System.Collections.Generic.IList? Type586 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersInviteUsersServiceAccount? Type587 { get; set; } + public global::Braintrust.PatchOrganizationMembersOutputAddedUser? Type587 { get; set; } /// /// /// - public global::Braintrust.PatchOrganizationMembersRemoveUsers? Type588 { get; set; } + public global::Braintrust.PatchOrganizationMembers? Type588 { get; set; } /// /// /// - public global::Braintrust.ApiKey? Type589 { get; set; } + public global::Braintrust.PatchOrganizationMembersInviteUsers? Type589 { get; set; } /// /// /// - public global::Braintrust.CreateServiceTokenOutput? Type590 { get; set; } + public global::System.Collections.Generic.IList? Type590 { get; set; } /// /// /// - public global::Braintrust.ServiceToken? Type591 { get; set; } + public global::Braintrust.PatchOrganizationMembersInviteUsersServiceAccount? Type591 { get; set; } /// /// /// - public global::Braintrust.DeleteServiceToken? Type592 { get; set; } + public global::Braintrust.PatchOrganizationMembersRemoveUsers? Type592 { get; set; } /// /// /// - public global::Braintrust.AISecret? Type593 { get; set; } + public global::Braintrust.ApiKey? Type593 { get; set; } /// /// /// - public global::Braintrust.CreateAISecret? Type594 { get; set; } + public global::Braintrust.CreateServiceTokenOutput? Type594 { get; set; } /// /// /// - public global::Braintrust.DeleteAISecret? Type595 { get; set; } + public global::Braintrust.ServiceToken? Type595 { get; set; } /// /// /// - public global::Braintrust.PatchAISecret? Type596 { get; set; } + public global::Braintrust.DeleteServiceToken? Type596 { get; set; } /// /// /// - public global::Braintrust.EnvVar? Type597 { get; set; } + public global::Braintrust.AISecret? Type597 { get; set; } /// /// /// - public global::Braintrust.EnvVarObjectType2? Type598 { get; set; } + public global::Braintrust.CreateAISecret? Type598 { get; set; } /// /// /// - public global::Braintrust.EnvVarSecretCategory? Type599 { get; set; } + public global::Braintrust.DeleteAISecret? Type599 { get; set; } /// /// /// - public global::Braintrust.MCPServer? Type600 { get; set; } + public global::Braintrust.PatchAISecret? Type600 { get; set; } /// /// /// - public global::Braintrust.CreateMCPServer? Type601 { get; set; } + public global::Braintrust.EnvVar? Type601 { get; set; } /// /// /// - public global::Braintrust.PatchMCPServer? Type602 { get; set; } + public global::Braintrust.EnvVarObjectType2? Type602 { get; set; } /// /// /// - public global::Braintrust.DatasetSnapshot? Type603 { get; set; } + public global::Braintrust.EnvVarSecretCategory? Type603 { get; set; } /// /// /// - public global::Braintrust.CreateDatasetSnapshot? Type604 { get; set; } + public global::Braintrust.MCPServer? Type604 { get; set; } /// /// /// - public global::Braintrust.PatchDatasetSnapshot? Type605 { get; set; } + public global::Braintrust.CreateMCPServer? Type605 { get; set; } /// /// /// - public global::Braintrust.Environment? Type606 { get; set; } + public global::Braintrust.PatchMCPServer? Type606 { get; set; } /// /// /// - public global::Braintrust.CreateEnvironment? Type607 { get; set; } + public global::Braintrust.DatasetSnapshot? Type607 { get; set; } /// /// /// - public global::Braintrust.PatchEnvironment? Type608 { get; set; } + public global::Braintrust.CreateDatasetSnapshot? Type608 { get; set; } /// /// /// - public global::Braintrust.CrossObjectInsertResponse? Type609 { get; set; } + public global::Braintrust.PatchDatasetSnapshot? Type609 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type610 { get; set; } + public global::Braintrust.Environment? Type610 { get; set; } /// /// /// - public global::Braintrust.CrossObjectInsertRequest? Type611 { get; set; } + public global::Braintrust.CreateEnvironment? Type611 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type612 { get; set; } + public global::Braintrust.PatchEnvironment? Type612 { get; set; } /// /// /// - public global::Braintrust.CrossObjectInsertRequestExperiment2? Type613 { get; set; } + public global::Braintrust.CrossObjectInsertResponse? Type613 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type614 { get; set; } + public global::System.Collections.Generic.Dictionary? Type614 { get; set; } /// /// /// - public global::Braintrust.CrossObjectInsertRequestDataset2? Type615 { get; set; } + public global::Braintrust.CrossObjectInsertRequest? Type615 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type616 { get; set; } + public global::System.Collections.Generic.Dictionary? Type616 { get; set; } /// /// /// - public global::Braintrust.CrossObjectInsertRequestProjectLogs2? Type617 { get; set; } + public global::Braintrust.CrossObjectInsertRequestExperiment2? Type617 { get; set; } /// /// /// - public global::Braintrust.PromptData? Type618 { get; set; } + public global::System.Collections.Generic.Dictionary? Type618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?>>? Type619 { get; set; } + public global::Braintrust.CrossObjectInsertRequestDataset2? Type619 { get; set; } /// /// /// - public global::Braintrust.AllOf?>? Type620 { get; set; } + public global::System.Collections.Generic.Dictionary? Type620 { get; set; } /// /// /// - public global::Braintrust.AnyOf? Type621 { get; set; } + public global::Braintrust.CrossObjectInsertRequestProjectLogs2? Type621 { get; set; } /// /// /// - public global::Braintrust.PromptDataToolFunctionVariant2Function? Type622 { get; set; } + public global::Braintrust.PromptData? Type622 { get; set; } /// /// /// - public global::Braintrust.PromptDataToolFunctionVariant2FunctionType? Type623 { get; set; } + public global::System.Collections.Generic.IList?>>? Type623 { get; set; } /// /// /// - public global::Braintrust.PromptDataToolFunctionVariant2Global? Type624 { get; set; } + public global::Braintrust.AllOf?>? Type624 { get; set; } /// /// /// - public global::Braintrust.PromptDataToolFunctionVariant2GlobalType? Type625 { get; set; } + public global::Braintrust.AnyOf? Type625 { get; set; } /// /// /// - public global::Braintrust.PromptDataTemplateFormat? Type626 { get; set; } + public global::Braintrust.PromptDataToolFunctionVariant2Function? Type626 { get; set; } /// /// /// - public global::Braintrust.PromptDataMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitions? Type627 { get; set; } + public global::Braintrust.PromptDataToolFunctionVariant2FunctionType? Type627 { get; set; } /// /// /// - public global::Braintrust.PromptDataMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitionsType? Type628 { get; set; } + public global::Braintrust.PromptDataToolFunctionVariant2Global? Type628 { get; set; } /// /// /// - public global::Braintrust.PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers? Type629 { get; set; } + public global::Braintrust.PromptDataToolFunctionVariant2GlobalType? Type629 { get; set; } /// /// /// - public global::Braintrust.PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServersType? Type630 { get; set; } + public global::Braintrust.PromptDataTemplateFormat? Type630 { get; set; } /// /// /// - public global::Braintrust.PromptDataOrigin? Type631 { get; set; } + public global::Braintrust.PromptDataMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitions? Type631 { get; set; } /// /// /// - public global::Braintrust.FunctionId? Type632 { get; set; } + public global::Braintrust.PromptDataMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitionsType? Type632 { get; set; } /// /// /// - public global::Braintrust.FunctionIdFunctionId1? Type633 { get; set; } + public global::Braintrust.PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers? Type633 { get; set; } /// /// /// - public global::Braintrust.FunctionIdProjectSlug? Type634 { get; set; } + public global::Braintrust.PromptDataMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServersType? Type634 { get; set; } /// /// /// - public global::Braintrust.FunctionIdGlobalFunction? Type635 { get; set; } + public global::Braintrust.PromptDataOrigin? Type635 { get; set; } /// /// /// - public global::Braintrust.FunctionIdPromptSessionId? Type636 { get; set; } + public global::Braintrust.FunctionId? Type636 { get; set; } /// /// /// - public global::Braintrust.FunctionIdInlineCode? Type637 { get; set; } + public global::Braintrust.FunctionIdFunctionId1? Type637 { get; set; } /// /// /// - public global::Braintrust.FunctionIdInlineCodeInlineContext? Type638 { get; set; } + public global::Braintrust.FunctionIdProjectSlug? Type638 { get; set; } /// /// /// - public global::Braintrust.FunctionIdInlineCodeInlineContextRuntime? Type639 { get; set; } + public global::Braintrust.FunctionIdGlobalFunction? Type639 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type640 { get; set; } + public global::Braintrust.FunctionIdPromptSessionId? Type640 { get; set; } /// /// /// - public global::Braintrust.FunctionIdInlineFunction? Type641 { get; set; } + public global::Braintrust.FunctionIdInlineCode? Type641 { get; set; } /// /// /// - public global::Braintrust.FunctionIdInlinePrompt? Type642 { get; set; } + public global::Braintrust.FunctionIdInlineCodeInlineContext? Type642 { get; set; } /// /// /// - public global::Braintrust.GitMetadataSettings? Type643 { get; set; } + public global::Braintrust.FunctionIdInlineCodeInlineContextRuntime? Type643 { get; set; } /// /// /// - public global::Braintrust.GitMetadataSettingsCollect? Type644 { get; set; } + public global::Braintrust.AllOf? Type644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type645 { get; set; } + public global::Braintrust.FunctionIdInlineFunction? Type645 { get; set; } /// /// /// - public global::Braintrust.GitMetadataSettingsField? Type646 { get; set; } + public global::Braintrust.FunctionIdInlinePrompt? Type646 { get; set; } /// /// /// - public global::Braintrust.RunEval? Type647 { get; set; } + public global::Braintrust.GitMetadataSettings? Type647 { get; set; } /// /// /// - public global::Braintrust.AnyOf? Type648 { get; set; } + public global::Braintrust.GitMetadataSettingsCollect? Type648 { get; set; } /// /// /// - public global::Braintrust.RunEvalDataDatasetId? Type649 { get; set; } + public global::System.Collections.Generic.IList? Type649 { get; set; } /// /// /// - public global::Braintrust.RunEvalDataProjectDatasetName? Type650 { get; set; } + public global::Braintrust.GitMetadataSettingsField? Type650 { get; set; } /// /// /// - public global::Braintrust.RunEvalDataDatasetRows? Type651 { get; set; } + public global::Braintrust.RunEval? Type651 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type652 { get; set; } + public global::Braintrust.AnyOf? Type652 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type653 { get; set; } + public global::Braintrust.RunEvalDataDatasetId? Type653 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type654 { get; set; } + public global::Braintrust.RunEvalDataProjectDatasetName? Type654 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type655 { get; set; } + public global::Braintrust.RunEvalDataDatasetRows? Type655 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type656 { get; set; } + public global::System.Collections.Generic.IList>? Type656 { get; set; } /// /// /// - public global::Braintrust.RunEvalMcpAuth2? Type657 { get; set; } + public global::Braintrust.AllOf? Type657 { get; set; } /// /// /// - public global::Braintrust.PostServiceTokenRequest? Type658 { get; set; } + public global::Braintrust.AllOf? Type658 { get; set; } /// /// /// - public global::Braintrust.PutServiceTokenRequest? Type659 { get; set; } + public global::Braintrust.AllOf? Type659 { get; set; } /// /// /// - public global::Braintrust.PostEnvVarRequest? Type660 { get; set; } + public global::System.Collections.Generic.Dictionary? Type660 { get; set; } /// /// /// - public global::Braintrust.PostEnvVarRequestObjectType? Type661 { get; set; } + public global::Braintrust.RunEvalMcpAuth2? Type661 { get; set; } /// /// /// - public global::Braintrust.PutEnvVarRequest? Type662 { get; set; } + public global::Braintrust.PostServiceTokenRequest? Type662 { get; set; } /// /// /// - public global::Braintrust.PutEnvVarRequestObjectType? Type663 { get; set; } + public global::Braintrust.PutServiceTokenRequest? Type663 { get; set; } /// /// /// - public global::Braintrust.PatchEnvVarIdRequest? Type664 { get; set; } + public global::Braintrust.PostEnvVarRequest? Type664 { get; set; } /// /// /// - public global::Braintrust.ProxycredentialsRequest? Type665 { get; set; } + public global::Braintrust.PostEnvVarRequestObjectType? Type665 { get; set; } /// /// /// - public global::Braintrust.ProxycredentialsRequestLogging? Type666 { get; set; } + public global::Braintrust.PutEnvVarRequest? Type666 { get; set; } /// /// /// - public global::Braintrust.AnyOf>>? Type667 { get; set; } + public global::Braintrust.PutEnvVarRequestObjectType? Type667 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type668 { get; set; } + public global::Braintrust.PatchEnvVarIdRequest? Type668 { get; set; } /// /// /// - public global::Braintrust.AllOf? Type669 { get; set; } + public global::Braintrust.ProxycredentialsRequest? Type669 { get; set; } /// /// /// - public global::Braintrust.AnyOf>? Type670 { get; set; } + public global::Braintrust.ProxycredentialsRequestLogging? Type670 { get; set; } /// /// /// - public global::Braintrust.GetProjectResponse? Type671 { get; set; } + public global::Braintrust.AnyOf>>? Type671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type672 { get; set; } + public global::System.Collections.Generic.IList>? Type672 { get; set; } /// /// /// - public global::Braintrust.GetExperimentResponse? Type673 { get; set; } + public global::Braintrust.AllOf? Type673 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type674 { get; set; } + public global::Braintrust.AnyOf>? Type674 { get; set; } /// /// /// - public global::Braintrust.GetDatasetResponse? Type675 { get; set; } + public global::Braintrust.GetProjectResponse? Type675 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type676 { get; set; } + public global::System.Collections.Generic.IList? Type676 { get; set; } /// /// /// - public global::Braintrust.GetPromptResponse? Type677 { get; set; } + public global::Braintrust.GetExperimentResponse? Type677 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type678 { get; set; } + public global::System.Collections.Generic.IList? Type678 { get; set; } /// /// /// - public global::Braintrust.GetRoleResponse? Type679 { get; set; } + public global::Braintrust.GetDatasetResponse? Type679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type680 { get; set; } + public global::System.Collections.Generic.IList? Type680 { get; set; } /// /// /// - public global::Braintrust.GetGroupResponse? Type681 { get; set; } + public global::Braintrust.GetPromptResponse? Type681 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type682 { get; set; } + public global::System.Collections.Generic.IList? Type682 { get; set; } /// /// /// - public global::Braintrust.GetAclResponse? Type683 { get; set; } + public global::Braintrust.GetRoleResponse? Type683 { get; set; } /// /// /// - public global::Braintrust.GetUserResponse? Type684 { get; set; } + public global::System.Collections.Generic.IList? Type684 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type685 { get; set; } + public global::Braintrust.GetGroupResponse? Type685 { get; set; } /// /// /// - public global::Braintrust.GetAgentResponse? Type686 { get; set; } + public global::System.Collections.Generic.IList? Type686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type687 { get; set; } + public global::Braintrust.GetAclResponse? Type687 { get; set; } /// /// /// - public global::Braintrust.GetProjectAutomationResponse? Type688 { get; set; } + public global::Braintrust.GetUserResponse? Type688 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type689 { get; set; } + public global::System.Collections.Generic.IList? Type689 { get; set; } /// /// /// - public global::Braintrust.GetProjectScoreResponse? Type690 { get; set; } + public global::Braintrust.GetAgentResponse? Type690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type691 { get; set; } + public global::System.Collections.Generic.IList? Type691 { get; set; } /// /// /// - public global::Braintrust.GetProjectTagResponse? Type692 { get; set; } + public global::Braintrust.GetProjectAutomationResponse? Type692 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type693 { get; set; } + public global::System.Collections.Generic.IList? Type693 { get; set; } /// /// /// - public global::Braintrust.GetSpanIframeResponse? Type694 { get; set; } + public global::Braintrust.GetProjectScoreResponse? Type694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type695 { get; set; } + public global::System.Collections.Generic.IList? Type695 { get; set; } /// /// /// - public global::Braintrust.GetFunctionResponse? Type696 { get; set; } + public global::Braintrust.GetProjectTagResponse? Type696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type697 { get; set; } + public global::System.Collections.Generic.IList? Type697 { get; set; } /// /// /// - public global::Braintrust.GetViewResponse? Type698 { get; set; } + public global::Braintrust.GetSpanIframeResponse? Type698 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type699 { get; set; } + public global::System.Collections.Generic.IList? Type699 { get; set; } /// /// /// - public global::Braintrust.GetOrganizationResponse? Type700 { get; set; } + public global::Braintrust.GetFunctionResponse? Type700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type701 { get; set; } + public global::System.Collections.Generic.IList? Type701 { get; set; } /// /// /// - public global::Braintrust.GetApiKeyResponse? Type702 { get; set; } + public global::Braintrust.GetViewResponse? Type702 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type703 { get; set; } + public global::System.Collections.Generic.IList? Type703 { get; set; } /// /// /// - public global::Braintrust.GetServiceTokenResponse? Type704 { get; set; } + public global::Braintrust.GetOrganizationResponse? Type704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type705 { get; set; } + public global::System.Collections.Generic.IList? Type705 { get; set; } /// /// /// - public global::Braintrust.GetAiSecretResponse? Type706 { get; set; } + public global::Braintrust.GetApiKeyResponse? Type706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type707 { get; set; } + public global::System.Collections.Generic.IList? Type707 { get; set; } /// /// /// - public global::Braintrust.GetEnvVarResponse? Type708 { get; set; } + public global::Braintrust.GetServiceTokenResponse? Type708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type709 { get; set; } + public global::System.Collections.Generic.IList? Type709 { get; set; } /// /// /// - public global::Braintrust.GetMcpServerResponse? Type710 { get; set; } + public global::Braintrust.GetAiSecretResponse? Type710 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type711 { get; set; } + public global::System.Collections.Generic.IList? Type711 { get; set; } /// /// /// - public global::Braintrust.GetDatasetSnapshotResponse? Type712 { get; set; } + public global::Braintrust.GetEnvVarResponse? Type712 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type713 { get; set; } + public global::System.Collections.Generic.IList? Type713 { get; set; } /// /// /// - public global::Braintrust.ListEnvironmentsResponse? Type714 { get; set; } + public global::Braintrust.GetMcpServerResponse? Type714 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type715 { get; set; } + public global::System.Collections.Generic.IList? Type715 { get; set; } /// /// /// - public global::Braintrust.ProxycredentialsResponse? Type716 { get; set; } + public global::Braintrust.GetDatasetSnapshotResponse? Type716 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type717 { get; set; } + /// + /// + /// + public global::Braintrust.ListEnvironmentsResponse? Type718 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type719 { get; set; } + /// + /// + /// + public global::Braintrust.ProxycredentialsResponse? Type720 { get; set; } /// /// diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.CreateProjectAutomation.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.CreateProjectAutomation.g.cs index 904faa7..973fa78 100644 --- a/src/libs/Braintrust/Generated/Braintrust.Models.CreateProjectAutomation.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.Models.CreateProjectAutomation.g.cs @@ -32,9 +32,9 @@ public sealed partial class CreateProjectAutomation /// The configuration for the automation rule /// [global::System.Text.Json.Serialization.JsonPropertyName("config")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Braintrust.JsonConverters.OneOfJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Braintrust.JsonConverters.OneOfJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Braintrust.OneOf Config { get; set; } + public required global::Braintrust.OneOf Config { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -63,7 +63,7 @@ public sealed partial class CreateProjectAutomation public CreateProjectAutomation( global::System.Guid projectId, string name, - global::Braintrust.OneOf config, + global::Braintrust.OneOf config, string? description) { this.ProjectId = projectId; diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.PatchProjectAutomation.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.PatchProjectAutomation.g.cs index 2a6d964..106b76a 100644 --- a/src/libs/Braintrust/Generated/Braintrust.Models.PatchProjectAutomation.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.Models.PatchProjectAutomation.g.cs @@ -24,8 +24,8 @@ public sealed partial class PatchProjectAutomation /// The configuration for the automation rule /// [global::System.Text.Json.Serialization.JsonPropertyName("config")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Braintrust.JsonConverters.OneOfJsonConverter))] - public global::Braintrust.OneOf? Config { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Braintrust.JsonConverters.OneOfJsonConverter))] + public global::Braintrust.OneOf? Config { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -51,7 +51,7 @@ public sealed partial class PatchProjectAutomation public PatchProjectAutomation( string? name, string? description, - global::Braintrust.OneOf? config) + global::Braintrust.OneOf? config) { this.Name = name; this.Description = description; diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.ProjectAutomation.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.ProjectAutomation.g.cs index 29cc009..198a18a 100644 --- a/src/libs/Braintrust/Generated/Braintrust.Models.ProjectAutomation.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.Models.ProjectAutomation.g.cs @@ -51,9 +51,9 @@ public sealed partial class ProjectAutomation /// The configuration for the automation rule /// [global::System.Text.Json.Serialization.JsonPropertyName("config")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Braintrust.JsonConverters.OneOfJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Braintrust.JsonConverters.OneOfJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Braintrust.OneOf Config { get; set; } + public required global::Braintrust.OneOf Config { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -92,7 +92,7 @@ public ProjectAutomation( global::System.Guid id, global::System.Guid projectId, string name, - global::Braintrust.OneOf config, + global::Braintrust.OneOf config, global::System.Guid? userId, global::System.DateTime? created, string? description) diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfig.Json.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfig.Json.g.cs new file mode 100644 index 0000000..3d5e3dd --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfig.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Braintrust +{ + public sealed partial class TopicDigestAutomationConfig + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Braintrust.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Braintrust.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Braintrust.TopicDigestAutomationConfig? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Braintrust.TopicDigestAutomationConfig), + jsonSerializerContext) as global::Braintrust.TopicDigestAutomationConfig; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Braintrust.TopicDigestAutomationConfig? FromJson( + string json) + { + return FromJson( + json, + global::Braintrust.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Braintrust.TopicDigestAutomationConfig? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Braintrust.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Braintrust.TopicDigestAutomationConfig), + jsonSerializerContext).ConfigureAwait(false)) as global::Braintrust.TopicDigestAutomationConfig; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Braintrust.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Braintrust.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfig.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfig.g.cs new file mode 100644 index 0000000..f928407 --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfig.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace Braintrust +{ + /// + /// + /// + public sealed partial class TopicDigestAutomationConfig + { + /// + /// The type of automation. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("event_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Braintrust.JsonConverters.TopicDigestAutomationConfigEventTypeJsonConverter))] + public global::Braintrust.TopicDigestAutomationConfigEventType EventType { get; set; } + + /// + /// Whether the automation is active or paused. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Braintrust.JsonConverters.AutomationStatusJsonConverter))] + public global::Braintrust.AutomationStatus? Status { get; set; } + + /// + /// How much recent history to include in each digest
+ /// Default Value: 86400 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("window_seconds")] + public int? WindowSeconds { get; set; } + + /// + /// Minutes after midnight UTC when the digest should be sent + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scheduled_time_minutes_utc")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ScheduledTimeMinutesUtc { get; set; } + + /// + /// The Slack action to take when the digest is sent + /// + [global::System.Text.Json.Serialization.JsonPropertyName("action")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Braintrust.TopicDigestAutomationConfigAction Action { get; set; } + + /// + /// Optional topic map function IDs to include in the digest + /// + [global::System.Text.Json.Serialization.JsonPropertyName("topic_map_function_ids")] + public global::System.Collections.Generic.IList? TopicMapFunctionIds { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Minutes after midnight UTC when the digest should be sent + /// + /// + /// The Slack action to take when the digest is sent + /// + /// + /// The type of automation. + /// + /// + /// Whether the automation is active or paused. + /// + /// + /// How much recent history to include in each digest
+ /// Default Value: 86400 + /// + /// + /// Optional topic map function IDs to include in the digest + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public TopicDigestAutomationConfig( + int scheduledTimeMinutesUtc, + global::Braintrust.TopicDigestAutomationConfigAction action, + global::Braintrust.TopicDigestAutomationConfigEventType eventType, + global::Braintrust.AutomationStatus? status, + int? windowSeconds, + global::System.Collections.Generic.IList? topicMapFunctionIds) + { + this.EventType = eventType; + this.Status = status; + this.WindowSeconds = windowSeconds; + this.ScheduledTimeMinutesUtc = scheduledTimeMinutesUtc; + this.Action = action ?? throw new global::System.ArgumentNullException(nameof(action)); + this.TopicMapFunctionIds = topicMapFunctionIds; + } + + /// + /// Initializes a new instance of the class. + /// + public TopicDigestAutomationConfig() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigAction.Json.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigAction.Json.g.cs new file mode 100644 index 0000000..44234c5 --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigAction.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Braintrust +{ + public sealed partial class TopicDigestAutomationConfigAction + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Braintrust.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Braintrust.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Braintrust.TopicDigestAutomationConfigAction? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Braintrust.TopicDigestAutomationConfigAction), + jsonSerializerContext) as global::Braintrust.TopicDigestAutomationConfigAction; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Braintrust.TopicDigestAutomationConfigAction? FromJson( + string json) + { + return FromJson( + json, + global::Braintrust.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Braintrust.TopicDigestAutomationConfigAction? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Braintrust.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Braintrust.TopicDigestAutomationConfigAction), + jsonSerializerContext).ConfigureAwait(false)) as global::Braintrust.TopicDigestAutomationConfigAction; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Braintrust.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Braintrust.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigAction.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigAction.g.cs new file mode 100644 index 0000000..2f0fb65 --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigAction.g.cs @@ -0,0 +1,82 @@ + +#nullable enable + +namespace Braintrust +{ + /// + /// The Slack action to take when the digest is sent + /// + public sealed partial class TopicDigestAutomationConfigAction + { + /// + /// The type of action to take + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Braintrust.JsonConverters.TopicDigestAutomationConfigActionTypeJsonConverter))] + public global::Braintrust.TopicDigestAutomationConfigActionType Type { get; set; } + + /// + /// The Slack workspace ID to post to + /// + [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string WorkspaceId { get; set; } + + /// + /// The Slack channel ID to post to + /// + [global::System.Text.Json.Serialization.JsonPropertyName("channel")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Channel { get; set; } + + /// + /// Custom message template for the alert + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message_template")] + public string? MessageTemplate { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The Slack workspace ID to post to + /// + /// + /// The Slack channel ID to post to + /// + /// + /// The type of action to take + /// + /// + /// Custom message template for the alert + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public TopicDigestAutomationConfigAction( + string workspaceId, + string channel, + global::Braintrust.TopicDigestAutomationConfigActionType type, + string? messageTemplate) + { + this.Type = type; + this.WorkspaceId = workspaceId ?? throw new global::System.ArgumentNullException(nameof(workspaceId)); + this.Channel = channel ?? throw new global::System.ArgumentNullException(nameof(channel)); + this.MessageTemplate = messageTemplate; + } + + /// + /// Initializes a new instance of the class. + /// + public TopicDigestAutomationConfigAction() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigActionType.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigActionType.g.cs new file mode 100644 index 0000000..b62a722 --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigActionType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Braintrust +{ + /// + /// The type of action to take + /// + public enum TopicDigestAutomationConfigActionType + { + /// + /// + /// + Slack, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class TopicDigestAutomationConfigActionTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this TopicDigestAutomationConfigActionType value) + { + return value switch + { + TopicDigestAutomationConfigActionType.Slack => "slack", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static TopicDigestAutomationConfigActionType? ToEnum(string value) + { + return value switch + { + "slack" => TopicDigestAutomationConfigActionType.Slack, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigEventType.g.cs b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigEventType.g.cs new file mode 100644 index 0000000..7a2fb83 --- /dev/null +++ b/src/libs/Braintrust/Generated/Braintrust.Models.TopicDigestAutomationConfigEventType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Braintrust +{ + /// + /// The type of automation. + /// + public enum TopicDigestAutomationConfigEventType + { + /// + /// + /// + TopicDigest, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class TopicDigestAutomationConfigEventTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this TopicDigestAutomationConfigEventType value) + { + return value switch + { + TopicDigestAutomationConfigEventType.TopicDigest => "topic_digest", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static TopicDigestAutomationConfigEventType? ToEnum(string value) + { + return value switch + { + "topic_digest" => TopicDigestAutomationConfigEventType.TopicDigest, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Braintrust/Generated/Braintrust.OneOf.6.Json.g.cs b/src/libs/Braintrust/Generated/Braintrust.OneOf.8.Json.g.cs similarity index 90% rename from src/libs/Braintrust/Generated/Braintrust.OneOf.6.Json.g.cs rename to src/libs/Braintrust/Generated/Braintrust.OneOf.8.Json.g.cs index 03992e4..d339288 100644 --- a/src/libs/Braintrust/Generated/Braintrust.OneOf.6.Json.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.OneOf.8.Json.g.cs @@ -2,7 +2,7 @@ namespace Braintrust { - public readonly partial struct OneOf + public readonly partial struct OneOf { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Braintrust.OneOf? FromJson( + public static global::Braintrust.OneOf? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Braintrust.OneOf), - jsonSerializerContext) as global::Braintrust.OneOf?; + typeof(global::Braintrust.OneOf), + jsonSerializerContext) as global::Braintrust.OneOf?; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Braintrust.OneOf? FromJson( + public static global::Braintrust.OneOf? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Braintrust.OneOf? FromJson( + public static global::Braintrust.OneOf? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Braintrust.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize>( + return global::System.Text.Json.JsonSerializer.Deserialize>( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Braintrust.OneOf), - jsonSerializerContext).ConfigureAwait(false)) as global::Braintrust.OneOf?; + typeof(global::Braintrust.OneOf), + jsonSerializerContext).ConfigureAwait(false)) as global::Braintrust.OneOf?; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Braintrust.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( + return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Braintrust/Generated/Braintrust.OneOf.6.g.cs b/src/libs/Braintrust/Generated/Braintrust.OneOf.8.g.cs similarity index 66% rename from src/libs/Braintrust/Generated/Braintrust.OneOf.6.g.cs rename to src/libs/Braintrust/Generated/Braintrust.OneOf.8.g.cs index 85db00a..2e72be9 100644 --- a/src/libs/Braintrust/Generated/Braintrust.OneOf.6.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.OneOf.8.g.cs @@ -6,7 +6,7 @@ namespace Braintrust /// /// /// - public readonly partial struct OneOf : global::System.IEquatable> + public readonly partial struct OneOf : global::System.IEquatable> { /// /// @@ -229,15 +229,89 @@ public bool TryPickValue6( public T6 PickValue6() => IsValue6 ? Value6! : throw new global::System.InvalidOperationException($"Expected union variant 'Value6' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T7? Value7 { get; init; } +#else + public T7? Value7 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value7))] +#endif + public bool IsValue7 => Value7 != null; + + /// + /// + /// + public bool TryPickValue7( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T7? value) + { + value = Value7; + return IsValue7; + } + + /// + /// + /// + public T7 PickValue7() => IsValue7 + ? Value7! + : throw new global::System.InvalidOperationException($"Expected union variant 'Value7' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T8? Value8 { get; init; } +#else + public T8? Value8 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value8))] +#endif + public bool IsValue8 => Value8 != null; + + /// + /// + /// + public bool TryPickValue8( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T8? value) + { + value = Value8; + return IsValue8; + } + + /// + /// + /// + public T8 PickValue8() => IsValue8 + ? Value8! + : throw new global::System.InvalidOperationException($"Expected union variant 'Value8' but the value was {ToString()}."); /// /// /// - public static implicit operator OneOf(T1 value) => new OneOf((T1?)value); + public static implicit operator OneOf(T1 value) => new OneOf((T1?)value); /// /// /// - public static implicit operator T1?(OneOf @this) => @this.Value1; + public static implicit operator T1?(OneOf @this) => @this.Value1; /// /// @@ -250,17 +324,17 @@ public OneOf(T1? value) /// /// /// - public static OneOf FromValue1(T1? value) => new OneOf(value); + public static OneOf FromValue1(T1? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T2 value) => new OneOf((T2?)value); + public static implicit operator OneOf(T2 value) => new OneOf((T2?)value); /// /// /// - public static implicit operator T2?(OneOf @this) => @this.Value2; + public static implicit operator T2?(OneOf @this) => @this.Value2; /// /// @@ -273,17 +347,17 @@ public OneOf(T2? value) /// /// /// - public static OneOf FromValue2(T2? value) => new OneOf(value); + public static OneOf FromValue2(T2? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T3 value) => new OneOf((T3?)value); + public static implicit operator OneOf(T3 value) => new OneOf((T3?)value); /// /// /// - public static implicit operator T3?(OneOf @this) => @this.Value3; + public static implicit operator T3?(OneOf @this) => @this.Value3; /// /// @@ -296,17 +370,17 @@ public OneOf(T3? value) /// /// /// - public static OneOf FromValue3(T3? value) => new OneOf(value); + public static OneOf FromValue3(T3? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T4 value) => new OneOf((T4?)value); + public static implicit operator OneOf(T4 value) => new OneOf((T4?)value); /// /// /// - public static implicit operator T4?(OneOf @this) => @this.Value4; + public static implicit operator T4?(OneOf @this) => @this.Value4; /// /// @@ -319,17 +393,17 @@ public OneOf(T4? value) /// /// /// - public static OneOf FromValue4(T4? value) => new OneOf(value); + public static OneOf FromValue4(T4? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T5 value) => new OneOf((T5?)value); + public static implicit operator OneOf(T5 value) => new OneOf((T5?)value); /// /// /// - public static implicit operator T5?(OneOf @this) => @this.Value5; + public static implicit operator T5?(OneOf @this) => @this.Value5; /// /// @@ -342,17 +416,17 @@ public OneOf(T5? value) /// /// /// - public static OneOf FromValue5(T5? value) => new OneOf(value); + public static OneOf FromValue5(T5? value) => new OneOf(value); /// /// /// - public static implicit operator OneOf(T6 value) => new OneOf((T6?)value); + public static implicit operator OneOf(T6 value) => new OneOf((T6?)value); /// /// /// - public static implicit operator T6?(OneOf @this) => @this.Value6; + public static implicit operator T6?(OneOf @this) => @this.Value6; /// /// @@ -365,7 +439,53 @@ public OneOf(T6? value) /// /// /// - public static OneOf FromValue6(T6? value) => new OneOf(value); + public static OneOf FromValue6(T6? value) => new OneOf(value); + + /// + /// + /// + public static implicit operator OneOf(T7 value) => new OneOf((T7?)value); + + /// + /// + /// + public static implicit operator T7?(OneOf @this) => @this.Value7; + + /// + /// + /// + public OneOf(T7? value) + { + Value7 = value; + } + + /// + /// + /// + public static OneOf FromValue7(T7? value) => new OneOf(value); + + /// + /// + /// + public static implicit operator OneOf(T8 value) => new OneOf((T8?)value); + + /// + /// + /// + public static implicit operator T8?(OneOf @this) => @this.Value8; + + /// + /// + /// + public OneOf(T8? value) + { + Value8 = value; + } + + /// + /// + /// + public static OneOf FromValue8(T8? value) => new OneOf(value); /// /// @@ -376,7 +496,9 @@ public OneOf( T3? value3, T4? value4, T5? value5, - T6? value6 + T6? value6, + T7? value7, + T8? value8 ) { Value1 = value1; @@ -385,12 +507,16 @@ public OneOf( Value4 = value4; Value5 = value5; Value6 = value6; + Value7 = value7; + Value8 = value8; } /// /// /// public object? Object => + Value8 as object ?? + Value7 as object ?? Value6 as object ?? Value5 as object ?? Value4 as object ?? @@ -408,7 +534,9 @@ Value1 as object Value3?.ToString() ?? Value4?.ToString() ?? Value5?.ToString() ?? - Value6?.ToString() + Value6?.ToString() ?? + Value7?.ToString() ?? + Value8?.ToString() ; /// @@ -416,7 +544,7 @@ Value1 as object /// public bool Validate() { - return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6; + return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8; } /// @@ -429,6 +557,8 @@ public bool Validate() global::System.Func? value4 = null, global::System.Func? value5 = null, global::System.Func? value6 = null, + global::System.Func? value7 = null, + global::System.Func? value8 = null, bool validate = true) { if (validate) @@ -460,6 +590,14 @@ public bool Validate() { return value6(Value6!); } + else if (IsValue7 && value7 != null) + { + return value7(Value7!); + } + else if (IsValue8 && value8 != null) + { + return value8(Value8!); + } return default(TResult); } @@ -479,6 +617,10 @@ public void Match( global::System.Action? value5 = null, global::System.Action? value6 = null, + + global::System.Action? value7 = null, + + global::System.Action? value8 = null, bool validate = true) { if (validate) @@ -510,6 +652,14 @@ public void Match( { value6?.Invoke(Value6!); } + else if (IsValue7) + { + value7?.Invoke(Value7!); + } + else if (IsValue8) + { + value8?.Invoke(Value8!); + } } /// @@ -522,6 +672,8 @@ public void Switch( global::System.Action? value4 = null, global::System.Action? value5 = null, global::System.Action? value6 = null, + global::System.Action? value7 = null, + global::System.Action? value8 = null, bool validate = true) { if (validate) @@ -553,6 +705,14 @@ public void Switch( { value6?.Invoke(Value6!); } + else if (IsValue7) + { + value7?.Invoke(Value7!); + } + else if (IsValue8) + { + value8?.Invoke(Value8!); + } } /// @@ -574,6 +734,10 @@ public override int GetHashCode() typeof(T5), Value6, typeof(T6), + Value7, + typeof(T7), + Value8, + typeof(T8), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -587,7 +751,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null /// /// /// - public bool Equals(OneOf other) + public bool Equals(OneOf other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && @@ -595,22 +759,24 @@ public bool Equals(OneOf other) global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value4, other.Value4) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value6, other.Value6) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value6, other.Value6) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value7, other.Value7) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value8, other.Value8) ; } /// /// /// - public static bool operator ==(OneOf obj1, OneOf obj2) + public static bool operator ==(OneOf obj1, OneOf obj2) { - return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); + return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); } /// /// /// - public static bool operator !=(OneOf obj1, OneOf obj2) + public static bool operator !=(OneOf obj1, OneOf obj2) { return !(obj1 == obj2); } @@ -620,7 +786,7 @@ public bool Equals(OneOf other) /// public override bool Equals(object? obj) { - return obj is OneOf o && Equals(o); + return obj is OneOf o && Equals(o); } } } diff --git a/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PatchProjectAutomationId.g.cs b/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PatchProjectAutomationId.g.cs index aca9faf..52d196d 100644 --- a/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PatchProjectAutomationId.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PatchProjectAutomationId.g.cs @@ -663,7 +663,7 @@ partial void ProcessPatchProjectAutomationIdResponseContent( global::System.Guid projectAutomationId, string? name = default, string? description = default, - global::Braintrust.OneOf? config = default, + global::Braintrust.OneOf? config = default, global::Braintrust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PostProjectAutomation.g.cs b/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PostProjectAutomation.g.cs index d3fccb3..4853313 100644 --- a/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PostProjectAutomation.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PostProjectAutomation.g.cs @@ -649,7 +649,7 @@ partial void ProcessPostProjectAutomationResponseContent( public async global::System.Threading.Tasks.Task PostProjectAutomationAsync( global::System.Guid projectId, string name, - global::Braintrust.OneOf config, + global::Braintrust.OneOf config, string? description = default, global::Braintrust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PutProjectAutomation.g.cs b/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PutProjectAutomation.g.cs index 03cf38f..13576d2 100644 --- a/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PutProjectAutomation.g.cs +++ b/src/libs/Braintrust/Generated/Braintrust.ProjectAutomationsClient.PutProjectAutomation.g.cs @@ -649,7 +649,7 @@ partial void ProcessPutProjectAutomationResponseContent( public async global::System.Threading.Tasks.Task PutProjectAutomationAsync( global::System.Guid projectId, string name, - global::Braintrust.OneOf config, + global::Braintrust.OneOf config, string? description = default, global::Braintrust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/Braintrust/openapi.yaml b/src/libs/Braintrust/openapi.yaml index 041dfc7..31e1b03 100644 --- a/src/libs/Braintrust/openapi.yaml +++ b/src/libs/Braintrust/openapi.yaml @@ -5589,6 +5589,77 @@ "topic_map_functions" ] }, + "TopicDigestAutomationConfig": { + "type": "object", + "properties": { + "event_type": { + "type": "string", + "enum": [ + "topic_digest" + ], + "description": "The type of automation." + }, + "status": { + "$ref": "#/components/schemas/AutomationStatus" + }, + "window_seconds": { + "type": "integer", + "minimum": 3600, + "maximum": 2592000, + "default": 86400, + "description": "How much recent history to include in each digest" + }, + "scheduled_time_minutes_utc": { + "type": "integer", + "minimum": 0, + "maximum": 1439, + "description": "Minutes after midnight UTC when the digest should be sent" + }, + "action": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "slack" + ], + "description": "The type of action to take" + }, + "workspace_id": { + "type": "string", + "description": "The Slack workspace ID to post to" + }, + "channel": { + "type": "string", + "description": "The Slack channel ID to post to" + }, + "message_template": { + "type": "string", + "description": "Custom message template for the alert" + } + }, + "required": [ + "type", + "workspace_id", + "channel" + ], + "description": "The Slack action to take when the digest is sent" + }, + "topic_map_function_ids": { + "type": "array", + "items": { + "type": "string" + }, + "maxItems": 10, + "description": "Optional topic map function IDs to include in the digest" + } + }, + "required": [ + "event_type", + "scheduled_time_minutes_utc", + "action" + ] + }, "ProjectAutomation": { "type": "object", "properties": { @@ -6034,6 +6105,9 @@ }, { "$ref": "#/components/schemas/TopicAutomationConfig" + }, + { + "$ref": "#/components/schemas/TopicDigestAutomationConfig" } ], "description": "The configuration for the automation rule" @@ -6474,6 +6548,9 @@ }, { "$ref": "#/components/schemas/TopicAutomationConfig" + }, + { + "$ref": "#/components/schemas/TopicDigestAutomationConfig" } ], "description": "The configuration for the automation rule" @@ -6910,6 +6987,9 @@ { "$ref": "#/components/schemas/TopicAutomationConfig" }, + { + "$ref": "#/components/schemas/TopicDigestAutomationConfig" + }, { "nullable": true }