diff --git a/src/libs/Vectara/Generated/Vectara.AgentAnalyticsClient.ListTraceSpans.g.cs b/src/libs/Vectara/Generated/Vectara.AgentAnalyticsClient.ListTraceSpans.g.cs
index af4c9a08..90cfd3ad 100644
--- a/src/libs/Vectara/Generated/Vectara.AgentAnalyticsClient.ListTraceSpans.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.AgentAnalyticsClient.ListTraceSpans.g.cs
@@ -48,6 +48,8 @@ partial void PrepareListTraceSpansArguments(
ref string traceId,
ref bool? includeContent,
ref global::Vectara.ListTraceSpansOperation? operation,
+ ref string? parentSpanId,
+ ref bool? excludeSubagents,
ref int? limit,
ref string? pageKey);
partial void PrepareListTraceSpansRequest(
@@ -58,6 +60,8 @@ partial void PrepareListTraceSpansRequest(
string traceId,
bool? includeContent,
global::Vectara.ListTraceSpansOperation? operation,
+ string? parentSpanId,
+ bool? excludeSubagents,
int? limit,
string? pageKey);
partial void ProcessListTraceSpansResponse(
@@ -80,6 +84,10 @@ partial void ProcessListTraceSpansResponseContent(
/// Default Value: false
///
///
+ ///
+ ///
+ /// Default Value: false
+ ///
///
/// Default Value: 100
///
@@ -93,6 +101,8 @@ partial void ProcessListTraceSpansResponseContent(
int? requestTimeoutMillis = default,
bool? includeContent = default,
global::Vectara.ListTraceSpansOperation? operation = default,
+ string? parentSpanId = default,
+ bool? excludeSubagents = default,
int? limit = default,
string? pageKey = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
@@ -104,6 +114,8 @@ partial void ProcessListTraceSpansResponseContent(
requestTimeoutMillis: requestTimeoutMillis,
includeContent: includeContent,
operation: operation,
+ parentSpanId: parentSpanId,
+ excludeSubagents: excludeSubagents,
limit: limit,
pageKey: pageKey,
requestOptions: requestOptions,
@@ -123,6 +135,10 @@ partial void ProcessListTraceSpansResponseContent(
/// Default Value: false
///
///
+ ///
+ ///
+ /// Default Value: false
+ ///
///
/// Default Value: 100
///
@@ -136,6 +152,8 @@ partial void ProcessListTraceSpansResponseContent(
int? requestTimeoutMillis = default,
bool? includeContent = default,
global::Vectara.ListTraceSpansOperation? operation = default,
+ string? parentSpanId = default,
+ bool? excludeSubagents = default,
int? limit = default,
string? pageKey = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
@@ -150,6 +168,8 @@ partial void ProcessListTraceSpansResponseContent(
traceId: ref traceId,
includeContent: ref includeContent,
operation: ref operation,
+ parentSpanId: ref parentSpanId,
+ excludeSubagents: ref excludeSubagents,
limit: ref limit,
pageKey: ref pageKey);
@@ -182,6 +202,8 @@ partial void ProcessListTraceSpansResponseContent(
__pathBuilder
.AddOptionalParameter("include_content", includeContent?.ToString().ToLowerInvariant())
.AddOptionalParameter("operation", operation?.ToValueString())
+ .AddOptionalParameter("parent_span_id", parentSpanId)
+ .AddOptionalParameter("exclude_subagents", excludeSubagents?.ToString().ToLowerInvariant())
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("page_key", pageKey)
;
@@ -240,6 +262,8 @@ partial void ProcessListTraceSpansResponseContent(
traceId: traceId!,
includeContent: includeContent,
operation: operation,
+ parentSpanId: parentSpanId,
+ excludeSubagents: excludeSubagents,
limit: limit,
pageKey: pageKey);
diff --git a/src/libs/Vectara/Generated/Vectara.CustomerMetricsClient.Get.g.cs b/src/libs/Vectara/Generated/Vectara.CustomerMetricsClient.Get.g.cs
new file mode 100644
index 00000000..78715d82
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.CustomerMetricsClient.Get.g.cs
@@ -0,0 +1,589 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ public partial class CustomerMetricsClient
+ {
+
+
+ private static readonly global::Vectara.EndPointSecurityRequirement s_GetSecurityRequirement0 =
+ new global::Vectara.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vectara.EndPointAuthorizationRequirement[]
+ { new global::Vectara.EndPointAuthorizationRequirement
+ {
+ Type = "ApiKey",
+ SchemeId = "ApiKeyAuth",
+ Location = "Header",
+ Name = "x-api-key",
+ FriendlyName = "ApiKeyInHeader",
+ },
+ },
+ };
+
+ private static readonly global::Vectara.EndPointSecurityRequirement s_GetSecurityRequirement1 =
+ new global::Vectara.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vectara.EndPointAuthorizationRequirement[]
+ { new global::Vectara.EndPointAuthorizationRequirement
+ {
+ Type = "OAuth2",
+ SchemeId = "OAuth2",
+ Location = "Header",
+ Name = "",
+ FriendlyName = "OAuth2",
+ },
+ },
+ };
+ private static readonly global::Vectara.EndPointSecurityRequirement[] s_GetSecurityRequirements =
+ new global::Vectara.EndPointSecurityRequirement[]
+ { s_GetSecurityRequirement0,
+ s_GetSecurityRequirement1,
+ };
+ partial void PrepareGetArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref int? requestTimeout,
+ ref int? requestTimeoutMillis,
+ ref string metricName,
+ global::System.Collections.Generic.Dictionary>? labels,
+ ref global::System.DateTime start,
+ ref global::System.DateTime end,
+ ref int? maxBuckets);
+ partial void PrepareGetRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ int? requestTimeout,
+ int? requestTimeoutMillis,
+ string metricName,
+ global::System.Collections.Generic.Dictionary>? labels,
+ global::System.DateTime start,
+ global::System.DateTime end,
+ int? maxBuckets);
+ partial void ProcessGetResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessGetResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Query a metric time series
+ /// Returns a time series of aggregated metric values for the named metric within the requested time range.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: 60
+ ///
+ /// 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 GetAsync(
+ string metricName,
+ global::System.DateTime start,
+ global::System.DateTime end,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::System.Collections.Generic.Dictionary>? labels = default,
+ int? maxBuckets = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await GetAsResponseAsync(
+ metricName: metricName,
+ start: start,
+ end: end,
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ labels: labels,
+ maxBuckets: maxBuckets,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Query a metric time series
+ /// Returns a time series of aggregated metric values for the named metric within the requested time range.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: 60
+ ///
+ /// 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> GetAsResponseAsync(
+ string metricName,
+ global::System.DateTime start,
+ global::System.DateTime end,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::System.Collections.Generic.Dictionary>? labels = default,
+ int? maxBuckets = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareGetArguments(
+ httpClient: HttpClient,
+ requestTimeout: ref requestTimeout,
+ requestTimeoutMillis: ref requestTimeoutMillis,
+ metricName: ref metricName,
+ labels: labels,
+ start: ref start,
+ end: ref end,
+ maxBuckets: ref maxBuckets);
+
+
+ var __authorizations = global::Vectara.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetSecurityRequirements,
+ operationName: "GetAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vectara.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vectara.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vectara.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vectara.PathBuilder(
+ path: $"/v2/metrics/{metricName}",
+ baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("labels", labels?.ToString())
+ .AddRequiredParameter("start", start.ToString("yyyy-MM-ddTHH:mm:ssZ"))
+ .AddRequiredParameter("end", end.ToString("yyyy-MM-ddTHH:mm:ssZ"))
+ .AddOptionalParameter("max_buckets", maxBuckets?.ToString())
+ ;
+ var __path = __pathBuilder.ToString();
+ __path = global::Vectara.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);
+ }
+ }
+
+ if (requestTimeout != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Request-Timeout", requestTimeout.ToString());
+ }
+ if (requestTimeoutMillis != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Request-Timeout-Millis", requestTimeoutMillis.ToString());
+ }
+
+ global::Vectara.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareGetRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ metricName: metricName!,
+ labels: labels,
+ start: start!,
+ end: end!,
+ maxBuckets: maxBuckets);
+
+ 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::Vectara.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "Get",
+ methodName: "GetAsync",
+ pathTemplate: "$\"/v2/metrics/{metricName}\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await global::Vectara.VectaraClient.AutoSDKOAuth2Helpers.SendAsync(
+ httpClient: HttpClient,
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ authorizations: __authorizations,
+ oAuth2Coordinator: AutoSDKOAuth2State,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vectara.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "Get",
+ methodName: "GetAsync",
+ pathTemplate: "$\"/v2/metrics/{metricName}\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vectara.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vectara.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vectara.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "Get",
+ methodName: "GetAsync",
+ pathTemplate: "$\"/v2/metrics/{metricName}\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vectara.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessGetResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "Get",
+ methodName: "GetAsync",
+ pathTemplate: "$\"/v2/metrics/{metricName}\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "Get",
+ methodName: "GetAsync",
+ pathTemplate: "$\"/v2/metrics/{metricName}\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_400 = __ex;
+ }
+
+ throw new global::Vectara.ApiException(
+ message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_400,
+ statusCode: __response.StatusCode)
+ {
+ ResponseBody = __content_400,
+ ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value),
+ };
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+ throw new global::Vectara.ApiException(
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ statusCode: __response.StatusCode)
+ {
+ ResponseBody = __content_404,
+ 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);
+ ProcessGetResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vectara.MetricSeries.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Vectara.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vectara.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw new global::Vectara.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);
+
+ var __value = await global::Vectara.MetricSeries.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Vectara.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vectara.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ 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::Vectara.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/Vectara/Generated/Vectara.CustomerMetricsClient.List.g.cs b/src/libs/Vectara/Generated/Vectara.CustomerMetricsClient.List.g.cs
new file mode 100644
index 00000000..291df4ea
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.CustomerMetricsClient.List.g.cs
@@ -0,0 +1,468 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ public partial class CustomerMetricsClient
+ {
+
+
+ private static readonly global::Vectara.EndPointSecurityRequirement s_ListSecurityRequirement0 =
+ new global::Vectara.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vectara.EndPointAuthorizationRequirement[]
+ { new global::Vectara.EndPointAuthorizationRequirement
+ {
+ Type = "ApiKey",
+ SchemeId = "ApiKeyAuth",
+ Location = "Header",
+ Name = "x-api-key",
+ FriendlyName = "ApiKeyInHeader",
+ },
+ },
+ };
+
+ private static readonly global::Vectara.EndPointSecurityRequirement s_ListSecurityRequirement1 =
+ new global::Vectara.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vectara.EndPointAuthorizationRequirement[]
+ { new global::Vectara.EndPointAuthorizationRequirement
+ {
+ Type = "OAuth2",
+ SchemeId = "OAuth2",
+ Location = "Header",
+ Name = "",
+ FriendlyName = "OAuth2",
+ },
+ },
+ };
+ private static readonly global::Vectara.EndPointSecurityRequirement[] s_ListSecurityRequirements =
+ new global::Vectara.EndPointSecurityRequirement[]
+ { s_ListSecurityRequirement0,
+ s_ListSecurityRequirement1,
+ };
+ partial void PrepareListArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref int? requestTimeout,
+ ref int? requestTimeoutMillis);
+ partial void PrepareListRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ int? requestTimeout,
+ int? requestTimeoutMillis);
+ partial void ProcessListResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessListResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// List available metrics
+ /// Returns the catalog of registered metrics that can be queried via `/v2/metrics/{metric_name}`. Use this to discover metric names, kinds, and supported labels.
+ ///
+ ///
+ ///
+ /// 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 ListAsync(
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await ListAsResponseAsync(
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// List available metrics
+ /// Returns the catalog of registered metrics that can be queried via `/v2/metrics/{metric_name}`. Use this to discover metric names, kinds, and supported labels.
+ ///
+ ///
+ ///
+ /// 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> ListAsResponseAsync(
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareListArguments(
+ httpClient: HttpClient,
+ requestTimeout: ref requestTimeout,
+ requestTimeoutMillis: ref requestTimeoutMillis);
+
+
+ var __authorizations = global::Vectara.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListSecurityRequirements,
+ operationName: "ListAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vectara.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vectara.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vectara.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vectara.PathBuilder(
+ path: "/v2/metrics",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vectara.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);
+ }
+ }
+
+ if (requestTimeout != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Request-Timeout", requestTimeout.ToString());
+ }
+ if (requestTimeoutMillis != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Request-Timeout-Millis", requestTimeoutMillis.ToString());
+ }
+
+ global::Vectara.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareListRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis);
+
+ 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::Vectara.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "List",
+ methodName: "ListAsync",
+ pathTemplate: "\"/v2/metrics\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await global::Vectara.VectaraClient.AutoSDKOAuth2Helpers.SendAsync(
+ httpClient: HttpClient,
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ authorizations: __authorizations,
+ oAuth2Coordinator: AutoSDKOAuth2State,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vectara.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "List",
+ methodName: "ListAsync",
+ pathTemplate: "\"/v2/metrics\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vectara.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vectara.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vectara.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "List",
+ methodName: "ListAsync",
+ pathTemplate: "\"/v2/metrics\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vectara.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessListResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "List",
+ methodName: "ListAsync",
+ pathTemplate: "\"/v2/metrics\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "List",
+ methodName: "ListAsync",
+ pathTemplate: "\"/v2/metrics\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+
+ 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);
+ ProcessListResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vectara.ListMetricsResponse.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Vectara.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vectara.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw new global::Vectara.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);
+
+ var __value = await global::Vectara.ListMetricsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Vectara.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vectara.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ 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::Vectara.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/Vectara/Generated/Vectara.CustomerMetricsClient.g.cs b/src/libs/Vectara/Generated/Vectara.CustomerMetricsClient.g.cs
new file mode 100644
index 00000000..40ce0443
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.CustomerMetricsClient.g.cs
@@ -0,0 +1,139 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ ///
+ /// 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 CustomerMetricsClient : global::Vectara.ICustomerMetricsClient, global::System.IDisposable
+ {
+ ///
+ ///
+ ///
+ public const string DefaultBaseUrl = "https://api.vectara.io/";
+
+ 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::Vectara.AutoSDKClientOptions Options { get; }
+
+
+ internal global::Vectara.VectaraClient.AutoSDKOAuth2Coordinator AutoSDKOAuth2State { get; set; } = new global::Vectara.VectaraClient.AutoSDKOAuth2Coordinator();
+ ///
+ ///
+ ///
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Vectara.SourceGenerationContext.Default;
+
+
+ ///
+ /// Creates a new instance of the CustomerMetricsClient.
+ /// 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 CustomerMetricsClient(
+ 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 CustomerMetricsClient with explicit options but no base URL override.
+ /// Skips passing baseUri so the default base URL from the OpenAPI spec applies.
+ ///
+ /// The HttpClient instance. If not provided, a new one will be created.
+ /// 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 CustomerMetricsClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Collections.Generic.List? authorizations,
+ global::Vectara.AutoSDKClientOptions? options,
+ bool disposeHttpClient = true) : this(
+ httpClient,
+ baseUri: null,
+ authorizations,
+ options,
+ disposeHttpClient: disposeHttpClient)
+ {
+ }
+
+ ///
+ /// Creates a new instance of the CustomerMetricsClient.
+ /// 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 CustomerMetricsClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Uri? baseUri,
+ global::System.Collections.Generic.List? authorizations,
+ global::Vectara.AutoSDKClientOptions? options,
+ 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::Vectara.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/Vectara/Generated/Vectara.IAgentAnalyticsClient.ListTraceSpans.g.cs b/src/libs/Vectara/Generated/Vectara.IAgentAnalyticsClient.ListTraceSpans.g.cs
index 6e51ebdd..171fa1dc 100644
--- a/src/libs/Vectara/Generated/Vectara.IAgentAnalyticsClient.ListTraceSpans.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.IAgentAnalyticsClient.ListTraceSpans.g.cs
@@ -15,6 +15,10 @@ public partial interface IAgentAnalyticsClient
/// Default Value: false
///
///
+ ///
+ ///
+ /// Default Value: false
+ ///
///
/// Default Value: 100
///
@@ -28,6 +32,8 @@ public partial interface IAgentAnalyticsClient
int? requestTimeoutMillis = default,
bool? includeContent = default,
global::Vectara.ListTraceSpansOperation? operation = default,
+ string? parentSpanId = default,
+ bool? excludeSubagents = default,
int? limit = default,
string? pageKey = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
@@ -43,6 +49,10 @@ public partial interface IAgentAnalyticsClient
/// Default Value: false
///
///
+ ///
+ ///
+ /// Default Value: false
+ ///
///
/// Default Value: 100
///
@@ -56,6 +66,8 @@ public partial interface IAgentAnalyticsClient
int? requestTimeoutMillis = default,
bool? includeContent = default,
global::Vectara.ListTraceSpansOperation? operation = default,
+ string? parentSpanId = default,
+ bool? excludeSubagents = default,
int? limit = default,
string? pageKey = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
diff --git a/src/libs/Vectara/Generated/Vectara.ICustomerMetricsClient.Get.g.cs b/src/libs/Vectara/Generated/Vectara.ICustomerMetricsClient.Get.g.cs
new file mode 100644
index 00000000..17d728bd
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.ICustomerMetricsClient.Get.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vectara
+{
+ public partial interface ICustomerMetricsClient
+ {
+ ///
+ /// Query a metric time series
+ /// Returns a time series of aggregated metric values for the named metric within the requested time range.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: 60
+ ///
+ /// 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 GetAsync(
+ string metricName,
+ global::System.DateTime start,
+ global::System.DateTime end,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::System.Collections.Generic.Dictionary>? labels = default,
+ int? maxBuckets = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Query a metric time series
+ /// Returns a time series of aggregated metric values for the named metric within the requested time range.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: 60
+ ///
+ /// 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> GetAsResponseAsync(
+ string metricName,
+ global::System.DateTime start,
+ global::System.DateTime end,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::System.Collections.Generic.Dictionary>? labels = default,
+ int? maxBuckets = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.ICustomerMetricsClient.List.g.cs b/src/libs/Vectara/Generated/Vectara.ICustomerMetricsClient.List.g.cs
new file mode 100644
index 00000000..5f4889c1
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.ICustomerMetricsClient.List.g.cs
@@ -0,0 +1,36 @@
+#nullable enable
+
+namespace Vectara
+{
+ public partial interface ICustomerMetricsClient
+ {
+ ///
+ /// List available metrics
+ /// Returns the catalog of registered metrics that can be queried via `/v2/metrics/{metric_name}`. Use this to discover metric names, kinds, and supported labels.
+ ///
+ ///
+ ///
+ /// 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 ListAsync(
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// List available metrics
+ /// Returns the catalog of registered metrics that can be queried via `/v2/metrics/{metric_name}`. Use this to discover metric names, kinds, and supported labels.
+ ///
+ ///
+ ///
+ /// 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> ListAsResponseAsync(
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.ICustomerMetricsClient.g.cs b/src/libs/Vectara/Generated/Vectara.ICustomerMetricsClient.g.cs
new file mode 100644
index 00000000..6a1c3ba4
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.ICustomerMetricsClient.g.cs
@@ -0,0 +1,48 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ ///
+ /// 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 ICustomerMetricsClient : 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::Vectara.AutoSDKClientOptions Options { get; }
+
+
+ ///
+ ///
+ ///
+ global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
+
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.IVectaraClient.g.cs b/src/libs/Vectara/Generated/Vectara.IVectaraClient.g.cs
index 0d6ec6bb..92158ef7 100644
--- a/src/libs/Vectara/Generated/Vectara.IVectaraClient.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.IVectaraClient.g.cs
@@ -109,6 +109,11 @@ public partial interface IVectaraClient : global::System.IDisposable
///
public CorporaClient Corpora { get; }
+ ///
+ ///
+ ///
+ public CustomerMetricsClient CustomerMetrics { get; }
+
///
///
///
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.ChatTraceSpan.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.ChatTraceSpan.g.cs
index a75cb13b..99f5659b 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonConverters.ChatTraceSpan.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.ChatTraceSpan.g.cs
@@ -37,6 +37,7 @@ public class ChatTraceSpanJsonConverter : global::System.Text.Json.Serialization
var __score0 = 0;
if (__jsonProps.Contains("duration_ms")) __score0++;
if (__jsonProps.Contains("error_message")) __score0++;
+ if (__jsonProps.Contains("has_children")) __score0++;
if (__jsonProps.Contains("parent_span_id")) __score0++;
if (__jsonProps.Contains("span_id")) __score0++;
if (__jsonProps.Contains("started_at")) __score0++;
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.CompactionTraceSpan.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.CompactionTraceSpan.g.cs
index bdbdac90..34481f1a 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonConverters.CompactionTraceSpan.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.CompactionTraceSpan.g.cs
@@ -37,6 +37,7 @@ public class CompactionTraceSpanJsonConverter : global::System.Text.Json.Seriali
var __score0 = 0;
if (__jsonProps.Contains("duration_ms")) __score0++;
if (__jsonProps.Contains("error_message")) __score0++;
+ if (__jsonProps.Contains("has_children")) __score0++;
if (__jsonProps.Contains("parent_span_id")) __score0++;
if (__jsonProps.Contains("span_id")) __score0++;
if (__jsonProps.Contains("started_at")) __score0++;
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.CounterMetricSeries.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.CounterMetricSeries.g.cs
new file mode 100644
index 00000000..43565b0a
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.CounterMetricSeries.g.cs
@@ -0,0 +1,144 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public class CounterMetricSeriesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.CounterMetricSeries Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
+ var __rawJson = __jsonDocument.RootElement.GetRawText();
+ var __jsonProps = new global::System.Collections.Generic.HashSet();
+ if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name);
+
+ }
+ }
+
+ var __score0 = 0;
+ if (__jsonProps.Contains("bucket_size_seconds")) __score0++;
+ if (__jsonProps.Contains("labels")) __score0++;
+ if (__jsonProps.Contains("metric_name")) __score0++;
+ var __score1 = 0;
+ if (__jsonProps.Contains("kind")) __score1++;
+ if (__jsonProps.Contains("points")) __score1++;
+ var __bestScore = 0;
+ var __bestIndex = -1;
+ if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
+ if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
+
+ global::Vectara.MetricSeriesBase? @base = default;
+ global::Vectara.CounterMetricSeriesVariant2? counterMetricSeriesVariant2 = default;
+ if (__bestIndex >= 0)
+ {
+ if (__bestIndex == 0)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ @base = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 1)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.CounterMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.CounterMetricSeriesVariant2).Name}");
+ counterMetricSeriesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ }
+
+ if (@base == null && counterMetricSeriesVariant2 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ @base = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (@base == null && counterMetricSeriesVariant2 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.CounterMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.CounterMetricSeriesVariant2).Name}");
+ counterMetricSeriesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::Vectara.CounterMetricSeries(
+ @base,
+
+ counterMetricSeriesVariant2
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.CounterMetricSeries value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsBase)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base!, typeInfo);
+ }
+ else if (value.IsCounterMetricSeriesVariant2)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.CounterMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.CounterMetricSeriesVariant2).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.CounterMetricSeriesVariant2!, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.DistributionMetricSeries.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.DistributionMetricSeries.g.cs
new file mode 100644
index 00000000..6166ecda
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.DistributionMetricSeries.g.cs
@@ -0,0 +1,144 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public class DistributionMetricSeriesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.DistributionMetricSeries Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
+ var __rawJson = __jsonDocument.RootElement.GetRawText();
+ var __jsonProps = new global::System.Collections.Generic.HashSet();
+ if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name);
+
+ }
+ }
+
+ var __score0 = 0;
+ if (__jsonProps.Contains("bucket_size_seconds")) __score0++;
+ if (__jsonProps.Contains("labels")) __score0++;
+ if (__jsonProps.Contains("metric_name")) __score0++;
+ var __score1 = 0;
+ if (__jsonProps.Contains("kind")) __score1++;
+ if (__jsonProps.Contains("points")) __score1++;
+ var __bestScore = 0;
+ var __bestIndex = -1;
+ if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
+ if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
+
+ global::Vectara.MetricSeriesBase? @base = default;
+ global::Vectara.DistributionMetricSeriesVariant2? distributionMetricSeriesVariant2 = default;
+ if (__bestIndex >= 0)
+ {
+ if (__bestIndex == 0)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ @base = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 1)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.DistributionMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.DistributionMetricSeriesVariant2).Name}");
+ distributionMetricSeriesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ }
+
+ if (@base == null && distributionMetricSeriesVariant2 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ @base = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (@base == null && distributionMetricSeriesVariant2 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.DistributionMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.DistributionMetricSeriesVariant2).Name}");
+ distributionMetricSeriesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::Vectara.DistributionMetricSeries(
+ @base,
+
+ distributionMetricSeriesVariant2
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.DistributionMetricSeries value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsBase)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base!, typeInfo);
+ }
+ else if (value.IsDistributionMetricSeriesVariant2)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.DistributionMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.DistributionMetricSeriesVariant2).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.DistributionMetricSeriesVariant2!, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.ExecuteToolTraceSpan.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.ExecuteToolTraceSpan.g.cs
index df2f2408..8f321762 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonConverters.ExecuteToolTraceSpan.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.ExecuteToolTraceSpan.g.cs
@@ -37,6 +37,7 @@ public class ExecuteToolTraceSpanJsonConverter : global::System.Text.Json.Serial
var __score0 = 0;
if (__jsonProps.Contains("duration_ms")) __score0++;
if (__jsonProps.Contains("error_message")) __score0++;
+ if (__jsonProps.Contains("has_children")) __score0++;
if (__jsonProps.Contains("parent_span_id")) __score0++;
if (__jsonProps.Contains("span_id")) __score0++;
if (__jsonProps.Contains("started_at")) __score0++;
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.GaugeMetricSeries.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.GaugeMetricSeries.g.cs
new file mode 100644
index 00000000..3f9e49bc
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.GaugeMetricSeries.g.cs
@@ -0,0 +1,144 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public class GaugeMetricSeriesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.GaugeMetricSeries Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
+ var __rawJson = __jsonDocument.RootElement.GetRawText();
+ var __jsonProps = new global::System.Collections.Generic.HashSet();
+ if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name);
+
+ }
+ }
+
+ var __score0 = 0;
+ if (__jsonProps.Contains("bucket_size_seconds")) __score0++;
+ if (__jsonProps.Contains("labels")) __score0++;
+ if (__jsonProps.Contains("metric_name")) __score0++;
+ var __score1 = 0;
+ if (__jsonProps.Contains("kind")) __score1++;
+ if (__jsonProps.Contains("points")) __score1++;
+ var __bestScore = 0;
+ var __bestIndex = -1;
+ if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
+ if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
+
+ global::Vectara.MetricSeriesBase? @base = default;
+ global::Vectara.GaugeMetricSeriesVariant2? gaugeMetricSeriesVariant2 = default;
+ if (__bestIndex >= 0)
+ {
+ if (__bestIndex == 0)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ @base = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 1)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.GaugeMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.GaugeMetricSeriesVariant2).Name}");
+ gaugeMetricSeriesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ }
+
+ if (@base == null && gaugeMetricSeriesVariant2 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ @base = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (@base == null && gaugeMetricSeriesVariant2 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.GaugeMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.GaugeMetricSeriesVariant2).Name}");
+ gaugeMetricSeriesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::Vectara.GaugeMetricSeries(
+ @base,
+
+ gaugeMetricSeriesVariant2
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.GaugeMetricSeries value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsBase)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base!, typeInfo);
+ }
+ else if (value.IsGaugeMetricSeriesVariant2)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.GaugeMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.GaugeMetricSeriesVariant2).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.GaugeMetricSeriesVariant2!, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.GuardrailTraceSpan.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.GuardrailTraceSpan.g.cs
index 75e9afda..4ec1abe6 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonConverters.GuardrailTraceSpan.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.GuardrailTraceSpan.g.cs
@@ -37,6 +37,7 @@ public class GuardrailTraceSpanJsonConverter : global::System.Text.Json.Serializ
var __score0 = 0;
if (__jsonProps.Contains("duration_ms")) __score0++;
if (__jsonProps.Contains("error_message")) __score0++;
+ if (__jsonProps.Contains("has_children")) __score0++;
if (__jsonProps.Contains("parent_span_id")) __score0++;
if (__jsonProps.Contains("span_id")) __score0++;
if (__jsonProps.Contains("started_at")) __score0++;
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.ImageReadTraceSpan.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.ImageReadTraceSpan.g.cs
index e04e3d07..d3b1be9b 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonConverters.ImageReadTraceSpan.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.ImageReadTraceSpan.g.cs
@@ -37,6 +37,7 @@ public class ImageReadTraceSpanJsonConverter : global::System.Text.Json.Serializ
var __score0 = 0;
if (__jsonProps.Contains("duration_ms")) __score0++;
if (__jsonProps.Contains("error_message")) __score0++;
+ if (__jsonProps.Contains("has_children")) __score0++;
if (__jsonProps.Contains("parent_span_id")) __score0++;
if (__jsonProps.Contains("span_id")) __score0++;
if (__jsonProps.Contains("started_at")) __score0++;
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.InlineWebGetToolConfiguration.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.InlineWebGetToolConfiguration.g.cs
index b7a6b752..b5a98b32 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonConverters.InlineWebGetToolConfiguration.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.InlineWebGetToolConfiguration.g.cs
@@ -40,6 +40,7 @@ public class InlineWebGetToolConfigurationJsonConverter : global::System.Text.Js
if (__jsonProps.Contains("output_transform")) __score0++;
var __score1 = 0;
if (__jsonProps.Contains("argument_override")) __score1++;
+ if (__jsonProps.Contains("argument_override.auth")) __score1++;
if (__jsonProps.Contains("argument_override.body")) __score1++;
if (__jsonProps.Contains("argument_override.follow_redirects")) __score1++;
if (__jsonProps.Contains("argument_override.head_lines")) __score1++;
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.InvokeAgentTraceSpan.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.InvokeAgentTraceSpan.g.cs
index 37c6fd9b..9d56673c 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonConverters.InvokeAgentTraceSpan.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.InvokeAgentTraceSpan.g.cs
@@ -37,6 +37,7 @@ public class InvokeAgentTraceSpanJsonConverter : global::System.Text.Json.Serial
var __score0 = 0;
if (__jsonProps.Contains("duration_ms")) __score0++;
if (__jsonProps.Contains("error_message")) __score0++;
+ if (__jsonProps.Contains("has_children")) __score0++;
if (__jsonProps.Contains("parent_span_id")) __score0++;
if (__jsonProps.Contains("span_id")) __score0++;
if (__jsonProps.Contains("started_at")) __score0++;
@@ -48,6 +49,7 @@ public class InvokeAgentTraceSpanJsonConverter : global::System.Text.Json.Serial
if (__jsonProps.Contains("attributes.agent_description")) __score1++;
if (__jsonProps.Contains("attributes.agent_name")) __score1++;
if (__jsonProps.Contains("attributes.cache_read_input_tokens")) __score1++;
+ if (__jsonProps.Contains("attributes.depth")) __score1++;
if (__jsonProps.Contains("attributes.input_event_id")) __score1++;
if (__jsonProps.Contains("attributes.input_files")) __score1++;
if (__jsonProps.Contains("attributes.input_tokens")) __score1++;
@@ -56,6 +58,8 @@ public class InvokeAgentTraceSpanJsonConverter : global::System.Text.Json.Serial
if (__jsonProps.Contains("attributes.output_event_id")) __score1++;
if (__jsonProps.Contains("attributes.output_tokens")) __score1++;
if (__jsonProps.Contains("attributes.output_type")) __score1++;
+ if (__jsonProps.Contains("attributes.parent_agent_id")) __score1++;
+ if (__jsonProps.Contains("attributes.parent_session_id")) __score1++;
if (__jsonProps.Contains("attributes.provider_name")) __score1++;
if (__jsonProps.Contains("attributes.temperature")) __score1++;
if (__jsonProps.Contains("content")) __score1++;
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricKind.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricKind.g.cs
new file mode 100644
index 00000000..25f0e711
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricKind.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public sealed class MetricKindJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.MetricKind 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::Vectara.MetricKindExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vectara.MetricKind)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vectara.MetricKind);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.MetricKind value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vectara.MetricKindExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricKindNullable.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricKindNullable.g.cs
new file mode 100644
index 00000000..610c5ee8
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricKindNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public sealed class MetricKindNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.MetricKind? 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::Vectara.MetricKindExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vectara.MetricKind)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vectara.MetricKind?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.MetricKind? 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::Vectara.MetricKindExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricSeries.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricSeries.g.cs
new file mode 100644
index 00000000..61d95347
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricSeries.g.cs
@@ -0,0 +1,102 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public class MetricSeriesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.MetricSeries Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+
+ var readerCopy = reader;
+ var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.MetricSeriesDiscriminator)}");
+ var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo);
+
+ global::Vectara.CounterMetricSeries? counter = default;
+ if (discriminator?.Kind == global::Vectara.MetricSeriesDiscriminatorKind.Counter)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.CounterMetricSeries), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.CounterMetricSeries)}");
+ counter = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+ global::Vectara.GaugeMetricSeries? gauge = default;
+ if (discriminator?.Kind == global::Vectara.MetricSeriesDiscriminatorKind.Gauge)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.GaugeMetricSeries), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.GaugeMetricSeries)}");
+ gauge = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+ global::Vectara.PercentilesMetricSeries? percentiles = default;
+ if (discriminator?.Kind == global::Vectara.MetricSeriesDiscriminatorKind.Percentiles)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.PercentilesMetricSeries), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.PercentilesMetricSeries)}");
+ percentiles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+ global::Vectara.DistributionMetricSeries? distribution = default;
+ if (discriminator?.Kind == global::Vectara.MetricSeriesDiscriminatorKind.Distribution)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.DistributionMetricSeries), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.DistributionMetricSeries)}");
+ distribution = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+
+ var __value = new global::Vectara.MetricSeries(
+ discriminator?.Kind,
+ counter,
+
+ gauge,
+
+ percentiles,
+
+ distribution
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.MetricSeries value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsCounter)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.CounterMetricSeries), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.CounterMetricSeries).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Counter!.Value, typeInfo);
+ }
+ else if (value.IsGauge)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.GaugeMetricSeries), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.GaugeMetricSeries).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Gauge!.Value, typeInfo);
+ }
+ else if (value.IsPercentiles)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.PercentilesMetricSeries), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.PercentilesMetricSeries).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Percentiles!.Value, typeInfo);
+ }
+ else if (value.IsDistribution)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.DistributionMetricSeries), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.DistributionMetricSeries).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Distribution!.Value, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricSeriesDiscriminatorKind.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricSeriesDiscriminatorKind.g.cs
new file mode 100644
index 00000000..15b9dc75
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricSeriesDiscriminatorKind.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public sealed class MetricSeriesDiscriminatorKindJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.MetricSeriesDiscriminatorKind 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::Vectara.MetricSeriesDiscriminatorKindExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vectara.MetricSeriesDiscriminatorKind)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vectara.MetricSeriesDiscriminatorKind);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.MetricSeriesDiscriminatorKind value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vectara.MetricSeriesDiscriminatorKindExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricSeriesDiscriminatorKindNullable.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricSeriesDiscriminatorKindNullable.g.cs
new file mode 100644
index 00000000..c6dbffa6
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.MetricSeriesDiscriminatorKindNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public sealed class MetricSeriesDiscriminatorKindNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.MetricSeriesDiscriminatorKind? 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::Vectara.MetricSeriesDiscriminatorKindExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vectara.MetricSeriesDiscriminatorKind)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vectara.MetricSeriesDiscriminatorKind?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.MetricSeriesDiscriminatorKind? 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::Vectara.MetricSeriesDiscriminatorKindExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.OutputTraceSpan.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.OutputTraceSpan.g.cs
index e2412f11..93053e88 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonConverters.OutputTraceSpan.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.OutputTraceSpan.g.cs
@@ -30,6 +30,7 @@ public class OutputTraceSpanJsonConverter : global::System.Text.Json.Serializati
var __score0 = 0;
if (__jsonProps.Contains("duration_ms")) __score0++;
if (__jsonProps.Contains("error_message")) __score0++;
+ if (__jsonProps.Contains("has_children")) __score0++;
if (__jsonProps.Contains("parent_span_id")) __score0++;
if (__jsonProps.Contains("span_id")) __score0++;
if (__jsonProps.Contains("started_at")) __score0++;
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.PercentilesMetricSeries.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.PercentilesMetricSeries.g.cs
new file mode 100644
index 00000000..f5076b18
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.PercentilesMetricSeries.g.cs
@@ -0,0 +1,144 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public class PercentilesMetricSeriesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.PercentilesMetricSeries Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
+ var __rawJson = __jsonDocument.RootElement.GetRawText();
+ var __jsonProps = new global::System.Collections.Generic.HashSet();
+ if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name);
+
+ }
+ }
+
+ var __score0 = 0;
+ if (__jsonProps.Contains("bucket_size_seconds")) __score0++;
+ if (__jsonProps.Contains("labels")) __score0++;
+ if (__jsonProps.Contains("metric_name")) __score0++;
+ var __score1 = 0;
+ if (__jsonProps.Contains("kind")) __score1++;
+ if (__jsonProps.Contains("points")) __score1++;
+ var __bestScore = 0;
+ var __bestIndex = -1;
+ if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
+ if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
+
+ global::Vectara.MetricSeriesBase? @base = default;
+ global::Vectara.PercentilesMetricSeriesVariant2? percentilesMetricSeriesVariant2 = default;
+ if (__bestIndex >= 0)
+ {
+ if (__bestIndex == 0)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ @base = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 1)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.PercentilesMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.PercentilesMetricSeriesVariant2).Name}");
+ percentilesMetricSeriesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ }
+
+ if (@base == null && percentilesMetricSeriesVariant2 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ @base = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (@base == null && percentilesMetricSeriesVariant2 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.PercentilesMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.PercentilesMetricSeriesVariant2).Name}");
+ percentilesMetricSeriesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::Vectara.PercentilesMetricSeries(
+ @base,
+
+ percentilesMetricSeriesVariant2
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.PercentilesMetricSeries value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsBase)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.MetricSeriesBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.MetricSeriesBase).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base!, typeInfo);
+ }
+ else if (value.IsPercentilesMetricSeriesVariant2)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.PercentilesMetricSeriesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.PercentilesMetricSeriesVariant2).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.PercentilesMetricSeriesVariant2!, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.StepTransitionTraceSpan.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.StepTransitionTraceSpan.g.cs
index f7f881d7..f00319d1 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonConverters.StepTransitionTraceSpan.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.StepTransitionTraceSpan.g.cs
@@ -37,6 +37,7 @@ public class StepTransitionTraceSpanJsonConverter : global::System.Text.Json.Ser
var __score0 = 0;
if (__jsonProps.Contains("duration_ms")) __score0++;
if (__jsonProps.Contains("error_message")) __score0++;
+ if (__jsonProps.Contains("has_children")) __score0++;
if (__jsonProps.Contains("parent_span_id")) __score0++;
if (__jsonProps.Contains("span_id")) __score0++;
if (__jsonProps.Contains("started_at")) __score0++;
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.ThinkingTraceSpan.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.ThinkingTraceSpan.g.cs
index 93ea7375..c486f3dd 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonConverters.ThinkingTraceSpan.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.ThinkingTraceSpan.g.cs
@@ -30,6 +30,7 @@ public class ThinkingTraceSpanJsonConverter : global::System.Text.Json.Serializa
var __score0 = 0;
if (__jsonProps.Contains("duration_ms")) __score0++;
if (__jsonProps.Contains("error_message")) __score0++;
+ if (__jsonProps.Contains("has_children")) __score0++;
if (__jsonProps.Contains("parent_span_id")) __score0++;
if (__jsonProps.Contains("span_id")) __score0++;
if (__jsonProps.Contains("started_at")) __score0++;
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetAuth.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetAuth.g.cs
new file mode 100644
index 00000000..0e61f04a
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetAuth.g.cs
@@ -0,0 +1,117 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public class WebGetAuthJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.WebGetAuth Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+
+ var readerCopy = reader;
+ var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetAuthDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.WebGetAuthDiscriminator)}");
+ var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo);
+
+ global::Vectara.WebGetNoAuth? none = default;
+ if (discriminator?.Type == global::Vectara.WebGetAuthDiscriminatorType.None)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetNoAuth), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.WebGetNoAuth)}");
+ none = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+ global::Vectara.WebGetBearerAuth? bearer = default;
+ if (discriminator?.Type == global::Vectara.WebGetAuthDiscriminatorType.Bearer)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetBearerAuth), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.WebGetBearerAuth)}");
+ bearer = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+ global::Vectara.WebGetHeaderAuth? header = default;
+ if (discriminator?.Type == global::Vectara.WebGetAuthDiscriminatorType.Header)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetHeaderAuth), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.WebGetHeaderAuth)}");
+ header = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+ global::Vectara.WebGetOAuthClientCredentialsAuth? oauthClientCredentials = default;
+ if (discriminator?.Type == global::Vectara.WebGetAuthDiscriminatorType.OauthClientCredentials)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetOAuthClientCredentialsAuth), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.WebGetOAuthClientCredentialsAuth)}");
+ oauthClientCredentials = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+ global::Vectara.WebGetOAuthRefreshTokenAuth? oauthRefreshToken = default;
+ if (discriminator?.Type == global::Vectara.WebGetAuthDiscriminatorType.OauthRefreshToken)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetOAuthRefreshTokenAuth), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.WebGetOAuthRefreshTokenAuth)}");
+ oauthRefreshToken = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
+ }
+
+ var __value = new global::Vectara.WebGetAuth(
+ discriminator?.Type,
+ none,
+
+ bearer,
+
+ header,
+
+ oauthClientCredentials,
+
+ oauthRefreshToken
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.WebGetAuth value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsNone)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetNoAuth), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.WebGetNoAuth).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.None!, typeInfo);
+ }
+ else if (value.IsBearer)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetBearerAuth), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.WebGetBearerAuth).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Bearer!, typeInfo);
+ }
+ else if (value.IsHeader)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetHeaderAuth), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.WebGetHeaderAuth).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Header!, typeInfo);
+ }
+ else if (value.IsOauthClientCredentials)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetOAuthClientCredentialsAuth), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.WebGetOAuthClientCredentialsAuth).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.OauthClientCredentials!, typeInfo);
+ }
+ else if (value.IsOauthRefreshToken)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.WebGetOAuthRefreshTokenAuth), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.WebGetOAuthRefreshTokenAuth).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.OauthRefreshToken!, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetAuthDiscriminatorType.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetAuthDiscriminatorType.g.cs
new file mode 100644
index 00000000..57fb0013
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetAuthDiscriminatorType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public sealed class WebGetAuthDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.WebGetAuthDiscriminatorType 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::Vectara.WebGetAuthDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vectara.WebGetAuthDiscriminatorType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vectara.WebGetAuthDiscriminatorType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.WebGetAuthDiscriminatorType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vectara.WebGetAuthDiscriminatorTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetAuthDiscriminatorTypeNullable.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetAuthDiscriminatorTypeNullable.g.cs
new file mode 100644
index 00000000..3926e4e0
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetAuthDiscriminatorTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public sealed class WebGetAuthDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.WebGetAuthDiscriminatorType? 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::Vectara.WebGetAuthDiscriminatorTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vectara.WebGetAuthDiscriminatorType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vectara.WebGetAuthDiscriminatorType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.WebGetAuthDiscriminatorType? 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::Vectara.WebGetAuthDiscriminatorTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetHeaderValue.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetHeaderValue.g.cs
new file mode 100644
index 00000000..af0cdd38
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.WebGetHeaderValue.g.cs
@@ -0,0 +1,140 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace Vectara.JsonConverters
+{
+ ///
+ public class WebGetHeaderValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vectara.WebGetHeaderValue Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
+ var __rawJson = __jsonDocument.RootElement.GetRawText();
+ var __jsonProps = new global::System.Collections.Generic.HashSet();
+ if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name);
+
+ }
+ }
+
+ var __score0 = 0;
+ var __score1 = 0;
+ if (__jsonProps.Contains("$ref")) __score1++;
+ var __bestScore = 0;
+ var __bestIndex = -1;
+ if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
+ if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
+
+ string? webGetHeaderValueVariant1 = default;
+ global::Vectara.EagerReference? eagerReference = default;
+ if (__bestIndex >= 0)
+ {
+ if (__bestIndex == 0)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
+ webGetHeaderValueVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 1)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.EagerReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.EagerReference).Name}");
+ eagerReference = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ }
+
+ if (webGetHeaderValueVariant1 == null && eagerReference == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
+ webGetHeaderValueVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (webGetHeaderValueVariant1 == null && eagerReference == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.EagerReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.EagerReference).Name}");
+ eagerReference = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::Vectara.WebGetHeaderValue(
+ webGetHeaderValueVariant1,
+
+ eagerReference
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vectara.WebGetHeaderValue value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsWebGetHeaderValueVariant1)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebGetHeaderValueVariant1!, typeInfo);
+ }
+ else if (value.IsEagerReference)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.EagerReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.EagerReference).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.EagerReference!, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs b/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs
index 00a5e4a0..b7c40003 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs
@@ -225,6 +225,10 @@ namespace Vectara
typeof(global::Vectara.JsonConverters.WebSearchToolParametersProviderNullableJsonConverter),
+ typeof(global::Vectara.JsonConverters.WebGetAuthDiscriminatorTypeJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.WebGetAuthDiscriminatorTypeNullableJsonConverter),
+
typeof(global::Vectara.JsonConverters.WebGetToolParametersMethodJsonConverter),
typeof(global::Vectara.JsonConverters.WebGetToolParametersMethodNullableJsonConverter),
@@ -397,6 +401,14 @@ namespace Vectara
typeof(global::Vectara.JsonConverters.PipelineRunEventDiscriminatorTypeNullableJsonConverter),
+ typeof(global::Vectara.JsonConverters.MetricKindJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.MetricKindNullableJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.MetricSeriesDiscriminatorKindJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.MetricSeriesDiscriminatorKindNullableJsonConverter),
+
typeof(global::Vectara.JsonConverters.AgentTraceStatusJsonConverter),
typeof(global::Vectara.JsonConverters.AgentTraceStatusNullableJsonConverter),
@@ -559,6 +571,10 @@ namespace Vectara
typeof(global::Vectara.JsonConverters.InlineWebSearchToolConfigurationJsonConverter),
+ typeof(global::Vectara.JsonConverters.WebGetHeaderValueJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.WebGetAuthJsonConverter),
+
typeof(global::Vectara.JsonConverters.InlineWebGetToolConfigurationJsonConverter),
typeof(global::Vectara.JsonConverters.InlineLambdaToolConfigurationJsonConverter),
@@ -669,6 +685,16 @@ namespace Vectara
typeof(global::Vectara.JsonConverters.PipelineRunEventJsonConverter),
+ typeof(global::Vectara.JsonConverters.CounterMetricSeriesJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.GaugeMetricSeriesJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.PercentilesMetricSeriesJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.DistributionMetricSeriesJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.MetricSeriesJsonConverter),
+
typeof(global::Vectara.JsonConverters.InvokeAgentTraceSpanJsonConverter),
typeof(global::Vectara.JsonConverters.ChatTraceSpanJsonConverter),
@@ -697,7 +723,21 @@ namespace Vectara
typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
- typeof(global::Vectara.JsonConverters.OneOfJsonConverter, global::Vectara.EagerReference>),
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
@@ -1125,9 +1165,19 @@ namespace Vectara
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebSearchToolParametersProvider), TypeInfoPropertyName = "WebSearchToolParametersProvider2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.InlineWebSearchToolConfiguration), TypeInfoPropertyName = "InlineWebSearchToolConfiguration2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.InlineWebSearchToolConfigurationVariant2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetHeaderValue), TypeInfoPropertyName = "WebGetHeaderValue2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetHeadersMap))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetNoAuth))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetBearerAuth))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetHeaderAuth))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetOAuthClientCredentialsAuth))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetOAuthRefreshTokenAuth))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetAuth), TypeInfoPropertyName = "WebGetAuth2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetAuthDiscriminator))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetAuthDiscriminatorType), TypeInfoPropertyName = "WebGetAuthDiscriminatorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetToolParameters))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.WebGetToolParametersMethod), TypeInfoPropertyName = "WebGetToolParametersMethod2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.OneOf, global::Vectara.EagerReference>), TypeInfoPropertyName = "OneOfDictionaryStringStringEagerReference2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.OneOf), TypeInfoPropertyName = "OneOfWebGetHeadersMapEagerReference2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.OneOf), TypeInfoPropertyName = "OneOfBooleanEagerReference2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.OneOf), TypeInfoPropertyName = "OneOfInt32EagerReference2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.OneOf), TypeInfoPropertyName = "OneOfInt64EagerReference2")]
@@ -1207,16 +1257,6 @@ namespace Vectara
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.CreateAgentRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.UpdateFirstAgentStep))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.UpdateAgentStep))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.UpdateAgentRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.InputTokens))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.OutputTokens))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.SessionContextUsage))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.AgentSession))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ListAgentSessionsResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.CreateAgentSessionRequest))]
internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -1440,6 +1480,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vectara.JsonConverters.WebSearchToolParametersProviderNullableJsonConverter),
+ typeof(global::Vectara.JsonConverters.WebGetAuthDiscriminatorTypeJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.WebGetAuthDiscriminatorTypeNullableJsonConverter),
+
typeof(global::Vectara.JsonConverters.WebGetToolParametersMethodJsonConverter),
typeof(global::Vectara.JsonConverters.WebGetToolParametersMethodNullableJsonConverter),
@@ -1612,6 +1656,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vectara.JsonConverters.PipelineRunEventDiscriminatorTypeNullableJsonConverter),
+ typeof(global::Vectara.JsonConverters.MetricKindJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.MetricKindNullableJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.MetricSeriesDiscriminatorKindJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.MetricSeriesDiscriminatorKindNullableJsonConverter),
+
typeof(global::Vectara.JsonConverters.AgentTraceStatusJsonConverter),
typeof(global::Vectara.JsonConverters.AgentTraceStatusNullableJsonConverter),
@@ -1774,6 +1826,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vectara.JsonConverters.InlineWebSearchToolConfigurationJsonConverter),
+ typeof(global::Vectara.JsonConverters.WebGetHeaderValueJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.WebGetAuthJsonConverter),
+
typeof(global::Vectara.JsonConverters.InlineWebGetToolConfigurationJsonConverter),
typeof(global::Vectara.JsonConverters.InlineLambdaToolConfigurationJsonConverter),
@@ -1884,6 +1940,16 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vectara.JsonConverters.PipelineRunEventJsonConverter),
+ typeof(global::Vectara.JsonConverters.CounterMetricSeriesJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.GaugeMetricSeriesJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.PercentilesMetricSeriesJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.DistributionMetricSeriesJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.MetricSeriesJsonConverter),
+
typeof(global::Vectara.JsonConverters.InvokeAgentTraceSpanJsonConverter),
typeof(global::Vectara.JsonConverters.ChatTraceSpanJsonConverter),
@@ -1912,7 +1978,21 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
- typeof(global::Vectara.JsonConverters.OneOfJsonConverter, global::Vectara.EagerReference>),
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
+
+ typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
typeof(global::Vectara.JsonConverters.OneOfJsonConverter),
@@ -1932,6 +2012,16 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
typeof(global::Vectara.JsonConverters.UnixTimestampJsonConverter),
})]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.UpdateAgentStep))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.UpdateAgentRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.InputTokens))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.OutputTokens))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.SessionContextUsage))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.AgentSession))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ListAgentSessionsResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.CreateAgentSessionRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.CreateAgentSessionRequestFromSession))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.UpdateAgentSessionRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.AgentEventBase))]
@@ -2111,6 +2201,30 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.PipelineRunEventDiscriminatorType), TypeInfoPropertyName = "PipelineRunEventDiscriminatorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ListPipelineRunEventsResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.MetricKind), TypeInfoPropertyName = "MetricKind2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.MetricDescriptor))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ListMetricsResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.MetricSeriesBase))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ScalarMetricPoint))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.CounterMetricSeries), TypeInfoPropertyName = "CounterMetricSeries2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.CounterMetricSeriesVariant2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.GaugeMetricSeries), TypeInfoPropertyName = "GaugeMetricSeries2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.GaugeMetricSeriesVariant2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.PercentilesMetricPoint))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.PercentilesMetricSeries), TypeInfoPropertyName = "PercentilesMetricSeries2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.PercentilesMetricSeriesVariant2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.HistogramBin))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.DistributionMetricPoint))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.DistributionMetricSeries), TypeInfoPropertyName = "DistributionMetricSeries2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.DistributionMetricSeriesVariant2))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.MetricSeries), TypeInfoPropertyName = "MetricSeries2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.MetricSeriesDiscriminator))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.MetricSeriesDiscriminatorKind), TypeInfoPropertyName = "MetricSeriesDiscriminatorKind2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.AgentTrace))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.AgentTraceStatus), TypeInfoPropertyName = "AgentTraceStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ListAgentTracesResponse))]
@@ -2254,6 +2368,11 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.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))]
@@ -2409,6 +2528,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::Vectara.JsonConverters.UpdateInstructionRequestDiscriminatorTypeNullableJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.WebSearchToolParametersProviderJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.WebSearchToolParametersProviderNullableJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.WebGetAuthDiscriminatorTypeJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.WebGetAuthDiscriminatorTypeNullableJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.WebGetToolParametersMethodJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.WebGetToolParametersMethodNullableJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.SubAgentSessionModeJsonConverter());
@@ -2495,6 +2616,10 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::Vectara.JsonConverters.RecordProcessingEventStatusNullableJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.PipelineRunEventDiscriminatorTypeJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.PipelineRunEventDiscriminatorTypeNullableJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.MetricKindJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.MetricKindNullableJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.MetricSeriesDiscriminatorKindJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.MetricSeriesDiscriminatorKindNullableJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.AgentTraceStatusJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.AgentTraceStatusNullableJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.AgentTraceSpanStatusJsonConverter());
@@ -2576,6 +2701,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::Vectara.JsonConverters.InlineMcpToolConfigurationJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.InlineCorporaSearchToolConfigurationJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.InlineWebSearchToolConfigurationJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.WebGetHeaderValueJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.WebGetAuthJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.InlineWebGetToolConfigurationJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.InlineLambdaToolConfigurationJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.InlineSubAgentToolConfigurationJsonConverter());
@@ -2631,6 +2758,11 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::Vectara.JsonConverters.RecordProcessingEventJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.WatermarkAdvancedEventJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.PipelineRunEventJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.CounterMetricSeriesJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.GaugeMetricSeriesJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.PercentilesMetricSeriesJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.DistributionMetricSeriesJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.MetricSeriesJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.InvokeAgentTraceSpanJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.ChatTraceSpanJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.ExecuteToolTraceSpanJsonConverter());
@@ -2645,7 +2777,14 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o
options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
- options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter, global::Vectara.EagerReference>());
+ options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
+ options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
options.Converters.Add(new global::Vectara.JsonConverters.OneOfJsonConverter());
diff --git a/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs b/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs
index 24d58278..e14a6481 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs
@@ -1652,1379 +1652,1515 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Vectara.WebGetToolParameters? Type406 { get; set; }
+ public global::Vectara.WebGetHeaderValue? Type406 { get; set; }
///
///
///
- public global::Vectara.WebGetToolParametersMethod? Type407 { get; set; }
+ public global::Vectara.WebGetHeadersMap? Type407 { get; set; }
///
///
///
- public global::Vectara.OneOf, global::Vectara.EagerReference>? Type408 { get; set; }
+ public global::Vectara.WebGetNoAuth? Type408 { get; set; }
///
///
///
- public global::Vectara.OneOf? Type409 { get; set; }
+ public global::Vectara.WebGetBearerAuth? Type409 { get; set; }
///
///
///
- public global::Vectara.OneOf? Type410 { get; set; }
+ public global::Vectara.WebGetHeaderAuth? Type410 { get; set; }
///
///
///
- public global::Vectara.OneOf? Type411 { get; set; }
+ public global::Vectara.WebGetOAuthClientCredentialsAuth? Type411 { get; set; }
///
///
///
- public global::Vectara.InlineWebGetToolConfiguration? Type412 { get; set; }
+ public global::Vectara.WebGetOAuthRefreshTokenAuth? Type412 { get; set; }
///
///
///
- public global::Vectara.InlineWebGetToolConfigurationVariant2? Type413 { get; set; }
+ public global::Vectara.WebGetAuth? Type413 { get; set; }
///
///
///
- public global::Vectara.InlineLambdaToolConfiguration? Type414 { get; set; }
+ public global::Vectara.WebGetAuthDiscriminator? Type414 { get; set; }
///
///
///
- public global::Vectara.InlineLambdaToolConfigurationVariant2? Type415 { get; set; }
+ public global::Vectara.WebGetAuthDiscriminatorType? Type415 { get; set; }
///
///
///
- public global::Vectara.SubAgentToolParameters? Type416 { get; set; }
+ public global::Vectara.WebGetToolParameters? Type416 { get; set; }
///
///
///
- public global::Vectara.SubAgentSessionMode? Type417 { get; set; }
+ public global::Vectara.WebGetToolParametersMethod? Type417 { get; set; }
///
///
///
- public global::Vectara.SubAgentConfiguration? Type418 { get; set; }
+ public global::Vectara.OneOf? Type418 { get; set; }
///
///
///
- public global::Vectara.InlineSubAgentToolConfiguration? Type419 { get; set; }
+ public global::Vectara.OneOf? Type419 { get; set; }
///
///
///
- public global::Vectara.InlineSubAgentToolConfigurationVariant2? Type420 { get; set; }
+ public global::Vectara.OneOf? Type420 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactCreateToolConfiguration? Type421 { get; set; }
+ public global::Vectara.OneOf? Type421 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactCreateToolConfigurationVariant2? Type422 { get; set; }
+ public global::Vectara.InlineWebGetToolConfiguration? Type422 { get; set; }
///
///
///
- public global::Vectara.ArtifactReadToolParameters? Type423 { get; set; }
+ public global::Vectara.InlineWebGetToolConfigurationVariant2? Type423 { get; set; }
///
///
///
- public global::Vectara.ArtifactReadToolParametersEncoding? Type424 { get; set; }
+ public global::Vectara.InlineLambdaToolConfiguration? Type424 { get; set; }
///
///
///
- public global::Vectara.ArtifactReadConfiguration? Type425 { get; set; }
+ public global::Vectara.InlineLambdaToolConfigurationVariant2? Type425 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactReadToolConfiguration? Type426 { get; set; }
+ public global::Vectara.SubAgentToolParameters? Type426 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactReadToolConfigurationVariant2? Type427 { get; set; }
+ public global::Vectara.SubAgentSessionMode? Type427 { get; set; }
///
///
///
- public global::Vectara.ArtifactGrepToolParameters? Type428 { get; set; }
+ public global::Vectara.SubAgentConfiguration? Type428 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactGrepToolConfiguration? Type429 { get; set; }
+ public global::Vectara.InlineSubAgentToolConfiguration? Type429 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactGrepToolConfigurationVariant2? Type430 { get; set; }
+ public global::Vectara.InlineSubAgentToolConfigurationVariant2? Type430 { get; set; }
///
///
///
- public global::Vectara.ImageReadToolParameters? Type431 { get; set; }
+ public global::Vectara.InlineArtifactCreateToolConfiguration? Type431 { get; set; }
///
///
///
- public global::Vectara.ImageReadToolParametersDetail? Type432 { get; set; }
+ public global::Vectara.InlineArtifactCreateToolConfigurationVariant2? Type432 { get; set; }
///
///
///
- public global::Vectara.InlineImageReadToolConfiguration? Type433 { get; set; }
+ public global::Vectara.ArtifactReadToolParameters? Type433 { get; set; }
///
///
///
- public global::Vectara.InlineImageReadToolConfigurationVariant2? Type434 { get; set; }
+ public global::Vectara.ArtifactReadToolParametersEncoding? Type434 { get; set; }
///
///
///
- public global::Vectara.DocumentConversionToolParameters? Type435 { get; set; }
+ public global::Vectara.ArtifactReadConfiguration? Type435 { get; set; }
///
///
///
- public global::Vectara.DocumentConversionToolParametersOutputFormat? Type436 { get; set; }
+ public global::Vectara.InlineArtifactReadToolConfiguration? Type436 { get; set; }
///
///
///
- public global::Vectara.InlineDocumentConversionToolConfiguration? Type437 { get; set; }
+ public global::Vectara.InlineArtifactReadToolConfigurationVariant2? Type437 { get; set; }
///
///
///
- public global::Vectara.InlineDocumentConversionToolConfigurationVariant2? Type438 { get; set; }
+ public global::Vectara.ArtifactGrepToolParameters? Type438 { get; set; }
///
///
///
- public global::Vectara.GetDocumentTextParameters? Type439 { get; set; }
+ public global::Vectara.InlineArtifactGrepToolConfiguration? Type439 { get; set; }
///
///
///
- public global::Vectara.GetDocumentTextConfiguration? Type440 { get; set; }
+ public global::Vectara.InlineArtifactGrepToolConfigurationVariant2? Type440 { get; set; }
///
///
///
- public global::Vectara.GetDocumentTextConfigurationMetadata? Type441 { get; set; }
+ public global::Vectara.ImageReadToolParameters? Type441 { get; set; }
///
///
///
- public global::Vectara.InlineGetDocumentTextToolConfiguration? Type442 { get; set; }
+ public global::Vectara.ImageReadToolParametersDetail? Type442 { get; set; }
///
///
///
- public global::Vectara.InlineGetDocumentTextToolConfigurationVariant2? Type443 { get; set; }
+ public global::Vectara.InlineImageReadToolConfiguration? Type443 { get; set; }
///
///
///
- public global::Vectara.AgentToolConfiguration? Type444 { get; set; }
+ public global::Vectara.InlineImageReadToolConfigurationVariant2? Type444 { get; set; }
///
///
///
- public global::Vectara.AgentToolConfigurationDiscriminator? Type445 { get; set; }
+ public global::Vectara.DocumentConversionToolParameters? Type445 { get; set; }
///
///
///
- public global::Vectara.AgentToolConfigurationDiscriminatorType? Type446 { get; set; }
+ public global::Vectara.DocumentConversionToolParametersOutputFormat? Type446 { get; set; }
///
///
///
- public global::Vectara.AgentSkill? Type447 { get; set; }
+ public global::Vectara.InlineDocumentConversionToolConfiguration? Type447 { get; set; }
///
///
///
- public global::Vectara.RetryConfiguration? Type448 { get; set; }
+ public global::Vectara.InlineDocumentConversionToolConfigurationVariant2? Type448 { get; set; }
///
///
///
- public global::Vectara.AgentModel? Type449 { get; set; }
+ public global::Vectara.GetDocumentTextParameters? Type449 { get; set; }
///
///
///
- public global::Vectara.InstructionReference? Type450 { get; set; }
+ public global::Vectara.GetDocumentTextConfiguration? Type450 { get; set; }
///
///
///
- public global::Vectara.ReferenceInstruction? Type451 { get; set; }
+ public global::Vectara.GetDocumentTextConfigurationMetadata? Type451 { get; set; }
///
///
///
- public global::Vectara.ReferenceInstructionVariant2? Type452 { get; set; }
+ public global::Vectara.InlineGetDocumentTextToolConfiguration? Type452 { get; set; }
///
///
///
- public global::Vectara.InlineInstruction? Type453 { get; set; }
+ public global::Vectara.InlineGetDocumentTextToolConfigurationVariant2? Type453 { get; set; }
///
///
///
- public global::Vectara.InlineInstructionVariant2? Type454 { get; set; }
+ public global::Vectara.AgentToolConfiguration? Type454 { get; set; }
///
///
///
- public global::Vectara.AgentStepInstruction? Type455 { get; set; }
+ public global::Vectara.AgentToolConfigurationDiscriminator? Type455 { get; set; }
///
///
///
- public global::Vectara.AgentStepInstructionDiscriminator? Type456 { get; set; }
+ public global::Vectara.AgentToolConfigurationDiscriminatorType? Type456 { get; set; }
///
///
///
- public global::Vectara.AgentStepInstructionDiscriminatorType? Type457 { get; set; }
+ public global::Vectara.AgentSkill? Type457 { get; set; }
///
///
///
- public global::Vectara.DefaultOutputParser? Type458 { get; set; }
+ public global::Vectara.RetryConfiguration? Type458 { get; set; }
///
///
///
- public global::Vectara.StructuredOutputParser? Type459 { get; set; }
+ public global::Vectara.AgentModel? Type459 { get; set; }
///
///
///
- public global::Vectara.AgentOutputParser? Type460 { get; set; }
+ public global::Vectara.InstructionReference? Type460 { get; set; }
///
///
///
- public global::Vectara.AgentOutputParserDiscriminator? Type461 { get; set; }
+ public global::Vectara.ReferenceInstruction? Type461 { get; set; }
///
///
///
- public global::Vectara.AgentOutputParserDiscriminatorType? Type462 { get; set; }
+ public global::Vectara.ReferenceInstructionVariant2? Type462 { get; set; }
///
///
///
- public global::Vectara.TemplatedReminder? Type463 { get; set; }
+ public global::Vectara.InlineInstruction? Type463 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type464 { get; set; }
+ public global::Vectara.InlineInstructionVariant2? Type464 { get; set; }
///
///
///
- public global::Vectara.TemplatedReminderHook? Type465 { get; set; }
+ public global::Vectara.AgentStepInstruction? Type465 { get; set; }
///
///
///
- public global::Vectara.GlossaryExpansionReminder? Type466 { get; set; }
+ public global::Vectara.AgentStepInstructionDiscriminator? Type466 { get; set; }
///
///
///
- public global::Vectara.AgentStepReminder? Type467 { get; set; }
+ public global::Vectara.AgentStepInstructionDiscriminatorType? Type467 { get; set; }
///
///
///
- public global::Vectara.AgentStepReminderDiscriminator? Type468 { get; set; }
+ public global::Vectara.DefaultOutputParser? Type468 { get; set; }
///
///
///
- public global::Vectara.AgentStepReminderDiscriminatorType? Type469 { get; set; }
+ public global::Vectara.StructuredOutputParser? Type469 { get; set; }
///
///
///
- public global::Vectara.NextStep? Type470 { get; set; }
+ public global::Vectara.AgentOutputParser? Type470 { get; set; }
///
///
///
- public global::Vectara.FirstAgentStep? Type471 { get; set; }
+ public global::Vectara.AgentOutputParserDiscriminator? Type471 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type472 { get; set; }
+ public global::Vectara.AgentOutputParserDiscriminatorType? Type472 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type473 { get; set; }
+ public global::Vectara.TemplatedReminder? Type473 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type474 { get; set; }
+ public global::System.Collections.Generic.IList? Type474 { get; set; }
///
///
///
- public global::Vectara.AgentStep? Type475 { get; set; }
+ public global::Vectara.TemplatedReminderHook? Type475 { get; set; }
///
///
///
- public global::Vectara.CompactionConfig? Type476 { get; set; }
+ public global::Vectara.GlossaryExpansionReminder? Type476 { get; set; }
///
///
///
- public global::Vectara.CompactionConfigToolEventPolicy? Type477 { get; set; }
+ public global::Vectara.AgentStepReminder? Type477 { get; set; }
///
///
///
- public global::Vectara.ToolOutputOffloadingConfiguration? Type478 { get; set; }
+ public global::Vectara.AgentStepReminderDiscriminator? Type478 { get; set; }
///
///
///
- public global::Vectara.ToolOutputOffloadingConfigurationMode? Type479 { get; set; }
+ public global::Vectara.AgentStepReminderDiscriminatorType? Type479 { get; set; }
///
///
///
- public global::Vectara.Agent? Type480 { get; set; }
+ public global::Vectara.NextStep? Type480 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type481 { get; set; }
+ public global::Vectara.FirstAgentStep? Type481 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type482 { get; set; }
+ public global::System.Collections.Generic.IList? Type482 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type483 { get; set; }
+ public global::System.Collections.Generic.IList? Type483 { get; set; }
///
///
///
- public global::Vectara.ListAgentsResponse? Type484 { get; set; }
+ public global::System.Collections.Generic.IList? Type484 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type485 { get; set; }
+ public global::Vectara.AgentStep? Type485 { get; set; }
///
///
///
- public global::Vectara.CreateAgentRequest? Type486 { get; set; }
+ public global::Vectara.CompactionConfig? Type486 { get; set; }
///
///
///
- public global::Vectara.UpdateFirstAgentStep? Type487 { get; set; }
+ public global::Vectara.CompactionConfigToolEventPolicy? Type487 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentStep? Type488 { get; set; }
+ public global::Vectara.ToolOutputOffloadingConfiguration? Type488 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentRequest? Type489 { get; set; }
+ public global::Vectara.ToolOutputOffloadingConfigurationMode? Type489 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type490 { get; set; }
+ public global::Vectara.Agent? Type490 { get; set; }
///
///
///
- public global::Vectara.InputTokens? Type491 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type491 { get; set; }
///
///
///
- public global::Vectara.OutputTokens? Type492 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type492 { get; set; }
///
///
///
- public global::Vectara.SessionContextUsage? Type493 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type493 { get; set; }
///
///
///
- public global::Vectara.AgentSession? Type494 { get; set; }
+ public global::Vectara.ListAgentsResponse? Type494 { get; set; }
///
///
///
- public global::Vectara.ListAgentSessionsResponse? Type495 { get; set; }
+ public global::System.Collections.Generic.IList? Type495 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type496 { get; set; }
+ public global::Vectara.CreateAgentRequest? Type496 { get; set; }
///
///
///
- public global::Vectara.CreateAgentSessionRequest? Type497 { get; set; }
+ public global::Vectara.UpdateFirstAgentStep? Type497 { get; set; }
///
///
///
- public global::Vectara.CreateAgentSessionRequestFromSession? Type498 { get; set; }
+ public global::Vectara.UpdateAgentStep? Type498 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentSessionRequest? Type499 { get; set; }
+ public global::Vectara.UpdateAgentRequest? Type499 { get; set; }
///
///
///
- public global::Vectara.AgentEventBase? Type500 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type500 { get; set; }
///
///
///
- public global::Vectara.AgentTextInput? Type501 { get; set; }
+ public global::Vectara.InputTokens? Type501 { get; set; }
///
///
///
- public global::Vectara.AgentSkillInput? Type502 { get; set; }
+ public global::Vectara.OutputTokens? Type502 { get; set; }
///
///
///
- public global::Vectara.AgentInput? Type503 { get; set; }
+ public global::Vectara.SessionContextUsage? Type503 { get; set; }
///
///
///
- public global::Vectara.AgentInputDiscriminator? Type504 { get; set; }
+ public global::Vectara.AgentSession? Type504 { get; set; }
///
///
///
- public global::Vectara.AgentInputDiscriminatorType? Type505 { get; set; }
+ public global::Vectara.ListAgentSessionsResponse? Type505 { get; set; }
///
///
///
- public global::Vectara.InputMessageEvent? Type506 { get; set; }
+ public global::System.Collections.Generic.IList? Type506 { get; set; }
///
///
///
- public global::Vectara.InputMessageEventVariant2? Type507 { get; set; }
+ public global::Vectara.CreateAgentSessionRequest? Type507 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type508 { get; set; }
+ public global::Vectara.CreateAgentSessionRequestFromSession? Type508 { get; set; }
///
///
///
- public global::Vectara.SkillLoadEvent? Type509 { get; set; }
+ public global::Vectara.UpdateAgentSessionRequest? Type509 { get; set; }
///
///
///
- public global::Vectara.SkillLoadEventVariant2? Type510 { get; set; }
+ public global::Vectara.AgentEventBase? Type510 { get; set; }
///
///
///
- public global::Vectara.ArtifactReference? Type511 { get; set; }
+ public global::Vectara.AgentTextInput? Type511 { get; set; }
///
///
///
- public global::Vectara.ArtifactUploadEvent? Type512 { get; set; }
+ public global::Vectara.AgentSkillInput? Type512 { get; set; }
///
///
///
- public global::Vectara.ArtifactUploadEventVariant2? Type513 { get; set; }
+ public global::Vectara.AgentInput? Type513 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type514 { get; set; }
+ public global::Vectara.AgentInputDiscriminator? Type514 { get; set; }
///
///
///
- public global::Vectara.ToolInputEvent? Type515 { get; set; }
+ public global::Vectara.AgentInputDiscriminatorType? Type515 { get; set; }
///
///
///
- public global::Vectara.ToolInputEventVariant2? Type516 { get; set; }
+ public global::Vectara.InputMessageEvent? Type516 { get; set; }
///
///
///
- public global::Vectara.ToolOutputEvent? Type517 { get; set; }
+ public global::Vectara.InputMessageEventVariant2? Type517 { get; set; }
///
///
///
- public global::Vectara.ToolOutputEventVariant2? Type518 { get; set; }
+ public global::System.Collections.Generic.IList? Type518 { get; set; }
///
///
///
- public global::Vectara.ThinkingEvent? Type519 { get; set; }
+ public global::Vectara.SkillLoadEvent? Type519 { get; set; }
///
///
///
- public global::Vectara.ThinkingEventVariant2? Type520 { get; set; }
+ public global::Vectara.SkillLoadEventVariant2? Type520 { get; set; }
///
///
///
- public global::Vectara.AgentOutputEvent? Type521 { get; set; }
+ public global::Vectara.ArtifactReference? Type521 { get; set; }
///
///
///
- public global::Vectara.AgentOutputEventVariant2? Type522 { get; set; }
+ public global::Vectara.ArtifactUploadEvent? Type522 { get; set; }
///
///
///
- public global::Vectara.StructuredOutputEvent? Type523 { get; set; }
+ public global::Vectara.ArtifactUploadEventVariant2? Type523 { get; set; }
///
///
///
- public global::Vectara.StructuredOutputEventVariant2? Type524 { get; set; }
+ public global::System.Collections.Generic.IList? Type524 { get; set; }
///
///
///
- public global::Vectara.ContextLimitExceededEvent? Type525 { get; set; }
+ public global::Vectara.ToolInputEvent? Type525 { get; set; }
///
///
///
- public global::Vectara.ContextLimitExceededEventVariant2? Type526 { get; set; }
+ public global::Vectara.ToolInputEventVariant2? Type526 { get; set; }
///
///
///
- public global::Vectara.StepTransitionLimitExceededEvent? Type527 { get; set; }
+ public global::Vectara.ToolOutputEvent? Type527 { get; set; }
///
///
///
- public global::Vectara.StepTransitionLimitExceededEventVariant2? Type528 { get; set; }
+ public global::Vectara.ToolOutputEventVariant2? Type528 { get; set; }
///
///
///
- public global::Vectara.SessionInterruptedEvent? Type529 { get; set; }
+ public global::Vectara.ThinkingEvent? Type529 { get; set; }
///
///
///
- public global::Vectara.SessionInterruptedEventVariant2? Type530 { get; set; }
+ public global::Vectara.ThinkingEventVariant2? Type530 { get; set; }
///
///
///
- public global::Vectara.ImageReadEvent? Type531 { get; set; }
+ public global::Vectara.AgentOutputEvent? Type531 { get; set; }
///
///
///
- public global::Vectara.ImageReadEventVariant2? Type532 { get; set; }
+ public global::Vectara.AgentOutputEventVariant2? Type532 { get; set; }
///
///
///
- public global::Vectara.ImageReadEventVariant2Detail? Type533 { get; set; }
+ public global::Vectara.StructuredOutputEvent? Type533 { get; set; }
///
///
///
- public global::Vectara.StepTransitionEvent? Type534 { get; set; }
+ public global::Vectara.StructuredOutputEventVariant2? Type534 { get; set; }
///
///
///
- public global::Vectara.StepTransitionEventVariant2? Type535 { get; set; }
+ public global::Vectara.ContextLimitExceededEvent? Type535 { get; set; }
///
///
///
- public global::Vectara.CompactionEvent? Type536 { get; set; }
+ public global::Vectara.ContextLimitExceededEventVariant2? Type536 { get; set; }
///
///
///
- public global::Vectara.CompactionEventVariant2? Type537 { get; set; }
+ public global::Vectara.StepTransitionLimitExceededEvent? Type537 { get; set; }
///
///
///
- public global::Vectara.AgentEvent? Type538 { get; set; }
+ public global::Vectara.StepTransitionLimitExceededEventVariant2? Type538 { get; set; }
///
///
///
- public global::Vectara.AgentEventDiscriminator? Type539 { get; set; }
+ public global::Vectara.SessionInterruptedEvent? Type539 { get; set; }
///
///
///
- public global::Vectara.AgentEventDiscriminatorType? Type540 { get; set; }
+ public global::Vectara.SessionInterruptedEventVariant2? Type540 { get; set; }
///
///
///
- public global::Vectara.ListAgentEventsResponse? Type541 { get; set; }
+ public global::Vectara.ImageReadEvent? Type541 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type542 { get; set; }
+ public global::Vectara.ImageReadEventVariant2? Type542 { get; set; }
///
///
///
- public global::Vectara.CreateInputRequestBase? Type543 { get; set; }
+ public global::Vectara.ImageReadEventVariant2Detail? Type543 { get; set; }
///
///
///
- public global::Vectara.InputBehavior? Type544 { get; set; }
+ public global::Vectara.StepTransitionEvent? Type544 { get; set; }
///
///
///
- public global::Vectara.CreateInputMessageRequest? Type545 { get; set; }
+ public global::Vectara.StepTransitionEventVariant2? Type545 { get; set; }
///
///
///
- public global::Vectara.CreateInputMessageRequestVariant2? Type546 { get; set; }
+ public global::Vectara.CompactionEvent? Type546 { get; set; }
///
///
///
- public global::Vectara.CreateInterruptRequest? Type547 { get; set; }
+ public global::Vectara.CompactionEventVariant2? Type547 { get; set; }
///
///
///
- public global::Vectara.CreateInterruptRequestVariant2? Type548 { get; set; }
+ public global::Vectara.AgentEvent? Type548 { get; set; }
///
///
///
- public global::Vectara.CreateCompactRequest? Type549 { get; set; }
+ public global::Vectara.AgentEventDiscriminator? Type549 { get; set; }
///
///
///
- public global::Vectara.CreateCompactRequestVariant2? Type550 { get; set; }
+ public global::Vectara.AgentEventDiscriminatorType? Type550 { get; set; }
///
///
///
- public global::Vectara.CreateInputRequest? Type551 { get; set; }
+ public global::Vectara.ListAgentEventsResponse? Type551 { get; set; }
///
///
///
- public global::Vectara.CreateInputRequestDiscriminator? Type552 { get; set; }
+ public global::System.Collections.Generic.IList? Type552 { get; set; }
///
///
///
- public global::Vectara.CreateInputRequestDiscriminatorType? Type553 { get; set; }
+ public global::Vectara.CreateInputRequestBase? Type553 { get; set; }
///
///
///
- public global::Vectara.AgentResponse? Type554 { get; set; }
+ public global::Vectara.InputBehavior? Type554 { get; set; }
///
///
///
- public global::Vectara.StreamingAgentOutput? Type555 { get; set; }
+ public global::Vectara.CreateInputMessageRequest? Type555 { get; set; }
///
///
///
- public global::Vectara.StreamingAgentOutputEnd? Type556 { get; set; }
+ public global::Vectara.CreateInputMessageRequestVariant2? Type556 { get; set; }
///
///
///
- public global::Vectara.StreamingThinking? Type557 { get; set; }
+ public global::Vectara.CreateInterruptRequest? Type557 { get; set; }
///
///
///
- public global::Vectara.StreamingThinkingEnd? Type558 { get; set; }
+ public global::Vectara.CreateInterruptRequestVariant2? Type558 { get; set; }
///
///
///
- public global::Vectara.ContextConsumedEvent? Type559 { get; set; }
+ public global::Vectara.CreateCompactRequest? Type559 { get; set; }
///
///
///
- public global::Vectara.CompactionStartedEvent? Type560 { get; set; }
+ public global::Vectara.CreateCompactRequestVariant2? Type560 { get; set; }
///
///
///
- public global::Vectara.CompactionStartedEventVariant2? Type561 { get; set; }
+ public global::Vectara.CreateInputRequest? Type561 { get; set; }
///
///
///
- public global::Vectara.AgentStreamedResponse? Type562 { get; set; }
+ public global::Vectara.CreateInputRequestDiscriminator? Type562 { get; set; }
///
///
///
- public global::Vectara.AgentStreamedResponseDiscriminator? Type563 { get; set; }
+ public global::Vectara.CreateInputRequestDiscriminatorType? Type563 { get; set; }
///
///
///
- public global::Vectara.AgentStreamedResponseDiscriminatorType? Type564 { get; set; }
+ public global::Vectara.AgentResponse? Type564 { get; set; }
///
///
///
- public global::Vectara.SessionArtifact? Type565 { get; set; }
+ public global::Vectara.StreamingAgentOutput? Type565 { get; set; }
///
///
///
- public global::Vectara.ListSessionArtifactsResponse? Type566 { get; set; }
+ public global::Vectara.StreamingAgentOutputEnd? Type566 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type567 { get; set; }
+ public global::Vectara.StreamingThinking? Type567 { get; set; }
///
///
///
- public global::Vectara.IntervalScheduleConfiguration? Type568 { get; set; }
+ public global::Vectara.StreamingThinkingEnd? Type568 { get; set; }
///
///
///
- public global::Vectara.IntervalScheduleConfigurationType? Type569 { get; set; }
+ public global::Vectara.ContextConsumedEvent? Type569 { get; set; }
///
///
///
- public global::Vectara.CronScheduleConfiguration? Type570 { get; set; }
+ public global::Vectara.CompactionStartedEvent? Type570 { get; set; }
///
///
///
- public global::Vectara.CronScheduleConfigurationType? Type571 { get; set; }
+ public global::Vectara.CompactionStartedEventVariant2? Type571 { get; set; }
///
///
///
- public global::Vectara.ScheduleConfiguration? Type572 { get; set; }
+ public global::Vectara.AgentStreamedResponse? Type572 { get; set; }
///
///
///
- public global::Vectara.AgentSchedule? Type573 { get; set; }
+ public global::Vectara.AgentStreamedResponseDiscriminator? Type573 { get; set; }
///
///
///
- public global::Vectara.ListAgentSchedulesResponse? Type574 { get; set; }
+ public global::Vectara.AgentStreamedResponseDiscriminatorType? Type574 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type575 { get; set; }
+ public global::Vectara.SessionArtifact? Type575 { get; set; }
///
///
///
- public global::Vectara.CreateAgentScheduleRequest? Type576 { get; set; }
+ public global::Vectara.ListSessionArtifactsResponse? Type576 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentScheduleRequest? Type577 { get; set; }
+ public global::System.Collections.Generic.IList? Type577 { get; set; }
///
///
///
- public global::Vectara.AgentScheduleExecution? Type578 { get; set; }
+ public global::Vectara.IntervalScheduleConfiguration? Type578 { get; set; }
///
///
///
- public global::Vectara.AgentScheduleExecutionStatus? Type579 { get; set; }
+ public global::Vectara.IntervalScheduleConfigurationType? Type579 { get; set; }
///
///
///
- public global::Vectara.ListAgentScheduleExecutionsResponse? Type580 { get; set; }
+ public global::Vectara.CronScheduleConfiguration? Type580 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type581 { get; set; }
+ public global::Vectara.CronScheduleConfigurationType? Type581 { get; set; }
///
///
///
- public global::Vectara.AgentIdentityMode? Type582 { get; set; }
+ public global::Vectara.ScheduleConfiguration? Type582 { get; set; }
///
///
///
- public global::Vectara.AgentIdentity? Type583 { get; set; }
+ public global::Vectara.AgentSchedule? Type583 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentIdentityRequest? Type584 { get; set; }
+ public global::Vectara.ListAgentSchedulesResponse? Type584 { get; set; }
///
///
///
- public global::Vectara.AgentSecrets? Type585 { get; set; }
+ public global::System.Collections.Generic.IList? Type585 { get; set; }
///
///
///
- public global::Vectara.ReplaceAgentSecretsRequest? Type586 { get; set; }
+ public global::Vectara.CreateAgentScheduleRequest? Type586 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentSecretsRequest? Type587 { get; set; }
+ public global::Vectara.UpdateAgentScheduleRequest? Type587 { get; set; }
///
///
///
- public global::Vectara.SlackConnectorConfiguration? Type588 { get; set; }
+ public global::Vectara.AgentScheduleExecution? Type588 { get; set; }
///
///
///
- public global::Vectara.ConnectorConfiguration? Type589 { get; set; }
+ public global::Vectara.AgentScheduleExecutionStatus? Type589 { get; set; }
///
///
///
- public global::Vectara.ConnectorConfigurationDiscriminator? Type590 { get; set; }
+ public global::Vectara.ListAgentScheduleExecutionsResponse? Type590 { get; set; }
///
///
///
- public global::Vectara.ConnectorConfigurationDiscriminatorType? Type591 { get; set; }
+ public global::System.Collections.Generic.IList? Type591 { get; set; }
///
///
///
- public global::Vectara.AgentConnector? Type592 { get; set; }
+ public global::Vectara.AgentIdentityMode? Type592 { get; set; }
///
///
///
- public global::Vectara.AgentConnectorType? Type593 { get; set; }
+ public global::Vectara.AgentIdentity? Type593 { get; set; }
///
///
///
- public global::Vectara.AgentConnectorStatus? Type594 { get; set; }
+ public global::Vectara.UpdateAgentIdentityRequest? Type594 { get; set; }
///
///
///
- public global::Vectara.ListAgentConnectorsResponse? Type595 { get; set; }
+ public global::Vectara.AgentSecrets? Type595 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type596 { get; set; }
+ public global::Vectara.ReplaceAgentSecretsRequest? Type596 { get; set; }
///
///
///
- public global::Vectara.CreateAgentConnectorRequest? Type597 { get; set; }
+ public global::Vectara.UpdateAgentSecretsRequest? Type597 { get; set; }
///
///
///
- public global::Vectara.CreateAgentConnectorRequestType? Type598 { get; set; }
+ public global::Vectara.SlackConnectorConfiguration? Type598 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentConnectorRequest? Type599 { get; set; }
+ public global::Vectara.ConnectorConfiguration? Type599 { get; set; }
///
///
///
- public global::Vectara.PipelineStatus? Type600 { get; set; }
+ public global::Vectara.ConnectorConfigurationDiscriminator? Type600 { get; set; }
///
///
///
- public global::Vectara.BaseS3SourceConfiguration? Type601 { get; set; }
+ public global::Vectara.ConnectorConfigurationDiscriminatorType? Type601 { get; set; }
///
///
///
- public global::Vectara.S3SourceConfiguration? Type602 { get; set; }
+ public global::Vectara.AgentConnector? Type602 { get; set; }
///
///
///
- public global::Vectara.BaseWebSource? Type603 { get; set; }
+ public global::Vectara.AgentConnectorType? Type603 { get; set; }
///
///
///
- public global::Vectara.SitemapPagesSource? Type604 { get; set; }
+ public global::Vectara.AgentConnectorStatus? Type604 { get; set; }
///
///
///
- public global::Vectara.BaseCrawlPagesSource? Type605 { get; set; }
+ public global::Vectara.ListAgentConnectorsResponse? Type605 { get; set; }
///
///
///
- public global::Vectara.CrawlPagesSource? Type606 { get; set; }
+ public global::System.Collections.Generic.IList? Type606 { get; set; }
///
///
///
- public global::Vectara.CrawlPagesSourceVariant2? Type607 { get; set; }
+ public global::Vectara.CreateAgentConnectorRequest? Type607 { get; set; }
///
///
///
- public global::Vectara.SitemapCrawlPagesSource? Type608 { get; set; }
+ public global::Vectara.CreateAgentConnectorRequestType? Type608 { get; set; }
///
///
///
- public global::Vectara.SitemapCrawlPagesSourceVariant2? Type609 { get; set; }
+ public global::Vectara.UpdateAgentConnectorRequest? Type609 { get; set; }
///
///
///
- public global::Vectara.WebPagesSource? Type610 { get; set; }
+ public global::Vectara.PipelineStatus? Type610 { get; set; }
///
///
///
- public global::Vectara.WebPagesSourceDiscriminator? Type611 { get; set; }
+ public global::Vectara.BaseS3SourceConfiguration? Type611 { get; set; }
///
///
///
- public global::Vectara.WebPagesSourceDiscriminatorType? Type612 { get; set; }
+ public global::Vectara.S3SourceConfiguration? Type612 { get; set; }
///
///
///
- public global::Vectara.WebSourceConfiguration? Type613 { get; set; }
+ public global::Vectara.BaseWebSource? Type613 { get; set; }
///
///
///
- public global::Vectara.WebSourceConfigurationVariant2? Type614 { get; set; }
+ public global::Vectara.SitemapPagesSource? Type614 { get; set; }
///
///
///
- public global::Vectara.PipelineSource? Type615 { get; set; }
+ public global::Vectara.BaseCrawlPagesSource? Type615 { get; set; }
///
///
///
- public global::Vectara.PipelineSourceDiscriminator? Type616 { get; set; }
+ public global::Vectara.CrawlPagesSource? Type616 { get; set; }
///
///
///
- public global::Vectara.PipelineSourceDiscriminatorType? Type617 { get; set; }
+ public global::Vectara.CrawlPagesSourceVariant2? Type617 { get; set; }
///
///
///
- public global::Vectara.CronTriggerConfiguration? Type618 { get; set; }
+ public global::Vectara.SitemapCrawlPagesSource? Type618 { get; set; }
///
///
///
- public global::Vectara.IntervalTriggerConfiguration? Type619 { get; set; }
+ public global::Vectara.SitemapCrawlPagesSourceVariant2? Type619 { get; set; }
///
///
///
- public global::Vectara.ManualTriggerConfiguration? Type620 { get; set; }
+ public global::Vectara.WebPagesSource? Type620 { get; set; }
///
///
///
- public global::Vectara.PipelineTrigger? Type621 { get; set; }
+ public global::Vectara.WebPagesSourceDiscriminator? Type621 { get; set; }
///
///
///
- public global::Vectara.PipelineTriggerDiscriminator? Type622 { get; set; }
+ public global::Vectara.WebPagesSourceDiscriminatorType? Type622 { get; set; }
///
///
///
- public global::Vectara.PipelineTriggerDiscriminatorType? Type623 { get; set; }
+ public global::Vectara.WebSourceConfiguration? Type623 { get; set; }
///
///
///
- public global::Vectara.ConditionVerification? Type624 { get; set; }
+ public global::Vectara.WebSourceConfigurationVariant2? Type624 { get; set; }
///
///
///
- public global::Vectara.AgentVerification? Type625 { get; set; }
+ public global::Vectara.PipelineSource? Type625 { get; set; }
///
///
///
- public global::Vectara.PipelineVerification? Type626 { get; set; }
+ public global::Vectara.PipelineSourceDiscriminator? Type626 { get; set; }
///
///
///
- public global::Vectara.PipelineVerificationDiscriminator? Type627 { get; set; }
+ public global::Vectara.PipelineSourceDiscriminatorType? Type627 { get; set; }
///
///
///
- public global::Vectara.PipelineVerificationDiscriminatorType? Type628 { get; set; }
+ public global::Vectara.CronTriggerConfiguration? Type628 { get; set; }
///
///
///
- public global::Vectara.AgentTransformConfiguration? Type629 { get; set; }
+ public global::Vectara.IntervalTriggerConfiguration? Type629 { get; set; }
///
///
///
- public global::Vectara.PipelineTransform? Type630 { get; set; }
+ public global::Vectara.ManualTriggerConfiguration? Type630 { get; set; }
///
///
///
- public global::Vectara.PipelineTransformDiscriminator? Type631 { get; set; }
+ public global::Vectara.PipelineTrigger? Type631 { get; set; }
///
///
///
- public global::Vectara.PipelineTransformDiscriminatorType? Type632 { get; set; }
+ public global::Vectara.PipelineTriggerDiscriminator? Type632 { get; set; }
///
///
///
- public global::Vectara.PipelineSyncMode? Type633 { get; set; }
+ public global::Vectara.PipelineTriggerDiscriminatorType? Type633 { get; set; }
///
///
///
- public global::Vectara.PipelineWatermark? Type634 { get; set; }
+ public global::Vectara.ConditionVerification? Type634 { get; set; }
///
///
///
- public global::Vectara.Pipeline? Type635 { get; set; }
+ public global::Vectara.AgentVerification? Type635 { get; set; }
///
///
///
- public global::Vectara.ListPipelinesResponse? Type636 { get; set; }
+ public global::Vectara.PipelineVerification? Type636 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type637 { get; set; }
+ public global::Vectara.PipelineVerificationDiscriminator? Type637 { get; set; }
///
///
///
- public global::Vectara.CreatePipelineRequest? Type638 { get; set; }
+ public global::Vectara.PipelineVerificationDiscriminatorType? Type638 { get; set; }
///
///
///
- public global::Vectara.UpdateS3SourceConfiguration? Type639 { get; set; }
+ public global::Vectara.AgentTransformConfiguration? Type639 { get; set; }
///
///
///
- public global::Vectara.UpdateWebSourceConfiguration? Type640 { get; set; }
+ public global::Vectara.PipelineTransform? Type640 { get; set; }
///
///
///
- public global::Vectara.UpdateWebSourceConfigurationVariant2? Type641 { get; set; }
+ public global::Vectara.PipelineTransformDiscriminator? Type641 { get; set; }
///
///
///
- public global::Vectara.UpdatePipelineSource? Type642 { get; set; }
+ public global::Vectara.PipelineTransformDiscriminatorType? Type642 { get; set; }
///
///
///
- public global::Vectara.UpdatePipelineSourceDiscriminator? Type643 { get; set; }
+ public global::Vectara.PipelineSyncMode? Type643 { get; set; }
///
///
///
- public global::Vectara.UpdatePipelineSourceDiscriminatorType? Type644 { get; set; }
+ public global::Vectara.PipelineWatermark? Type644 { get; set; }
///
///
///
- public global::Vectara.UpdatePipelineRequest? Type645 { get; set; }
+ public global::Vectara.Pipeline? Type645 { get; set; }
///
///
///
- public global::Vectara.PipelineRunStatus? Type646 { get; set; }
+ public global::Vectara.ListPipelinesResponse? Type646 { get; set; }
///
///
///
- public global::Vectara.PipelineRunTriggerType? Type647 { get; set; }
+ public global::System.Collections.Generic.IList? Type647 { get; set; }
///
///
///
- public global::Vectara.PipelineRun? Type648 { get; set; }
+ public global::Vectara.CreatePipelineRequest? Type648 { get; set; }
///
///
///
- public global::Vectara.DeadLetterStatus? Type649 { get; set; }
+ public global::Vectara.UpdateS3SourceConfiguration? Type649 { get; set; }
///
///
///
- public global::Vectara.DeadLetterOrigin? Type650 { get; set; }
+ public global::Vectara.UpdateWebSourceConfiguration? Type650 { get; set; }
///
///
///
- public global::Vectara.PipelineDeadLetterEntry? Type651 { get; set; }
+ public global::Vectara.UpdateWebSourceConfigurationVariant2? Type651 { get; set; }
///
///
///
- public global::Vectara.ListPipelineDeadLetterEntriesResponse? Type652 { get; set; }
+ public global::Vectara.UpdatePipelineSource? Type652 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type653 { get; set; }
+ public global::Vectara.UpdatePipelineSourceDiscriminator? Type653 { get; set; }
///
///
///
- public global::Vectara.CreatePipelineDeadLetterEntryRequest? Type654 { get; set; }
+ public global::Vectara.UpdatePipelineSourceDiscriminatorType? Type654 { get; set; }
///
///
///
- public global::Vectara.ProcessPipelineDeadLetterEntriesRequest? Type655 { get; set; }
+ public global::Vectara.UpdatePipelineRequest? Type655 { get; set; }
///
///
///
- public global::Vectara.ListPipelineRunsResponse? Type656 { get; set; }
+ public global::Vectara.PipelineRunStatus? Type656 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type657 { get; set; }
+ public global::Vectara.PipelineRunTriggerType? Type657 { get; set; }
///
///
///
- public global::Vectara.PipelineRunEventType? Type658 { get; set; }
+ public global::Vectara.PipelineRun? Type658 { get; set; }
///
///
///
- public global::Vectara.SortOrder? Type659 { get; set; }
+ public global::Vectara.DeadLetterStatus? Type659 { get; set; }
///
///
///
- public global::Vectara.PipelineRunEventBase? Type660 { get; set; }
+ public global::Vectara.DeadLetterOrigin? Type660 { get; set; }
///
///
///
- public global::Vectara.RunStartedEvent? Type661 { get; set; }
+ public global::Vectara.PipelineDeadLetterEntry? Type661 { get; set; }
///
///
///
- public global::Vectara.RunStartedEventVariant2? Type662 { get; set; }
+ public global::Vectara.ListPipelineDeadLetterEntriesResponse? Type662 { get; set; }
///
///
///
- public global::Vectara.RunCompletedEventStatus? Type663 { get; set; }
+ public global::System.Collections.Generic.IList? Type663 { get; set; }
///
///
///
- public global::Vectara.RunCompletedEvent? Type664 { get; set; }
+ public global::Vectara.CreatePipelineDeadLetterEntryRequest? Type664 { get; set; }
///
///
///
- public global::Vectara.RunCompletedEventVariant2? Type665 { get; set; }
+ public global::Vectara.ProcessPipelineDeadLetterEntriesRequest? Type665 { get; set; }
///
///
///
- public global::Vectara.RecordProcessingEventStatus? Type666 { get; set; }
+ public global::Vectara.ListPipelineRunsResponse? Type666 { get; set; }
///
///
///
- public global::Vectara.RecordProcessingEvent? Type667 { get; set; }
+ public global::System.Collections.Generic.IList? Type667 { get; set; }
///
///
///
- public global::Vectara.RecordProcessingEventVariant2? Type668 { get; set; }
+ public global::Vectara.PipelineRunEventType? Type668 { get; set; }
///
///
///
- public global::Vectara.WatermarkAdvancedEvent? Type669 { get; set; }
+ public global::Vectara.SortOrder? Type669 { get; set; }
///
///
///
- public global::Vectara.WatermarkAdvancedEventVariant2? Type670 { get; set; }
+ public global::Vectara.PipelineRunEventBase? Type670 { get; set; }
///
///
///
- public global::Vectara.PipelineRunEvent? Type671 { get; set; }
+ public global::Vectara.RunStartedEvent? Type671 { get; set; }
///
///
///
- public global::Vectara.PipelineRunEventDiscriminator? Type672 { get; set; }
+ public global::Vectara.RunStartedEventVariant2? Type672 { get; set; }
///
///
///
- public global::Vectara.PipelineRunEventDiscriminatorType? Type673 { get; set; }
+ public global::Vectara.RunCompletedEventStatus? Type673 { get; set; }
///
///
///
- public global::Vectara.ListPipelineRunEventsResponse? Type674 { get; set; }
+ public global::Vectara.RunCompletedEvent? Type674 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type675 { get; set; }
+ public global::Vectara.RunCompletedEventVariant2? Type675 { get; set; }
///
///
///
- public global::Vectara.AgentTrace? Type676 { get; set; }
+ public global::Vectara.RecordProcessingEventStatus? Type676 { get; set; }
///
///
///
- public global::Vectara.AgentTraceStatus? Type677 { get; set; }
+ public global::Vectara.RecordProcessingEvent? Type677 { get; set; }
///
///
///
- public global::Vectara.ListAgentTracesResponse? Type678 { get; set; }
+ public global::Vectara.RecordProcessingEventVariant2? Type678 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type679 { get; set; }
+ public global::Vectara.WatermarkAdvancedEvent? Type679 { get; set; }
///
///
///
- public global::Vectara.AgentTraceSpanStatus? Type680 { get; set; }
+ public global::Vectara.WatermarkAdvancedEventVariant2? Type680 { get; set; }
///
///
///
- public global::Vectara.AgentTraceSpanBase? Type681 { get; set; }
+ public global::Vectara.PipelineRunEvent? Type681 { get; set; }
///
///
///
- public global::Vectara.AgentTraceInputFile? Type682 { get; set; }
+ public global::Vectara.PipelineRunEventDiscriminator? Type682 { get; set; }
///
///
///
- public global::Vectara.InvokeAgentSpanAttributes? Type683 { get; set; }
+ public global::Vectara.PipelineRunEventDiscriminatorType? Type683 { get; set; }
///
///
///
- public global::Vectara.InvokeAgentSpanAttributesOutputType? Type684 { get; set; }
+ public global::Vectara.ListPipelineRunEventsResponse? Type684 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type685 { get; set; }
+ public global::System.Collections.Generic.IList? Type685 { get; set; }
///
///
///
- public global::Vectara.InvokeAgentSpanContent? Type686 { get; set; }
+ public global::Vectara.MetricKind? Type686 { get; set; }
///
///
///
- public global::Vectara.InvokeAgentTraceSpan? Type687 { get; set; }
+ public global::Vectara.MetricDescriptor? Type687 { get; set; }
///
///
///
- public global::Vectara.InvokeAgentTraceSpanVariant2? Type688 { get; set; }
+ public global::Vectara.ListMetricsResponse? Type688 { get; set; }
///
///
///
- public global::Vectara.ChatSpanAttributes? Type689 { get; set; }
+ public global::System.Collections.Generic.IList? Type689 { get; set; }
///
///
///
- public global::Vectara.ChatTraceSpan? Type690 { get; set; }
+ public global::Vectara.MetricSeriesBase? Type690 { get; set; }
///
///
///
- public global::Vectara.ChatTraceSpanVariant2? Type691 { get; set; }
+ public global::Vectara.ScalarMetricPoint? Type691 { get; set; }
///
///
///
- public global::Vectara.ExecuteToolSpanAttributes? Type692 { get; set; }
+ public global::Vectara.CounterMetricSeries? Type692 { get; set; }
///
///
///
- public global::Vectara.ExecuteToolSpanContent? Type693 { get; set; }
+ public global::Vectara.CounterMetricSeriesVariant2? Type693 { get; set; }
///
///
///
- public global::Vectara.ExecuteToolTraceSpan? Type694 { get; set; }
+ public global::System.Collections.Generic.IList? Type694 { get; set; }
///
///
///
- public global::Vectara.ExecuteToolTraceSpanVariant2? Type695 { get; set; }
+ public global::Vectara.GaugeMetricSeries? Type695 { get; set; }
///
///
///
- public global::Vectara.ThinkingSpanContent? Type696 { get; set; }
+ public global::Vectara.GaugeMetricSeriesVariant2? Type696 { get; set; }
///
///
///
- public global::Vectara.ThinkingTraceSpan? Type697 { get; set; }
+ public global::Vectara.PercentilesMetricPoint? Type697 { get; set; }
///
///
///
- public global::Vectara.ThinkingTraceSpanVariant2? Type698 { get; set; }
+ public global::Vectara.PercentilesMetricSeries? Type698 { get; set; }
///
///
///
- public global::Vectara.OutputSpanContent? Type699 { get; set; }
+ public global::Vectara.PercentilesMetricSeriesVariant2? Type699 { get; set; }
///
///
///
- public global::Vectara.OutputTraceSpan? Type700 { get; set; }
+ public global::System.Collections.Generic.IList? Type700 { get; set; }
///
///
///
- public global::Vectara.OutputTraceSpanVariant2? Type701 { get; set; }
+ public global::Vectara.HistogramBin? Type701 { get; set; }
///
///
///
- public global::Vectara.GuardrailSpanAttributes? Type702 { get; set; }
+ public global::Vectara.DistributionMetricPoint? Type702 { get; set; }
///
///
///
- public global::Vectara.GuardrailSpanContent? Type703 { get; set; }
+ public global::System.Collections.Generic.IList? Type703 { get; set; }
///
///
///
- public global::Vectara.GuardrailTraceSpan? Type704 { get; set; }
+ public global::Vectara.DistributionMetricSeries? Type704 { get; set; }
///
///
///
- public global::Vectara.GuardrailTraceSpanVariant2? Type705 { get; set; }
+ public global::Vectara.DistributionMetricSeriesVariant2? Type705 { get; set; }
///
///
///
- public global::Vectara.StepTransitionSpanAttributes? Type706 { get; set; }
+ public global::System.Collections.Generic.IList? Type706 { get; set; }
///
///
///
- public global::Vectara.StepTransitionTraceSpan? Type707 { get; set; }
+ public global::Vectara.MetricSeries? Type707 { get; set; }
///
///
///
- public global::Vectara.StepTransitionTraceSpanVariant2? Type708 { get; set; }
+ public global::Vectara.MetricSeriesDiscriminator? Type708 { get; set; }
///
///
///
- public global::Vectara.ImageReadSpanAttributes? Type709 { get; set; }
+ public global::Vectara.MetricSeriesDiscriminatorKind? Type709 { get; set; }
///
///
///
- public global::Vectara.ImageReadTraceSpan? Type710 { get; set; }
+ public global::Vectara.AgentTrace? Type710 { get; set; }
///
///
///
- public global::Vectara.ImageReadTraceSpanVariant2? Type711 { get; set; }
+ public global::Vectara.AgentTraceStatus? Type711 { get; set; }
///
///
///
- public global::Vectara.CompactionSpanAttributes? Type712 { get; set; }
+ public global::Vectara.ListAgentTracesResponse? Type712 { get; set; }
///
///
///
- public global::Vectara.CompactionTraceSpan? Type713 { get; set; }
+ public global::System.Collections.Generic.IList? Type713 { get; set; }
///
///
///
- public global::Vectara.CompactionTraceSpanVariant2? Type714 { get; set; }
+ public global::Vectara.AgentTraceSpanStatus? Type714 { get; set; }
///
///
///
- public global::Vectara.AgentTraceSpan? Type715 { get; set; }
+ public global::Vectara.AgentTraceSpanBase? Type715 { get; set; }
///
///
///
- public global::Vectara.AgentTraceSpanDiscriminator? Type716 { get; set; }
+ public global::Vectara.AgentTraceInputFile? Type716 { get; set; }
///
///
///
- public global::Vectara.AgentTraceSpanDiscriminatorOperation? Type717 { get; set; }
+ public global::Vectara.InvokeAgentSpanAttributes? Type717 { get; set; }
///
///
///
- public global::Vectara.ListAgentTraceSpansResponse? Type718 { get; set; }
+ public global::Vectara.InvokeAgentSpanAttributesOutputType? Type718 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type719 { get; set; }
+ public global::System.Collections.Generic.IList? Type719 { get; set; }
///
///
///
- public global::Vectara.Glossary? Type720 { get; set; }
+ public global::Vectara.InvokeAgentSpanContent? Type720 { get; set; }
///
///
///
- public global::Vectara.ListGlossariesResponse? Type721 { get; set; }
+ public global::Vectara.InvokeAgentTraceSpan? Type721 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type722 { get; set; }
+ public global::Vectara.InvokeAgentTraceSpanVariant2? Type722 { get; set; }
///
///
///
- public global::Vectara.CreateGlossaryRequest? Type723 { get; set; }
+ public global::Vectara.ChatSpanAttributes? Type723 { get; set; }
///
///
///
- public global::Vectara.UpdateGlossaryRequest? Type724 { get; set; }
+ public global::Vectara.ChatTraceSpan? Type724 { get; set; }
///
///
///
- public global::Vectara.GlossaryEntry? Type725 { get; set; }
+ public global::Vectara.ChatTraceSpanVariant2? Type725 { get; set; }
///
///
///
- public global::Vectara.GlossaryEntriesResponse? Type726 { get; set; }
+ public global::Vectara.ExecuteToolSpanAttributes? Type726 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type727 { get; set; }
+ public global::Vectara.ExecuteToolSpanContent? Type727 { get; set; }
///
///
///
- public global::Vectara.UpsertGlossaryEntriesRequest? Type728 { get; set; }
+ public global::Vectara.ExecuteToolTraceSpan? Type728 { get; set; }
///
///
///
- public global::Vectara.DeleteGlossaryEntriesRequest? Type729 { get; set; }
+ public global::Vectara.ExecuteToolTraceSpanVariant2? Type729 { get; set; }
///
///
///
- public global::Vectara.GetOAuthTokenRequest? Type730 { get; set; }
+ public global::Vectara.ThinkingSpanContent? Type730 { get; set; }
///
///
///
- public global::Vectara.CreateCorpusDocumentWaitFor? Type731 { get; set; }
+ public global::Vectara.ThinkingTraceSpan? Type731 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type732 { get; set; }
+ public global::Vectara.ThinkingTraceSpanVariant2? Type732 { get; set; }
///
///
///
- public global::Vectara.ListToolServersType? Type733 { get; set; }
+ public global::Vectara.OutputSpanContent? Type733 { get; set; }
///
///
///
- public global::Vectara.ListToolsType? Type734 { get; set; }
+ public global::Vectara.OutputTraceSpan? Type734 { get; set; }
///
///
///
- public global::Vectara.ListInstructionsType? Type735 { get; set; }
+ public global::Vectara.OutputTraceSpanVariant2? Type735 { get; set; }
///
///
///
- public global::Vectara.ListSessionArtifactsSortBy? Type736 { get; set; }
+ public global::Vectara.GuardrailSpanAttributes? Type736 { get; set; }
///
///
///
- public global::Vectara.ListSessionArtifactsOrderBy? Type737 { get; set; }
+ public global::Vectara.GuardrailSpanContent? Type737 { get; set; }
///
///
///
- public global::Vectara.ListAgentConnectorsType? Type738 { get; set; }
+ public global::Vectara.GuardrailTraceSpan? Type738 { get; set; }
///
///
///
- public global::Vectara.ListPipelinesSourceType? Type739 { get; set; }
+ public global::Vectara.GuardrailTraceSpanVariant2? Type739 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type740 { get; set; }
+ public global::Vectara.StepTransitionSpanAttributes? Type740 { get; set; }
///
///
///
- public global::Vectara.ListTracesStatus? Type741 { get; set; }
+ public global::Vectara.StepTransitionTraceSpan? Type741 { get; set; }
///
///
///
- public global::Vectara.ListTracesErrorType? Type742 { get; set; }
+ public global::Vectara.StepTransitionTraceSpanVariant2? Type742 { get; set; }
///
///
///
- public global::Vectara.ListTracesOperation? Type743 { get; set; }
+ public global::Vectara.ImageReadSpanAttributes? Type743 { get; set; }
///
///
///
- public global::Vectara.ListTracesToolErrorType? Type744 { get; set; }
+ public global::Vectara.ImageReadTraceSpan? Type744 { get; set; }
///
///
///
- public global::Vectara.ListTraceSpansOperation? Type745 { get; set; }
+ public global::Vectara.ImageReadTraceSpanVariant2? Type745 { get; set; }
///
///
///
- public global::Vectara.AllOf? Type746 { get; set; }
+ public global::Vectara.CompactionSpanAttributes? Type746 { get; set; }
///
///
///
- public global::Vectara.CreateUserResponse2? Type747 { get; set; }
+ public global::Vectara.CompactionTraceSpan? Type747 { get; set; }
///
///
///
- public global::Vectara.ResetUserPasswordResponse? Type748 { get; set; }
+ public global::Vectara.CompactionTraceSpanVariant2? Type748 { get; set; }
///
///
///
- public global::Vectara.GetTokenResponse? Type749 { get; set; }
+ public global::Vectara.AgentTraceSpan? Type749 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.AgentTraceSpanDiscriminator? Type750 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.AgentTraceSpanDiscriminatorOperation? Type751 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListAgentTraceSpansResponse? Type752 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.IList? Type753 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.Glossary? Type754 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListGlossariesResponse? Type755 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.IList? Type756 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.CreateGlossaryRequest? Type757 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.UpdateGlossaryRequest? Type758 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.GlossaryEntry? Type759 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.GlossaryEntriesResponse? Type760 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.IList? Type761 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.UpsertGlossaryEntriesRequest? Type762 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.DeleteGlossaryEntriesRequest? Type763 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.GetOAuthTokenRequest? Type764 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.CreateCorpusDocumentWaitFor? Type765 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.IList? Type766 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListToolServersType? Type767 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListToolsType? Type768 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListInstructionsType? Type769 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListSessionArtifactsSortBy? Type770 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListSessionArtifactsOrderBy? Type771 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListAgentConnectorsType? Type772 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListPipelinesSourceType? Type773 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.IList? Type774 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListTracesStatus? Type775 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListTracesErrorType? Type776 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListTracesOperation? Type777 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListTracesToolErrorType? Type778 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ListTraceSpansOperation? Type779 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.AllOf? Type780 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.CreateUserResponse2? Type781 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ResetUserPasswordResponse? Type782 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.GetTokenResponse? Type783 { get; set; }
///
///
@@ -3305,30 +3441,50 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::System.Collections.Generic.List? ListType69 { get; set; }
+ public global::System.Collections.Generic.List? ListType69 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.List? ListType70 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.List? ListType71 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.List? ListType72 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.List? ListType73 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.List? ListType74 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType70 { get; set; }
+ public global::System.Collections.Generic.List? ListType75 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType71 { get; set; }
+ public global::System.Collections.Generic.List? ListType76 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType72 { get; set; }
+ public global::System.Collections.Generic.List? ListType77 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType73 { get; set; }
+ public global::System.Collections.Generic.List? ListType78 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType74 { get; set; }
+ public global::System.Collections.Generic.List? ListType79 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType75 { get; set; }
+ public global::System.Collections.Generic.List? ListType80 { get; set; }
}
}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.Models.AgentTraceSpanBase.g.cs b/src/libs/Vectara/Generated/Vectara.Models.AgentTraceSpanBase.g.cs
index 3800370d..a1486a05 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.AgentTraceSpanBase.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.AgentTraceSpanBase.g.cs
@@ -63,6 +63,13 @@ public sealed partial class AgentTraceSpanBase
[global::System.Text.Json.Serialization.JsonPropertyName("step_name")]
public string? StepName { get; set; }
+ ///
+ /// Whether this span has child spans.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("has_children")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required bool HasChildren { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -85,6 +92,9 @@ public sealed partial class AgentTraceSpanBase
///
/// The status of an agent trace span.
///
+ ///
+ /// Whether this span has child spans.
+ ///
///
/// The identifier of the parent span, if any.
///
@@ -105,6 +115,7 @@ public AgentTraceSpanBase(
string traceId,
global::System.DateTime startedAt,
global::Vectara.AgentTraceSpanStatus status,
+ bool hasChildren,
string? parentSpanId,
long? durationMs,
string? errorMessage,
@@ -118,6 +129,7 @@ public AgentTraceSpanBase(
this.Status = status;
this.ErrorMessage = errorMessage;
this.StepName = stepName;
+ this.HasChildren = hasChildren;
}
///
diff --git a/src/libs/Vectara/Generated/Vectara.Models.CounterMetricSeries.Json.g.cs b/src/libs/Vectara/Generated/Vectara.Models.CounterMetricSeries.Json.g.cs
new file mode 100644
index 00000000..6004eaf2
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.CounterMetricSeries.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Vectara
+{
+ public readonly partial struct CounterMetricSeries
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Vectara.CounterMetricSeries? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Vectara.CounterMetricSeries),
+ jsonSerializerContext) as global::Vectara.CounterMetricSeries?;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Vectara.CounterMetricSeries? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Vectara.CounterMetricSeries),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Vectara.CounterMetricSeries?;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Vectara/Generated/Vectara.Models.CounterMetricSeries.g.cs b/src/libs/Vectara/Generated/Vectara.Models.CounterMetricSeries.g.cs
new file mode 100644
index 00000000..1dcd9899
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.CounterMetricSeries.g.cs
@@ -0,0 +1,295 @@
+#pragma warning disable CS0618 // Type or member is obsolete
+
+#nullable enable
+
+namespace Vectara
+{
+ ///
+ /// A series of counter values (monotonic count or sum).
+ ///
+ public readonly partial struct CounterMetricSeries : global::System.IEquatable
+ {
+ ///
+ /// Common properties shared by all metric series kinds.
+ ///
+#if NET6_0_OR_GREATER
+ public global::Vectara.MetricSeriesBase? Base { get; init; }
+#else
+ public global::Vectara.MetricSeriesBase? Base { get; }
+#endif
+
+ ///
+ ///
+ ///
+#if NET6_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Base))]
+#endif
+ public bool IsBase => Base != null;
+
+ ///
+ ///
+ ///
+ public bool TryPickBase(
+#if NET6_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
+#endif
+ out global::Vectara.MetricSeriesBase? value)
+ {
+ value = Base;
+ return IsBase;
+ }
+
+ ///
+ ///
+ ///
+ public global::Vectara.MetricSeriesBase PickBase() => IsBase
+ ? Base!
+ : throw new global::System.InvalidOperationException($"Expected union variant 'Base' but the value was {ToString()}.");
+
+ ///
+ ///
+ ///
+#if NET6_0_OR_GREATER
+ public global::Vectara.CounterMetricSeriesVariant2? CounterMetricSeriesVariant2 { get; init; }
+#else
+ public global::Vectara.CounterMetricSeriesVariant2? CounterMetricSeriesVariant2 { get; }
+#endif
+
+ ///
+ ///
+ ///
+#if NET6_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CounterMetricSeriesVariant2))]
+#endif
+ public bool IsCounterMetricSeriesVariant2 => CounterMetricSeriesVariant2 != null;
+
+ ///
+ ///
+ ///
+ public bool TryPickCounterMetricSeriesVariant2(
+#if NET6_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
+#endif
+ out global::Vectara.CounterMetricSeriesVariant2? value)
+ {
+ value = CounterMetricSeriesVariant2;
+ return IsCounterMetricSeriesVariant2;
+ }
+
+ ///
+ ///
+ ///
+ public global::Vectara.CounterMetricSeriesVariant2 PickCounterMetricSeriesVariant2() => IsCounterMetricSeriesVariant2
+ ? CounterMetricSeriesVariant2!
+ : throw new global::System.InvalidOperationException($"Expected union variant 'CounterMetricSeriesVariant2' but the value was {ToString()}.");
+ ///
+ ///
+ ///
+ public static implicit operator CounterMetricSeries(global::Vectara.MetricSeriesBase value) => new CounterMetricSeries((global::Vectara.MetricSeriesBase?)value);
+
+ ///
+ ///
+ ///
+ public static implicit operator global::Vectara.MetricSeriesBase?(CounterMetricSeries @this) => @this.Base;
+
+ ///
+ ///
+ ///
+ public CounterMetricSeries(global::Vectara.MetricSeriesBase? value)
+ {
+ Base = value;
+ }
+
+ ///
+ ///
+ ///
+ public static CounterMetricSeries FromBase(global::Vectara.MetricSeriesBase? value) => new CounterMetricSeries(value);
+
+ ///
+ ///
+ ///
+ public static implicit operator CounterMetricSeries(global::Vectara.CounterMetricSeriesVariant2 value) => new CounterMetricSeries((global::Vectara.CounterMetricSeriesVariant2?)value);
+
+ ///
+ ///
+ ///
+ public static implicit operator global::Vectara.CounterMetricSeriesVariant2?(CounterMetricSeries @this) => @this.CounterMetricSeriesVariant2;
+
+ ///
+ ///
+ ///
+ public CounterMetricSeries(global::Vectara.CounterMetricSeriesVariant2? value)
+ {
+ CounterMetricSeriesVariant2 = value;
+ }
+
+ ///
+ ///
+ ///
+ public static CounterMetricSeries FromCounterMetricSeriesVariant2(global::Vectara.CounterMetricSeriesVariant2? value) => new CounterMetricSeries(value);
+
+ ///
+ ///
+ ///
+ public CounterMetricSeries(
+ global::Vectara.MetricSeriesBase? @base,
+ global::Vectara.CounterMetricSeriesVariant2? counterMetricSeriesVariant2
+ )
+ {
+ Base = @base;
+ CounterMetricSeriesVariant2 = counterMetricSeriesVariant2;
+ }
+
+ ///
+ ///
+ ///
+ public object? Object =>
+ CounterMetricSeriesVariant2 as object ??
+ Base as object
+ ;
+
+ ///
+ ///
+ ///
+ public override string? ToString() =>
+ Base?.ToString() ??
+ CounterMetricSeriesVariant2?.ToString()
+ ;
+
+ ///
+ ///
+ ///
+ public bool Validate()
+ {
+ return IsBase && IsCounterMetricSeriesVariant2;
+ }
+
+ ///
+ ///
+ ///
+ public TResult? Match(
+ global::System.Func