diff --git a/src/libs/Braintrust/Generated/Braintrust.BraintrustClient.g.cs b/src/libs/Braintrust/Generated/Braintrust.BraintrustClient.g.cs
index 991dcc4..fafad29 100644
--- a/src/libs/Braintrust/Generated/Braintrust.BraintrustClient.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.BraintrustClient.g.cs
@@ -123,15 +123,6 @@ public sealed partial class BraintrustClient : global::Braintrust.IBraintrustCli
JsonSerializerContext = JsonSerializerContext,
};
- ///
- ///
- ///
- public EvalStatusPagesClient EvalStatusPages => new EvalStatusPagesClient(HttpClient, authorizations: Authorizations, options: Options)
- {
- ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
- };
-
///
///
///
diff --git a/src/libs/Braintrust/Generated/Braintrust.CorsClient.OptionsEvalStatusPage.g.cs b/src/libs/Braintrust/Generated/Braintrust.CorsClient.OptionsEvalStatusPage.g.cs
deleted file mode 100644
index a1789b3..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.CorsClient.OptionsEvalStatusPage.g.cs
+++ /dev/null
@@ -1,350 +0,0 @@
-
-#nullable enable
-
-namespace Braintrust
-{
- public partial class CorsClient
- {
- partial void PrepareOptionsEvalStatusPageArguments(
- global::System.Net.Http.HttpClient httpClient);
- partial void PrepareOptionsEvalStatusPageRequest(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpRequestMessage httpRequestMessage);
- partial void ProcessOptionsEvalStatusPageResponse(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage);
-
- ///
- /// Enable CORS (`/v1/eval_status_page`)
- /// Enable CORS
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task OptionsEvalStatusPageAsync(
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- PrepareArguments(
- client: HttpClient);
- PrepareOptionsEvalStatusPageArguments(
- httpClient: HttpClient);
-
- using var __timeoutCancellationTokenSource = global::Braintrust.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken);
- var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
- var __effectiveReadResponseAsString = global::Braintrust.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
- clientOptions: Options,
- requestOptions: requestOptions,
- fallbackValue: ReadResponseAsString);
- var __maxAttempts = global::Braintrust.AutoSDKRequestOptionsSupport.GetMaxAttempts(
- clientOptions: Options,
- requestOptions: requestOptions,
- supportsRetry: true);
-
- global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
- {
- var __pathBuilder = new global::Braintrust.PathBuilder(
- path: "/v1/eval_status_page",
- baseUri: HttpClient.BaseAddress);
- var __path = __pathBuilder.ToString();
- __path = global::Braintrust.AutoSDKRequestOptionsSupport.AppendQueryParameters(
- path: __path,
- clientParameters: Options.QueryParameters,
- requestParameters: requestOptions?.QueryParameters);
- var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Options,
- requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
-#if NET6_0_OR_GREATER
- __httpRequest.Version = global::System.Net.HttpVersion.Version11;
- __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
-#endif
- global::Braintrust.AutoSDKRequestOptionsSupport.ApplyHeaders(
- request: __httpRequest,
- clientHeaders: Options.Headers,
- requestHeaders: requestOptions?.Headers);
-
- PrepareRequest(
- client: HttpClient,
- request: __httpRequest);
- PrepareOptionsEvalStatusPageRequest(
- httpClient: HttpClient,
- httpRequestMessage: __httpRequest);
-
- return __httpRequest;
- }
-
- global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
- global::System.Net.Http.HttpResponseMessage? __response = null;
- var __attemptNumber = 0;
- try
- {
- for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
- {
- __attemptNumber = __attempt;
- __httpRequest = __CreateHttpRequest();
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "OptionsEvalStatusPage",
- methodName: "OptionsEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "OPTIONS",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- try
- {
- __response = await HttpClient.SendAsync(
- request: __httpRequest,
- completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- }
- catch (global::System.Net.Http.HttpRequestException __exception)
- {
- var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "OptionsEvalStatusPage",
- methodName: "OptionsEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "OPTIONS",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: __exception,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: __willRetry,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- if (!__willRetry)
- {
- throw;
- }
-
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- if (__response != null &&
- __attempt < __maxAttempts &&
- global::Braintrust.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "OptionsEvalStatusPage",
- methodName: "OptionsEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "OPTIONS",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: true,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- __response.Dispose();
- __response = null;
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- break;
- }
-
- if (__response == null)
- {
- throw new global::System.InvalidOperationException("No response received.");
- }
-
- using (__response)
- {
-
- ProcessResponse(
- client: HttpClient,
- response: __response);
- ProcessOptionsEvalStatusPageResponse(
- httpClient: HttpClient,
- httpResponseMessage: __response);
- if (__response.IsSuccessStatusCode)
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "OptionsEvalStatusPage",
- methodName: "OptionsEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "OPTIONS",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- else
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "OptionsEvalStatusPage",
- methodName: "OptionsEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "OPTIONS",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- // The request was unacceptable, often due to missing a required parameter
- if ((int)__response.StatusCode == 400)
- {
- string? __content_400 = null;
- global::System.Exception? __exception_400 = null;
- string? __value_400 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_400 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_400,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_400,
- ResponseObject = __value_400,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
-
- if (__effectiveReadResponseAsString)
- {
- var __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- ProcessResponseContent(
- client: HttpClient,
- response: __response,
- content: ref __content);
-
- try
- {
- __response.EnsureSuccessStatusCode();
-
- }
- catch (global::System.Exception __ex)
- {
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
- else
- {
- try
- {
- __response.EnsureSuccessStatusCode();
- }
- catch (global::System.Exception __ex)
- {
- string? __content = null;
- try
- {
- __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
- }
- catch (global::System.Exception)
- {
- }
-
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
-
- }
- }
- finally
- {
- __httpRequest?.Dispose();
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.CorsClient.OptionsEvalStatusPageId.g.cs b/src/libs/Braintrust/Generated/Braintrust.CorsClient.OptionsEvalStatusPageId.g.cs
deleted file mode 100644
index 0991609..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.CorsClient.OptionsEvalStatusPageId.g.cs
+++ /dev/null
@@ -1,358 +0,0 @@
-
-#nullable enable
-
-namespace Braintrust
-{
- public partial class CorsClient
- {
- partial void PrepareOptionsEvalStatusPageIdArguments(
- global::System.Net.Http.HttpClient httpClient,
- ref global::System.Guid evalStatusPageId);
- partial void PrepareOptionsEvalStatusPageIdRequest(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid evalStatusPageId);
- partial void ProcessOptionsEvalStatusPageIdResponse(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage);
-
- ///
- /// Enable CORS (`/v1/eval_status_page/{eval_status_page_id}`)
- /// Enable CORS
- ///
- ///
- /// EvalStatusPage id
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task OptionsEvalStatusPageIdAsync(
- global::System.Guid evalStatusPageId,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- PrepareArguments(
- client: HttpClient);
- PrepareOptionsEvalStatusPageIdArguments(
- httpClient: HttpClient,
- evalStatusPageId: ref evalStatusPageId);
-
- using var __timeoutCancellationTokenSource = global::Braintrust.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken);
- var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
- var __effectiveReadResponseAsString = global::Braintrust.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
- clientOptions: Options,
- requestOptions: requestOptions,
- fallbackValue: ReadResponseAsString);
- var __maxAttempts = global::Braintrust.AutoSDKRequestOptionsSupport.GetMaxAttempts(
- clientOptions: Options,
- requestOptions: requestOptions,
- supportsRetry: true);
-
- global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
- {
- var __pathBuilder = new global::Braintrust.PathBuilder(
- path: $"/v1/eval_status_page/{evalStatusPageId}",
- baseUri: HttpClient.BaseAddress);
- var __path = __pathBuilder.ToString();
- __path = global::Braintrust.AutoSDKRequestOptionsSupport.AppendQueryParameters(
- path: __path,
- clientParameters: Options.QueryParameters,
- requestParameters: requestOptions?.QueryParameters);
- var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Options,
- requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
-#if NET6_0_OR_GREATER
- __httpRequest.Version = global::System.Net.HttpVersion.Version11;
- __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
-#endif
- global::Braintrust.AutoSDKRequestOptionsSupport.ApplyHeaders(
- request: __httpRequest,
- clientHeaders: Options.Headers,
- requestHeaders: requestOptions?.Headers);
-
- PrepareRequest(
- client: HttpClient,
- request: __httpRequest);
- PrepareOptionsEvalStatusPageIdRequest(
- httpClient: HttpClient,
- httpRequestMessage: __httpRequest,
- evalStatusPageId: evalStatusPageId);
-
- return __httpRequest;
- }
-
- global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
- global::System.Net.Http.HttpResponseMessage? __response = null;
- var __attemptNumber = 0;
- try
- {
- for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
- {
- __attemptNumber = __attempt;
- __httpRequest = __CreateHttpRequest();
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "OptionsEvalStatusPageId",
- methodName: "OptionsEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "OPTIONS",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- try
- {
- __response = await HttpClient.SendAsync(
- request: __httpRequest,
- completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- }
- catch (global::System.Net.Http.HttpRequestException __exception)
- {
- var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "OptionsEvalStatusPageId",
- methodName: "OptionsEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "OPTIONS",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: __exception,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: __willRetry,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- if (!__willRetry)
- {
- throw;
- }
-
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- if (__response != null &&
- __attempt < __maxAttempts &&
- global::Braintrust.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "OptionsEvalStatusPageId",
- methodName: "OptionsEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "OPTIONS",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: true,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- __response.Dispose();
- __response = null;
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- break;
- }
-
- if (__response == null)
- {
- throw new global::System.InvalidOperationException("No response received.");
- }
-
- using (__response)
- {
-
- ProcessResponse(
- client: HttpClient,
- response: __response);
- ProcessOptionsEvalStatusPageIdResponse(
- httpClient: HttpClient,
- httpResponseMessage: __response);
- if (__response.IsSuccessStatusCode)
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "OptionsEvalStatusPageId",
- methodName: "OptionsEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "OPTIONS",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- else
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "OptionsEvalStatusPageId",
- methodName: "OptionsEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "OPTIONS",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- // The request was unacceptable, often due to missing a required parameter
- if ((int)__response.StatusCode == 400)
- {
- string? __content_400 = null;
- global::System.Exception? __exception_400 = null;
- string? __value_400 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_400 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_400,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_400,
- ResponseObject = __value_400,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
-
- if (__effectiveReadResponseAsString)
- {
- var __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- ProcessResponseContent(
- client: HttpClient,
- response: __response,
- content: ref __content);
-
- try
- {
- __response.EnsureSuccessStatusCode();
-
- }
- catch (global::System.Exception __ex)
- {
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
- else
- {
- try
- {
- __response.EnsureSuccessStatusCode();
- }
- catch (global::System.Exception __ex)
- {
- string? __content = null;
- try
- {
- __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
- }
- catch (global::System.Exception)
- {
- }
-
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
-
- }
- }
- finally
- {
- __httpRequest?.Dispose();
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.DeleteEvalStatusPageId.g.cs b/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.DeleteEvalStatusPageId.g.cs
deleted file mode 100644
index 290db58..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.DeleteEvalStatusPageId.g.cs
+++ /dev/null
@@ -1,583 +0,0 @@
-
-#nullable enable
-
-namespace Braintrust
-{
- public partial class EvalStatusPagesClient
- {
-
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_DeleteEvalStatusPageIdSecurityRequirement0 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- { new global::Braintrust.EndPointAuthorizationRequirement
- {
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
- },
- },
- };
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_DeleteEvalStatusPageIdSecurityRequirement1 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- {
- },
- };
- private static readonly global::Braintrust.EndPointSecurityRequirement[] s_DeleteEvalStatusPageIdSecurityRequirements =
- new global::Braintrust.EndPointSecurityRequirement[]
- { s_DeleteEvalStatusPageIdSecurityRequirement0,
- s_DeleteEvalStatusPageIdSecurityRequirement1,
- };
- partial void PrepareDeleteEvalStatusPageIdArguments(
- global::System.Net.Http.HttpClient httpClient,
- ref global::System.Guid evalStatusPageId);
- partial void PrepareDeleteEvalStatusPageIdRequest(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid evalStatusPageId);
- partial void ProcessDeleteEvalStatusPageIdResponse(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage);
-
- partial void ProcessDeleteEvalStatusPageIdResponseContent(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage,
- ref string content);
-
- ///
- /// Delete eval_status_page
- /// Delete a eval_status_page object by its id
- ///
- ///
- /// EvalStatusPage id
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task DeleteEvalStatusPageIdAsync(
- global::System.Guid evalStatusPageId,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- PrepareArguments(
- client: HttpClient);
- PrepareDeleteEvalStatusPageIdArguments(
- httpClient: HttpClient,
- evalStatusPageId: ref evalStatusPageId);
-
-
- var __authorizations = global::Braintrust.EndPointSecurityResolver.ResolveAuthorizations(
- availableAuthorizations: Authorizations,
- securityRequirements: s_DeleteEvalStatusPageIdSecurityRequirements,
- operationName: "DeleteEvalStatusPageIdAsync");
-
- using var __timeoutCancellationTokenSource = global::Braintrust.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken);
- var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
- var __effectiveReadResponseAsString = global::Braintrust.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
- clientOptions: Options,
- requestOptions: requestOptions,
- fallbackValue: ReadResponseAsString);
- var __maxAttempts = global::Braintrust.AutoSDKRequestOptionsSupport.GetMaxAttempts(
- clientOptions: Options,
- requestOptions: requestOptions,
- supportsRetry: true);
-
- global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
- {
- var __pathBuilder = new global::Braintrust.PathBuilder(
- path: $"/v1/eval_status_page/{evalStatusPageId}",
- baseUri: HttpClient.BaseAddress);
- var __path = __pathBuilder.ToString();
- __path = global::Braintrust.AutoSDKRequestOptionsSupport.AppendQueryParameters(
- path: __path,
- clientParameters: Options.QueryParameters,
- requestParameters: requestOptions?.QueryParameters);
- var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Delete,
- requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
-#if NET6_0_OR_GREATER
- __httpRequest.Version = global::System.Net.HttpVersion.Version11;
- __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
-#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
- global::Braintrust.AutoSDKRequestOptionsSupport.ApplyHeaders(
- request: __httpRequest,
- clientHeaders: Options.Headers,
- requestHeaders: requestOptions?.Headers);
-
- PrepareRequest(
- client: HttpClient,
- request: __httpRequest);
- PrepareDeleteEvalStatusPageIdRequest(
- httpClient: HttpClient,
- httpRequestMessage: __httpRequest,
- evalStatusPageId: evalStatusPageId);
-
- return __httpRequest;
- }
-
- global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
- global::System.Net.Http.HttpResponseMessage? __response = null;
- var __attemptNumber = 0;
- try
- {
- for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
- {
- __attemptNumber = __attempt;
- __httpRequest = __CreateHttpRequest();
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "DeleteEvalStatusPageId",
- methodName: "DeleteEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "DELETE",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- try
- {
- __response = await HttpClient.SendAsync(
- request: __httpRequest,
- completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- }
- catch (global::System.Net.Http.HttpRequestException __exception)
- {
- var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "DeleteEvalStatusPageId",
- methodName: "DeleteEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "DELETE",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: __exception,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: __willRetry,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- if (!__willRetry)
- {
- throw;
- }
-
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- if (__response != null &&
- __attempt < __maxAttempts &&
- global::Braintrust.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "DeleteEvalStatusPageId",
- methodName: "DeleteEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "DELETE",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: true,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- __response.Dispose();
- __response = null;
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- break;
- }
-
- if (__response == null)
- {
- throw new global::System.InvalidOperationException("No response received.");
- }
-
- using (__response)
- {
-
- ProcessResponse(
- client: HttpClient,
- response: __response);
- ProcessDeleteEvalStatusPageIdResponse(
- httpClient: HttpClient,
- httpResponseMessage: __response);
- if (__response.IsSuccessStatusCode)
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "DeleteEvalStatusPageId",
- methodName: "DeleteEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "DELETE",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- else
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "DeleteEvalStatusPageId",
- methodName: "DeleteEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "DELETE",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- // The request was unacceptable, often due to missing a required parameter
- if ((int)__response.StatusCode == 400)
- {
- string? __content_400 = null;
- global::System.Exception? __exception_400 = null;
- string? __value_400 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_400 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_400,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_400,
- ResponseObject = __value_400,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // No valid API key provided
- if ((int)__response.StatusCode == 401)
- {
- string? __content_401 = null;
- global::System.Exception? __exception_401 = null;
- string? __value_401 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_401 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_401,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_401,
- ResponseObject = __value_401,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // The API key doesn’t have permissions to perform the request
- if ((int)__response.StatusCode == 403)
- {
- string? __content_403 = null;
- global::System.Exception? __exception_403 = null;
- string? __value_403 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_403 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_403,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_403,
- ResponseObject = __value_403,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Too many requests hit the API too quickly. We recommend an exponential backoff of your requests
- if ((int)__response.StatusCode == 429)
- {
- string? __content_429 = null;
- global::System.Exception? __exception_429 = null;
- string? __value_429 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_429 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_429 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_429,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_429,
- ResponseObject = __value_429,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Something went wrong on Braintrust's end. (These are rare.)
- if ((int)__response.StatusCode == 500)
- {
- string? __content_500 = null;
- global::System.Exception? __exception_500 = null;
- string? __value_500 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_500 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_500,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_500,
- ResponseObject = __value_500,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
-
- if (__effectiveReadResponseAsString)
- {
- var __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- ProcessResponseContent(
- client: HttpClient,
- response: __response,
- content: ref __content);
- ProcessDeleteEvalStatusPageIdResponseContent(
- httpClient: HttpClient,
- httpResponseMessage: __response,
- content: ref __content);
-
- try
- {
- __response.EnsureSuccessStatusCode();
-
- return
- global::Braintrust.EvalStatusPage.FromJson(__content, JsonSerializerContext) ??
- throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
- }
- catch (global::System.Exception __ex)
- {
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
- else
- {
- try
- {
- __response.EnsureSuccessStatusCode();
- using var __content = await __response.Content.ReadAsStreamAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- return
- await global::Braintrust.EvalStatusPage.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
- throw new global::System.InvalidOperationException("Response deserialization failed.");
- }
- catch (global::System.Exception __ex)
- {
- string? __content = null;
- try
- {
- __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
- }
- catch (global::System.Exception)
- {
- }
-
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
-
- }
- }
- finally
- {
- __httpRequest?.Dispose();
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.GetEvalStatusPage.g.cs b/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.GetEvalStatusPage.g.cs
deleted file mode 100644
index 1f39ee8..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.GetEvalStatusPage.g.cs
+++ /dev/null
@@ -1,633 +0,0 @@
-
-#nullable enable
-
-namespace Braintrust
-{
- public partial class EvalStatusPagesClient
- {
-
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_GetEvalStatusPageSecurityRequirement0 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- { new global::Braintrust.EndPointAuthorizationRequirement
- {
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
- },
- },
- };
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_GetEvalStatusPageSecurityRequirement1 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- {
- },
- };
- private static readonly global::Braintrust.EndPointSecurityRequirement[] s_GetEvalStatusPageSecurityRequirements =
- new global::Braintrust.EndPointSecurityRequirement[]
- { s_GetEvalStatusPageSecurityRequirement0,
- s_GetEvalStatusPageSecurityRequirement1,
- };
- partial void PrepareGetEvalStatusPageArguments(
- global::System.Net.Http.HttpClient httpClient,
- ref int? limit,
- ref global::System.Guid? startingAfter,
- ref global::System.Guid? endingBefore,
- ref global::Braintrust.Ids? ids,
- ref string? evalStatusPageName,
- ref string? orgName);
- partial void PrepareGetEvalStatusPageRequest(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- int? limit,
- global::System.Guid? startingAfter,
- global::System.Guid? endingBefore,
- global::Braintrust.Ids? ids,
- string? evalStatusPageName,
- string? orgName);
- partial void ProcessGetEvalStatusPageResponse(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage);
-
- partial void ProcessGetEvalStatusPageResponseContent(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage,
- ref string content);
-
- ///
- /// List eval_status_pages
- /// List out all eval_status_pages. The eval_status_pages are sorted by creation date, with the most recently-created eval_status_pages coming first
- ///
- ///
- /// Limit the number of objects to return
- ///
- ///
- /// Pagination cursor id.
- /// For example, if the final item in the last page you fetched had an id of `foo`, pass `starting_after=foo` to fetch the next page. Note: you may only pass one of `starting_after` and `ending_before`
- ///
- ///
- /// Pagination cursor id.
- /// For example, if the initial item in the last page you fetched had an id of `foo`, pass `ending_before=foo` to fetch the previous page. Note: you may only pass one of `starting_after` and `ending_before`
- ///
- ///
- /// Filter search results to a particular set of object IDs. To specify a list of IDs, include the query param multiple times
- ///
- ///
- /// Name of the eval_status_page to search for
- ///
- ///
- /// Filter search results to within a particular organization
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task GetEvalStatusPageAsync(
- int? limit = default,
- global::System.Guid? startingAfter = default,
- global::System.Guid? endingBefore = default,
- global::Braintrust.Ids? ids = default,
- string? evalStatusPageName = default,
- string? orgName = default,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- PrepareArguments(
- client: HttpClient);
- PrepareGetEvalStatusPageArguments(
- httpClient: HttpClient,
- limit: ref limit,
- startingAfter: ref startingAfter,
- endingBefore: ref endingBefore,
- ids: ref ids,
- evalStatusPageName: ref evalStatusPageName,
- orgName: ref orgName);
-
-
- var __authorizations = global::Braintrust.EndPointSecurityResolver.ResolveAuthorizations(
- availableAuthorizations: Authorizations,
- securityRequirements: s_GetEvalStatusPageSecurityRequirements,
- operationName: "GetEvalStatusPageAsync");
-
- using var __timeoutCancellationTokenSource = global::Braintrust.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken);
- var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
- var __effectiveReadResponseAsString = global::Braintrust.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
- clientOptions: Options,
- requestOptions: requestOptions,
- fallbackValue: ReadResponseAsString);
- var __maxAttempts = global::Braintrust.AutoSDKRequestOptionsSupport.GetMaxAttempts(
- clientOptions: Options,
- requestOptions: requestOptions,
- supportsRetry: true);
-
- global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
- {
- var __pathBuilder = new global::Braintrust.PathBuilder(
- path: "/v1/eval_status_page",
- baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("limit", limit?.ToString())
- .AddOptionalParameter("starting_after", startingAfter?.ToString())
- .AddOptionalParameter("ending_before", endingBefore?.ToString())
- .AddOptionalParameter("ids", ids?.ToString())
- .AddOptionalParameter("eval_status_page_name", evalStatusPageName)
- .AddOptionalParameter("org_name", orgName)
- ;
- var __path = __pathBuilder.ToString();
- __path = global::Braintrust.AutoSDKRequestOptionsSupport.AppendQueryParameters(
- path: __path,
- clientParameters: Options.QueryParameters,
- requestParameters: requestOptions?.QueryParameters);
- var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Get,
- requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
-#if NET6_0_OR_GREATER
- __httpRequest.Version = global::System.Net.HttpVersion.Version11;
- __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
-#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
- global::Braintrust.AutoSDKRequestOptionsSupport.ApplyHeaders(
- request: __httpRequest,
- clientHeaders: Options.Headers,
- requestHeaders: requestOptions?.Headers);
-
- PrepareRequest(
- client: HttpClient,
- request: __httpRequest);
- PrepareGetEvalStatusPageRequest(
- httpClient: HttpClient,
- httpRequestMessage: __httpRequest,
- limit: limit,
- startingAfter: startingAfter,
- endingBefore: endingBefore,
- ids: ids,
- evalStatusPageName: evalStatusPageName,
- orgName: orgName);
-
- return __httpRequest;
- }
-
- global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
- global::System.Net.Http.HttpResponseMessage? __response = null;
- var __attemptNumber = 0;
- try
- {
- for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
- {
- __attemptNumber = __attempt;
- __httpRequest = __CreateHttpRequest();
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "GetEvalStatusPage",
- methodName: "GetEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "GET",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- try
- {
- __response = await HttpClient.SendAsync(
- request: __httpRequest,
- completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- }
- catch (global::System.Net.Http.HttpRequestException __exception)
- {
- var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "GetEvalStatusPage",
- methodName: "GetEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "GET",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: __exception,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: __willRetry,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- if (!__willRetry)
- {
- throw;
- }
-
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- if (__response != null &&
- __attempt < __maxAttempts &&
- global::Braintrust.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "GetEvalStatusPage",
- methodName: "GetEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "GET",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: true,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- __response.Dispose();
- __response = null;
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- break;
- }
-
- if (__response == null)
- {
- throw new global::System.InvalidOperationException("No response received.");
- }
-
- using (__response)
- {
-
- ProcessResponse(
- client: HttpClient,
- response: __response);
- ProcessGetEvalStatusPageResponse(
- httpClient: HttpClient,
- httpResponseMessage: __response);
- if (__response.IsSuccessStatusCode)
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "GetEvalStatusPage",
- methodName: "GetEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "GET",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- else
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "GetEvalStatusPage",
- methodName: "GetEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "GET",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- // The request was unacceptable, often due to missing a required parameter
- if ((int)__response.StatusCode == 400)
- {
- string? __content_400 = null;
- global::System.Exception? __exception_400 = null;
- string? __value_400 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_400 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_400,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_400,
- ResponseObject = __value_400,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // No valid API key provided
- if ((int)__response.StatusCode == 401)
- {
- string? __content_401 = null;
- global::System.Exception? __exception_401 = null;
- string? __value_401 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_401 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_401,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_401,
- ResponseObject = __value_401,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // The API key doesn’t have permissions to perform the request
- if ((int)__response.StatusCode == 403)
- {
- string? __content_403 = null;
- global::System.Exception? __exception_403 = null;
- string? __value_403 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_403 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_403,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_403,
- ResponseObject = __value_403,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Too many requests hit the API too quickly. We recommend an exponential backoff of your requests
- if ((int)__response.StatusCode == 429)
- {
- string? __content_429 = null;
- global::System.Exception? __exception_429 = null;
- string? __value_429 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_429 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_429 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_429,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_429,
- ResponseObject = __value_429,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Something went wrong on Braintrust's end. (These are rare.)
- if ((int)__response.StatusCode == 500)
- {
- string? __content_500 = null;
- global::System.Exception? __exception_500 = null;
- string? __value_500 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_500 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_500,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_500,
- ResponseObject = __value_500,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
-
- if (__effectiveReadResponseAsString)
- {
- var __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- ProcessResponseContent(
- client: HttpClient,
- response: __response,
- content: ref __content);
- ProcessGetEvalStatusPageResponseContent(
- httpClient: HttpClient,
- httpResponseMessage: __response,
- content: ref __content);
-
- try
- {
- __response.EnsureSuccessStatusCode();
-
- return
- global::Braintrust.GetEvalStatusPageResponse.FromJson(__content, JsonSerializerContext) ??
- throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
- }
- catch (global::System.Exception __ex)
- {
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
- else
- {
- try
- {
- __response.EnsureSuccessStatusCode();
- using var __content = await __response.Content.ReadAsStreamAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- return
- await global::Braintrust.GetEvalStatusPageResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
- throw new global::System.InvalidOperationException("Response deserialization failed.");
- }
- catch (global::System.Exception __ex)
- {
- string? __content = null;
- try
- {
- __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
- }
- catch (global::System.Exception)
- {
- }
-
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
-
- }
- }
- finally
- {
- __httpRequest?.Dispose();
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.GetEvalStatusPageId.g.cs b/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.GetEvalStatusPageId.g.cs
deleted file mode 100644
index ade81d4..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.GetEvalStatusPageId.g.cs
+++ /dev/null
@@ -1,583 +0,0 @@
-
-#nullable enable
-
-namespace Braintrust
-{
- public partial class EvalStatusPagesClient
- {
-
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_GetEvalStatusPageIdSecurityRequirement0 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- { new global::Braintrust.EndPointAuthorizationRequirement
- {
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
- },
- },
- };
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_GetEvalStatusPageIdSecurityRequirement1 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- {
- },
- };
- private static readonly global::Braintrust.EndPointSecurityRequirement[] s_GetEvalStatusPageIdSecurityRequirements =
- new global::Braintrust.EndPointSecurityRequirement[]
- { s_GetEvalStatusPageIdSecurityRequirement0,
- s_GetEvalStatusPageIdSecurityRequirement1,
- };
- partial void PrepareGetEvalStatusPageIdArguments(
- global::System.Net.Http.HttpClient httpClient,
- ref global::System.Guid evalStatusPageId);
- partial void PrepareGetEvalStatusPageIdRequest(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid evalStatusPageId);
- partial void ProcessGetEvalStatusPageIdResponse(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage);
-
- partial void ProcessGetEvalStatusPageIdResponseContent(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage,
- ref string content);
-
- ///
- /// Get eval_status_page
- /// Get a eval_status_page object by its id
- ///
- ///
- /// EvalStatusPage id
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task GetEvalStatusPageIdAsync(
- global::System.Guid evalStatusPageId,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- PrepareArguments(
- client: HttpClient);
- PrepareGetEvalStatusPageIdArguments(
- httpClient: HttpClient,
- evalStatusPageId: ref evalStatusPageId);
-
-
- var __authorizations = global::Braintrust.EndPointSecurityResolver.ResolveAuthorizations(
- availableAuthorizations: Authorizations,
- securityRequirements: s_GetEvalStatusPageIdSecurityRequirements,
- operationName: "GetEvalStatusPageIdAsync");
-
- using var __timeoutCancellationTokenSource = global::Braintrust.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken);
- var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
- var __effectiveReadResponseAsString = global::Braintrust.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
- clientOptions: Options,
- requestOptions: requestOptions,
- fallbackValue: ReadResponseAsString);
- var __maxAttempts = global::Braintrust.AutoSDKRequestOptionsSupport.GetMaxAttempts(
- clientOptions: Options,
- requestOptions: requestOptions,
- supportsRetry: true);
-
- global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
- {
- var __pathBuilder = new global::Braintrust.PathBuilder(
- path: $"/v1/eval_status_page/{evalStatusPageId}",
- baseUri: HttpClient.BaseAddress);
- var __path = __pathBuilder.ToString();
- __path = global::Braintrust.AutoSDKRequestOptionsSupport.AppendQueryParameters(
- path: __path,
- clientParameters: Options.QueryParameters,
- requestParameters: requestOptions?.QueryParameters);
- var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Get,
- requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
-#if NET6_0_OR_GREATER
- __httpRequest.Version = global::System.Net.HttpVersion.Version11;
- __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
-#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
- global::Braintrust.AutoSDKRequestOptionsSupport.ApplyHeaders(
- request: __httpRequest,
- clientHeaders: Options.Headers,
- requestHeaders: requestOptions?.Headers);
-
- PrepareRequest(
- client: HttpClient,
- request: __httpRequest);
- PrepareGetEvalStatusPageIdRequest(
- httpClient: HttpClient,
- httpRequestMessage: __httpRequest,
- evalStatusPageId: evalStatusPageId);
-
- return __httpRequest;
- }
-
- global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
- global::System.Net.Http.HttpResponseMessage? __response = null;
- var __attemptNumber = 0;
- try
- {
- for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
- {
- __attemptNumber = __attempt;
- __httpRequest = __CreateHttpRequest();
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "GetEvalStatusPageId",
- methodName: "GetEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "GET",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- try
- {
- __response = await HttpClient.SendAsync(
- request: __httpRequest,
- completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- }
- catch (global::System.Net.Http.HttpRequestException __exception)
- {
- var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "GetEvalStatusPageId",
- methodName: "GetEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "GET",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: __exception,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: __willRetry,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- if (!__willRetry)
- {
- throw;
- }
-
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- if (__response != null &&
- __attempt < __maxAttempts &&
- global::Braintrust.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "GetEvalStatusPageId",
- methodName: "GetEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "GET",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: true,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- __response.Dispose();
- __response = null;
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- break;
- }
-
- if (__response == null)
- {
- throw new global::System.InvalidOperationException("No response received.");
- }
-
- using (__response)
- {
-
- ProcessResponse(
- client: HttpClient,
- response: __response);
- ProcessGetEvalStatusPageIdResponse(
- httpClient: HttpClient,
- httpResponseMessage: __response);
- if (__response.IsSuccessStatusCode)
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "GetEvalStatusPageId",
- methodName: "GetEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "GET",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- else
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "GetEvalStatusPageId",
- methodName: "GetEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "GET",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- // The request was unacceptable, often due to missing a required parameter
- if ((int)__response.StatusCode == 400)
- {
- string? __content_400 = null;
- global::System.Exception? __exception_400 = null;
- string? __value_400 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_400 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_400,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_400,
- ResponseObject = __value_400,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // No valid API key provided
- if ((int)__response.StatusCode == 401)
- {
- string? __content_401 = null;
- global::System.Exception? __exception_401 = null;
- string? __value_401 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_401 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_401,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_401,
- ResponseObject = __value_401,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // The API key doesn’t have permissions to perform the request
- if ((int)__response.StatusCode == 403)
- {
- string? __content_403 = null;
- global::System.Exception? __exception_403 = null;
- string? __value_403 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_403 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_403,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_403,
- ResponseObject = __value_403,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Too many requests hit the API too quickly. We recommend an exponential backoff of your requests
- if ((int)__response.StatusCode == 429)
- {
- string? __content_429 = null;
- global::System.Exception? __exception_429 = null;
- string? __value_429 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_429 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_429 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_429,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_429,
- ResponseObject = __value_429,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Something went wrong on Braintrust's end. (These are rare.)
- if ((int)__response.StatusCode == 500)
- {
- string? __content_500 = null;
- global::System.Exception? __exception_500 = null;
- string? __value_500 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_500 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_500,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_500,
- ResponseObject = __value_500,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
-
- if (__effectiveReadResponseAsString)
- {
- var __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- ProcessResponseContent(
- client: HttpClient,
- response: __response,
- content: ref __content);
- ProcessGetEvalStatusPageIdResponseContent(
- httpClient: HttpClient,
- httpResponseMessage: __response,
- content: ref __content);
-
- try
- {
- __response.EnsureSuccessStatusCode();
-
- return
- global::Braintrust.EvalStatusPage.FromJson(__content, JsonSerializerContext) ??
- throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
- }
- catch (global::System.Exception __ex)
- {
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
- else
- {
- try
- {
- __response.EnsureSuccessStatusCode();
- using var __content = await __response.Content.ReadAsStreamAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- return
- await global::Braintrust.EvalStatusPage.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
- throw new global::System.InvalidOperationException("Response deserialization failed.");
- }
- catch (global::System.Exception __ex)
- {
- string? __content = null;
- try
- {
- __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
- }
- catch (global::System.Exception)
- {
- }
-
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
-
- }
- }
- finally
- {
- __httpRequest?.Dispose();
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.PatchEvalStatusPageId.g.cs b/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.PatchEvalStatusPageId.g.cs
deleted file mode 100644
index 9bddcd1..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.PatchEvalStatusPageId.g.cs
+++ /dev/null
@@ -1,648 +0,0 @@
-
-#nullable enable
-
-namespace Braintrust
-{
- public partial class EvalStatusPagesClient
- {
-
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_PatchEvalStatusPageIdSecurityRequirement0 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- { new global::Braintrust.EndPointAuthorizationRequirement
- {
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
- },
- },
- };
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_PatchEvalStatusPageIdSecurityRequirement1 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- {
- },
- };
- private static readonly global::Braintrust.EndPointSecurityRequirement[] s_PatchEvalStatusPageIdSecurityRequirements =
- new global::Braintrust.EndPointSecurityRequirement[]
- { s_PatchEvalStatusPageIdSecurityRequirement0,
- s_PatchEvalStatusPageIdSecurityRequirement1,
- };
- partial void PreparePatchEvalStatusPageIdArguments(
- global::System.Net.Http.HttpClient httpClient,
- ref global::System.Guid evalStatusPageId,
- global::Braintrust.PatchEvalStatusPage request);
- partial void PreparePatchEvalStatusPageIdRequest(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid evalStatusPageId,
- global::Braintrust.PatchEvalStatusPage request);
- partial void ProcessPatchEvalStatusPageIdResponse(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage);
-
- partial void ProcessPatchEvalStatusPageIdResponseContent(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage,
- ref string content);
-
- ///
- /// Partially update eval_status_page
- /// Partially update a eval_status_page object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
- ///
- ///
- /// EvalStatusPage id
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task PatchEvalStatusPageIdAsync(
- global::System.Guid evalStatusPageId,
-
- global::Braintrust.PatchEvalStatusPage request,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- request = request ?? throw new global::System.ArgumentNullException(nameof(request));
-
- PrepareArguments(
- client: HttpClient);
- PreparePatchEvalStatusPageIdArguments(
- httpClient: HttpClient,
- evalStatusPageId: ref evalStatusPageId,
- request: request);
-
-
- var __authorizations = global::Braintrust.EndPointSecurityResolver.ResolveAuthorizations(
- availableAuthorizations: Authorizations,
- securityRequirements: s_PatchEvalStatusPageIdSecurityRequirements,
- operationName: "PatchEvalStatusPageIdAsync");
-
- using var __timeoutCancellationTokenSource = global::Braintrust.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken);
- var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
- var __effectiveReadResponseAsString = global::Braintrust.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
- clientOptions: Options,
- requestOptions: requestOptions,
- fallbackValue: ReadResponseAsString);
- var __maxAttempts = global::Braintrust.AutoSDKRequestOptionsSupport.GetMaxAttempts(
- clientOptions: Options,
- requestOptions: requestOptions,
- supportsRetry: true);
-
- global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
- {
- var __pathBuilder = new global::Braintrust.PathBuilder(
- path: $"/v1/eval_status_page/{evalStatusPageId}",
- baseUri: HttpClient.BaseAddress);
- var __path = __pathBuilder.ToString();
- __path = global::Braintrust.AutoSDKRequestOptionsSupport.AppendQueryParameters(
- path: __path,
- clientParameters: Options.QueryParameters,
- requestParameters: requestOptions?.QueryParameters);
- var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: new global::System.Net.Http.HttpMethod("PATCH"),
- requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
-#if NET6_0_OR_GREATER
- __httpRequest.Version = global::System.Net.HttpVersion.Version11;
- __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
-#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
- var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
- var __httpRequestContent = new global::System.Net.Http.StringContent(
- content: __httpRequestContentBody,
- encoding: global::System.Text.Encoding.UTF8,
- mediaType: "application/json");
- __httpRequest.Content = __httpRequestContent;
- global::Braintrust.AutoSDKRequestOptionsSupport.ApplyHeaders(
- request: __httpRequest,
- clientHeaders: Options.Headers,
- requestHeaders: requestOptions?.Headers);
-
- PrepareRequest(
- client: HttpClient,
- request: __httpRequest);
- PreparePatchEvalStatusPageIdRequest(
- httpClient: HttpClient,
- httpRequestMessage: __httpRequest,
- evalStatusPageId: evalStatusPageId,
- request: request);
-
- return __httpRequest;
- }
-
- global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
- global::System.Net.Http.HttpResponseMessage? __response = null;
- var __attemptNumber = 0;
- try
- {
- for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
- {
- __attemptNumber = __attempt;
- __httpRequest = __CreateHttpRequest();
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PatchEvalStatusPageId",
- methodName: "PatchEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "PATCH",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- try
- {
- __response = await HttpClient.SendAsync(
- request: __httpRequest,
- completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- }
- catch (global::System.Net.Http.HttpRequestException __exception)
- {
- var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PatchEvalStatusPageId",
- methodName: "PatchEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "PATCH",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: __exception,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: __willRetry,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- if (!__willRetry)
- {
- throw;
- }
-
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- if (__response != null &&
- __attempt < __maxAttempts &&
- global::Braintrust.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PatchEvalStatusPageId",
- methodName: "PatchEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "PATCH",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: true,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- __response.Dispose();
- __response = null;
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- break;
- }
-
- if (__response == null)
- {
- throw new global::System.InvalidOperationException("No response received.");
- }
-
- using (__response)
- {
-
- ProcessResponse(
- client: HttpClient,
- response: __response);
- ProcessPatchEvalStatusPageIdResponse(
- httpClient: HttpClient,
- httpResponseMessage: __response);
- if (__response.IsSuccessStatusCode)
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PatchEvalStatusPageId",
- methodName: "PatchEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "PATCH",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- else
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PatchEvalStatusPageId",
- methodName: "PatchEvalStatusPageIdAsync",
- pathTemplate: "$\"/v1/eval_status_page/{evalStatusPageId}\"",
- httpMethod: "PATCH",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- // The request was unacceptable, often due to missing a required parameter
- if ((int)__response.StatusCode == 400)
- {
- string? __content_400 = null;
- global::System.Exception? __exception_400 = null;
- string? __value_400 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_400 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_400,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_400,
- ResponseObject = __value_400,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // No valid API key provided
- if ((int)__response.StatusCode == 401)
- {
- string? __content_401 = null;
- global::System.Exception? __exception_401 = null;
- string? __value_401 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_401 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_401,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_401,
- ResponseObject = __value_401,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // The API key doesn’t have permissions to perform the request
- if ((int)__response.StatusCode == 403)
- {
- string? __content_403 = null;
- global::System.Exception? __exception_403 = null;
- string? __value_403 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_403 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_403,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_403,
- ResponseObject = __value_403,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Too many requests hit the API too quickly. We recommend an exponential backoff of your requests
- if ((int)__response.StatusCode == 429)
- {
- string? __content_429 = null;
- global::System.Exception? __exception_429 = null;
- string? __value_429 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_429 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_429 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_429,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_429,
- ResponseObject = __value_429,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Something went wrong on Braintrust's end. (These are rare.)
- if ((int)__response.StatusCode == 500)
- {
- string? __content_500 = null;
- global::System.Exception? __exception_500 = null;
- string? __value_500 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_500 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_500,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_500,
- ResponseObject = __value_500,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
-
- if (__effectiveReadResponseAsString)
- {
- var __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- ProcessResponseContent(
- client: HttpClient,
- response: __response,
- content: ref __content);
- ProcessPatchEvalStatusPageIdResponseContent(
- httpClient: HttpClient,
- httpResponseMessage: __response,
- content: ref __content);
-
- try
- {
- __response.EnsureSuccessStatusCode();
-
- return
- global::Braintrust.EvalStatusPage.FromJson(__content, JsonSerializerContext) ??
- throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
- }
- catch (global::System.Exception __ex)
- {
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
- else
- {
- try
- {
- __response.EnsureSuccessStatusCode();
- using var __content = await __response.Content.ReadAsStreamAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- return
- await global::Braintrust.EvalStatusPage.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
- throw new global::System.InvalidOperationException("Response deserialization failed.");
- }
- catch (global::System.Exception __ex)
- {
- string? __content = null;
- try
- {
- __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
- }
- catch (global::System.Exception)
- {
- }
-
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
-
- }
- }
- finally
- {
- __httpRequest?.Dispose();
- }
- }
- ///
- /// Partially update eval_status_page
- /// Partially update a eval_status_page object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
- ///
- ///
- /// EvalStatusPage id
- ///
- ///
- /// Name of the eval status page
- ///
- ///
- /// Textual description of the eval status page
- ///
- ///
- /// URL of the logo to display on the page
- ///
- ///
- /// The theme for the page
- ///
- ///
- /// Configuration for what data to display
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task PatchEvalStatusPageIdAsync(
- global::System.Guid evalStatusPageId,
- string? name = default,
- string? description = default,
- string? logoUrl = default,
- global::Braintrust.EvalStatusPageTheme? theme = default,
- global::Braintrust.EvalStatusPageConfig? config = default,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- var __request = new global::Braintrust.PatchEvalStatusPage
- {
- Name = name,
- Description = description,
- LogoUrl = logoUrl,
- Theme = theme,
- Config = config,
- };
-
- return await PatchEvalStatusPageIdAsync(
- evalStatusPageId: evalStatusPageId,
- request: __request,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken).ConfigureAwait(false);
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.PostEvalStatusPage.g.cs b/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.PostEvalStatusPage.g.cs
deleted file mode 100644
index 3a0070f..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.PostEvalStatusPage.g.cs
+++ /dev/null
@@ -1,640 +0,0 @@
-
-#nullable enable
-
-namespace Braintrust
-{
- public partial class EvalStatusPagesClient
- {
-
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_PostEvalStatusPageSecurityRequirement0 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- { new global::Braintrust.EndPointAuthorizationRequirement
- {
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
- },
- },
- };
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_PostEvalStatusPageSecurityRequirement1 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- {
- },
- };
- private static readonly global::Braintrust.EndPointSecurityRequirement[] s_PostEvalStatusPageSecurityRequirements =
- new global::Braintrust.EndPointSecurityRequirement[]
- { s_PostEvalStatusPageSecurityRequirement0,
- s_PostEvalStatusPageSecurityRequirement1,
- };
- partial void PreparePostEvalStatusPageArguments(
- global::System.Net.Http.HttpClient httpClient,
- global::Braintrust.CreateEvalStatusPage request);
- partial void PreparePostEvalStatusPageRequest(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::Braintrust.CreateEvalStatusPage request);
- partial void ProcessPostEvalStatusPageResponse(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage);
-
- partial void ProcessPostEvalStatusPageResponseContent(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage,
- ref string content);
-
- ///
- /// Create eval_status_page
- /// Create a new eval_status_page. If there is an existing eval_status_page with the same name as the one specified in the request, will return the existing eval_status_page unmodified
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task PostEvalStatusPageAsync(
-
- global::Braintrust.CreateEvalStatusPage request,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- request = request ?? throw new global::System.ArgumentNullException(nameof(request));
-
- PrepareArguments(
- client: HttpClient);
- PreparePostEvalStatusPageArguments(
- httpClient: HttpClient,
- request: request);
-
-
- var __authorizations = global::Braintrust.EndPointSecurityResolver.ResolveAuthorizations(
- availableAuthorizations: Authorizations,
- securityRequirements: s_PostEvalStatusPageSecurityRequirements,
- operationName: "PostEvalStatusPageAsync");
-
- using var __timeoutCancellationTokenSource = global::Braintrust.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken);
- var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
- var __effectiveReadResponseAsString = global::Braintrust.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
- clientOptions: Options,
- requestOptions: requestOptions,
- fallbackValue: ReadResponseAsString);
- var __maxAttempts = global::Braintrust.AutoSDKRequestOptionsSupport.GetMaxAttempts(
- clientOptions: Options,
- requestOptions: requestOptions,
- supportsRetry: true);
-
- global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
- {
- var __pathBuilder = new global::Braintrust.PathBuilder(
- path: "/v1/eval_status_page",
- baseUri: HttpClient.BaseAddress);
- var __path = __pathBuilder.ToString();
- __path = global::Braintrust.AutoSDKRequestOptionsSupport.AppendQueryParameters(
- path: __path,
- clientParameters: Options.QueryParameters,
- requestParameters: requestOptions?.QueryParameters);
- var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Post,
- requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
-#if NET6_0_OR_GREATER
- __httpRequest.Version = global::System.Net.HttpVersion.Version11;
- __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
-#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
- var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
- var __httpRequestContent = new global::System.Net.Http.StringContent(
- content: __httpRequestContentBody,
- encoding: global::System.Text.Encoding.UTF8,
- mediaType: "application/json");
- __httpRequest.Content = __httpRequestContent;
- global::Braintrust.AutoSDKRequestOptionsSupport.ApplyHeaders(
- request: __httpRequest,
- clientHeaders: Options.Headers,
- requestHeaders: requestOptions?.Headers);
-
- PrepareRequest(
- client: HttpClient,
- request: __httpRequest);
- PreparePostEvalStatusPageRequest(
- httpClient: HttpClient,
- httpRequestMessage: __httpRequest,
- request: request);
-
- return __httpRequest;
- }
-
- global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
- global::System.Net.Http.HttpResponseMessage? __response = null;
- var __attemptNumber = 0;
- try
- {
- for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
- {
- __attemptNumber = __attempt;
- __httpRequest = __CreateHttpRequest();
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PostEvalStatusPage",
- methodName: "PostEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "POST",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- try
- {
- __response = await HttpClient.SendAsync(
- request: __httpRequest,
- completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- }
- catch (global::System.Net.Http.HttpRequestException __exception)
- {
- var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PostEvalStatusPage",
- methodName: "PostEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "POST",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: __exception,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: __willRetry,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- if (!__willRetry)
- {
- throw;
- }
-
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- if (__response != null &&
- __attempt < __maxAttempts &&
- global::Braintrust.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PostEvalStatusPage",
- methodName: "PostEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "POST",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: true,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- __response.Dispose();
- __response = null;
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- break;
- }
-
- if (__response == null)
- {
- throw new global::System.InvalidOperationException("No response received.");
- }
-
- using (__response)
- {
-
- ProcessResponse(
- client: HttpClient,
- response: __response);
- ProcessPostEvalStatusPageResponse(
- httpClient: HttpClient,
- httpResponseMessage: __response);
- if (__response.IsSuccessStatusCode)
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PostEvalStatusPage",
- methodName: "PostEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "POST",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- else
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PostEvalStatusPage",
- methodName: "PostEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "POST",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- // The request was unacceptable, often due to missing a required parameter
- if ((int)__response.StatusCode == 400)
- {
- string? __content_400 = null;
- global::System.Exception? __exception_400 = null;
- string? __value_400 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_400 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_400,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_400,
- ResponseObject = __value_400,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // No valid API key provided
- if ((int)__response.StatusCode == 401)
- {
- string? __content_401 = null;
- global::System.Exception? __exception_401 = null;
- string? __value_401 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_401 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_401,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_401,
- ResponseObject = __value_401,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // The API key doesn’t have permissions to perform the request
- if ((int)__response.StatusCode == 403)
- {
- string? __content_403 = null;
- global::System.Exception? __exception_403 = null;
- string? __value_403 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_403 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_403,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_403,
- ResponseObject = __value_403,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Too many requests hit the API too quickly. We recommend an exponential backoff of your requests
- if ((int)__response.StatusCode == 429)
- {
- string? __content_429 = null;
- global::System.Exception? __exception_429 = null;
- string? __value_429 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_429 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_429 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_429,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_429,
- ResponseObject = __value_429,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Something went wrong on Braintrust's end. (These are rare.)
- if ((int)__response.StatusCode == 500)
- {
- string? __content_500 = null;
- global::System.Exception? __exception_500 = null;
- string? __value_500 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_500 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_500,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_500,
- ResponseObject = __value_500,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
-
- if (__effectiveReadResponseAsString)
- {
- var __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- ProcessResponseContent(
- client: HttpClient,
- response: __response,
- content: ref __content);
- ProcessPostEvalStatusPageResponseContent(
- httpClient: HttpClient,
- httpResponseMessage: __response,
- content: ref __content);
-
- try
- {
- __response.EnsureSuccessStatusCode();
-
- return
- global::Braintrust.EvalStatusPage.FromJson(__content, JsonSerializerContext) ??
- throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
- }
- catch (global::System.Exception __ex)
- {
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
- else
- {
- try
- {
- __response.EnsureSuccessStatusCode();
- using var __content = await __response.Content.ReadAsStreamAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- return
- await global::Braintrust.EvalStatusPage.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
- throw new global::System.InvalidOperationException("Response deserialization failed.");
- }
- catch (global::System.Exception __ex)
- {
- string? __content = null;
- try
- {
- __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
- }
- catch (global::System.Exception)
- {
- }
-
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
-
- }
- }
- finally
- {
- __httpRequest?.Dispose();
- }
- }
- ///
- /// Create eval_status_page
- /// Create a new eval_status_page. If there is an existing eval_status_page with the same name as the one specified in the request, will return the existing eval_status_page unmodified
- ///
- ///
- /// Unique identifier for the project that the eval status page belongs under
- ///
- ///
- /// Name of the eval status page
- ///
- ///
- /// Textual description of the eval status page
- ///
- ///
- /// URL of the logo to display on the page
- ///
- ///
- /// The theme for the page
- ///
- ///
- /// Configuration for what data to display
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task PostEvalStatusPageAsync(
- global::System.Guid projectId,
- string name,
- global::Braintrust.EvalStatusPageTheme theme,
- global::Braintrust.EvalStatusPageConfig config,
- string? description = default,
- string? logoUrl = default,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- var __request = new global::Braintrust.CreateEvalStatusPage
- {
- ProjectId = projectId,
- Name = name,
- Description = description,
- LogoUrl = logoUrl,
- Theme = theme,
- Config = config,
- };
-
- return await PostEvalStatusPageAsync(
- request: __request,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken).ConfigureAwait(false);
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.PutEvalStatusPage.g.cs b/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.PutEvalStatusPage.g.cs
deleted file mode 100644
index ce7ea78..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.PutEvalStatusPage.g.cs
+++ /dev/null
@@ -1,640 +0,0 @@
-
-#nullable enable
-
-namespace Braintrust
-{
- public partial class EvalStatusPagesClient
- {
-
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_PutEvalStatusPageSecurityRequirement0 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- { new global::Braintrust.EndPointAuthorizationRequirement
- {
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
- },
- },
- };
-
- private static readonly global::Braintrust.EndPointSecurityRequirement s_PutEvalStatusPageSecurityRequirement1 =
- new global::Braintrust.EndPointSecurityRequirement
- {
- Authorizations = new global::Braintrust.EndPointAuthorizationRequirement[]
- {
- },
- };
- private static readonly global::Braintrust.EndPointSecurityRequirement[] s_PutEvalStatusPageSecurityRequirements =
- new global::Braintrust.EndPointSecurityRequirement[]
- { s_PutEvalStatusPageSecurityRequirement0,
- s_PutEvalStatusPageSecurityRequirement1,
- };
- partial void PreparePutEvalStatusPageArguments(
- global::System.Net.Http.HttpClient httpClient,
- global::Braintrust.CreateEvalStatusPage request);
- partial void PreparePutEvalStatusPageRequest(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::Braintrust.CreateEvalStatusPage request);
- partial void ProcessPutEvalStatusPageResponse(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage);
-
- partial void ProcessPutEvalStatusPageResponseContent(
- global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpResponseMessage httpResponseMessage,
- ref string content);
-
- ///
- /// Create or replace eval_status_page
- /// Create or replace eval_status_page. If there is an existing eval_status_page with the same name as the one specified in the request, will replace the existing eval_status_page with the provided fields
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task PutEvalStatusPageAsync(
-
- global::Braintrust.CreateEvalStatusPage request,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- request = request ?? throw new global::System.ArgumentNullException(nameof(request));
-
- PrepareArguments(
- client: HttpClient);
- PreparePutEvalStatusPageArguments(
- httpClient: HttpClient,
- request: request);
-
-
- var __authorizations = global::Braintrust.EndPointSecurityResolver.ResolveAuthorizations(
- availableAuthorizations: Authorizations,
- securityRequirements: s_PutEvalStatusPageSecurityRequirements,
- operationName: "PutEvalStatusPageAsync");
-
- using var __timeoutCancellationTokenSource = global::Braintrust.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken);
- var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
- var __effectiveReadResponseAsString = global::Braintrust.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
- clientOptions: Options,
- requestOptions: requestOptions,
- fallbackValue: ReadResponseAsString);
- var __maxAttempts = global::Braintrust.AutoSDKRequestOptionsSupport.GetMaxAttempts(
- clientOptions: Options,
- requestOptions: requestOptions,
- supportsRetry: true);
-
- global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
- {
- var __pathBuilder = new global::Braintrust.PathBuilder(
- path: "/v1/eval_status_page",
- baseUri: HttpClient.BaseAddress);
- var __path = __pathBuilder.ToString();
- __path = global::Braintrust.AutoSDKRequestOptionsSupport.AppendQueryParameters(
- path: __path,
- clientParameters: Options.QueryParameters,
- requestParameters: requestOptions?.QueryParameters);
- var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Put,
- requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
-#if NET6_0_OR_GREATER
- __httpRequest.Version = global::System.Net.HttpVersion.Version11;
- __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
-#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
- var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
- var __httpRequestContent = new global::System.Net.Http.StringContent(
- content: __httpRequestContentBody,
- encoding: global::System.Text.Encoding.UTF8,
- mediaType: "application/json");
- __httpRequest.Content = __httpRequestContent;
- global::Braintrust.AutoSDKRequestOptionsSupport.ApplyHeaders(
- request: __httpRequest,
- clientHeaders: Options.Headers,
- requestHeaders: requestOptions?.Headers);
-
- PrepareRequest(
- client: HttpClient,
- request: __httpRequest);
- PreparePutEvalStatusPageRequest(
- httpClient: HttpClient,
- httpRequestMessage: __httpRequest,
- request: request);
-
- return __httpRequest;
- }
-
- global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
- global::System.Net.Http.HttpResponseMessage? __response = null;
- var __attemptNumber = 0;
- try
- {
- for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
- {
- __attemptNumber = __attempt;
- __httpRequest = __CreateHttpRequest();
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PutEvalStatusPage",
- methodName: "PutEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "PUT",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- try
- {
- __response = await HttpClient.SendAsync(
- request: __httpRequest,
- completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- }
- catch (global::System.Net.Http.HttpRequestException __exception)
- {
- var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PutEvalStatusPage",
- methodName: "PutEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "PUT",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: null,
- exception: __exception,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: __willRetry,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- if (!__willRetry)
- {
- throw;
- }
-
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- if (__response != null &&
- __attempt < __maxAttempts &&
- global::Braintrust.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PutEvalStatusPage",
- methodName: "PutEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "PUT",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attempt,
- maxAttempts: __maxAttempts,
- willRetry: true,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- __response.Dispose();
- __response = null;
- __httpRequest.Dispose();
- __httpRequest = null;
- await global::Braintrust.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
- clientOptions: Options,
- requestOptions: requestOptions,
- cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
- continue;
- }
-
- break;
- }
-
- if (__response == null)
- {
- throw new global::System.InvalidOperationException("No response received.");
- }
-
- using (__response)
- {
-
- ProcessResponse(
- client: HttpClient,
- response: __response);
- ProcessPutEvalStatusPageResponse(
- httpClient: HttpClient,
- httpResponseMessage: __response);
- if (__response.IsSuccessStatusCode)
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PutEvalStatusPage",
- methodName: "PutEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "PUT",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- else
- {
- await global::Braintrust.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
- clientOptions: Options,
- context: global::Braintrust.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "PutEvalStatusPage",
- methodName: "PutEvalStatusPageAsync",
- pathTemplate: "\"/v1/eval_status_page\"",
- httpMethod: "PUT",
- baseUri: BaseUri,
- request: __httpRequest!,
- response: __response,
- exception: null,
- clientOptions: Options,
- requestOptions: requestOptions,
- attempt: __attemptNumber,
- maxAttempts: __maxAttempts,
- willRetry: false,
- cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
- }
- // The request was unacceptable, often due to missing a required parameter
- if ((int)__response.StatusCode == 400)
- {
- string? __content_400 = null;
- global::System.Exception? __exception_400 = null;
- string? __value_400 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_400 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_400, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_400 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_400,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_400,
- ResponseObject = __value_400,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // No valid API key provided
- if ((int)__response.StatusCode == 401)
- {
- string? __content_401 = null;
- global::System.Exception? __exception_401 = null;
- string? __value_401 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_401 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_401, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_401 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_401,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_401,
- ResponseObject = __value_401,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // The API key doesn’t have permissions to perform the request
- if ((int)__response.StatusCode == 403)
- {
- string? __content_403 = null;
- global::System.Exception? __exception_403 = null;
- string? __value_403 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_403 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_403, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_403 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_403,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_403,
- ResponseObject = __value_403,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Too many requests hit the API too quickly. We recommend an exponential backoff of your requests
- if ((int)__response.StatusCode == 429)
- {
- string? __content_429 = null;
- global::System.Exception? __exception_429 = null;
- string? __value_429 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_429 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_429, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_429 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_429 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_429,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_429,
- ResponseObject = __value_429,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- // Something went wrong on Braintrust's end. (These are rare.)
- if ((int)__response.StatusCode == 500)
- {
- string? __content_500 = null;
- global::System.Exception? __exception_500 = null;
- string? __value_500 = null;
- try
- {
- if (__effectiveReadResponseAsString)
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- else
- {
- __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
-
- __value_500 = (string?)global::System.Text.Json.JsonSerializer.Deserialize(__content_500, typeof(string), JsonSerializerContext);
- }
- }
- catch (global::System.Exception __ex)
- {
- __exception_500 = __ex;
- }
-
- throw new global::Braintrust.ApiException(
- message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __exception_500,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_500,
- ResponseObject = __value_500,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
-
- if (__effectiveReadResponseAsString)
- {
- var __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- ProcessResponseContent(
- client: HttpClient,
- response: __response,
- content: ref __content);
- ProcessPutEvalStatusPageResponseContent(
- httpClient: HttpClient,
- httpResponseMessage: __response,
- content: ref __content);
-
- try
- {
- __response.EnsureSuccessStatusCode();
-
- return
- global::Braintrust.EvalStatusPage.FromJson(__content, JsonSerializerContext) ??
- throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
- }
- catch (global::System.Exception __ex)
- {
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
- else
- {
- try
- {
- __response.EnsureSuccessStatusCode();
- using var __content = await __response.Content.ReadAsStreamAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
-
- return
- await global::Braintrust.EvalStatusPage.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
- throw new global::System.InvalidOperationException("Response deserialization failed.");
- }
- catch (global::System.Exception __ex)
- {
- string? __content = null;
- try
- {
- __content = await __response.Content.ReadAsStringAsync(
- #if NET5_0_OR_GREATER
- __effectiveCancellationToken
- #endif
- ).ConfigureAwait(false);
- }
- catch (global::System.Exception)
- {
- }
-
- throw new global::Braintrust.ApiException(
- message: __content ?? __response.ReasonPhrase ?? string.Empty,
- innerException: __ex,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
- }
-
- }
- }
- finally
- {
- __httpRequest?.Dispose();
- }
- }
- ///
- /// Create or replace eval_status_page
- /// Create or replace eval_status_page. If there is an existing eval_status_page with the same name as the one specified in the request, will replace the existing eval_status_page with the provided fields
- ///
- ///
- /// Unique identifier for the project that the eval status page belongs under
- ///
- ///
- /// Name of the eval status page
- ///
- ///
- /// Textual description of the eval status page
- ///
- ///
- /// URL of the logo to display on the page
- ///
- ///
- /// The theme for the page
- ///
- ///
- /// Configuration for what data to display
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task PutEvalStatusPageAsync(
- global::System.Guid projectId,
- string name,
- global::Braintrust.EvalStatusPageTheme theme,
- global::Braintrust.EvalStatusPageConfig config,
- string? description = default,
- string? logoUrl = default,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- var __request = new global::Braintrust.CreateEvalStatusPage
- {
- ProjectId = projectId,
- Name = name,
- Description = description,
- LogoUrl = logoUrl,
- Theme = theme,
- Config = config,
- };
-
- return await PutEvalStatusPageAsync(
- request: __request,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken).ConfigureAwait(false);
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.g.cs b/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.g.cs
deleted file mode 100644
index 1963f61..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.EvalStatusPagesClient.g.cs
+++ /dev/null
@@ -1,115 +0,0 @@
-
-#nullable enable
-
-namespace Braintrust
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public sealed partial class EvalStatusPagesClient : global::Braintrust.IEvalStatusPagesClient, global::System.IDisposable
- {
- ///
- ///
- ///
- public const string DefaultBaseUrl = "https://api.braintrust.dev/";
-
- private bool _disposeHttpClient = true;
-
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- public System.Uri? BaseUri => HttpClient.BaseAddress;
-
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- public bool ReadResponseAsString { get; set; }
-#if DEBUG
- = true;
-#endif
-
- ///
- public global::Braintrust.AutoSDKClientOptions Options { get; }
- ///
- ///
- ///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Braintrust.SourceGenerationContext.Default;
-
-
- ///
- /// Creates a new instance of the EvalStatusPagesClient.
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- /// The HttpClient instance. If not provided, a new one will be created.
- /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.
- /// The authorizations to use for the requests.
- /// Dispose the HttpClient when the instance is disposed. True by default.
- public EvalStatusPagesClient(
- global::System.Net.Http.HttpClient? httpClient = null,
- global::System.Uri? baseUri = null,
- global::System.Collections.Generic.List? authorizations = null,
- bool disposeHttpClient = true) : this(
- httpClient,
- baseUri,
- authorizations,
- options: null,
- disposeHttpClient: disposeHttpClient)
- {
- }
-
- ///
- /// Creates a new instance of the EvalStatusPagesClient.
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- /// The HttpClient instance. If not provided, a new one will be created.
- /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.
- /// The authorizations to use for the requests.
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- /// Dispose the HttpClient when the instance is disposed. True by default.
- public EvalStatusPagesClient(
- global::System.Net.Http.HttpClient? httpClient = null,
- global::System.Uri? baseUri = null,
- global::System.Collections.Generic.List? authorizations = null,
- global::Braintrust.AutoSDKClientOptions? options = null,
- bool disposeHttpClient = true)
- {
-
- HttpClient = httpClient ?? new global::System.Net.Http.HttpClient();
- HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl);
- Authorizations = authorizations ?? new global::System.Collections.Generic.List();
- Options = options ?? new global::Braintrust.AutoSDKClientOptions();
- _disposeHttpClient = disposeHttpClient;
-
- Initialized(HttpClient);
- }
-
- ///
- public void Dispose()
- {
- if (_disposeHttpClient)
- {
- HttpClient.Dispose();
- }
- }
-
- partial void Initialized(
- global::System.Net.Http.HttpClient client);
- partial void PrepareArguments(
- global::System.Net.Http.HttpClient client);
- partial void PrepareRequest(
- global::System.Net.Http.HttpClient client,
- global::System.Net.Http.HttpRequestMessage request);
- partial void ProcessResponse(
- global::System.Net.Http.HttpClient client,
- global::System.Net.Http.HttpResponseMessage response);
- partial void ProcessResponseContent(
- global::System.Net.Http.HttpClient client,
- global::System.Net.Http.HttpResponseMessage response,
- ref string content);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.ExperimentsClient.PatchExperimentId.g.cs b/src/libs/Braintrust/Generated/Braintrust.ExperimentsClient.PatchExperimentId.g.cs
index 0e7fb6a..d6dbe83 100644
--- a/src/libs/Braintrust/Generated/Braintrust.ExperimentsClient.PatchExperimentId.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.ExperimentsClient.PatchExperimentId.g.cs
@@ -619,6 +619,9 @@ partial void ProcessPatchExperimentIdResponseContent(
///
/// Version number of the linked dataset the experiment was run against. This can be used to reproduce the experiment after the dataset has been modified.
///
+ ///
+ /// Braintrust-controlled metadata about the experiment.
+ ///
///
/// Identifier of the linked saved parameters object, or null if the experiment is not linked to saved parameters
///
@@ -645,6 +648,7 @@ partial void ProcessPatchExperimentIdResponseContent(
global::System.Guid? baseExpId = default,
global::System.Guid? datasetId = default,
string? datasetVersion = default,
+ global::Braintrust.PatchExperimentInternalMetadata? internalMetadata = default,
global::System.Guid? parametersId = default,
string? parametersVersion = default,
bool? @public = default,
@@ -661,6 +665,7 @@ partial void ProcessPatchExperimentIdResponseContent(
BaseExpId = baseExpId,
DatasetId = datasetId,
DatasetVersion = datasetVersion,
+ InternalMetadata = internalMetadata,
ParametersId = parametersId,
ParametersVersion = parametersVersion,
Public = @public,
diff --git a/src/libs/Braintrust/Generated/Braintrust.ExperimentsClient.PostExperiment.g.cs b/src/libs/Braintrust/Generated/Braintrust.ExperimentsClient.PostExperiment.g.cs
index e52fb5c..046e77a 100644
--- a/src/libs/Braintrust/Generated/Braintrust.ExperimentsClient.PostExperiment.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.ExperimentsClient.PostExperiment.g.cs
@@ -611,6 +611,9 @@ partial void ProcessPostExperimentResponseContent(
///
/// Version number of the linked dataset the experiment was run against. This can be used to reproduce the experiment after the dataset has been modified.
///
+ ///
+ /// Braintrust-controlled metadata about the experiment.
+ ///
///
/// Identifier of the linked saved parameters object, or null if the experiment is not linked to saved parameters
///
@@ -640,6 +643,7 @@ partial void ProcessPostExperimentResponseContent(
global::System.Guid? baseExpId = default,
global::System.Guid? datasetId = default,
string? datasetVersion = default,
+ global::Braintrust.CreateExperimentInternalMetadata? internalMetadata = default,
global::System.Guid? parametersId = default,
string? parametersVersion = default,
bool? @public = default,
@@ -658,6 +662,7 @@ partial void ProcessPostExperimentResponseContent(
BaseExpId = baseExpId,
DatasetId = datasetId,
DatasetVersion = datasetVersion,
+ InternalMetadata = internalMetadata,
ParametersId = parametersId,
ParametersVersion = parametersVersion,
Public = @public,
diff --git a/src/libs/Braintrust/Generated/Braintrust.IBraintrustClient.g.cs b/src/libs/Braintrust/Generated/Braintrust.IBraintrustClient.g.cs
index 5284288..2f8ba1e 100644
--- a/src/libs/Braintrust/Generated/Braintrust.IBraintrustClient.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.IBraintrustClient.g.cs
@@ -92,11 +92,6 @@ public partial interface IBraintrustClient : global::System.IDisposable
///
public EnvironmentsClient Environments { get; }
- ///
- ///
- ///
- public EvalStatusPagesClient EvalStatusPages { get; }
-
///
///
///
diff --git a/src/libs/Braintrust/Generated/Braintrust.ICorsClient.OptionsEvalStatusPage.g.cs b/src/libs/Braintrust/Generated/Braintrust.ICorsClient.OptionsEvalStatusPage.g.cs
deleted file mode 100644
index cdf71e5..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.ICorsClient.OptionsEvalStatusPage.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Braintrust
-{
- public partial interface ICorsClient
- {
- ///
- /// Enable CORS (`/v1/eval_status_page`)
- /// Enable CORS
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task OptionsEvalStatusPageAsync(
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.ICorsClient.OptionsEvalStatusPageId.g.cs b/src/libs/Braintrust/Generated/Braintrust.ICorsClient.OptionsEvalStatusPageId.g.cs
deleted file mode 100644
index 8dfeda9..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.ICorsClient.OptionsEvalStatusPageId.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Braintrust
-{
- public partial interface ICorsClient
- {
- ///
- /// Enable CORS (`/v1/eval_status_page/{eval_status_page_id}`)
- /// Enable CORS
- ///
- ///
- /// EvalStatusPage id
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task OptionsEvalStatusPageIdAsync(
- global::System.Guid evalStatusPageId,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.DeleteEvalStatusPageId.g.cs b/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.DeleteEvalStatusPageId.g.cs
deleted file mode 100644
index e5f9b5d..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.DeleteEvalStatusPageId.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Braintrust
-{
- public partial interface IEvalStatusPagesClient
- {
- ///
- /// Delete eval_status_page
- /// Delete a eval_status_page object by its id
- ///
- ///
- /// EvalStatusPage id
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteEvalStatusPageIdAsync(
- global::System.Guid evalStatusPageId,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.GetEvalStatusPage.g.cs b/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.GetEvalStatusPage.g.cs
deleted file mode 100644
index ce533d4..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.GetEvalStatusPage.g.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-#nullable enable
-
-namespace Braintrust
-{
- public partial interface IEvalStatusPagesClient
- {
- ///
- /// List eval_status_pages
- /// List out all eval_status_pages. The eval_status_pages are sorted by creation date, with the most recently-created eval_status_pages coming first
- ///
- ///
- /// Limit the number of objects to return
- ///
- ///
- /// Pagination cursor id.
- /// For example, if the final item in the last page you fetched had an id of `foo`, pass `starting_after=foo` to fetch the next page. Note: you may only pass one of `starting_after` and `ending_before`
- ///
- ///
- /// Pagination cursor id.
- /// For example, if the initial item in the last page you fetched had an id of `foo`, pass `ending_before=foo` to fetch the previous page. Note: you may only pass one of `starting_after` and `ending_before`
- ///
- ///
- /// Filter search results to a particular set of object IDs. To specify a list of IDs, include the query param multiple times
- ///
- ///
- /// Name of the eval_status_page to search for
- ///
- ///
- /// Filter search results to within a particular organization
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetEvalStatusPageAsync(
- int? limit = default,
- global::System.Guid? startingAfter = default,
- global::System.Guid? endingBefore = default,
- global::Braintrust.Ids? ids = default,
- string? evalStatusPageName = default,
- string? orgName = default,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.GetEvalStatusPageId.g.cs b/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.GetEvalStatusPageId.g.cs
deleted file mode 100644
index b2f745f..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.GetEvalStatusPageId.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Braintrust
-{
- public partial interface IEvalStatusPagesClient
- {
- ///
- /// Get eval_status_page
- /// Get a eval_status_page object by its id
- ///
- ///
- /// EvalStatusPage id
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetEvalStatusPageIdAsync(
- global::System.Guid evalStatusPageId,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.PatchEvalStatusPageId.g.cs b/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.PatchEvalStatusPageId.g.cs
deleted file mode 100644
index c21342d..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.PatchEvalStatusPageId.g.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-#nullable enable
-
-namespace Braintrust
-{
- public partial interface IEvalStatusPagesClient
- {
- ///
- /// Partially update eval_status_page
- /// Partially update a eval_status_page object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
- ///
- ///
- /// EvalStatusPage id
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task PatchEvalStatusPageIdAsync(
- global::System.Guid evalStatusPageId,
-
- global::Braintrust.PatchEvalStatusPage request,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Partially update eval_status_page
- /// Partially update a eval_status_page object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
- ///
- ///
- /// EvalStatusPage id
- ///
- ///
- /// Name of the eval status page
- ///
- ///
- /// Textual description of the eval status page
- ///
- ///
- /// URL of the logo to display on the page
- ///
- ///
- /// The theme for the page
- ///
- ///
- /// Configuration for what data to display
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task PatchEvalStatusPageIdAsync(
- global::System.Guid evalStatusPageId,
- string? name = default,
- string? description = default,
- string? logoUrl = default,
- global::Braintrust.EvalStatusPageTheme? theme = default,
- global::Braintrust.EvalStatusPageConfig? config = default,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.PostEvalStatusPage.g.cs b/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.PostEvalStatusPage.g.cs
deleted file mode 100644
index 6e324e6..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.PostEvalStatusPage.g.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-#nullable enable
-
-namespace Braintrust
-{
- public partial interface IEvalStatusPagesClient
- {
- ///
- /// Create eval_status_page
- /// Create a new eval_status_page. If there is an existing eval_status_page with the same name as the one specified in the request, will return the existing eval_status_page unmodified
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task PostEvalStatusPageAsync(
-
- global::Braintrust.CreateEvalStatusPage request,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create eval_status_page
- /// Create a new eval_status_page. If there is an existing eval_status_page with the same name as the one specified in the request, will return the existing eval_status_page unmodified
- ///
- ///
- /// Unique identifier for the project that the eval status page belongs under
- ///
- ///
- /// Name of the eval status page
- ///
- ///
- /// Textual description of the eval status page
- ///
- ///
- /// URL of the logo to display on the page
- ///
- ///
- /// The theme for the page
- ///
- ///
- /// Configuration for what data to display
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task PostEvalStatusPageAsync(
- global::System.Guid projectId,
- string name,
- global::Braintrust.EvalStatusPageTheme theme,
- global::Braintrust.EvalStatusPageConfig config,
- string? description = default,
- string? logoUrl = default,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.PutEvalStatusPage.g.cs b/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.PutEvalStatusPage.g.cs
deleted file mode 100644
index c074556..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.PutEvalStatusPage.g.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-#nullable enable
-
-namespace Braintrust
-{
- public partial interface IEvalStatusPagesClient
- {
- ///
- /// Create or replace eval_status_page
- /// Create or replace eval_status_page. If there is an existing eval_status_page with the same name as the one specified in the request, will replace the existing eval_status_page with the provided fields
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task PutEvalStatusPageAsync(
-
- global::Braintrust.CreateEvalStatusPage request,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create or replace eval_status_page
- /// Create or replace eval_status_page. If there is an existing eval_status_page with the same name as the one specified in the request, will replace the existing eval_status_page with the provided fields
- ///
- ///
- /// Unique identifier for the project that the eval status page belongs under
- ///
- ///
- /// Name of the eval status page
- ///
- ///
- /// Textual description of the eval status page
- ///
- ///
- /// URL of the logo to display on the page
- ///
- ///
- /// The theme for the page
- ///
- ///
- /// Configuration for what data to display
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task PutEvalStatusPageAsync(
- global::System.Guid projectId,
- string name,
- global::Braintrust.EvalStatusPageTheme theme,
- global::Braintrust.EvalStatusPageConfig config,
- string? description = default,
- string? logoUrl = default,
- global::Braintrust.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.g.cs b/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.g.cs
deleted file mode 100644
index d673107..0000000
--- a/src/libs/Braintrust/Generated/Braintrust.IEvalStatusPagesClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Braintrust
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface IEvalStatusPagesClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Braintrust.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Braintrust/Generated/Braintrust.IExperimentsClient.PatchExperimentId.g.cs b/src/libs/Braintrust/Generated/Braintrust.IExperimentsClient.PatchExperimentId.g.cs
index b808961..3a08520 100644
--- a/src/libs/Braintrust/Generated/Braintrust.IExperimentsClient.PatchExperimentId.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.IExperimentsClient.PatchExperimentId.g.cs
@@ -46,6 +46,9 @@ public partial interface IExperimentsClient
///
/// Version number of the linked dataset the experiment was run against. This can be used to reproduce the experiment after the dataset has been modified.
///
+ ///
+ /// Braintrust-controlled metadata about the experiment.
+ ///
///
/// Identifier of the linked saved parameters object, or null if the experiment is not linked to saved parameters
///
@@ -72,6 +75,7 @@ public partial interface IExperimentsClient
global::System.Guid? baseExpId = default,
global::System.Guid? datasetId = default,
string? datasetVersion = default,
+ global::Braintrust.PatchExperimentInternalMetadata? internalMetadata = default,
global::System.Guid? parametersId = default,
string? parametersVersion = default,
bool? @public = default,
diff --git a/src/libs/Braintrust/Generated/Braintrust.IExperimentsClient.PostExperiment.g.cs b/src/libs/Braintrust/Generated/Braintrust.IExperimentsClient.PostExperiment.g.cs
index 0dec0a1..af3c8e3 100644
--- a/src/libs/Braintrust/Generated/Braintrust.IExperimentsClient.PostExperiment.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.IExperimentsClient.PostExperiment.g.cs
@@ -42,6 +42,9 @@ public partial interface IExperimentsClient
///
/// Version number of the linked dataset the experiment was run against. This can be used to reproduce the experiment after the dataset has been modified.
///
+ ///
+ /// Braintrust-controlled metadata about the experiment.
+ ///
///
/// Identifier of the linked saved parameters object, or null if the experiment is not linked to saved parameters
///
@@ -71,6 +74,7 @@ public partial interface IExperimentsClient
global::System.Guid? baseExpId = default,
global::System.Guid? datasetId = default,
string? datasetVersion = default,
+ global::Braintrust.CreateExperimentInternalMetadata? internalMetadata = default,
global::System.Guid? parametersId = default,
string? parametersVersion = default,
bool? @public = default,
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsType.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant1Type.g.cs
similarity index 77%
rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsType.g.cs
rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant1Type.g.cs
index 12ad99d..ac187d8 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsType.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant1Type.g.cs
@@ -3,10 +3,10 @@
namespace Braintrust.JsonConverters
{
///
- public sealed class CreateProjectAutomationConfigVariant2CredentialsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class CreateProjectAutomationConfigVariant2CredentialsVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsType Read(
+ public override global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class CreateProjectAutomationConfigVariant2CredentialsTypeJsonConv
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsTypeExtensions.ToEnum(stringValue) ?? default;
+ return global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class CreateProjectAutomationConfigVariant2CredentialsTypeJsonConv
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsType)numValue;
+ return (global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsType);
+ return default(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class CreateProjectAutomationConfigVariant2CredentialsTypeJsonConv
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsType value,
+ global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsTypeExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsTypeNullable.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant1TypeNullable.g.cs
similarity index 78%
rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsTypeNullable.g.cs
rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant1TypeNullable.g.cs
index c3ed668..dbde56d 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsTypeNullable.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant1TypeNullable.g.cs
@@ -3,10 +3,10 @@
namespace Braintrust.JsonConverters
{
///
- public sealed class CreateProjectAutomationConfigVariant2CredentialsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class CreateProjectAutomationConfigVariant2CredentialsVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsType? Read(
+ public override global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class CreateProjectAutomationConfigVariant2CredentialsTypeNullable
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsTypeExtensions.ToEnum(stringValue);
+ return global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class CreateProjectAutomationConfigVariant2CredentialsTypeNullable
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsType)numValue;
+ return (global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsType?);
+ return default(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class CreateProjectAutomationConfigVariant2CredentialsTypeNullable
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsType? value,
+ global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsTypeExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageConfigSortOrder.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant2Type.g.cs
similarity index 58%
rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageConfigSortOrder.g.cs
rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant2Type.g.cs
index 372c080..e581a9e 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageConfigSortOrder.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant2Type.g.cs
@@ -3,10 +3,10 @@
namespace Braintrust.JsonConverters
{
///
- public sealed class EvalStatusPageConfigSortOrderJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class CreateProjectAutomationConfigVariant2CredentialsVariant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Braintrust.EvalStatusPageConfigSortOrder Read(
+ public override global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class EvalStatusPageConfigSortOrderJsonConverter : global::System.
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Braintrust.EvalStatusPageConfigSortOrderExtensions.ToEnum(stringValue) ?? default;
+ return global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class EvalStatusPageConfigSortOrderJsonConverter : global::System.
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Braintrust.EvalStatusPageConfigSortOrder)numValue;
+ return (global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Braintrust.EvalStatusPageConfigSortOrder);
+ return default(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class EvalStatusPageConfigSortOrderJsonConverter : global::System.
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Braintrust.EvalStatusPageConfigSortOrder value,
+ global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Braintrust.EvalStatusPageConfigSortOrderExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageThemeNullable.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant2TypeNullable.g.cs
similarity index 60%
rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageThemeNullable.g.cs
rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant2TypeNullable.g.cs
index 46899f3..d68821e 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageThemeNullable.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant2TypeNullable.g.cs
@@ -3,10 +3,10 @@
namespace Braintrust.JsonConverters
{
///
- public sealed class EvalStatusPageThemeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class CreateProjectAutomationConfigVariant2CredentialsVariant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Braintrust.EvalStatusPageTheme? Read(
+ public override global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class EvalStatusPageThemeNullableJsonConverter : global::System.Te
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Braintrust.EvalStatusPageThemeExtensions.ToEnum(stringValue);
+ return global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class EvalStatusPageThemeNullableJsonConverter : global::System.Te
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Braintrust.EvalStatusPageTheme)numValue;
+ return (global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Braintrust.EvalStatusPageTheme?);
+ return default(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class EvalStatusPageThemeNullableJsonConverter : global::System.Te
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Braintrust.EvalStatusPageTheme? value,
+ global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Braintrust.EvalStatusPageThemeExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsType.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant1Type.g.cs
similarity index 77%
rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsType.g.cs
rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant1Type.g.cs
index d23c7c0..dd07acb 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsType.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant1Type.g.cs
@@ -3,10 +3,10 @@
namespace Braintrust.JsonConverters
{
///
- public sealed class PatchProjectAutomationConfigVariant2CredentialsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class PatchProjectAutomationConfigVariant2CredentialsVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsType Read(
+ public override global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class PatchProjectAutomationConfigVariant2CredentialsTypeJsonConve
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsTypeExtensions.ToEnum(stringValue) ?? default;
+ return global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class PatchProjectAutomationConfigVariant2CredentialsTypeJsonConve
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsType)numValue;
+ return (global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsType);
+ return default(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class PatchProjectAutomationConfigVariant2CredentialsTypeJsonConve
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsType value,
+ global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsTypeExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsTypeNullable.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant1TypeNullable.g.cs
similarity index 78%
rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsTypeNullable.g.cs
rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant1TypeNullable.g.cs
index c0020be..fce3db9 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsTypeNullable.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant1TypeNullable.g.cs
@@ -3,10 +3,10 @@
namespace Braintrust.JsonConverters
{
///
- public sealed class PatchProjectAutomationConfigVariant2CredentialsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class PatchProjectAutomationConfigVariant2CredentialsVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsType? Read(
+ public override global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class PatchProjectAutomationConfigVariant2CredentialsTypeNullableJ
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsTypeExtensions.ToEnum(stringValue);
+ return global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class PatchProjectAutomationConfigVariant2CredentialsTypeNullableJ
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsType)numValue;
+ return (global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsType?);
+ return default(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class PatchProjectAutomationConfigVariant2CredentialsTypeNullableJ
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsType? value,
+ global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsTypeExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant2Type.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant2Type.g.cs
new file mode 100644
index 0000000..065c8b8
--- /dev/null
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant2Type.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Braintrust.JsonConverters
+{
+ ///
+ public sealed class PatchProjectAutomationConfigVariant2CredentialsVariant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type 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.PatchProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageConfigSortOrderNullable.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant2TypeNullable.g.cs
similarity index 61%
rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageConfigSortOrderNullable.g.cs
rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant2TypeNullable.g.cs
index 29c1f24..d4c6b82 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageConfigSortOrderNullable.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant2TypeNullable.g.cs
@@ -3,10 +3,10 @@
namespace Braintrust.JsonConverters
{
///
- public sealed class EvalStatusPageConfigSortOrderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class PatchProjectAutomationConfigVariant2CredentialsVariant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Braintrust.EvalStatusPageConfigSortOrder? Read(
+ public override global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class EvalStatusPageConfigSortOrderNullableJsonConverter : global:
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Braintrust.EvalStatusPageConfigSortOrderExtensions.ToEnum(stringValue);
+ return global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class EvalStatusPageConfigSortOrderNullableJsonConverter : global:
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Braintrust.EvalStatusPageConfigSortOrder)numValue;
+ return (global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Braintrust.EvalStatusPageConfigSortOrder?);
+ return default(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class EvalStatusPageConfigSortOrderNullableJsonConverter : global:
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Braintrust.EvalStatusPageConfigSortOrder? value,
+ global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Braintrust.EvalStatusPageConfigSortOrderExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsType.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant1Type.g.cs
similarity index 79%
rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsType.g.cs
rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant1Type.g.cs
index ddfa0f9..c0307a3 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsType.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant1Type.g.cs
@@ -3,10 +3,10 @@
namespace Braintrust.JsonConverters
{
///
- public sealed class ProjectAutomationConfigVariant2CredentialsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ProjectAutomationConfigVariant2CredentialsVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Braintrust.ProjectAutomationConfigVariant2CredentialsType Read(
+ public override global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ProjectAutomationConfigVariant2CredentialsTypeJsonConverter
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Braintrust.ProjectAutomationConfigVariant2CredentialsTypeExtensions.ToEnum(stringValue) ?? default;
+ return global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class ProjectAutomationConfigVariant2CredentialsTypeJsonConverter
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Braintrust.ProjectAutomationConfigVariant2CredentialsType)numValue;
+ return (global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Braintrust.ProjectAutomationConfigVariant2CredentialsType);
+ return default(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class ProjectAutomationConfigVariant2CredentialsTypeJsonConverter
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Braintrust.ProjectAutomationConfigVariant2CredentialsType value,
+ global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Braintrust.ProjectAutomationConfigVariant2CredentialsTypeExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsTypeNullable.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant1TypeNullable.g.cs
similarity index 80%
rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsTypeNullable.g.cs
rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant1TypeNullable.g.cs
index 31ca34b..8c50b67 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsTypeNullable.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant1TypeNullable.g.cs
@@ -3,10 +3,10 @@
namespace Braintrust.JsonConverters
{
///
- public sealed class ProjectAutomationConfigVariant2CredentialsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ProjectAutomationConfigVariant2CredentialsVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Braintrust.ProjectAutomationConfigVariant2CredentialsType? Read(
+ public override global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class ProjectAutomationConfigVariant2CredentialsTypeNullableJsonCo
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Braintrust.ProjectAutomationConfigVariant2CredentialsTypeExtensions.ToEnum(stringValue);
+ return global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class ProjectAutomationConfigVariant2CredentialsTypeNullableJsonCo
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Braintrust.ProjectAutomationConfigVariant2CredentialsType)numValue;
+ return (global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Braintrust.ProjectAutomationConfigVariant2CredentialsType?);
+ return default(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class ProjectAutomationConfigVariant2CredentialsTypeNullableJsonCo
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Braintrust.ProjectAutomationConfigVariant2CredentialsType? value,
+ global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Braintrust.ProjectAutomationConfigVariant2CredentialsTypeExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1TypeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageTheme.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant2Type.g.cs
similarity index 59%
rename from src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageTheme.g.cs
rename to src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant2Type.g.cs
index a9706d8..e30cf3f 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.EvalStatusPageTheme.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant2Type.g.cs
@@ -3,10 +3,10 @@
namespace Braintrust.JsonConverters
{
///
- public sealed class EvalStatusPageThemeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class ProjectAutomationConfigVariant2CredentialsVariant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Braintrust.EvalStatusPageTheme Read(
+ public override global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class EvalStatusPageThemeJsonConverter : global::System.Text.Json.
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Braintrust.EvalStatusPageThemeExtensions.ToEnum(stringValue) ?? default;
+ return global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class EvalStatusPageThemeJsonConverter : global::System.Text.Json.
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Braintrust.EvalStatusPageTheme)numValue;
+ return (global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Braintrust.EvalStatusPageTheme);
+ return default(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class EvalStatusPageThemeJsonConverter : global::System.Text.Json.
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Braintrust.EvalStatusPageTheme value,
+ global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Braintrust.EvalStatusPageThemeExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant2TypeNullable.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant2TypeNullable.g.cs
new file mode 100644
index 0000000..854be5d
--- /dev/null
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant2TypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Braintrust.JsonConverters
+{
+ ///
+ public sealed class ProjectAutomationConfigVariant2CredentialsVariant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type? 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.ProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type? 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.ProjectAutomationConfigVariant2CredentialsVariant2TypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ViewOptions.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ViewOptions.g.cs
index ce726fd..5fe800d 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ViewOptions.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonConverters.ViewOptions.g.cs
@@ -50,6 +50,7 @@ public class ViewOptionsJsonConverter : global::System.Text.Json.Serialization.J
var __score1 = 0;
if (__jsonProps.Contains("chartAnnotations")) __score1++;
if (__jsonProps.Contains("chartHeight")) __score1++;
+ if (__jsonProps.Contains("cluster")) __score1++;
if (__jsonProps.Contains("columnOrder")) __score1++;
if (__jsonProps.Contains("columnSizing")) __score1++;
if (__jsonProps.Contains("columnVisibility")) __score1++;
@@ -64,6 +65,7 @@ public class ViewOptionsJsonConverter : global::System.Text.Json.Serialization.J
if (__jsonProps.Contains("symbolGrouping.value")) __score1++;
if (__jsonProps.Contains("tallGroupRows")) __score1++;
if (__jsonProps.Contains("timeRangeFilter")) __score1++;
+ if (__jsonProps.Contains("topicMapReportKey")) __score1++;
if (__jsonProps.Contains("xAxis")) __score1++;
if (__jsonProps.Contains("xAxis.type")) __score1++;
if (__jsonProps.Contains("xAxis.value")) __score1++;
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs
index 33cd9e4..e2577c8 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContext.g.cs
@@ -257,18 +257,6 @@ namespace Braintrust
typeof(global::Braintrust.JsonConverters.PermissionNullableJsonConverter),
- typeof(global::Braintrust.JsonConverters.RetentionObjectTypeJsonConverter),
-
- typeof(global::Braintrust.JsonConverters.RetentionObjectTypeNullableJsonConverter),
-
- typeof(global::Braintrust.JsonConverters.TopicMapFunctionAutomationFunctionVariant2FunctionTypeJsonConverter),
-
- typeof(global::Braintrust.JsonConverters.TopicMapFunctionAutomationFunctionVariant2FunctionTypeNullableJsonConverter),
-
- typeof(global::Braintrust.JsonConverters.TopicMapFunctionAutomationFunctionVariant2GlobalTypeJsonConverter),
-
- typeof(global::Braintrust.JsonConverters.TopicMapFunctionAutomationFunctionVariant2GlobalTypeNullableJsonConverter),
-
typeof(global::Braintrust.JsonConverters.SpanScopeTypeJsonConverter),
typeof(global::Braintrust.JsonConverters.SpanScopeTypeNullableJsonConverter),
@@ -281,6 +269,18 @@ namespace Braintrust
typeof(global::Braintrust.JsonConverters.GroupScopeTypeNullableJsonConverter),
+ typeof(global::Braintrust.JsonConverters.RetentionObjectTypeJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.RetentionObjectTypeNullableJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.TopicMapFunctionAutomationFunctionVariant2FunctionTypeJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.TopicMapFunctionAutomationFunctionVariant2FunctionTypeNullableJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.TopicMapFunctionAutomationFunctionVariant2GlobalTypeJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.TopicMapFunctionAutomationFunctionVariant2GlobalTypeNullableJsonConverter),
+
typeof(global::Braintrust.JsonConverters.TopicAutomationDataScopeVariant1TypeJsonConverter),
typeof(global::Braintrust.JsonConverters.TopicAutomationDataScopeVariant1TypeNullableJsonConverter),
@@ -337,9 +337,13 @@ namespace Braintrust
typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant2FormatNullableJsonConverter),
- typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsTypeJsonConverter),
+ typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant1TypeJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant1TypeNullableJsonConverter),
- typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsTypeNullableJsonConverter),
+ typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant2TypeJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant2CredentialsVariant2TypeNullableJsonConverter),
typeof(global::Braintrust.JsonConverters.ProjectAutomationConfigVariant3EventTypeJsonConverter),
@@ -389,9 +393,13 @@ namespace Braintrust
typeof(global::Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2FormatNullableJsonConverter),
- typeof(global::Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsTypeJsonConverter),
+ typeof(global::Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant1TypeJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant1TypeNullableJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant2TypeJsonConverter),
- typeof(global::Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsTypeNullableJsonConverter),
+ typeof(global::Braintrust.JsonConverters.CreateProjectAutomationConfigVariant2CredentialsVariant2TypeNullableJsonConverter),
typeof(global::Braintrust.JsonConverters.CreateProjectAutomationConfigVariant3EventTypeJsonConverter),
@@ -441,9 +449,13 @@ namespace Braintrust
typeof(global::Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2FormatNullableJsonConverter),
- typeof(global::Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsTypeJsonConverter),
+ typeof(global::Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant1TypeJsonConverter),
- typeof(global::Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsTypeNullableJsonConverter),
+ typeof(global::Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant1TypeNullableJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant2TypeJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.PatchProjectAutomationConfigVariant2CredentialsVariant2TypeNullableJsonConverter),
typeof(global::Braintrust.JsonConverters.PatchProjectAutomationConfigVariant3EventTypeJsonConverter),
@@ -469,14 +481,6 @@ namespace Braintrust
typeof(global::Braintrust.JsonConverters.OnlineScoreConfigScorerVariant2GlobalTypeNullableJsonConverter),
- typeof(global::Braintrust.JsonConverters.EvalStatusPageThemeJsonConverter),
-
- typeof(global::Braintrust.JsonConverters.EvalStatusPageThemeNullableJsonConverter),
-
- typeof(global::Braintrust.JsonConverters.EvalStatusPageConfigSortOrderJsonConverter),
-
- typeof(global::Braintrust.JsonConverters.EvalStatusPageConfigSortOrderNullableJsonConverter),
-
typeof(global::Braintrust.JsonConverters.CodeBundleRuntimeContextRuntimeJsonConverter),
typeof(global::Braintrust.JsonConverters.CodeBundleRuntimeContextRuntimeNullableJsonConverter),
@@ -849,6 +853,10 @@ namespace Braintrust
typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
+ typeof(global::Braintrust.JsonConverters.AnyOfJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
+
typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
@@ -857,6 +865,10 @@ namespace Braintrust
typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
+ typeof(global::Braintrust.JsonConverters.AnyOfJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
+
typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
@@ -865,6 +877,10 @@ namespace Braintrust
typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
+ typeof(global::Braintrust.JsonConverters.AnyOfJsonConverter),
+
+ typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
+
typeof(global::Braintrust.JsonConverters.OneOfJsonConverter),
typeof(global::Braintrust.JsonConverters.AllOfJsonConverter?>),
@@ -1003,8 +1019,11 @@ namespace Braintrust
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.RepoInfo))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.Experiment))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ExperimentInternalMetadata))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateExperiment))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateExperimentInternalMetadata))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchExperiment))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchExperimentInternalMetadata))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.InsertExperimentEvent))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.InsertExperimentEventMetadata))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.InsertExperimentEventMetrics))]
@@ -1179,6 +1198,12 @@ namespace Braintrust
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AclBatchUpdateRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.User))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.SpanScope))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.SpanScopeType), TypeInfoPropertyName = "SpanScopeType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TraceScope))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TraceScopeType), TypeInfoPropertyName = "TraceScopeType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GroupScope))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GroupScopeType), TypeInfoPropertyName = "GroupScopeType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.RetentionObjectType), TypeInfoPropertyName = "RetentionObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicMapFunctionAutomation))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.AllOf?>), TypeInfoPropertyName = "TopicMapFunctionAutomationFunctionVariant2Global_31dc6848fbb9ed5d")]
@@ -1187,12 +1212,6 @@ namespace Braintrust
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicMapFunctionAutomationFunctionVariant2FunctionType), TypeInfoPropertyName = "TopicMapFunctionAutomationFunctionVariant2FunctionType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicMapFunctionAutomationFunctionVariant2Global))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicMapFunctionAutomationFunctionVariant2GlobalType), TypeInfoPropertyName = "TopicMapFunctionAutomationFunctionVariant2GlobalType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.SpanScope))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.SpanScopeType), TypeInfoPropertyName = "SpanScopeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TraceScope))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TraceScopeType), TypeInfoPropertyName = "TraceScopeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GroupScope))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GroupScopeType), TypeInfoPropertyName = "GroupScopeType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicAutomationDataScope), TypeInfoPropertyName = "TopicAutomationDataScope2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicAutomationDataScopeVariant1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.TopicAutomationDataScopeVariant1Type), TypeInfoPropertyName = "TopicAutomationDataScopeVariant1Type2")]
@@ -1232,8 +1251,11 @@ namespace Braintrust
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant3))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant3Type), TypeInfoPropertyName = "ProjectAutomationConfigVariant2ExportDefinitionVariant3Type2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant2Format), TypeInfoPropertyName = "ProjectAutomationConfigVariant2Format2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant2Credentials))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant2CredentialsType), TypeInfoPropertyName = "ProjectAutomationConfigVariant2CredentialsType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "OneOfProjectAutomationConfigVariant2CredentialsVariant1ProjectAutomationConfigVariant2CredentialsVariant22")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type), TypeInfoPropertyName = "ProjectAutomationConfigVariant2CredentialsVariant1Type2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type), TypeInfoPropertyName = "ProjectAutomationConfigVariant2CredentialsVariant2Type2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant3))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant3EventType), TypeInfoPropertyName = "ProjectAutomationConfigVariant3EventType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.ProjectAutomationConfigVariant4))]
@@ -1262,8 +1284,11 @@ namespace Braintrust
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant3))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant3Type), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2ExportDefinitionVariant3Type2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant2Format), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2Format2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant2Credentials))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsType), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2CredentialsType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "OneOfCreateProjectAutomationConfigVariant2CredentialsVariant1CreateProjectAutomationConfigVariant2CredentialsVariant22")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2CredentialsVariant1Type2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant2CredentialsVariant2Type2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant3))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant3EventType), TypeInfoPropertyName = "CreateProjectAutomationConfigVariant3EventType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateProjectAutomationConfigVariant4))]
@@ -1292,8 +1317,11 @@ namespace Braintrust
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant3))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant3Type), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2ExportDefinitionVariant3Type2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant2Format), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2Format2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant2Credentials))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsType), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2CredentialsType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.OneOf), TypeInfoPropertyName = "OneOfPatchProjectAutomationConfigVariant2CredentialsVariant1PatchProjectAutomationConfigVariant2CredentialsVariant22")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2CredentialsVariant1Type2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant2CredentialsVariant2Type2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant3))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant3EventType), TypeInfoPropertyName = "PatchProjectAutomationConfigVariant3EventType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchProjectAutomationConfigVariant4))]
@@ -1324,12 +1352,6 @@ namespace Braintrust
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.SpanIFrame))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateSpanIFrame))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchSpanIFrame))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.EvalStatusPageTheme), TypeInfoPropertyName = "EvalStatusPageTheme2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.EvalStatusPageConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.EvalStatusPageConfigSortOrder), TypeInfoPropertyName = "EvalStatusPageConfigSortOrder2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.EvalStatusPage))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CreateEvalStatusPage))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.PatchEvalStatusPage))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CodeBundle))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CodeBundleRuntimeContext))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.CodeBundleRuntimeContextRuntime), TypeInfoPropertyName = "CodeBundleRuntimeContextRuntime2")]
@@ -1614,8 +1636,6 @@ namespace Braintrust
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GetSpanIframeResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GetEvalStatusPageResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GetFunctionResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Braintrust.GetViewResponse))]
@@ -1704,7 +1724,6 @@ namespace Braintrust
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
diff --git a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs
index f8451e7..f249c47 100644
--- a/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs
+++ b/src/libs/Braintrust/Generated/Braintrust.JsonSerializerContextTypes.g.cs
@@ -352,2475 +352,2483 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Braintrust.CreateExperiment? Type81 { get; set; }
+ public global::Braintrust.ExperimentInternalMetadata? Type81 { get; set; }
///
///
///
- public global::Braintrust.PatchExperiment? Type82 { get; set; }
+ public global::Braintrust.CreateExperiment? Type82 { get; set; }
///
///
///
- public global::Braintrust.InsertExperimentEvent? Type83 { get; set; }
+ public global::Braintrust.CreateExperimentInternalMetadata? Type83 { get; set; }
///
///
///
- public global::Braintrust.InsertExperimentEventMetadata? Type84 { get; set; }
+ public global::Braintrust.PatchExperiment? Type84 { get; set; }
///
///
///
- public global::Braintrust.InsertExperimentEventMetrics? Type85 { get; set; }
+ public global::Braintrust.PatchExperimentInternalMetadata? Type85 { get; set; }
///
///
///
- public global::Braintrust.InsertExperimentEventContext? Type86 { get; set; }
+ public global::Braintrust.InsertExperimentEvent? Type86 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type87 { get; set; }
+ public global::Braintrust.InsertExperimentEventMetadata? Type87 { get; set; }
///
///
///
- public global::Braintrust.InsertExperimentEventArrayDeleteItem? Type88 { get; set; }
+ public global::Braintrust.InsertExperimentEventMetrics? Type88 { get; set; }
///
///
///
- public global::Braintrust.InsertExperimentEventRequest? Type89 { get; set; }
+ public global::Braintrust.InsertExperimentEventContext? Type89 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type90 { get; set; }
+ public global::System.Collections.Generic.IList? Type90 { get; set; }
///
///
///
- public global::Braintrust.ExperimentEvent? Type91 { get; set; }
+ public global::Braintrust.InsertExperimentEventArrayDeleteItem? Type91 { get; set; }
///
///
///
- public global::Braintrust.ExperimentEventMetadata? Type92 { get; set; }
+ public global::Braintrust.InsertExperimentEventRequest? Type92 { get; set; }
///
///
///
- public global::Braintrust.ExperimentEventMetrics? Type93 { get; set; }
+ public global::System.Collections.Generic.IList? Type93 { get; set; }
///
///
///
- public global::Braintrust.ExperimentEventContext? Type94 { get; set; }
+ public global::Braintrust.ExperimentEvent? Type94 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary>? Type95 { get; set; }
+ public global::Braintrust.ExperimentEventMetadata? Type95 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type96 { get; set; }
+ public global::Braintrust.ExperimentEventMetrics? Type96 { get; set; }
///
///
///
- public global::Braintrust.ExperimentEventClassification? Type97 { get; set; }
+ public global::Braintrust.ExperimentEventContext? Type97 { get; set; }
///
///
///
- public global::Braintrust.FetchExperimentEventsResponse? Type98 { get; set; }
+ public global::System.Collections.Generic.Dictionary>? Type98 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type99 { get; set; }
+ public global::System.Collections.Generic.IList? Type99 { get; set; }
///
///
///
- public global::Braintrust.FeedbackExperimentItem? Type100 { get; set; }
+ public global::Braintrust.ExperimentEventClassification? Type100 { get; set; }
///
///
///
- public global::Braintrust.FeedbackExperimentItemSource? Type101 { get; set; }
+ public global::Braintrust.FetchExperimentEventsResponse? Type101 { get; set; }
///
///
///
- public global::Braintrust.FeedbackExperimentEventRequest? Type102 { get; set; }
+ public global::System.Collections.Generic.IList? Type102 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type103 { get; set; }
+ public global::Braintrust.FeedbackExperimentItem? Type103 { get; set; }
///
///
///
- public global::Braintrust.ScoreSummary? Type104 { get; set; }
+ public global::Braintrust.FeedbackExperimentItemSource? Type104 { get; set; }
///
///
///
- public global::Braintrust.MetricSummary? Type105 { get; set; }
+ public global::Braintrust.FeedbackExperimentEventRequest? Type105 { get; set; }
///
///
///
- public global::Braintrust.SummarizeExperimentResponse? Type106 { get; set; }
+ public global::System.Collections.Generic.IList? Type106 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type107 { get; set; }
+ public global::Braintrust.ScoreSummary? Type107 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type108 { get; set; }
+ public global::Braintrust.MetricSummary? Type108 { get; set; }
///
///
///
- public global::Braintrust.Dataset? Type109 { get; set; }
+ public global::Braintrust.SummarizeExperimentResponse? Type109 { get; set; }
///
///
///
- public global::Braintrust.CreateDataset? Type110 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type110 { get; set; }
///
///
///
- public global::Braintrust.PatchDataset? Type111 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type111 { get; set; }
///
///
///
- public global::Braintrust.InsertDatasetEvent? Type112 { get; set; }
+ public global::Braintrust.Dataset? Type112 { get; set; }
///
///
///
- public global::Braintrust.InsertDatasetEventMetadata? Type113 { get; set; }
+ public global::Braintrust.CreateDataset? Type113 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type114 { get; set; }
+ public global::Braintrust.PatchDataset? Type114 { get; set; }
///
///
///
- public global::Braintrust.InsertDatasetEventArrayDeleteItem? Type115 { get; set; }
+ public global::Braintrust.InsertDatasetEvent? Type115 { get; set; }
///
///
///
- public global::Braintrust.InsertDatasetEventRequest? Type116 { get; set; }
+ public global::Braintrust.InsertDatasetEventMetadata? Type116 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type117 { get; set; }
+ public global::System.Collections.Generic.IList? Type117 { get; set; }
///
///
///
- public global::Braintrust.DatasetEvent? Type118 { get; set; }
+ public global::Braintrust.InsertDatasetEventArrayDeleteItem? Type118 { get; set; }
///
///
///
- public global::Braintrust.DatasetEventMetadata? Type119 { get; set; }
+ public global::Braintrust.InsertDatasetEventRequest? Type119 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary>? Type120 { get; set; }
+ public global::System.Collections.Generic.IList? Type120 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type121 { get; set; }
+ public global::Braintrust.DatasetEvent? Type121 { get; set; }
///
///
///
- public global::Braintrust.DatasetEventClassification? Type122 { get; set; }
+ public global::Braintrust.DatasetEventMetadata? Type122 { get; set; }
///
///
///
- public global::Braintrust.FetchDatasetEventsResponse? Type123 { get; set; }
+ public global::System.Collections.Generic.Dictionary>? Type123 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type124 { get; set; }
+ public global::System.Collections.Generic.IList? Type124 { get; set; }
///
///
///
- public global::Braintrust.FeedbackDatasetItem? Type125 { get; set; }
+ public global::Braintrust.DatasetEventClassification? Type125 { get; set; }
///
///
///
- public global::Braintrust.FeedbackDatasetItemSource? Type126 { get; set; }
+ public global::Braintrust.FetchDatasetEventsResponse? Type126 { get; set; }
///
///
///
- public global::Braintrust.FeedbackDatasetEventRequest? Type127 { get; set; }
+ public global::System.Collections.Generic.IList? Type127 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type128 { get; set; }
+ public global::Braintrust.FeedbackDatasetItem? Type128 { get; set; }
///
///
///
- public global::Braintrust.DataSummary? Type129 { get; set; }
+ public global::Braintrust.FeedbackDatasetItemSource? Type129 { get; set; }
///
///
///
- public global::Braintrust.SummarizeDatasetResponse? Type130 { get; set; }
+ public global::Braintrust.FeedbackDatasetEventRequest? Type130 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartText? Type131 { get; set; }
+ public global::System.Collections.Generic.IList? Type131 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartTextType? Type132 { get; set; }
+ public global::Braintrust.DataSummary? Type132 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartTextCacheControl? Type133 { get; set; }
+ public global::Braintrust.SummarizeDatasetResponse? Type133 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartTextCacheControlType? Type134 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartText? Type134 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartTextWithTitle? Type135 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartTextType? Type135 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartTextWithTitleType? Type136 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartTextCacheControl? Type136 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartTextWithTitleCacheControl? Type137 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartTextCacheControlType? Type137 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartTextWithTitleCacheControlType? Type138 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartTextWithTitle? Type138 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartImageWithTitle? Type139 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartTextWithTitleType? Type139 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartImageWithTitleImageUrl? Type140 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartTextWithTitleCacheControl? Type140 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartImageWithTitleImageUrlDetailAuto? Type141 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartTextWithTitleCacheControlType? Type141 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartImageWithTitleImageUrlDetailLow? Type142 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartImageWithTitle? Type142 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartImageWithTitleImageUrlDetailHigh? Type143 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartImageWithTitleImageUrl? Type143 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartImageWithTitleType? Type144 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartImageWithTitleImageUrlDetailAuto? Type144 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartFileFile? Type145 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartImageWithTitleImageUrlDetailLow? Type145 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartFileWithTitle? Type146 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartImageWithTitleImageUrlDetailHigh? Type146 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPartFileWithTitleType? Type147 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartImageWithTitleType? Type147 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionContentPart? Type148 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartFileFile? Type148 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageToolCall? Type149 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartFileWithTitle? Type149 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageToolCallFunction? Type150 { get; set; }
+ public global::Braintrust.ChatCompletionContentPartFileWithTitleType? Type150 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageToolCallType? Type151 { get; set; }
+ public global::Braintrust.ChatCompletionContentPart? Type151 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageReasoning? Type152 { get; set; }
+ public global::Braintrust.ChatCompletionMessageToolCall? Type152 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParam? Type153 { get; set; }
+ public global::Braintrust.ChatCompletionMessageToolCallFunction? Type153 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamSystem? Type154 { get; set; }
+ public global::Braintrust.ChatCompletionMessageToolCallType? Type154 { get; set; }
///
///
///
- public global::Braintrust.AnyOf>? Type155 { get; set; }
+ public global::Braintrust.ChatCompletionMessageReasoning? Type155 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type156 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParam? Type156 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamSystemRole? Type157 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamSystem? Type157 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamUser? Type158 { get; set; }
+ public global::Braintrust.AnyOf>? Type158 { get; set; }
///
///
///
- public global::Braintrust.AnyOf>? Type159 { get; set; }
+ public global::System.Collections.Generic.IList? Type159 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type160 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamSystemRole? Type160 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamUserRole? Type161 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamUser? Type161 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamAssistant? Type162 { get; set; }
+ public global::Braintrust.AnyOf>? Type162 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamAssistantRole? Type163 { get; set; }
+ public global::System.Collections.Generic.IList? Type163 { get; set; }
///
///
///
- public global::Braintrust.AnyOf, object>? Type164 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamUserRole? Type164 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamAssistantFunctionCall? Type165 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamAssistant? Type165 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type166 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamAssistantRole? Type166 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type167 { get; set; }
+ public global::Braintrust.AnyOf, object>? Type167 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamTool? Type168 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamAssistantFunctionCall? Type168 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamToolRole? Type169 { get; set; }
+ public global::System.Collections.Generic.IList? Type169 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamFunction? Type170 { get; set; }
+ public global::System.Collections.Generic.IList? Type170 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamFunctionRole? Type171 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamTool? Type171 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamDeveloper? Type172 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamToolRole? Type172 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamDeveloperRole? Type173 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamFunction? Type173 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamFallback? Type174 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamFunctionRole? Type174 { get; set; }
///
///
///
- public global::Braintrust.ChatCompletionMessageParamFallbackRole? Type175 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamDeveloper? Type175 { get; set; }
///
///
///
- public global::Braintrust.PromptBlockDataNullish? Type176 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamDeveloperRole? Type176 { get; set; }
///
///
///
- public global::Braintrust.PromptBlockDataNullishChat? Type177 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamFallback? Type177 { get; set; }
///
///
///
- public global::Braintrust.PromptBlockDataNullishChatType? Type178 { get; set; }
+ public global::Braintrust.ChatCompletionMessageParamFallbackRole? Type178 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type179 { get; set; }
+ public global::Braintrust.PromptBlockDataNullish? Type179 { get; set; }
///
///
///
- public global::Braintrust.PromptBlockDataNullishCompletion? Type180 { get; set; }
+ public global::Braintrust.PromptBlockDataNullishChat? Type180 { get; set; }
///
///
///
- public global::Braintrust.PromptBlockDataNullishCompletionType? Type181 { get; set; }
+ public global::Braintrust.PromptBlockDataNullishChatType? Type181 { get; set; }
///
///
///
- public global::Braintrust.ResponseFormatJsonSchema? Type182 { get; set; }
+ public global::System.Collections.Generic.IList? Type182 { get; set; }
///
///
///
- public global::Braintrust.AnyOf, string>? Type183 { get; set; }
+ public global::Braintrust.PromptBlockDataNullishCompletion? Type183 { get; set; }
///
///
///
- public global::Braintrust.ResponseFormatNullish? Type184 { get; set; }
+ public global::Braintrust.PromptBlockDataNullishCompletionType? Type184 { get; set; }
///
///
///
- public global::Braintrust.ResponseFormatNullishJsonObject? Type185 { get; set; }
+ public global::Braintrust.ResponseFormatJsonSchema? Type185 { get; set; }
///
///
///
- public global::Braintrust.ResponseFormatNullishJsonObjectType? Type186 { get; set; }
+ public global::Braintrust.AnyOf, string>? Type186 { get; set; }
///
///
///
- public global::Braintrust.ResponseFormatNullishJsonSchema? Type187 { get; set; }
+ public global::Braintrust.ResponseFormatNullish? Type187 { get; set; }
///
///
///
- public global::Braintrust.ResponseFormatNullishJsonSchemaType? Type188 { get; set; }
+ public global::Braintrust.ResponseFormatNullishJsonObject? Type188 { get; set; }
///
///
///
- public global::Braintrust.ResponseFormatNullishText? Type189 { get; set; }
+ public global::Braintrust.ResponseFormatNullishJsonObjectType? Type189 { get; set; }
///
///
///
- public global::Braintrust.ResponseFormatNullishTextType? Type190 { get; set; }
+ public global::Braintrust.ResponseFormatNullishJsonSchema? Type190 { get; set; }
///
///
///
- public global::Braintrust.ModelParams? Type191 { get; set; }
+ public global::Braintrust.ResponseFormatNullishJsonSchemaType? Type191 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParams? Type192 { get; set; }
+ public global::Braintrust.ResponseFormatNullishText? Type192 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceAuto? Type193 { get; set; }
+ public global::Braintrust.ResponseFormatNullishTextType? Type193 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceNone? Type194 { get; set; }
+ public global::Braintrust.ModelParams? Type194 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceRequired? Type195 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParams? Type195 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceFunction? Type196 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceAuto? Type196 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceFunctionType? Type197 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceNone? Type197 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceFunctionFunction? Type198 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceRequired? Type198 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsFunctionCallAuto? Type199 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceFunction? Type199 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsFunctionCallNone? Type200 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceFunctionType? Type200 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsFunctionCallFunction? Type201 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsToolChoiceFunctionFunction? Type201 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsReasoningEffort? Type202 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsFunctionCallAuto? Type202 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsOpenAIModelParamsVerbosity? Type203 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsFunctionCallNone? Type203 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsAnthropicModelParams? Type204 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsFunctionCallFunction? Type204 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsGoogleModelParams? Type205 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsReasoningEffort? Type205 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsWindowAIModelParams? Type206 { get; set; }
+ public global::Braintrust.ModelParamsOpenAIModelParamsVerbosity? Type206 { get; set; }
///
///
///
- public global::Braintrust.ModelParamsJsCompletionParams? Type207 { get; set; }
+ public global::Braintrust.ModelParamsAnthropicModelParams? Type207 { get; set; }
///
///
///
- public global::Braintrust.PromptOptionsNullish? Type208 { get; set; }
+ public global::Braintrust.ModelParamsGoogleModelParams? Type208 { get; set; }
///
///
///
- public global::Braintrust.PromptParserNullish? Type209 { get; set; }
+ public global::Braintrust.ModelParamsWindowAIModelParams? Type209 { get; set; }
///
///
///
- public global::Braintrust.PromptParserNullishType? Type210 { get; set; }
+ public global::Braintrust.ModelParamsJsCompletionParams? Type210 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type211 { get; set; }
+ public global::Braintrust.PromptOptionsNullish? Type211 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullish? Type212 { get; set; }
+ public global::Braintrust.PromptParserNullish? Type212 { get; set; }
///
///
///
- public global::Braintrust.AnyOf? Type213 { get; set; }
+ public global::Braintrust.PromptParserNullishType? Type213 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullishToolFunctionVariant2Function? Type214 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type214 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullishToolFunctionVariant2FunctionType? Type215 { get; set; }
+ public global::Braintrust.PromptDataNullish? Type215 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullishToolFunctionVariant2Global? Type216 { get; set; }
+ public global::Braintrust.AnyOf? Type216 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullishToolFunctionVariant2GlobalType? Type217 { get; set; }
+ public global::Braintrust.PromptDataNullishToolFunctionVariant2Function? Type217 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullishTemplateFormat? Type218 { get; set; }
+ public global::Braintrust.PromptDataNullishToolFunctionVariant2FunctionType? Type218 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullishMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitions? Type219 { get; set; }
+ public global::Braintrust.PromptDataNullishToolFunctionVariant2Global? Type219 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullishMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitionsType? Type220 { get; set; }
+ public global::Braintrust.PromptDataNullishToolFunctionVariant2GlobalType? Type220 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullishMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers? Type221 { get; set; }
+ public global::Braintrust.PromptDataNullishTemplateFormat? Type221 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullishMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServersType? Type222 { get; set; }
+ public global::Braintrust.PromptDataNullishMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitions? Type222 { get; set; }
///
///
///
- public global::Braintrust.PromptDataNullishOrigin? Type223 { get; set; }
+ public global::Braintrust.PromptDataNullishMcpMcpServerIdThisIsUsedForProjectLevelMcpServerDefinitionsType? Type223 { get; set; }
///
///
///
- public global::Braintrust.FunctionTypeEnumNullish? Type224 { get; set; }
+ public global::Braintrust.PromptDataNullishMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServers? Type224 { get; set; }
///
///
///
- public global::Braintrust.Prompt? Type225 { get; set; }
+ public global::Braintrust.PromptDataNullishMcpMcpServerUrlThisIsUsedForInlineDefinitionsOfMcpServersType? Type225 { get; set; }
///
///
///
- public global::Braintrust.PromptLogId? Type226 { get; set; }
+ public global::Braintrust.PromptDataNullishOrigin? Type226 { get; set; }
///
///
///
- public global::Braintrust.CreatePrompt? Type227 { get; set; }
+ public global::Braintrust.FunctionTypeEnumNullish? Type227 { get; set; }
///
///
///
- public global::Braintrust.PatchPrompt? Type228 { get; set; }
+ public global::Braintrust.Prompt? Type228 { get; set; }
///
///
///
- public global::Braintrust.Permission? Type229 { get; set; }
+ public global::Braintrust.PromptLogId? Type229 { get; set; }
///
///
///
- public global::Braintrust.Role? Type230 { get; set; }
+ public global::Braintrust.CreatePrompt? Type230 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type231 { get; set; }
+ public global::Braintrust.PatchPrompt? Type231 { get; set; }
///
///
///
- public global::Braintrust.RoleMemberPermission? Type232 { get; set; }
+ public global::Braintrust.Permission? Type232 { get; set; }
///
///
///
- public global::Braintrust.CreateRole? Type233 { get; set; }
+ public global::Braintrust.Role? Type233 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type234 { get; set; }
+ public global::System.Collections.Generic.IList? Type234 { get; set; }
///
///
///
- public global::Braintrust.CreateRoleMemberPermission? Type235 { get; set; }
+ public global::Braintrust.RoleMemberPermission? Type235 { get; set; }
///
///
///
- public global::Braintrust.PatchRole? Type236 { get; set; }
+ public global::Braintrust.CreateRole? Type236 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type237 { get; set; }
+ public global::System.Collections.Generic.IList? Type237 { get; set; }
///
///
///
- public global::Braintrust.PatchRoleAddMemberPermission? Type238 { get; set; }
+ public global::Braintrust.CreateRoleMemberPermission? Type238 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type239 { get; set; }
+ public global::Braintrust.PatchRole? Type239 { get; set; }
///
///
///
- public global::Braintrust.PatchRoleRemoveMemberPermission? Type240 { get; set; }
+ public global::System.Collections.Generic.IList? Type240 { get; set; }
///
///
///
- public global::Braintrust.Group? Type241 { get; set; }
+ public global::Braintrust.PatchRoleAddMemberPermission? Type241 { get; set; }
///
///
///
- public global::Braintrust.CreateGroup? Type242 { get; set; }
+ public global::System.Collections.Generic.IList? Type242 { get; set; }
///
///
///
- public global::Braintrust.PatchGroup? Type243 { get; set; }
+ public global::Braintrust.PatchRoleRemoveMemberPermission? Type243 { get; set; }
///
///
///
- public global::Braintrust.Acl? Type244 { get; set; }
+ public global::Braintrust.Group? Type244 { get; set; }
///
///
///
- public global::Braintrust.AclItem? Type245 { get; set; }
+ public global::Braintrust.CreateGroup? Type245 { get; set; }
///
///
///
- public global::Braintrust.AclBatchUpdateResponse? Type246 { get; set; }
+ public global::Braintrust.PatchGroup? Type246 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type247 { get; set; }
+ public global::Braintrust.Acl? Type247 { get; set; }
///
///
///
- public global::Braintrust.AclBatchUpdateRequest? Type248 { get; set; }
+ public global::Braintrust.AclItem? Type248 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type249 { get; set; }
+ public global::Braintrust.AclBatchUpdateResponse? Type249 { get; set; }
///
///
///
- public global::Braintrust.User? Type250 { get; set; }
+ public global::System.Collections.Generic.IList? Type250 { get; set; }
///
///
///
- public global::Braintrust.RetentionObjectType? Type251 { get; set; }
+ public global::Braintrust.AclBatchUpdateRequest? Type251 { get; set; }
///
///
///
- public global::Braintrust.TopicMapFunctionAutomation? Type252 { get; set; }
+ public global::System.Collections.Generic.IList? Type252 { get; set; }
///
///
///
- public global::Braintrust.AnyOf? Type253 { get; set; }
+ public global::Braintrust.User? Type253 { get; set; }
///
///
///
- public global::Braintrust.TopicMapFunctionAutomationFunctionVariant2Function? Type254 { get; set; }
+ public global::Braintrust.SpanScope? Type254 { get; set; }
///
///
///
- public global::Braintrust.TopicMapFunctionAutomationFunctionVariant2FunctionType? Type255 { get; set; }
+ public global::Braintrust.SpanScopeType? Type255 { get; set; }
///
///
///
- public global::Braintrust.TopicMapFunctionAutomationFunctionVariant2Global? Type256 { get; set; }
+ public global::Braintrust.TraceScope? Type256 { get; set; }
///
///
///
- public global::Braintrust.TopicMapFunctionAutomationFunctionVariant2GlobalType? Type257 { get; set; }
+ public global::Braintrust.TraceScopeType? Type257 { get; set; }
///
///
///
- public global::Braintrust.SpanScope? Type258 { get; set; }
+ public global::Braintrust.GroupScope? Type258 { get; set; }
///
///
///
- public global::Braintrust.SpanScopeType? Type259 { get; set; }
+ public global::Braintrust.GroupScopeType? Type259 { get; set; }
///
///
///
- public global::Braintrust.TraceScope? Type260 { get; set; }
+ public global::Braintrust.RetentionObjectType? Type260 { get; set; }
///
///
///
- public global::Braintrust.TraceScopeType? Type261 { get; set; }
+ public global::Braintrust.TopicMapFunctionAutomation? Type261 { get; set; }
///
///
///
- public global::Braintrust.GroupScope? Type262 { get; set; }
+ public global::Braintrust.AnyOf? Type262 { get; set; }
///
///
///
- public global::Braintrust.GroupScopeType? Type263 { get; set; }
+ public global::Braintrust.TopicMapFunctionAutomationFunctionVariant2Function? Type263 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationDataScope? Type264 { get; set; }
+ public global::Braintrust.TopicMapFunctionAutomationFunctionVariant2FunctionType? Type264 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationDataScopeVariant1? Type265 { get; set; }
+ public global::Braintrust.TopicMapFunctionAutomationFunctionVariant2Global? Type265 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationDataScopeVariant1Type? Type266 { get; set; }
+ public global::Braintrust.TopicMapFunctionAutomationFunctionVariant2GlobalType? Type266 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationDataScopeVariant2? Type267 { get; set; }
+ public global::Braintrust.TopicAutomationDataScope? Type267 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationDataScopeVariant2Type? Type268 { get; set; }
+ public global::Braintrust.TopicAutomationDataScopeVariant1? Type268 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationDataScopeVariant3? Type269 { get; set; }
+ public global::Braintrust.TopicAutomationDataScopeVariant1Type? Type269 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationDataScopeVariant3Type? Type270 { get; set; }
+ public global::Braintrust.TopicAutomationDataScopeVariant2? Type270 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationConfig? Type271 { get; set; }
+ public global::Braintrust.TopicAutomationDataScopeVariant2Type? Type271 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationConfigEventType? Type272 { get; set; }
+ public global::Braintrust.TopicAutomationDataScopeVariant3? Type272 { get; set; }
///
///
///
- public global::Braintrust.AnyOf? Type273 { get; set; }
+ public global::Braintrust.TopicAutomationDataScopeVariant3Type? Type273 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationConfigFacetFunctionVariant2Function? Type274 { get; set; }
+ public global::Braintrust.TopicAutomationConfig? Type274 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationConfigFacetFunctionVariant2FunctionType? Type275 { get; set; }
+ public global::Braintrust.TopicAutomationConfigEventType? Type275 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationConfigFacetFunctionVariant2Global? Type276 { get; set; }
+ public global::Braintrust.AnyOf? Type276 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationConfigFacetFunctionVariant2GlobalType? Type277 { get; set; }
+ public global::Braintrust.TopicAutomationConfigFacetFunctionVariant2Function? Type277 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type278 { get; set; }
+ public global::Braintrust.TopicAutomationConfigFacetFunctionVariant2FunctionType? Type278 { get; set; }
///
///
///
- public global::Braintrust.AnyOf? Type279 { get; set; }
+ public global::Braintrust.TopicAutomationConfigFacetFunctionVariant2Global? Type279 { get; set; }
///
///
///
- public global::Braintrust.AnyOf? Type280 { get; set; }
+ public global::Braintrust.TopicAutomationConfigFacetFunctionVariant2GlobalType? Type280 { get; set; }
///
///
///
- public global::Braintrust.TopicAutomationConfigBackfillTimeRange? Type281 { get; set; }
+ public global::System.Collections.Generic.IList? Type281 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomation? Type282 { get; set; }
+ public global::Braintrust.AnyOf? Type282 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant1? Type283 { get; set; }
+ public global::Braintrust.AnyOf? Type283 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant1EventType? Type284 { get; set; }
+ public global::Braintrust.TopicAutomationConfigBackfillTimeRange? Type284 { get; set; }
///
///
///
- public global::Braintrust.OneOf? Type285 { get; set; }
+ public global::Braintrust.ProjectAutomation? Type285 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant1? Type286 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant1? Type286 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant1Type? Type287 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant1EventType? Type287 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant2? Type288 { get; set; }
+ public global::Braintrust.OneOf? Type288 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant2Type? Type289 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant1? Type289 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2? Type290 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant1Type? Type290 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2EventType? Type291 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant2? Type291 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant1? Type292 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant1ActionVariant2Type? Type292 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type293 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2? Type293 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant2? Type294 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2EventType? Type294 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type295 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant1? Type295 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant3? Type296 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type296 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type297 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant2? Type297 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2Format? Type298 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type298 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2Credentials? Type299 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant3? Type299 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant2CredentialsType? Type300 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type300 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant3? Type301 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2Format? Type301 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant3EventType? Type302 { get; set; }
+ public global::Braintrust.OneOf? Type302 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant4? Type303 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1? Type303 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant4EventType? Type304 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant1Type? Type304 { get; set; }
///
///
///
- public global::Braintrust.OneOf? Type305 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2? Type305 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant4ActionVariant1? Type306 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant2CredentialsVariant2Type? Type306 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant4ActionVariant1Type? Type307 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant3? Type307 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant4ActionVariant2? Type308 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant3EventType? Type308 { get; set; }
///
///
///
- public global::Braintrust.ProjectAutomationConfigVariant4ActionVariant2Type? Type309 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant4? Type309 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomation? Type310 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant4EventType? Type310 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant1? Type311 { get; set; }
+ public global::Braintrust.OneOf? Type311 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant1EventType? Type312 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant4ActionVariant1? Type312 { get; set; }
///
///
///
- public global::Braintrust.OneOf? Type313 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant4ActionVariant1Type? Type313 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant1? Type314 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant4ActionVariant2? Type314 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant1Type? Type315 { get; set; }
+ public global::Braintrust.ProjectAutomationConfigVariant4ActionVariant2Type? Type315 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant2? Type316 { get; set; }
+ public global::Braintrust.CreateProjectAutomation? Type316 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant2Type? Type317 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant1? Type317 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2? Type318 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant1EventType? Type318 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2EventType? Type319 { get; set; }
+ public global::Braintrust.OneOf? Type319 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant1? Type320 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant1? Type320 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type321 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant1Type? Type321 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant2? Type322 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant2? Type322 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type323 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant1ActionVariant2Type? Type323 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant3? Type324 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2? Type324 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type325 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2EventType? Type325 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2Format? Type326 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant1? Type326 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2Credentials? Type327 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type327 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsType? Type328 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant2? Type328 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant3? Type329 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type329 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant3EventType? Type330 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant3? Type330 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant4? Type331 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type331 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant4EventType? Type332 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2Format? Type332 { get; set; }
///
///
///
- public global::Braintrust.OneOf? Type333 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1? Type333 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant4ActionVariant1? Type334 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant1Type? Type334 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant4ActionVariant1Type? Type335 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2? Type335 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant4ActionVariant2? Type336 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant2CredentialsVariant2Type? Type336 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectAutomationConfigVariant4ActionVariant2Type? Type337 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant3? Type337 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomation? Type338 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant3EventType? Type338 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant1? Type339 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant4? Type339 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant1EventType? Type340 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant4EventType? Type340 { get; set; }
///
///
///
- public global::Braintrust.OneOf? Type341 { get; set; }
+ public global::Braintrust.OneOf? Type341 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant1? Type342 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant4ActionVariant1? Type342 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant1Type? Type343 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant4ActionVariant1Type? Type343 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant2? Type344 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant4ActionVariant2? Type344 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant2Type? Type345 { get; set; }
+ public global::Braintrust.CreateProjectAutomationConfigVariant4ActionVariant2Type? Type345 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2? Type346 { get; set; }
+ public global::Braintrust.PatchProjectAutomation? Type346 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2EventType? Type347 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant1? Type347 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant1? Type348 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant1EventType? Type348 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type349 { get; set; }
+ public global::Braintrust.OneOf? Type349 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant2? Type350 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant1? Type350 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type351 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant1Type? Type351 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant3? Type352 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant2? Type352 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type353 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant1ActionVariant2Type? Type353 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2Format? Type354 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2? Type354 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2Credentials? Type355 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2EventType? Type355 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsType? Type356 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant1? Type356 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant3? Type357 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant1Type? Type357 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant3EventType? Type358 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant2? Type358 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant4? Type359 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant2Type? Type359 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant4EventType? Type360 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant3? Type360 { get; set; }
///
///
///
- public global::Braintrust.OneOf? Type361 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2ExportDefinitionVariant3Type? Type361 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant4ActionVariant1? Type362 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2Format? Type362 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant4ActionVariant1Type? Type363 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1? Type363 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant4ActionVariant2? Type364 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant1Type? Type364 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectAutomationConfigVariant4ActionVariant2Type? Type365 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2? Type365 { get; set; }
///
///
///
- public global::Braintrust.ProjectScoreCategory? Type366 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant2CredentialsVariant2Type? Type366 { get; set; }
///
///
///
- public global::Braintrust.ProjectScoreCategories? Type367 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant3? Type367 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type368 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant3EventType? Type368 { get; set; }
///
///
///
- public global::Braintrust.OnlineScoreConfig? Type369 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant4? Type369 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList?>>? Type370 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant4EventType? Type370 { get; set; }
///
///
///
- public global::Braintrust.AllOf?>? Type371 { get; set; }
+ public global::Braintrust.OneOf? Type371 { get; set; }
///
///
///
- public global::Braintrust.AnyOf? Type372 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant4ActionVariant1? Type372 { get; set; }
///
///
///
- public global::Braintrust.OnlineScoreConfigScorerVariant2Function? Type373 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant4ActionVariant1Type? Type373 { get; set; }
///
///
///
- public global::Braintrust.OnlineScoreConfigScorerVariant2FunctionType? Type374 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant4ActionVariant2? Type374 { get; set; }
///
///
///
- public global::Braintrust.OnlineScoreConfigScorerVariant2Global? Type375 { get; set; }
+ public global::Braintrust.PatchProjectAutomationConfigVariant4ActionVariant2Type? Type375 { get; set; }
///
///
///
- public global::Braintrust.OnlineScoreConfigScorerVariant2GlobalType? Type376 { get; set; }
+ public global::Braintrust.ProjectScoreCategory? Type376 { get; set; }
///
///
///
- public global::Braintrust.ProjectScoreConfig? Type377 { get; set; }
+ public global::Braintrust.ProjectScoreCategories? Type377 { get; set; }
///
///
///
- public global::Braintrust.ProjectScore? Type378 { get; set; }
+ public global::System.Collections.Generic.IList? Type378 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectScore? Type379 { get; set; }
+ public global::Braintrust.OnlineScoreConfig? Type379 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectScore? Type380 { get; set; }
+ public global::System.Collections.Generic.IList?>>? Type380 { get; set; }
///
///
///
- public global::Braintrust.ProjectTag? Type381 { get; set; }
+ public global::Braintrust.AllOf?>? Type381 { get; set; }
///
///
///
- public global::Braintrust.CreateProjectTag? Type382 { get; set; }
+ public global::Braintrust.AnyOf? Type382 { get; set; }
///
///
///
- public global::Braintrust.PatchProjectTag? Type383 { get; set; }
+ public global::Braintrust.OnlineScoreConfigScorerVariant2Function? Type383 { get; set; }
///
///
///
- public global::Braintrust.SpanIFrame? Type384 { get; set; }
+ public global::Braintrust.OnlineScoreConfigScorerVariant2FunctionType? Type384 { get; set; }
///
///
///
- public global::Braintrust.CreateSpanIFrame? Type385 { get; set; }
+ public global::Braintrust.OnlineScoreConfigScorerVariant2Global? Type385 { get; set; }
///
///
///
- public global::Braintrust.PatchSpanIFrame? Type386 { get; set; }
+ public global::Braintrust.OnlineScoreConfigScorerVariant2GlobalType? Type386 { get; set; }
///
///
///
- public global::Braintrust.EvalStatusPageTheme? Type387 { get; set; }
+ public global::Braintrust.ProjectScoreConfig? Type387 { get; set; }
///
///
///
- public global::Braintrust.EvalStatusPageConfig? Type388 { get; set; }
+ public global::Braintrust.ProjectScore? Type388 { get; set; }
///
///
///
- public global::Braintrust.EvalStatusPageConfigSortOrder? Type389 { get; set; }
+ public global::Braintrust.CreateProjectScore? Type389 { get; set; }
///
///
///
- public global::Braintrust.EvalStatusPage? Type390 { get; set; }
+ public global::Braintrust.PatchProjectScore? Type390 { get; set; }
///
///
///
- public global::Braintrust.CreateEvalStatusPage? Type391 { get; set; }
+ public global::Braintrust.ProjectTag? Type391 { get; set; }
///
///
///
- public global::Braintrust.PatchEvalStatusPage? Type392 { get; set; }
+ public global::Braintrust.CreateProjectTag? Type392 { get; set; }
///
///
///
- public global::Braintrust.CodeBundle? Type393 { get; set; }
+ public global::Braintrust.PatchProjectTag? Type393 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleRuntimeContext? Type394 { get; set; }
+ public global::Braintrust.SpanIFrame? Type394 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleRuntimeContextRuntime? Type395 { get; set; }
+ public global::Braintrust.CreateSpanIFrame? Type395 { get; set; }
///
///
///
- public global::Braintrust.AnyOf? Type396 { get; set; }
+ public global::Braintrust.PatchSpanIFrame? Type396 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationExperiment? Type397 { get; set; }
+ public global::Braintrust.CodeBundle? Type397 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationExperimentType? Type398 { get; set; }
+ public global::Braintrust.CodeBundleRuntimeContext? Type398 { get; set; }
///
///
///
- public global::Braintrust.AnyOf? Type399 { get; set; }
+ public global::Braintrust.CodeBundleRuntimeContextRuntime? Type399 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationExperimentPositionVariant1? Type400 { get; set; }
+ public global::Braintrust.AnyOf? Type400 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationExperimentPositionVariant1Type? Type401 { get; set; }
+ public global::Braintrust.CodeBundleLocationExperiment? Type401 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationExperimentPositionScorer? Type402 { get; set; }
+ public global::Braintrust.CodeBundleLocationExperimentType? Type402 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationExperimentPositionScorerType? Type403 { get; set; }
+ public global::Braintrust.AnyOf? Type403 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationFunction? Type404 { get; set; }
+ public global::Braintrust.CodeBundleLocationExperimentPositionVariant1? Type404 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationFunctionType? Type405 { get; set; }
+ public global::Braintrust.CodeBundleLocationExperimentPositionVariant1Type? Type405 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationVariant3? Type406 { get; set; }
+ public global::Braintrust.CodeBundleLocationExperimentPositionScorer? Type406 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationVariant3Type? Type407 { get; set; }
+ public global::Braintrust.CodeBundleLocationExperimentPositionScorerType? Type407 { get; set; }
///
///
///
- public global::Braintrust.OneOf? Type408 { get; set; }
+ public global::Braintrust.CodeBundleLocationFunction? Type408 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1? Type409 { get; set; }
+ public global::Braintrust.CodeBundleLocationFunctionType? Type409 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1Provider? Type410 { get; set; }
+ public global::Braintrust.CodeBundleLocationVariant3? Type410 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2? Type411 { get; set; }
+ public global::Braintrust.CodeBundleLocationVariant3Type? Type411 { get; set; }
///
///
///
- public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2Provider? Type412 { get; set; }
+ public global::Braintrust.OneOf? Type412 { get; set; }
///
///
///
- public global::Braintrust.PromptBlockData? Type413 { get; set; }
+ public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1? Type413 { get; set; }
///
///
///
- public global::Braintrust.PromptBlockDataChat? Type414 { get; set; }
+ public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant1Provider? Type414 { get; set; }
///
///
///
- public global::Braintrust.PromptBlockDataChatType? Type415 { get; set; }
+ public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2? Type415 { get; set; }
///
///
///
- public global::Braintrust.PromptBlockDataCompletion? Type416 { get; set; }
+ public global::Braintrust.CodeBundleLocationVariant3SandboxSpecVariant2Provider? Type416 { get; set; }
///
///
///
- public global::Braintrust.PromptBlockDataCompletionType? Type417 { get; set; }
+ public global::Braintrust.PromptBlockData? Type417 { get; set; }
///
///
///
- public global::Braintrust.GraphNode? Type418 { get; set; }
+ public global::Braintrust.PromptBlockDataChat? Type418 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant1? Type419 { get; set; }
+ public global::Braintrust.PromptBlockDataChatType? Type419 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant1Position? Type420 { get; set; }
+ public global::Braintrust.PromptBlockDataCompletion? Type420 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant1Type? Type421 { get; set; }
+ public global::Braintrust.PromptBlockDataCompletionType? Type421 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant2? Type422 { get; set; }
+ public global::Braintrust.GraphNode? Type422 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant2Position? Type423 { get; set; }
+ public global::Braintrust.GraphNodeVariant1? Type423 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant2Type? Type424 { get; set; }
+ public global::Braintrust.GraphNodeVariant1Position? Type424 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant3? Type425 { get; set; }
+ public global::Braintrust.GraphNodeVariant1Type? Type425 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant3Position? Type426 { get; set; }
+ public global::Braintrust.GraphNodeVariant2? Type426 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant3Type? Type427 { get; set; }
+ public global::Braintrust.GraphNodeVariant2Position? Type427 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant4? Type428 { get; set; }
+ public global::Braintrust.GraphNodeVariant2Type? Type428 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant4Position? Type429 { get; set; }
+ public global::Braintrust.GraphNodeVariant3? Type429 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant4Type? Type430 { get; set; }
+ public global::Braintrust.GraphNodeVariant3Position? Type430 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant5? Type431 { get; set; }
+ public global::Braintrust.GraphNodeVariant3Type? Type431 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant5Position? Type432 { get; set; }
+ public global::Braintrust.GraphNodeVariant4? Type432 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant5Type? Type433 { get; set; }
+ public global::Braintrust.GraphNodeVariant4Position? Type433 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant6? Type434 { get; set; }
+ public global::Braintrust.GraphNodeVariant4Type? Type434 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant6Position? Type435 { get; set; }
+ public global::Braintrust.GraphNodeVariant5? Type435 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant6Type? Type436 { get; set; }
+ public global::Braintrust.GraphNodeVariant5Position? Type436 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant7? Type437 { get; set; }
+ public global::Braintrust.GraphNodeVariant5Type? Type437 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant7Position? Type438 { get; set; }
+ public global::Braintrust.GraphNodeVariant6? Type438 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant7Type? Type439 { get; set; }
+ public global::Braintrust.GraphNodeVariant6Position? Type439 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant8? Type440 { get; set; }
+ public global::Braintrust.GraphNodeVariant6Type? Type440 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant8Position? Type441 { get; set; }
+ public global::Braintrust.GraphNodeVariant7? Type441 { get; set; }
///
///
///
- public global::Braintrust.GraphNodeVariant8Type? Type442 { get; set; }
+ public global::Braintrust.GraphNodeVariant7Position? Type442 { get; set; }
///
///
///
- public global::Braintrust.GraphEdge? Type443 { get; set; }
+ public global::Braintrust.GraphNodeVariant7Type? Type443 { get; set; }
///
///
///
- public global::Braintrust.GraphEdgeSource? Type444 { get; set; }
+ public global::Braintrust.GraphNodeVariant8? Type444 { get; set; }
///
///
///
- public global::Braintrust.GraphEdgeTarget? Type445 { get; set; }
+ public global::Braintrust.GraphNodeVariant8Position? Type445 { get; set; }
///
///
///
- public global::Braintrust.GraphEdgePurpose? Type446 { get; set; }
+ public global::Braintrust.GraphNodeVariant8Type? Type446 { get; set; }
///
///
///
- public global::Braintrust.GraphData? Type447 { get; set; }
+ public global::Braintrust.GraphEdge? Type447 { get; set; }
///
///
///
- public global::Braintrust.GraphDataType? Type448 { get; set; }
+ public global::Braintrust.GraphEdgeSource? Type448 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type449 { get; set; }
+ public global::Braintrust.GraphEdgeTarget? Type449 { get; set; }
///
///
///
- public global::Braintrust.FacetData? Type450 { get; set; }
+ public global::Braintrust.GraphEdgePurpose? Type450 { get; set; }
///
///
///
- public global::Braintrust.FacetDataType? Type451 { get; set; }
+ public global::Braintrust.GraphData? Type451 { get; set; }
///
///
///
- public global::Braintrust.AllOf? Type452 { get; set; }
+ public global::Braintrust.GraphDataType? Type452 { get; set; }
///
///
///
- public global::Braintrust.TopicMapGenerationSettings? Type453 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type453 { get; set; }
///
///
///
- public global::Braintrust.TopicMapGenerationSettingsAlgorithm? Type454 { get; set; }
+ public global::Braintrust.FacetData? Type454 { get; set; }
///
///
///
- public global::Braintrust.TopicMapGenerationSettingsDimensionReduction? Type455 { get; set; }
+ public global::Braintrust.FacetDataType? Type455 { get; set; }
///
///
///
- public global::Braintrust.TopicMapData? Type456 { get; set; }
+ public global::Braintrust.AllOf? Type456 { get; set; }
///
///
///
- public global::Braintrust.TopicMapDataType? Type457 { get; set; }
+ public global::Braintrust.TopicMapGenerationSettings? Type457 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type458 { get; set; }
+ public global::Braintrust.TopicMapGenerationSettingsAlgorithm? Type458 { get; set; }
///
///
///
- public global::Braintrust.BatchedFacetData? Type459 { get; set; }
+ public global::Braintrust.TopicMapGenerationSettingsDimensionReduction? Type459 { get; set; }
///
///
///
- public global::Braintrust.BatchedFacetDataType? Type460 { get; set; }
+ public global::Braintrust.TopicMapData? Type460 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type461 { get; set; }
+ public global::Braintrust.TopicMapDataType? Type461 { get; set; }
///
///
///
- public global::Braintrust.BatchedFacetDataFacet? Type462 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type462 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary>? Type463 { get; set; }
+ public global::Braintrust.BatchedFacetData? Type463 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type464 { get; set; }
+ public global::Braintrust.BatchedFacetDataType? Type464 { get; set; }
///
///
///
- public global::Braintrust.BatchedFacetDataTopicMap? Type465 { get; set; }
+ public global::System.Collections.Generic.IList? Type465 { get; set; }
///
///
///
- public global::Braintrust.FunctionData? Type466 { get; set; }
+ public global::Braintrust.BatchedFacetDataFacet? Type466 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataPrompt? Type467 { get; set; }
+ public global::System.Collections.Generic.Dictionary>? Type467 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataPromptType? Type468 { get; set; }
+ public global::System.Collections.Generic.IList? Type468 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataCode? Type469 { get; set; }
+ public global::Braintrust.BatchedFacetDataTopicMap? Type469 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataCodeType? Type470 { get; set; }
+ public global::Braintrust.FunctionData? Type470 { get; set; }
///
///
///
- public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataCodeData2>? Type471 { get; set; }
+ public global::Braintrust.FunctionDataPrompt? Type471 { get; set; }
///
///
///
- public global::Braintrust.AllOf? Type472 { get; set; }
+ public global::Braintrust.FunctionDataPromptType? Type472 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataCodeData? Type473 { get; set; }
+ public global::Braintrust.FunctionDataCode? Type473 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataCodeDataType? Type474 { get; set; }
+ public global::Braintrust.FunctionDataCodeType? Type474 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataCodeData2? Type475 { get; set; }
+ public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataCodeData2>? Type475 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataCodeDataType2? Type476 { get; set; }
+ public global::Braintrust.AllOf? Type476 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataCodeDataRuntimeContext? Type477 { get; set; }
+ public global::Braintrust.FunctionDataCodeData? Type477 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataCodeDataRuntimeContextRuntime? Type478 { get; set; }
+ public global::Braintrust.FunctionDataCodeDataType? Type478 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataRemoteEval? Type479 { get; set; }
+ public global::Braintrust.FunctionDataCodeData2? Type479 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataRemoteEvalType? Type480 { get; set; }
+ public global::Braintrust.FunctionDataCodeDataType2? Type480 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataGlobal? Type481 { get; set; }
+ public global::Braintrust.FunctionDataCodeDataRuntimeContext? Type481 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataGlobalType? Type482 { get; set; }
+ public global::Braintrust.FunctionDataCodeDataRuntimeContextRuntime? Type482 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataParameters? Type483 { get; set; }
+ public global::Braintrust.FunctionDataRemoteEval? Type483 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataParametersType? Type484 { get; set; }
+ public global::Braintrust.FunctionDataRemoteEvalType? Type484 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataParametersSchema? Type485 { get; set; }
+ public global::Braintrust.FunctionDataGlobal? Type485 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataParametersSchemaType? Type486 { get; set; }
+ public global::Braintrust.FunctionDataGlobalType? Type486 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary>? Type487 { get; set; }
+ public global::Braintrust.FunctionDataParameters? Type487 { get; set; }
///
///
///
- public global::Braintrust.AllOf? Type488 { get; set; }
+ public global::Braintrust.FunctionDataParametersType? Type488 { get; set; }
///
///
///
- public global::Braintrust.Function2? Type489 { get; set; }
+ public global::Braintrust.FunctionDataParametersSchema? Type489 { get; set; }
///
///
///
- public global::Braintrust.FunctionLogId? Type490 { get; set; }
+ public global::Braintrust.FunctionDataParametersSchemaType? Type490 { get; set; }
///
///
///
- public global::Braintrust.FunctionOrigin? Type491 { get; set; }
+ public global::System.Collections.Generic.Dictionary>? Type491 { get; set; }
///
///
///
- public global::Braintrust.FunctionFunctionSchema? Type492 { get; set; }
+ public global::Braintrust.AllOf? Type492 { get; set; }
///
///
///
- public global::Braintrust.CreateFunction? Type493 { get; set; }
+ public global::Braintrust.Function2? Type493 { get; set; }
///
///
///
- public global::Braintrust.CreateFunctionOrigin? Type494 { get; set; }
+ public global::Braintrust.FunctionLogId? Type494 { get; set; }
///
///
///
- public global::Braintrust.CreateFunctionFunctionSchema? Type495 { get; set; }
+ public global::Braintrust.FunctionOrigin? Type495 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullish? Type496 { get; set; }
+ public global::Braintrust.FunctionFunctionSchema? Type496 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishPrompt? Type497 { get; set; }
+ public global::Braintrust.CreateFunction? Type497 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishPromptType? Type498 { get; set; }
+ public global::Braintrust.CreateFunctionOrigin? Type498 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishCode? Type499 { get; set; }
+ public global::Braintrust.CreateFunctionFunctionSchema? Type499 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishCodeType? Type500 { get; set; }
+ public global::Braintrust.FunctionDataNullish? Type500 { get; set; }
///
///
///
- public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataNullishCodeData2>? Type501 { get; set; }
+ public global::Braintrust.FunctionDataNullishPrompt? Type501 { get; set; }
///
///
///
- public global::Braintrust.AllOf? Type502 { get; set; }
+ public global::Braintrust.FunctionDataNullishPromptType? Type502 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishCodeData? Type503 { get; set; }
+ public global::Braintrust.FunctionDataNullishCode? Type503 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishCodeDataType? Type504 { get; set; }
+ public global::Braintrust.FunctionDataNullishCodeType? Type504 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishCodeData2? Type505 { get; set; }
+ public global::Braintrust.AnyOf?, global::Braintrust.FunctionDataNullishCodeData2>? Type505 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishCodeDataType2? Type506 { get; set; }
+ public global::Braintrust.AllOf? Type506 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishCodeDataRuntimeContext? Type507 { get; set; }
+ public global::Braintrust.FunctionDataNullishCodeData? Type507 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishCodeDataRuntimeContextRuntime? Type508 { get; set; }
+ public global::Braintrust.FunctionDataNullishCodeDataType? Type508 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishRemoteEval? Type509 { get; set; }
+ public global::Braintrust.FunctionDataNullishCodeData2? Type509 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishRemoteEvalType? Type510 { get; set; }
+ public global::Braintrust.FunctionDataNullishCodeDataType2? Type510 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishGlobal? Type511 { get; set; }
+ public global::Braintrust.FunctionDataNullishCodeDataRuntimeContext? Type511 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishGlobalType? Type512 { get; set; }
+ public global::Braintrust.FunctionDataNullishCodeDataRuntimeContextRuntime? Type512 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishParameters? Type513 { get; set; }
+ public global::Braintrust.FunctionDataNullishRemoteEval? Type513 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishParametersType? Type514 { get; set; }
+ public global::Braintrust.FunctionDataNullishRemoteEvalType? Type514 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishParametersSchema? Type515 { get; set; }
+ public global::Braintrust.FunctionDataNullishGlobal? Type515 { get; set; }
///
///
///
- public global::Braintrust.FunctionDataNullishParametersSchemaType? Type516 { get; set; }
+ public global::Braintrust.FunctionDataNullishGlobalType? Type516 { get; set; }
///
///
///
- public global::Braintrust.PatchFunction? Type517 { get; set; }
+ public global::Braintrust.FunctionDataNullishParameters? Type517 { get; set; }
///
///
///
- public global::Braintrust.InvokeParent? Type518 { get; set; }
+ public global::Braintrust.FunctionDataNullishParametersType? Type518 { get; set; }
///
///
///
- public global::Braintrust.InvokeParentSpanParentStruct? Type519 { get; set; }
+ public global::Braintrust.FunctionDataNullishParametersSchema? Type519 { get; set; }
///
///
///
- public global::Braintrust.InvokeParentSpanParentStructObjectType? Type520 { get; set; }
+ public global::Braintrust.FunctionDataNullishParametersSchemaType? Type520 { get; set; }
///
///
///
- public global::Braintrust.InvokeParentSpanParentStructRowIds? Type521 { get; set; }
+ public global::Braintrust.PatchFunction? Type521 { get; set; }
///
///
///
- public global::Braintrust.StreamingMode? Type522 { get; set; }
+ public global::Braintrust.InvokeParent? Type522 { get; set; }
///
///
///
- public global::Braintrust.InvokeApi? Type523 { get; set; }
+ public global::Braintrust.InvokeParentSpanParentStruct? Type523 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type524 { get; set; }
+ public global::Braintrust.InvokeParentSpanParentStructObjectType? Type524 { get; set; }
///
///
///
- public global::Braintrust.InvokeApiMcpAuth2? Type525 { get; set; }
+ public global::Braintrust.InvokeParentSpanParentStructRowIds? Type525 { get; set; }
///
///
///
- public global::Braintrust.ViewDataSearch? Type526 { get; set; }
+ public global::Braintrust.StreamingMode? Type526 { get; set; }
///
///
///
- public global::Braintrust.ViewData? Type527 { get; set; }
+ public global::Braintrust.InvokeApi? Type527 { get; set; }
///
///
///
- public global::Braintrust.ViewOptions? Type528 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type528 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsMonitorViewOptions? Type529 { get; set; }
+ public global::Braintrust.InvokeApiMcpAuth2? Type529 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsMonitorViewOptionsViewType? Type530 { get; set; }
+ public global::Braintrust.ViewDataSearch? Type530 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsMonitorViewOptionsOptions? Type531 { get; set; }
+ public global::Braintrust.ViewData? Type531 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsSpanType? Type532 { get; set; }
+ public global::Braintrust.ViewOptions? Type532 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type533 { get; set; }
+ public global::Braintrust.ViewOptionsMonitorViewOptions? Type533 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsType? Type534 { get; set; }
+ public global::Braintrust.ViewOptionsMonitorViewOptionsViewType? Type534 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptions? Type535 { get; set; }
+ public global::Braintrust.ViewOptionsMonitorViewOptionsOptions? Type535 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type536 { get; set; }
+ public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsSpanType? Type536 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasure? Type537 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type537 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasureType? Type538 { get; set; }
+ public global::Braintrust.ViewOptionsMonitorViewOptionsOptionsType? Type538 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsYMetric? Type539 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptions? Type539 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsYMetricType? Type540 { get; set; }
+ public global::System.Collections.Generic.IList? Type540 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsXAxis? Type541 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasure? Type541 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsXAxisType? Type542 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsExcludedMeasureType? Type542 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsSymbolGrouping? Type543 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsYMetric? Type543 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsSymbolGroupingType? Type544 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsYMetricType? Type544 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type545 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsXAxis? Type545 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsChartAnnotation? Type546 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsXAxisType? Type546 { get; set; }
///
///
///
- public global::Braintrust.AnyOf? Type547 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsSymbolGrouping? Type547 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsTimeRangeFilter? Type548 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsSymbolGroupingType? Type548 { get; set; }
///
///
///
- public global::Braintrust.ViewOptionsTableViewOptionsQueryShape? Type549 { get; set; }
+ public global::System.Collections.Generic.IList? Type549 { get; set; }
///
///
///
- public global::Braintrust.View? Type550 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsChartAnnotation? Type550 { get; set; }
///
///
///
- public global::Braintrust.ViewViewType? Type551 { get; set; }
+ public global::Braintrust.AnyOf? Type551 { get; set; }
///
///
///
- public global::Braintrust.CreateView? Type552 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsTimeRangeFilter? Type552 { get; set; }
///
///
///
- public global::Braintrust.CreateViewViewType? Type553 { get; set; }
+ public global::Braintrust.ViewOptionsTableViewOptionsQueryShape? Type553 { get; set; }
///
///
///
- public global::Braintrust.PatchView? Type554 { get; set; }
+ public global::Braintrust.View? Type554 { get; set; }
///
///
///
- public global::Braintrust.PatchViewViewType? Type555 { get; set; }
+ public global::Braintrust.ViewViewType? Type555 { get; set; }
///
///
///
- public global::Braintrust.DeleteView? Type556 { get; set; }
+ public global::Braintrust.CreateView? Type556 { get; set; }
///
///
///
- public global::Braintrust.ImageRenderingMode? Type557 { get; set; }
+ public global::Braintrust.CreateViewViewType? Type557 { get; set; }
///
///
///
- public global::Braintrust.Organization? Type558 { get; set; }
+ public global::Braintrust.PatchView? Type558 { get; set; }
///
///
///
- public global::Braintrust.PatchOrganization? Type559 { get; set; }
+ public global::Braintrust.PatchViewViewType? Type559 { get; set; }
///
///
///
- public global::Braintrust.PatchOrganizationMembersOutput? Type560 { get; set; }
+ public global::Braintrust.DeleteView? Type560 { get; set; }
///
///
///
- public global::Braintrust.PatchOrganizationMembersOutputStatus? Type561 { get; set; }
+ public global::Braintrust.ImageRenderingMode? Type561 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type562 { get; set; }
+ public global::Braintrust.Organization? Type562 { get; set; }
///
///
///
- public global::Braintrust.PatchOrganizationMembersOutputAddedUser? Type563 { get; set; }
+ public global::Braintrust.PatchOrganization? Type563 { get; set; }
///
///
///
- public global::Braintrust.PatchOrganizationMembers? Type564 { get; set; }
+ public global::Braintrust.PatchOrganizationMembersOutput? Type564 { get; set; }
///
///
///
- public global::Braintrust.PatchOrganizationMembersInviteUsers? Type565 { get; set; }
+ public global::Braintrust.PatchOrganizationMembersOutputStatus? Type565 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type566 { get; set; }
+ public global::System.Collections.Generic.IList? Type566 { get; set; }
///
///
///
- public global::Braintrust.PatchOrganizationMembersInviteUsersServiceAccount? Type567 { get; set; }
+ public global::Braintrust.PatchOrganizationMembersOutputAddedUser? Type567 { get; set; }
///
///
///
- public global::Braintrust.PatchOrganizationMembersRemoveUsers? Type568 { get; set; }
+ public global::Braintrust.PatchOrganizationMembers? Type568 { get; set; }
///
///
///
- public global::Braintrust.CreateApiKeyOutput? Type569 { get; set; }
+ public global::Braintrust.PatchOrganizationMembersInviteUsers? Type569 { get; set; }
///
///
///
- public global::Braintrust.ApiKey? Type570 { get; set; }
+ public global::System.Collections.Generic.IList? Type570 { get; set; }
///
///
///
- public global::Braintrust.CreateServiceTokenOutput? Type571 { get; set; }
+ public global::Braintrust.PatchOrganizationMembersInviteUsersServiceAccount? Type571 { get; set; }
///
///
///
- public global::Braintrust.ServiceToken? Type572 { get; set; }
+ public global::Braintrust.PatchOrganizationMembersRemoveUsers? Type572 { get; set; }
///
///
///
- public global::Braintrust.DeleteServiceToken? Type573 { get; set; }
+ public global::Braintrust.CreateApiKeyOutput? Type573 { get; set; }
///
///
///
- public global::Braintrust.AISecret? Type574 { get; set; }
+ public global::Braintrust.ApiKey? Type574 { get; set; }
///
///
///
- public global::Braintrust.CreateAISecret? Type575 { get; set; }
+ public global::Braintrust.CreateServiceTokenOutput? Type575 { get; set; }
///
///
///
- public global::Braintrust.DeleteAISecret? Type576 { get; set; }
+ public global::Braintrust.ServiceToken? Type576 { get; set; }
///
///
///
- public global::Braintrust.PatchAISecret? Type577 { get; set; }
+ public global::Braintrust.DeleteServiceToken? Type577 { get; set; }
///
///
///
- public global::Braintrust.EnvVar? Type578 { get; set; }
+ public global::Braintrust.AISecret? Type578 { get; set; }
///
///
///
- public global::Braintrust.EnvVarObjectType2? Type579 { get; set; }
+ public global::Braintrust.CreateAISecret? Type579 { get; set; }
///
///
///
- public global::Braintrust.EnvVarSecretCategory? Type580 { get; set; }
+ public global::Braintrust.DeleteAISecret? Type580 { get; set; }
///
///
///
- public global::Braintrust.MCPServer? Type581 { get; set; }
+ public global::Braintrust.PatchAISecret? Type581 { get; set; }
///
///
///
- public global::Braintrust.CreateMCPServer? Type582 { get; set; }
+ public global::Braintrust.EnvVar? Type582 { get; set; }
///
///
///
- public global::Braintrust.PatchMCPServer? Type583 { get; set; }
+ public global::Braintrust.EnvVarObjectType2? Type583 { get; set; }
///
///
///
- public global::Braintrust.DatasetSnapshot? Type584 { get; set; }
+ public global::Braintrust.EnvVarSecretCategory? Type584 { get; set; }
///
///
///
- public global::Braintrust.CreateDatasetSnapshot? Type585 { get; set; }
+ public global::Braintrust.MCPServer? Type585 { get; set; }
///
///
///
- public global::Braintrust.PatchDatasetSnapshot? Type586 { get; set; }
+ public global::Braintrust.CreateMCPServer? Type586 { get; set; }
///
///
///
- public global::Braintrust.Environment? Type587 { get; set; }
+ public global::Braintrust.PatchMCPServer? Type587 { get; set; }
///
///
///
- public global::Braintrust.CreateEnvironment? Type588 { get; set; }
+ public global::Braintrust.DatasetSnapshot? Type588 { get; set; }
///
///
///
- public global::Braintrust.PatchEnvironment? Type589 { get; set; }
+ public global::Braintrust.CreateDatasetSnapshot? Type589 { get; set; }
///
///
///
- public global::Braintrust.CrossObjectInsertResponse? Type590 { get; set; }
+ public global::Braintrust.PatchDatasetSnapshot? Type590 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type591 { get; set; }
+ public global::Braintrust.Environment? Type591 { get; set; }
///
///
///
- public global::Braintrust.CrossObjectInsertRequest? Type592 { get; set; }
+ public global::Braintrust.CreateEnvironment? Type592 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type593 { get; set; }
+ public global::Braintrust.PatchEnvironment? Type593 { get; set; }
///
///
///
- public global::Braintrust.CrossObjectInsertRequestExperiment2? Type594 { get; set; }
+ public global::Braintrust.CrossObjectInsertResponse? Type594 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type595 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type595 { get; set; }
///
///
///
- public global::Braintrust.CrossObjectInsertRequestDataset2? Type596 { get; set; }
+ public global::Braintrust.CrossObjectInsertRequest? Type596 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type597 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type597 { get; set; }
///
///
///
- public global::Braintrust.CrossObjectInsertRequestProjectLogs2? Type598 { get; set; }
+ public global::Braintrust.CrossObjectInsertRequestExperiment2? Type598 { get; set; }
///
///
///
- public global::Braintrust.PromptData? Type599 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type599 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList?>>? Type600 { get; set; }
+ public global::Braintrust.CrossObjectInsertRequestDataset2? Type600 { get; set; }
///