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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions src/libs/RetellAI/Generated/RetellAI.AllOf.2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public bool TryPickValue1(
return IsValue1;
}

/// <summary>
///
/// </summary>
public T1 PickValue1() => IsValue1
? Value1!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -67,6 +74,13 @@ public bool TryPickValue2(
value = Value2;
return IsValue2;
}

/// <summary>
///
/// </summary>
public T2 PickValue2() => IsValue2
? Value2!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ public AddCommunityVoiceRequest(
public AddCommunityVoiceRequest()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AddCommunityVoiceResponse(
public AddCommunityVoiceResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AddCommunityVoiceResponse2(
public AddCommunityVoiceResponse2()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AddCommunityVoiceResponse3(
public AddCommunityVoiceResponse3()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AddCommunityVoiceResponse4(
public AddCommunityVoiceResponse4()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AddKnowledgeBaseSourcesResponse(
public AddKnowledgeBaseSourcesResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AddKnowledgeBaseSourcesResponse2(
public AddKnowledgeBaseSourcesResponse2()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AddKnowledgeBaseSourcesResponse3(
public AddKnowledgeBaseSourcesResponse3()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AddKnowledgeBaseSourcesResponse4(
public AddKnowledgeBaseSourcesResponse4()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AddKnowledgeBaseSourcesResponse5(
public AddKnowledgeBaseSourcesResponse5()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ public AgentFilter(
public AgentFilter()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@ public AgentNaturalnessAnalysis(
public AgentNaturalnessAnalysis()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@ public AgentOverrideConfig(
public AgentOverrideConfig()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@ public AgentOverrideRequest(
public AgentOverrideRequest()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,6 @@ public AgentPlaygroundCompletionRequest(
public AgentPlaygroundCompletionRequest()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ public sealed partial class AgentPlaygroundCompletionRequestDynamicVariables
/// </summary>
[global::System.Text.Json.Serialization.JsonExtensionData]
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,6 @@ public AgentPlaygroundCompletionResponse(
public AgentPlaygroundCompletionResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AgentPlaygroundCompletionResponse2(
public AgentPlaygroundCompletionResponse2()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AgentPlaygroundCompletionResponse3(
public AgentPlaygroundCompletionResponse3()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AgentPlaygroundCompletionResponse4(
public AgentPlaygroundCompletionResponse4()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AgentPlaygroundCompletionResponse5(
public AgentPlaygroundCompletionResponse5()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AgentPlaygroundCompletionResponse6(
public AgentPlaygroundCompletionResponse6()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AgentPlaygroundCompletionResponse7(
public AgentPlaygroundCompletionResponse7()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ public sealed partial class AgentPlaygroundCompletionResponseDynamicVariables
/// </summary>
[global::System.Text.Json.Serialization.JsonExtensionData]
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -812,5 +812,6 @@ public AgentRequest(
public AgentRequest()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@ public AgentRequestCustomSttConfig(
public AgentRequestCustomSttConfig()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public AgentRequestIvrOption(
public AgentRequestIvrOption()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@ public AgentRequestPronunciationDictionaryItem(
public AgentRequestPronunciationDictionaryItem()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@ public AgentRequestUserDtmfOptions(
public AgentRequestUserDtmfOptions()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ public AgentRequestVoicemailOption(
public AgentRequestVoicemailOption()
{
}

}
}
21 changes: 21 additions & 0 deletions src/libs/RetellAI/Generated/RetellAI.Models.AgentResponse.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ public bool TryPickAgentResponseVariant1(
return IsAgentResponseVariant1;
}

/// <summary>
///
/// </summary>
public global::RetellAI.AgentResponseVariant1 PickAgentResponseVariant1() => IsAgentResponseVariant1
? AgentResponseVariant1!
: throw new global::System.InvalidOperationException($"Expected union variant 'AgentResponseVariant1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -69,6 +76,13 @@ public bool TryPickRequest(
return IsRequest;
}

/// <summary>
///
/// </summary>
public global::RetellAI.AgentRequest PickRequest() => IsRequest
? Request!
: throw new global::System.InvalidOperationException($"Expected union variant 'Request' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -98,6 +112,13 @@ public bool TryPickAgentResponseVariant3(
value = AgentResponseVariant3;
return IsAgentResponseVariant3;
}

/// <summary>
///
/// </summary>
public global::RetellAI.AgentResponseVariant3 PickAgentResponseVariant3() => IsAgentResponseVariant3
? AgentResponseVariant3!
: throw new global::System.InvalidOperationException($"Expected union variant 'AgentResponseVariant3' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,6 @@ public AgentResponseVariant1(
public AgentResponseVariant1()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ public AgentResponseVariant3(
public AgentResponseVariant3()
{
}

}
}
14 changes: 14 additions & 0 deletions src/libs/RetellAI/Generated/RetellAI.Models.AgentSwapNode.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ public bool TryPickBase(
return IsBase;
}

/// <summary>
///
/// </summary>
public global::RetellAI.NodeBase PickBase() => IsBase
? Base!.Value
: throw new global::System.InvalidOperationException($"Expected union variant 'Base' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -68,6 +75,13 @@ public bool TryPickAgentSwapNodeVariant2(
value = AgentSwapNodeVariant2;
return IsAgentSwapNodeVariant2;
}

/// <summary>
///
/// </summary>
public global::RetellAI.AgentSwapNodeVariant2 PickAgentSwapNodeVariant2() => IsAgentSwapNodeVariant2
? AgentSwapNodeVariant2!
: throw new global::System.InvalidOperationException($"Expected union variant 'AgentSwapNodeVariant2' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,6 @@ public AgentSwapNodeVariant2(
public AgentSwapNodeVariant2()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,6 @@ public AgentSwapTool(
public AgentSwapTool()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ public bool TryPickAgentVersionReferenceVariant1(
return IsAgentVersionReferenceVariant1;
}

/// <summary>
///
/// </summary>
public int PickAgentVersionReferenceVariant1() => IsAgentVersionReferenceVariant1
? AgentVersionReferenceVariant1!.Value
: throw new global::System.InvalidOperationException($"Expected union variant 'AgentVersionReferenceVariant1' but the value was {ToString()}.");

/// <summary>
/// Example: prod
/// </summary>
Expand Down Expand Up @@ -68,6 +75,13 @@ public bool TryPickAgentVersionReferenceVariant2(
value = AgentVersionReferenceVariant2;
return IsAgentVersionReferenceVariant2;
}

/// <summary>
///
/// </summary>
public string PickAgentVersionReferenceVariant2() => IsAgentVersionReferenceVariant2
? AgentVersionReferenceVariant2!
: throw new global::System.InvalidOperationException($"Expected union variant 'AgentVersionReferenceVariant2' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
Loading