diff --git a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerCreate.g.cs b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerCreate.g.cs
index 63909a1c..56cf522e 100644
--- a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerCreate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerCreate.g.cs
@@ -569,9 +569,9 @@ partial void ProcessAssistantControllerCreateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task AssistantControllerCreateAsync(
- global::Vapi.OneOf? transcriber = default,
+ global::Vapi.OneOf? transcriber = default,
global::Vapi.OneOf? model = default,
- global::Vapi.OneOf? voice = default,
+ global::Vapi.OneOf? voice = default,
string? firstMessage = default,
bool? firstMessageInterruptionsEnabled = default,
global::Vapi.CreateAssistantDTOFirstMessageMode? firstMessageMode = default,
diff --git a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerFindOne.g.cs
index 04a2c6b9..5d91caf8 100644
--- a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerFindOne.g.cs
@@ -27,11 +27,11 @@ public partial class AssistantsClient
};
partial void PrepareAssistantControllerFindOneArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareAssistantControllerFindOneRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessAssistantControllerFindOneResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessAssistantControllerFindOneResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task AssistantControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessAssistantControllerFindOneResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> AssistantControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerRemove.g.cs
index e8679cb2..415939f6 100644
--- a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerRemove.g.cs
@@ -27,11 +27,11 @@ public partial class AssistantsClient
};
partial void PrepareAssistantControllerRemoveArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareAssistantControllerRemoveRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessAssistantControllerRemoveResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessAssistantControllerRemoveResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task AssistantControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessAssistantControllerRemoveResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> AssistantControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerUpdate.g.cs
index 6aabd1f8..674dae90 100644
--- a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerUpdate.g.cs
@@ -27,12 +27,12 @@ public partial class AssistantsClient
};
partial void PrepareAssistantControllerUpdateArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id,
+ ref global::System.Guid id,
global::Vapi.UpdateAssistantDTO request);
partial void PrepareAssistantControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id,
+ global::System.Guid id,
global::Vapi.UpdateAssistantDTO request);
partial void ProcessAssistantControllerUpdateResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -52,7 +52,7 @@ partial void ProcessAssistantControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task AssistantControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateAssistantDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -77,7 +77,7 @@ partial void ProcessAssistantControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> AssistantControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateAssistantDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -579,10 +579,10 @@ partial void ProcessAssistantControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task AssistantControllerUpdateAsync(
- string id,
- global::Vapi.OneOf? transcriber = default,
+ global::System.Guid id,
+ global::Vapi.OneOf? transcriber = default,
global::Vapi.OneOf? model = default,
- global::Vapi.OneOf? voice = default,
+ global::Vapi.OneOf? voice = default,
string? firstMessage = default,
bool? firstMessageInterruptionsEnabled = default,
global::Vapi.UpdateAssistantDTOFirstMessageMode? firstMessageMode = default,
diff --git a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerAssistantRecordingDownload.g.cs b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerAssistantRecordingDownload.g.cs
new file mode 100644
index 00000000..de91d504
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerAssistantRecordingDownload.g.cs
@@ -0,0 +1,497 @@
+
+#nullable enable
+
+namespace Vapi
+{
+ public partial class CallsClient
+ {
+
+
+ private static readonly global::Vapi.EndPointSecurityRequirement s_CallArtifactControllerAssistantRecordingDownloadSecurityRequirement0 =
+ new global::Vapi.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vapi.EndPointAuthorizationRequirement[]
+ { new global::Vapi.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vapi.EndPointSecurityRequirement[] s_CallArtifactControllerAssistantRecordingDownloadSecurityRequirements =
+ new global::Vapi.EndPointSecurityRequirement[]
+ { s_CallArtifactControllerAssistantRecordingDownloadSecurityRequirement0,
+ };
+ partial void PrepareCallArtifactControllerAssistantRecordingDownloadArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref global::System.Guid id);
+ partial void PrepareCallArtifactControllerAssistantRecordingDownloadRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ global::System.Guid id);
+ partial void ProcessCallArtifactControllerAssistantRecordingDownloadResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ ///
+ /// Download Call Assistant Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerAssistantRecordingDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ await CallArtifactControllerAssistantRecordingDownloadAsResponseAsync(
+ id: id,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+ }
+ ///
+ /// Download Call Assistant Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerAssistantRecordingDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareCallArtifactControllerAssistantRecordingDownloadArguments(
+ httpClient: HttpClient,
+ id: ref id);
+
+
+ var __authorizations = global::Vapi.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CallArtifactControllerAssistantRecordingDownloadSecurityRequirements,
+ operationName: "CallArtifactControllerAssistantRecordingDownloadAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vapi.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vapi.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vapi.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vapi.PathBuilder(
+ path: $"/call/{id}/assistant-recording",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vapi.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Get,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vapi.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareCallArtifactControllerAssistantRecordingDownloadRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ id: id!);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerAssistantRecordingDownload",
+ methodName: "CallArtifactControllerAssistantRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/assistant-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerAssistantRecordingDownload",
+ methodName: "CallArtifactControllerAssistantRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/assistant-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vapi.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerAssistantRecordingDownload",
+ methodName: "CallArtifactControllerAssistantRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/assistant-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessCallArtifactControllerAssistantRecordingDownloadResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerAssistantRecordingDownload",
+ methodName: "CallArtifactControllerAssistantRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/assistant-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerAssistantRecordingDownload",
+ methodName: "CallArtifactControllerAssistantRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/assistant-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 302)
+ {
+ string? __content_302 = null;
+ global::System.Exception? __exception_302 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_302 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_302 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_302,
+ responseBody: __content_302,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerCallLogsDownload.g.cs b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerCallLogsDownload.g.cs
new file mode 100644
index 00000000..fd0daa79
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerCallLogsDownload.g.cs
@@ -0,0 +1,497 @@
+
+#nullable enable
+
+namespace Vapi
+{
+ public partial class CallsClient
+ {
+
+
+ private static readonly global::Vapi.EndPointSecurityRequirement s_CallArtifactControllerCallLogsDownloadSecurityRequirement0 =
+ new global::Vapi.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vapi.EndPointAuthorizationRequirement[]
+ { new global::Vapi.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vapi.EndPointSecurityRequirement[] s_CallArtifactControllerCallLogsDownloadSecurityRequirements =
+ new global::Vapi.EndPointSecurityRequirement[]
+ { s_CallArtifactControllerCallLogsDownloadSecurityRequirement0,
+ };
+ partial void PrepareCallArtifactControllerCallLogsDownloadArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref global::System.Guid id);
+ partial void PrepareCallArtifactControllerCallLogsDownloadRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ global::System.Guid id);
+ partial void ProcessCallArtifactControllerCallLogsDownloadResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ ///
+ /// Download Call Logs
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerCallLogsDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ await CallArtifactControllerCallLogsDownloadAsResponseAsync(
+ id: id,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+ }
+ ///
+ /// Download Call Logs
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerCallLogsDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareCallArtifactControllerCallLogsDownloadArguments(
+ httpClient: HttpClient,
+ id: ref id);
+
+
+ var __authorizations = global::Vapi.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CallArtifactControllerCallLogsDownloadSecurityRequirements,
+ operationName: "CallArtifactControllerCallLogsDownloadAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vapi.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vapi.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vapi.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vapi.PathBuilder(
+ path: $"/call/{id}/call-logs",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vapi.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Get,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vapi.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareCallArtifactControllerCallLogsDownloadRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ id: id!);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerCallLogsDownload",
+ methodName: "CallArtifactControllerCallLogsDownloadAsync",
+ pathTemplate: "$\"/call/{id}/call-logs\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerCallLogsDownload",
+ methodName: "CallArtifactControllerCallLogsDownloadAsync",
+ pathTemplate: "$\"/call/{id}/call-logs\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vapi.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerCallLogsDownload",
+ methodName: "CallArtifactControllerCallLogsDownloadAsync",
+ pathTemplate: "$\"/call/{id}/call-logs\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessCallArtifactControllerCallLogsDownloadResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerCallLogsDownload",
+ methodName: "CallArtifactControllerCallLogsDownloadAsync",
+ pathTemplate: "$\"/call/{id}/call-logs\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerCallLogsDownload",
+ methodName: "CallArtifactControllerCallLogsDownloadAsync",
+ pathTemplate: "$\"/call/{id}/call-logs\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 302)
+ {
+ string? __content_302 = null;
+ global::System.Exception? __exception_302 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_302 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_302 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_302,
+ responseBody: __content_302,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerCustomerRecordingDownload.g.cs b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerCustomerRecordingDownload.g.cs
new file mode 100644
index 00000000..05ee1b5f
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerCustomerRecordingDownload.g.cs
@@ -0,0 +1,497 @@
+
+#nullable enable
+
+namespace Vapi
+{
+ public partial class CallsClient
+ {
+
+
+ private static readonly global::Vapi.EndPointSecurityRequirement s_CallArtifactControllerCustomerRecordingDownloadSecurityRequirement0 =
+ new global::Vapi.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vapi.EndPointAuthorizationRequirement[]
+ { new global::Vapi.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vapi.EndPointSecurityRequirement[] s_CallArtifactControllerCustomerRecordingDownloadSecurityRequirements =
+ new global::Vapi.EndPointSecurityRequirement[]
+ { s_CallArtifactControllerCustomerRecordingDownloadSecurityRequirement0,
+ };
+ partial void PrepareCallArtifactControllerCustomerRecordingDownloadArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref global::System.Guid id);
+ partial void PrepareCallArtifactControllerCustomerRecordingDownloadRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ global::System.Guid id);
+ partial void ProcessCallArtifactControllerCustomerRecordingDownloadResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ ///
+ /// Download Call Customer Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerCustomerRecordingDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ await CallArtifactControllerCustomerRecordingDownloadAsResponseAsync(
+ id: id,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+ }
+ ///
+ /// Download Call Customer Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerCustomerRecordingDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareCallArtifactControllerCustomerRecordingDownloadArguments(
+ httpClient: HttpClient,
+ id: ref id);
+
+
+ var __authorizations = global::Vapi.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CallArtifactControllerCustomerRecordingDownloadSecurityRequirements,
+ operationName: "CallArtifactControllerCustomerRecordingDownloadAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vapi.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vapi.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vapi.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vapi.PathBuilder(
+ path: $"/call/{id}/customer-recording",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vapi.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Get,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vapi.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareCallArtifactControllerCustomerRecordingDownloadRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ id: id!);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerCustomerRecordingDownload",
+ methodName: "CallArtifactControllerCustomerRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/customer-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerCustomerRecordingDownload",
+ methodName: "CallArtifactControllerCustomerRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/customer-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vapi.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerCustomerRecordingDownload",
+ methodName: "CallArtifactControllerCustomerRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/customer-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessCallArtifactControllerCustomerRecordingDownloadResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerCustomerRecordingDownload",
+ methodName: "CallArtifactControllerCustomerRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/customer-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerCustomerRecordingDownload",
+ methodName: "CallArtifactControllerCustomerRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/customer-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 302)
+ {
+ string? __content_302 = null;
+ global::System.Exception? __exception_302 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_302 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_302 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_302,
+ responseBody: __content_302,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerMonoRecordingDownload.g.cs b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerMonoRecordingDownload.g.cs
new file mode 100644
index 00000000..07247526
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerMonoRecordingDownload.g.cs
@@ -0,0 +1,497 @@
+
+#nullable enable
+
+namespace Vapi
+{
+ public partial class CallsClient
+ {
+
+
+ private static readonly global::Vapi.EndPointSecurityRequirement s_CallArtifactControllerMonoRecordingDownloadSecurityRequirement0 =
+ new global::Vapi.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vapi.EndPointAuthorizationRequirement[]
+ { new global::Vapi.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vapi.EndPointSecurityRequirement[] s_CallArtifactControllerMonoRecordingDownloadSecurityRequirements =
+ new global::Vapi.EndPointSecurityRequirement[]
+ { s_CallArtifactControllerMonoRecordingDownloadSecurityRequirement0,
+ };
+ partial void PrepareCallArtifactControllerMonoRecordingDownloadArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref global::System.Guid id);
+ partial void PrepareCallArtifactControllerMonoRecordingDownloadRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ global::System.Guid id);
+ partial void ProcessCallArtifactControllerMonoRecordingDownloadResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ ///
+ /// Download Call Mono Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerMonoRecordingDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ await CallArtifactControllerMonoRecordingDownloadAsResponseAsync(
+ id: id,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+ }
+ ///
+ /// Download Call Mono Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerMonoRecordingDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareCallArtifactControllerMonoRecordingDownloadArguments(
+ httpClient: HttpClient,
+ id: ref id);
+
+
+ var __authorizations = global::Vapi.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CallArtifactControllerMonoRecordingDownloadSecurityRequirements,
+ operationName: "CallArtifactControllerMonoRecordingDownloadAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vapi.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vapi.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vapi.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vapi.PathBuilder(
+ path: $"/call/{id}/mono-recording",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vapi.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Get,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vapi.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareCallArtifactControllerMonoRecordingDownloadRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ id: id!);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerMonoRecordingDownload",
+ methodName: "CallArtifactControllerMonoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/mono-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerMonoRecordingDownload",
+ methodName: "CallArtifactControllerMonoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/mono-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vapi.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerMonoRecordingDownload",
+ methodName: "CallArtifactControllerMonoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/mono-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessCallArtifactControllerMonoRecordingDownloadResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerMonoRecordingDownload",
+ methodName: "CallArtifactControllerMonoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/mono-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerMonoRecordingDownload",
+ methodName: "CallArtifactControllerMonoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/mono-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 302)
+ {
+ string? __content_302 = null;
+ global::System.Exception? __exception_302 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_302 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_302 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_302,
+ responseBody: __content_302,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerPcapDownload.g.cs b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerPcapDownload.g.cs
new file mode 100644
index 00000000..793c2d54
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerPcapDownload.g.cs
@@ -0,0 +1,497 @@
+
+#nullable enable
+
+namespace Vapi
+{
+ public partial class CallsClient
+ {
+
+
+ private static readonly global::Vapi.EndPointSecurityRequirement s_CallArtifactControllerPcapDownloadSecurityRequirement0 =
+ new global::Vapi.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vapi.EndPointAuthorizationRequirement[]
+ { new global::Vapi.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vapi.EndPointSecurityRequirement[] s_CallArtifactControllerPcapDownloadSecurityRequirements =
+ new global::Vapi.EndPointSecurityRequirement[]
+ { s_CallArtifactControllerPcapDownloadSecurityRequirement0,
+ };
+ partial void PrepareCallArtifactControllerPcapDownloadArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref global::System.Guid id);
+ partial void PrepareCallArtifactControllerPcapDownloadRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ global::System.Guid id);
+ partial void ProcessCallArtifactControllerPcapDownloadResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ ///
+ /// Download Call Packet Capture (pcap)
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerPcapDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ await CallArtifactControllerPcapDownloadAsResponseAsync(
+ id: id,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+ }
+ ///
+ /// Download Call Packet Capture (pcap)
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerPcapDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareCallArtifactControllerPcapDownloadArguments(
+ httpClient: HttpClient,
+ id: ref id);
+
+
+ var __authorizations = global::Vapi.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CallArtifactControllerPcapDownloadSecurityRequirements,
+ operationName: "CallArtifactControllerPcapDownloadAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vapi.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vapi.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vapi.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vapi.PathBuilder(
+ path: $"/call/{id}/pcap",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vapi.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Get,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vapi.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareCallArtifactControllerPcapDownloadRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ id: id!);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerPcapDownload",
+ methodName: "CallArtifactControllerPcapDownloadAsync",
+ pathTemplate: "$\"/call/{id}/pcap\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerPcapDownload",
+ methodName: "CallArtifactControllerPcapDownloadAsync",
+ pathTemplate: "$\"/call/{id}/pcap\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vapi.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerPcapDownload",
+ methodName: "CallArtifactControllerPcapDownloadAsync",
+ pathTemplate: "$\"/call/{id}/pcap\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessCallArtifactControllerPcapDownloadResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerPcapDownload",
+ methodName: "CallArtifactControllerPcapDownloadAsync",
+ pathTemplate: "$\"/call/{id}/pcap\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerPcapDownload",
+ methodName: "CallArtifactControllerPcapDownloadAsync",
+ pathTemplate: "$\"/call/{id}/pcap\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 302)
+ {
+ string? __content_302 = null;
+ global::System.Exception? __exception_302 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_302 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_302 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_302,
+ responseBody: __content_302,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerStereoRecordingDownload.g.cs b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerStereoRecordingDownload.g.cs
new file mode 100644
index 00000000..3781c70d
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerStereoRecordingDownload.g.cs
@@ -0,0 +1,497 @@
+
+#nullable enable
+
+namespace Vapi
+{
+ public partial class CallsClient
+ {
+
+
+ private static readonly global::Vapi.EndPointSecurityRequirement s_CallArtifactControllerStereoRecordingDownloadSecurityRequirement0 =
+ new global::Vapi.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vapi.EndPointAuthorizationRequirement[]
+ { new global::Vapi.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vapi.EndPointSecurityRequirement[] s_CallArtifactControllerStereoRecordingDownloadSecurityRequirements =
+ new global::Vapi.EndPointSecurityRequirement[]
+ { s_CallArtifactControllerStereoRecordingDownloadSecurityRequirement0,
+ };
+ partial void PrepareCallArtifactControllerStereoRecordingDownloadArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref global::System.Guid id);
+ partial void PrepareCallArtifactControllerStereoRecordingDownloadRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ global::System.Guid id);
+ partial void ProcessCallArtifactControllerStereoRecordingDownloadResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ ///
+ /// Download Call Stereo Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerStereoRecordingDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ await CallArtifactControllerStereoRecordingDownloadAsResponseAsync(
+ id: id,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+ }
+ ///
+ /// Download Call Stereo Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerStereoRecordingDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareCallArtifactControllerStereoRecordingDownloadArguments(
+ httpClient: HttpClient,
+ id: ref id);
+
+
+ var __authorizations = global::Vapi.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CallArtifactControllerStereoRecordingDownloadSecurityRequirements,
+ operationName: "CallArtifactControllerStereoRecordingDownloadAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vapi.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vapi.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vapi.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vapi.PathBuilder(
+ path: $"/call/{id}/stereo-recording",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vapi.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Get,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vapi.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareCallArtifactControllerStereoRecordingDownloadRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ id: id!);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerStereoRecordingDownload",
+ methodName: "CallArtifactControllerStereoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/stereo-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerStereoRecordingDownload",
+ methodName: "CallArtifactControllerStereoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/stereo-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vapi.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerStereoRecordingDownload",
+ methodName: "CallArtifactControllerStereoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/stereo-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessCallArtifactControllerStereoRecordingDownloadResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerStereoRecordingDownload",
+ methodName: "CallArtifactControllerStereoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/stereo-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerStereoRecordingDownload",
+ methodName: "CallArtifactControllerStereoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/stereo-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 302)
+ {
+ string? __content_302 = null;
+ global::System.Exception? __exception_302 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_302 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_302 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_302,
+ responseBody: __content_302,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerVideoRecordingDownload.g.cs b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerVideoRecordingDownload.g.cs
new file mode 100644
index 00000000..29bbda0b
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerVideoRecordingDownload.g.cs
@@ -0,0 +1,497 @@
+
+#nullable enable
+
+namespace Vapi
+{
+ public partial class CallsClient
+ {
+
+
+ private static readonly global::Vapi.EndPointSecurityRequirement s_CallArtifactControllerVideoRecordingDownloadSecurityRequirement0 =
+ new global::Vapi.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vapi.EndPointAuthorizationRequirement[]
+ { new global::Vapi.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vapi.EndPointSecurityRequirement[] s_CallArtifactControllerVideoRecordingDownloadSecurityRequirements =
+ new global::Vapi.EndPointSecurityRequirement[]
+ { s_CallArtifactControllerVideoRecordingDownloadSecurityRequirement0,
+ };
+ partial void PrepareCallArtifactControllerVideoRecordingDownloadArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref global::System.Guid id);
+ partial void PrepareCallArtifactControllerVideoRecordingDownloadRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ global::System.Guid id);
+ partial void ProcessCallArtifactControllerVideoRecordingDownloadResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ ///
+ /// Download Call Video Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerVideoRecordingDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ await CallArtifactControllerVideoRecordingDownloadAsResponseAsync(
+ id: id,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+ }
+ ///
+ /// Download Call Video Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CallArtifactControllerVideoRecordingDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareCallArtifactControllerVideoRecordingDownloadArguments(
+ httpClient: HttpClient,
+ id: ref id);
+
+
+ var __authorizations = global::Vapi.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CallArtifactControllerVideoRecordingDownloadSecurityRequirements,
+ operationName: "CallArtifactControllerVideoRecordingDownloadAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vapi.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vapi.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vapi.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vapi.PathBuilder(
+ path: $"/call/{id}/video-recording",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vapi.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Get,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vapi.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareCallArtifactControllerVideoRecordingDownloadRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ id: id!);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerVideoRecordingDownload",
+ methodName: "CallArtifactControllerVideoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/video-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerVideoRecordingDownload",
+ methodName: "CallArtifactControllerVideoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/video-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vapi.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vapi.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerVideoRecordingDownload",
+ methodName: "CallArtifactControllerVideoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/video-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vapi.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessCallArtifactControllerVideoRecordingDownloadResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerVideoRecordingDownload",
+ methodName: "CallArtifactControllerVideoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/video-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vapi.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vapi.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CallArtifactControllerVideoRecordingDownload",
+ methodName: "CallArtifactControllerVideoRecordingDownloadAsync",
+ pathTemplate: "$\"/call/{id}/video-recording\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 302)
+ {
+ string? __content_302 = null;
+ global::System.Exception? __exception_302 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_302 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_302 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_302 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_302,
+ responseBody: __content_302,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ return new global::Vapi.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vapi.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vapi.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.CallsClient.CallControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.CallsClient.CallControllerFindOne.g.cs
index 3b96891e..8c0ecd6e 100644
--- a/src/libs/Vapi/Generated/Vapi.CallsClient.CallControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.CallsClient.CallControllerFindOne.g.cs
@@ -27,11 +27,11 @@ public partial class CallsClient
};
partial void PrepareCallControllerFindOneArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareCallControllerFindOneRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessCallControllerFindOneResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessCallControllerFindOneResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CallControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessCallControllerFindOneResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> CallControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.CallsClient.CallControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.CallsClient.CallControllerUpdate.g.cs
index fdd54607..0d864665 100644
--- a/src/libs/Vapi/Generated/Vapi.CallsClient.CallControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.CallsClient.CallControllerUpdate.g.cs
@@ -27,12 +27,12 @@ public partial class CallsClient
};
partial void PrepareCallControllerUpdateArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id,
+ ref global::System.Guid id,
global::Vapi.UpdateCallDTO request);
partial void PrepareCallControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id,
+ global::System.Guid id,
global::Vapi.UpdateCallDTO request);
partial void ProcessCallControllerUpdateResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -52,7 +52,7 @@ partial void ProcessCallControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CallControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateCallDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -77,7 +77,7 @@ partial void ProcessCallControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> CallControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateCallDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -451,7 +451,7 @@ partial void ProcessCallControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CallControllerUpdateAsync(
- string id,
+ global::System.Guid id,
string? name = default,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
diff --git a/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerFindOne.g.cs
index 8428a44a..505ab31e 100644
--- a/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerFindOne.g.cs
@@ -27,11 +27,11 @@ public partial class CampaignsClient
};
partial void PrepareCampaignControllerFindOneArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareCampaignControllerFindOneRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessCampaignControllerFindOneResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessCampaignControllerFindOneResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CampaignControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessCampaignControllerFindOneResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> CampaignControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerRemove.g.cs
index 827a90eb..13234661 100644
--- a/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerRemove.g.cs
@@ -27,11 +27,11 @@ public partial class CampaignsClient
};
partial void PrepareCampaignControllerRemoveArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareCampaignControllerRemoveRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessCampaignControllerRemoveResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessCampaignControllerRemoveResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CampaignControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessCampaignControllerRemoveResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> CampaignControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerUpdate.g.cs
index a610e9f0..1978e541 100644
--- a/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.CampaignsClient.CampaignControllerUpdate.g.cs
@@ -27,12 +27,12 @@ public partial class CampaignsClient
};
partial void PrepareCampaignControllerUpdateArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id,
+ ref global::System.Guid id,
global::Vapi.UpdateCampaignDTO request);
partial void PrepareCampaignControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id,
+ global::System.Guid id,
global::Vapi.UpdateCampaignDTO request);
partial void ProcessCampaignControllerUpdateResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -52,7 +52,7 @@ partial void ProcessCampaignControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CampaignControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateCampaignDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -77,7 +77,7 @@ partial void ProcessCampaignControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> CampaignControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateCampaignDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -480,7 +480,7 @@ partial void ProcessCampaignControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CampaignControllerUpdateAsync(
- string id,
+ global::System.Guid id,
string? name = default,
string? assistantId = default,
string? workflowId = default,
diff --git a/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerGet.g.cs b/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerGet.g.cs
index 138d1e67..17ac71a8 100644
--- a/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerGet.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerGet.g.cs
@@ -27,11 +27,11 @@ public partial class EvalClient
};
partial void PrepareEvalControllerGetArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareEvalControllerGetRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessEvalControllerGetResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessEvalControllerGetResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task EvalControllerGetAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessEvalControllerGetResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> EvalControllerGetAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerGetRun.g.cs b/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerGetRun.g.cs
index e8539dd0..db4771f3 100644
--- a/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerGetRun.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerGetRun.g.cs
@@ -27,11 +27,11 @@ public partial class EvalClient
};
partial void PrepareEvalControllerGetRunArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareEvalControllerGetRunRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessEvalControllerGetRunResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessEvalControllerGetRunResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task EvalControllerGetRunAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessEvalControllerGetRunResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> EvalControllerGetRunAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerRemove.g.cs
index ee9cde44..f0f5f90c 100644
--- a/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerRemove.g.cs
@@ -27,11 +27,11 @@ public partial class EvalClient
};
partial void PrepareEvalControllerRemoveArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareEvalControllerRemoveRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessEvalControllerRemoveResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessEvalControllerRemoveResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task EvalControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessEvalControllerRemoveResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> EvalControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerRemoveRun.g.cs b/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerRemoveRun.g.cs
index c589ab32..5f6e3848 100644
--- a/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerRemoveRun.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerRemoveRun.g.cs
@@ -27,11 +27,11 @@ public partial class EvalClient
};
partial void PrepareEvalControllerRemoveRunArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareEvalControllerRemoveRunRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessEvalControllerRemoveRunResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessEvalControllerRemoveRunResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task EvalControllerRemoveRunAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessEvalControllerRemoveRunResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> EvalControllerRemoveRunAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerUpdate.g.cs
index 07c4f9a2..6ca8ef5f 100644
--- a/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.EvalClient.EvalControllerUpdate.g.cs
@@ -27,12 +27,12 @@ public partial class EvalClient
};
partial void PrepareEvalControllerUpdateArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id,
+ ref global::System.Guid id,
global::Vapi.UpdateEvalDTO request);
partial void PrepareEvalControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id,
+ global::System.Guid id,
global::Vapi.UpdateEvalDTO request);
partial void ProcessEvalControllerUpdateResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -52,7 +52,7 @@ partial void ProcessEvalControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task EvalControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateEvalDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -77,7 +77,7 @@ partial void ProcessEvalControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> EvalControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateEvalDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -469,7 +469,7 @@ partial void ProcessEvalControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task EvalControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::System.Collections.Generic.IList>? messages = default,
string? name = default,
string? description = default,
diff --git a/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerFindOne.g.cs
index 78104539..d569c6ac 100644
--- a/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerFindOne.g.cs
@@ -27,11 +27,11 @@ public partial class FilesClient
};
partial void PrepareFileControllerFindOneArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareFileControllerFindOneRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessFileControllerFindOneResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessFileControllerFindOneResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task FileControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessFileControllerFindOneResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> FileControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerRemove.g.cs
index d3b82d4a..810da189 100644
--- a/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerRemove.g.cs
@@ -27,11 +27,11 @@ public partial class FilesClient
};
partial void PrepareFileControllerRemoveArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareFileControllerRemoveRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessFileControllerRemoveResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessFileControllerRemoveResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task FileControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessFileControllerRemoveResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> FileControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerUpdate.g.cs
index 29422bd9..93ac0f2c 100644
--- a/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.FilesClient.FileControllerUpdate.g.cs
@@ -27,12 +27,12 @@ public partial class FilesClient
};
partial void PrepareFileControllerUpdateArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id,
+ ref global::System.Guid id,
global::Vapi.UpdateFileDTO request);
partial void PrepareFileControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id,
+ global::System.Guid id,
global::Vapi.UpdateFileDTO request);
partial void ProcessFileControllerUpdateResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -52,7 +52,7 @@ partial void ProcessFileControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task FileControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateFileDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -77,7 +77,7 @@ partial void ProcessFileControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> FileControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateFileDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -451,7 +451,7 @@ partial void ProcessFileControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task FileControllerUpdateAsync(
- string id,
+ global::System.Guid id,
string? name = default,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
diff --git a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerCreate.g.cs b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerCreate.g.cs
index 77b3317b..7175d26b 100644
--- a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerCreate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerCreate.g.cs
@@ -166,9 +166,9 @@ public partial interface IAssistantsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task AssistantControllerCreateAsync(
- global::Vapi.OneOf? transcriber = default,
+ global::Vapi.OneOf? transcriber = default,
global::Vapi.OneOf? model = default,
- global::Vapi.OneOf? voice = default,
+ global::Vapi.OneOf? voice = default,
string? firstMessage = default,
bool? firstMessageInterruptionsEnabled = default,
global::Vapi.CreateAssistantDTOFirstMessageMode? firstMessageMode = default,
diff --git a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerFindOne.g.cs
index 027cf7e0..ffa3cb4e 100644
--- a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerFindOne.g.cs
@@ -12,7 +12,7 @@ public partial interface IAssistantsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task AssistantControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IAssistantsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> AssistantControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerRemove.g.cs
index e796ef88..f1d826db 100644
--- a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerRemove.g.cs
@@ -12,7 +12,7 @@ public partial interface IAssistantsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task AssistantControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IAssistantsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> AssistantControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerUpdate.g.cs
index 1ffe4426..c534dcaf 100644
--- a/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IAssistantsClient.AssistantControllerUpdate.g.cs
@@ -13,7 +13,7 @@ public partial interface IAssistantsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task AssistantControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateAssistantDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface IAssistantsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> AssistantControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateAssistantDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -171,10 +171,10 @@ public partial interface IAssistantsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task AssistantControllerUpdateAsync(
- string id,
- global::Vapi.OneOf? transcriber = default,
+ global::System.Guid id,
+ global::Vapi.OneOf? transcriber = default,
global::Vapi.OneOf? model = default,
- global::Vapi.OneOf? voice = default,
+ global::Vapi.OneOf? voice = default,
string? firstMessage = default,
bool? firstMessageInterruptionsEnabled = default,
global::Vapi.UpdateAssistantDTOFirstMessageMode? firstMessageMode = default,
diff --git a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerAssistantRecordingDownload.g.cs b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerAssistantRecordingDownload.g.cs
new file mode 100644
index 00000000..a30aecd6
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerAssistantRecordingDownload.g.cs
@@ -0,0 +1,30 @@
+#nullable enable
+
+namespace Vapi
+{
+ public partial interface ICallsClient
+ {
+ ///
+ /// Download Call Assistant Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerAssistantRecordingDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Download Call Assistant Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerAssistantRecordingDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerCallLogsDownload.g.cs b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerCallLogsDownload.g.cs
new file mode 100644
index 00000000..bae177f7
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerCallLogsDownload.g.cs
@@ -0,0 +1,30 @@
+#nullable enable
+
+namespace Vapi
+{
+ public partial interface ICallsClient
+ {
+ ///
+ /// Download Call Logs
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerCallLogsDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Download Call Logs
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerCallLogsDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerCustomerRecordingDownload.g.cs b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerCustomerRecordingDownload.g.cs
new file mode 100644
index 00000000..b69e1e92
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerCustomerRecordingDownload.g.cs
@@ -0,0 +1,30 @@
+#nullable enable
+
+namespace Vapi
+{
+ public partial interface ICallsClient
+ {
+ ///
+ /// Download Call Customer Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerCustomerRecordingDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Download Call Customer Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerCustomerRecordingDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerMonoRecordingDownload.g.cs b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerMonoRecordingDownload.g.cs
new file mode 100644
index 00000000..3af6a804
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerMonoRecordingDownload.g.cs
@@ -0,0 +1,30 @@
+#nullable enable
+
+namespace Vapi
+{
+ public partial interface ICallsClient
+ {
+ ///
+ /// Download Call Mono Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerMonoRecordingDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Download Call Mono Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerMonoRecordingDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerPcapDownload.g.cs b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerPcapDownload.g.cs
new file mode 100644
index 00000000..3db764fe
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerPcapDownload.g.cs
@@ -0,0 +1,30 @@
+#nullable enable
+
+namespace Vapi
+{
+ public partial interface ICallsClient
+ {
+ ///
+ /// Download Call Packet Capture (pcap)
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerPcapDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Download Call Packet Capture (pcap)
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerPcapDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerStereoRecordingDownload.g.cs b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerStereoRecordingDownload.g.cs
new file mode 100644
index 00000000..1b463d9e
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerStereoRecordingDownload.g.cs
@@ -0,0 +1,30 @@
+#nullable enable
+
+namespace Vapi
+{
+ public partial interface ICallsClient
+ {
+ ///
+ /// Download Call Stereo Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerStereoRecordingDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Download Call Stereo Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerStereoRecordingDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerVideoRecordingDownload.g.cs b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerVideoRecordingDownload.g.cs
new file mode 100644
index 00000000..a0a05e1e
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerVideoRecordingDownload.g.cs
@@ -0,0 +1,30 @@
+#nullable enable
+
+namespace Vapi
+{
+ public partial interface ICallsClient
+ {
+ ///
+ /// Download Call Video Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerVideoRecordingDownloadAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Download Call Video Recording
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CallArtifactControllerVideoRecordingDownloadAsResponseAsync(
+ global::System.Guid id,
+ global::Vapi.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallControllerFindOne.g.cs
index 5c041eaf..4c9949b8 100644
--- a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallControllerFindOne.g.cs
@@ -12,7 +12,7 @@ public partial interface ICallsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CallControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface ICallsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> CallControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallControllerUpdate.g.cs
index fa14a9ea..09170ed5 100644
--- a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ICallsClient.CallControllerUpdate.g.cs
@@ -13,7 +13,7 @@ public partial interface ICallsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CallControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateCallDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface ICallsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> CallControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateCallDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -43,7 +43,7 @@ public partial interface ICallsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CallControllerUpdateAsync(
- string id,
+ global::System.Guid id,
string? name = default,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerFindOne.g.cs
index 9882e7f8..2e279378 100644
--- a/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerFindOne.g.cs
@@ -12,7 +12,7 @@ public partial interface ICampaignsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CampaignControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface ICampaignsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> CampaignControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerRemove.g.cs
index ffc022e0..991647af 100644
--- a/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerRemove.g.cs
@@ -12,7 +12,7 @@ public partial interface ICampaignsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CampaignControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface ICampaignsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> CampaignControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerUpdate.g.cs
index 45de0d8b..b5a9ac81 100644
--- a/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ICampaignsClient.CampaignControllerUpdate.g.cs
@@ -13,7 +13,7 @@ public partial interface ICampaignsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CampaignControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateCampaignDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface ICampaignsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> CampaignControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateCampaignDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -72,7 +72,7 @@ public partial interface ICampaignsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CampaignControllerUpdateAsync(
- string id,
+ global::System.Guid id,
string? name = default,
string? assistantId = default,
string? workflowId = default,
diff --git a/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerGet.g.cs b/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerGet.g.cs
index f4cfc1b9..729cb4ca 100644
--- a/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerGet.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerGet.g.cs
@@ -12,7 +12,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task EvalControllerGetAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> EvalControllerGetAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerGetRun.g.cs b/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerGetRun.g.cs
index 1039f018..fd4cb722 100644
--- a/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerGetRun.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerGetRun.g.cs
@@ -12,7 +12,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task EvalControllerGetRunAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> EvalControllerGetRunAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerRemove.g.cs
index ede02253..f746ee35 100644
--- a/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerRemove.g.cs
@@ -12,7 +12,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task EvalControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> EvalControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerRemoveRun.g.cs b/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerRemoveRun.g.cs
index e74884af..b8cb33b7 100644
--- a/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerRemoveRun.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerRemoveRun.g.cs
@@ -12,7 +12,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task EvalControllerRemoveRunAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> EvalControllerRemoveRunAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerUpdate.g.cs
index b3176b62..34cc2c10 100644
--- a/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IEvalClient.EvalControllerUpdate.g.cs
@@ -13,7 +13,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task EvalControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateEvalDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> EvalControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateEvalDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -61,7 +61,7 @@ public partial interface IEvalClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task EvalControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::System.Collections.Generic.IList>? messages = default,
string? name = default,
string? description = default,
diff --git a/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerFindOne.g.cs
index a7240513..31e944ad 100644
--- a/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerFindOne.g.cs
@@ -12,7 +12,7 @@ public partial interface IFilesClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task FileControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IFilesClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> FileControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerRemove.g.cs
index e7edc6d7..6cddcd7c 100644
--- a/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerRemove.g.cs
@@ -12,7 +12,7 @@ public partial interface IFilesClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task FileControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IFilesClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> FileControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerUpdate.g.cs
index 08774fe9..33c540d9 100644
--- a/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IFilesClient.FileControllerUpdate.g.cs
@@ -13,7 +13,7 @@ public partial interface IFilesClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task FileControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateFileDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface IFilesClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> FileControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateFileDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -43,7 +43,7 @@ public partial interface IFilesClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task FileControllerUpdateAsync(
- string id,
+ global::System.Guid id,
string? name = default,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerFindOne.g.cs
index 25b28daa..9255decd 100644
--- a/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerFindOne.g.cs
@@ -12,7 +12,7 @@ public partial interface IInsightClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task InsightControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IInsightClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> InsightControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerRemove.g.cs
index 8c11dd46..4a188077 100644
--- a/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerRemove.g.cs
@@ -12,7 +12,7 @@ public partial interface IInsightClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task InsightControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IInsightClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> InsightControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerRun.g.cs b/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerRun.g.cs
index e87ac699..58286333 100644
--- a/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerRun.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerRun.g.cs
@@ -13,7 +13,7 @@ public partial interface IInsightClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task InsightControllerRunAsync(
- string id,
+ global::System.Guid id,
global::Vapi.InsightRunDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface IInsightClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> InsightControllerRunAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.InsightRunDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -55,7 +55,7 @@ public partial interface IInsightClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task InsightControllerRunAsync(
- string id,
+ global::System.Guid id,
global::Vapi.InsightRunFormatPlan? formatPlan = default,
global::Vapi.InsightTimeRangeWithStep? timeRangeOverride = default,
string? assistantId = default,
diff --git a/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerUpdate.g.cs
index a347ec9a..4affee9d 100644
--- a/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IInsightClient.InsightControllerUpdate.g.cs
@@ -13,7 +13,7 @@ public partial interface IInsightClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task InsightControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.InsightControllerUpdateRequest request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface IInsightClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> InsightControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.InsightControllerUpdateRequest request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -40,7 +40,7 @@ public partial interface IInsightClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task InsightControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerFindOne.g.cs
index 3c76aee7..b9108edc 100644
--- a/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerFindOne.g.cs
@@ -12,7 +12,7 @@ public partial interface IPhoneNumbersClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task PhoneNumberControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IPhoneNumbersClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> PhoneNumberControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerRemove.g.cs
index 1fa325c7..73cd7ccc 100644
--- a/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerRemove.g.cs
@@ -12,7 +12,7 @@ public partial interface IPhoneNumbersClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task PhoneNumberControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IPhoneNumbersClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> PhoneNumberControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerUpdate.g.cs
index 07807450..bc1bdaf8 100644
--- a/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IPhoneNumbersClient.PhoneNumberControllerUpdate.g.cs
@@ -13,7 +13,7 @@ public partial interface IPhoneNumbersClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task PhoneNumberControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.PhoneNumberControllerUpdateRequest request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface IPhoneNumbersClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> PhoneNumberControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.PhoneNumberControllerUpdateRequest request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -40,7 +40,7 @@ public partial interface IPhoneNumbersClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task PhoneNumberControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerFindOne.g.cs
index e485b132..ecd1c94a 100644
--- a/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerFindOne.g.cs
@@ -12,7 +12,7 @@ public partial interface ISessionsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task SessionControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface ISessionsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> SessionControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerRemove.g.cs
index 8b375f79..a3ed443e 100644
--- a/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerRemove.g.cs
@@ -12,7 +12,7 @@ public partial interface ISessionsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task SessionControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface ISessionsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> SessionControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerUpdate.g.cs
index 667bdcbb..923a06a1 100644
--- a/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ISessionsClient.SessionControllerUpdate.g.cs
@@ -13,7 +13,7 @@ public partial interface ISessionsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task SessionControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateSessionDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface ISessionsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> SessionControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateSessionDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -53,7 +53,7 @@ public partial interface ISessionsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task SessionControllerUpdateAsync(
- string id,
+ global::System.Guid id,
string? name = default,
global::Vapi.UpdateSessionDTOStatus? status = default,
double? expirationSeconds = default,
diff --git a/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerFindOne.g.cs
index 41b1031c..ba0291df 100644
--- a/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerFindOne.g.cs
@@ -12,7 +12,7 @@ public partial interface ISquadsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task SquadControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface ISquadsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> SquadControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerRemove.g.cs
index 7d49bcae..5ab0ff5f 100644
--- a/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerRemove.g.cs
@@ -12,7 +12,7 @@ public partial interface ISquadsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task SquadControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface ISquadsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> SquadControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerUpdate.g.cs
index e70a9105..33586dad 100644
--- a/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.ISquadsClient.SquadControllerUpdate.g.cs
@@ -13,7 +13,7 @@ public partial interface ISquadsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task SquadControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateSquadDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface ISquadsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> SquadControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.UpdateSquadDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -51,7 +51,7 @@ public partial interface ISquadsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task SquadControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::System.Collections.Generic.IList members,
string? name = default,
global::Vapi.AssistantOverrides? membersOverrides = default,
diff --git a/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerFindOne.g.cs
index 187ecf82..ad4ed29b 100644
--- a/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerFindOne.g.cs
@@ -12,7 +12,7 @@ public partial interface IStructuredOutputsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task StructuredOutputControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IStructuredOutputsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> StructuredOutputControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerRemove.g.cs
index 8239598c..3bc50bbd 100644
--- a/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerRemove.g.cs
@@ -12,7 +12,7 @@ public partial interface IStructuredOutputsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task StructuredOutputControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IStructuredOutputsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> StructuredOutputControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerUpdate.g.cs
index 5f7e781d..81d2fe94 100644
--- a/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IStructuredOutputsClient.StructuredOutputControllerUpdate.g.cs
@@ -14,7 +14,7 @@ public partial interface IStructuredOutputsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task StructuredOutputControllerUpdateAsync(
- string id,
+ global::System.Guid id,
string schemaOverride,
global::Vapi.UpdateStructuredOutputDTO request,
@@ -30,7 +30,7 @@ public partial interface IStructuredOutputsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> StructuredOutputControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
string schemaOverride,
global::Vapi.UpdateStructuredOutputDTO request,
@@ -102,7 +102,7 @@ public partial interface IStructuredOutputsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task StructuredOutputControllerUpdateAsync(
- string id,
+ global::System.Guid id,
string schemaOverride,
global::Vapi.UpdateStructuredOutputDTOType? type = default,
string? regex = default,
diff --git a/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerFindOne.g.cs
index 8b9ea563..42bb5996 100644
--- a/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerFindOne.g.cs
@@ -12,7 +12,7 @@ public partial interface IToolsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ToolControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IToolsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> ToolControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerRemove.g.cs
index de453722..c9e44b8e 100644
--- a/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerRemove.g.cs
@@ -12,7 +12,7 @@ public partial interface IToolsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ToolControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -23,7 +23,7 @@ public partial interface IToolsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> ToolControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerUpdate.g.cs
index dd721edb..9b73c73c 100644
--- a/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.IToolsClient.ToolControllerUpdate.g.cs
@@ -13,7 +13,7 @@ public partial interface IToolsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ToolControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.ToolControllerUpdateRequest request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface IToolsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> ToolControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.ToolControllerUpdateRequest request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -40,7 +40,7 @@ public partial interface IToolsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ToolControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerFindOne.g.cs b/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerFindOne.g.cs
index 15ce82bb..b87acd15 100644
--- a/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerFindOne.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerFindOne.g.cs
@@ -27,11 +27,11 @@ public partial class InsightClient
};
partial void PrepareInsightControllerFindOneArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareInsightControllerFindOneRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessInsightControllerFindOneResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessInsightControllerFindOneResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task InsightControllerFindOneAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessInsightControllerFindOneResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> InsightControllerFindOneAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerRemove.g.cs b/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerRemove.g.cs
index 64efd9e4..6d7819f6 100644
--- a/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerRemove.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerRemove.g.cs
@@ -27,11 +27,11 @@ public partial class InsightClient
};
partial void PrepareInsightControllerRemoveArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id);
+ ref global::System.Guid id);
partial void PrepareInsightControllerRemoveRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id);
+ global::System.Guid id);
partial void ProcessInsightControllerRemoveResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -49,7 +49,7 @@ partial void ProcessInsightControllerRemoveResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task InsightControllerRemoveAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +69,7 @@ partial void ProcessInsightControllerRemoveResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> InsightControllerRemoveAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerRun.g.cs b/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerRun.g.cs
index cd520cd8..8565952c 100644
--- a/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerRun.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerRun.g.cs
@@ -27,12 +27,12 @@ public partial class InsightClient
};
partial void PrepareInsightControllerRunArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id,
+ ref global::System.Guid id,
global::Vapi.InsightRunDTO request);
partial void PrepareInsightControllerRunRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id,
+ global::System.Guid id,
global::Vapi.InsightRunDTO request);
partial void ProcessInsightControllerRunResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -52,7 +52,7 @@ partial void ProcessInsightControllerRunResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task InsightControllerRunAsync(
- string id,
+ global::System.Guid id,
global::Vapi.InsightRunDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -77,7 +77,7 @@ partial void ProcessInsightControllerRunResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> InsightControllerRunAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.InsightRunDTO request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -463,7 +463,7 @@ partial void ProcessInsightControllerRunResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task InsightControllerRunAsync(
- string id,
+ global::System.Guid id,
global::Vapi.InsightRunFormatPlan? formatPlan = default,
global::Vapi.InsightTimeRangeWithStep? timeRangeOverride = default,
string? assistantId = default,
diff --git a/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerUpdate.g.cs b/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerUpdate.g.cs
index c3d154cc..21819857 100644
--- a/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerUpdate.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.InsightClient.InsightControllerUpdate.g.cs
@@ -27,12 +27,12 @@ public partial class InsightClient
};
partial void PrepareInsightControllerUpdateArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string id,
+ ref global::System.Guid id,
global::Vapi.InsightControllerUpdateRequest request);
partial void PrepareInsightControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string id,
+ global::System.Guid id,
global::Vapi.InsightControllerUpdateRequest request);
partial void ProcessInsightControllerUpdateResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -52,7 +52,7 @@ partial void ProcessInsightControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task InsightControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.InsightControllerUpdateRequest request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -77,7 +77,7 @@ partial void ProcessInsightControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> InsightControllerUpdateAsResponseAsync(
- string id,
+ global::System.Guid id,
global::Vapi.InsightControllerUpdateRequest request,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
@@ -446,7 +446,7 @@ partial void ProcessInsightControllerUpdateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task InsightControllerUpdateAsync(
- string id,
+ global::System.Guid id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguages.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2.g.cs
similarity index 83%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguages.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2.g.cs
index dd9e8285..ccd10e72 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguages.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class FallbackGladiaTranscriberLanguagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class FallbackGladiaTranscriberLanguage2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.FallbackGladiaTranscriberLanguages Read(
+ public override global::Vapi.FallbackGladiaTranscriberLanguage2 Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class FallbackGladiaTranscriberLanguagesJsonConverter : global::Sy
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.FallbackGladiaTranscriberLanguagesExtensions.ToEnum(stringValue) ?? default;
+ return global::Vapi.FallbackGladiaTranscriberLanguage2Extensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class FallbackGladiaTranscriberLanguagesJsonConverter : global::Sy
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.FallbackGladiaTranscriberLanguages)numValue;
+ return (global::Vapi.FallbackGladiaTranscriberLanguage2)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.FallbackGladiaTranscriberLanguages);
+ return default(global::Vapi.FallbackGladiaTranscriberLanguage2);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class FallbackGladiaTranscriberLanguagesJsonConverter : global::Sy
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.FallbackGladiaTranscriberLanguages value,
+ global::Vapi.FallbackGladiaTranscriberLanguage2 value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Vapi.FallbackGladiaTranscriberLanguagesExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Vapi.FallbackGladiaTranscriberLanguage2Extensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguagesNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2Nullable.g.cs
similarity index 84%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguagesNullable.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2Nullable.g.cs
index abaabb54..06a8b125 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguagesNullable.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2Nullable.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class FallbackGladiaTranscriberLanguagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class FallbackGladiaTranscriberLanguage2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.FallbackGladiaTranscriberLanguages? Read(
+ public override global::Vapi.FallbackGladiaTranscriberLanguage2? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class FallbackGladiaTranscriberLanguagesNullableJsonConverter : gl
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.FallbackGladiaTranscriberLanguagesExtensions.ToEnum(stringValue);
+ return global::Vapi.FallbackGladiaTranscriberLanguage2Extensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class FallbackGladiaTranscriberLanguagesNullableJsonConverter : gl
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.FallbackGladiaTranscriberLanguages)numValue;
+ return (global::Vapi.FallbackGladiaTranscriberLanguage2)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.FallbackGladiaTranscriberLanguages?);
+ return default(global::Vapi.FallbackGladiaTranscriberLanguage2?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class FallbackGladiaTranscriberLanguagesNullableJsonConverter : gl
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.FallbackGladiaTranscriberLanguages? value,
+ global::Vapi.FallbackGladiaTranscriberLanguage2? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Vapi.FallbackGladiaTranscriberLanguagesExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Vapi.FallbackGladiaTranscriberLanguage2Extensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguages.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2.g.cs
similarity index 83%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguages.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2.g.cs
index 94a758b4..0d2e3bad 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguages.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class FallbackSonioxTranscriberLanguagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class FallbackSonioxTranscriberLanguage2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.FallbackSonioxTranscriberLanguages Read(
+ public override global::Vapi.FallbackSonioxTranscriberLanguage2 Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class FallbackSonioxTranscriberLanguagesJsonConverter : global::Sy
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.FallbackSonioxTranscriberLanguagesExtensions.ToEnum(stringValue) ?? default;
+ return global::Vapi.FallbackSonioxTranscriberLanguage2Extensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class FallbackSonioxTranscriberLanguagesJsonConverter : global::Sy
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.FallbackSonioxTranscriberLanguages)numValue;
+ return (global::Vapi.FallbackSonioxTranscriberLanguage2)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.FallbackSonioxTranscriberLanguages);
+ return default(global::Vapi.FallbackSonioxTranscriberLanguage2);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class FallbackSonioxTranscriberLanguagesJsonConverter : global::Sy
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.FallbackSonioxTranscriberLanguages value,
+ global::Vapi.FallbackSonioxTranscriberLanguage2 value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Vapi.FallbackSonioxTranscriberLanguagesExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Vapi.FallbackSonioxTranscriberLanguage2Extensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguagesNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2Nullable.g.cs
similarity index 84%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguagesNullable.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2Nullable.g.cs
index af0930a1..1fe2204d 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguagesNullable.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2Nullable.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class FallbackSonioxTranscriberLanguagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class FallbackSonioxTranscriberLanguage2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.FallbackSonioxTranscriberLanguages? Read(
+ public override global::Vapi.FallbackSonioxTranscriberLanguage2? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class FallbackSonioxTranscriberLanguagesNullableJsonConverter : gl
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.FallbackSonioxTranscriberLanguagesExtensions.ToEnum(stringValue);
+ return global::Vapi.FallbackSonioxTranscriberLanguage2Extensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class FallbackSonioxTranscriberLanguagesNullableJsonConverter : gl
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.FallbackSonioxTranscriberLanguages)numValue;
+ return (global::Vapi.FallbackSonioxTranscriberLanguage2)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.FallbackSonioxTranscriberLanguages?);
+ return default(global::Vapi.FallbackSonioxTranscriberLanguage2?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class FallbackSonioxTranscriberLanguagesNullableJsonConverter : gl
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.FallbackSonioxTranscriberLanguages? value,
+ global::Vapi.FallbackSonioxTranscriberLanguage2? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Vapi.FallbackSonioxTranscriberLanguagesExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Vapi.FallbackSonioxTranscriberLanguage2Extensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberLanguage.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberLanguage.g.cs
new file mode 100644
index 00000000..7d038e7d
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberLanguage.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiTranscriberLanguageJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiTranscriberLanguage Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiTranscriberLanguageExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiTranscriberLanguage)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiTranscriberLanguage);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiTranscriberLanguage value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.FallbackXaiTranscriberLanguageExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberLanguageNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberLanguageNullable.g.cs
new file mode 100644
index 00000000..8bd30c13
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberLanguageNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiTranscriberLanguageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiTranscriberLanguage? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiTranscriberLanguageExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiTranscriberLanguage)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiTranscriberLanguage?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiTranscriberLanguage? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.FallbackXaiTranscriberLanguageExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberModel.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberModel.g.cs
new file mode 100644
index 00000000..90f623f9
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberModel.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiTranscriberModelJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiTranscriberModel Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiTranscriberModelExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiTranscriberModel)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiTranscriberModel);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiTranscriberModel value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.FallbackXaiTranscriberModelExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberModelNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberModelNullable.g.cs
new file mode 100644
index 00000000..ddc35402
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberModelNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiTranscriberModelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiTranscriberModel? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiTranscriberModelExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiTranscriberModel)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiTranscriberModel?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiTranscriberModel? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.FallbackXaiTranscriberModelExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberProvider.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberProvider.g.cs
new file mode 100644
index 00000000..62643660
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberProvider.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiTranscriberProviderJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiTranscriberProvider Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiTranscriberProviderExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiTranscriberProvider)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiTranscriberProvider);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiTranscriberProvider value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.FallbackXaiTranscriberProviderExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberProviderNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberProviderNullable.g.cs
new file mode 100644
index 00000000..513aea9b
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberProviderNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiTranscriberProviderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiTranscriberProvider? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiTranscriberProviderExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiTranscriberProvider)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiTranscriberProvider?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiTranscriberProvider? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.FallbackXaiTranscriberProviderExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceLanguage.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceLanguage.g.cs
new file mode 100644
index 00000000..cdb05273
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceLanguage.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiVoiceLanguageJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiVoiceLanguage Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiVoiceLanguageExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiVoiceLanguage)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiVoiceLanguage);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiVoiceLanguage value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.FallbackXaiVoiceLanguageExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceLanguageNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceLanguageNullable.g.cs
new file mode 100644
index 00000000..0e0fea0a
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceLanguageNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiVoiceLanguageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiVoiceLanguage? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiVoiceLanguageExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiVoiceLanguage)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiVoiceLanguage?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiVoiceLanguage? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.FallbackXaiVoiceLanguageExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceProvider.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceProvider.g.cs
new file mode 100644
index 00000000..fa03ab39
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceProvider.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiVoiceProviderJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiVoiceProvider Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiVoiceProviderExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiVoiceProvider)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiVoiceProvider);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiVoiceProvider value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.FallbackXaiVoiceProviderExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceProviderNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceProviderNullable.g.cs
new file mode 100644
index 00000000..250e78fd
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceProviderNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiVoiceProviderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiVoiceProvider? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiVoiceProviderExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiVoiceProvider)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiVoiceProvider?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiVoiceProvider? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.FallbackXaiVoiceProviderExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceVoiceId.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceVoiceId.g.cs
new file mode 100644
index 00000000..ca14bfb8
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceVoiceId.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiVoiceVoiceIdJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiVoiceVoiceId Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiVoiceVoiceIdExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiVoiceVoiceId)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiVoiceVoiceId);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiVoiceVoiceId value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vapi.FallbackXaiVoiceVoiceIdExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceVoiceIdNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceVoiceIdNullable.g.cs
new file mode 100644
index 00000000..6958d1ea
--- /dev/null
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceVoiceIdNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vapi.JsonConverters
+{
+ ///
+ public sealed class FallbackXaiVoiceVoiceIdNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vapi.FallbackXaiVoiceVoiceId? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vapi.FallbackXaiVoiceVoiceIdExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vapi.FallbackXaiVoiceVoiceId)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vapi.FallbackXaiVoiceVoiceId?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vapi.FallbackXaiVoiceVoiceId? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vapi.FallbackXaiVoiceVoiceIdExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguages.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2.g.cs
similarity index 83%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguages.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2.g.cs
index 7bbe3b7e..6f571d6a 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguages.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class GladiaTranscriberLanguagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class GladiaTranscriberLanguage2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.GladiaTranscriberLanguages Read(
+ public override global::Vapi.GladiaTranscriberLanguage2 Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class GladiaTranscriberLanguagesJsonConverter : global::System.Tex
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.GladiaTranscriberLanguagesExtensions.ToEnum(stringValue) ?? default;
+ return global::Vapi.GladiaTranscriberLanguage2Extensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class GladiaTranscriberLanguagesJsonConverter : global::System.Tex
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.GladiaTranscriberLanguages)numValue;
+ return (global::Vapi.GladiaTranscriberLanguage2)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.GladiaTranscriberLanguages);
+ return default(global::Vapi.GladiaTranscriberLanguage2);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class GladiaTranscriberLanguagesJsonConverter : global::System.Tex
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.GladiaTranscriberLanguages value,
+ global::Vapi.GladiaTranscriberLanguage2 value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Vapi.GladiaTranscriberLanguagesExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Vapi.GladiaTranscriberLanguage2Extensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguagesNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2Nullable.g.cs
similarity index 84%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguagesNullable.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2Nullable.g.cs
index 7d910271..beaab857 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguagesNullable.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2Nullable.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class GladiaTranscriberLanguagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class GladiaTranscriberLanguage2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.GladiaTranscriberLanguages? Read(
+ public override global::Vapi.GladiaTranscriberLanguage2? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class GladiaTranscriberLanguagesNullableJsonConverter : global::Sy
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.GladiaTranscriberLanguagesExtensions.ToEnum(stringValue);
+ return global::Vapi.GladiaTranscriberLanguage2Extensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class GladiaTranscriberLanguagesNullableJsonConverter : global::Sy
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.GladiaTranscriberLanguages)numValue;
+ return (global::Vapi.GladiaTranscriberLanguage2)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.GladiaTranscriberLanguages?);
+ return default(global::Vapi.GladiaTranscriberLanguage2?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class GladiaTranscriberLanguagesNullableJsonConverter : global::Sy
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.GladiaTranscriberLanguages? value,
+ global::Vapi.GladiaTranscriberLanguage2? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Vapi.GladiaTranscriberLanguagesExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Vapi.GladiaTranscriberLanguage2Extensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf12.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf13.g.cs
similarity index 90%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf12.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf13.g.cs
index 8fa9ad33..9c0f7e12 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf12.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf13.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter>
+ public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter>
{
///
- public override global::Vapi.OneOf Read(
+ public override global::Vapi.OneOf Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -158,6 +158,17 @@ public class OneOfJsonConverter __bestScore) { __bestScore = __score0; __bestIndex = 0; }
@@ -172,6 +183,7 @@ public class OneOfJsonConverter __bestScore) { __bestScore = __score9; __bestIndex = 9; }
if (__score10 > __bestScore) { __bestScore = __score10; __bestIndex = 10; }
if (__score11 > __bestScore) { __bestScore = __score11; __bestIndex = 11; }
+ if (__score12 > __bestScore) { __bestScore = __score12; __bestIndex = 12; }
T1? value1 = default;
T2? value2 = default;
@@ -185,6 +197,7 @@ public class OneOfJsonConverter= 0)
{
if (__bestIndex == 0)
@@ -390,9 +403,26 @@ public class OneOfJsonConverter ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}");
+ value13 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
}
- if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null)
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null)
{
try
{
@@ -409,7 +439,7 @@ public class OneOfJsonConverter(
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}");
+ value13 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::Vapi.OneOf(
value1,
value2,
@@ -619,7 +666,9 @@ public class OneOfJsonConverter
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.OneOf value,
+ global::Vapi.OneOf value,
global::System.Text.Json.JsonSerializerOptions options)
{
options = options ?? throw new global::System.ArgumentNullException(nameof(options));
@@ -706,6 +755,12 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T12).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value12!, typeInfo);
}
+ else if (value.IsValue13)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value13!, typeInfo);
+ }
}
}
}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf17.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf19.g.cs
similarity index 87%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf17.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf19.g.cs
index df876ebb..7eaa48cd 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf17.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf19.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter>
+ public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter>
{
///
- public override global::Vapi.OneOf Read(
+ public override global::Vapi.OneOf Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -213,6 +213,28 @@ public class OneOfJsonConverter __bestScore) { __bestScore = __score0; __bestIndex = 0; }
@@ -232,6 +254,8 @@ public class OneOfJsonConverter __bestScore) { __bestScore = __score14; __bestIndex = 14; }
if (__score15 > __bestScore) { __bestScore = __score15; __bestIndex = 15; }
if (__score16 > __bestScore) { __bestScore = __score16; __bestIndex = 16; }
+ if (__score17 > __bestScore) { __bestScore = __score17; __bestIndex = 17; }
+ if (__score18 > __bestScore) { __bestScore = __score18; __bestIndex = 18; }
T1? value1 = default;
T2? value2 = default;
@@ -250,6 +274,8 @@ public class OneOfJsonConverter= 0)
{
if (__bestIndex == 0)
@@ -540,9 +566,43 @@ public class OneOfJsonConverter ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T18).Name}");
+ value18 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ else if (__bestIndex == 18)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T19), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T19).Name}");
+ value19 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
}
- if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null)
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null && value19 == null)
{
try
{
@@ -559,7 +619,7 @@ public class OneOfJsonConverter(
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null && value19 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T18), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T18).Name}");
+ value18 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null && value10 == null && value11 == null && value12 == null && value13 == null && value14 == null && value15 == null && value16 == null && value17 == null && value18 == null && value19 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T19), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T19).Name}");
+ value19 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::Vapi.OneOf(
value1,
value2,
@@ -864,7 +958,11 @@ public class OneOfJsonConverter
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.OneOf value,
+ global::Vapi.OneOf value,
global::System.Text.Json.JsonSerializerOptions options)
{
options = options ?? throw new global::System.ArgumentNullException(nameof(options));
@@ -981,6 +1079,18 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value17!, typeInfo);
}
+ else if (value.IsValue18)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T18), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T18).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value18!, typeInfo);
+ }
+ else if (value.IsValue19)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T19), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T19).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value19!, typeInfo);
+ }
}
}
}
\ No newline at end of file
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguages.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2.g.cs
similarity index 83%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguages.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2.g.cs
index 8e7213d5..2162c61d 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguages.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class SonioxTranscriberLanguagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class SonioxTranscriberLanguage2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.SonioxTranscriberLanguages Read(
+ public override global::Vapi.SonioxTranscriberLanguage2 Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class SonioxTranscriberLanguagesJsonConverter : global::System.Tex
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.SonioxTranscriberLanguagesExtensions.ToEnum(stringValue) ?? default;
+ return global::Vapi.SonioxTranscriberLanguage2Extensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class SonioxTranscriberLanguagesJsonConverter : global::System.Tex
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.SonioxTranscriberLanguages)numValue;
+ return (global::Vapi.SonioxTranscriberLanguage2)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.SonioxTranscriberLanguages);
+ return default(global::Vapi.SonioxTranscriberLanguage2);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class SonioxTranscriberLanguagesJsonConverter : global::System.Tex
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.SonioxTranscriberLanguages value,
+ global::Vapi.SonioxTranscriberLanguage2 value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Vapi.SonioxTranscriberLanguagesExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Vapi.SonioxTranscriberLanguage2Extensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguagesNullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2Nullable.g.cs
similarity index 84%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguagesNullable.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2Nullable.g.cs
index 8ec13b9b..f12e4f17 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguagesNullable.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2Nullable.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class SonioxTranscriberLanguagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class SonioxTranscriberLanguage2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///