diff --git a/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerCreate.g.cs b/src/libs/Vapi/Generated/Vapi.AssistantsClient.AssistantControllerCreate.g.cs
index 56cf522e..63909a1c 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 5d91caf8..04a2c6b9 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 global::System.Guid id);
+ ref string id);
partial void PrepareAssistantControllerFindOneRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 415939f6..e8679cb2 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 global::System.Guid id);
+ ref string id);
partial void PrepareAssistantControllerRemoveRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 674dae90..6aabd1f8 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 global::System.Guid id,
+ ref string id,
global::Vapi.UpdateAssistantDTO request);
partial void PrepareAssistantControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
- global::Vapi.OneOf? transcriber = default,
+ string 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
deleted file mode 100644
index de91d504..00000000
--- a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerAssistantRecordingDownload.g.cs
+++ /dev/null
@@ -1,497 +0,0 @@
-
-#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
deleted file mode 100644
index fd0daa79..00000000
--- a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerCallLogsDownload.g.cs
+++ /dev/null
@@ -1,497 +0,0 @@
-
-#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
deleted file mode 100644
index 05ee1b5f..00000000
--- a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerCustomerRecordingDownload.g.cs
+++ /dev/null
@@ -1,497 +0,0 @@
-
-#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
deleted file mode 100644
index 07247526..00000000
--- a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerMonoRecordingDownload.g.cs
+++ /dev/null
@@ -1,497 +0,0 @@
-
-#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
deleted file mode 100644
index 793c2d54..00000000
--- a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerPcapDownload.g.cs
+++ /dev/null
@@ -1,497 +0,0 @@
-
-#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
deleted file mode 100644
index 3781c70d..00000000
--- a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerStereoRecordingDownload.g.cs
+++ /dev/null
@@ -1,497 +0,0 @@
-
-#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
deleted file mode 100644
index 29bbda0b..00000000
--- a/src/libs/Vapi/Generated/Vapi.CallsClient.CallArtifactControllerVideoRecordingDownload.g.cs
+++ /dev/null
@@ -1,497 +0,0 @@
-
-#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 8c0ecd6e..3b96891e 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 global::System.Guid id);
+ ref string id);
partial void PrepareCallControllerFindOneRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 0d864665..fdd54607 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 global::System.Guid id,
+ ref string id,
global::Vapi.UpdateCallDTO request);
partial void PrepareCallControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 505ab31e..8428a44a 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 global::System.Guid id);
+ ref string id);
partial void PrepareCampaignControllerFindOneRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 13234661..827a90eb 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 global::System.Guid id);
+ ref string id);
partial void PrepareCampaignControllerRemoveRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 1978e541..a610e9f0 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 global::System.Guid id,
+ ref string id,
global::Vapi.UpdateCampaignDTO request);
partial void PrepareCampaignControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 17ac71a8..138d1e67 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 global::System.Guid id);
+ ref string id);
partial void PrepareEvalControllerGetRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 db4771f3..e8539dd0 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 global::System.Guid id);
+ ref string id);
partial void PrepareEvalControllerGetRunRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 f0f5f90c..ee9cde44 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 global::System.Guid id);
+ ref string id);
partial void PrepareEvalControllerRemoveRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 5f6e3848..c589ab32 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 global::System.Guid id);
+ ref string id);
partial void PrepareEvalControllerRemoveRunRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 6ca8ef5f..07c4f9a2 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 global::System.Guid id,
+ ref string id,
global::Vapi.UpdateEvalDTO request);
partial void PrepareEvalControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 d569c6ac..78104539 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 global::System.Guid id);
+ ref string id);
partial void PrepareFileControllerFindOneRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 810da189..d3b82d4a 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 global::System.Guid id);
+ ref string id);
partial void PrepareFileControllerRemoveRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 93ac0f2c..29422bd9 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 global::System.Guid id,
+ ref string id,
global::Vapi.UpdateFileDTO request);
partial void PrepareFileControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 7175d26b..77b3317b 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 ffa3cb4e..027cf7e0 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 f1d826db..e796ef88 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 c534dcaf..1ffe4426 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
- global::Vapi.OneOf? transcriber = default,
+ string 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
deleted file mode 100644
index a30aecd6..00000000
--- a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerAssistantRecordingDownload.g.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-#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
deleted file mode 100644
index bae177f7..00000000
--- a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerCallLogsDownload.g.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-#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
deleted file mode 100644
index b69e1e92..00000000
--- a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerCustomerRecordingDownload.g.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-#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
deleted file mode 100644
index 3af6a804..00000000
--- a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerMonoRecordingDownload.g.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-#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
deleted file mode 100644
index 3db764fe..00000000
--- a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerPcapDownload.g.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-#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
deleted file mode 100644
index 1b463d9e..00000000
--- a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerStereoRecordingDownload.g.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-#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
deleted file mode 100644
index a0a05e1e..00000000
--- a/src/libs/Vapi/Generated/Vapi.ICallsClient.CallArtifactControllerVideoRecordingDownload.g.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-#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 4c9949b8..5c041eaf 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 09170ed5..fa14a9ea 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 2e279378..9882e7f8 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 991647af..ffc022e0 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 b5a9ac81..45de0d8b 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 729cb4ca..f4cfc1b9 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 fd4cb722..1039f018 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 f746ee35..ede02253 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 b8cb33b7..e74884af 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 34cc2c10..b3176b62 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 31e944ad..a7240513 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 6cddcd7c..e7edc6d7 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 33c540d9..08774fe9 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 9255decd..25b28daa 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 4a188077..8c11dd46 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 58286333..e87ac699 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 4affee9d..a347ec9a 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 b9108edc..3c76aee7 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 73cd7ccc..1fa325c7 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 bc1bdaf8..07807450 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 ecd1c94a..e485b132 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 a3ed443e..8b375f79 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 923a06a1..667bdcbb 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 ba0291df..41b1031c 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 5ab0ff5f..7d49bcae 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 33586dad..e70a9105 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 ad4ed29b..187ecf82 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 3bc50bbd..8239598c 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 81d2fe94..5f7e781d 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 42bb5996..8b9ea563 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 c9e44b8e..de453722 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 9b73c73c..dd721edb 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 b87acd15..15ce82bb 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 global::System.Guid id);
+ ref string id);
partial void PrepareInsightControllerFindOneRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 6d7819f6..64efd9e4 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 global::System.Guid id);
+ ref string id);
partial void PrepareInsightControllerRemoveRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id);
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 8565952c..cd520cd8 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 global::System.Guid id,
+ ref string id,
global::Vapi.InsightRunDTO request);
partial void PrepareInsightControllerRunRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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 21819857..c3d154cc 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 global::System.Guid id,
+ ref string id,
global::Vapi.InsightControllerUpdateRequest request);
partial void PrepareInsightControllerUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string 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(
- global::System.Guid id,
+ string id,
global::Vapi.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguages.g.cs
similarity index 83%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguages.g.cs
index ccd10e72..dd9e8285 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguages.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class FallbackGladiaTranscriberLanguage2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class FallbackGladiaTranscriberLanguagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.FallbackGladiaTranscriberLanguage2 Read(
+ public override global::Vapi.FallbackGladiaTranscriberLanguages 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 FallbackGladiaTranscriberLanguage2JsonConverter : global::Sy
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.FallbackGladiaTranscriberLanguage2Extensions.ToEnum(stringValue) ?? default;
+ return global::Vapi.FallbackGladiaTranscriberLanguagesExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class FallbackGladiaTranscriberLanguage2JsonConverter : global::Sy
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.FallbackGladiaTranscriberLanguage2)numValue;
+ return (global::Vapi.FallbackGladiaTranscriberLanguages)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.FallbackGladiaTranscriberLanguage2);
+ return default(global::Vapi.FallbackGladiaTranscriberLanguages);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class FallbackGladiaTranscriberLanguage2JsonConverter : global::Sy
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.FallbackGladiaTranscriberLanguage2 value,
+ global::Vapi.FallbackGladiaTranscriberLanguages value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Vapi.FallbackGladiaTranscriberLanguage2Extensions.ToValueString(value));
+ writer.WriteStringValue(global::Vapi.FallbackGladiaTranscriberLanguagesExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2Nullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguagesNullable.g.cs
similarity index 84%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2Nullable.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguagesNullable.g.cs
index 06a8b125..abaabb54 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguage2Nullable.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackGladiaTranscriberLanguagesNullable.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class FallbackGladiaTranscriberLanguage2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class FallbackGladiaTranscriberLanguagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.FallbackGladiaTranscriberLanguage2? Read(
+ public override global::Vapi.FallbackGladiaTranscriberLanguages? 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 FallbackGladiaTranscriberLanguage2NullableJsonConverter : gl
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.FallbackGladiaTranscriberLanguage2Extensions.ToEnum(stringValue);
+ return global::Vapi.FallbackGladiaTranscriberLanguagesExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class FallbackGladiaTranscriberLanguage2NullableJsonConverter : gl
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.FallbackGladiaTranscriberLanguage2)numValue;
+ return (global::Vapi.FallbackGladiaTranscriberLanguages)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.FallbackGladiaTranscriberLanguage2?);
+ return default(global::Vapi.FallbackGladiaTranscriberLanguages?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class FallbackGladiaTranscriberLanguage2NullableJsonConverter : gl
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.FallbackGladiaTranscriberLanguage2? value,
+ global::Vapi.FallbackGladiaTranscriberLanguages? 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.FallbackGladiaTranscriberLanguage2Extensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Vapi.FallbackGladiaTranscriberLanguagesExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguages.g.cs
similarity index 83%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguages.g.cs
index 0d2e3bad..94a758b4 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguages.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class FallbackSonioxTranscriberLanguage2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class FallbackSonioxTranscriberLanguagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.FallbackSonioxTranscriberLanguage2 Read(
+ public override global::Vapi.FallbackSonioxTranscriberLanguages 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 FallbackSonioxTranscriberLanguage2JsonConverter : global::Sy
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.FallbackSonioxTranscriberLanguage2Extensions.ToEnum(stringValue) ?? default;
+ return global::Vapi.FallbackSonioxTranscriberLanguagesExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class FallbackSonioxTranscriberLanguage2JsonConverter : global::Sy
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.FallbackSonioxTranscriberLanguage2)numValue;
+ return (global::Vapi.FallbackSonioxTranscriberLanguages)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.FallbackSonioxTranscriberLanguage2);
+ return default(global::Vapi.FallbackSonioxTranscriberLanguages);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class FallbackSonioxTranscriberLanguage2JsonConverter : global::Sy
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.FallbackSonioxTranscriberLanguage2 value,
+ global::Vapi.FallbackSonioxTranscriberLanguages value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Vapi.FallbackSonioxTranscriberLanguage2Extensions.ToValueString(value));
+ writer.WriteStringValue(global::Vapi.FallbackSonioxTranscriberLanguagesExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2Nullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguagesNullable.g.cs
similarity index 84%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2Nullable.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguagesNullable.g.cs
index 1fe2204d..af0930a1 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguage2Nullable.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackSonioxTranscriberLanguagesNullable.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class FallbackSonioxTranscriberLanguage2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class FallbackSonioxTranscriberLanguagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.FallbackSonioxTranscriberLanguage2? Read(
+ public override global::Vapi.FallbackSonioxTranscriberLanguages? 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 FallbackSonioxTranscriberLanguage2NullableJsonConverter : gl
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.FallbackSonioxTranscriberLanguage2Extensions.ToEnum(stringValue);
+ return global::Vapi.FallbackSonioxTranscriberLanguagesExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class FallbackSonioxTranscriberLanguage2NullableJsonConverter : gl
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.FallbackSonioxTranscriberLanguage2)numValue;
+ return (global::Vapi.FallbackSonioxTranscriberLanguages)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.FallbackSonioxTranscriberLanguage2?);
+ return default(global::Vapi.FallbackSonioxTranscriberLanguages?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class FallbackSonioxTranscriberLanguage2NullableJsonConverter : gl
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.FallbackSonioxTranscriberLanguage2? value,
+ global::Vapi.FallbackSonioxTranscriberLanguages? 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.FallbackSonioxTranscriberLanguage2Extensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Vapi.FallbackSonioxTranscriberLanguagesExtensions.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
deleted file mode 100644
index 7d038e7d..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberLanguage.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#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
deleted file mode 100644
index 8bd30c13..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberLanguageNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#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
deleted file mode 100644
index 90f623f9..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberModel.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#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
deleted file mode 100644
index ddc35402..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberModelNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#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
deleted file mode 100644
index 62643660..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberProvider.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#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
deleted file mode 100644
index 513aea9b..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiTranscriberProviderNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#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
deleted file mode 100644
index cdb05273..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceLanguage.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#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
deleted file mode 100644
index 0e0fea0a..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceLanguageNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#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
deleted file mode 100644
index fa03ab39..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceProvider.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#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
deleted file mode 100644
index 250e78fd..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceProviderNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#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
deleted file mode 100644
index ca14bfb8..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceVoiceId.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#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
deleted file mode 100644
index 6958d1ea..00000000
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.FallbackXaiVoiceVoiceIdNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#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.GladiaTranscriberLanguage2.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguages.g.cs
similarity index 83%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguages.g.cs
index 6f571d6a..7bbe3b7e 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguages.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class GladiaTranscriberLanguage2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class GladiaTranscriberLanguagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.GladiaTranscriberLanguage2 Read(
+ public override global::Vapi.GladiaTranscriberLanguages 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 GladiaTranscriberLanguage2JsonConverter : global::System.Tex
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.GladiaTranscriberLanguage2Extensions.ToEnum(stringValue) ?? default;
+ return global::Vapi.GladiaTranscriberLanguagesExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class GladiaTranscriberLanguage2JsonConverter : global::System.Tex
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.GladiaTranscriberLanguage2)numValue;
+ return (global::Vapi.GladiaTranscriberLanguages)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.GladiaTranscriberLanguage2);
+ return default(global::Vapi.GladiaTranscriberLanguages);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class GladiaTranscriberLanguage2JsonConverter : global::System.Tex
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.GladiaTranscriberLanguage2 value,
+ global::Vapi.GladiaTranscriberLanguages value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Vapi.GladiaTranscriberLanguage2Extensions.ToValueString(value));
+ writer.WriteStringValue(global::Vapi.GladiaTranscriberLanguagesExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2Nullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguagesNullable.g.cs
similarity index 84%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2Nullable.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguagesNullable.g.cs
index beaab857..7d910271 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguage2Nullable.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.GladiaTranscriberLanguagesNullable.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class GladiaTranscriberLanguage2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class GladiaTranscriberLanguagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.GladiaTranscriberLanguage2? Read(
+ public override global::Vapi.GladiaTranscriberLanguages? 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 GladiaTranscriberLanguage2NullableJsonConverter : global::Sy
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.GladiaTranscriberLanguage2Extensions.ToEnum(stringValue);
+ return global::Vapi.GladiaTranscriberLanguagesExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class GladiaTranscriberLanguage2NullableJsonConverter : global::Sy
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.GladiaTranscriberLanguage2)numValue;
+ return (global::Vapi.GladiaTranscriberLanguages)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.GladiaTranscriberLanguage2?);
+ return default(global::Vapi.GladiaTranscriberLanguages?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class GladiaTranscriberLanguage2NullableJsonConverter : global::Sy
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.GladiaTranscriberLanguage2? value,
+ global::Vapi.GladiaTranscriberLanguages? 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.GladiaTranscriberLanguage2Extensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Vapi.GladiaTranscriberLanguagesExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf13.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf12.g.cs
similarity index 90%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf13.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf12.g.cs
index 9c0f7e12..8fa9ad33 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf13.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf12.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,17 +158,6 @@ public class OneOfJsonConverter __bestScore) { __bestScore = __score0; __bestIndex = 0; }
@@ -183,7 +172,6 @@ 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;
@@ -197,7 +185,6 @@ public class OneOfJsonConverter= 0)
{
if (__bestIndex == 0)
@@ -403,26 +390,9 @@ 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 && value13 == 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)
{
try
{
@@ -439,7 +409,7 @@ 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)
- {
- }
- }
-
- var __value = new global::Vapi.OneOf(
+ var __value = new global::Vapi.OneOf(
value1,
value2,
@@ -666,9 +619,7 @@ 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));
@@ -755,12 +706,6 @@ 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.OneOf19.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf17.g.cs
similarity index 87%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf19.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf17.g.cs
index 7eaa48cd..df876ebb 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf19.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.OneOf17.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,28 +213,6 @@ public class OneOfJsonConverter __bestScore) { __bestScore = __score0; __bestIndex = 0; }
@@ -254,8 +232,6 @@ 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;
@@ -274,8 +250,6 @@ public class OneOfJsonConverter= 0)
{
if (__bestIndex == 0)
@@ -566,43 +540,9 @@ 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 && value18 == null && value19 == 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)
{
try
{
@@ -619,7 +559,7 @@ 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)
- {
- }
- }
-
- 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(
+ var __value = new global::Vapi.OneOf(
value1,
value2,
@@ -958,11 +864,7 @@ 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));
@@ -1079,18 +981,6 @@ 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.SonioxTranscriberLanguage2.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguages.g.cs
similarity index 83%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguages.g.cs
index 2162c61d..8e7213d5 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguages.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class SonioxTranscriberLanguage2JsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class SonioxTranscriberLanguagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Vapi.SonioxTranscriberLanguage2 Read(
+ public override global::Vapi.SonioxTranscriberLanguages 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 SonioxTranscriberLanguage2JsonConverter : global::System.Tex
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Vapi.SonioxTranscriberLanguage2Extensions.ToEnum(stringValue) ?? default;
+ return global::Vapi.SonioxTranscriberLanguagesExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class SonioxTranscriberLanguage2JsonConverter : global::System.Tex
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Vapi.SonioxTranscriberLanguage2)numValue;
+ return (global::Vapi.SonioxTranscriberLanguages)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Vapi.SonioxTranscriberLanguage2);
+ return default(global::Vapi.SonioxTranscriberLanguages);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class SonioxTranscriberLanguage2JsonConverter : global::System.Tex
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Vapi.SonioxTranscriberLanguage2 value,
+ global::Vapi.SonioxTranscriberLanguages value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Vapi.SonioxTranscriberLanguage2Extensions.ToValueString(value));
+ writer.WriteStringValue(global::Vapi.SonioxTranscriberLanguagesExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2Nullable.g.cs b/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguagesNullable.g.cs
similarity index 84%
rename from src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2Nullable.g.cs
rename to src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguagesNullable.g.cs
index f12e4f17..8ec13b9b 100644
--- a/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguage2Nullable.g.cs
+++ b/src/libs/Vapi/Generated/Vapi.JsonConverters.SonioxTranscriberLanguagesNullable.g.cs
@@ -3,10 +3,10 @@
namespace Vapi.JsonConverters
{
///
- public sealed class SonioxTranscriberLanguage2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class SonioxTranscriberLanguagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///