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
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ public partial interface IRetellAiClient
/// Add a community voice to the voice library
/// </summary>
/// <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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.VoiceResponse> AddCommunityVoiceAsync(

global::RetellAI.AddCommunityVoiceRequest request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Add a community voice to the voice library
Expand All @@ -29,13 +31,15 @@ public partial interface IRetellAiClient
/// <param name="publicUserId">
/// Required for ElevenLabs only. User id of the voice owner.
/// </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::RetellAI.VoiceResponse> AddCommunityVoiceAsync(
string providerVoiceId,
string voiceName,
global::RetellAI.AddCommunityVoiceRequestVoiceProvider? voiceProvider = default,
string? publicUserId = default,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ public partial interface IRetellAiClient
/// Example: kb_1234567890
/// </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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.KnowledgeBaseResponse> AddKnowledgeBaseSourcesAsync(
string knowledgeBaseId,

global::RetellAI.KnowledgeBaseAddSourcesRequest request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Add sources to a knowledge base
Expand All @@ -34,13 +36,15 @@ public partial interface IRetellAiClient
/// URLs to be scraped and added to the knowledge base. Must be valid urls.<br/>
/// Example: [https://www.example.com, https://www.retellai.com]
/// </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::RetellAI.KnowledgeBaseResponse> AddKnowledgeBaseSourcesAsync(
string knowledgeBaseId,
global::System.Collections.Generic.IList<global::RetellAI.KnowledgeBaseAddSourcesRequestKnowledgeBaseText>? knowledgeBaseTexts = default,
global::System.Collections.Generic.IList<byte[]>? knowledgeBaseFiles = default,
global::System.Collections.Generic.IList<string>? knowledgeBaseUrls = default,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ public partial interface IRetellAiClient
/// Clone a voice from audio files
/// </summary>
/// <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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.VoiceResponse> CloneVoiceAsync(

global::RetellAI.CloneVoiceRequest request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Clone a voice from audio files
Expand All @@ -26,12 +28,14 @@ public partial interface IRetellAiClient
/// <param name="voiceProvider">
/// Voice provider to use for cloning.
/// </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::RetellAI.VoiceResponse> CloneVoiceAsync(
global::System.Collections.Generic.IList<byte[]> files,
string voiceName,
global::RetellAI.CloneVoiceRequestVoiceProvider voiceProvider,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ public partial interface IRetellAiClient
/// Create a new agent
/// </summary>
/// <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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.AgentResponse> CreateAgentAsync(

global::RetellAI.AllOf<global::RetellAI.AgentRequest, object> request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a new agent
/// </summary>
/// <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::RetellAI.AgentResponse> CreateAgentAsync(
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ public partial interface IRetellAiClient
/// Create a batch call
/// </summary>
/// <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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.BatchCallResponse> CreateBatchCallAsync(

global::RetellAI.CreateBatchCallRequest request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a batch call
Expand All @@ -38,6 +40,7 @@ public partial interface IRetellAiClient
/// <param name="callTimeWindow">
/// Allowed calling windows in a specific timezone. Each window is a half-open interval [startMin, endMin) in minutes since 00:00 local time. Cross-midnight windows are NOT allowed (must satisfy startMin &lt; endMin). `endMin = 1440` (24:00) is valid.
/// </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::RetellAI.BatchCallResponse> CreateBatchCallAsync(
Expand All @@ -47,6 +50,7 @@ public partial interface IRetellAiClient
double? triggerTimestamp = default,
int? reservedConcurrency = default,
global::RetellAI.CallTimeWindow? callTimeWindow = default,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ public partial interface IRetellAiClient
/// Create a batch test to run multiple test cases
/// </summary>
/// <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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.TestCaseBatchJob> CreateBatchTestAsync(

global::RetellAI.CreateBatchTestRequest request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a batch test to run multiple test cases
Expand All @@ -23,11 +25,13 @@ public partial interface IRetellAiClient
/// <param name="responseEngine">
/// Response engine for test cases. Custom LLM is not supported.
/// </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::RetellAI.TestCaseBatchJob> CreateBatchTestAsync(
global::System.Collections.Generic.IList<string> testCaseDefinitionIds,
global::RetellAI.RetellResponseEngine responseEngine,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ public partial interface IRetellAiClient
/// Create a chat session
/// </summary>
/// <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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.ChatResponse> CreateChatAsync(

global::RetellAI.CreateChatRequest request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a chat session
Expand All @@ -32,13 +34,15 @@ public partial interface IRetellAiClient
/// Add optional dynamic variables in key value pairs of string that injects into your Response Engine prompt and tool description. Only applicable for Response Engine.<br/>
/// Example: {"customer_name":"John Doe"}
/// </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::RetellAI.ChatResponse> CreateChatAsync(
string agentId,
int? agentVersion = default,
object? metadata = default,
object? retellLlmDynamicVariables = default,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ public partial interface IRetellAiClient
/// Create a new chat agent
/// </summary>
/// <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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.ChatAgentResponse> CreateChatAgentAsync(

global::RetellAI.AllOf<global::RetellAI.ChatAgentRequest, object> request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a new chat agent
/// </summary>
/// <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::RetellAI.ChatAgentResponse> CreateChatAgentAsync(
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ public partial interface IRetellAiClient
/// Create a chat completion message
/// </summary>
/// <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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.CreateChatCompletionResponse> CreateChatCompletionAsync(

global::RetellAI.CreateChatCompletionRequest request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a chat completion message
Expand All @@ -25,11 +27,13 @@ public partial interface IRetellAiClient
/// user message to generate agent chat completion.<br/>
/// Example: hi how are you doing?
/// </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::RetellAI.CreateChatCompletionResponse> CreateChatCompletionAsync(
string chatId,
string content,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ public partial interface IRetellAiClient
/// Create a new Conversation Flow that can be attached to an agent. This is used to generate response output for the agent.
/// </summary>
/// <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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.ConversationFlowResponse> CreateConversationFlowAsync(

global::RetellAI.CreateConversationFlowRequest request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a new Conversation Flow that can be attached to an agent. This is used to generate response output for the agent.
/// </summary>
/// <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::RetellAI.ConversationFlowResponse> CreateConversationFlowAsync(
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ public partial interface IRetellAiClient
/// Create a new shared conversation flow component
/// </summary>
/// <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::RetellAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.ConversationFlowComponentResponse> CreateConversationFlowComponentAsync(

global::RetellAI.CreateConversationFlowComponentRequest request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a new shared conversation flow component
/// </summary>
/// <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::RetellAI.ConversationFlowComponentResponse> CreateConversationFlowComponentAsync(
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Loading
Loading