diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.Authorizations.Bearer.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.Authorizations.Bearer.g.cs
index 32bd75b..2eb7010 100644
--- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.Authorizations.Bearer.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.Authorizations.Bearer.g.cs
@@ -9,6 +9,7 @@ public partial interface IRetellAiClient
/// Authorize using bearer authentication.
///
///
+
public void AuthorizeUsingBearer(
string apiKey);
}
diff --git a/src/libs/RetellAI/Generated/RetellAI.PathBuilder.g.cs b/src/libs/RetellAI/Generated/RetellAI.PathBuilder.g.cs
index f86dde2..58329d6 100644
--- a/src/libs/RetellAI/Generated/RetellAI.PathBuilder.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.PathBuilder.g.cs
@@ -224,6 +224,40 @@ public PathBuilder AddOptionalParameter(
return this;
}
+ ///
+ /// Adds a pre-serialized query string fragment to the URL.
+ ///
+ /// The serialized query string value.
+ /// The current instance.
+ public PathBuilder AddRawQueryString(
+ string value)
+ {
+ if (string.IsNullOrWhiteSpace(value))
+ {
+ return this;
+ }
+
+ value = value.TrimStart('?', '&');
+ if (value.Length == 0)
+ {
+ return this;
+ }
+
+ if (_firstParameter)
+ {
+ _stringBuilder.Append('?');
+ _firstParameter = false;
+ }
+ else
+ {
+ _stringBuilder.Append('&');
+ }
+
+ _stringBuilder.Append(value);
+
+ return this;
+ }
+
///
/// Returns the constructed URL as a string.
///
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.AddCommunityVoice.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.AddCommunityVoice.g.cs
index 4288c9c..37c04c0 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.AddCommunityVoice.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.AddCommunityVoice.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_AddCommunityVoiceSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_AddCommunityVoiceSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_AddCommunityVoiceSecurityRequirement0,
+ };
partial void PrepareAddCommunityVoiceArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.AddCommunityVoiceRequest request);
@@ -40,9 +59,15 @@ partial void ProcessAddCommunityVoiceResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_AddCommunityVoiceSecurityRequirements,
+ operationName: "AddCommunityVoiceAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/add-community-voice",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessAddCommunityVoiceResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.AddKnowledgeBaseSources.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.AddKnowledgeBaseSources.g.cs
index 8f4b4e4..b9f529d 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.AddKnowledgeBaseSources.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.AddKnowledgeBaseSources.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_AddKnowledgeBaseSourcesSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_AddKnowledgeBaseSourcesSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_AddKnowledgeBaseSourcesSecurityRequirement0,
+ };
partial void PrepareAddKnowledgeBaseSourcesArguments(
global::System.Net.Http.HttpClient httpClient,
ref string knowledgeBaseId,
@@ -47,9 +66,15 @@ partial void ProcessAddKnowledgeBaseSourcesResponseContent(
knowledgeBaseId: ref knowledgeBaseId,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_AddKnowledgeBaseSourcesSecurityRequirements,
+ operationName: "AddKnowledgeBaseSourcesAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/add-knowledge-base-sources/{knowledgeBaseId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -59,7 +84,7 @@ partial void ProcessAddKnowledgeBaseSourcesResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.Authorizations.Bearer.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.Authorizations.Bearer.g.cs
index 6d919a0..eec4867 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.Authorizations.Bearer.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.Authorizations.Bearer.g.cs
@@ -5,13 +5,23 @@ namespace RetellAI
{
public sealed partial class RetellAiClient
{
+
///
public void AuthorizeUsingBearer(
string apiKey)
{
apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey));
- Authorizations.Clear();
+ for (var i = Authorizations.Count - 1; i >= 0; i--)
+ {
+ var __authorization = Authorizations[i];
+ if (__authorization.Type == "Http" &&
+ __authorization.Name == "Bearer")
+ {
+ Authorizations.RemoveAt(i);
+ }
+ }
+
Authorizations.Add(new global::RetellAI.EndPointAuthorization
{
Type = "Http",
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CloneVoice.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CloneVoice.g.cs
index 0959abb..51b834a 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CloneVoice.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CloneVoice.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CloneVoiceSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CloneVoiceSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CloneVoiceSecurityRequirement0,
+ };
partial void PrepareCloneVoiceArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CloneVoiceRequest request);
@@ -40,9 +59,15 @@ partial void ProcessCloneVoiceResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CloneVoiceSecurityRequirements,
+ operationName: "CloneVoiceAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/clone-voice",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessCloneVoiceResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.Constructors.Bearer.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.Constructors.Bearer.g.cs
index 3e60468..63c450e 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.Constructors.Bearer.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.Constructors.Bearer.g.cs
@@ -6,6 +6,7 @@ namespace RetellAI
public sealed partial class RetellAiClient
{
///
+
public RetellAiClient(
string apiKey,
global::System.Net.Http.HttpClient? httpClient = null,
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateAgent.g.cs
index 7c0e11a..337267b 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateAgent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateAgent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateAgentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateAgentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateAgentSecurityRequirement0,
+ };
partial void PrepareCreateAgentArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.AllOf request);
@@ -38,9 +57,15 @@ partial void ProcessCreateAgentResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateAgentSecurityRequirements,
+ operationName: "CreateAgentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-agent",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -50,7 +75,7 @@ partial void ProcessCreateAgentResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateBatchCall.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateBatchCall.g.cs
index eed3ab3..1c63bde 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateBatchCall.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateBatchCall.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateBatchCallSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateBatchCallSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateBatchCallSecurityRequirement0,
+ };
partial void PrepareCreateBatchCallArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CreateBatchCallRequest request);
@@ -40,9 +59,15 @@ partial void ProcessCreateBatchCallResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateBatchCallSecurityRequirements,
+ operationName: "CreateBatchCallAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-batch-call",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessCreateBatchCallResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateBatchTest.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateBatchTest.g.cs
index 47dab75..436d5de 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateBatchTest.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateBatchTest.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateBatchTestSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateBatchTestSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateBatchTestSecurityRequirement0,
+ };
partial void PrepareCreateBatchTestArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CreateBatchTestRequest request);
@@ -40,9 +59,15 @@ partial void ProcessCreateBatchTestResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateBatchTestSecurityRequirements,
+ operationName: "CreateBatchTestAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-batch-test",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessCreateBatchTestResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChat.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChat.g.cs
index cfb055a..dbbeb6d 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChat.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChat.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateChatSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateChatSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateChatSecurityRequirement0,
+ };
partial void PrepareCreateChatArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CreateChatRequest request);
@@ -40,9 +59,15 @@ partial void ProcessCreateChatResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateChatSecurityRequirements,
+ operationName: "CreateChatAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-chat",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessCreateChatResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChatAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChatAgent.g.cs
index 8a10d2e..bf8937a 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChatAgent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChatAgent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateChatAgentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateChatAgentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateChatAgentSecurityRequirement0,
+ };
partial void PrepareCreateChatAgentArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.AllOf request);
@@ -38,9 +57,15 @@ partial void ProcessCreateChatAgentResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateChatAgentSecurityRequirements,
+ operationName: "CreateChatAgentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-chat-agent",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -50,7 +75,7 @@ partial void ProcessCreateChatAgentResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChatCompletion.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChatCompletion.g.cs
index c9d407c..168e518 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChatCompletion.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateChatCompletion.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateChatCompletionSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateChatCompletionSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateChatCompletionSecurityRequirement0,
+ };
partial void PrepareCreateChatCompletionArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CreateChatCompletionRequest request);
@@ -40,9 +59,15 @@ partial void ProcessCreateChatCompletionResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateChatCompletionSecurityRequirements,
+ operationName: "CreateChatCompletionAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-chat-completion",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessCreateChatCompletionResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateConversationFlow.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateConversationFlow.g.cs
index c898b62..080e7e6 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateConversationFlow.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateConversationFlow.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateConversationFlowSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateConversationFlowSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateConversationFlowSecurityRequirement0,
+ };
partial void PrepareCreateConversationFlowArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CreateConversationFlowRequest request);
@@ -38,9 +57,15 @@ partial void ProcessCreateConversationFlowResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateConversationFlowSecurityRequirements,
+ operationName: "CreateConversationFlowAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-conversation-flow",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -50,7 +75,7 @@ partial void ProcessCreateConversationFlowResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateConversationFlowComponent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateConversationFlowComponent.g.cs
index e0e09f1..68ec0a5 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateConversationFlowComponent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateConversationFlowComponent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateConversationFlowComponentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateConversationFlowComponentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateConversationFlowComponentSecurityRequirement0,
+ };
partial void PrepareCreateConversationFlowComponentArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CreateConversationFlowComponentRequest request);
@@ -38,9 +57,15 @@ partial void ProcessCreateConversationFlowComponentResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateConversationFlowComponentSecurityRequirements,
+ operationName: "CreateConversationFlowComponentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-conversation-flow-component",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -50,7 +75,7 @@ partial void ProcessCreateConversationFlowComponentResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs
index e0d5684..15b5ff4 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateKnowledgeBaseSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateKnowledgeBaseSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateKnowledgeBaseSecurityRequirement0,
+ };
partial void PrepareCreateKnowledgeBaseArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.KnowledgeBaseRequest request);
@@ -40,9 +59,15 @@ partial void ProcessCreateKnowledgeBaseResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateKnowledgeBaseSecurityRequirements,
+ operationName: "CreateKnowledgeBaseAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-knowledge-base",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessCreateKnowledgeBaseResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreatePhoneCall.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreatePhoneCall.g.cs
index 34d0b62..030b5e1 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreatePhoneCall.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreatePhoneCall.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreatePhoneCallSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreatePhoneCallSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreatePhoneCallSecurityRequirement0,
+ };
partial void PrepareCreatePhoneCallArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CreatePhoneCallRequest request);
@@ -40,9 +59,15 @@ partial void ProcessCreatePhoneCallResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreatePhoneCallSecurityRequirements,
+ operationName: "CreatePhoneCallAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/v2/create-phone-call",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessCreatePhoneCallResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreatePhoneNumber.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreatePhoneNumber.g.cs
index 53a856a..727ab57 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreatePhoneNumber.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreatePhoneNumber.g.cs
@@ -7,6 +7,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreatePhoneNumberSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreatePhoneNumberSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreatePhoneNumberSecurityRequirement0,
+ };
partial void PrepareCreatePhoneNumberArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CreatePhoneNumberRequest request);
@@ -42,9 +61,15 @@ partial void ProcessCreatePhoneNumberResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreatePhoneNumberSecurityRequirements,
+ operationName: "CreatePhoneNumberAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-phone-number",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -54,7 +79,7 @@ partial void ProcessCreatePhoneNumberResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateRetellLLM.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateRetellLLM.g.cs
index 64d4993..347e9ae 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateRetellLLM.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateRetellLLM.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateRetellLLMSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateRetellLLMSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateRetellLLMSecurityRequirement0,
+ };
partial void PrepareCreateRetellLLMArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.RetellLlmRequest request);
@@ -38,9 +57,15 @@ partial void ProcessCreateRetellLLMResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateRetellLLMSecurityRequirements,
+ operationName: "CreateRetellLLMAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-retell-llm",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -50,7 +75,7 @@ partial void ProcessCreateRetellLLMResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateSmsChat.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateSmsChat.g.cs
index 1f2c38f..a16b970 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateSmsChat.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateSmsChat.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateSmsChatSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateSmsChatSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateSmsChatSecurityRequirement0,
+ };
partial void PrepareCreateSmsChatArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CreateSmsChatRequest request);
@@ -40,9 +59,15 @@ partial void ProcessCreateSmsChatResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateSmsChatSecurityRequirements,
+ operationName: "CreateSmsChatAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-sms-chat",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessCreateSmsChatResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateTestCaseDefinition.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateTestCaseDefinition.g.cs
index 9a98564..c806027 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateTestCaseDefinition.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateTestCaseDefinition.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateTestCaseDefinitionSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateTestCaseDefinitionSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateTestCaseDefinitionSecurityRequirement0,
+ };
partial void PrepareCreateTestCaseDefinitionArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.AllOf request);
@@ -38,9 +57,15 @@ partial void ProcessCreateTestCaseDefinitionResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateTestCaseDefinitionSecurityRequirements,
+ operationName: "CreateTestCaseDefinitionAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/create-test-case-definition",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -50,7 +75,7 @@ partial void ProcessCreateTestCaseDefinitionResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateWebCall.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateWebCall.g.cs
index dc17168..506f0b6 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateWebCall.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateWebCall.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateWebCallSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateWebCallSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_CreateWebCallSecurityRequirement0,
+ };
partial void PrepareCreateWebCallArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.CreateWebCallRequest request);
@@ -40,9 +59,15 @@ partial void ProcessCreateWebCallResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateWebCallSecurityRequirements,
+ operationName: "CreateWebCallAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/v2/create-web-call",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessCreateWebCallResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteAgent.g.cs
index 5954d48..ca69316 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteAgent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteAgent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_DeleteAgentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_DeleteAgentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_DeleteAgentSecurityRequirement0,
+ };
partial void PrepareDeleteAgentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId);
@@ -34,9 +53,15 @@ partial void ProcessDeleteAgentResponse(
httpClient: HttpClient,
agentId: ref agentId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeleteAgentSecurityRequirements,
+ operationName: "DeleteAgentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/delete-agent/{agentId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -46,7 +71,7 @@ partial void ProcessDeleteAgentResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteCall.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteCall.g.cs
index 87e1003..3d677ac 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteCall.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteCall.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_DeleteCallSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_DeleteCallSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_DeleteCallSecurityRequirement0,
+ };
partial void PrepareDeleteCallArguments(
global::System.Net.Http.HttpClient httpClient,
ref string callId);
@@ -34,9 +53,15 @@ partial void ProcessDeleteCallResponse(
httpClient: HttpClient,
callId: ref callId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeleteCallSecurityRequirements,
+ operationName: "DeleteCallAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/v2/delete-call/{callId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -46,7 +71,7 @@ partial void ProcessDeleteCallResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteChatAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteChatAgent.g.cs
index 19164af..b6d7e90 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteChatAgent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteChatAgent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_DeleteChatAgentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_DeleteChatAgentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_DeleteChatAgentSecurityRequirement0,
+ };
partial void PrepareDeleteChatAgentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId);
@@ -34,9 +53,15 @@ partial void ProcessDeleteChatAgentResponse(
httpClient: HttpClient,
agentId: ref agentId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeleteChatAgentSecurityRequirements,
+ operationName: "DeleteChatAgentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/delete-chat-agent/{agentId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -46,7 +71,7 @@ partial void ProcessDeleteChatAgentResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteConversationFlow.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteConversationFlow.g.cs
index 73149bc..265e468 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteConversationFlow.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteConversationFlow.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_DeleteConversationFlowSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_DeleteConversationFlowSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_DeleteConversationFlowSecurityRequirement0,
+ };
partial void PrepareDeleteConversationFlowArguments(
global::System.Net.Http.HttpClient httpClient,
ref string conversationFlowId);
@@ -32,9 +51,15 @@ partial void ProcessDeleteConversationFlowResponse(
httpClient: HttpClient,
conversationFlowId: ref conversationFlowId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeleteConversationFlowSecurityRequirements,
+ operationName: "DeleteConversationFlowAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/delete-conversation-flow/{conversationFlowId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -44,7 +69,7 @@ partial void ProcessDeleteConversationFlowResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteConversationFlowComponent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteConversationFlowComponent.g.cs
index 549e8ac..c73eaca 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteConversationFlowComponent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteConversationFlowComponent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_DeleteConversationFlowComponentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_DeleteConversationFlowComponentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_DeleteConversationFlowComponentSecurityRequirement0,
+ };
partial void PrepareDeleteConversationFlowComponentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string conversationFlowComponentId);
@@ -32,9 +51,15 @@ partial void ProcessDeleteConversationFlowComponentResponse(
httpClient: HttpClient,
conversationFlowComponentId: ref conversationFlowComponentId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeleteConversationFlowComponentSecurityRequirements,
+ operationName: "DeleteConversationFlowComponentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/delete-conversation-flow-component/{conversationFlowComponentId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -44,7 +69,7 @@ partial void ProcessDeleteConversationFlowComponentResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteKnowledgeBase.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteKnowledgeBase.g.cs
index 01965ad..248d0da 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteKnowledgeBase.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteKnowledgeBase.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_DeleteKnowledgeBaseSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_DeleteKnowledgeBaseSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_DeleteKnowledgeBaseSecurityRequirement0,
+ };
partial void PrepareDeleteKnowledgeBaseArguments(
global::System.Net.Http.HttpClient httpClient,
ref string knowledgeBaseId);
@@ -34,9 +53,15 @@ partial void ProcessDeleteKnowledgeBaseResponse(
httpClient: HttpClient,
knowledgeBaseId: ref knowledgeBaseId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeleteKnowledgeBaseSecurityRequirements,
+ operationName: "DeleteKnowledgeBaseAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/delete-knowledge-base/{knowledgeBaseId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -46,7 +71,7 @@ partial void ProcessDeleteKnowledgeBaseResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteKnowledgeBaseSource.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteKnowledgeBaseSource.g.cs
index 047bf97..f539453 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteKnowledgeBaseSource.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteKnowledgeBaseSource.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_DeleteKnowledgeBaseSourceSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_DeleteKnowledgeBaseSourceSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_DeleteKnowledgeBaseSourceSecurityRequirement0,
+ };
partial void PrepareDeleteKnowledgeBaseSourceArguments(
global::System.Net.Http.HttpClient httpClient,
ref string knowledgeBaseId,
@@ -46,9 +65,15 @@ partial void ProcessDeleteKnowledgeBaseSourceResponseContent(
knowledgeBaseId: ref knowledgeBaseId,
sourceId: ref sourceId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeleteKnowledgeBaseSourceSecurityRequirements,
+ operationName: "DeleteKnowledgeBaseSourceAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/delete-knowledge-base-source/{knowledgeBaseId}/source/{sourceId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -58,7 +83,7 @@ partial void ProcessDeleteKnowledgeBaseSourceResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeletePhoneNumber.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeletePhoneNumber.g.cs
index f1eb544..322fa37 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeletePhoneNumber.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeletePhoneNumber.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_DeletePhoneNumberSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_DeletePhoneNumberSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_DeletePhoneNumberSecurityRequirement0,
+ };
partial void PrepareDeletePhoneNumberArguments(
global::System.Net.Http.HttpClient httpClient,
ref string phoneNumber);
@@ -34,9 +53,15 @@ partial void ProcessDeletePhoneNumberResponse(
httpClient: HttpClient,
phoneNumber: ref phoneNumber);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeletePhoneNumberSecurityRequirements,
+ operationName: "DeletePhoneNumberAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/delete-phone-number/{phoneNumber}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -46,7 +71,7 @@ partial void ProcessDeletePhoneNumberResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteRetellLLM.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteRetellLLM.g.cs
index dfba51b..e636f3d 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteRetellLLM.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteRetellLLM.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_DeleteRetellLLMSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_DeleteRetellLLMSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_DeleteRetellLLMSecurityRequirement0,
+ };
partial void PrepareDeleteRetellLLMArguments(
global::System.Net.Http.HttpClient httpClient,
ref string llmId);
@@ -34,9 +53,15 @@ partial void ProcessDeleteRetellLLMResponse(
httpClient: HttpClient,
llmId: ref llmId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeleteRetellLLMSecurityRequirements,
+ operationName: "DeleteRetellLLMAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/delete-retell-llm/{llmId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -46,7 +71,7 @@ partial void ProcessDeleteRetellLLMResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteTestCaseDefinition.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteTestCaseDefinition.g.cs
index e84a023..62550c7 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteTestCaseDefinition.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.DeleteTestCaseDefinition.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_DeleteTestCaseDefinitionSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_DeleteTestCaseDefinitionSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_DeleteTestCaseDefinitionSecurityRequirement0,
+ };
partial void PrepareDeleteTestCaseDefinitionArguments(
global::System.Net.Http.HttpClient httpClient,
ref string testCaseDefinitionId);
@@ -32,9 +51,15 @@ partial void ProcessDeleteTestCaseDefinitionResponse(
httpClient: HttpClient,
testCaseDefinitionId: ref testCaseDefinitionId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeleteTestCaseDefinitionSecurityRequirements,
+ operationName: "DeleteTestCaseDefinitionAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/delete-test-case-definition/{testCaseDefinitionId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -44,7 +69,7 @@ partial void ProcessDeleteTestCaseDefinitionResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.EndChat.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.EndChat.g.cs
index c7fac50..7700519 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.EndChat.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.EndChat.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_EndChatSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_EndChatSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_EndChatSecurityRequirement0,
+ };
partial void PrepareEndChatArguments(
global::System.Net.Http.HttpClient httpClient,
ref string chatId);
@@ -34,9 +53,15 @@ partial void ProcessEndChatResponse(
httpClient: HttpClient,
chatId: ref chatId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_EndChatSecurityRequirements,
+ operationName: "EndChatAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/end-chat/{chatId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: new global::System.Net.Http.HttpMethod("PATCH"),
@@ -46,7 +71,7 @@ partial void ProcessEndChatResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgent.g.cs
index cc56411..0e2210b 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetAgentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetAgentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetAgentSecurityRequirement0,
+ };
partial void PrepareGetAgentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId,
@@ -46,12 +65,18 @@ partial void ProcessGetAgentResponseContent(
agentId: ref agentId,
version: ref version);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetAgentSecurityRequirements,
+ operationName: "GetAgentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-agent/{agentId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("version", version?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -61,7 +86,7 @@ partial void ProcessGetAgentResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs
index 357e77e..37cfd28 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetAgentVersionsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetAgentVersionsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetAgentVersionsSecurityRequirement0,
+ };
partial void PrepareGetAgentVersionsArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId);
@@ -39,9 +58,15 @@ partial void ProcessGetAgentVersionsResponseContent(
httpClient: HttpClient,
agentId: ref agentId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetAgentVersionsSecurityRequirements,
+ operationName: "GetAgentVersionsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-agent-versions/{agentId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -51,7 +76,7 @@ partial void ProcessGetAgentVersionsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetBatchTest.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetBatchTest.g.cs
index b71f9d0..3be8a30 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetBatchTest.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetBatchTest.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetBatchTestSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetBatchTestSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetBatchTestSecurityRequirement0,
+ };
partial void PrepareGetBatchTestArguments(
global::System.Net.Http.HttpClient httpClient,
ref string testCaseBatchJobId);
@@ -37,9 +56,15 @@ partial void ProcessGetBatchTestResponseContent(
httpClient: HttpClient,
testCaseBatchJobId: ref testCaseBatchJobId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetBatchTestSecurityRequirements,
+ operationName: "GetBatchTestAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-batch-test/{testCaseBatchJobId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -49,7 +74,7 @@ partial void ProcessGetBatchTestResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetCall.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetCall.g.cs
index 5bccd10..e79cd78 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetCall.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetCall.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetCallSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetCallSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetCallSecurityRequirement0,
+ };
partial void PrepareGetCallArguments(
global::System.Net.Http.HttpClient httpClient,
ref string callId);
@@ -39,9 +58,15 @@ partial void ProcessGetCallResponseContent(
httpClient: HttpClient,
callId: ref callId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetCallSecurityRequirements,
+ operationName: "GetCallAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/v2/get-call/{callId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -51,7 +76,7 @@ partial void ProcessGetCallResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChat.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChat.g.cs
index 447c22f..a7c5261 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChat.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChat.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetChatSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetChatSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetChatSecurityRequirement0,
+ };
partial void PrepareGetChatArguments(
global::System.Net.Http.HttpClient httpClient,
ref string chatId);
@@ -39,9 +58,15 @@ partial void ProcessGetChatResponseContent(
httpClient: HttpClient,
chatId: ref chatId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetChatSecurityRequirements,
+ operationName: "GetChatAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-chat/{chatId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -51,7 +76,7 @@ partial void ProcessGetChatResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgent.g.cs
index d4aff98..eeb7d87 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetChatAgentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetChatAgentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetChatAgentSecurityRequirement0,
+ };
partial void PrepareGetChatAgentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId,
@@ -46,12 +65,18 @@ partial void ProcessGetChatAgentResponseContent(
agentId: ref agentId,
version: ref version);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetChatAgentSecurityRequirements,
+ operationName: "GetChatAgentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-chat-agent/{agentId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("version", version?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -61,7 +86,7 @@ partial void ProcessGetChatAgentResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs
index 8fbe8ea..15bc743 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetChatAgentVersionsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetChatAgentVersionsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetChatAgentVersionsSecurityRequirement0,
+ };
partial void PrepareGetChatAgentVersionsArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId);
@@ -39,9 +58,15 @@ partial void ProcessGetChatAgentVersionsResponseContent(
httpClient: HttpClient,
agentId: ref agentId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetChatAgentVersionsSecurityRequirements,
+ operationName: "GetChatAgentVersionsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-chat-agent-versions/{agentId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -51,7 +76,7 @@ partial void ProcessGetChatAgentVersionsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConcurrency.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConcurrency.g.cs
index 3a2e38f..fb9e16f 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConcurrency.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConcurrency.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetConcurrencySecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetConcurrencySecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetConcurrencySecurityRequirement0,
+ };
partial void PrepareGetConcurrencyArguments(
global::System.Net.Http.HttpClient httpClient);
partial void PrepareGetConcurrencyRequest(
@@ -32,9 +51,15 @@ partial void ProcessGetConcurrencyResponseContent(
PrepareGetConcurrencyArguments(
httpClient: HttpClient);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetConcurrencySecurityRequirements,
+ operationName: "GetConcurrencyAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/get-concurrency",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -44,7 +69,7 @@ partial void ProcessGetConcurrencyResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConversationFlow.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConversationFlow.g.cs
index cf96b90..c244ae3 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConversationFlow.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConversationFlow.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetConversationFlowSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetConversationFlowSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetConversationFlowSecurityRequirement0,
+ };
partial void PrepareGetConversationFlowArguments(
global::System.Net.Http.HttpClient httpClient,
ref string conversationFlowId,
@@ -44,12 +63,18 @@ partial void ProcessGetConversationFlowResponseContent(
conversationFlowId: ref conversationFlowId,
version: ref version);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetConversationFlowSecurityRequirements,
+ operationName: "GetConversationFlowAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-conversation-flow/{conversationFlowId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("version", version?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -59,7 +84,7 @@ partial void ProcessGetConversationFlowResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConversationFlowComponent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConversationFlowComponent.g.cs
index a221295..41f0439 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConversationFlowComponent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetConversationFlowComponent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetConversationFlowComponentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetConversationFlowComponentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetConversationFlowComponentSecurityRequirement0,
+ };
partial void PrepareGetConversationFlowComponentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string conversationFlowComponentId);
@@ -37,9 +56,15 @@ partial void ProcessGetConversationFlowComponentResponseContent(
httpClient: HttpClient,
conversationFlowComponentId: ref conversationFlowComponentId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetConversationFlowComponentSecurityRequirements,
+ operationName: "GetConversationFlowComponentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-conversation-flow-component/{conversationFlowComponentId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -49,7 +74,7 @@ partial void ProcessGetConversationFlowComponentResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetKnowledgeBase.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetKnowledgeBase.g.cs
index 6a0b2fe..abb28ba 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetKnowledgeBase.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetKnowledgeBase.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetKnowledgeBaseSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetKnowledgeBaseSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetKnowledgeBaseSecurityRequirement0,
+ };
partial void PrepareGetKnowledgeBaseArguments(
global::System.Net.Http.HttpClient httpClient,
ref string knowledgeBaseId);
@@ -39,9 +58,15 @@ partial void ProcessGetKnowledgeBaseResponseContent(
httpClient: HttpClient,
knowledgeBaseId: ref knowledgeBaseId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetKnowledgeBaseSecurityRequirements,
+ operationName: "GetKnowledgeBaseAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-knowledge-base/{knowledgeBaseId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -51,7 +76,7 @@ partial void ProcessGetKnowledgeBaseResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetMCPTools.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetMCPTools.g.cs
index 85fac36..f512b32 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetMCPTools.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetMCPTools.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetMCPToolsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetMCPToolsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetMCPToolsSecurityRequirement0,
+ };
partial void PrepareGetMCPToolsArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId,
@@ -60,6 +79,12 @@ partial void ProcessGetMCPToolsResponseContent(
mcpId: ref mcpId,
componentId: ref componentId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetMCPToolsSecurityRequirements,
+ operationName: "GetMCPToolsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-mcp-tools/{agentId}",
baseUri: HttpClient.BaseAddress);
@@ -67,7 +92,7 @@ partial void ProcessGetMCPToolsResponseContent(
.AddOptionalParameter("version", version?.ToString())
.AddRequiredParameter("mcp_id", mcpId)
.AddOptionalParameter("component_id", componentId)
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -77,7 +102,7 @@ partial void ProcessGetMCPToolsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetPhoneNumber.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetPhoneNumber.g.cs
index 286eff7..89ca922 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetPhoneNumber.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetPhoneNumber.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetPhoneNumberSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetPhoneNumberSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetPhoneNumberSecurityRequirement0,
+ };
partial void PrepareGetPhoneNumberArguments(
global::System.Net.Http.HttpClient httpClient,
ref string phoneNumber);
@@ -39,9 +58,15 @@ partial void ProcessGetPhoneNumberResponseContent(
httpClient: HttpClient,
phoneNumber: ref phoneNumber);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetPhoneNumberSecurityRequirements,
+ operationName: "GetPhoneNumberAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-phone-number/{phoneNumber}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -51,7 +76,7 @@ partial void ProcessGetPhoneNumberResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetRetellLLM.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetRetellLLM.g.cs
index db793a4..bb1a7f8 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetRetellLLM.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetRetellLLM.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetRetellLLMSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetRetellLLMSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetRetellLLMSecurityRequirement0,
+ };
partial void PrepareGetRetellLLMArguments(
global::System.Net.Http.HttpClient httpClient,
ref string llmId,
@@ -46,12 +65,18 @@ partial void ProcessGetRetellLLMResponseContent(
llmId: ref llmId,
version: ref version);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetRetellLLMSecurityRequirements,
+ operationName: "GetRetellLLMAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-retell-llm/{llmId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("version", version?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -61,7 +86,7 @@ partial void ProcessGetRetellLLMResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetTestCaseDefinition.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetTestCaseDefinition.g.cs
index 1c32216..6912031 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetTestCaseDefinition.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetTestCaseDefinition.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetTestCaseDefinitionSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetTestCaseDefinitionSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetTestCaseDefinitionSecurityRequirement0,
+ };
partial void PrepareGetTestCaseDefinitionArguments(
global::System.Net.Http.HttpClient httpClient,
ref string testCaseDefinitionId);
@@ -37,9 +56,15 @@ partial void ProcessGetTestCaseDefinitionResponseContent(
httpClient: HttpClient,
testCaseDefinitionId: ref testCaseDefinitionId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetTestCaseDefinitionSecurityRequirements,
+ operationName: "GetTestCaseDefinitionAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-test-case-definition/{testCaseDefinitionId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -49,7 +74,7 @@ partial void ProcessGetTestCaseDefinitionResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetTestRun.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetTestRun.g.cs
index e76e16b..cf39be2 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetTestRun.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetTestRun.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetTestRunSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetTestRunSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetTestRunSecurityRequirement0,
+ };
partial void PrepareGetTestRunArguments(
global::System.Net.Http.HttpClient httpClient,
ref string testCaseJobId);
@@ -37,9 +56,15 @@ partial void ProcessGetTestRunResponseContent(
httpClient: HttpClient,
testCaseJobId: ref testCaseJobId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetTestRunSecurityRequirements,
+ operationName: "GetTestRunAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-test-run/{testCaseJobId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -49,7 +74,7 @@ partial void ProcessGetTestRunResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetVoice.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetVoice.g.cs
index 539ef0c..20df400 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetVoice.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetVoice.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_GetVoiceSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetVoiceSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_GetVoiceSecurityRequirement0,
+ };
partial void PrepareGetVoiceArguments(
global::System.Net.Http.HttpClient httpClient,
ref string voiceId);
@@ -39,9 +58,15 @@ partial void ProcessGetVoiceResponseContent(
httpClient: HttpClient,
voiceId: ref voiceId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetVoiceSecurityRequirements,
+ operationName: "GetVoiceAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/get-voice/{voiceId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -51,7 +76,7 @@ partial void ProcessGetVoiceResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ImportPhoneNumber.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ImportPhoneNumber.g.cs
index 5052efa..b9e5204 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ImportPhoneNumber.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ImportPhoneNumber.g.cs
@@ -7,6 +7,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ImportPhoneNumberSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ImportPhoneNumberSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ImportPhoneNumberSecurityRequirement0,
+ };
partial void PrepareImportPhoneNumberArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.ImportPhoneNumberRequest request);
@@ -42,9 +61,15 @@ partial void ProcessImportPhoneNumberResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ImportPhoneNumberSecurityRequirements,
+ operationName: "ImportPhoneNumberAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/import-phone-number",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -54,7 +79,7 @@ partial void ProcessImportPhoneNumberResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgents.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgents.g.cs
index d78e3da..73a7761 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgents.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgents.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListAgentsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListAgentsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListAgentsSecurityRequirement0,
+ };
partial void PrepareListAgentsArguments(
global::System.Net.Http.HttpClient httpClient,
ref int? limit,
@@ -53,6 +72,12 @@ partial void ProcessListAgentsResponseContent(
paginationKey: ref paginationKey,
paginationKeyVersion: ref paginationKeyVersion);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListAgentsSecurityRequirements,
+ operationName: "ListAgentsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-agents",
baseUri: HttpClient.BaseAddress);
@@ -60,7 +85,7 @@ partial void ProcessListAgentsResponseContent(
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("pagination_key", paginationKey)
.AddOptionalParameter("pagination_key_version", paginationKeyVersion?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -70,7 +95,7 @@ partial void ProcessListAgentsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTests.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTests.g.cs
index ab27b56..b3620ea 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTests.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTests.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListBatchTestsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListBatchTestsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListBatchTestsSecurityRequirement0,
+ };
partial void PrepareListBatchTestsArguments(
global::System.Net.Http.HttpClient httpClient,
ref global::RetellAI.ListBatchTestsType type,
@@ -52,6 +71,12 @@ partial void ProcessListBatchTestsResponseContent(
conversationFlowId: ref conversationFlowId,
version: ref version);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListBatchTestsSecurityRequirements,
+ operationName: "ListBatchTestsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-batch-tests",
baseUri: HttpClient.BaseAddress);
@@ -60,7 +85,7 @@ partial void ProcessListBatchTestsResponseContent(
.AddOptionalParameter("llm_id", llmId)
.AddOptionalParameter("conversation_flow_id", conversationFlowId)
.AddOptionalParameter("version", version?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -70,7 +95,7 @@ partial void ProcessListBatchTestsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTestsV2.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTestsV2.g.cs
index dde7ac5..a65a324 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTestsV2.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListBatchTestsV2.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListBatchTestsV2SecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListBatchTestsV2SecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListBatchTestsV2SecurityRequirement0,
+ };
partial void PrepareListBatchTestsV2Arguments(
global::System.Net.Http.HttpClient httpClient,
ref global::RetellAI.ListBatchTestsV2Type type,
@@ -64,6 +83,12 @@ partial void ProcessListBatchTestsV2ResponseContent(
limit: ref limit,
paginationKey: ref paginationKey);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListBatchTestsV2SecurityRequirements,
+ operationName: "ListBatchTestsV2Async");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/v2/list-batch-tests",
baseUri: HttpClient.BaseAddress);
@@ -74,7 +99,7 @@ partial void ProcessListBatchTestsV2ResponseContent(
.AddOptionalParameter("version", version?.ToString())
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("pagination_key", paginationKey)
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -84,7 +109,7 @@ partial void ProcessListBatchTestsV2ResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCalls.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCalls.g.cs
index 9f3bd2b..7965732 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCalls.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCalls.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListCallsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListCallsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListCallsSecurityRequirement0,
+ };
partial void PrepareListCallsArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.ListCallsRequest request);
@@ -40,9 +59,15 @@ partial void ProcessListCallsResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListCallsSecurityRequirements,
+ operationName: "ListCallsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/v2/list-calls",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessListCallsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChat.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChat.g.cs
index 361de5d..c1463a5 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChat.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChat.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListChatSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListChatSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListChatSecurityRequirement0,
+ };
partial void PrepareListChatArguments(
global::System.Net.Http.HttpClient httpClient,
ref global::RetellAI.ListChatSortOrder? sortOrder,
@@ -51,6 +70,12 @@ partial void ProcessListChatResponseContent(
limit: ref limit,
paginationKey: ref paginationKey);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListChatSecurityRequirements,
+ operationName: "ListChatAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-chat",
baseUri: HttpClient.BaseAddress);
@@ -58,7 +83,7 @@ partial void ProcessListChatResponseContent(
.AddOptionalParameter("sort_order", sortOrder?.ToValueString())
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("pagination_key", paginationKey)
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -68,7 +93,7 @@ partial void ProcessListChatResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatAgents.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatAgents.g.cs
index 93c98a2..3a8258d 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatAgents.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatAgents.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListChatAgentsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListChatAgentsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListChatAgentsSecurityRequirement0,
+ };
partial void PrepareListChatAgentsArguments(
global::System.Net.Http.HttpClient httpClient,
ref int? limit,
@@ -53,6 +72,12 @@ partial void ProcessListChatAgentsResponseContent(
paginationKey: ref paginationKey,
paginationKeyVersion: ref paginationKeyVersion);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListChatAgentsSecurityRequirements,
+ operationName: "ListChatAgentsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-chat-agents",
baseUri: HttpClient.BaseAddress);
@@ -60,7 +85,7 @@ partial void ProcessListChatAgentsResponseContent(
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("pagination_key", paginationKey)
.AddOptionalParameter("pagination_key_version", paginationKeyVersion?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -70,7 +95,7 @@ partial void ProcessListChatAgentsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponents.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponents.g.cs
index ad9b272..39ce51f 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponents.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponents.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListConversationFlowComponentsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListConversationFlowComponentsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListConversationFlowComponentsSecurityRequirement0,
+ };
partial void PrepareListConversationFlowComponentsArguments(
global::System.Net.Http.HttpClient httpClient);
partial void PrepareListConversationFlowComponentsRequest(
@@ -32,9 +51,15 @@ partial void ProcessListConversationFlowComponentsResponseContent(
PrepareListConversationFlowComponentsArguments(
httpClient: HttpClient);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListConversationFlowComponentsSecurityRequirements,
+ operationName: "ListConversationFlowComponentsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-conversation-flow-components",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -44,7 +69,7 @@ partial void ProcessListConversationFlowComponentsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponentsV2.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponentsV2.g.cs
index 6f3ac47..c6a1ad1 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponentsV2.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlowComponentsV2.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListConversationFlowComponentsV2SecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListConversationFlowComponentsV2SecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListConversationFlowComponentsV2SecurityRequirement0,
+ };
partial void PrepareListConversationFlowComponentsV2Arguments(
global::System.Net.Http.HttpClient httpClient,
ref int? limit,
@@ -51,6 +70,12 @@ partial void ProcessListConversationFlowComponentsV2ResponseContent(
sortOrder: ref sortOrder,
paginationKey: ref paginationKey);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListConversationFlowComponentsV2SecurityRequirements,
+ operationName: "ListConversationFlowComponentsV2Async");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/v2/list-conversation-flow-components",
baseUri: HttpClient.BaseAddress);
@@ -58,7 +83,7 @@ partial void ProcessListConversationFlowComponentsV2ResponseContent(
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("sort_order", sortOrder?.ToValueString())
.AddOptionalParameter("pagination_key", paginationKey)
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -68,7 +93,7 @@ partial void ProcessListConversationFlowComponentsV2ResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlows.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlows.g.cs
index 0df7fe5..ecab36d 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlows.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListConversationFlows.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListConversationFlowsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListConversationFlowsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListConversationFlowsSecurityRequirement0,
+ };
partial void PrepareListConversationFlowsArguments(
global::System.Net.Http.HttpClient httpClient,
ref int? limit,
@@ -49,6 +68,12 @@ partial void ProcessListConversationFlowsResponseContent(
paginationKey: ref paginationKey,
paginationKeyVersion: ref paginationKeyVersion);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListConversationFlowsSecurityRequirements,
+ operationName: "ListConversationFlowsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-conversation-flows",
baseUri: HttpClient.BaseAddress);
@@ -56,7 +81,7 @@ partial void ProcessListConversationFlowsResponseContent(
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("pagination_key", paginationKey)
.AddOptionalParameter("pagination_key_version", paginationKeyVersion?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -66,7 +91,7 @@ partial void ProcessListConversationFlowsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListExportRequestsV2.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListExportRequestsV2.g.cs
index 7b40720..01cb65c 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListExportRequestsV2.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListExportRequestsV2.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListExportRequestsV2SecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListExportRequestsV2SecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListExportRequestsV2SecurityRequirement0,
+ };
partial void PrepareListExportRequestsV2Arguments(
global::System.Net.Http.HttpClient httpClient,
ref int? limit,
@@ -51,6 +70,12 @@ partial void ProcessListExportRequestsV2ResponseContent(
sortOrder: ref sortOrder,
paginationKey: ref paginationKey);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListExportRequestsV2SecurityRequirements,
+ operationName: "ListExportRequestsV2Async");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/v2/list-export-requests",
baseUri: HttpClient.BaseAddress);
@@ -58,7 +83,7 @@ partial void ProcessListExportRequestsV2ResponseContent(
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("sort_order", sortOrder?.ToValueString())
.AddOptionalParameter("pagination_key", paginationKey)
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -68,7 +93,7 @@ partial void ProcessListExportRequestsV2ResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListKnowledgeBases.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListKnowledgeBases.g.cs
index b7e60ea..c34b6de 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListKnowledgeBases.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListKnowledgeBases.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListKnowledgeBasesSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListKnowledgeBasesSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListKnowledgeBasesSecurityRequirement0,
+ };
partial void PrepareListKnowledgeBasesArguments(
global::System.Net.Http.HttpClient httpClient);
partial void PrepareListKnowledgeBasesRequest(
@@ -32,9 +51,15 @@ partial void ProcessListKnowledgeBasesResponseContent(
PrepareListKnowledgeBasesArguments(
httpClient: HttpClient);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListKnowledgeBasesSecurityRequirements,
+ operationName: "ListKnowledgeBasesAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-knowledge-bases",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -44,7 +69,7 @@ partial void ProcessListKnowledgeBasesResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbers.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbers.g.cs
index 1e079c0..c4a1289 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbers.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbers.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListPhoneNumbersSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListPhoneNumbersSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListPhoneNumbersSecurityRequirement0,
+ };
partial void PrepareListPhoneNumbersArguments(
global::System.Net.Http.HttpClient httpClient);
partial void PrepareListPhoneNumbersRequest(
@@ -32,9 +51,15 @@ partial void ProcessListPhoneNumbersResponseContent(
PrepareListPhoneNumbersArguments(
httpClient: HttpClient);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListPhoneNumbersSecurityRequirements,
+ operationName: "ListPhoneNumbersAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-phone-numbers",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -44,7 +69,7 @@ partial void ProcessListPhoneNumbersResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbersV2.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbersV2.g.cs
index 033f5c7..efe9ebf 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbersV2.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListPhoneNumbersV2.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListPhoneNumbersV2SecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListPhoneNumbersV2SecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListPhoneNumbersV2SecurityRequirement0,
+ };
partial void PrepareListPhoneNumbersV2Arguments(
global::System.Net.Http.HttpClient httpClient,
ref int? limit,
@@ -51,6 +70,12 @@ partial void ProcessListPhoneNumbersV2ResponseContent(
sortOrder: ref sortOrder,
paginationKey: ref paginationKey);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListPhoneNumbersV2SecurityRequirements,
+ operationName: "ListPhoneNumbersV2Async");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/v2/list-phone-numbers",
baseUri: HttpClient.BaseAddress);
@@ -58,7 +83,7 @@ partial void ProcessListPhoneNumbersV2ResponseContent(
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("sort_order", sortOrder?.ToValueString())
.AddOptionalParameter("pagination_key", paginationKey)
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -68,7 +93,7 @@ partial void ProcessListPhoneNumbersV2ResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListRetellLLM.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListRetellLLM.g.cs
index d9413f7..a0da176 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListRetellLLM.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListRetellLLM.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListRetellLLMSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListRetellLLMSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListRetellLLMSecurityRequirement0,
+ };
partial void PrepareListRetellLLMArguments(
global::System.Net.Http.HttpClient httpClient,
ref int? limit,
@@ -53,6 +72,12 @@ partial void ProcessListRetellLLMResponseContent(
paginationKey: ref paginationKey,
paginationKeyVersion: ref paginationKeyVersion);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListRetellLLMSecurityRequirements,
+ operationName: "ListRetellLLMAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-retell-llms",
baseUri: HttpClient.BaseAddress);
@@ -60,7 +85,7 @@ partial void ProcessListRetellLLMResponseContent(
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("pagination_key", paginationKey)
.AddOptionalParameter("pagination_key_version", paginationKeyVersion?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -70,7 +95,7 @@ partial void ProcessListRetellLLMResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitions.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitions.g.cs
index 11c94d1..1c468e7 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitions.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitions.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListTestCaseDefinitionsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListTestCaseDefinitionsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListTestCaseDefinitionsSecurityRequirement0,
+ };
partial void PrepareListTestCaseDefinitionsArguments(
global::System.Net.Http.HttpClient httpClient,
ref global::RetellAI.ListTestCaseDefinitionsType type,
@@ -52,6 +71,12 @@ partial void ProcessListTestCaseDefinitionsResponseContent(
conversationFlowId: ref conversationFlowId,
version: ref version);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListTestCaseDefinitionsSecurityRequirements,
+ operationName: "ListTestCaseDefinitionsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-test-case-definitions",
baseUri: HttpClient.BaseAddress);
@@ -60,7 +85,7 @@ partial void ProcessListTestCaseDefinitionsResponseContent(
.AddOptionalParameter("llm_id", llmId)
.AddOptionalParameter("conversation_flow_id", conversationFlowId)
.AddOptionalParameter("version", version?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -70,7 +95,7 @@ partial void ProcessListTestCaseDefinitionsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitionsV2.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitionsV2.g.cs
index 33fb1cf..812fd84 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitionsV2.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestCaseDefinitionsV2.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListTestCaseDefinitionsV2SecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListTestCaseDefinitionsV2SecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListTestCaseDefinitionsV2SecurityRequirement0,
+ };
partial void PrepareListTestCaseDefinitionsV2Arguments(
global::System.Net.Http.HttpClient httpClient,
ref global::RetellAI.ListTestCaseDefinitionsV2Type type,
@@ -64,6 +83,12 @@ partial void ProcessListTestCaseDefinitionsV2ResponseContent(
limit: ref limit,
paginationKey: ref paginationKey);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListTestCaseDefinitionsV2SecurityRequirements,
+ operationName: "ListTestCaseDefinitionsV2Async");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/v2/list-test-case-definitions",
baseUri: HttpClient.BaseAddress);
@@ -74,7 +99,7 @@ partial void ProcessListTestCaseDefinitionsV2ResponseContent(
.AddOptionalParameter("version", version?.ToString())
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("pagination_key", paginationKey)
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -84,7 +109,7 @@ partial void ProcessListTestCaseDefinitionsV2ResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRuns.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRuns.g.cs
index a17bcc0..e51c957 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRuns.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRuns.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListTestRunsSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListTestRunsSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListTestRunsSecurityRequirement0,
+ };
partial void PrepareListTestRunsArguments(
global::System.Net.Http.HttpClient httpClient,
ref string testCaseBatchJobId);
@@ -37,9 +56,15 @@ partial void ProcessListTestRunsResponseContent(
httpClient: HttpClient,
testCaseBatchJobId: ref testCaseBatchJobId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListTestRunsSecurityRequirements,
+ operationName: "ListTestRunsAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/list-test-runs/{testCaseBatchJobId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -49,7 +74,7 @@ partial void ProcessListTestRunsResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRunsV2.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRunsV2.g.cs
index a088909..f0fdecb 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRunsV2.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListTestRunsV2.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListTestRunsV2SecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListTestRunsV2SecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListTestRunsV2SecurityRequirement0,
+ };
partial void PrepareListTestRunsV2Arguments(
global::System.Net.Http.HttpClient httpClient,
ref string testCaseBatchJobId,
@@ -49,13 +68,19 @@ partial void ProcessListTestRunsV2ResponseContent(
limit: ref limit,
paginationKey: ref paginationKey);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListTestRunsV2SecurityRequirements,
+ operationName: "ListTestRunsV2Async");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/v2/list-test-runs/{testCaseBatchJobId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("pagination_key", paginationKey)
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -65,7 +90,7 @@ partial void ProcessListTestRunsV2ResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListVoices.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListVoices.g.cs
index 5a2681f..707f05f 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListVoices.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListVoices.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_ListVoicesSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_ListVoicesSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_ListVoicesSecurityRequirement0,
+ };
partial void PrepareListVoicesArguments(
global::System.Net.Http.HttpClient httpClient);
partial void PrepareListVoicesRequest(
@@ -32,9 +51,15 @@ partial void ProcessListVoicesResponseContent(
PrepareListVoicesArguments(
httpClient: HttpClient);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListVoicesSecurityRequirements,
+ operationName: "ListVoicesAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/list-voices",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -44,7 +69,7 @@ partial void ProcessListVoicesResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.PublishAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.PublishAgent.g.cs
index 8815685..cb1a286 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.PublishAgent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.PublishAgent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_PublishAgentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_PublishAgentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_PublishAgentSecurityRequirement0,
+ };
partial void PreparePublishAgentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId);
@@ -34,9 +53,15 @@ partial void ProcessPublishAgentResponse(
httpClient: HttpClient,
agentId: ref agentId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_PublishAgentSecurityRequirements,
+ operationName: "PublishAgentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/publish-agent/{agentId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -46,7 +71,7 @@ partial void ProcessPublishAgentResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.PublishChatAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.PublishChatAgent.g.cs
index 322c572..865b2bf 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.PublishChatAgent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.PublishChatAgent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_PublishChatAgentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_PublishChatAgentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_PublishChatAgentSecurityRequirement0,
+ };
partial void PreparePublishChatAgentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId);
@@ -34,9 +53,15 @@ partial void ProcessPublishChatAgentResponse(
httpClient: HttpClient,
agentId: ref agentId);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_PublishChatAgentSecurityRequirements,
+ operationName: "PublishChatAgentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/publish-chat-agent/{agentId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -46,7 +71,7 @@ partial void ProcessPublishChatAgentResponse(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RegisterPhoneCall.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RegisterPhoneCall.g.cs
index 3d3762c..7aa6e1e 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RegisterPhoneCall.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RegisterPhoneCall.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_RegisterPhoneCallSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_RegisterPhoneCallSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_RegisterPhoneCallSecurityRequirement0,
+ };
partial void PrepareRegisterPhoneCallArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.RegisterPhoneCallRequest request);
@@ -40,9 +59,15 @@ partial void ProcessRegisterPhoneCallResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_RegisterPhoneCallSecurityRequirements,
+ operationName: "RegisterPhoneCallAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/v2/register-phone-call",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessRegisterPhoneCallResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.SearchCommunityVoice.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.SearchCommunityVoice.g.cs
index 1e28094..28843bf 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.SearchCommunityVoice.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.SearchCommunityVoice.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_SearchCommunityVoiceSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_SearchCommunityVoiceSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_SearchCommunityVoiceSecurityRequirement0,
+ };
partial void PrepareSearchCommunityVoiceArguments(
global::System.Net.Http.HttpClient httpClient,
global::RetellAI.SearchCommunityVoiceRequest request);
@@ -40,9 +59,15 @@ partial void ProcessSearchCommunityVoiceResponseContent(
httpClient: HttpClient,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_SearchCommunityVoiceSecurityRequirements,
+ operationName: "SearchCommunityVoiceAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: "/search-community-voice",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -52,7 +77,7 @@ partial void ProcessSearchCommunityVoiceResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateAgent.g.cs
index cd1a603..e11e2af 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateAgent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateAgent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_UpdateAgentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_UpdateAgentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_UpdateAgentSecurityRequirement0,
+ };
partial void PrepareUpdateAgentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId,
@@ -54,12 +73,18 @@ partial void ProcessUpdateAgentResponseContent(
version: ref version,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_UpdateAgentSecurityRequirements,
+ operationName: "UpdateAgentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/update-agent/{agentId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("version", version?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: new global::System.Net.Http.HttpMethod("PATCH"),
@@ -69,7 +94,7 @@ partial void ProcessUpdateAgentResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateCallMetadata.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateCallMetadata.g.cs
index c0c9a06..a97e2b0 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateCallMetadata.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateCallMetadata.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_UpdateCallMetadataSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_UpdateCallMetadataSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_UpdateCallMetadataSecurityRequirement0,
+ };
partial void PrepareUpdateCallMetadataArguments(
global::System.Net.Http.HttpClient httpClient,
ref string callId,
@@ -47,9 +66,15 @@ partial void ProcessUpdateCallMetadataResponseContent(
callId: ref callId,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_UpdateCallMetadataSecurityRequirements,
+ operationName: "UpdateCallMetadataAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/v2/update-call/{callId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: new global::System.Net.Http.HttpMethod("PATCH"),
@@ -59,7 +84,7 @@ partial void ProcessUpdateCallMetadataResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatAgent.g.cs
index c6b3298..25a364f 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatAgent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatAgent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_UpdateChatAgentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_UpdateChatAgentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_UpdateChatAgentSecurityRequirement0,
+ };
partial void PrepareUpdateChatAgentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string agentId,
@@ -54,12 +73,18 @@ partial void ProcessUpdateChatAgentResponseContent(
version: ref version,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_UpdateChatAgentSecurityRequirements,
+ operationName: "UpdateChatAgentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/update-chat-agent/{agentId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("version", version?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: new global::System.Net.Http.HttpMethod("PATCH"),
@@ -69,7 +94,7 @@ partial void ProcessUpdateChatAgentResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatMetadata.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatMetadata.g.cs
index 34220fc..50fb1c3 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatMetadata.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatMetadata.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_UpdateChatMetadataSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_UpdateChatMetadataSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_UpdateChatMetadataSecurityRequirement0,
+ };
partial void PrepareUpdateChatMetadataArguments(
global::System.Net.Http.HttpClient httpClient,
ref string chatId,
@@ -47,9 +66,15 @@ partial void ProcessUpdateChatMetadataResponseContent(
chatId: ref chatId,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_UpdateChatMetadataSecurityRequirements,
+ operationName: "UpdateChatMetadataAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/update-chat/{chatId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: new global::System.Net.Http.HttpMethod("PATCH"),
@@ -59,7 +84,7 @@ partial void ProcessUpdateChatMetadataResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlow.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlow.g.cs
index 4ab0e9a..f1935ba 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlow.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlow.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_UpdateConversationFlowSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_UpdateConversationFlowSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_UpdateConversationFlowSecurityRequirement0,
+ };
partial void PrepareUpdateConversationFlowArguments(
global::System.Net.Http.HttpClient httpClient,
ref string conversationFlowId,
@@ -50,12 +69,18 @@ partial void ProcessUpdateConversationFlowResponseContent(
version: ref version,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_UpdateConversationFlowSecurityRequirements,
+ operationName: "UpdateConversationFlowAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/update-conversation-flow/{conversationFlowId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("version", version?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: new global::System.Net.Http.HttpMethod("PATCH"),
@@ -65,7 +90,7 @@ partial void ProcessUpdateConversationFlowResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlowComponent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlowComponent.g.cs
index d032c92..c13441e 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlowComponent.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlowComponent.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_UpdateConversationFlowComponentSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_UpdateConversationFlowComponentSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_UpdateConversationFlowComponentSecurityRequirement0,
+ };
partial void PrepareUpdateConversationFlowComponentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string conversationFlowComponentId,
@@ -45,9 +64,15 @@ partial void ProcessUpdateConversationFlowComponentResponseContent(
conversationFlowComponentId: ref conversationFlowComponentId,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_UpdateConversationFlowComponentSecurityRequirements,
+ operationName: "UpdateConversationFlowComponentAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/update-conversation-flow-component/{conversationFlowComponentId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: new global::System.Net.Http.HttpMethod("PATCH"),
@@ -57,7 +82,7 @@ partial void ProcessUpdateConversationFlowComponentResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdatePhoneNumber.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdatePhoneNumber.g.cs
index 1af92cd..410dc4b 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdatePhoneNumber.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdatePhoneNumber.g.cs
@@ -7,6 +7,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_UpdatePhoneNumberSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_UpdatePhoneNumberSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_UpdatePhoneNumberSecurityRequirement0,
+ };
partial void PrepareUpdatePhoneNumberArguments(
global::System.Net.Http.HttpClient httpClient,
ref string phoneNumber,
@@ -49,9 +68,15 @@ partial void ProcessUpdatePhoneNumberResponseContent(
phoneNumber: ref phoneNumber,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_UpdatePhoneNumberSecurityRequirements,
+ operationName: "UpdatePhoneNumberAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/update-phone-number/{phoneNumber}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: new global::System.Net.Http.HttpMethod("PATCH"),
@@ -61,7 +86,7 @@ partial void ProcessUpdatePhoneNumberResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateRetellLLM.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateRetellLLM.g.cs
index 9771121..f55bdb4 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateRetellLLM.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateRetellLLM.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_UpdateRetellLLMSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_UpdateRetellLLMSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_UpdateRetellLLMSecurityRequirement0,
+ };
partial void PrepareUpdateRetellLLMArguments(
global::System.Net.Http.HttpClient httpClient,
ref string llmId,
@@ -52,12 +71,18 @@ partial void ProcessUpdateRetellLLMResponseContent(
version: ref version,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_UpdateRetellLLMSecurityRequirements,
+ operationName: "UpdateRetellLLMAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/update-retell-llm/{llmId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("version", version?.ToString())
- ;
+ ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: new global::System.Net.Http.HttpMethod("PATCH"),
@@ -67,7 +92,7 @@ partial void ProcessUpdateRetellLLMResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateTestCaseDefinition.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateTestCaseDefinition.g.cs
index 3c2eb57..ad85150 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateTestCaseDefinition.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateTestCaseDefinition.g.cs
@@ -5,6 +5,25 @@ namespace RetellAI
{
public partial class RetellAiClient
{
+
+
+ private static readonly global::RetellAI.EndPointSecurityRequirement s_UpdateTestCaseDefinitionSecurityRequirement0 =
+ new global::RetellAI.EndPointSecurityRequirement
+ {
+ Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[]
+ { new global::RetellAI.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::RetellAI.EndPointSecurityRequirement[] s_UpdateTestCaseDefinitionSecurityRequirements =
+ new global::RetellAI.EndPointSecurityRequirement[]
+ { s_UpdateTestCaseDefinitionSecurityRequirement0,
+ };
partial void PrepareUpdateTestCaseDefinitionArguments(
global::System.Net.Http.HttpClient httpClient,
ref string testCaseDefinitionId,
@@ -45,9 +64,15 @@ partial void ProcessUpdateTestCaseDefinitionResponseContent(
testCaseDefinitionId: ref testCaseDefinitionId,
request: request);
+
+ var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_UpdateTestCaseDefinitionSecurityRequirements,
+ operationName: "UpdateTestCaseDefinitionAsync");
+
var __pathBuilder = new global::RetellAI.PathBuilder(
path: $"/update-test-case-definition/{testCaseDefinitionId}",
- baseUri: HttpClient.BaseAddress);
+ baseUri: HttpClient.BaseAddress);
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Put,
@@ -57,7 +82,7 @@ partial void ProcessUpdateTestCaseDefinitionResponseContent(
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
- foreach (var __authorization in Authorizations)
+ foreach (var __authorization in __authorizations)
{
if (__authorization.Type == "Http" ||
__authorization.Type == "OAuth2")
diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.g.cs
index 5e9c401..8f4d227 100644
--- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.g.cs
+++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.g.cs
@@ -12,7 +12,7 @@ public sealed partial class RetellAiClient : global::RetellAI.IRetellAiClient, g
///
/// The production server.
///
- public const string DefaultBaseUrl = "https://api.retellai.com";
+ public const string DefaultBaseUrl = "https://api.retellai.com/";
private bool _disposeHttpClient = true;
diff --git a/src/libs/RetellAI/Generated/RetellAI.Security.g.cs b/src/libs/RetellAI/Generated/RetellAI.Security.g.cs
new file mode 100644
index 0000000..62cabb9
--- /dev/null
+++ b/src/libs/RetellAI/Generated/RetellAI.Security.g.cs
@@ -0,0 +1,145 @@
+#nullable enable
+
+namespace RetellAI
+{
+ internal sealed class EndPointAuthorizationRequirement
+ {
+ internal string Type { get; set; } = string.Empty;
+
+ internal string Location { get; set; } = string.Empty;
+
+ internal string Name { get; set; } = string.Empty;
+
+ internal string FriendlyName { get; set; } = string.Empty;
+ }
+
+ internal sealed class EndPointSecurityRequirement
+ {
+ internal global::System.Collections.Generic.IReadOnlyList Authorizations { get; set; } =
+ global::System.Array.Empty();
+ }
+
+ internal static class EndPointSecurityResolver
+ {
+ internal static global::System.Collections.Generic.List ResolveAuthorizations(
+ global::System.Collections.Generic.IReadOnlyList availableAuthorizations,
+ global::System.Collections.Generic.IReadOnlyList securityRequirements,
+ string operationName)
+ {
+ availableAuthorizations = availableAuthorizations ?? throw new global::System.ArgumentNullException(nameof(availableAuthorizations));
+ securityRequirements = securityRequirements ?? throw new global::System.ArgumentNullException(nameof(securityRequirements));
+ operationName = operationName ?? throw new global::System.ArgumentNullException(nameof(operationName));
+
+ if (securityRequirements.Count == 0)
+ {
+ return new global::System.Collections.Generic.List();
+ }
+
+ var allowsAnonymous = false;
+
+ foreach (var requirement in securityRequirements)
+ {
+ if (requirement.Authorizations.Count == 0)
+ {
+ allowsAnonymous = true;
+ continue;
+ }
+
+ var selected = new global::System.Collections.Generic.List(requirement.Authorizations.Count);
+ var satisfied = true;
+
+ foreach (var requiredAuthorization in requirement.Authorizations)
+ {
+ var found = false;
+
+ for (var i = 0; i < availableAuthorizations.Count; i++)
+ {
+ if (!Matches(availableAuthorizations[i], requiredAuthorization))
+ {
+ continue;
+ }
+
+ selected.Add(availableAuthorizations[i]);
+ found = true;
+ break;
+ }
+
+ if (!found)
+ {
+ satisfied = false;
+ break;
+ }
+ }
+
+ if (satisfied)
+ {
+ return selected;
+ }
+ }
+
+ if (allowsAnonymous)
+ {
+ return new global::System.Collections.Generic.List();
+ }
+
+ throw new global::System.InvalidOperationException(
+ $"Operation '{operationName}' requires one of the configured security alternatives: {DescribeRequirements(securityRequirements)}.");
+ }
+
+ private static bool Matches(
+ EndPointAuthorization availableAuthorization,
+ EndPointAuthorizationRequirement requiredAuthorization)
+ {
+ if (!string.Equals(availableAuthorization.Type, requiredAuthorization.Type, global::System.StringComparison.Ordinal))
+ {
+ return false;
+ }
+
+ return requiredAuthorization.Type switch
+ {
+ "OAuth2" => true,
+ "Http" => string.Equals(
+ availableAuthorization.Name,
+ requiredAuthorization.Name,
+ global::System.StringComparison.Ordinal),
+ "ApiKey" => string.Equals(
+ availableAuthorization.Location,
+ requiredAuthorization.Location,
+ global::System.StringComparison.Ordinal) &&
+ string.Equals(
+ availableAuthorization.Name,
+ requiredAuthorization.Name,
+ global::System.StringComparison.Ordinal),
+ _ => string.Equals(
+ availableAuthorization.Location,
+ requiredAuthorization.Location,
+ global::System.StringComparison.Ordinal) &&
+ string.Equals(
+ availableAuthorization.Name,
+ requiredAuthorization.Name,
+ global::System.StringComparison.Ordinal),
+ };
+ }
+
+ private static string DescribeRequirements(
+ global::System.Collections.Generic.IReadOnlyList securityRequirements)
+ {
+ var parts = new global::System.Collections.Generic.List(securityRequirements.Count);
+
+ foreach (var requirement in securityRequirements)
+ {
+ if (requirement.Authorizations.Count == 0)
+ {
+ parts.Add("anonymous");
+ continue;
+ }
+
+ parts.Add(string.Join(
+ " + ",
+ global::System.Linq.Enumerable.Select(requirement.Authorizations, static x => x.FriendlyName)));
+ }
+
+ return string.Join(" or ", parts);
+ }
+ }
+}
\ No newline at end of file