Skip to content

Commit 25e3f4a

Browse files
committed
Release 0.8.2
1 parent 90df368 commit 25e3f4a

File tree

686 files changed

+8143
-2347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

686 files changed

+8143
-2347
lines changed

src/Vapi.Net.sln

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.0.31903.59
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vapi.Net", "Vapi.Net\Vapi.Net.csproj", "{B7822B17-E7D4-4F82-A255-BAE4080C361A}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vapi.Net", "Vapi.Net\Vapi.Net.csproj", "{9ACE15F5-3E83-4328-A360-4A442AF66591}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vapi.Net.Test", "Vapi.Net.Test\Vapi.Net.Test.csproj", "{0CBE75AE-B4F0-450F-8577-7EFCC284FE08}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vapi.Net.Test", "Vapi.Net.Test\Vapi.Net.Test.csproj", "{60260668-093D-4F1C-8377-6792D0C4CB84}"
99
EndProject
1010
Global
1111
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
1616
HideSolutionNode = FALSE
1717
EndGlobalSection
1818
GlobalSection(ProjectConfigurationPlatforms) = postSolution
19-
{B7822B17-E7D4-4F82-A255-BAE4080C361A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20-
{B7822B17-E7D4-4F82-A255-BAE4080C361A}.Debug|Any CPU.Build.0 = Debug|Any CPU
21-
{B7822B17-E7D4-4F82-A255-BAE4080C361A}.Release|Any CPU.ActiveCfg = Release|Any CPU
22-
{B7822B17-E7D4-4F82-A255-BAE4080C361A}.Release|Any CPU.Build.0 = Release|Any CPU
23-
{0CBE75AE-B4F0-450F-8577-7EFCC284FE08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24-
{0CBE75AE-B4F0-450F-8577-7EFCC284FE08}.Debug|Any CPU.Build.0 = Debug|Any CPU
25-
{0CBE75AE-B4F0-450F-8577-7EFCC284FE08}.Release|Any CPU.ActiveCfg = Release|Any CPU
26-
{0CBE75AE-B4F0-450F-8577-7EFCC284FE08}.Release|Any CPU.Build.0 = Release|Any CPU
19+
{9ACE15F5-3E83-4328-A360-4A442AF66591}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20+
{9ACE15F5-3E83-4328-A360-4A442AF66591}.Debug|Any CPU.Build.0 = Debug|Any CPU
21+
{9ACE15F5-3E83-4328-A360-4A442AF66591}.Release|Any CPU.ActiveCfg = Release|Any CPU
22+
{9ACE15F5-3E83-4328-A360-4A442AF66591}.Release|Any CPU.Build.0 = Release|Any CPU
23+
{60260668-093D-4F1C-8377-6792D0C4CB84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24+
{60260668-093D-4F1C-8377-6792D0C4CB84}.Debug|Any CPU.Build.0 = Debug|Any CPU
25+
{60260668-093D-4F1C-8377-6792D0C4CB84}.Release|Any CPU.ActiveCfg = Release|Any CPU
26+
{60260668-093D-4F1C-8377-6792D0C4CB84}.Release|Any CPU.Build.0 = Release|Any CPU
2727
EndGlobalSection
2828
EndGlobal

src/Vapi.Net/Analytics/Requests/AnalyticsQueryDto.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
namespace Vapi.Net;
55

6+
[Serializable]
67
public record AnalyticsQueryDto
78
{
89
/// <summary>

src/Vapi.Net/Assistants/Requests/AssistantsListRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
namespace Vapi.Net;
55

6+
[Serializable]
67
public record AssistantsListRequest
78
{
89
/// <summary>

src/Vapi.Net/Assistants/Requests/UpdateAssistantDto.cs

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace Vapi.Net;
66

7+
[Serializable]
78
public record UpdateAssistantDto
89
{
910
/// <summary>
@@ -118,8 +119,9 @@ public record UpdateAssistantDto
118119
public IEnumerable<TransportConfigurationTwilio>? TransportConfigurations { get; set; }
119120

120121
/// <summary>
121-
/// This is the plan for observability configuration of assistant's calls.
122-
/// Currently supports Langfuse for tracing and monitoring.
122+
/// This is the plan for observability of assistant's calls.
123+
///
124+
/// Currently, only Langfuse is supported.
123125
/// </summary>
124126
[JsonPropertyName("observabilityPlan")]
125127
public LangfuseObservabilityPlan? ObservabilityPlan { get; set; }
@@ -175,6 +177,22 @@ public record UpdateAssistantDto
175177
[JsonPropertyName("metadata")]
176178
public object? Metadata { get; set; }
177179

180+
/// <summary>
181+
/// This enables filtering of noise and background speech while the user is talking.
182+
///
183+
/// Features:
184+
/// - Smart denoising using Krisp
185+
/// - Fourier denoising
186+
///
187+
/// Smart denoising can be combined with or used independently of Fourier denoising.
188+
///
189+
/// Order of precedence:
190+
/// - Smart denoising
191+
/// - Fourier denoising
192+
/// </summary>
193+
[JsonPropertyName("backgroundSpeechDenoisingPlan")]
194+
public BackgroundSpeechDenoisingPlan? BackgroundSpeechDenoisingPlan { get; set; }
195+
178196
/// <summary>
179197
/// This is the plan for analysis of assistant's calls. Stored in `call.analysis`.
180198
/// </summary>
@@ -183,8 +201,6 @@ public record UpdateAssistantDto
183201

184202
/// <summary>
185203
/// This is the plan for artifacts generated during assistant's calls. Stored in `call.artifact`.
186-
///
187-
/// Note: `recordingEnabled` is currently at the root level. It will be moved to `artifactPlan` in the future, but will remain backwards compatible.
188204
/// </summary>
189205
[JsonPropertyName("artifactPlan")]
190206
public ArtifactPlan? ArtifactPlan { get; set; }
@@ -227,8 +243,6 @@ public record UpdateAssistantDto
227243
/// Usage:
228244
/// - To enable live listening of the assistant's calls, set `monitorPlan.listenEnabled` to `true`.
229245
/// - To enable live control of the assistant's calls, set `monitorPlan.controlEnabled` to `true`.
230-
///
231-
/// Note, `serverMessages`, `clientMessages`, `serverUrl` and `serverUrlSecret` are currently at the root level but will be moved to `monitorPlan` in the future. Will remain backwards compatible
232246
/// </summary>
233247
[JsonPropertyName("monitorPlan")]
234248
public MonitorPlan? MonitorPlan { get; set; }
Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,60 @@
1+
using System.Runtime.Serialization;
12
using System.Text.Json.Serialization;
23
using Vapi.Net.Core;
3-
using System.Runtime.Serialization;
44

55
namespace Vapi.Net;
66

77
[JsonConverter(typeof(EnumSerializer<UpdateAssistantDtoServerMessagesItem>))]
88
public enum UpdateAssistantDtoServerMessagesItem
99
{
10-
[EnumMember(Value = "conversation-update")]ConversationUpdate,
10+
[EnumMember(Value = "conversation-update")]
11+
ConversationUpdate,
1112

12-
[EnumMember(Value = "end-of-call-report")]EndOfCallReport,
13+
[EnumMember(Value = "end-of-call-report")]
14+
EndOfCallReport,
1315

14-
[EnumMember(Value = "function-call")]FunctionCall,
16+
[EnumMember(Value = "function-call")]
17+
FunctionCall,
1518

16-
[EnumMember(Value = "hang")]Hang,
19+
[EnumMember(Value = "hang")]
20+
Hang,
1721

18-
[EnumMember(Value = "language-changed")]LanguageChanged,
22+
[EnumMember(Value = "language-changed")]
23+
LanguageChanged,
1924

20-
[EnumMember(Value = "language-change-detected")]LanguageChangeDetected,
25+
[EnumMember(Value = "language-change-detected")]
26+
LanguageChangeDetected,
2127

22-
[EnumMember(Value = "model-output")]ModelOutput,
28+
[EnumMember(Value = "model-output")]
29+
ModelOutput,
2330

24-
[EnumMember(Value = "phone-call-control")]PhoneCallControl,
31+
[EnumMember(Value = "phone-call-control")]
32+
PhoneCallControl,
2533

26-
[EnumMember(Value = "speech-update")]SpeechUpdate,
34+
[EnumMember(Value = "speech-update")]
35+
SpeechUpdate,
2736

28-
[EnumMember(Value = "status-update")]StatusUpdate,
37+
[EnumMember(Value = "status-update")]
38+
StatusUpdate,
2939

30-
[EnumMember(Value = "transcript")]Transcript,
40+
[EnumMember(Value = "transcript")]
41+
Transcript,
3142

32-
[EnumMember(Value = "transcript[transcriptType="final"]")]TranscriptTranscriptTypeFinal,
43+
[EnumMember(Value = "transcript[transcriptType=\"final\"]")]
44+
TranscriptTranscriptTypeFinal,
3345

34-
[EnumMember(Value = "tool-calls")]ToolCalls,
46+
[EnumMember(Value = "tool-calls")]
47+
ToolCalls,
3548

36-
[EnumMember(Value = "transfer-destination-request")]TransferDestinationRequest,
49+
[EnumMember(Value = "transfer-destination-request")]
50+
TransferDestinationRequest,
3751

38-
[EnumMember(Value = "transfer-update")]TransferUpdate,
52+
[EnumMember(Value = "transfer-update")]
53+
TransferUpdate,
3954

40-
[EnumMember(Value = "user-interrupted")]UserInterrupted,
55+
[EnumMember(Value = "user-interrupted")]
56+
UserInterrupted,
4157

42-
[EnumMember(Value = "voice-input")]VoiceInput
58+
[EnumMember(Value = "voice-input")]
59+
VoiceInput,
4360
}

src/Vapi.Net/Calls/Requests/CallsListRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
namespace Vapi.Net;
55

6+
[Serializable]
67
public record CallsListRequest
78
{
89
/// <summary>

src/Vapi.Net/Calls/Requests/CreateCallDto.cs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
namespace Vapi.Net;
55

6+
[Serializable]
67
public record CreateCallDto
78
{
89
/// <summary>
@@ -82,8 +83,6 @@ public record CreateCallDto
8283
public CreateSquadDto? Squad { get; set; }
8384

8485
/// <summary>
85-
/// [BETA] This feature is in active development. The API and behavior are subject to change as we refine it based on user feedback.
86-
///
8786
/// This is the workflow that will be used for the call. To use a transient workflow, use `workflow` instead.
8887
///
8988
/// To start a call with:
@@ -95,8 +94,6 @@ public record CreateCallDto
9594
public string? WorkflowId { get; set; }
9695

9796
/// <summary>
98-
/// [BETA] This feature is in active development. The API and behavior are subject to change as we refine it based on user feedback.
99-
///
10097
/// This is a workflow that will be used for the call. To use an existing workflow, use `workflowId` instead.
10198
///
10299
/// To start a call with:
@@ -107,6 +104,12 @@ public record CreateCallDto
107104
[JsonPropertyName("workflow")]
108105
public CreateWorkflowDto? Workflow { get; set; }
109106

107+
/// <summary>
108+
/// These are the overrides for the `workflow` or `workflowId`'s settings and template variables.
109+
/// </summary>
110+
[JsonPropertyName("workflowOverrides")]
111+
public WorkflowOverrides? WorkflowOverrides { get; set; }
112+
110113
/// <summary>
111114
/// This is the phone number that will be used for the call. To use a transient number, use `phoneNumber` instead.
112115
///

src/Vapi.Net/Calls/Requests/UpdateCallDto.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
namespace Vapi.Net;
55

6+
[Serializable]
67
public record UpdateCallDto
78
{
89
/// <summary>

0 commit comments

Comments
 (0)