Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
559 changes: 559 additions & 0 deletions src/libs/Vectara/Generated/Vectara.AgentsClient.GetSecrets.g.cs

Large diffs are not rendered by default.

658 changes: 658 additions & 0 deletions src/libs/Vectara/Generated/Vectara.AgentsClient.ReplaceSecrets.g.cs

Large diffs are not rendered by default.

658 changes: 658 additions & 0 deletions src/libs/Vectara/Generated/Vectara.AgentsClient.UpdateSecrets.g.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -623,10 +623,10 @@ partial void ProcessCreateResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Vectara.GenerationPreset> CreateAsync(
string name,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
string? id = default,
string? name = default,
string? description = default,
string? llmName = default,
string? promptTemplate = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -672,10 +672,10 @@ partial void ProcessReplaceResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Vectara.GenerationPreset> 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,
Expand Down
46 changes: 46 additions & 0 deletions src/libs/Vectara/Generated/Vectara.IAgentsClient.GetSecrets.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#nullable enable

namespace Vectara
{
public partial interface IAgentsClient
{
/// <summary>
/// Get agent secrets<br/>
/// Retrieve the agent's secrets. Values are always masked (`****`); plaintext is never exposed on read.
/// </summary>
/// <param name="requestTimeout"></param>
/// <param name="requestTimeoutMillis"></param>
/// <param name="agentKey">
/// A unique key that identifies an agent.<br/>
/// Example: customer_support
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vectara.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vectara.AgentSecrets> GetSecretsAsync(
string agentKey,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get agent secrets<br/>
/// Retrieve the agent's secrets. Values are always masked (`****`); plaintext is never exposed on read.
/// </summary>
/// <param name="requestTimeout"></param>
/// <param name="requestTimeoutMillis"></param>
/// <param name="agentKey">
/// A unique key that identifies an agent.<br/>
/// Example: customer_support
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vectara.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vectara.AutoSDKHttpResponse<global::Vectara.AgentSecrets>> GetSecretsAsResponseAsync(
string agentKey,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
#nullable enable

namespace Vectara
{
public partial interface IAgentsClient
{
/// <summary>
/// Replace agent secrets<br/>
/// Replace the agent's secrets. The submitted map fully replaces the previous set (names not in the request are removed).<br/>
/// Stored encrypted at rest.
/// </summary>
/// <param name="requestTimeout"></param>
/// <param name="requestTimeoutMillis"></param>
/// <param name="agentKey">
/// A unique key that identifies an agent.<br/>
/// Example: customer_support
/// </param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vectara.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vectara.AgentSecrets> ReplaceSecretsAsync(
string agentKey,

global::Vectara.ReplaceAgentSecretsRequest request,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Replace agent secrets<br/>
/// Replace the agent's secrets. The submitted map fully replaces the previous set (names not in the request are removed).<br/>
/// Stored encrypted at rest.
/// </summary>
/// <param name="requestTimeout"></param>
/// <param name="requestTimeoutMillis"></param>
/// <param name="agentKey">
/// A unique key that identifies an agent.<br/>
/// Example: customer_support
/// </param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vectara.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vectara.AutoSDKHttpResponse<global::Vectara.AgentSecrets>> ReplaceSecretsAsResponseAsync(
string agentKey,

global::Vectara.ReplaceAgentSecretsRequest request,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Replace agent secrets<br/>
/// Replace the agent's secrets. The submitted map fully replaces the previous set (names not in the request are removed).<br/>
/// Stored encrypted at rest.
/// </summary>
/// <param name="requestTimeout"></param>
/// <param name="requestTimeoutMillis"></param>
/// <param name="agentKey">
/// A unique key that identifies an agent.<br/>
/// Example: customer_support
/// </param>
/// <param name="secrets">
/// Map of secret name to plaintext value.<br/>
/// Example: {"jira_api_token":"ATATT3xFf..."}
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Vectara.AgentSecrets> ReplaceSecretsAsync(
string agentKey,
global::System.Collections.Generic.Dictionary<string, string> secrets,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
#nullable enable

namespace Vectara
{
public partial interface IAgentsClient
{
/// <summary>
/// Update agent secrets<br/>
/// Patch the agent's secrets. Names present in the map are added or replaced; names absent from the map are left unchanged.<br/>
/// A name mapped to `null` is removed.
/// </summary>
/// <param name="requestTimeout"></param>
/// <param name="requestTimeoutMillis"></param>
/// <param name="agentKey">
/// A unique key that identifies an agent.<br/>
/// Example: customer_support
/// </param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vectara.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vectara.AgentSecrets> UpdateSecretsAsync(
string agentKey,

global::Vectara.UpdateAgentSecretsRequest request,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Update agent secrets<br/>
/// Patch the agent's secrets. Names present in the map are added or replaced; names absent from the map are left unchanged.<br/>
/// A name mapped to `null` is removed.
/// </summary>
/// <param name="requestTimeout"></param>
/// <param name="requestTimeoutMillis"></param>
/// <param name="agentKey">
/// A unique key that identifies an agent.<br/>
/// Example: customer_support
/// </param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vectara.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vectara.AutoSDKHttpResponse<global::Vectara.AgentSecrets>> UpdateSecretsAsResponseAsync(
string agentKey,

global::Vectara.UpdateAgentSecretsRequest request,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Update agent secrets<br/>
/// Patch the agent's secrets. Names present in the map are added or replaced; names absent from the map are left unchanged.<br/>
/// A name mapped to `null` is removed.
/// </summary>
/// <param name="requestTimeout"></param>
/// <param name="requestTimeoutMillis"></param>
/// <param name="agentKey">
/// A unique key that identifies an agent.<br/>
/// Example: customer_support
/// </param>
/// <param name="secrets">
/// Map of secret name to plaintext value (or `null` to remove). Names not in the map are not touched.<br/>
/// Example: {"jira_api_token":"ATATT3xFf...","old_token_to_remove":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Vectara.AgentSecrets> UpdateSecretsAsync(
string agentKey,
global::System.Collections.Generic.Dictionary<string, string?> secrets,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
global::Vectara.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ public partial interface IGenerationPresetsClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Vectara.GenerationPreset> CreateAsync(
string name,
int? requestTimeout = default,
int? requestTimeoutMillis = default,
string? id = default,
string? name = default,
string? description = default,
string? llmName = default,
string? promptTemplate = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ public partial interface IGenerationPresetsClient
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Vectara.GenerationPreset> 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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ namespace Vectara
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<string>))]
[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<string, string>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary<string, string>), 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))]
Expand Down Expand Up @@ -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<string, string?>), 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))]
Expand Down
Loading