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
42 changes: 42 additions & 0 deletions src/libs/Speechify/Generated/Speechify.Models.TtsConversation.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,28 @@ public sealed partial class TtsConversation
[global::System.Text.Json.Serialization.JsonPropertyName("caller_identity")]
public string? CallerIdentity { get; set; }

/// <summary>
/// E.164 of the phone number that placed the call. For<br/>
/// `sip_outbound` this is the workspace number used as the<br/>
/// caller ID; for `sip_inbound` it is the external caller's<br/>
/// number. Null for `web` conversations and for older<br/>
/// outbound rows, where the dialing caller id was not recorded<br/>
/// before this field existed.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("from_number")]
public string? FromNumber { get; set; }

/// <summary>
/// E.164 of the phone number that received the call. For<br/>
/// `sip_outbound` this is the external callee; for<br/>
/// `sip_inbound` it is the workspace number the caller<br/>
/// dialed. Null for `web` conversations and for legacy<br/>
/// inbound rows whose room name did not embed the dialed<br/>
/// number.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("to_number")]
public string? ToNumber { get; set; }

/// <summary>
/// Frozen snapshot of the agent's configuration at create<br/>
/// time. Populated only on detail responses; list responses<br/>
Expand Down Expand Up @@ -306,6 +328,22 @@ public sealed partial class TtsConversation
/// pivot memories by `(agent_id, caller_identity)`. Empty<br/>
/// string for anonymous widget sessions.
/// </param>
/// <param name="fromNumber">
/// E.164 of the phone number that placed the call. For<br/>
/// `sip_outbound` this is the workspace number used as the<br/>
/// caller ID; for `sip_inbound` it is the external caller's<br/>
/// number. Null for `web` conversations and for older<br/>
/// outbound rows, where the dialing caller id was not recorded<br/>
/// before this field existed.
/// </param>
/// <param name="toNumber">
/// E.164 of the phone number that received the call. For<br/>
/// `sip_outbound` this is the external callee; for<br/>
/// `sip_inbound` it is the workspace number the caller<br/>
/// dialed. Null for `web` conversations and for legacy<br/>
/// inbound rows whose room name did not embed the dialed<br/>
/// number.
/// </param>
/// <param name="agentSnapshot">
/// Frozen snapshot of the agent's configuration at create<br/>
/// time. Populated only on detail responses; list responses<br/>
Expand Down Expand Up @@ -370,6 +408,8 @@ public TtsConversation(
global::System.DateTime? recordingStartedAt,
global::Speechify.TtsConversationEndReason? endReason,
string? callerIdentity,
string? fromNumber,
string? toNumber,
global::Speechify.TtsAgentSnapshot? agentSnapshot,
object? dynamicVariables,
string? ivrMenuId,
Expand All @@ -392,6 +432,8 @@ public TtsConversation(
this.EndReason = endReason;
this.Metadata = metadata ?? throw new global::System.ArgumentNullException(nameof(metadata));
this.CallerIdentity = callerIdentity;
this.FromNumber = fromNumber;
this.ToNumber = toNumber;
this.AgentSnapshot = agentSnapshot;
this.DynamicVariables = dynamicVariables;
this.MessageCount = messageCount;
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Speechify/openapi.yaml

Large diffs are not rendered by default.