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
@@ -1,7 +1,5 @@
#nullable enable

#pragma warning disable CS0618 // Type or member is obsolete

namespace RetellAI
{
public partial interface IRetellAiClient
Expand All @@ -22,10 +20,10 @@ public partial interface IRetellAiClient
/// Buy a new phone number & Bind agents
/// </summary>
/// <param name="inboundAgents">
/// Inbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each inbound call, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to inbound_agent_id.
/// Inbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each inbound call, with probability proportional to the weight. Total weights must add up to 1.
/// </param>
/// <param name="outboundAgents">
/// Outbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each outbound call, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to outbound_agent_id.
/// Outbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each outbound call, with probability proportional to the weight. Total weights must add up to 1.
/// </param>
/// <param name="areaCode">
/// Area code of the number to obtain. Format is a 3 digit integer. Currently only supports US area code.<br/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#nullable enable

#pragma warning disable CS0618 // Type or member is obsolete

namespace RetellAI
{
public partial interface IRetellAiClient
Expand Down Expand Up @@ -42,10 +40,10 @@ public partial interface IRetellAiClient
/// Example: 123456
/// </param>
/// <param name="inboundAgents">
/// Inbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each inbound call, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to inbound_agent_id.
/// Inbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each inbound call, with probability proportional to the weight. Total weights must add up to 1.
/// </param>
/// <param name="outboundAgents">
/// Outbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each outbound call, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to outbound_agent_id.
/// Outbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each outbound call, with probability proportional to the weight. Total weights must add up to 1.
/// </param>
/// <param name="nickname">
/// Nickname of the number. This is for your reference only.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ public partial interface IRetellAiClient
/// <param name="paginationKeyVersion">
/// Example: 0
/// </param>
/// <param name="isLatest">
/// Example: true
/// </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::System.Collections.Generic.IList<global::RetellAI.AgentResponse>> ListAgentsAsync(
int? limit = default,
string? paginationKey = default,
int? paginationKeyVersion = default,
bool? isLatest = default,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#nullable enable

namespace RetellAI
{
public partial interface IRetellAiClient
{
/// <summary>
/// List calls with unified cursor pagination response and total count.
/// </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.AllOf<global::RetellAI.PaginatedResponseBase, global::RetellAI.ListCallsV3Response2>> ListCallsV3Async(

global::RetellAI.ListCallsV3Request request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// List calls with unified cursor pagination response and total count.
/// </summary>
/// <param name="filterCriteria">
/// Filter criteria for calls. All conditions are implicitly connected with AND.
/// </param>
/// <param name="sortOrder">
/// Sort calls by `start_timestamp` in ascending or descending order.<br/>
/// Default Value: descending
/// </param>
/// <param name="limit">
/// Maximum number of calls to return.<br/>
/// Default Value: 50
/// </param>
/// <param name="skip">
/// Number of records to skip for pagination.<br/>
/// Default Value: 0
/// </param>
/// <param name="paginationKey">
/// Opaque pagination cursor from a previous response.
/// </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.AllOf<global::RetellAI.PaginatedResponseBase, global::RetellAI.ListCallsV3Response2>> ListCallsV3Async(
global::RetellAI.CallFilter? filterCriteria = default,
global::RetellAI.ListCallsV3RequestSortOrder? sortOrder = default,
int? limit = default,
int? skip = default,
string? paginationKey = default,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ public partial interface IRetellAiClient
/// <param name="paginationKeyVersion">
/// Example: 0
/// </param>
/// <param name="isLatest">
/// Example: true
/// </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::System.Collections.Generic.IList<global::RetellAI.ChatAgentResponse>> ListChatAgentsAsync(
int? limit = default,
string? paginationKey = default,
int? paginationKeyVersion = default,
bool? isLatest = default,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#nullable enable

namespace RetellAI
{
public partial interface IRetellAiClient
{
/// <summary>
/// List chats with unified cursor pagination response and total count.
/// </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.AllOf<global::RetellAI.PaginatedResponseBase, global::RetellAI.ListChatsV3Response2>> ListChatsV3Async(

global::RetellAI.ListChatsV3Request request,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// List chats with unified cursor pagination response and total count.
/// </summary>
/// <param name="filterCriteria">
/// Filter criteria for chats to retrieve.
/// </param>
/// <param name="sortOrder">
/// Sort chats by `start_timestamp` in ascending or descending order.<br/>
/// Default Value: descending
/// </param>
/// <param name="limit">
/// Maximum number of chats to return.<br/>
/// Default Value: 50
/// </param>
/// <param name="skip">
/// Number of records to skip for pagination.<br/>
/// Default Value: 0
/// </param>
/// <param name="paginationKey">
/// Opaque pagination cursor from a previous response.
/// </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.AllOf<global::RetellAI.PaginatedResponseBase, global::RetellAI.ListChatsV3Response2>> ListChatsV3Async(
object? filterCriteria = default,
global::RetellAI.ListChatsV3RequestSortOrder? sortOrder = default,
int? limit = default,
int? skip = default,
string? paginationKey = default,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ public partial interface IRetellAiClient
/// <param name="type"></param>
/// <param name="llmId"></param>
/// <param name="conversationFlowId"></param>
/// <param name="version"></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::System.Collections.Generic.IList<global::RetellAI.TestCaseDefinition>> ListTestCaseDefinitionsAsync(
global::RetellAI.ListTestCaseDefinitionsType type,
string? llmId = default,
string? conversationFlowId = default,
int? version = default,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ public partial interface IRetellAiClient
/// <param name="type"></param>
/// <param name="llmId"></param>
/// <param name="conversationFlowId"></param>
/// <param name="version"></param>
/// <param name="limit">
/// Default Value: 50
/// </param>
Expand All @@ -22,7 +21,6 @@ public partial interface IRetellAiClient
global::RetellAI.ListTestCaseDefinitionsV2Type type,
string? llmId = default,
string? conversationFlowId = default,
int? version = default,
int? limit = default,
string? paginationKey = default,
global::RetellAI.AutoSDKRequestOptions? requestOptions = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ public partial interface IRetellAiClient
/// <param name="pronunciationDictionary">
/// A list of words / phrases and their pronunciation to be used to guide the audio synthesize for consistent pronunciation. Check the dashboard to see what provider supports this feature. Set to null to remove pronunciation dictionary from this agent.
/// </param>
/// <param name="normalizeForSpeech">
/// If set to true, will normalize the some part of text (number, currency, date, etc) to spoken to its spoken form for more consistent speech synthesis (sometimes the voice synthesize system itself might read these wrong with the raw text). For example, it will convert "Call my number 2137112342 on Jul 5th, 2024 for the $24.12 payment" to "Call my number two one three seven one one two three four two on july fifth, twenty twenty four for the twenty four dollars twelve cents payment" before starting audio generation.<br/>
/// Example: true
/// </param>
/// <param name="endCallAfterSilenceMs">
/// If users stay silent for a period after agent speech, end the call. The minimum value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).<br/>
/// Example: 600000
Expand Down Expand Up @@ -286,7 +282,6 @@ public partial interface IRetellAiClient
bool? optInSignedUrl = default,
int? signedUrlExpirationMs = default,
global::System.Collections.Generic.IList<global::RetellAI.AgentRequestPronunciationDictionaryItem>? pronunciationDictionary = default,
bool? normalizeForSpeech = default,
int? endCallAfterSilenceMs = default,
int? maxCallDurationMs = default,
string? voicemailMessage = default,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#nullable enable

#pragma warning disable CS0618 // Type or member is obsolete

namespace RetellAI
{
public partial interface IRetellAiClient
Expand All @@ -28,15 +26,11 @@ public partial interface IRetellAiClient
/// <param name="phoneNumber">
/// Example: +14157774444
/// </param>
/// <param name="outboundAgentVersion">
/// Version of the outbound agent to bind to the number. If not provided, will default to latest version.<br/>
/// Example: 1
/// </param>
/// <param name="inboundAgents">
/// Inbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each inbound call, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to inbound_agent_id.
/// Inbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each inbound call, with probability proportional to the weight. Total weights must add up to 1.
/// </param>
/// <param name="outboundAgents">
/// Outbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each outbound call, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to outbound_agent_id.
/// Outbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each outbound call, with probability proportional to the weight. Total weights must add up to 1.
/// </param>
/// <param name="inboundSmsAgents">
/// Inbound SMS agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each inbound SMS, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to inbound_sms_agent_id.
Expand Down Expand Up @@ -89,7 +83,6 @@ public partial interface IRetellAiClient
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::RetellAI.PhoneNumberResponse> UpdatePhoneNumberAsync(
string phoneNumber,
int? outboundAgentVersion = default,
global::System.Collections.Generic.IList<global::RetellAI.AgentWeight>? inboundAgents = default,
global::System.Collections.Generic.IList<global::RetellAI.AgentWeight>? outboundAgents = default,
global::System.Collections.Generic.IList<global::RetellAI.AgentWeight>? inboundSmsAgents = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public class AgentResponseJsonConverter : global::System.Text.Json.Serialization
if (__jsonProps.Contains("ivr_option.action")) __score1++;
if (__jsonProps.Contains("language")) __score1++;
if (__jsonProps.Contains("max_call_duration_ms")) __score1++;
if (__jsonProps.Contains("normalize_for_speech")) __score1++;
if (__jsonProps.Contains("opt_in_signed_url")) __score1++;
if (__jsonProps.Contains("pii_config")) __score1++;
if (__jsonProps.Contains("pii_config.categories")) __score1++;
Expand Down
Loading
Loading