diff --git a/src/libs/Vectara/Generated/Vectara.AgentsClient.GetSecrets.g.cs b/src/libs/Vectara/Generated/Vectara.AgentsClient.GetSecrets.g.cs
new file mode 100644
index 0000000..9edc827
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.AgentsClient.GetSecrets.g.cs
@@ -0,0 +1,559 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ public partial class AgentsClient
+ {
+
+
+ private static readonly global::Vectara.EndPointSecurityRequirement s_GetSecretsSecurityRequirement0 =
+ 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_GetSecretsSecurityRequirement1 =
+ 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_GetSecretsSecurityRequirements =
+ new global::Vectara.EndPointSecurityRequirement[]
+ { s_GetSecretsSecurityRequirement0,
+ s_GetSecretsSecurityRequirement1,
+ };
+ partial void PrepareGetSecretsArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref int? requestTimeout,
+ ref int? requestTimeoutMillis,
+ ref string agentKey);
+ partial void PrepareGetSecretsRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ int? requestTimeout,
+ int? requestTimeoutMillis,
+ string agentKey);
+ partial void ProcessGetSecretsResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessGetSecretsResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Get agent secrets
+ /// Retrieve the agent's secrets. Values are always masked (`****`); plaintext is never exposed on read.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ /// 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 GetSecretsAsync(
+ string agentKey,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await GetSecretsAsResponseAsync(
+ agentKey: agentKey,
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Get agent secrets
+ /// Retrieve the agent's secrets. Values are always masked (`****`); plaintext is never exposed on read.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ /// 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> GetSecretsAsResponseAsync(
+ string agentKey,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareGetSecretsArguments(
+ httpClient: HttpClient,
+ requestTimeout: ref requestTimeout,
+ requestTimeoutMillis: ref requestTimeoutMillis,
+ agentKey: ref agentKey);
+
+
+ var __authorizations = global::Vectara.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetSecretsSecurityRequirements,
+ operationName: "GetSecretsAsync");
+
+ 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/agents/{agentKey}/secrets",
+ 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);
+ PrepareGetSecretsRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ agentKey: agentKey!);
+
+ 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: "GetSecrets",
+ methodName: "GetSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ 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: "GetSecrets",
+ methodName: "GetSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ 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: "GetSecrets",
+ methodName: "GetSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ 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);
+ ProcessGetSecretsResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetSecrets",
+ methodName: "GetSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ 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: "GetSecrets",
+ methodName: "GetSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ 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);
+ }
+ // Permissions do not allow accessing this agent.
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ global::Vectara.Error? __value_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_403 = global::Vectara.Error.FromJson(__content_403, JsonSerializerContext);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_403 = global::Vectara.Error.FromJson(__content_403, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+ throw new global::Vectara.ApiException(
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ statusCode: __response.StatusCode)
+ {
+ ResponseBody = __content_403,
+ ResponseObject = __value_403,
+ ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value),
+ };
+ }
+ // Agent not found.
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ global::Vectara.NotFoundError? __value_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_404 = global::Vectara.NotFoundError.FromJson(__content_404, JsonSerializerContext);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_404 = global::Vectara.NotFoundError.FromJson(__content_404, JsonSerializerContext);
+ }
+ }
+ 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,
+ ResponseObject = __value_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);
+ ProcessGetSecretsResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vectara.AgentSecrets.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.AgentSecrets.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.AgentsClient.ReplaceSecrets.g.cs b/src/libs/Vectara/Generated/Vectara.AgentsClient.ReplaceSecrets.g.cs
new file mode 100644
index 0000000..8cd3c00
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.AgentsClient.ReplaceSecrets.g.cs
@@ -0,0 +1,658 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ public partial class AgentsClient
+ {
+
+
+ private static readonly global::Vectara.EndPointSecurityRequirement s_ReplaceSecretsSecurityRequirement0 =
+ 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_ReplaceSecretsSecurityRequirement1 =
+ 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_ReplaceSecretsSecurityRequirements =
+ new global::Vectara.EndPointSecurityRequirement[]
+ { s_ReplaceSecretsSecurityRequirement0,
+ s_ReplaceSecretsSecurityRequirement1,
+ };
+ partial void PrepareReplaceSecretsArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref int? requestTimeout,
+ ref int? requestTimeoutMillis,
+ ref string agentKey,
+ global::Vectara.ReplaceAgentSecretsRequest request);
+ partial void PrepareReplaceSecretsRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ int? requestTimeout,
+ int? requestTimeoutMillis,
+ string agentKey,
+ global::Vectara.ReplaceAgentSecretsRequest request);
+ partial void ProcessReplaceSecretsResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessReplaceSecretsResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Replace agent secrets
+ /// Replace the agent's secrets. The submitted map fully replaces the previous set (names not in the request are removed).
+ /// Stored encrypted at rest.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// 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 ReplaceSecretsAsync(
+ string agentKey,
+
+ global::Vectara.ReplaceAgentSecretsRequest request,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await ReplaceSecretsAsResponseAsync(
+ agentKey: agentKey,
+
+ request: request,
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Replace agent secrets
+ /// Replace the agent's secrets. The submitted map fully replaces the previous set (names not in the request are removed).
+ /// Stored encrypted at rest.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// 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> ReplaceSecretsAsResponseAsync(
+ string agentKey,
+
+ global::Vectara.ReplaceAgentSecretsRequest request,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ request = request ?? throw new global::System.ArgumentNullException(nameof(request));
+
+ PrepareArguments(
+ client: HttpClient);
+ PrepareReplaceSecretsArguments(
+ httpClient: HttpClient,
+ requestTimeout: ref requestTimeout,
+ requestTimeoutMillis: ref requestTimeoutMillis,
+ agentKey: ref agentKey,
+ request: request);
+
+
+ var __authorizations = global::Vectara.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ReplaceSecretsSecurityRequirements,
+ operationName: "ReplaceSecretsAsync");
+
+ 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/agents/{agentKey}/secrets",
+ 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.Put,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+
+ if (requestTimeout != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Request-Timeout", requestTimeout.ToString());
+ }
+ if (requestTimeoutMillis != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Request-Timeout-Millis", requestTimeoutMillis.ToString());
+ }
+
+ var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
+ var __httpRequestContent = new global::System.Net.Http.StringContent(
+ content: __httpRequestContentBody,
+ encoding: global::System.Text.Encoding.UTF8,
+ mediaType: "application/json");
+ __httpRequest.Content = __httpRequestContent;
+ global::Vectara.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareReplaceSecretsRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ agentKey: agentKey!,
+ request: request);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "ReplaceSecrets",
+ methodName: "ReplaceSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ httpMethod: "PUT",
+ 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: "ReplaceSecrets",
+ methodName: "ReplaceSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ httpMethod: "PUT",
+ 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: "ReplaceSecrets",
+ methodName: "ReplaceSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ httpMethod: "PUT",
+ 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);
+ ProcessReplaceSecretsResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "ReplaceSecrets",
+ methodName: "ReplaceSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ httpMethod: "PUT",
+ 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: "ReplaceSecrets",
+ methodName: "ReplaceSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ httpMethod: "PUT",
+ 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);
+ }
+ // Invalid request.
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ global::Vectara.BadRequestError? __value_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_400 = global::Vectara.BadRequestError.FromJson(__content_400, JsonSerializerContext);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_400 = global::Vectara.BadRequestError.FromJson(__content_400, JsonSerializerContext);
+ }
+ }
+ 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,
+ ResponseObject = __value_400,
+ ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value),
+ };
+ }
+ // Permissions do not allow modifying this agent.
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ global::Vectara.Error? __value_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_403 = global::Vectara.Error.FromJson(__content_403, JsonSerializerContext);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_403 = global::Vectara.Error.FromJson(__content_403, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+ throw new global::Vectara.ApiException(
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ statusCode: __response.StatusCode)
+ {
+ ResponseBody = __content_403,
+ ResponseObject = __value_403,
+ ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value),
+ };
+ }
+ // Agent not found.
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ global::Vectara.NotFoundError? __value_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_404 = global::Vectara.NotFoundError.FromJson(__content_404, JsonSerializerContext);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_404 = global::Vectara.NotFoundError.FromJson(__content_404, JsonSerializerContext);
+ }
+ }
+ 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,
+ ResponseObject = __value_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);
+ ProcessReplaceSecretsResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vectara.AgentSecrets.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.AgentSecrets.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();
+ }
+ }
+ ///
+ /// Replace agent secrets
+ /// Replace the agent's secrets. The submitted map fully replaces the previous set (names not in the request are removed).
+ /// Stored encrypted at rest.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// Map of secret name to plaintext value.
+ /// Example: {"jira_api_token":"ATATT3xFf..."}
+ ///
+ /// 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 ReplaceSecretsAsync(
+ string agentKey,
+ global::System.Collections.Generic.Dictionary secrets,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __request = new global::Vectara.ReplaceAgentSecretsRequest
+ {
+ Secrets = secrets,
+ };
+
+ return await ReplaceSecretsAsync(
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ agentKey: agentKey,
+ request: __request,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.AgentsClient.UpdateSecrets.g.cs b/src/libs/Vectara/Generated/Vectara.AgentsClient.UpdateSecrets.g.cs
new file mode 100644
index 0000000..a726358
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.AgentsClient.UpdateSecrets.g.cs
@@ -0,0 +1,658 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ public partial class AgentsClient
+ {
+
+
+ private static readonly global::Vectara.EndPointSecurityRequirement s_UpdateSecretsSecurityRequirement0 =
+ 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_UpdateSecretsSecurityRequirement1 =
+ 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_UpdateSecretsSecurityRequirements =
+ new global::Vectara.EndPointSecurityRequirement[]
+ { s_UpdateSecretsSecurityRequirement0,
+ s_UpdateSecretsSecurityRequirement1,
+ };
+ partial void PrepareUpdateSecretsArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref int? requestTimeout,
+ ref int? requestTimeoutMillis,
+ ref string agentKey,
+ global::Vectara.UpdateAgentSecretsRequest request);
+ partial void PrepareUpdateSecretsRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ int? requestTimeout,
+ int? requestTimeoutMillis,
+ string agentKey,
+ global::Vectara.UpdateAgentSecretsRequest request);
+ partial void ProcessUpdateSecretsResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessUpdateSecretsResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Update agent secrets
+ /// Patch the agent's secrets. Names present in the map are added or replaced; names absent from the map are left unchanged.
+ /// A name mapped to `null` is removed.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// 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 UpdateSecretsAsync(
+ string agentKey,
+
+ global::Vectara.UpdateAgentSecretsRequest request,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await UpdateSecretsAsResponseAsync(
+ agentKey: agentKey,
+
+ request: request,
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Update agent secrets
+ /// Patch the agent's secrets. Names present in the map are added or replaced; names absent from the map are left unchanged.
+ /// A name mapped to `null` is removed.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// 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> UpdateSecretsAsResponseAsync(
+ string agentKey,
+
+ global::Vectara.UpdateAgentSecretsRequest request,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ request = request ?? throw new global::System.ArgumentNullException(nameof(request));
+
+ PrepareArguments(
+ client: HttpClient);
+ PrepareUpdateSecretsArguments(
+ httpClient: HttpClient,
+ requestTimeout: ref requestTimeout,
+ requestTimeoutMillis: ref requestTimeoutMillis,
+ agentKey: ref agentKey,
+ request: request);
+
+
+ var __authorizations = global::Vectara.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_UpdateSecretsSecurityRequirements,
+ operationName: "UpdateSecretsAsync");
+
+ 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/agents/{agentKey}/secrets",
+ 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: new global::System.Net.Http.HttpMethod("PATCH"),
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+
+ if (requestTimeout != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Request-Timeout", requestTimeout.ToString());
+ }
+ if (requestTimeoutMillis != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Request-Timeout-Millis", requestTimeoutMillis.ToString());
+ }
+
+ var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
+ var __httpRequestContent = new global::System.Net.Http.StringContent(
+ content: __httpRequestContentBody,
+ encoding: global::System.Text.Encoding.UTF8,
+ mediaType: "application/json");
+ __httpRequest.Content = __httpRequestContent;
+ global::Vectara.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareUpdateSecretsRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ agentKey: agentKey!,
+ request: request);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "UpdateSecrets",
+ methodName: "UpdateSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ httpMethod: "PATCH",
+ 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: "UpdateSecrets",
+ methodName: "UpdateSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ httpMethod: "PATCH",
+ 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: "UpdateSecrets",
+ methodName: "UpdateSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ httpMethod: "PATCH",
+ 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);
+ ProcessUpdateSecretsResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vectara.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vectara.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "UpdateSecrets",
+ methodName: "UpdateSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ httpMethod: "PATCH",
+ 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: "UpdateSecrets",
+ methodName: "UpdateSecretsAsync",
+ pathTemplate: "$\"/v2/agents/{agentKey}/secrets\"",
+ httpMethod: "PATCH",
+ 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);
+ }
+ // Invalid request.
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ global::Vectara.BadRequestError? __value_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_400 = global::Vectara.BadRequestError.FromJson(__content_400, JsonSerializerContext);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_400 = global::Vectara.BadRequestError.FromJson(__content_400, JsonSerializerContext);
+ }
+ }
+ 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,
+ ResponseObject = __value_400,
+ ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value),
+ };
+ }
+ // Permissions do not allow modifying this agent.
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ global::Vectara.Error? __value_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_403 = global::Vectara.Error.FromJson(__content_403, JsonSerializerContext);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_403 = global::Vectara.Error.FromJson(__content_403, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+ throw new global::Vectara.ApiException(
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ statusCode: __response.StatusCode)
+ {
+ ResponseBody = __content_403,
+ ResponseObject = __value_403,
+ ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value),
+ };
+ }
+ // Agent not found.
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ global::Vectara.NotFoundError? __value_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_404 = global::Vectara.NotFoundError.FromJson(__content_404, JsonSerializerContext);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_404 = global::Vectara.NotFoundError.FromJson(__content_404, JsonSerializerContext);
+ }
+ }
+ 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,
+ ResponseObject = __value_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);
+ ProcessUpdateSecretsResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vectara.AgentSecrets.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.AgentSecrets.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();
+ }
+ }
+ ///
+ /// Update agent secrets
+ /// Patch the agent's secrets. Names present in the map are added or replaced; names absent from the map are left unchanged.
+ /// A name mapped to `null` is removed.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// Map of secret name to plaintext value (or `null` to remove). Names not in the map are not touched.
+ /// Example: {"jira_api_token":"ATATT3xFf...","old_token_to_remove":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}
+ ///
+ /// 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 UpdateSecretsAsync(
+ string agentKey,
+ global::System.Collections.Generic.Dictionary secrets,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __request = new global::Vectara.UpdateAgentSecretsRequest
+ {
+ Secrets = secrets,
+ };
+
+ return await UpdateSecretsAsync(
+ requestTimeout: requestTimeout,
+ requestTimeoutMillis: requestTimeoutMillis,
+ agentKey: agentKey,
+ request: __request,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Create.g.cs b/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Create.g.cs
index 9e2fd9e..5f7e5f2 100644
--- a/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Create.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Create.g.cs
@@ -623,10 +623,10 @@ partial void ProcessCreateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CreateAsync(
+ string name,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
string? id = default,
- string? name = default,
string? description = default,
string? llmName = default,
string? promptTemplate = default,
diff --git a/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Replace.g.cs b/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Replace.g.cs
index d2c6fd0..f13f7b7 100644
--- a/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Replace.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Replace.g.cs
@@ -672,10 +672,10 @@ partial void ProcessReplaceResponseContent(
///
public async global::System.Threading.Tasks.Task ReplaceAsync(
string generationPresetId,
+ string name,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
string? id = default,
- string? name = default,
string? description = default,
string? llmName = default,
string? promptTemplate = default,
diff --git a/src/libs/Vectara/Generated/Vectara.IAgentsClient.GetSecrets.g.cs b/src/libs/Vectara/Generated/Vectara.IAgentsClient.GetSecrets.g.cs
new file mode 100644
index 0000000..ad0ab49
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.IAgentsClient.GetSecrets.g.cs
@@ -0,0 +1,46 @@
+#nullable enable
+
+namespace Vectara
+{
+ public partial interface IAgentsClient
+ {
+ ///
+ /// Get agent secrets
+ /// Retrieve the agent's secrets. Values are always masked (`****`); plaintext is never exposed on read.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ /// 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 GetSecretsAsync(
+ string agentKey,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Get agent secrets
+ /// Retrieve the agent's secrets. Values are always masked (`****`); plaintext is never exposed on read.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ /// 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> GetSecretsAsResponseAsync(
+ string agentKey,
+ 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.IAgentsClient.ReplaceSecrets.g.cs b/src/libs/Vectara/Generated/Vectara.IAgentsClient.ReplaceSecrets.g.cs
new file mode 100644
index 0000000..03bc8b5
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.IAgentsClient.ReplaceSecrets.g.cs
@@ -0,0 +1,79 @@
+#nullable enable
+
+namespace Vectara
+{
+ public partial interface IAgentsClient
+ {
+ ///
+ /// Replace agent secrets
+ /// Replace the agent's secrets. The submitted map fully replaces the previous set (names not in the request are removed).
+ /// Stored encrypted at rest.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// 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 ReplaceSecretsAsync(
+ string agentKey,
+
+ global::Vectara.ReplaceAgentSecretsRequest request,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Replace agent secrets
+ /// Replace the agent's secrets. The submitted map fully replaces the previous set (names not in the request are removed).
+ /// Stored encrypted at rest.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// 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> ReplaceSecretsAsResponseAsync(
+ string agentKey,
+
+ global::Vectara.ReplaceAgentSecretsRequest request,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Replace agent secrets
+ /// Replace the agent's secrets. The submitted map fully replaces the previous set (names not in the request are removed).
+ /// Stored encrypted at rest.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// Map of secret name to plaintext value.
+ /// Example: {"jira_api_token":"ATATT3xFf..."}
+ ///
+ /// 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 ReplaceSecretsAsync(
+ string agentKey,
+ global::System.Collections.Generic.Dictionary secrets,
+ 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.IAgentsClient.UpdateSecrets.g.cs b/src/libs/Vectara/Generated/Vectara.IAgentsClient.UpdateSecrets.g.cs
new file mode 100644
index 0000000..b2e1413
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.IAgentsClient.UpdateSecrets.g.cs
@@ -0,0 +1,79 @@
+#nullable enable
+
+namespace Vectara
+{
+ public partial interface IAgentsClient
+ {
+ ///
+ /// Update agent secrets
+ /// Patch the agent's secrets. Names present in the map are added or replaced; names absent from the map are left unchanged.
+ /// A name mapped to `null` is removed.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// 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 UpdateSecretsAsync(
+ string agentKey,
+
+ global::Vectara.UpdateAgentSecretsRequest request,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Update agent secrets
+ /// Patch the agent's secrets. Names present in the map are added or replaced; names absent from the map are left unchanged.
+ /// A name mapped to `null` is removed.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// 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> UpdateSecretsAsResponseAsync(
+ string agentKey,
+
+ global::Vectara.UpdateAgentSecretsRequest request,
+ int? requestTimeout = default,
+ int? requestTimeoutMillis = default,
+ global::Vectara.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Update agent secrets
+ /// Patch the agent's secrets. Names present in the map are added or replaced; names absent from the map are left unchanged.
+ /// A name mapped to `null` is removed.
+ ///
+ ///
+ ///
+ ///
+ /// A unique key that identifies an agent.
+ /// Example: customer_support
+ ///
+ ///
+ /// Map of secret name to plaintext value (or `null` to remove). Names not in the map are not touched.
+ /// Example: {"jira_api_token":"ATATT3xFf...","old_token_to_remove":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}
+ ///
+ /// 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 UpdateSecretsAsync(
+ string agentKey,
+ global::System.Collections.Generic.Dictionary secrets,
+ 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.IGenerationPresetsClient.Create.g.cs b/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Create.g.cs
index 1775ee6..6720d52 100644
--- a/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Create.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Create.g.cs
@@ -103,10 +103,10 @@ public partial interface IGenerationPresetsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CreateAsync(
+ string name,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
string? id = default,
- string? name = default,
string? description = default,
string? llmName = default,
string? promptTemplate = default,
diff --git a/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Replace.g.cs b/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Replace.g.cs
index 54e4a6b..022fc13 100644
--- a/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Replace.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Replace.g.cs
@@ -109,10 +109,10 @@ public partial interface IGenerationPresetsClient
///
global::System.Threading.Tasks.Task ReplaceAsync(
string generationPresetId,
+ string name,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
string? id = default,
- string? name = default,
string? description = default,
string? llmName = default,
string? promptTemplate = default,
diff --git a/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs b/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs
index a66898f..a15f31b 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs
@@ -708,7 +708,7 @@ namespace Vectara
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.CreateCorpusRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.BadRequestError))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary), TypeInfoPropertyName = "DictionaryStringString_System_Collections_Generic_Dictionary_string_string")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.NotFoundError))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.UpdateCorpusRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ReplaceFilterAttributesRequest))]
@@ -1959,6 +1959,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.AgentIdentityMode), TypeInfoPropertyName = "AgentIdentityMode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.AgentIdentity))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.UpdateAgentIdentityRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.AgentSecrets))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ReplaceAgentSecretsRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.UpdateAgentSecretsRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary), TypeInfoPropertyName = "DictionaryStringString_System_Collections_Generic_Dictionary_string_string_3")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.SlackConnectorConfiguration))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ConnectorConfiguration), TypeInfoPropertyName = "ConnectorConfiguration2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ConnectorConfigurationDiscriminator))]
diff --git a/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs b/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs
index 2127bc4..0a2ea8e 100644
--- a/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs
@@ -108,2839 +108,2847 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::System.Collections.Generic.Dictionary? Type20 { get; set; }
+ public global::Vectara.NotFoundError? Type20 { get; set; }
///
///
///
- public global::Vectara.NotFoundError? Type21 { get; set; }
+ public global::Vectara.UpdateCorpusRequest? Type21 { get; set; }
///
///
///
- public global::Vectara.UpdateCorpusRequest? Type22 { get; set; }
+ public global::Vectara.ReplaceFilterAttributesRequest? Type22 { get; set; }
///
///
///
- public global::Vectara.ReplaceFilterAttributesRequest? Type23 { get; set; }
+ public global::Vectara.ReplaceFilterAttributesResponse? Type23 { get; set; }
///
///
///
- public global::Vectara.ReplaceFilterAttributesResponse? Type24 { get; set; }
+ public global::Vectara.ComputeCorpusSizeResponse? Type24 { get; set; }
///
///
///
- public global::Vectara.ComputeCorpusSizeResponse? Type25 { get; set; }
+ public global::Vectara.FilterAttributeValue? Type25 { get; set; }
///
///
///
- public global::Vectara.FilterAttributeValue? Type26 { get; set; }
+ public object? Type26 { get; set; }
///
///
///
- public object? Type27 { get; set; }
+ public global::Vectara.FilterAttributeNumericStats? Type27 { get; set; }
///
///
///
- public global::Vectara.FilterAttributeNumericStats? Type28 { get; set; }
+ public global::Vectara.FilterAttributeStat? Type28 { get; set; }
///
///
///
- public global::Vectara.FilterAttributeStat? Type29 { get; set; }
+ public global::Vectara.FilterAttributeStatType? Type29 { get; set; }
///
///
///
- public global::Vectara.FilterAttributeStatType? Type30 { get; set; }
+ public global::System.Collections.Generic.IList? Type30 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type31 { get; set; }
+ public global::Vectara.GetFilterAttributeStatsResponse? Type31 { get; set; }
///
///
///
- public global::Vectara.GetFilterAttributeStatsResponse? Type32 { get; set; }
+ public global::System.Collections.Generic.IList? Type32 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type33 { get; set; }
+ public global::Vectara.MaxCharsChunkingStrategy? Type33 { get; set; }
///
///
///
- public global::Vectara.MaxCharsChunkingStrategy? Type34 { get; set; }
+ public int? Type34 { get; set; }
///
///
///
- public int? Type35 { get; set; }
+ public global::Vectara.SentenceChunkingStrategy? Type35 { get; set; }
///
///
///
- public global::Vectara.SentenceChunkingStrategy? Type36 { get; set; }
+ public global::Vectara.ChunkingStrategy? Type36 { get; set; }
///
///
///
- public global::Vectara.ChunkingStrategy? Type37 { get; set; }
+ public global::Vectara.ChunkingStrategyDiscriminator? Type37 { get; set; }
///
///
///
- public global::Vectara.ChunkingStrategyDiscriminator? Type38 { get; set; }
+ public global::Vectara.ChunkingStrategyDiscriminatorType? Type38 { get; set; }
///
///
///
- public global::Vectara.ChunkingStrategyDiscriminatorType? Type39 { get; set; }
+ public global::Vectara.TableExtractorSpec? Type39 { get; set; }
///
///
///
- public global::Vectara.TableExtractorSpec? Type40 { get; set; }
+ public global::Vectara.TableGenerationSpec? Type40 { get; set; }
///
///
///
- public global::Vectara.TableGenerationSpec? Type41 { get; set; }
+ public global::Vectara.TableExtractionConfig? Type41 { get; set; }
///
///
///
- public global::Vectara.TableExtractionConfig? Type42 { get; set; }
+ public global::Vectara.UploadFileRequest? Type42 { get; set; }
///
///
///
- public global::Vectara.UploadFileRequest? Type43 { get; set; }
+ public byte[]? Type43 { get; set; }
///
///
///
- public byte[]? Type44 { get; set; }
+ public global::Vectara.Cell? Type44 { get; set; }
///
///
///
- public global::Vectara.Cell? Type45 { get; set; }
+ public global::System.Collections.Generic.IList? Type45 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type46 { get; set; }
+ public global::Vectara.Data? Type46 { get; set; }
///
///
///
- public global::Vectara.Data? Type47 { get; set; }
+ public global::System.Collections.Generic.IList>? Type47 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type48 { get; set; }
+ public global::Vectara.Table? Type48 { get; set; }
///
///
///
- public global::Vectara.Table? Type49 { get; set; }
+ public global::Vectara.ImageMetadata? Type49 { get; set; }
///
///
///
- public global::Vectara.ImageMetadata? Type50 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type50 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type51 { get; set; }
+ public global::Vectara.DocumentPart? Type51 { get; set; }
///
///
///
- public global::Vectara.DocumentPart? Type52 { get; set; }
+ public global::Vectara.DocumentStorageUsage? Type52 { get; set; }
///
///
///
- public global::Vectara.DocumentStorageUsage? Type53 { get; set; }
+ public global::Vectara.ExtractionUsage? Type53 { get; set; }
///
///
///
- public global::Vectara.ExtractionUsage? Type54 { get; set; }
+ public global::Vectara.Document? Type54 { get; set; }
///
///
///
- public global::Vectara.Document? Type55 { get; set; }
+ public global::System.Collections.Generic.IList? Type55 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type56 { get; set; }
+ public global::System.Collections.Generic.IList? Type56 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type57 { get; set; }
+ public global::System.Collections.Generic.IList? Type57 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type58 { get; set; }
+ public global::Vectara.ListDocumentsResponse? Type58 { get; set; }
///
///
///
- public global::Vectara.ListDocumentsResponse? Type59 { get; set; }
+ public global::System.Collections.Generic.IList? Type59 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type60 { get; set; }
+ public global::Vectara.ImageData? Type60 { get; set; }
///
///
///
- public global::Vectara.ImageData? Type61 { get; set; }
+ public global::Vectara.Image? Type61 { get; set; }
///
///
///
- public global::Vectara.Image? Type62 { get; set; }
+ public global::Vectara.CoreDocumentPart? Type62 { get; set; }
///
///
///
- public global::Vectara.CoreDocumentPart? Type63 { get; set; }
+ public global::Vectara.CoreDocument? Type63 { get; set; }
///
///
///
- public global::Vectara.CoreDocument? Type64 { get; set; }
+ public global::System.Collections.Generic.IList? Type64 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type65 { get; set; }
+ public global::System.Collections.Generic.IList? Type65 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type66 { get; set; }
+ public global::Vectara.StructuredDocumentSection? Type66 { get; set; }
///
///
///
- public global::Vectara.StructuredDocumentSection? Type67 { get; set; }
+ public global::System.Collections.Generic.IList? Type67 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type68 { get; set; }
+ public global::Vectara.StructuredDocument? Type68 { get; set; }
///
///
///
- public global::Vectara.StructuredDocument? Type69 { get; set; }
+ public global::Vectara.CreateDocumentRequest? Type69 { get; set; }
///
///
///
- public global::Vectara.CreateDocumentRequest? Type70 { get; set; }
+ public global::Vectara.CreateDocumentRequestDiscriminator? Type70 { get; set; }
///
///
///
- public global::Vectara.CreateDocumentRequestDiscriminator? Type71 { get; set; }
+ public global::Vectara.CreateDocumentRequestDiscriminatorType? Type71 { get; set; }
///
///
///
- public global::Vectara.CreateDocumentRequestDiscriminatorType? Type72 { get; set; }
+ public global::Vectara.BulkDeleteAsyncResponse? Type72 { get; set; }
///
///
///
- public global::Vectara.BulkDeleteAsyncResponse? Type73 { get; set; }
+ public global::Vectara.BulkDeleteSyncSuccessResponse? Type73 { get; set; }
///
///
///
- public global::Vectara.BulkDeleteSyncSuccessResponse? Type74 { get; set; }
+ public global::Vectara.BulkDeleteDocumentsResponse? Type74 { get; set; }
///
///
///
- public global::Vectara.BulkDeleteDocumentsResponse? Type75 { get; set; }
+ public global::Vectara.BulkDeleteDocumentsResponseDiscriminator? Type75 { get; set; }
///
///
///
- public global::Vectara.BulkDeleteDocumentsResponseDiscriminator? Type76 { get; set; }
+ public global::Vectara.BulkDeleteDocumentsResponseDiscriminatorResponseType? Type76 { get; set; }
///
///
///
- public global::Vectara.BulkDeleteDocumentsResponseDiscriminatorResponseType? Type77 { get; set; }
+ public global::Vectara.UpdateDocumentRequest? Type77 { get; set; }
///
///
///
- public global::Vectara.UpdateDocumentRequest? Type78 { get; set; }
+ public global::Vectara.SummarizeDocumentRequest? Type78 { get; set; }
///
///
///
- public global::Vectara.SummarizeDocumentRequest? Type79 { get; set; }
+ public global::Vectara.SummarizeDocumentResponse? Type79 { get; set; }
///
///
///
- public global::Vectara.SummarizeDocumentResponse? Type80 { get; set; }
+ public global::Vectara.StreamGenerationChunk? Type80 { get; set; }
///
///
///
- public global::Vectara.StreamGenerationChunk? Type81 { get; set; }
+ public global::Vectara.GenerationInfo? Type81 { get; set; }
///
///
///
- public global::Vectara.GenerationInfo? Type82 { get; set; }
+ public global::Vectara.StreamGenerationEnd? Type82 { get; set; }
///
///
///
- public global::Vectara.StreamGenerationEnd? Type83 { get; set; }
+ public global::Vectara.StreamError? Type83 { get; set; }
///
///
///
- public global::Vectara.StreamError? Type84 { get; set; }
+ public global::Vectara.StreamResponseEnd? Type84 { get; set; }
///
///
///
- public global::Vectara.StreamResponseEnd? Type85 { get; set; }
+ public global::Vectara.SummarizeDocumentStreamedResponse? Type85 { get; set; }
///
///
///
- public global::Vectara.SummarizeDocumentStreamedResponse? Type86 { get; set; }
+ public global::Vectara.SummarizeDocumentStreamedResponseDiscriminator? Type86 { get; set; }
///
///
///
- public global::Vectara.SummarizeDocumentStreamedResponseDiscriminator? Type87 { get; set; }
+ public global::Vectara.SummarizeDocumentStreamedResponseDiscriminatorType? Type87 { get; set; }
///
///
///
- public global::Vectara.SummarizeDocumentStreamedResponseDiscriminatorType? Type88 { get; set; }
+ public global::Vectara.FieldQuery? Type88 { get; set; }
///
///
///
- public global::Vectara.FieldQuery? Type89 { get; set; }
+ public float? Type89 { get; set; }
///
///
///
- public float? Type90 { get; set; }
+ public global::Vectara.MetadataQueryRequest? Type90 { get; set; }
///
///
///
- public global::Vectara.MetadataQueryRequest? Type91 { get; set; }
+ public global::Vectara.MetadataQueryRequestLevel? Type91 { get; set; }
///
///
///
- public global::Vectara.MetadataQueryRequestLevel? Type92 { get; set; }
+ public global::System.Collections.Generic.IList? Type92 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type93 { get; set; }
+ public global::Vectara.ScoredDocument? Type93 { get; set; }
///
///
///
- public global::Vectara.ScoredDocument? Type94 { get; set; }
+ public global::Vectara.MetadataQueryResponse? Type94 { get; set; }
///
///
///
- public global::Vectara.MetadataQueryResponse? Type95 { get; set; }
+ public global::System.Collections.Generic.IList? Type95 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type96 { get; set; }
+ public global::Vectara.Language? Type96 { get; set; }
///
///
///
- public global::Vectara.Language? Type97 { get; set; }
+ public global::Vectara.IndividualSearchResult? Type97 { get; set; }
///
///
///
- public global::Vectara.IndividualSearchResult? Type98 { get; set; }
+ public global::Vectara.QueryWarning? Type98 { get; set; }
///
///
///
- public global::Vectara.QueryWarning? Type99 { get; set; }
+ public global::Vectara.FilterExtraction? Type99 { get; set; }
///
///
///
- public global::Vectara.FilterExtraction? Type100 { get; set; }
+ public global::Vectara.RewrittenQuery? Type100 { get; set; }
///
///
///
- public global::Vectara.RewrittenQuery? Type101 { get; set; }
+ public global::Vectara.QueryFullResponse? Type101 { get; set; }
///
///
///
- public global::Vectara.QueryFullResponse? Type102 { get; set; }
+ public global::System.Collections.Generic.IList? Type102 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type103 { get; set; }
+ public global::System.Collections.Generic.IList? Type103 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type104 { get; set; }
+ public global::System.Collections.Generic.IList? Type104 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type105 { get; set; }
+ public global::Vectara.SearchSemantics? Type105 { get; set; }
///
///
///
- public global::Vectara.SearchSemantics? Type106 { get; set; }
+ public global::Vectara.SearchCorpus? Type106 { get; set; }
///
///
///
- public global::Vectara.SearchCorpus? Type107 { get; set; }
+ public global::Vectara.ContextConfiguration? Type107 { get; set; }
///
///
///
- public global::Vectara.ContextConfiguration? Type108 { get; set; }
+ public global::Vectara.CustomerSpecificReranker? Type108 { get; set; }
///
///
///
- public global::Vectara.CustomerSpecificReranker? Type109 { get; set; }
+ public global::Vectara.UserFunctionReranker? Type109 { get; set; }
///
///
///
- public global::Vectara.UserFunctionReranker? Type110 { get; set; }
+ public global::Vectara.MMRReranker? Type110 { get; set; }
///
///
///
- public global::Vectara.MMRReranker? Type111 { get; set; }
+ public global::Vectara.SearchReranker? Type111 { get; set; }
///
///
///
- public global::Vectara.SearchReranker? Type112 { get; set; }
+ public global::Vectara.ChainReranker? Type112 { get; set; }
///
///
///
- public global::Vectara.ChainReranker? Type113 { get; set; }
+ public global::Vectara.NoneReranker? Type113 { get; set; }
///
///
///
- public global::Vectara.NoneReranker? Type114 { get; set; }
+ public global::Vectara.SearchRerankerDiscriminator? Type114 { get; set; }
///
///
///
- public global::Vectara.SearchRerankerDiscriminator? Type115 { get; set; }
+ public global::Vectara.SearchRerankerDiscriminatorType? Type115 { get; set; }
///
///
///
- public global::Vectara.SearchRerankerDiscriminatorType? Type116 { get; set; }
+ public global::System.Collections.Generic.IList? Type116 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type117 { get; set; }
+ public global::Vectara.SearchParameters? Type117 { get; set; }
///
///
///
- public global::Vectara.SearchParameters? Type118 { get; set; }
+ public global::Vectara.CitationParameters? Type118 { get; set; }
///
///
///
- public global::Vectara.CitationParameters? Type119 { get; set; }
+ public global::Vectara.CitationParametersStyle? Type119 { get; set; }
///
///
///
- public global::Vectara.CitationParametersStyle? Type120 { get; set; }
+ public global::Vectara.GenerationParameters? Type120 { get; set; }
///
///
///
- public global::Vectara.GenerationParameters? Type121 { get; set; }
+ public global::Vectara.GenerationParametersModelParameters? Type121 { get; set; }
///
///
///
- public global::Vectara.GenerationParametersModelParameters? Type122 { get; set; }
+ public global::Vectara.QueryCorpusRequest? Type122 { get; set; }
///
///
///
- public global::Vectara.QueryCorpusRequest? Type123 { get; set; }
+ public global::Vectara.AllOf? Type123 { get; set; }
///
///
///
- public global::Vectara.AllOf? Type124 { get; set; }
+ public global::Vectara.StreamSearchResponse? Type124 { get; set; }
///
///
///
- public global::Vectara.StreamSearchResponse? Type125 { get; set; }
+ public global::Vectara.FactualConsistencyScore? Type125 { get; set; }
///
///
///
- public global::Vectara.FactualConsistencyScore? Type126 { get; set; }
+ public global::Vectara.QueryStreamedResponse? Type126 { get; set; }
///
///
///
- public global::Vectara.QueryStreamedResponse? Type127 { get; set; }
+ public global::Vectara.QueryStreamedResponseDiscriminator? Type127 { get; set; }
///
///
///
- public global::Vectara.QueryStreamedResponseDiscriminator? Type128 { get; set; }
+ public global::Vectara.QueryStreamedResponseDiscriminatorType? Type128 { get; set; }
///
///
///
- public global::Vectara.QueryStreamedResponseDiscriminatorType? Type129 { get; set; }
+ public global::Vectara.KeyedSearchCorpus? Type129 { get; set; }
///
///
///
- public global::Vectara.KeyedSearchCorpus? Type130 { get; set; }
+ public global::Vectara.KeyedSearchCorpusVariant2? Type130 { get; set; }
///
///
///
- public global::Vectara.KeyedSearchCorpusVariant2? Type131 { get; set; }
+ public global::Vectara.SearchCorporaParameters? Type131 { get; set; }
///
///
///
- public global::Vectara.SearchCorporaParameters? Type132 { get; set; }
+ public global::Vectara.SearchCorporaParametersVariant1? Type132 { get; set; }
///
///
///
- public global::Vectara.SearchCorporaParametersVariant1? Type133 { get; set; }
+ public global::System.Collections.Generic.IList? Type133 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type134 { get; set; }
+ public global::Vectara.QueryRequest? Type134 { get; set; }
///
///
///
- public global::Vectara.QueryRequest? Type135 { get; set; }
+ public global::Vectara.RephraseSpan? Type135 { get; set; }
///
///
///
- public global::Vectara.RephraseSpan? Type136 { get; set; }
+ public global::Vectara.SearchSpan? Type136 { get; set; }
///
///
///
- public global::Vectara.SearchSpan? Type137 { get; set; }
+ public global::Vectara.RerankedSearchResult? Type137 { get; set; }
///
///
///
- public global::Vectara.RerankedSearchResult? Type138 { get; set; }
+ public global::Vectara.RerankSpan? Type138 { get; set; }
///
///
///
- public global::Vectara.RerankSpan? Type139 { get; set; }
+ public global::System.Collections.Generic.IList? Type139 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type140 { get; set; }
+ public global::Vectara.GenerationSpan? Type140 { get; set; }
///
///
///
- public global::Vectara.GenerationSpan? Type141 { get; set; }
+ public global::Vectara.FactualConsistencyScoreSpan? Type141 { get; set; }
///
///
///
- public global::Vectara.FactualConsistencyScoreSpan? Type142 { get; set; }
+ public global::Vectara.RewrittenQueryWarning? Type142 { get; set; }
///
///
///
- public global::Vectara.RewrittenQueryWarning? Type143 { get; set; }
+ public global::Vectara.RewrittenQuerySpan? Type143 { get; set; }
///
///
///
- public global::Vectara.RewrittenQuerySpan? Type144 { get; set; }
+ public global::System.Collections.Generic.IList? Type144 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type145 { get; set; }
+ public global::Vectara.QueryHistorySpan? Type145 { get; set; }
///
///
///
- public global::Vectara.QueryHistorySpan? Type146 { get; set; }
+ public global::Vectara.QueryHistorySpanDiscriminator? Type146 { get; set; }
///
///
///
- public global::Vectara.QueryHistorySpanDiscriminator? Type147 { get; set; }
+ public global::Vectara.QueryHistorySpanDiscriminatorType? Type147 { get; set; }
///
///
///
- public global::Vectara.QueryHistorySpanDiscriminatorType? Type148 { get; set; }
+ public global::Vectara.QueryHistory? Type148 { get; set; }
///
///
///
- public global::Vectara.QueryHistory? Type149 { get; set; }
+ public global::System.Collections.Generic.IList? Type149 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type150 { get; set; }
+ public global::Vectara.QueryHistorySummary? Type150 { get; set; }
///
///
///
- public global::Vectara.QueryHistorySummary? Type151 { get; set; }
+ public global::Vectara.ListQueryHistoriesResponse? Type151 { get; set; }
///
///
///
- public global::Vectara.ListQueryHistoriesResponse? Type152 { get; set; }
+ public global::System.Collections.Generic.IList? Type152 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type153 { get; set; }
+ public global::Vectara.ListQueryHistoriesResponseMetadata? Type153 { get; set; }
///
///
///
- public global::Vectara.ListQueryHistoriesResponseMetadata? Type154 { get; set; }
+ public global::Vectara.Chat? Type154 { get; set; }
///
///
///
- public global::Vectara.Chat? Type155 { get; set; }
+ public global::Vectara.ListChatsResponse? Type155 { get; set; }
///
///
///
- public global::Vectara.ListChatsResponse? Type156 { get; set; }
+ public global::System.Collections.Generic.IList? Type156 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type157 { get; set; }
+ public global::Vectara.ChatParameters? Type157 { get; set; }
///
///
///
- public global::Vectara.ChatParameters? Type158 { get; set; }
+ public global::Vectara.ChatRequest? Type158 { get; set; }
///
///
///
- public global::Vectara.ChatRequest? Type159 { get; set; }
+ public global::Vectara.ChatFullResponse? Type159 { get; set; }
///
///
///
- public global::Vectara.ChatFullResponse? Type160 { get; set; }
+ public global::Vectara.ChatInfoResponse? Type160 { get; set; }
///
///
///
- public global::Vectara.ChatInfoResponse? Type161 { get; set; }
+ public global::Vectara.ChatStreamedResponse? Type161 { get; set; }
///
///
///
- public global::Vectara.ChatStreamedResponse? Type162 { get; set; }
+ public global::Vectara.ChatStreamedResponseDiscriminator? Type162 { get; set; }
///
///
///
- public global::Vectara.ChatStreamedResponseDiscriminator? Type163 { get; set; }
+ public global::Vectara.ChatStreamedResponseDiscriminatorType? Type163 { get; set; }
///
///
///
- public global::Vectara.ChatStreamedResponseDiscriminatorType? Type164 { get; set; }
+ public global::Vectara.Turn? Type164 { get; set; }
///
///
///
- public global::Vectara.Turn? Type165 { get; set; }
+ public global::Vectara.ListChatTurnsResponse? Type165 { get; set; }
///
///
///
- public global::Vectara.ListChatTurnsResponse? Type166 { get; set; }
+ public global::System.Collections.Generic.IList? Type166 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type167 { get; set; }
+ public global::Vectara.UpdateTurnRequest? Type167 { get; set; }
///
///
///
- public global::Vectara.UpdateTurnRequest? Type168 { get; set; }
+ public global::Vectara.LLMCapabilities? Type168 { get; set; }
///
///
///
- public global::Vectara.LLMCapabilities? Type169 { get; set; }
+ public global::Vectara.LLMOwnership? Type169 { get; set; }
///
///
///
- public global::Vectara.LLMOwnership? Type170 { get; set; }
+ public global::Vectara.Prompt? Type170 { get; set; }
///
///
///
- public global::Vectara.Prompt? Type171 { get; set; }
+ public global::Vectara.Llm? Type171 { get; set; }
///
///
///
- public global::Vectara.Llm? Type172 { get; set; }
+ public global::System.Collections.Generic.IList? Type172 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type173 { get; set; }
+ public global::Vectara.ListLLMsResponse? Type173 { get; set; }
///
///
///
- public global::Vectara.ListLLMsResponse? Type174 { get; set; }
+ public global::System.Collections.Generic.IList? Type174 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type175 { get; set; }
+ public global::Vectara.BearerAuth? Type175 { get; set; }
///
///
///
- public global::Vectara.BearerAuth? Type176 { get; set; }
+ public global::Vectara.HeaderAuth? Type176 { get; set; }
///
///
///
- public global::Vectara.HeaderAuth? Type177 { get; set; }
+ public global::Vectara.OAuthClientCredentialsAuth? Type177 { get; set; }
///
///
///
- public global::Vectara.OAuthClientCredentialsAuth? Type178 { get; set; }
+ public global::Vectara.RemoteAuth? Type178 { get; set; }
///
///
///
- public global::Vectara.RemoteAuth? Type179 { get; set; }
+ public global::Vectara.RemoteAuthDiscriminator? Type179 { get; set; }
///
///
///
- public global::Vectara.RemoteAuthDiscriminator? Type180 { get; set; }
+ public global::Vectara.RemoteAuthDiscriminatorType? Type180 { get; set; }
///
///
///
- public global::Vectara.RemoteAuthDiscriminatorType? Type181 { get; set; }
+ public global::Vectara.OpenAILLMRequestBase? Type181 { get; set; }
///
///
///
- public global::Vectara.OpenAILLMRequestBase? Type182 { get; set; }
+ public global::Vectara.CreateOpenAILLMRequest? Type182 { get; set; }
///
///
///
- public global::Vectara.CreateOpenAILLMRequest? Type183 { get; set; }
+ public global::Vectara.CreateOpenAILLMRequestVariant2? Type183 { get; set; }
///
///
///
- public global::Vectara.CreateOpenAILLMRequestVariant2? Type184 { get; set; }
+ public global::Vectara.CreateOpenAIResponsesLLMRequest? Type184 { get; set; }
///
///
///
- public global::Vectara.CreateOpenAIResponsesLLMRequest? Type185 { get; set; }
+ public global::Vectara.CreateOpenAIResponsesLLMRequestVariant2? Type185 { get; set; }
///
///
///
- public global::Vectara.CreateOpenAIResponsesLLMRequestVariant2? Type186 { get; set; }
+ public global::Vectara.VertexAiApiKeyAuth? Type186 { get; set; }
///
///
///
- public global::Vectara.VertexAiApiKeyAuth? Type187 { get; set; }
+ public global::Vectara.VertexAiServiceAccountAuth? Type187 { get; set; }
///
///
///
- public global::Vectara.VertexAiServiceAccountAuth? Type188 { get; set; }
+ public global::Vectara.VertexAiAuth? Type188 { get; set; }
///
///
///
- public global::Vectara.VertexAiAuth? Type189 { get; set; }
+ public global::Vectara.VertexAiAuthDiscriminator? Type189 { get; set; }
///
///
///
- public global::Vectara.VertexAiAuthDiscriminator? Type190 { get; set; }
+ public global::Vectara.VertexAiAuthDiscriminatorType? Type190 { get; set; }
///
///
///
- public global::Vectara.VertexAiAuthDiscriminatorType? Type191 { get; set; }
+ public global::Vectara.CreateVertexAILLMRequest? Type191 { get; set; }
///
///
///
- public global::Vectara.CreateVertexAILLMRequest? Type192 { get; set; }
+ public global::Vectara.BedrockStaticIAMAuth? Type192 { get; set; }
///
///
///
- public global::Vectara.BedrockStaticIAMAuth? Type193 { get; set; }
+ public global::Vectara.BedrockApiKeyAuth? Type193 { get; set; }
///
///
///
- public global::Vectara.BedrockApiKeyAuth? Type194 { get; set; }
+ public global::Vectara.VertexServiceAccountAuth? Type194 { get; set; }
///
///
///
- public global::Vectara.VertexServiceAccountAuth? Type195 { get; set; }
+ public global::Vectara.VertexAccessTokenAuth? Type195 { get; set; }
///
///
///
- public global::Vectara.VertexAccessTokenAuth? Type196 { get; set; }
+ public global::Vectara.AnthropicAuth? Type196 { get; set; }
///
///
///
- public global::Vectara.AnthropicAuth? Type197 { get; set; }
+ public global::Vectara.AnthropicAuthDiscriminator? Type197 { get; set; }
///
///
///
- public global::Vectara.AnthropicAuthDiscriminator? Type198 { get; set; }
+ public global::Vectara.AnthropicAuthDiscriminatorType? Type198 { get; set; }
///
///
///
- public global::Vectara.AnthropicAuthDiscriminatorType? Type199 { get; set; }
+ public global::Vectara.CreateAnthropicLLMRequest? Type199 { get; set; }
///
///
///
- public global::Vectara.CreateAnthropicLLMRequest? Type200 { get; set; }
+ public global::Vectara.CreateLLMRequest? Type200 { get; set; }
///
///
///
- public global::Vectara.CreateLLMRequest? Type201 { get; set; }
+ public global::Vectara.CreateLLMRequestDiscriminator? Type201 { get; set; }
///
///
///
- public global::Vectara.CreateLLMRequestDiscriminator? Type202 { get; set; }
+ public global::Vectara.CreateLLMRequestDiscriminatorType? Type202 { get; set; }
///
///
///
- public global::Vectara.CreateLLMRequestDiscriminatorType? Type203 { get; set; }
+ public global::Vectara.OpenAILLMUpdateBase? Type203 { get; set; }
///
///
///
- public global::Vectara.OpenAILLMUpdateBase? Type204 { get; set; }
+ public global::Vectara.UpdateOpenAILLMRequest? Type204 { get; set; }
///
///
///
- public global::Vectara.UpdateOpenAILLMRequest? Type205 { get; set; }
+ public global::Vectara.UpdateOpenAILLMRequestVariant2? Type205 { get; set; }
///
///
///
- public global::Vectara.UpdateOpenAILLMRequestVariant2? Type206 { get; set; }
+ public global::Vectara.UpdateOpenAIResponsesLLMRequest? Type206 { get; set; }
///
///
///
- public global::Vectara.UpdateOpenAIResponsesLLMRequest? Type207 { get; set; }
+ public global::Vectara.UpdateOpenAIResponsesLLMRequestVariant2? Type207 { get; set; }
///
///
///
- public global::Vectara.UpdateOpenAIResponsesLLMRequestVariant2? Type208 { get; set; }
+ public global::Vectara.UpdateVertexAILLMRequest? Type208 { get; set; }
///
///
///
- public global::Vectara.UpdateVertexAILLMRequest? Type209 { get; set; }
+ public global::Vectara.UpdateAnthropicLLMRequest? Type209 { get; set; }
///
///
///
- public global::Vectara.UpdateAnthropicLLMRequest? Type210 { get; set; }
+ public global::Vectara.UpdateLLMRequest? Type210 { get; set; }
///
///
///
- public global::Vectara.UpdateLLMRequest? Type211 { get; set; }
+ public global::Vectara.UpdateLLMRequestDiscriminator? Type211 { get; set; }
///
///
///
- public global::Vectara.UpdateLLMRequestDiscriminator? Type212 { get; set; }
+ public global::Vectara.UpdateLLMRequestDiscriminatorType? Type212 { get; set; }
///
///
///
- public global::Vectara.UpdateLLMRequestDiscriminatorType? Type213 { get; set; }
+ public global::Vectara.ChatCompletionRequestMessage? Type213 { get; set; }
///
///
///
- public global::Vectara.ChatCompletionRequestMessage? Type214 { get; set; }
+ public global::Vectara.JsonSchemaDefinition? Type214 { get; set; }
///
///
///
- public global::Vectara.JsonSchemaDefinition? Type215 { get; set; }
+ public global::Vectara.JsonSchemaDefinitionType? Type215 { get; set; }
///
///
///
- public global::Vectara.JsonSchemaDefinitionType? Type216 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type216 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type217 { get; set; }
+ public global::Vectara.JsonSchemaSpec? Type217 { get; set; }
///
///
///
- public global::Vectara.JsonSchemaSpec? Type218 { get; set; }
+ public global::Vectara.ResponseFormat? Type218 { get; set; }
///
///
///
- public global::Vectara.ResponseFormat? Type219 { get; set; }
+ public global::Vectara.ResponseFormatType? Type219 { get; set; }
///
///
///
- public global::Vectara.ResponseFormatType? Type220 { get; set; }
+ public global::Vectara.CreateChatCompletionRequest? Type220 { get; set; }
///
///
///
- public global::Vectara.CreateChatCompletionRequest? Type221 { get; set; }
+ public global::System.Collections.Generic.IList? Type221 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type222 { get; set; }
+ public global::Vectara.ChatCompletionResponseMessage? Type222 { get; set; }
///
///
///
- public global::Vectara.ChatCompletionResponseMessage? Type223 { get; set; }
+ public global::Vectara.ChatCompletionResponseChoice? Type223 { get; set; }
///
///
///
- public global::Vectara.ChatCompletionResponseChoice? Type224 { get; set; }
+ public global::Vectara.CreateChatCompletionResponse? Type224 { get; set; }
///
///
///
- public global::Vectara.CreateChatCompletionResponse? Type225 { get; set; }
+ public global::Vectara.CreateChatCompletionResponseObject? Type225 { get; set; }
///
///
///
- public global::Vectara.CreateChatCompletionResponseObject? Type226 { get; set; }
+ public global::System.Collections.Generic.IList? Type226 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type227 { get; set; }
+ public global::Vectara.ChatCompletionStreamResponseDelta? Type227 { get; set; }
///
///
///
- public global::Vectara.ChatCompletionStreamResponseDelta? Type228 { get; set; }
+ public global::Vectara.ChatCompletionStreamResponseChoice? Type228 { get; set; }
///
///
///
- public global::Vectara.ChatCompletionStreamResponseChoice? Type229 { get; set; }
+ public global::Vectara.CreateChatCompletionStreamResponse? Type229 { get; set; }
///
///
///
- public global::Vectara.CreateChatCompletionStreamResponse? Type230 { get; set; }
+ public global::Vectara.CreateChatCompletionStreamResponseObject? Type230 { get; set; }
///
///
///
- public global::Vectara.CreateChatCompletionStreamResponseObject? Type231 { get; set; }
+ public global::System.Collections.Generic.IList? Type231 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type232 { get; set; }
+ public global::Vectara.GenerationPresetOwnership? Type232 { get; set; }
///
///
///
- public global::Vectara.GenerationPresetOwnership? Type233 { get; set; }
+ public global::Vectara.GenerationPreset? Type233 { get; set; }
///
///
///
- public global::Vectara.GenerationPreset? Type234 { get; set; }
+ public global::Vectara.ListGenerationPresetsResponse? Type234 { get; set; }
///
///
///
- public global::Vectara.ListGenerationPresetsResponse? Type235 { get; set; }
+ public global::System.Collections.Generic.IList? Type235 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type236 { get; set; }
+ public global::Vectara.CreateGenerationPresetRequest? Type236 { get; set; }
///
///
///
- public global::Vectara.CreateGenerationPresetRequest? Type237 { get; set; }
+ public global::Vectara.EvaluateFactualConsistencyRequest? Type237 { get; set; }
///
///
///
- public global::Vectara.EvaluateFactualConsistencyRequest? Type238 { get; set; }
+ public global::Vectara.EvaluateFactualConsistencyRequestModelParameters? Type238 { get; set; }
///
///
///
- public global::Vectara.EvaluateFactualConsistencyRequestModelParameters? Type239 { get; set; }
+ public global::Vectara.EvaluateFactualConsistencyResponse? Type239 { get; set; }
///
///
///
- public global::Vectara.EvaluateFactualConsistencyResponse? Type240 { get; set; }
+ public global::Vectara.Encoder? Type240 { get; set; }
///
///
///
- public global::Vectara.Encoder? Type241 { get; set; }
+ public global::Vectara.ListEncodersResponse? Type241 { get; set; }
///
///
///
- public global::Vectara.ListEncodersResponse? Type242 { get; set; }
+ public global::System.Collections.Generic.IList? Type242 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type243 { get; set; }
+ public global::Vectara.CreateOpenAIEncoderRequest? Type243 { get; set; }
///
///
///
- public global::Vectara.CreateOpenAIEncoderRequest? Type244 { get; set; }
+ public global::Vectara.CreateEncoderRequest? Type244 { get; set; }
///
///
///
- public global::Vectara.CreateEncoderRequest? Type245 { get; set; }
+ public global::Vectara.CreateEncoderRequestDiscriminator? Type245 { get; set; }
///
///
///
- public global::Vectara.CreateEncoderRequestDiscriminator? Type246 { get; set; }
+ public global::Vectara.CreateEncoderRequestDiscriminatorType? Type246 { get; set; }
///
///
///
- public global::Vectara.CreateEncoderRequestDiscriminatorType? Type247 { get; set; }
+ public global::Vectara.Reranker? Type247 { get; set; }
///
///
///
- public global::Vectara.Reranker? Type248 { get; set; }
+ public global::Vectara.ListRerankersResponse? Type248 { get; set; }
///
///
///
- public global::Vectara.ListRerankersResponse? Type249 { get; set; }
+ public global::System.Collections.Generic.IList? Type249 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type250 { get; set; }
+ public global::Vectara.TableExtractor? Type250 { get; set; }
///
///
///
- public global::Vectara.TableExtractor? Type251 { get; set; }
+ public global::Vectara.ListTableExtractorsResponse? Type251 { get; set; }
///
///
///
- public global::Vectara.ListTableExtractorsResponse? Type252 { get; set; }
+ public global::System.Collections.Generic.IList? Type252 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type253 { get; set; }
+ public global::Vectara.HallucinationCorrector? Type253 { get; set; }
///
///
///
- public global::Vectara.HallucinationCorrector? Type254 { get; set; }
+ public global::Vectara.ListHallucinationCorrectorsResponse? Type254 { get; set; }
///
///
///
- public global::Vectara.ListHallucinationCorrectorsResponse? Type255 { get; set; }
+ public global::System.Collections.Generic.IList? Type255 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type256 { get; set; }
+ public global::Vectara.HcmSourceDocument? Type256 { get; set; }
///
///
///
- public global::Vectara.HcmSourceDocument? Type257 { get; set; }
+ public global::Vectara.HallucinationCorrectionRequest? Type257 { get; set; }
///
///
///
- public global::Vectara.HallucinationCorrectionRequest? Type258 { get; set; }
+ public global::System.Collections.Generic.IList? Type258 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type259 { get; set; }
+ public global::Vectara.CorrectionItem? Type259 { get; set; }
///
///
///
- public global::Vectara.CorrectionItem? Type260 { get; set; }
+ public global::Vectara.HallucinationCorrectionResponse? Type260 { get; set; }
///
///
///
- public global::Vectara.HallucinationCorrectionResponse? Type261 { get; set; }
+ public global::System.Collections.Generic.IList? Type261 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type262 { get; set; }
+ public global::Vectara.JobState? Type262 { get; set; }
///
///
///
- public global::Vectara.JobState? Type263 { get; set; }
+ public global::Vectara.Job? Type263 { get; set; }
///
///
///
- public global::Vectara.Job? Type264 { get; set; }
+ public global::Vectara.JobType? Type264 { get; set; }
///
///
///
- public global::Vectara.JobType? Type265 { get; set; }
+ public global::Vectara.ListJobsResponse? Type265 { get; set; }
///
///
///
- public global::Vectara.ListJobsResponse? Type266 { get; set; }
+ public global::System.Collections.Generic.IList? Type266 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type267 { get; set; }
+ public global::Vectara.ApiRole? Type267 { get; set; }
///
///
///
- public global::Vectara.ApiRole? Type268 { get; set; }
+ public global::Vectara.CorpusRole? Type268 { get; set; }
///
///
///
- public global::Vectara.CorpusRole? Type269 { get; set; }
+ public global::Vectara.CorpusRoleRole? Type269 { get; set; }
///
///
///
- public global::Vectara.CorpusRoleRole? Type270 { get; set; }
+ public global::Vectara.AgentRole? Type270 { get; set; }
///
///
///
- public global::Vectara.AgentRole? Type271 { get; set; }
+ public global::Vectara.AgentRoleRole? Type271 { get; set; }
///
///
///
- public global::Vectara.AgentRoleRole? Type272 { get; set; }
+ public global::Vectara.ApiOperationPolicy? Type272 { get; set; }
///
///
///
- public global::Vectara.ApiOperationPolicy? Type273 { get; set; }
+ public global::System.Collections.Generic.Dictionary>? Type273 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary>? Type274 { get; set; }
+ public global::Vectara.ApiPolicy? Type274 { get; set; }
///
///
///
- public global::Vectara.ApiPolicy? Type275 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type275 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type276 { get; set; }
+ public global::Vectara.User? Type276 { get; set; }
///
///
///
- public global::Vectara.User? Type277 { get; set; }
+ public global::System.Collections.Generic.IList? Type277 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type278 { get; set; }
+ public global::System.Collections.Generic.IList? Type278 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type279 { get; set; }
+ public global::System.Collections.Generic.IList? Type279 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type280 { get; set; }
+ public global::Vectara.ListUsersResponse? Type280 { get; set; }
///
///
///
- public global::Vectara.ListUsersResponse? Type281 { get; set; }
+ public global::System.Collections.Generic.IList? Type281 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type282 { get; set; }
+ public global::Vectara.CreateUserRequest? Type282 { get; set; }
///
///
///
- public global::Vectara.CreateUserRequest? Type283 { get; set; }
+ public global::Vectara.UpdateUserRequest? Type283 { get; set; }
///
///
///
- public global::Vectara.UpdateUserRequest? Type284 { get; set; }
+ public global::Vectara.ApiKeyRole? Type284 { get; set; }
///
///
///
- public global::Vectara.ApiKeyRole? Type285 { get; set; }
+ public global::Vectara.ApiKey? Type285 { get; set; }
///
///
///
- public global::Vectara.ApiKey? Type286 { get; set; }
+ public global::Vectara.ListApiKeysResponse? Type286 { get; set; }
///
///
///
- public global::Vectara.ListApiKeysResponse? Type287 { get; set; }
+ public global::System.Collections.Generic.IList? Type287 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type288 { get; set; }
+ public global::Vectara.CreateApiKeyRequest? Type288 { get; set; }
///
///
///
- public global::Vectara.CreateApiKeyRequest? Type289 { get; set; }
+ public global::Vectara.UpdateApiKeyRequest? Type289 { get; set; }
///
///
///
- public global::Vectara.UpdateApiKeyRequest? Type290 { get; set; }
+ public global::Vectara.AppClient? Type290 { get; set; }
///
///
///
- public global::Vectara.AppClient? Type291 { get; set; }
+ public global::Vectara.ListAppClientsResponse? Type291 { get; set; }
///
///
///
- public global::Vectara.ListAppClientsResponse? Type292 { get; set; }
+ public global::System.Collections.Generic.IList? Type292 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type293 { get; set; }
+ public global::Vectara.CreateClientCredentialsRequest? Type293 { get; set; }
///
///
///
- public global::Vectara.CreateClientCredentialsRequest? Type294 { get; set; }
+ public global::Vectara.CreateAppClientRequest? Type294 { get; set; }
///
///
///
- public global::Vectara.CreateAppClientRequest? Type295 { get; set; }
+ public global::Vectara.CreateAppClientRequestDiscriminator? Type295 { get; set; }
///
///
///
- public global::Vectara.CreateAppClientRequestDiscriminator? Type296 { get; set; }
+ public global::Vectara.CreateAppClientRequestDiscriminatorType? Type296 { get; set; }
///
///
///
- public global::Vectara.CreateAppClientRequestDiscriminatorType? Type297 { get; set; }
+ public global::Vectara.UpdateAppClientRequest? Type297 { get; set; }
///
///
///
- public global::Vectara.UpdateAppClientRequest? Type298 { get; set; }
+ public global::Vectara.ToolServerType? Type298 { get; set; }
///
///
///
- public global::Vectara.ToolServerType? Type299 { get; set; }
+ public global::Vectara.ToolServerTransport? Type299 { get; set; }
///
///
///
- public global::Vectara.ToolServerTransport? Type300 { get; set; }
+ public global::Vectara.ToolServer? Type300 { get; set; }
///
///
///
- public global::Vectara.ToolServer? Type301 { get; set; }
+ public global::Vectara.ListToolServersResponse? Type301 { get; set; }
///
///
///
- public global::Vectara.ListToolServersResponse? Type302 { get; set; }
+ public global::System.Collections.Generic.IList? Type302 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type303 { get; set; }
+ public global::Vectara.CreateToolServerRequest? Type303 { get; set; }
///
///
///
- public global::Vectara.CreateToolServerRequest? Type304 { get; set; }
+ public global::Vectara.UpdateToolServerRequest? Type304 { get; set; }
///
///
///
- public global::Vectara.UpdateToolServerRequest? Type305 { get; set; }
+ public global::Vectara.ToolBase? Type305 { get; set; }
///
///
///
- public global::Vectara.ToolBase? Type306 { get; set; }
+ public global::Vectara.DynamicVectaraTool? Type306 { get; set; }
///
///
///
- public global::Vectara.DynamicVectaraTool? Type307 { get; set; }
+ public global::Vectara.DynamicVectaraToolVariant2? Type307 { get; set; }
///
///
///
- public global::Vectara.DynamicVectaraToolVariant2? Type308 { get; set; }
+ public global::Vectara.McpToolAnnotations? Type308 { get; set; }
///
///
///
- public global::Vectara.McpToolAnnotations? Type309 { get; set; }
+ public global::Vectara.McpTool? Type309 { get; set; }
///
///
///
- public global::Vectara.McpTool? Type310 { get; set; }
+ public global::Vectara.McpToolVariant2? Type310 { get; set; }
///
///
///
- public global::Vectara.McpToolVariant2? Type311 { get; set; }
+ public global::Vectara.CorporaSearchTool? Type311 { get; set; }
///
///
///
- public global::Vectara.CorporaSearchTool? Type312 { get; set; }
+ public global::Vectara.CorporaSearchToolVariant2? Type312 { get; set; }
///
///
///
- public global::Vectara.CorporaSearchToolVariant2? Type313 { get; set; }
+ public global::Vectara.WebSearchTool? Type313 { get; set; }
///
///
///
- public global::Vectara.WebSearchTool? Type314 { get; set; }
+ public global::Vectara.WebSearchToolVariant2? Type314 { get; set; }
///
///
///
- public global::Vectara.WebSearchToolVariant2? Type315 { get; set; }
+ public global::Vectara.WebGetTool? Type315 { get; set; }
///
///
///
- public global::Vectara.WebGetTool? Type316 { get; set; }
+ public global::Vectara.WebGetToolVariant2? Type316 { get; set; }
///
///
///
- public global::Vectara.WebGetToolVariant2? Type317 { get; set; }
+ public global::Vectara.ExecutionConfiguration? Type317 { get; set; }
///
///
///
- public global::Vectara.ExecutionConfiguration? Type318 { get; set; }
+ public global::Vectara.FunctionDefinition? Type318 { get; set; }
///
///
///
- public global::Vectara.FunctionDefinition? Type319 { get; set; }
+ public global::Vectara.FunctionDefinitionLanguage? Type319 { get; set; }
///
///
///
- public global::Vectara.FunctionDefinitionLanguage? Type320 { get; set; }
+ public global::Vectara.FunctionDefinitionValidationStatus? Type320 { get; set; }
///
///
///
- public global::Vectara.FunctionDefinitionValidationStatus? Type321 { get; set; }
+ public global::Vectara.LambdaTool? Type321 { get; set; }
///
///
///
- public global::Vectara.LambdaTool? Type322 { get; set; }
+ public global::Vectara.LambdaToolVariant2? Type322 { get; set; }
///
///
///
- public global::Vectara.LambdaToolVariant2? Type323 { get; set; }
+ public global::Vectara.LambdaToolVariant2Language? Type323 { get; set; }
///
///
///
- public global::Vectara.LambdaToolVariant2Language? Type324 { get; set; }
+ public global::Vectara.SubAgentTool? Type324 { get; set; }
///
///
///
- public global::Vectara.SubAgentTool? Type325 { get; set; }
+ public global::Vectara.SubAgentToolVariant2? Type325 { get; set; }
///
///
///
- public global::Vectara.SubAgentToolVariant2? Type326 { get; set; }
+ public global::Vectara.ArtifactCreateTool? Type326 { get; set; }
///
///
///
- public global::Vectara.ArtifactCreateTool? Type327 { get; set; }
+ public global::Vectara.ArtifactCreateToolVariant2? Type327 { get; set; }
///
///
///
- public global::Vectara.ArtifactCreateToolVariant2? Type328 { get; set; }
+ public global::Vectara.ArtifactReadTool? Type328 { get; set; }
///
///
///
- public global::Vectara.ArtifactReadTool? Type329 { get; set; }
+ public global::Vectara.ArtifactReadToolVariant2? Type329 { get; set; }
///
///
///
- public global::Vectara.ArtifactReadToolVariant2? Type330 { get; set; }
+ public global::Vectara.ArtifactGrepTool? Type330 { get; set; }
///
///
///
- public global::Vectara.ArtifactGrepTool? Type331 { get; set; }
+ public global::Vectara.ArtifactGrepToolVariant2? Type331 { get; set; }
///
///
///
- public global::Vectara.ArtifactGrepToolVariant2? Type332 { get; set; }
+ public global::Vectara.ImageReadTool? Type332 { get; set; }
///
///
///
- public global::Vectara.ImageReadTool? Type333 { get; set; }
+ public global::Vectara.ImageReadToolVariant2? Type333 { get; set; }
///
///
///
- public global::Vectara.ImageReadToolVariant2? Type334 { get; set; }
+ public global::Vectara.DocumentConversionTool? Type334 { get; set; }
///
///
///
- public global::Vectara.DocumentConversionTool? Type335 { get; set; }
+ public global::Vectara.DocumentConversionToolVariant2? Type335 { get; set; }
///
///
///
- public global::Vectara.DocumentConversionToolVariant2? Type336 { get; set; }
+ public global::Vectara.GetDocumentTextTool? Type336 { get; set; }
///
///
///
- public global::Vectara.GetDocumentTextTool? Type337 { get; set; }
+ public global::Vectara.GetDocumentTextToolVariant2? Type337 { get; set; }
///
///
///
- public global::Vectara.GetDocumentTextToolVariant2? Type338 { get; set; }
+ public global::Vectara.Tool? Type338 { get; set; }
///
///
///
- public global::Vectara.Tool? Type339 { get; set; }
+ public global::Vectara.ToolDiscriminator? Type339 { get; set; }
///
///
///
- public global::Vectara.ToolDiscriminator? Type340 { get; set; }
+ public global::Vectara.ToolDiscriminatorType? Type340 { get; set; }
///
///
///
- public global::Vectara.ToolDiscriminatorType? Type341 { get; set; }
+ public global::Vectara.ListToolsResponse? Type341 { get; set; }
///
///
///
- public global::Vectara.ListToolsResponse? Type342 { get; set; }
+ public global::System.Collections.Generic.IList? Type342 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type343 { get; set; }
+ public global::Vectara.CreateLambdaToolRequest? Type343 { get; set; }
///
///
///
- public global::Vectara.CreateLambdaToolRequest? Type344 { get; set; }
+ public global::Vectara.CreateLambdaToolRequestLanguage? Type344 { get; set; }
///
///
///
- public global::Vectara.CreateLambdaToolRequestLanguage? Type345 { get; set; }
+ public global::Vectara.CreateToolRequest? Type345 { get; set; }
///
///
///
- public global::Vectara.CreateToolRequest? Type346 { get; set; }
+ public global::Vectara.CreateToolRequestDiscriminator? Type346 { get; set; }
///
///
///
- public global::Vectara.CreateToolRequestDiscriminator? Type347 { get; set; }
+ public global::Vectara.CreateToolRequestDiscriminatorType? Type347 { get; set; }
///
///
///
- public global::Vectara.CreateToolRequestDiscriminatorType? Type348 { get; set; }
+ public global::Vectara.TestLambdaToolRequest? Type348 { get; set; }
///
///
///
- public global::Vectara.TestLambdaToolRequest? Type349 { get; set; }
+ public global::Vectara.TestLambdaToolRequestLanguage? Type349 { get; set; }
///
///
///
- public global::Vectara.TestLambdaToolRequestLanguage? Type350 { get; set; }
+ public global::Vectara.TestLambdaToolResponse? Type350 { get; set; }
///
///
///
- public global::Vectara.TestLambdaToolResponse? Type351 { get; set; }
+ public global::Vectara.TestLambdaToolResponseValidation? Type351 { get; set; }
///
///
///
- public global::Vectara.TestLambdaToolResponseValidation? Type352 { get; set; }
+ public global::Vectara.TestLambdaToolResponseValidationStatus? Type352 { get; set; }
///
///
///
- public global::Vectara.TestLambdaToolResponseValidationStatus? Type353 { get; set; }
+ public global::Vectara.TestLambdaToolResponseExecution? Type353 { get; set; }
///
///
///
- public global::Vectara.TestLambdaToolResponseExecution? Type354 { get; set; }
+ public global::Vectara.TestLambdaToolResponseExecutionError? Type354 { get; set; }
///
///
///
- public global::Vectara.TestLambdaToolResponseExecutionError? Type355 { get; set; }
+ public global::Vectara.TestLambdaToolResponseExecutionValidationResults? Type355 { get; set; }
///
///
///
- public global::Vectara.TestLambdaToolResponseExecutionValidationResults? Type356 { get; set; }
+ public global::Vectara.UpdateMcpToolRequest? Type356 { get; set; }
///
///
///
- public global::Vectara.UpdateMcpToolRequest? Type357 { get; set; }
+ public global::Vectara.UpdateLambdaToolRequest? Type357 { get; set; }
///
///
///
- public global::Vectara.UpdateLambdaToolRequest? Type358 { get; set; }
+ public global::Vectara.UpdateToolRequest? Type358 { get; set; }
///
///
///
- public global::Vectara.UpdateToolRequest? Type359 { get; set; }
+ public global::Vectara.UpdateToolRequestDiscriminator? Type359 { get; set; }
///
///
///
- public global::Vectara.UpdateToolRequestDiscriminator? Type360 { get; set; }
+ public global::Vectara.UpdateToolRequestDiscriminatorType? Type360 { get; set; }
///
///
///
- public global::Vectara.UpdateToolRequestDiscriminatorType? Type361 { get; set; }
+ public global::Vectara.TestToolRequest? Type361 { get; set; }
///
///
///
- public global::Vectara.TestToolRequest? Type362 { get; set; }
+ public global::Vectara.TestToolSuccessResponse? Type362 { get; set; }
///
///
///
- public global::Vectara.TestToolSuccessResponse? Type363 { get; set; }
+ public global::Vectara.TestToolSuccessResponseValidationResults? Type363 { get; set; }
///
///
///
- public global::Vectara.TestToolSuccessResponseValidationResults? Type364 { get; set; }
+ public global::Vectara.TestToolErrorResponse? Type364 { get; set; }
///
///
///
- public global::Vectara.TestToolErrorResponse? Type365 { get; set; }
+ public global::Vectara.TestToolErrorResponseError? Type365 { get; set; }
///
///
///
- public global::Vectara.TestToolErrorResponseError? Type366 { get; set; }
+ public global::Vectara.TestToolResponse? Type366 { get; set; }
///
///
///
- public global::Vectara.TestToolResponse? Type367 { get; set; }
+ public global::Vectara.TestToolResponseDiscriminator? Type367 { get; set; }
///
///
///
- public global::Vectara.TestToolResponseDiscriminator? Type368 { get; set; }
+ public global::Vectara.TestToolResponseDiscriminatorType? Type368 { get; set; }
///
///
///
- public global::Vectara.TestToolResponseDiscriminatorType? Type369 { get; set; }
+ public global::Vectara.TemplateType? Type369 { get; set; }
///
///
///
- public global::Vectara.TemplateType? Type370 { get; set; }
+ public global::Vectara.InitialInstruction? Type370 { get; set; }
///
///
///
- public global::Vectara.InitialInstruction? Type371 { get; set; }
+ public global::Vectara.Instruction? Type371 { get; set; }
///
///
///
- public global::Vectara.Instruction? Type372 { get; set; }
+ public global::Vectara.InstructionDiscriminator? Type372 { get; set; }
///
///
///
- public global::Vectara.InstructionDiscriminator? Type373 { get; set; }
+ public global::Vectara.InstructionDiscriminatorType? Type373 { get; set; }
///
///
///
- public global::Vectara.InstructionDiscriminatorType? Type374 { get; set; }
+ public global::Vectara.ListInstructionsResponse? Type374 { get; set; }
///
///
///
- public global::Vectara.ListInstructionsResponse? Type375 { get; set; }
+ public global::System.Collections.Generic.IList? Type375 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type376 { get; set; }
+ public global::Vectara.InstructionRequestBase? Type376 { get; set; }
///
///
///
- public global::Vectara.InstructionRequestBase? Type377 { get; set; }
+ public global::Vectara.CreateInitialInstructionRequest? Type377 { get; set; }
///
///
///
- public global::Vectara.CreateInitialInstructionRequest? Type378 { get; set; }
+ public global::Vectara.CreateInitialInstructionRequestVariant2? Type378 { get; set; }
///
///
///
- public global::Vectara.CreateInitialInstructionRequestVariant2? Type379 { get; set; }
+ public global::Vectara.CreateInstructionRequest? Type379 { get; set; }
///
///
///
- public global::Vectara.CreateInstructionRequest? Type380 { get; set; }
+ public global::Vectara.CreateInstructionRequestDiscriminator? Type380 { get; set; }
///
///
///
- public global::Vectara.CreateInstructionRequestDiscriminator? Type381 { get; set; }
+ public global::Vectara.CreateInstructionRequestDiscriminatorType? Type381 { get; set; }
///
///
///
- public global::Vectara.CreateInstructionRequestDiscriminatorType? Type382 { get; set; }
+ public global::Vectara.UpdateInitialInstructionRequest? Type382 { get; set; }
///
///
///
- public global::Vectara.UpdateInitialInstructionRequest? Type383 { get; set; }
+ public global::Vectara.UpdateInstructionRequest? Type383 { get; set; }
///
///
///
- public global::Vectara.UpdateInstructionRequest? Type384 { get; set; }
+ public global::Vectara.UpdateInstructionRequestDiscriminator? Type384 { get; set; }
///
///
///
- public global::Vectara.UpdateInstructionRequestDiscriminator? Type385 { get; set; }
+ public global::Vectara.UpdateInstructionRequestDiscriminatorType? Type385 { get; set; }
///
///
///
- public global::Vectara.UpdateInstructionRequestDiscriminatorType? Type386 { get; set; }
+ public global::Vectara.TestInstructionRequest? Type386 { get; set; }
///
///
///
- public global::Vectara.TestInstructionRequest? Type387 { get; set; }
+ public global::Vectara.TestInstructionResponse? Type387 { get; set; }
///
///
///
- public global::Vectara.TestInstructionResponse? Type388 { get; set; }
+ public global::Vectara.AgentToolConfigurationBase? Type388 { get; set; }
///
///
///
- public global::Vectara.AgentToolConfigurationBase? Type389 { get; set; }
+ public global::Vectara.InlineDynamicVectaraToolConfiguration? Type389 { get; set; }
///
///
///
- public global::Vectara.InlineDynamicVectaraToolConfiguration? Type390 { get; set; }
+ public global::Vectara.InlineDynamicVectaraToolConfigurationVariant2? Type390 { get; set; }
///
///
///
- public global::Vectara.InlineDynamicVectaraToolConfigurationVariant2? Type391 { get; set; }
+ public global::Vectara.InlineMcpToolConfiguration? Type391 { get; set; }
///
///
///
- public global::Vectara.InlineMcpToolConfiguration? Type392 { get; set; }
+ public global::Vectara.InlineMcpToolConfigurationVariant2? Type392 { get; set; }
///
///
///
- public global::Vectara.InlineMcpToolConfigurationVariant2? Type393 { get; set; }
+ public global::Vectara.CorporaSearchToolParameters? Type393 { get; set; }
///
///
///
- public global::Vectara.CorporaSearchToolParameters? Type394 { get; set; }
+ public global::Vectara.EagerReference? Type394 { get; set; }
///
///
///
- public global::Vectara.EagerReference? Type395 { get; set; }
+ public global::Vectara.AgentKeyedSearchCorpus? Type395 { get; set; }
///
///
///
- public global::Vectara.AgentKeyedSearchCorpus? Type396 { get; set; }
+ public global::Vectara.OneOf? Type396 { get; set; }
///
///
///
- public global::Vectara.OneOf? Type397 { get; set; }
+ public global::Vectara.AgentSearchCorporaParameters? Type397 { get; set; }
///
///
///
- public global::Vectara.AgentSearchCorporaParameters? Type398 { get; set; }
+ public global::System.Collections.Generic.IList? Type398 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type399 { get; set; }
+ public global::Vectara.AgentCorporaSearchQueryConfiguration? Type399 { get; set; }
///
///
///
- public global::Vectara.AgentCorporaSearchQueryConfiguration? Type400 { get; set; }
+ public global::Vectara.InlineCorporaSearchToolConfiguration? Type400 { get; set; }
///
///
///
- public global::Vectara.InlineCorporaSearchToolConfiguration? Type401 { get; set; }
+ public global::Vectara.InlineCorporaSearchToolConfigurationVariant2? Type401 { get; set; }
///
///
///
- public global::Vectara.InlineCorporaSearchToolConfigurationVariant2? Type402 { get; set; }
+ public global::Vectara.WebSearchToolParameters? Type402 { get; set; }
///
///
///
- public global::Vectara.WebSearchToolParameters? Type403 { get; set; }
+ public global::Vectara.WebSearchToolParametersProvider? Type403 { get; set; }
///
///
///
- public global::Vectara.WebSearchToolParametersProvider? Type404 { get; set; }
+ public global::Vectara.InlineWebSearchToolConfiguration? Type404 { get; set; }
///
///
///
- public global::Vectara.InlineWebSearchToolConfiguration? Type405 { get; set; }
+ public global::Vectara.InlineWebSearchToolConfigurationVariant2? Type405 { get; set; }
///
///
///
- public global::Vectara.InlineWebSearchToolConfigurationVariant2? Type406 { get; set; }
+ public global::Vectara.WebGetToolParameters? Type406 { get; set; }
///
///
///
- public global::Vectara.WebGetToolParameters? Type407 { get; set; }
+ public global::Vectara.WebGetToolParametersMethod? Type407 { get; set; }
///
///
///
- public global::Vectara.WebGetToolParametersMethod? Type408 { get; set; }
+ public global::Vectara.OneOf, global::Vectara.EagerReference>? Type408 { get; set; }
///
///
///
- public global::Vectara.OneOf, global::Vectara.EagerReference>? Type409 { get; set; }
+ public global::Vectara.OneOf? Type409 { get; set; }
///
///
///
- public global::Vectara.OneOf? Type410 { get; set; }
+ public global::Vectara.OneOf? Type410 { get; set; }
///
///
///
- public global::Vectara.OneOf? Type411 { get; set; }
+ public global::Vectara.OneOf? Type411 { get; set; }
///
///
///
- public global::Vectara.OneOf? Type412 { get; set; }
+ public global::Vectara.InlineWebGetToolConfiguration? Type412 { get; set; }
///
///
///
- public global::Vectara.InlineWebGetToolConfiguration? Type413 { get; set; }
+ public global::Vectara.InlineWebGetToolConfigurationVariant2? Type413 { get; set; }
///
///
///
- public global::Vectara.InlineWebGetToolConfigurationVariant2? Type414 { get; set; }
+ public global::Vectara.InlineLambdaToolConfiguration? Type414 { get; set; }
///
///
///
- public global::Vectara.InlineLambdaToolConfiguration? Type415 { get; set; }
+ public global::Vectara.InlineLambdaToolConfigurationVariant2? Type415 { get; set; }
///
///
///
- public global::Vectara.InlineLambdaToolConfigurationVariant2? Type416 { get; set; }
+ public global::Vectara.SubAgentToolParameters? Type416 { get; set; }
///
///
///
- public global::Vectara.SubAgentToolParameters? Type417 { get; set; }
+ public global::Vectara.SubAgentSessionMode? Type417 { get; set; }
///
///
///
- public global::Vectara.SubAgentSessionMode? Type418 { get; set; }
+ public global::Vectara.SubAgentConfiguration? Type418 { get; set; }
///
///
///
- public global::Vectara.SubAgentConfiguration? Type419 { get; set; }
+ public global::Vectara.InlineSubAgentToolConfiguration? Type419 { get; set; }
///
///
///
- public global::Vectara.InlineSubAgentToolConfiguration? Type420 { get; set; }
+ public global::Vectara.InlineSubAgentToolConfigurationVariant2? Type420 { get; set; }
///
///
///
- public global::Vectara.InlineSubAgentToolConfigurationVariant2? Type421 { get; set; }
+ public global::Vectara.InlineArtifactCreateToolConfiguration? Type421 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactCreateToolConfiguration? Type422 { get; set; }
+ public global::Vectara.InlineArtifactCreateToolConfigurationVariant2? Type422 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactCreateToolConfigurationVariant2? Type423 { get; set; }
+ public global::Vectara.ArtifactReadToolParameters? Type423 { get; set; }
///
///
///
- public global::Vectara.ArtifactReadToolParameters? Type424 { get; set; }
+ public global::Vectara.ArtifactReadToolParametersEncoding? Type424 { get; set; }
///
///
///
- public global::Vectara.ArtifactReadToolParametersEncoding? Type425 { get; set; }
+ public global::Vectara.ArtifactReadConfiguration? Type425 { get; set; }
///
///
///
- public global::Vectara.ArtifactReadConfiguration? Type426 { get; set; }
+ public global::Vectara.InlineArtifactReadToolConfiguration? Type426 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactReadToolConfiguration? Type427 { get; set; }
+ public global::Vectara.InlineArtifactReadToolConfigurationVariant2? Type427 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactReadToolConfigurationVariant2? Type428 { get; set; }
+ public global::Vectara.ArtifactGrepToolParameters? Type428 { get; set; }
///
///
///
- public global::Vectara.ArtifactGrepToolParameters? Type429 { get; set; }
+ public global::Vectara.InlineArtifactGrepToolConfiguration? Type429 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactGrepToolConfiguration? Type430 { get; set; }
+ public global::Vectara.InlineArtifactGrepToolConfigurationVariant2? Type430 { get; set; }
///
///
///
- public global::Vectara.InlineArtifactGrepToolConfigurationVariant2? Type431 { get; set; }
+ public global::Vectara.ImageReadToolParameters? Type431 { get; set; }
///
///
///
- public global::Vectara.ImageReadToolParameters? Type432 { get; set; }
+ public global::Vectara.ImageReadToolParametersDetail? Type432 { get; set; }
///
///
///
- public global::Vectara.ImageReadToolParametersDetail? Type433 { get; set; }
+ public global::Vectara.InlineImageReadToolConfiguration? Type433 { get; set; }
///
///
///
- public global::Vectara.InlineImageReadToolConfiguration? Type434 { get; set; }
+ public global::Vectara.InlineImageReadToolConfigurationVariant2? Type434 { get; set; }
///
///
///
- public global::Vectara.InlineImageReadToolConfigurationVariant2? Type435 { get; set; }
+ public global::Vectara.DocumentConversionToolParameters? Type435 { get; set; }
///
///
///
- public global::Vectara.DocumentConversionToolParameters? Type436 { get; set; }
+ public global::Vectara.DocumentConversionToolParametersOutputFormat? Type436 { get; set; }
///
///
///
- public global::Vectara.DocumentConversionToolParametersOutputFormat? Type437 { get; set; }
+ public global::Vectara.InlineDocumentConversionToolConfiguration? Type437 { get; set; }
///
///
///
- public global::Vectara.InlineDocumentConversionToolConfiguration? Type438 { get; set; }
+ public global::Vectara.InlineDocumentConversionToolConfigurationVariant2? Type438 { get; set; }
///
///
///
- public global::Vectara.InlineDocumentConversionToolConfigurationVariant2? Type439 { get; set; }
+ public global::Vectara.GetDocumentTextParameters? Type439 { get; set; }
///
///
///
- public global::Vectara.GetDocumentTextParameters? Type440 { get; set; }
+ public global::Vectara.GetDocumentTextConfiguration? Type440 { get; set; }
///
///
///
- public global::Vectara.GetDocumentTextConfiguration? Type441 { get; set; }
+ public global::Vectara.GetDocumentTextConfigurationMetadata? Type441 { get; set; }
///
///
///
- public global::Vectara.GetDocumentTextConfigurationMetadata? Type442 { get; set; }
+ public global::Vectara.InlineGetDocumentTextToolConfiguration? Type442 { get; set; }
///
///
///
- public global::Vectara.InlineGetDocumentTextToolConfiguration? Type443 { get; set; }
+ public global::Vectara.InlineGetDocumentTextToolConfigurationVariant2? Type443 { get; set; }
///
///
///
- public global::Vectara.InlineGetDocumentTextToolConfigurationVariant2? Type444 { get; set; }
+ public global::Vectara.AgentToolConfiguration? Type444 { get; set; }
///
///
///
- public global::Vectara.AgentToolConfiguration? Type445 { get; set; }
+ public global::Vectara.AgentToolConfigurationDiscriminator? Type445 { get; set; }
///
///
///
- public global::Vectara.AgentToolConfigurationDiscriminator? Type446 { get; set; }
+ public global::Vectara.AgentToolConfigurationDiscriminatorType? Type446 { get; set; }
///
///
///
- public global::Vectara.AgentToolConfigurationDiscriminatorType? Type447 { get; set; }
+ public global::Vectara.AgentSkill? Type447 { get; set; }
///
///
///
- public global::Vectara.AgentSkill? Type448 { get; set; }
+ public global::Vectara.RetryConfiguration? Type448 { get; set; }
///
///
///
- public global::Vectara.RetryConfiguration? Type449 { get; set; }
+ public global::Vectara.AgentModel? Type449 { get; set; }
///
///
///
- public global::Vectara.AgentModel? Type450 { get; set; }
+ public global::Vectara.InstructionReference? Type450 { get; set; }
///
///
///
- public global::Vectara.InstructionReference? Type451 { get; set; }
+ public global::Vectara.ReferenceInstruction? Type451 { get; set; }
///
///
///
- public global::Vectara.ReferenceInstruction? Type452 { get; set; }
+ public global::Vectara.ReferenceInstructionVariant2? Type452 { get; set; }
///
///
///
- public global::Vectara.ReferenceInstructionVariant2? Type453 { get; set; }
+ public global::Vectara.InlineInstruction? Type453 { get; set; }
///
///
///
- public global::Vectara.InlineInstruction? Type454 { get; set; }
+ public global::Vectara.InlineInstructionVariant2? Type454 { get; set; }
///
///
///
- public global::Vectara.InlineInstructionVariant2? Type455 { get; set; }
+ public global::Vectara.AgentStepInstruction? Type455 { get; set; }
///
///
///
- public global::Vectara.AgentStepInstruction? Type456 { get; set; }
+ public global::Vectara.AgentStepInstructionDiscriminator? Type456 { get; set; }
///
///
///
- public global::Vectara.AgentStepInstructionDiscriminator? Type457 { get; set; }
+ public global::Vectara.AgentStepInstructionDiscriminatorType? Type457 { get; set; }
///
///
///
- public global::Vectara.AgentStepInstructionDiscriminatorType? Type458 { get; set; }
+ public global::Vectara.DefaultOutputParser? Type458 { get; set; }
///
///
///
- public global::Vectara.DefaultOutputParser? Type459 { get; set; }
+ public global::Vectara.StructuredOutputParser? Type459 { get; set; }
///
///
///
- public global::Vectara.StructuredOutputParser? Type460 { get; set; }
+ public global::Vectara.AgentOutputParser? Type460 { get; set; }
///
///
///
- public global::Vectara.AgentOutputParser? Type461 { get; set; }
+ public global::Vectara.AgentOutputParserDiscriminator? Type461 { get; set; }
///
///
///
- public global::Vectara.AgentOutputParserDiscriminator? Type462 { get; set; }
+ public global::Vectara.AgentOutputParserDiscriminatorType? Type462 { get; set; }
///
///
///
- public global::Vectara.AgentOutputParserDiscriminatorType? Type463 { get; set; }
+ public global::Vectara.TemplatedReminder? Type463 { get; set; }
///
///
///
- public global::Vectara.TemplatedReminder? Type464 { get; set; }
+ public global::System.Collections.Generic.IList? Type464 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type465 { get; set; }
+ public global::Vectara.TemplatedReminderHook? Type465 { get; set; }
///
///
///
- public global::Vectara.TemplatedReminderHook? Type466 { get; set; }
+ public global::Vectara.GlossaryExpansionReminder? Type466 { get; set; }
///
///
///
- public global::Vectara.GlossaryExpansionReminder? Type467 { get; set; }
+ public global::Vectara.AgentStepReminder? Type467 { get; set; }
///
///
///
- public global::Vectara.AgentStepReminder? Type468 { get; set; }
+ public global::Vectara.AgentStepReminderDiscriminator? Type468 { get; set; }
///
///
///
- public global::Vectara.AgentStepReminderDiscriminator? Type469 { get; set; }
+ public global::Vectara.AgentStepReminderDiscriminatorType? Type469 { get; set; }
///
///
///
- public global::Vectara.AgentStepReminderDiscriminatorType? Type470 { get; set; }
+ public global::Vectara.NextStep? Type470 { get; set; }
///
///
///
- public global::Vectara.NextStep? Type471 { get; set; }
+ public global::Vectara.FirstAgentStep? Type471 { get; set; }
///
///
///
- public global::Vectara.FirstAgentStep? Type472 { get; set; }
+ public global::System.Collections.Generic.IList? Type472 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type473 { get; set; }
+ public global::System.Collections.Generic.IList? Type473 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type474 { get; set; }
+ public global::System.Collections.Generic.IList? Type474 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type475 { get; set; }
+ public global::Vectara.AgentStep? Type475 { get; set; }
///
///
///
- public global::Vectara.AgentStep? Type476 { get; set; }
+ public global::Vectara.CompactionConfig? Type476 { get; set; }
///
///
///
- public global::Vectara.CompactionConfig? Type477 { get; set; }
+ public global::Vectara.CompactionConfigToolEventPolicy? Type477 { get; set; }
///
///
///
- public global::Vectara.CompactionConfigToolEventPolicy? Type478 { get; set; }
+ public global::Vectara.ToolOutputOffloadingConfiguration? Type478 { get; set; }
///
///
///
- public global::Vectara.ToolOutputOffloadingConfiguration? Type479 { get; set; }
+ public global::Vectara.ToolOutputOffloadingConfigurationMode? Type479 { get; set; }
///
///
///
- public global::Vectara.ToolOutputOffloadingConfigurationMode? Type480 { get; set; }
+ public global::Vectara.Agent? Type480 { get; set; }
///
///
///
- public global::Vectara.Agent? Type481 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type481 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type482 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type482 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type483 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type483 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type484 { get; set; }
+ public global::Vectara.ListAgentsResponse? Type484 { get; set; }
///
///
///
- public global::Vectara.ListAgentsResponse? Type485 { get; set; }
+ public global::System.Collections.Generic.IList? Type485 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type486 { get; set; }
+ public global::Vectara.CreateAgentRequest? Type486 { get; set; }
///
///
///
- public global::Vectara.CreateAgentRequest? Type487 { get; set; }
+ public global::Vectara.UpdateFirstAgentStep? Type487 { get; set; }
///
///
///
- public global::Vectara.UpdateFirstAgentStep? Type488 { get; set; }
+ public global::Vectara.UpdateAgentStep? Type488 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentStep? Type489 { get; set; }
+ public global::Vectara.UpdateAgentRequest? Type489 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentRequest? Type490 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type490 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type491 { get; set; }
+ public global::Vectara.InputTokens? Type491 { get; set; }
///
///
///
- public global::Vectara.InputTokens? Type492 { get; set; }
+ public global::Vectara.OutputTokens? Type492 { get; set; }
///
///
///
- public global::Vectara.OutputTokens? Type493 { get; set; }
+ public global::Vectara.SessionContextUsage? Type493 { get; set; }
///
///
///
- public global::Vectara.SessionContextUsage? Type494 { get; set; }
+ public global::Vectara.AgentSession? Type494 { get; set; }
///
///
///
- public global::Vectara.AgentSession? Type495 { get; set; }
+ public global::Vectara.ListAgentSessionsResponse? Type495 { get; set; }
///
///
///
- public global::Vectara.ListAgentSessionsResponse? Type496 { get; set; }
+ public global::System.Collections.Generic.IList? Type496 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type497 { get; set; }
+ public global::Vectara.CreateAgentSessionRequest? Type497 { get; set; }
///
///
///
- public global::Vectara.CreateAgentSessionRequest? Type498 { get; set; }
+ public global::Vectara.CreateAgentSessionRequestFromSession? Type498 { get; set; }
///
///
///
- public global::Vectara.CreateAgentSessionRequestFromSession? Type499 { get; set; }
+ public global::Vectara.UpdateAgentSessionRequest? Type499 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentSessionRequest? Type500 { get; set; }
+ public global::Vectara.AgentEventBase? Type500 { get; set; }
///
///
///
- public global::Vectara.AgentEventBase? Type501 { get; set; }
+ public global::Vectara.AgentTextInput? Type501 { get; set; }
///
///
///
- public global::Vectara.AgentTextInput? Type502 { get; set; }
+ public global::Vectara.AgentSkillInput? Type502 { get; set; }
///
///
///
- public global::Vectara.AgentSkillInput? Type503 { get; set; }
+ public global::Vectara.AgentInput? Type503 { get; set; }
///
///
///
- public global::Vectara.AgentInput? Type504 { get; set; }
+ public global::Vectara.AgentInputDiscriminator? Type504 { get; set; }
///
///
///
- public global::Vectara.AgentInputDiscriminator? Type505 { get; set; }
+ public global::Vectara.AgentInputDiscriminatorType? Type505 { get; set; }
///
///
///
- public global::Vectara.AgentInputDiscriminatorType? Type506 { get; set; }
+ public global::Vectara.InputMessageEvent? Type506 { get; set; }
///
///
///
- public global::Vectara.InputMessageEvent? Type507 { get; set; }
+ public global::Vectara.InputMessageEventVariant2? Type507 { get; set; }
///
///
///
- public global::Vectara.InputMessageEventVariant2? Type508 { get; set; }
+ public global::System.Collections.Generic.IList? Type508 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type509 { get; set; }
+ public global::Vectara.SkillLoadEvent? Type509 { get; set; }
///
///
///
- public global::Vectara.SkillLoadEvent? Type510 { get; set; }
+ public global::Vectara.SkillLoadEventVariant2? Type510 { get; set; }
///
///
///
- public global::Vectara.SkillLoadEventVariant2? Type511 { get; set; }
+ public global::Vectara.ArtifactReference? Type511 { get; set; }
///
///
///
- public global::Vectara.ArtifactReference? Type512 { get; set; }
+ public global::Vectara.ArtifactUploadEvent? Type512 { get; set; }
///
///
///
- public global::Vectara.ArtifactUploadEvent? Type513 { get; set; }
+ public global::Vectara.ArtifactUploadEventVariant2? Type513 { get; set; }
///
///
///
- public global::Vectara.ArtifactUploadEventVariant2? Type514 { get; set; }
+ public global::System.Collections.Generic.IList? Type514 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type515 { get; set; }
+ public global::Vectara.ToolInputEvent? Type515 { get; set; }
///
///
///
- public global::Vectara.ToolInputEvent? Type516 { get; set; }
+ public global::Vectara.ToolInputEventVariant2? Type516 { get; set; }
///
///
///
- public global::Vectara.ToolInputEventVariant2? Type517 { get; set; }
+ public global::Vectara.ToolOutputEvent? Type517 { get; set; }
///
///
///
- public global::Vectara.ToolOutputEvent? Type518 { get; set; }
+ public global::Vectara.ToolOutputEventVariant2? Type518 { get; set; }
///
///
///
- public global::Vectara.ToolOutputEventVariant2? Type519 { get; set; }
+ public global::Vectara.ThinkingEvent? Type519 { get; set; }
///
///
///
- public global::Vectara.ThinkingEvent? Type520 { get; set; }
+ public global::Vectara.ThinkingEventVariant2? Type520 { get; set; }
///
///
///
- public global::Vectara.ThinkingEventVariant2? Type521 { get; set; }
+ public global::Vectara.AgentOutputEvent? Type521 { get; set; }
///
///
///
- public global::Vectara.AgentOutputEvent? Type522 { get; set; }
+ public global::Vectara.AgentOutputEventVariant2? Type522 { get; set; }
///
///
///
- public global::Vectara.AgentOutputEventVariant2? Type523 { get; set; }
+ public global::Vectara.StructuredOutputEvent? Type523 { get; set; }
///
///
///
- public global::Vectara.StructuredOutputEvent? Type524 { get; set; }
+ public global::Vectara.StructuredOutputEventVariant2? Type524 { get; set; }
///
///
///
- public global::Vectara.StructuredOutputEventVariant2? Type525 { get; set; }
+ public global::Vectara.ContextLimitExceededEvent? Type525 { get; set; }
///
///
///
- public global::Vectara.ContextLimitExceededEvent? Type526 { get; set; }
+ public global::Vectara.ContextLimitExceededEventVariant2? Type526 { get; set; }
///
///
///
- public global::Vectara.ContextLimitExceededEventVariant2? Type527 { get; set; }
+ public global::Vectara.StepTransitionLimitExceededEvent? Type527 { get; set; }
///
///
///
- public global::Vectara.StepTransitionLimitExceededEvent? Type528 { get; set; }
+ public global::Vectara.StepTransitionLimitExceededEventVariant2? Type528 { get; set; }
///
///
///
- public global::Vectara.StepTransitionLimitExceededEventVariant2? Type529 { get; set; }
+ public global::Vectara.SessionInterruptedEvent? Type529 { get; set; }
///
///
///
- public global::Vectara.SessionInterruptedEvent? Type530 { get; set; }
+ public global::Vectara.SessionInterruptedEventVariant2? Type530 { get; set; }
///
///
///
- public global::Vectara.SessionInterruptedEventVariant2? Type531 { get; set; }
+ public global::Vectara.ImageReadEvent? Type531 { get; set; }
///
///
///
- public global::Vectara.ImageReadEvent? Type532 { get; set; }
+ public global::Vectara.ImageReadEventVariant2? Type532 { get; set; }
///
///
///
- public global::Vectara.ImageReadEventVariant2? Type533 { get; set; }
+ public global::Vectara.ImageReadEventVariant2Detail? Type533 { get; set; }
///
///
///
- public global::Vectara.ImageReadEventVariant2Detail? Type534 { get; set; }
+ public global::Vectara.StepTransitionEvent? Type534 { get; set; }
///
///
///
- public global::Vectara.StepTransitionEvent? Type535 { get; set; }
+ public global::Vectara.StepTransitionEventVariant2? Type535 { get; set; }
///
///
///
- public global::Vectara.StepTransitionEventVariant2? Type536 { get; set; }
+ public global::Vectara.CompactionEvent? Type536 { get; set; }
///
///
///
- public global::Vectara.CompactionEvent? Type537 { get; set; }
+ public global::Vectara.CompactionEventVariant2? Type537 { get; set; }
///
///
///
- public global::Vectara.CompactionEventVariant2? Type538 { get; set; }
+ public global::Vectara.AgentEvent? Type538 { get; set; }
///
///
///
- public global::Vectara.AgentEvent? Type539 { get; set; }
+ public global::Vectara.AgentEventDiscriminator? Type539 { get; set; }
///
///
///
- public global::Vectara.AgentEventDiscriminator? Type540 { get; set; }
+ public global::Vectara.AgentEventDiscriminatorType? Type540 { get; set; }
///
///
///
- public global::Vectara.AgentEventDiscriminatorType? Type541 { get; set; }
+ public global::Vectara.ListAgentEventsResponse? Type541 { get; set; }
///
///
///
- public global::Vectara.ListAgentEventsResponse? Type542 { get; set; }
+ public global::System.Collections.Generic.IList? Type542 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type543 { get; set; }
+ public global::Vectara.CreateInputRequestBase? Type543 { get; set; }
///
///
///
- public global::Vectara.CreateInputRequestBase? Type544 { get; set; }
+ public global::Vectara.InputBehavior? Type544 { get; set; }
///
///
///
- public global::Vectara.InputBehavior? Type545 { get; set; }
+ public global::Vectara.CreateInputMessageRequest? Type545 { get; set; }
///
///
///
- public global::Vectara.CreateInputMessageRequest? Type546 { get; set; }
+ public global::Vectara.CreateInputMessageRequestVariant2? Type546 { get; set; }
///
///
///
- public global::Vectara.CreateInputMessageRequestVariant2? Type547 { get; set; }
+ public global::Vectara.CreateInterruptRequest? Type547 { get; set; }
///
///
///
- public global::Vectara.CreateInterruptRequest? Type548 { get; set; }
+ public global::Vectara.CreateInterruptRequestVariant2? Type548 { get; set; }
///
///
///
- public global::Vectara.CreateInterruptRequestVariant2? Type549 { get; set; }
+ public global::Vectara.CreateCompactRequest? Type549 { get; set; }
///
///
///
- public global::Vectara.CreateCompactRequest? Type550 { get; set; }
+ public global::Vectara.CreateCompactRequestVariant2? Type550 { get; set; }
///
///
///
- public global::Vectara.CreateCompactRequestVariant2? Type551 { get; set; }
+ public global::Vectara.CreateInputRequest? Type551 { get; set; }
///
///
///
- public global::Vectara.CreateInputRequest? Type552 { get; set; }
+ public global::Vectara.CreateInputRequestDiscriminator? Type552 { get; set; }
///
///
///
- public global::Vectara.CreateInputRequestDiscriminator? Type553 { get; set; }
+ public global::Vectara.CreateInputRequestDiscriminatorType? Type553 { get; set; }
///
///
///
- public global::Vectara.CreateInputRequestDiscriminatorType? Type554 { get; set; }
+ public global::Vectara.AgentResponse? Type554 { get; set; }
///
///
///
- public global::Vectara.AgentResponse? Type555 { get; set; }
+ public global::Vectara.StreamingAgentOutput? Type555 { get; set; }
///
///
///
- public global::Vectara.StreamingAgentOutput? Type556 { get; set; }
+ public global::Vectara.StreamingAgentOutputEnd? Type556 { get; set; }
///
///
///
- public global::Vectara.StreamingAgentOutputEnd? Type557 { get; set; }
+ public global::Vectara.StreamingThinking? Type557 { get; set; }
///
///
///
- public global::Vectara.StreamingThinking? Type558 { get; set; }
+ public global::Vectara.StreamingThinkingEnd? Type558 { get; set; }
///
///
///
- public global::Vectara.StreamingThinkingEnd? Type559 { get; set; }
+ public global::Vectara.ContextConsumedEvent? Type559 { get; set; }
///
///
///
- public global::Vectara.ContextConsumedEvent? Type560 { get; set; }
+ public global::Vectara.CompactionStartedEvent? Type560 { get; set; }
///
///
///
- public global::Vectara.CompactionStartedEvent? Type561 { get; set; }
+ public global::Vectara.CompactionStartedEventVariant2? Type561 { get; set; }
///
///
///
- public global::Vectara.CompactionStartedEventVariant2? Type562 { get; set; }
+ public global::Vectara.AgentStreamedResponse? Type562 { get; set; }
///
///
///
- public global::Vectara.AgentStreamedResponse? Type563 { get; set; }
+ public global::Vectara.AgentStreamedResponseDiscriminator? Type563 { get; set; }
///
///
///
- public global::Vectara.AgentStreamedResponseDiscriminator? Type564 { get; set; }
+ public global::Vectara.AgentStreamedResponseDiscriminatorType? Type564 { get; set; }
///
///
///
- public global::Vectara.AgentStreamedResponseDiscriminatorType? Type565 { get; set; }
+ public global::Vectara.SessionArtifact? Type565 { get; set; }
///
///
///
- public global::Vectara.SessionArtifact? Type566 { get; set; }
+ public global::Vectara.ListSessionArtifactsResponse? Type566 { get; set; }
///
///
///
- public global::Vectara.ListSessionArtifactsResponse? Type567 { get; set; }
+ public global::System.Collections.Generic.IList? Type567 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type568 { get; set; }
+ public global::Vectara.IntervalScheduleConfiguration? Type568 { get; set; }
///
///
///
- public global::Vectara.IntervalScheduleConfiguration? Type569 { get; set; }
+ public global::Vectara.IntervalScheduleConfigurationType? Type569 { get; set; }
///
///
///
- public global::Vectara.IntervalScheduleConfigurationType? Type570 { get; set; }
+ public global::Vectara.CronScheduleConfiguration? Type570 { get; set; }
///
///
///
- public global::Vectara.CronScheduleConfiguration? Type571 { get; set; }
+ public global::Vectara.CronScheduleConfigurationType? Type571 { get; set; }
///
///
///
- public global::Vectara.CronScheduleConfigurationType? Type572 { get; set; }
+ public global::Vectara.ScheduleConfiguration? Type572 { get; set; }
///
///
///
- public global::Vectara.ScheduleConfiguration? Type573 { get; set; }
+ public global::Vectara.AgentSchedule? Type573 { get; set; }
///
///
///
- public global::Vectara.AgentSchedule? Type574 { get; set; }
+ public global::Vectara.ListAgentSchedulesResponse? Type574 { get; set; }
///
///
///
- public global::Vectara.ListAgentSchedulesResponse? Type575 { get; set; }
+ public global::System.Collections.Generic.IList? Type575 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type576 { get; set; }
+ public global::Vectara.CreateAgentScheduleRequest? Type576 { get; set; }
///
///
///
- public global::Vectara.CreateAgentScheduleRequest? Type577 { get; set; }
+ public global::Vectara.UpdateAgentScheduleRequest? Type577 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentScheduleRequest? Type578 { get; set; }
+ public global::Vectara.AgentScheduleExecution? Type578 { get; set; }
///
///
///
- public global::Vectara.AgentScheduleExecution? Type579 { get; set; }
+ public global::Vectara.AgentScheduleExecutionStatus? Type579 { get; set; }
///
///
///
- public global::Vectara.AgentScheduleExecutionStatus? Type580 { get; set; }
+ public global::Vectara.ListAgentScheduleExecutionsResponse? Type580 { get; set; }
///
///
///
- public global::Vectara.ListAgentScheduleExecutionsResponse? Type581 { get; set; }
+ public global::System.Collections.Generic.IList? Type581 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type582 { get; set; }
+ public global::Vectara.AgentIdentityMode? Type582 { get; set; }
///
///
///
- public global::Vectara.AgentIdentityMode? Type583 { get; set; }
+ public global::Vectara.AgentIdentity? Type583 { get; set; }
///
///
///
- public global::Vectara.AgentIdentity? Type584 { get; set; }
+ public global::Vectara.UpdateAgentIdentityRequest? Type584 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentIdentityRequest? Type585 { get; set; }
+ public global::Vectara.AgentSecrets? Type585 { get; set; }
///
///
///
- public global::Vectara.SlackConnectorConfiguration? Type586 { get; set; }
+ public global::Vectara.ReplaceAgentSecretsRequest? Type586 { get; set; }
///
///
///
- public global::Vectara.ConnectorConfiguration? Type587 { get; set; }
+ public global::Vectara.UpdateAgentSecretsRequest? Type587 { get; set; }
///
///
///
- public global::Vectara.ConnectorConfigurationDiscriminator? Type588 { get; set; }
+ public global::Vectara.SlackConnectorConfiguration? Type588 { get; set; }
///
///
///
- public global::Vectara.ConnectorConfigurationDiscriminatorType? Type589 { get; set; }
+ public global::Vectara.ConnectorConfiguration? Type589 { get; set; }
///
///
///
- public global::Vectara.AgentConnector? Type590 { get; set; }
+ public global::Vectara.ConnectorConfigurationDiscriminator? Type590 { get; set; }
///
///
///
- public global::Vectara.AgentConnectorType? Type591 { get; set; }
+ public global::Vectara.ConnectorConfigurationDiscriminatorType? Type591 { get; set; }
///
///
///
- public global::Vectara.AgentConnectorStatus? Type592 { get; set; }
+ public global::Vectara.AgentConnector? Type592 { get; set; }
///
///
///
- public global::Vectara.ListAgentConnectorsResponse? Type593 { get; set; }
+ public global::Vectara.AgentConnectorType? Type593 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type594 { get; set; }
+ public global::Vectara.AgentConnectorStatus? Type594 { get; set; }
///
///
///
- public global::Vectara.CreateAgentConnectorRequest? Type595 { get; set; }
+ public global::Vectara.ListAgentConnectorsResponse? Type595 { get; set; }
///
///
///
- public global::Vectara.CreateAgentConnectorRequestType? Type596 { get; set; }
+ public global::System.Collections.Generic.IList? Type596 { get; set; }
///
///
///
- public global::Vectara.UpdateAgentConnectorRequest? Type597 { get; set; }
+ public global::Vectara.CreateAgentConnectorRequest? Type597 { get; set; }
///
///
///
- public global::Vectara.PipelineStatus? Type598 { get; set; }
+ public global::Vectara.CreateAgentConnectorRequestType? Type598 { get; set; }
///
///
///
- public global::Vectara.BaseS3SourceConfiguration? Type599 { get; set; }
+ public global::Vectara.UpdateAgentConnectorRequest? Type599 { get; set; }
///
///
///
- public global::Vectara.S3SourceConfiguration? Type600 { get; set; }
+ public global::Vectara.PipelineStatus? Type600 { get; set; }
///
///
///
- public global::Vectara.BaseWebSource? Type601 { get; set; }
+ public global::Vectara.BaseS3SourceConfiguration? Type601 { get; set; }
///
///
///
- public global::Vectara.SitemapPagesSource? Type602 { get; set; }
+ public global::Vectara.S3SourceConfiguration? Type602 { get; set; }
///
///
///
- public global::Vectara.BaseCrawlPagesSource? Type603 { get; set; }
+ public global::Vectara.BaseWebSource? Type603 { get; set; }
///
///
///
- public global::Vectara.CrawlPagesSource? Type604 { get; set; }
+ public global::Vectara.SitemapPagesSource? Type604 { get; set; }
///
///
///
- public global::Vectara.CrawlPagesSourceVariant2? Type605 { get; set; }
+ public global::Vectara.BaseCrawlPagesSource? Type605 { get; set; }
///
///
///
- public global::Vectara.SitemapCrawlPagesSource? Type606 { get; set; }
+ public global::Vectara.CrawlPagesSource? Type606 { get; set; }
///
///
///
- public global::Vectara.SitemapCrawlPagesSourceVariant2? Type607 { get; set; }
+ public global::Vectara.CrawlPagesSourceVariant2? Type607 { get; set; }
///
///
///
- public global::Vectara.WebPagesSource? Type608 { get; set; }
+ public global::Vectara.SitemapCrawlPagesSource? Type608 { get; set; }
///
///
///
- public global::Vectara.WebPagesSourceDiscriminator? Type609 { get; set; }
+ public global::Vectara.SitemapCrawlPagesSourceVariant2? Type609 { get; set; }
///
///
///
- public global::Vectara.WebPagesSourceDiscriminatorType? Type610 { get; set; }
+ public global::Vectara.WebPagesSource? Type610 { get; set; }
///
///
///
- public global::Vectara.WebSourceConfiguration? Type611 { get; set; }
+ public global::Vectara.WebPagesSourceDiscriminator? Type611 { get; set; }
///
///
///
- public global::Vectara.WebSourceConfigurationVariant2? Type612 { get; set; }
+ public global::Vectara.WebPagesSourceDiscriminatorType? Type612 { get; set; }
///
///
///
- public global::Vectara.PipelineSource? Type613 { get; set; }
+ public global::Vectara.WebSourceConfiguration? Type613 { get; set; }
///
///
///
- public global::Vectara.PipelineSourceDiscriminator? Type614 { get; set; }
+ public global::Vectara.WebSourceConfigurationVariant2? Type614 { get; set; }
///
///
///
- public global::Vectara.PipelineSourceDiscriminatorType? Type615 { get; set; }
+ public global::Vectara.PipelineSource? Type615 { get; set; }
///
///
///
- public global::Vectara.CronTriggerConfiguration? Type616 { get; set; }
+ public global::Vectara.PipelineSourceDiscriminator? Type616 { get; set; }
///
///
///
- public global::Vectara.IntervalTriggerConfiguration? Type617 { get; set; }
+ public global::Vectara.PipelineSourceDiscriminatorType? Type617 { get; set; }
///
///
///
- public global::Vectara.ManualTriggerConfiguration? Type618 { get; set; }
+ public global::Vectara.CronTriggerConfiguration? Type618 { get; set; }
///
///
///
- public global::Vectara.PipelineTrigger? Type619 { get; set; }
+ public global::Vectara.IntervalTriggerConfiguration? Type619 { get; set; }
///
///
///
- public global::Vectara.PipelineTriggerDiscriminator? Type620 { get; set; }
+ public global::Vectara.ManualTriggerConfiguration? Type620 { get; set; }
///
///
///
- public global::Vectara.PipelineTriggerDiscriminatorType? Type621 { get; set; }
+ public global::Vectara.PipelineTrigger? Type621 { get; set; }
///
///
///
- public global::Vectara.ConditionVerification? Type622 { get; set; }
+ public global::Vectara.PipelineTriggerDiscriminator? Type622 { get; set; }
///
///
///
- public global::Vectara.AgentVerification? Type623 { get; set; }
+ public global::Vectara.PipelineTriggerDiscriminatorType? Type623 { get; set; }
///
///
///
- public global::Vectara.PipelineVerification? Type624 { get; set; }
+ public global::Vectara.ConditionVerification? Type624 { get; set; }
///
///
///
- public global::Vectara.PipelineVerificationDiscriminator? Type625 { get; set; }
+ public global::Vectara.AgentVerification? Type625 { get; set; }
///
///
///
- public global::Vectara.PipelineVerificationDiscriminatorType? Type626 { get; set; }
+ public global::Vectara.PipelineVerification? Type626 { get; set; }
///
///
///
- public global::Vectara.AgentTransformConfiguration? Type627 { get; set; }
+ public global::Vectara.PipelineVerificationDiscriminator? Type627 { get; set; }
///
///
///
- public global::Vectara.PipelineTransform? Type628 { get; set; }
+ public global::Vectara.PipelineVerificationDiscriminatorType? Type628 { get; set; }
///
///
///
- public global::Vectara.PipelineTransformDiscriminator? Type629 { get; set; }
+ public global::Vectara.AgentTransformConfiguration? Type629 { get; set; }
///
///
///
- public global::Vectara.PipelineTransformDiscriminatorType? Type630 { get; set; }
+ public global::Vectara.PipelineTransform? Type630 { get; set; }
///
///
///
- public global::Vectara.PipelineSyncMode? Type631 { get; set; }
+ public global::Vectara.PipelineTransformDiscriminator? Type631 { get; set; }
///
///
///
- public global::Vectara.PipelineWatermark? Type632 { get; set; }
+ public global::Vectara.PipelineTransformDiscriminatorType? Type632 { get; set; }
///
///
///
- public global::Vectara.Pipeline? Type633 { get; set; }
+ public global::Vectara.PipelineSyncMode? Type633 { get; set; }
///
///
///
- public global::Vectara.ListPipelinesResponse? Type634 { get; set; }
+ public global::Vectara.PipelineWatermark? Type634 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type635 { get; set; }
+ public global::Vectara.Pipeline? Type635 { get; set; }
///
///
///
- public global::Vectara.CreatePipelineRequest? Type636 { get; set; }
+ public global::Vectara.ListPipelinesResponse? Type636 { get; set; }
///
///
///
- public global::Vectara.UpdateS3SourceConfiguration? Type637 { get; set; }
+ public global::System.Collections.Generic.IList? Type637 { get; set; }
///
///
///
- public global::Vectara.UpdateWebSourceConfiguration? Type638 { get; set; }
+ public global::Vectara.CreatePipelineRequest? Type638 { get; set; }
///
///
///
- public global::Vectara.UpdateWebSourceConfigurationVariant2? Type639 { get; set; }
+ public global::Vectara.UpdateS3SourceConfiguration? Type639 { get; set; }
///
///
///
- public global::Vectara.UpdatePipelineSource? Type640 { get; set; }
+ public global::Vectara.UpdateWebSourceConfiguration? Type640 { get; set; }
///
///
///
- public global::Vectara.UpdatePipelineSourceDiscriminator? Type641 { get; set; }
+ public global::Vectara.UpdateWebSourceConfigurationVariant2? Type641 { get; set; }
///
///
///
- public global::Vectara.UpdatePipelineSourceDiscriminatorType? Type642 { get; set; }
+ public global::Vectara.UpdatePipelineSource? Type642 { get; set; }
///
///
///
- public global::Vectara.UpdatePipelineRequest? Type643 { get; set; }
+ public global::Vectara.UpdatePipelineSourceDiscriminator? Type643 { get; set; }
///
///
///
- public global::Vectara.PipelineRunStatus? Type644 { get; set; }
+ public global::Vectara.UpdatePipelineSourceDiscriminatorType? Type644 { get; set; }
///
///
///
- public global::Vectara.PipelineRunTriggerType? Type645 { get; set; }
+ public global::Vectara.UpdatePipelineRequest? Type645 { get; set; }
///
///
///
- public global::Vectara.PipelineRun? Type646 { get; set; }
+ public global::Vectara.PipelineRunStatus? Type646 { get; set; }
///
///
///
- public global::Vectara.DeadLetterStatus? Type647 { get; set; }
+ public global::Vectara.PipelineRunTriggerType? Type647 { get; set; }
///
///
///
- public global::Vectara.DeadLetterOrigin? Type648 { get; set; }
+ public global::Vectara.PipelineRun? Type648 { get; set; }
///
///
///
- public global::Vectara.PipelineDeadLetterEntry? Type649 { get; set; }
+ public global::Vectara.DeadLetterStatus? Type649 { get; set; }
///
///
///
- public global::Vectara.ListPipelineDeadLetterEntriesResponse? Type650 { get; set; }
+ public global::Vectara.DeadLetterOrigin? Type650 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type651 { get; set; }
+ public global::Vectara.PipelineDeadLetterEntry? Type651 { get; set; }
///
///
///
- public global::Vectara.CreatePipelineDeadLetterEntryRequest? Type652 { get; set; }
+ public global::Vectara.ListPipelineDeadLetterEntriesResponse? Type652 { get; set; }
///
///
///
- public global::Vectara.ProcessPipelineDeadLetterEntriesRequest? Type653 { get; set; }
+ public global::System.Collections.Generic.IList? Type653 { get; set; }
///
///
///
- public global::Vectara.ListPipelineRunsResponse? Type654 { get; set; }
+ public global::Vectara.CreatePipelineDeadLetterEntryRequest? Type654 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type655 { get; set; }
+ public global::Vectara.ProcessPipelineDeadLetterEntriesRequest? Type655 { get; set; }
///
///
///
- public global::Vectara.AgentTrace? Type656 { get; set; }
+ public global::Vectara.ListPipelineRunsResponse? Type656 { get; set; }
///
///
///
- public global::Vectara.AgentTraceStatus? Type657 { get; set; }
+ public global::System.Collections.Generic.IList? Type657 { get; set; }
///
///
///
- public global::Vectara.ListAgentTracesResponse? Type658 { get; set; }
+ public global::Vectara.AgentTrace? Type658 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type659 { get; set; }
+ public global::Vectara.AgentTraceStatus? Type659 { get; set; }
///
///
///
- public global::Vectara.AgentTraceSpanStatus? Type660 { get; set; }
+ public global::Vectara.ListAgentTracesResponse? Type660 { get; set; }
///
///
///
- public global::Vectara.AgentTraceSpanBase? Type661 { get; set; }
+ public global::System.Collections.Generic.IList? Type661 { get; set; }
///
///
///
- public global::Vectara.AgentTraceInputFile? Type662 { get; set; }
+ public global::Vectara.AgentTraceSpanStatus? Type662 { get; set; }
///
///
///
- public global::Vectara.InvokeAgentSpanAttributes? Type663 { get; set; }
+ public global::Vectara.AgentTraceSpanBase? Type663 { get; set; }
///
///
///
- public global::Vectara.InvokeAgentSpanAttributesOutputType? Type664 { get; set; }
+ public global::Vectara.AgentTraceInputFile? Type664 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type665 { get; set; }
+ public global::Vectara.InvokeAgentSpanAttributes? Type665 { get; set; }
///
///
///
- public global::Vectara.InvokeAgentSpanContent? Type666 { get; set; }
+ public global::Vectara.InvokeAgentSpanAttributesOutputType? Type666 { get; set; }
///
///
///
- public global::Vectara.InvokeAgentTraceSpan? Type667 { get; set; }
+ public global::System.Collections.Generic.IList? Type667 { get; set; }
///
///
///
- public global::Vectara.InvokeAgentTraceSpanVariant2? Type668 { get; set; }
+ public global::Vectara.InvokeAgentSpanContent? Type668 { get; set; }
///
///
///
- public global::Vectara.ChatSpanAttributes? Type669 { get; set; }
+ public global::Vectara.InvokeAgentTraceSpan? Type669 { get; set; }
///
///
///
- public global::Vectara.ChatTraceSpan? Type670 { get; set; }
+ public global::Vectara.InvokeAgentTraceSpanVariant2? Type670 { get; set; }
///
///
///
- public global::Vectara.ChatTraceSpanVariant2? Type671 { get; set; }
+ public global::Vectara.ChatSpanAttributes? Type671 { get; set; }
///
///
///
- public global::Vectara.ExecuteToolSpanAttributes? Type672 { get; set; }
+ public global::Vectara.ChatTraceSpan? Type672 { get; set; }
///
///
///
- public global::Vectara.ExecuteToolSpanContent? Type673 { get; set; }
+ public global::Vectara.ChatTraceSpanVariant2? Type673 { get; set; }
///
///
///
- public global::Vectara.ExecuteToolTraceSpan? Type674 { get; set; }
+ public global::Vectara.ExecuteToolSpanAttributes? Type674 { get; set; }
///
///
///
- public global::Vectara.ExecuteToolTraceSpanVariant2? Type675 { get; set; }
+ public global::Vectara.ExecuteToolSpanContent? Type675 { get; set; }
///
///
///
- public global::Vectara.ThinkingSpanContent? Type676 { get; set; }
+ public global::Vectara.ExecuteToolTraceSpan? Type676 { get; set; }
///
///
///
- public global::Vectara.ThinkingTraceSpan? Type677 { get; set; }
+ public global::Vectara.ExecuteToolTraceSpanVariant2? Type677 { get; set; }
///
///
///
- public global::Vectara.ThinkingTraceSpanVariant2? Type678 { get; set; }
+ public global::Vectara.ThinkingSpanContent? Type678 { get; set; }
///
///
///
- public global::Vectara.OutputSpanContent? Type679 { get; set; }
+ public global::Vectara.ThinkingTraceSpan? Type679 { get; set; }
///
///
///
- public global::Vectara.OutputTraceSpan? Type680 { get; set; }
+ public global::Vectara.ThinkingTraceSpanVariant2? Type680 { get; set; }
///
///
///
- public global::Vectara.OutputTraceSpanVariant2? Type681 { get; set; }
+ public global::Vectara.OutputSpanContent? Type681 { get; set; }
///
///
///
- public global::Vectara.GuardrailSpanAttributes? Type682 { get; set; }
+ public global::Vectara.OutputTraceSpan? Type682 { get; set; }
///
///
///
- public global::Vectara.GuardrailSpanContent? Type683 { get; set; }
+ public global::Vectara.OutputTraceSpanVariant2? Type683 { get; set; }
///
///
///
- public global::Vectara.GuardrailTraceSpan? Type684 { get; set; }
+ public global::Vectara.GuardrailSpanAttributes? Type684 { get; set; }
///
///
///
- public global::Vectara.GuardrailTraceSpanVariant2? Type685 { get; set; }
+ public global::Vectara.GuardrailSpanContent? Type685 { get; set; }
///
///
///
- public global::Vectara.StepTransitionSpanAttributes? Type686 { get; set; }
+ public global::Vectara.GuardrailTraceSpan? Type686 { get; set; }
///
///
///
- public global::Vectara.StepTransitionTraceSpan? Type687 { get; set; }
+ public global::Vectara.GuardrailTraceSpanVariant2? Type687 { get; set; }
///
///
///
- public global::Vectara.StepTransitionTraceSpanVariant2? Type688 { get; set; }
+ public global::Vectara.StepTransitionSpanAttributes? Type688 { get; set; }
///
///
///
- public global::Vectara.ImageReadSpanAttributes? Type689 { get; set; }
+ public global::Vectara.StepTransitionTraceSpan? Type689 { get; set; }
///
///
///
- public global::Vectara.ImageReadTraceSpan? Type690 { get; set; }
+ public global::Vectara.StepTransitionTraceSpanVariant2? Type690 { get; set; }
///
///
///
- public global::Vectara.ImageReadTraceSpanVariant2? Type691 { get; set; }
+ public global::Vectara.ImageReadSpanAttributes? Type691 { get; set; }
///
///
///
- public global::Vectara.CompactionSpanAttributes? Type692 { get; set; }
+ public global::Vectara.ImageReadTraceSpan? Type692 { get; set; }
///
///
///
- public global::Vectara.CompactionTraceSpan? Type693 { get; set; }
+ public global::Vectara.ImageReadTraceSpanVariant2? Type693 { get; set; }
///
///
///
- public global::Vectara.CompactionTraceSpanVariant2? Type694 { get; set; }
+ public global::Vectara.CompactionSpanAttributes? Type694 { get; set; }
///
///
///
- public global::Vectara.AgentTraceSpan? Type695 { get; set; }
+ public global::Vectara.CompactionTraceSpan? Type695 { get; set; }
///
///
///
- public global::Vectara.AgentTraceSpanDiscriminator? Type696 { get; set; }
+ public global::Vectara.CompactionTraceSpanVariant2? Type696 { get; set; }
///
///
///
- public global::Vectara.AgentTraceSpanDiscriminatorOperation? Type697 { get; set; }
+ public global::Vectara.AgentTraceSpan? Type697 { get; set; }
///
///
///
- public global::Vectara.ListAgentTraceSpansResponse? Type698 { get; set; }
+ public global::Vectara.AgentTraceSpanDiscriminator? Type698 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type699 { get; set; }
+ public global::Vectara.AgentTraceSpanDiscriminatorOperation? Type699 { get; set; }
///
///
///
- public global::Vectara.Glossary? Type700 { get; set; }
+ public global::Vectara.ListAgentTraceSpansResponse? Type700 { get; set; }
///
///
///
- public global::Vectara.ListGlossariesResponse? Type701 { get; set; }
+ public global::System.Collections.Generic.IList? Type701 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type702 { get; set; }
+ public global::Vectara.Glossary? Type702 { get; set; }
///
///
///
- public global::Vectara.CreateGlossaryRequest? Type703 { get; set; }
+ public global::Vectara.ListGlossariesResponse? Type703 { get; set; }
///
///
///
- public global::Vectara.UpdateGlossaryRequest? Type704 { get; set; }
+ public global::System.Collections.Generic.IList? Type704 { get; set; }
///
///
///
- public global::Vectara.GlossaryEntry? Type705 { get; set; }
+ public global::Vectara.CreateGlossaryRequest? Type705 { get; set; }
///
///
///
- public global::Vectara.GlossaryEntriesResponse? Type706 { get; set; }
+ public global::Vectara.UpdateGlossaryRequest? Type706 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type707 { get; set; }
+ public global::Vectara.GlossaryEntry? Type707 { get; set; }
///
///
///
- public global::Vectara.UpsertGlossaryEntriesRequest? Type708 { get; set; }
+ public global::Vectara.GlossaryEntriesResponse? Type708 { get; set; }
///
///
///
- public global::Vectara.DeleteGlossaryEntriesRequest? Type709 { get; set; }
+ public global::System.Collections.Generic.IList? Type709 { get; set; }
///
///
///
- public global::Vectara.GetOAuthTokenRequest? Type710 { get; set; }
+ public global::Vectara.UpsertGlossaryEntriesRequest? Type710 { get; set; }
///
///
///
- public global::Vectara.CreateCorpusDocumentWaitFor? Type711 { get; set; }
+ public global::Vectara.DeleteGlossaryEntriesRequest? Type711 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type712 { get; set; }
+ public global::Vectara.GetOAuthTokenRequest? Type712 { get; set; }
///
///
///
- public global::Vectara.ListToolServersType? Type713 { get; set; }
+ public global::Vectara.CreateCorpusDocumentWaitFor? Type713 { get; set; }
///
///
///
- public global::Vectara.ListToolsType? Type714 { get; set; }
+ public global::System.Collections.Generic.IList? Type714 { get; set; }
///
///
///
- public global::Vectara.ListInstructionsType? Type715 { get; set; }
+ public global::Vectara.ListToolServersType? Type715 { get; set; }
///
///
///
- public global::Vectara.ListSessionArtifactsSortBy? Type716 { get; set; }
+ public global::Vectara.ListToolsType? Type716 { get; set; }
///
///
///
- public global::Vectara.ListSessionArtifactsOrderBy? Type717 { get; set; }
+ public global::Vectara.ListInstructionsType? Type717 { get; set; }
///
///
///
- public global::Vectara.ListAgentConnectorsType? Type718 { get; set; }
+ public global::Vectara.ListSessionArtifactsSortBy? Type718 { get; set; }
///
///
///
- public global::Vectara.ListPipelinesSourceType? Type719 { get; set; }
+ public global::Vectara.ListSessionArtifactsOrderBy? Type719 { get; set; }
///
///
///
- public global::Vectara.ListTracesStatus? Type720 { get; set; }
+ public global::Vectara.ListAgentConnectorsType? Type720 { get; set; }
///
///
///
- public global::Vectara.ListTracesErrorType? Type721 { get; set; }
+ public global::Vectara.ListPipelinesSourceType? Type721 { get; set; }
///
///
///
- public global::Vectara.ListTracesOperation? Type722 { get; set; }
+ public global::Vectara.ListTracesStatus? Type722 { get; set; }
///
///
///
- public global::Vectara.ListTracesToolErrorType? Type723 { get; set; }
+ public global::Vectara.ListTracesErrorType? Type723 { get; set; }
///
///
///
- public global::Vectara.ListTraceSpansOperation? Type724 { get; set; }
+ public global::Vectara.ListTracesOperation? Type724 { get; set; }
///
///
///
- public global::Vectara.AllOf? Type725 { get; set; }
+ public global::Vectara.ListTracesToolErrorType? Type725 { get; set; }
///
///
///
- public global::Vectara.CreateUserResponse2? Type726 { get; set; }
+ public global::Vectara.ListTraceSpansOperation? Type726 { get; set; }
///
///
///
- public global::Vectara.ResetUserPasswordResponse? Type727 { get; set; }
+ public global::Vectara.AllOf? Type727 { get; set; }
///
///
///
- public global::Vectara.GetTokenResponse? Type728 { get; set; }
+ public global::Vectara.CreateUserResponse2? Type728 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.ResetUserPasswordResponse? Type729 { get; set; }
+ ///
+ ///
+ ///
+ public global::Vectara.GetTokenResponse? Type730 { get; set; }
///
///
diff --git a/src/libs/Vectara/Generated/Vectara.Models.AgentSecrets.Json.g.cs b/src/libs/Vectara/Generated/Vectara.Models.AgentSecrets.Json.g.cs
new file mode 100644
index 0000000..f498c9c
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.AgentSecrets.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Vectara
+{
+ public sealed partial class AgentSecrets
+ {
+ ///
+ /// 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.AgentSecrets? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Vectara.AgentSecrets),
+ jsonSerializerContext) as global::Vectara.AgentSecrets;
+ }
+
+ ///
+ /// 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.AgentSecrets? 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.AgentSecrets),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Vectara.AgentSecrets;
+ }
+
+ ///
+ /// 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.AgentSecrets.g.cs b/src/libs/Vectara/Generated/Vectara.Models.AgentSecrets.g.cs
new file mode 100644
index 0000000..07b9a1f
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.AgentSecrets.g.cs
@@ -0,0 +1,51 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ ///
+ /// Agent-scoped secrets for the agent. On read, values are masked (`****`) — plaintext is never returned.
+ /// Reference values from a tool's `argument_override` via `{"$ref": "agent.secrets.<name>"}`.
+ ///
+ public sealed partial class AgentSecrets
+ {
+ ///
+ /// Map of secret name to masked value.
+ /// Example: {"jira_api_token":"****","slack_webhook":"****"}
+ ///
+ /// {"jira_api_token":"****","slack_webhook":"****"}
+ [global::System.Text.Json.Serialization.JsonPropertyName("secrets")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required global::System.Collections.Generic.Dictionary Secrets { get; set; }
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ /// Map of secret name to masked value.
+ /// Example: {"jira_api_token":"****","slack_webhook":"****"}
+ ///
+#if NET7_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+#endif
+ public AgentSecrets(
+ global::System.Collections.Generic.Dictionary secrets)
+ {
+ this.Secrets = secrets ?? throw new global::System.ArgumentNullException(nameof(secrets));
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public AgentSecrets()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.Models.AgentSecretsSecrets.Json.g.cs b/src/libs/Vectara/Generated/Vectara.Models.AgentSecretsSecrets.Json.g.cs
new file mode 100644
index 0000000..82955dc
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.AgentSecretsSecrets.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Vectara
+{
+ public sealed partial class AgentSecretsSecrets
+ {
+ ///
+ /// 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.AgentSecretsSecrets? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Vectara.AgentSecretsSecrets),
+ jsonSerializerContext) as global::Vectara.AgentSecretsSecrets;
+ }
+
+ ///
+ /// 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.AgentSecretsSecrets? 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.AgentSecretsSecrets),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Vectara.AgentSecretsSecrets;
+ }
+
+ ///
+ /// 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.AgentSecretsSecrets.g.cs b/src/libs/Vectara/Generated/Vectara.Models.AgentSecretsSecrets.g.cs
new file mode 100644
index 0000000..1255f32
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.AgentSecretsSecrets.g.cs
@@ -0,0 +1,20 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ ///
+ /// Map of secret name to masked value.
+ /// Example: {"jira_api_token":"****","slack_webhook":"****"}
+ ///
+ public sealed partial class AgentSecretsSecrets
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.Models.ApiKey.g.cs b/src/libs/Vectara/Generated/Vectara.Models.ApiKey.g.cs
index 1114b65..e3833ca 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.ApiKey.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.ApiKey.g.cs
@@ -12,19 +12,22 @@ public sealed partial class ApiKey
/// The ID of the API key.
///
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The human-readable name of the API key.
///
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
- public string? Name { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Name { get; set; }
///
/// The key used in API requests. The key should be kept secure.
///
[global::System.Text.Json.Serialization.JsonPropertyName("secret_key")]
- public string? SecretKey { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string SecretKey { get; set; }
///
/// If this API key is enabled.
@@ -105,9 +108,9 @@ public sealed partial class ApiKey
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public ApiKey(
- string? id,
- string? name,
- string? secretKey,
+ string id,
+ string name,
+ string secretKey,
bool? enabled,
global::System.Collections.Generic.IList? apiRoles,
global::Vectara.ApiKeyRole? apiKeyRole,
@@ -115,9 +118,9 @@ public ApiKey(
global::System.Collections.Generic.IList? agentRoles,
global::Vectara.ApiPolicy? apiPolicy)
{
- this.Id = id;
- this.Name = name;
- this.SecretKey = secretKey;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
+ this.SecretKey = secretKey ?? throw new global::System.ArgumentNullException(nameof(secretKey));
this.Enabled = enabled;
this.ApiRoles = apiRoles;
this.ApiKeyRole = apiKeyRole;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.AppClient.g.cs b/src/libs/Vectara/Generated/Vectara.Models.AppClient.g.cs
index 7af05a3..6fe23f6 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.AppClient.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.AppClient.g.cs
@@ -12,13 +12,15 @@ public sealed partial class AppClient
/// The Vectara App Client ID. This ID is not used during an OAuth flow. However, the ID used within the Vectara API.
///
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The human-readable name of the App Client.
///
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
- public string? Name { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Name { get; set; }
///
/// Description of the App Client.
@@ -30,13 +32,15 @@ public sealed partial class AppClient
/// The client ID used with the OAuth flow.
///
[global::System.Text.Json.Serialization.JsonPropertyName("client_id")]
- public string? ClientId { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string ClientId { get; set; }
///
/// The client secret used in API requests. The secret should be kept secure.
///
[global::System.Text.Json.Serialization.JsonPropertyName("client_secret")]
- public string? ClientSecret { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string ClientSecret { get; set; }
///
/// The API roles attached to the App Client.
@@ -77,15 +81,15 @@ public sealed partial class AppClient
///
/// The human-readable name of the App Client.
///
- ///
- /// Description of the App Client.
- ///
///
/// The client ID used with the OAuth flow.
///
///
/// The client secret used in API requests. The secret should be kept secure.
///
+ ///
+ /// Description of the App Client.
+ ///
///
/// The API roles attached to the App Client.
///
@@ -102,21 +106,21 @@ public sealed partial class AppClient
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public AppClient(
- string? id,
- string? name,
+ string id,
+ string name,
+ string clientId,
+ string clientSecret,
string? description,
- string? clientId,
- string? clientSecret,
global::System.Collections.Generic.IList? apiRoles,
global::System.Collections.Generic.IList? corpusRoles,
global::System.Collections.Generic.IList? agentRoles,
global::Vectara.ApiPolicy? apiPolicy)
{
- this.Id = id;
- this.Name = name;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
- this.ClientId = clientId;
- this.ClientSecret = clientSecret;
+ this.ClientId = clientId ?? throw new global::System.ArgumentNullException(nameof(clientId));
+ this.ClientSecret = clientSecret ?? throw new global::System.ArgumentNullException(nameof(clientSecret));
this.ApiRoles = apiRoles;
this.CorpusRoles = corpusRoles;
this.AgentRoles = agentRoles;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.Chat.g.cs b/src/libs/Vectara/Generated/Vectara.Models.Chat.g.cs
index 1df350e..8c33a55 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.Chat.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.Chat.g.cs
@@ -14,7 +14,8 @@ public sealed partial class Chat
///
/// cht_123456789
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The first query of the chat.
@@ -78,13 +79,13 @@ public sealed partial class Chat
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public Chat(
- string? id,
+ string id,
string? firstQuery,
string? firstAnswer,
bool? enabled,
global::System.DateTime? createdAt)
{
- this.Id = id;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.FirstQuery = firstQuery;
this.FirstAnswer = firstAnswer;
this.Enabled = enabled;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.Corpus.g.cs b/src/libs/Vectara/Generated/Vectara.Models.Corpus.g.cs
index 397be0b..463d5f1 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.Corpus.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.Corpus.g.cs
@@ -16,7 +16,8 @@ public sealed partial class Corpus
///
/// crp_1
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// A user-provided key for a corpus.
@@ -24,7 +25,8 @@ public sealed partial class Corpus
///
/// my-corpus
[global::System.Text.Json.Serialization.JsonPropertyName("key")]
- public string? Key { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Key { get; set; }
///
/// Name for the corpus. This value defaults to the key.
@@ -32,7 +34,8 @@ public sealed partial class Corpus
///
/// Vectara Content
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
- public string? Name { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Name { get; set; }
///
/// Corpus description.
@@ -173,9 +176,9 @@ public sealed partial class Corpus
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public Corpus(
- string? id,
- string? key,
- string? name,
+ string id,
+ string key,
+ string name,
string? description,
bool? enabled,
bool? chatHistoryCorpus,
@@ -188,9 +191,9 @@ public Corpus(
global::Vectara.CorpusLimits? limits,
global::System.DateTime? createdAt)
{
- this.Id = id;
- this.Key = key;
- this.Name = name;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Key = key ?? throw new global::System.ArgumentNullException(nameof(key));
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
this.Enabled = enabled;
this.ChatHistoryCorpus = chatHistoryCorpus;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.Document.g.cs b/src/libs/Vectara/Generated/Vectara.Models.Document.g.cs
index 4d9f626..5ff7ac2 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.Document.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.Document.g.cs
@@ -15,7 +15,8 @@ public sealed partial class Document
///
/// Invoice-403
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The document metadata.
@@ -91,7 +92,7 @@ public sealed partial class Document
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public Document(
- string? id,
+ string id,
object? metadata,
global::System.Collections.Generic.IList? tables,
global::System.Collections.Generic.IList? images,
@@ -99,7 +100,7 @@ public Document(
global::Vectara.DocumentStorageUsage? storageUsage,
global::Vectara.ExtractionUsage? extractionUsage)
{
- this.Id = id;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Metadata = metadata;
this.Tables = tables;
this.Images = images;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.Encoder.g.cs b/src/libs/Vectara/Generated/Vectara.Models.Encoder.g.cs
index 19a0356..a432c64 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.Encoder.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.Encoder.g.cs
@@ -14,7 +14,8 @@ public sealed partial class Encoder
///
/// enc_1
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The encoder name, `boomerang-2023-q3`.
@@ -22,7 +23,8 @@ public sealed partial class Encoder
///
/// openai-text-encoder
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
- public string? Name { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Name { get; set; }
///
/// The encoder type
@@ -104,16 +106,16 @@ public sealed partial class Encoder
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public Encoder(
- string? id,
- string? name,
+ string id,
+ string name,
string? type,
int? outputDimensions,
string? description,
bool? @default,
bool? enabled)
{
- this.Id = id;
- this.Name = name;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Type = type;
this.OutputDimensions = outputDimensions;
this.Description = description;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.GenerationPreset.g.cs b/src/libs/Vectara/Generated/Vectara.Models.GenerationPreset.g.cs
index 2a083ff..6dd1fae 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.GenerationPreset.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.GenerationPreset.g.cs
@@ -22,7 +22,8 @@ public sealed partial class GenerationPreset
///
/// Mockingbird 2.0
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
- public string? Name { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Name { get; set; }
///
/// Description of the generation preset.
@@ -122,14 +123,14 @@ public sealed partial class GenerationPreset
///
/// Initializes a new instance of the class.
///
- ///
- /// The ID of the generation preset.
- /// Example: gnp_123
- ///
///
/// Name of the generation preset to be used with configuring generation.
/// Example: Mockingbird 2.0
///
+ ///
+ /// The ID of the generation preset.
+ /// Example: gnp_123
+ ///
///
/// Description of the generation preset.
/// Example: Mockingbird LLM 2.0 prompt for summarizing query results as an answer. Designed for RAG.
@@ -178,8 +179,8 @@ public sealed partial class GenerationPreset
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public GenerationPreset(
+ string name,
string? id,
- string? name,
string? description,
string? llmName,
string? promptTemplate,
@@ -194,7 +195,7 @@ public GenerationPreset(
global::Vectara.GenerationPresetOwnership? ownership)
{
this.Id = id;
- this.Name = name;
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
this.LlmName = llmName;
this.PromptTemplate = promptTemplate;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.HallucinationCorrector.g.cs b/src/libs/Vectara/Generated/Vectara.Models.HallucinationCorrector.g.cs
index 9a06f9a..2d98baf 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.HallucinationCorrector.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.HallucinationCorrector.g.cs
@@ -14,7 +14,8 @@ public sealed partial class HallucinationCorrector
///
/// hcm_520721853
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The hallucination corrector name, typically including the base name and variant.
@@ -22,7 +23,8 @@ public sealed partial class HallucinationCorrector
///
/// vhc-small-1.0
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
- public string? Name { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Name { get; set; }
///
/// The hallucination corrector type. Defaults to `vectara`.
@@ -80,14 +82,14 @@ public sealed partial class HallucinationCorrector
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public HallucinationCorrector(
- string? id,
- string? name,
+ string id,
+ string name,
string? type,
string? description,
bool? enabled)
{
- this.Id = id;
- this.Name = name;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Type = type;
this.Description = description;
this.Enabled = enabled;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.Job.g.cs b/src/libs/Vectara/Generated/Vectara.Models.Job.g.cs
index 0d4f6f4..dfede3c 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.Job.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.Job.g.cs
@@ -14,7 +14,8 @@ public sealed partial class Job
///
/// job_1234
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The type of job.
@@ -98,7 +99,7 @@ public sealed partial class Job
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public Job(
- string? id,
+ string id,
global::Vectara.JobType? type,
global::System.Collections.Generic.IList? corpusKeys,
global::Vectara.JobState? state,
@@ -107,7 +108,7 @@ public Job(
global::System.DateTime? completedAt,
string? createdByUsername)
{
- this.Id = id;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Type = type;
this.CorpusKeys = corpusKeys;
this.State = state;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.Llm.g.cs b/src/libs/Vectara/Generated/Vectara.Models.Llm.g.cs
index 9e838bf..b3de9ee 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.Llm.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.Llm.g.cs
@@ -16,7 +16,8 @@ public sealed partial class Llm
///
/// llm_1021844
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// Name of the LLM.
@@ -24,7 +25,8 @@ public sealed partial class Llm
///
/// Claude 3.7 Sonnet
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
- public string? Name { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Name { get; set; }
///
/// The description of the LLM.
@@ -106,16 +108,16 @@ public sealed partial class Llm
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public Llm(
- string? id,
- string? name,
+ string id,
+ string name,
string? description,
bool? enabled,
bool? @default,
global::Vectara.LLMCapabilities? capabilities,
global::Vectara.LLMOwnership? ownership)
{
- this.Id = id;
- this.Name = name;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
this.Enabled = enabled;
this.Default = @default;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.Prompt.g.cs b/src/libs/Vectara/Generated/Vectara.Models.Prompt.g.cs
index 3544adc..d5872f8 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.Prompt.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.Prompt.g.cs
@@ -12,13 +12,15 @@ public sealed partial class Prompt
/// The ID of the prompt.
///
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// Name of the prompt. This is used as the `prompt_name` in a query.
///
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
- public string? Name { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Name { get; set; }
///
/// The description of the prompt.
@@ -66,14 +68,14 @@ public sealed partial class Prompt
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public Prompt(
- string? id,
- string? name,
+ string id,
+ string name,
string? description,
bool? enabled,
bool? @default)
{
- this.Id = id;
- this.Name = name;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
this.Enabled = enabled;
this.Default = @default;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.QueryHistory.g.cs b/src/libs/Vectara/Generated/Vectara.Models.QueryHistory.g.cs
index e60e11f..5ad2342 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.QueryHistory.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.QueryHistory.g.cs
@@ -14,7 +14,8 @@ public sealed partial class QueryHistory
///
/// qry_1234567890
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// Query one or more corpora.
@@ -108,7 +109,7 @@ public sealed partial class QueryHistory
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public QueryHistory(
- string? id,
+ string id,
global::Vectara.QueryRequest? query,
string? chatId,
int? latencyMillis,
@@ -117,7 +118,7 @@ public QueryHistory(
string? sessionKey,
global::System.Collections.Generic.IList? spans)
{
- this.Id = id;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Query = query;
this.ChatId = chatId;
this.LatencyMillis = latencyMillis;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.QueryHistorySummary.g.cs b/src/libs/Vectara/Generated/Vectara.Models.QueryHistorySummary.g.cs
index 2d74629..3e11815 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.QueryHistorySummary.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.QueryHistorySummary.g.cs
@@ -14,7 +14,8 @@ public sealed partial class QueryHistorySummary
///
/// qry_1234567890
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The actual query made.
@@ -132,7 +133,7 @@ public sealed partial class QueryHistorySummary
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public QueryHistorySummary(
- string? id,
+ string id,
string? query,
string? corpusKey,
global::System.DateTime? startedAt,
@@ -143,7 +144,7 @@ public QueryHistorySummary(
string? agentKey,
string? sessionKey)
{
- this.Id = id;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Query = query;
this.CorpusKey = corpusKey;
this.StartedAt = startedAt;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.ReplaceAgentSecretsRequest.Json.g.cs b/src/libs/Vectara/Generated/Vectara.Models.ReplaceAgentSecretsRequest.Json.g.cs
new file mode 100644
index 0000000..fc896b5
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.ReplaceAgentSecretsRequest.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Vectara
+{
+ public sealed partial class ReplaceAgentSecretsRequest
+ {
+ ///
+ /// 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.ReplaceAgentSecretsRequest? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Vectara.ReplaceAgentSecretsRequest),
+ jsonSerializerContext) as global::Vectara.ReplaceAgentSecretsRequest;
+ }
+
+ ///
+ /// 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.ReplaceAgentSecretsRequest? 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.ReplaceAgentSecretsRequest),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Vectara.ReplaceAgentSecretsRequest;
+ }
+
+ ///
+ /// 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.ReplaceAgentSecretsRequest.g.cs b/src/libs/Vectara/Generated/Vectara.Models.ReplaceAgentSecretsRequest.g.cs
new file mode 100644
index 0000000..e05fb86
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.ReplaceAgentSecretsRequest.g.cs
@@ -0,0 +1,51 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ ///
+ /// Replace the agent's secrets set. The submitted map fully replaces what was previously stored — names not in the request are removed.
+ /// Stored encrypted at rest using the agent's encryption key.
+ ///
+ public sealed partial class ReplaceAgentSecretsRequest
+ {
+ ///
+ /// Map of secret name to plaintext value.
+ /// Example: {"jira_api_token":"ATATT3xFf..."}
+ ///
+ /// {"jira_api_token":"ATATT3xFf..."}
+ [global::System.Text.Json.Serialization.JsonPropertyName("secrets")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required global::System.Collections.Generic.Dictionary Secrets { get; set; }
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ /// Map of secret name to plaintext value.
+ /// Example: {"jira_api_token":"ATATT3xFf..."}
+ ///
+#if NET7_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+#endif
+ public ReplaceAgentSecretsRequest(
+ global::System.Collections.Generic.Dictionary secrets)
+ {
+ this.Secrets = secrets ?? throw new global::System.ArgumentNullException(nameof(secrets));
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public ReplaceAgentSecretsRequest()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.Models.ReplaceAgentSecretsRequestSecrets.Json.g.cs b/src/libs/Vectara/Generated/Vectara.Models.ReplaceAgentSecretsRequestSecrets.Json.g.cs
new file mode 100644
index 0000000..dc28b09
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.ReplaceAgentSecretsRequestSecrets.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Vectara
+{
+ public sealed partial class ReplaceAgentSecretsRequestSecrets
+ {
+ ///
+ /// 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.ReplaceAgentSecretsRequestSecrets? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Vectara.ReplaceAgentSecretsRequestSecrets),
+ jsonSerializerContext) as global::Vectara.ReplaceAgentSecretsRequestSecrets;
+ }
+
+ ///
+ /// 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.ReplaceAgentSecretsRequestSecrets? 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.ReplaceAgentSecretsRequestSecrets),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Vectara.ReplaceAgentSecretsRequestSecrets;
+ }
+
+ ///
+ /// 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.ReplaceAgentSecretsRequestSecrets.g.cs b/src/libs/Vectara/Generated/Vectara.Models.ReplaceAgentSecretsRequestSecrets.g.cs
new file mode 100644
index 0000000..9b9daa9
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.ReplaceAgentSecretsRequestSecrets.g.cs
@@ -0,0 +1,20 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ ///
+ /// Map of secret name to plaintext value.
+ /// Example: {"jira_api_token":"ATATT3xFf..."}
+ ///
+ public sealed partial class ReplaceAgentSecretsRequestSecrets
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.Models.Reranker.g.cs b/src/libs/Vectara/Generated/Vectara.Models.Reranker.g.cs
index 9e7a81b..617ce80 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.Reranker.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.Reranker.g.cs
@@ -12,13 +12,15 @@ public sealed partial class Reranker
/// The ID of the reranker.
///
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The name of the reranker.
///
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
- public string? Name { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Name { get; set; }
///
/// The description of the reranker.
@@ -57,13 +59,13 @@ public sealed partial class Reranker
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public Reranker(
- string? id,
- string? name,
+ string id,
+ string name,
string? description,
bool? enabled)
{
- this.Id = id;
- this.Name = name;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
this.Enabled = enabled;
}
diff --git a/src/libs/Vectara/Generated/Vectara.Models.Turn.g.cs b/src/libs/Vectara/Generated/Vectara.Models.Turn.g.cs
index 150d80b..48bb098 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.Turn.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.Turn.g.cs
@@ -14,7 +14,8 @@ public sealed partial class Turn
///
/// trn_987654321
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The ID of the chat the turn resides in.
@@ -90,14 +91,14 @@ public sealed partial class Turn
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public Turn(
- string? id,
+ string id,
string? chatId,
string? query,
string? answer,
bool? enabled,
global::System.DateTime? createdAt)
{
- this.Id = id;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.ChatId = chatId;
this.Query = query;
this.Answer = answer;
diff --git a/src/libs/Vectara/Generated/Vectara.Models.UpdateAgentSecretsRequest.Json.g.cs b/src/libs/Vectara/Generated/Vectara.Models.UpdateAgentSecretsRequest.Json.g.cs
new file mode 100644
index 0000000..92d8abc
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.UpdateAgentSecretsRequest.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Vectara
+{
+ public sealed partial class UpdateAgentSecretsRequest
+ {
+ ///
+ /// 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.UpdateAgentSecretsRequest? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Vectara.UpdateAgentSecretsRequest),
+ jsonSerializerContext) as global::Vectara.UpdateAgentSecretsRequest;
+ }
+
+ ///
+ /// 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.UpdateAgentSecretsRequest? 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.UpdateAgentSecretsRequest),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Vectara.UpdateAgentSecretsRequest;
+ }
+
+ ///
+ /// 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.UpdateAgentSecretsRequest.g.cs b/src/libs/Vectara/Generated/Vectara.Models.UpdateAgentSecretsRequest.g.cs
new file mode 100644
index 0000000..a92326b
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.UpdateAgentSecretsRequest.g.cs
@@ -0,0 +1,51 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ ///
+ /// Patch the agent's secrets. Names present in the map are added or replaced; names absent from the map are left unchanged.
+ /// A name mapped to `null` is removed. Stored encrypted at rest using the agent's encryption key.
+ ///
+ public sealed partial class UpdateAgentSecretsRequest
+ {
+ ///
+ /// Map of secret name to plaintext value (or `null` to remove). Names not in the map are not touched.
+ /// Example: {"jira_api_token":"ATATT3xFf...","old_token_to_remove":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}
+ ///
+ /// {"jira_api_token":"ATATT3xFf...","old_token_to_remove":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}
+ [global::System.Text.Json.Serialization.JsonPropertyName("secrets")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required global::System.Collections.Generic.Dictionary Secrets { get; set; }
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ /// Map of secret name to plaintext value (or `null` to remove). Names not in the map are not touched.
+ /// Example: {"jira_api_token":"ATATT3xFf...","old_token_to_remove":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}
+ ///
+#if NET7_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+#endif
+ public UpdateAgentSecretsRequest(
+ global::System.Collections.Generic.Dictionary secrets)
+ {
+ this.Secrets = secrets ?? throw new global::System.ArgumentNullException(nameof(secrets));
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public UpdateAgentSecretsRequest()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.Models.UpdateAgentSecretsRequestSecrets.Json.g.cs b/src/libs/Vectara/Generated/Vectara.Models.UpdateAgentSecretsRequestSecrets.Json.g.cs
new file mode 100644
index 0000000..18bab69
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.UpdateAgentSecretsRequestSecrets.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Vectara
+{
+ public sealed partial class UpdateAgentSecretsRequestSecrets
+ {
+ ///
+ /// 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.UpdateAgentSecretsRequestSecrets? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Vectara.UpdateAgentSecretsRequestSecrets),
+ jsonSerializerContext) as global::Vectara.UpdateAgentSecretsRequestSecrets;
+ }
+
+ ///
+ /// 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.UpdateAgentSecretsRequestSecrets? 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.UpdateAgentSecretsRequestSecrets),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Vectara.UpdateAgentSecretsRequestSecrets;
+ }
+
+ ///
+ /// 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.UpdateAgentSecretsRequestSecrets.g.cs b/src/libs/Vectara/Generated/Vectara.Models.UpdateAgentSecretsRequestSecrets.g.cs
new file mode 100644
index 0000000..f556b1d
--- /dev/null
+++ b/src/libs/Vectara/Generated/Vectara.Models.UpdateAgentSecretsRequestSecrets.g.cs
@@ -0,0 +1,20 @@
+
+#nullable enable
+
+namespace Vectara
+{
+ ///
+ /// Map of secret name to plaintext value (or `null` to remove). Names not in the map are not touched.
+ /// Example: {"jira_api_token":"ATATT3xFf...","old_token_to_remove":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}
+ ///
+ public sealed partial class UpdateAgentSecretsRequestSecrets
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vectara/Generated/Vectara.Models.User.g.cs b/src/libs/Vectara/Generated/Vectara.Models.User.g.cs
index 251c2ee..332a86c 100644
--- a/src/libs/Vectara/Generated/Vectara.Models.User.g.cs
+++ b/src/libs/Vectara/Generated/Vectara.Models.User.g.cs
@@ -12,13 +12,15 @@ public sealed partial class User
/// The Vectara ID for the user.
///
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
- public string? Id { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Id { get; set; }
///
/// The email address for the user.
///
[global::System.Text.Json.Serialization.JsonPropertyName("email")]
- public string? Email { get; set; }
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required string Email { get; set; }
///
/// The username for the user.
@@ -120,8 +122,8 @@ public sealed partial class User
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public User(
- string? id,
- string? email,
+ string id,
+ string email,
string? username,
bool? enabled,
string? description,
@@ -132,8 +134,8 @@ public User(
global::System.Collections.Generic.IList? agentRoles,
global::Vectara.ApiPolicy? apiPolicy)
{
- this.Id = id;
- this.Email = email;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Email = email ?? throw new global::System.ArgumentNullException(nameof(email));
this.Username = username;
this.Enabled = enabled;
this.Description = description;
diff --git a/src/libs/Vectara/openapi.yaml b/src/libs/Vectara/openapi.yaml
index 9001e4d..84b2ea1 100644
--- a/src/libs/Vectara/openapi.yaml
+++ b/src/libs/Vectara/openapi.yaml
@@ -63,6 +63,9 @@ tags:
intervals.
- name: Agent Identity
description: View and manage the identity used by an agent to execute tools.
+- name: Agent Secrets
+ description: Manage agent-scoped secrets that can be referenced from tool argument
+ overrides via $ref.
- name: Guardrails
description: List predefined guardrails for validating tool calls, agent outputs,
and agent actions.
@@ -10444,6 +10447,179 @@ paths:
$ref: '#/components/schemas/NotFoundError'
x-fern-sdk-group-name: agents
x-fern-sdk-method-name: updateIdentity
+ /v2/agents/{agent_key}/secrets:
+ get:
+ tags:
+ - Agent Secrets
+ summary: Get agent secrets
+ x-required-roles:
+ - type: AgentRole
+ roles:
+ - agent_administrator
+ - type: ApiRole
+ roles:
+ - agent_administrator
+ - administrator
+ - owner
+ description: 'Retrieve the agent''s secrets. Values are always masked (`****`);
+ plaintext is never exposed on read.
+
+ '
+ operationId: getAgentSecrets
+ parameters:
+ - $ref: '#/components/parameters/RequestTimeout'
+ - $ref: '#/components/parameters/RequestTimeoutMillis'
+ - in: path
+ name: agent_key
+ description: The unique key of the agent.
+ required: true
+ schema:
+ $ref: '#/components/schemas/AgentKey'
+ responses:
+ '200':
+ description: The agent's secrets, with values masked.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/AgentSecrets'
+ '403':
+ description: Permissions do not allow accessing this agent.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Error'
+ '404':
+ description: Agent not found.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NotFoundError'
+ x-fern-sdk-group-name: agents
+ x-fern-sdk-method-name: getSecrets
+ put:
+ tags:
+ - Agent Secrets
+ summary: Replace agent secrets
+ x-required-roles:
+ - type: AgentRole
+ roles:
+ - agent_administrator
+ - type: ApiRole
+ roles:
+ - agent_administrator
+ - administrator
+ - owner
+ description: 'Replace the agent''s secrets. The submitted map fully replaces
+ the previous set (names not in the request are removed).
+
+ Stored encrypted at rest.
+
+ '
+ operationId: replaceAgentSecrets
+ parameters:
+ - $ref: '#/components/parameters/RequestTimeout'
+ - $ref: '#/components/parameters/RequestTimeoutMillis'
+ - in: path
+ name: agent_key
+ description: The unique key of the agent.
+ required: true
+ schema:
+ $ref: '#/components/schemas/AgentKey'
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ReplaceAgentSecretsRequest'
+ responses:
+ '200':
+ description: The agent's secrets after the replace, with values masked.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/AgentSecrets'
+ '400':
+ description: Invalid request.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/BadRequestError'
+ '403':
+ description: Permissions do not allow modifying this agent.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Error'
+ '404':
+ description: Agent not found.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NotFoundError'
+ x-fern-sdk-group-name: agents
+ x-fern-sdk-method-name: replaceSecrets
+ patch:
+ tags:
+ - Agent Secrets
+ summary: Update agent secrets
+ x-required-roles:
+ - type: AgentRole
+ roles:
+ - agent_administrator
+ - type: ApiRole
+ roles:
+ - agent_administrator
+ - administrator
+ - owner
+ description: 'Patch the agent''s secrets. Names present in the map are added
+ or replaced; names absent from the map are left unchanged.
+
+ A name mapped to `null` is removed.
+
+ '
+ operationId: updateAgentSecrets
+ parameters:
+ - $ref: '#/components/parameters/RequestTimeout'
+ - $ref: '#/components/parameters/RequestTimeoutMillis'
+ - in: path
+ name: agent_key
+ description: The unique key of the agent.
+ required: true
+ schema:
+ $ref: '#/components/schemas/AgentKey'
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UpdateAgentSecretsRequest'
+ responses:
+ '200':
+ description: The agent's secrets after the patch, with values masked.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/AgentSecrets'
+ '400':
+ description: Invalid request.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/BadRequestError'
+ '403':
+ description: Permissions do not allow modifying this agent.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Error'
+ '404':
+ description: Agent not found.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NotFoundError'
+ x-fern-sdk-group-name: agents
+ x-fern-sdk-method-name: updateSecrets
/v2/agents/{agent_key}/connectors:
post:
tags:
@@ -12644,6 +12820,10 @@ components:
description: Indicates when the corpus was created.
type: string
format: date-time
+ required:
+ - id
+ - key
+ - name
ListMetadata:
type: object
description: The standard metadata in the response of a list operation.
@@ -13328,6 +13508,8 @@ components:
$ref: '#/components/schemas/ExtractionUsage'
example:
table_extraction_used: 2
+ required:
+ - id
example:
id: manufacturing_invoice-2331
metadata:
@@ -15209,6 +15391,8 @@ components:
type: array
items:
$ref: '#/components/schemas/QueryHistorySpan'
+ required:
+ - id
QueryHistorySummary:
description: A summary of a previously executed query, including metadata but
not full results.
@@ -15256,6 +15440,8 @@ components:
session_key:
description: The session key if this query was made through an agent session.
type: string
+ required:
+ - id
ListQueryHistoriesResponse:
description: An array of query histories.
type: object
@@ -15299,6 +15485,8 @@ components:
description: Specifies when this chat was created.
type: string
format: date-time
+ required:
+ - id
ListChatsResponse:
description: Response containing a list of chat conversations.
type: object
@@ -15494,6 +15682,8 @@ components:
description: Specifies when the turn was created.
type: string
format: date-time
+ required:
+ - id
ListChatTurnsResponse:
description: Response containing a list of turns (message exchanges) within
a chat conversation.
@@ -15570,6 +15760,9 @@ components:
description: Indicates if this prompt is the default prompt used with the
LLM.
type: boolean
+ required:
+ - id
+ - name
LLM:
description: A LLM can be used to enhance query results with a response, and
be used as the responder during a chat.
@@ -15607,6 +15800,9 @@ components:
items:
$ref: '#/components/schemas/Prompt'
deprecated: true
+ required:
+ - id
+ - name
ListLLMsResponse:
description: Response containing a list of Large Language Models available for
generative AI capabilities.
@@ -16630,6 +16826,8 @@ components:
description: Indicates whether the preset is provided by the platform (`platform`)
or created by the customer (`customer`).
$ref: '#/components/schemas/GenerationPresetOwnership'
+ required:
+ - name
ListGenerationPresetsResponse:
description: Response containing a list of generation presets for configuring
RAG behavior.
@@ -16731,6 +16929,9 @@ components:
description: Indicates whether the encoder is enabled.
type: boolean
example: true
+ required:
+ - id
+ - name
ListEncodersResponse:
description: Response containing a list of available encoders for converting
text to vector embeddings.
@@ -16814,6 +17015,9 @@ components:
enabled:
description: Whether the reranker is enabled.
type: boolean
+ required:
+ - id
+ - name
ListRerankersResponse:
description: Response containing a list of available rerankers for improving
search result ordering.
@@ -16884,6 +17088,9 @@ components:
available for use in hallucination correction workflows.
type: boolean
example: true
+ required:
+ - id
+ - name
ListHallucinationCorrectorsResponse:
description: Response containing a list of hallucination correctors.
type: object
@@ -17029,6 +17236,8 @@ components:
description: The username of the user who created the job. This property
may be missing, e.g., if the job was created by the system, not a user.
type: string
+ required:
+ - id
ListJobsResponse:
description: Response containing a list of background jobs and their current
states.
@@ -17195,6 +17404,9 @@ components:
$ref: '#/components/schemas/AgentRole'
api_policy:
$ref: '#/components/schemas/ApiPolicy'
+ required:
+ - id
+ - email
ListUsersResponse:
description: Response containing a list of user accounts.
type: object
@@ -17317,6 +17529,10 @@ components:
$ref: '#/components/schemas/AgentRole'
api_policy:
$ref: '#/components/schemas/ApiPolicy'
+ required:
+ - id
+ - name
+ - secret_key
ListApiKeysResponse:
description: Response containing a list of API keys for the authenticated customer.
type: object
@@ -17410,6 +17626,11 @@ components:
$ref: '#/components/schemas/AgentRole'
api_policy:
$ref: '#/components/schemas/ApiPolicy'
+ required:
+ - id
+ - name
+ - client_id
+ - client_secret
ListAppClientsResponse:
description: Response containing a list of OAuth application clients.
type: object
@@ -22874,6 +23095,63 @@ components:
type: array
items:
$ref: '#/components/schemas/AgentRole'
+ AgentSecrets:
+ description: "Agent-scoped secrets for the agent. On read, values are masked\
+ \ (`****`) \u2014 plaintext is never returned.\nReference values from a tool's\
+ \ `argument_override` via `{\"$ref\": \"agent.secrets.\"}`.\n"
+ type: object
+ properties:
+ secrets:
+ description: Map of secret name to masked value.
+ type: object
+ additionalProperties:
+ type: string
+ example:
+ jira_api_token: '****'
+ slack_webhook: '****'
+ required:
+ - secrets
+ ReplaceAgentSecretsRequest:
+ description: "Replace the agent's secrets set. The submitted map fully replaces\
+ \ what was previously stored \u2014 names not in the request are removed.\n\
+ Stored encrypted at rest using the agent's encryption key.\n"
+ type: object
+ properties:
+ secrets:
+ description: Map of secret name to plaintext value.
+ type: object
+ additionalProperties:
+ type: string
+ maxLength: 4096
+ example:
+ jira_api_token: ATATT3xFf...
+ required:
+ - secrets
+ UpdateAgentSecretsRequest:
+ description: 'Patch the agent''s secrets. Names present in the map are added
+ or replaced; names absent from the map are left unchanged.
+
+ A name mapped to `null` is removed. Stored encrypted at rest using the agent''s
+ encryption key.
+
+ '
+ type: object
+ properties:
+ secrets:
+ description: 'Map of secret name to plaintext value (or `null` to remove).
+ Names not in the map are not touched.
+
+ '
+ type: object
+ additionalProperties:
+ type: string
+ nullable: true
+ maxLength: 4096
+ example:
+ jira_api_token: ATATT3xFf...
+ old_token_to_remove: null
+ required:
+ - secrets
SlackConnectorConfiguration:
description: Configuration for Slack connectors.
type: object
@@ -23198,7 +23476,7 @@ components:
CR or LF.
type: string
maxLength: 256
- pattern: "^[^\r\n]*$"
+ pattern: ^[^\r\n]*$
default: Vectara-Crawler/1.0 (+https://www.vectara.com/crawler)
max_page_bytes:
description: 'Maximum page body bytes to download. Larger pages are truncated.
@@ -24794,6 +25072,7 @@ x-tagGroups:
- Tools
- Tool Servers
- Agent Connectors
+ - Agent Secrets
- name: Pipelines
x-beta: true
tags: