From 00e2e4bc87b5d2ba6996fbd795bb73ce5299b0ce Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 8 May 2026 19:09:58 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...llAI.IRetellAiClient.GetAgentVersions.g.cs | 8 ------ ....IRetellAiClient.GetChatAgentVersions.g.cs | 8 ------ .../RetellAI.IRetellAiClient.ListCallsV3.g.cs | 6 ++--- .../RetellAI.IRetellAiClient.ListChatsV3.g.cs | 6 ++--- ...RetellAI.JsonConverters.AgentResponse.g.cs | 1 - ...llAI.JsonConverters.ChatAgentResponse.g.cs | 1 - ...ellAI.RetellAiClient.GetAgentVersions.g.cs | 24 +++--------------- ...I.RetellAiClient.GetChatAgentVersions.g.cs | 24 +++--------------- .../RetellAI.RetellAiClient.ListCallsV3.g.cs | 6 ++--- .../RetellAI.RetellAiClient.ListChatsV3.g.cs | 6 ++--- src/libs/RetellAI/openapi.yaml | 25 ++----------------- 11 files changed, 22 insertions(+), 93 deletions(-) diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetAgentVersions.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetAgentVersions.g.cs index d311364..9de968c 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetAgentVersions.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetAgentVersions.g.cs @@ -10,15 +10,11 @@ public partial interface IRetellAiClient /// /// Example: 16b980523634a6dc504898cda492e939 /// - /// - /// Default Value: false - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> GetAgentVersionsAsync( string agentId, - bool? includeResponseEngine = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,15 +23,11 @@ public partial interface IRetellAiClient /// /// Example: 16b980523634a6dc504898cda492e939 /// - /// - /// Default Value: false - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task>> GetAgentVersionsAsResponseAsync( string agentId, - bool? includeResponseEngine = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetChatAgentVersions.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetChatAgentVersions.g.cs index d57f934..5780347 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetChatAgentVersions.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetChatAgentVersions.g.cs @@ -10,15 +10,11 @@ public partial interface IRetellAiClient /// /// Example: 16b980523634a6dc504898cda492e939 /// - /// - /// Default Value: false - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> GetChatAgentVersionsAsync( string agentId, - bool? includeResponseEngine = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,15 +23,11 @@ public partial interface IRetellAiClient /// /// Example: 16b980523634a6dc504898cda492e939 /// - /// - /// Default Value: false - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task>> GetChatAgentVersionsAsResponseAsync( string agentId, - bool? includeResponseEngine = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListCallsV3.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListCallsV3.g.cs index 1b7b2d6..89e2067 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListCallsV3.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListCallsV3.g.cs @@ -5,7 +5,7 @@ namespace RetellAI public partial interface IRetellAiClient { /// - /// List calls with unified cursor pagination response and total count. + /// List calls with unified cursor pagination response. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -17,7 +17,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// List calls with unified cursor pagination response and total count. + /// List calls with unified cursor pagination response. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -29,7 +29,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// List calls with unified cursor pagination response and total count. + /// List calls with unified cursor pagination response. /// /// /// Filter criteria for calls. All conditions are implicitly connected with AND. diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListChatsV3.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListChatsV3.g.cs index 789f0bd..1503273 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListChatsV3.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListChatsV3.g.cs @@ -5,7 +5,7 @@ namespace RetellAI public partial interface IRetellAiClient { /// - /// List chats with unified cursor pagination response and total count. + /// List chats with unified cursor pagination response. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -17,7 +17,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// List chats with unified cursor pagination response and total count. + /// List chats with unified cursor pagination response. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -29,7 +29,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// List chats with unified cursor pagination response and total count. + /// List chats with unified cursor pagination response. /// /// /// Filter criteria for chats to retrieve. diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AgentResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AgentResponse.g.cs index 47f4ed1..1c5dc02 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AgentResponse.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AgentResponse.g.cs @@ -124,7 +124,6 @@ public class AgentResponseJsonConverter : global::System.Text.Json.Serialization if (__jsonProps.Contains("webhook_url")) __score1++; var __score2 = 0; if (__jsonProps.Contains("last_modification_timestamp")) __score2++; - if (__jsonProps.Contains("response_engine_data")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChatAgentResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChatAgentResponse.g.cs index ade8562..cee4cb7 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChatAgentResponse.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChatAgentResponse.g.cs @@ -73,7 +73,6 @@ public class ChatAgentResponseJsonConverter : global::System.Text.Json.Serializa if (__jsonProps.Contains("webhook_url")) __score1++; var __score2 = 0; if (__jsonProps.Contains("last_modification_timestamp")) __score2++; - if (__jsonProps.Contains("response_engine_data")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs index e9aae0b..646e9e4 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetAgentVersions.g.cs @@ -27,13 +27,11 @@ public partial class RetellAiClient }; partial void PrepareGetAgentVersionsArguments( global::System.Net.Http.HttpClient httpClient, - ref string agentId, - ref bool? includeResponseEngine); + ref string agentId); partial void PrepareGetAgentVersionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string agentId, - bool? includeResponseEngine); + string agentId); partial void ProcessGetAgentVersionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -49,21 +47,16 @@ partial void ProcessGetAgentVersionsResponseContent( /// /// Example: 16b980523634a6dc504898cda492e939 /// - /// - /// Default Value: false - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> GetAgentVersionsAsync( string agentId, - bool? includeResponseEngine = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await GetAgentVersionsAsResponseAsync( agentId: agentId, - includeResponseEngine: includeResponseEngine, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -76,15 +69,11 @@ partial void ProcessGetAgentVersionsResponseContent( /// /// Example: 16b980523634a6dc504898cda492e939 /// - /// - /// Default Value: false - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task>> GetAgentVersionsAsResponseAsync( string agentId, - bool? includeResponseEngine = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -92,8 +81,7 @@ partial void ProcessGetAgentVersionsResponseContent( client: HttpClient); PrepareGetAgentVersionsArguments( httpClient: HttpClient, - agentId: ref agentId, - includeResponseEngine: ref includeResponseEngine); + agentId: ref agentId); var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( @@ -121,9 +109,6 @@ partial void ProcessGetAgentVersionsResponseContent( var __pathBuilder = new global::RetellAI.PathBuilder( path: $"/get-agent-versions/{agentId}", baseUri: HttpClient.BaseAddress); - __pathBuilder - .AddOptionalParameter("include_response_engine", includeResponseEngine?.ToString().ToLowerInvariant()) - ; var __path = __pathBuilder.ToString(); __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -164,8 +149,7 @@ partial void ProcessGetAgentVersionsResponseContent( PrepareGetAgentVersionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - includeResponseEngine: includeResponseEngine); + agentId: agentId!); return __httpRequest; } diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs index fd31d9d..a7d615d 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetChatAgentVersions.g.cs @@ -27,13 +27,11 @@ public partial class RetellAiClient }; partial void PrepareGetChatAgentVersionsArguments( global::System.Net.Http.HttpClient httpClient, - ref string agentId, - ref bool? includeResponseEngine); + ref string agentId); partial void PrepareGetChatAgentVersionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string agentId, - bool? includeResponseEngine); + string agentId); partial void ProcessGetChatAgentVersionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -49,21 +47,16 @@ partial void ProcessGetChatAgentVersionsResponseContent( /// /// Example: 16b980523634a6dc504898cda492e939 /// - /// - /// Default Value: false - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> GetChatAgentVersionsAsync( string agentId, - bool? includeResponseEngine = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await GetChatAgentVersionsAsResponseAsync( agentId: agentId, - includeResponseEngine: includeResponseEngine, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -76,15 +69,11 @@ partial void ProcessGetChatAgentVersionsResponseContent( /// /// Example: 16b980523634a6dc504898cda492e939 /// - /// - /// Default Value: false - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task>> GetChatAgentVersionsAsResponseAsync( string agentId, - bool? includeResponseEngine = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -92,8 +81,7 @@ partial void ProcessGetChatAgentVersionsResponseContent( client: HttpClient); PrepareGetChatAgentVersionsArguments( httpClient: HttpClient, - agentId: ref agentId, - includeResponseEngine: ref includeResponseEngine); + agentId: ref agentId); var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( @@ -121,9 +109,6 @@ partial void ProcessGetChatAgentVersionsResponseContent( var __pathBuilder = new global::RetellAI.PathBuilder( path: $"/get-chat-agent-versions/{agentId}", baseUri: HttpClient.BaseAddress); - __pathBuilder - .AddOptionalParameter("include_response_engine", includeResponseEngine?.ToString().ToLowerInvariant()) - ; var __path = __pathBuilder.ToString(); __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -164,8 +149,7 @@ partial void ProcessGetChatAgentVersionsResponseContent( PrepareGetChatAgentVersionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - includeResponseEngine: includeResponseEngine); + agentId: agentId!); return __httpRequest; } diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCallsV3.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCallsV3.g.cs index f6b499c..71b23b7 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCallsV3.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListCallsV3.g.cs @@ -42,7 +42,7 @@ partial void ProcessListCallsV3ResponseContent( ref string content); /// - /// List calls with unified cursor pagination response and total count. + /// List calls with unified cursor pagination response. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -64,7 +64,7 @@ partial void ProcessListCallsV3ResponseContent( return __response.Body; } /// - /// List calls with unified cursor pagination response and total count. + /// List calls with unified cursor pagination response. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -588,7 +588,7 @@ partial void ProcessListCallsV3ResponseContent( } } /// - /// List calls with unified cursor pagination response and total count. + /// List calls with unified cursor pagination response. /// /// /// Filter criteria for calls. All conditions are implicitly connected with AND. diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatsV3.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatsV3.g.cs index 35fb49a..a30f2b5 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatsV3.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListChatsV3.g.cs @@ -42,7 +42,7 @@ partial void ProcessListChatsV3ResponseContent( ref string content); /// - /// List chats with unified cursor pagination response and total count. + /// List chats with unified cursor pagination response. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -64,7 +64,7 @@ partial void ProcessListChatsV3ResponseContent( return __response.Body; } /// - /// List chats with unified cursor pagination response and total count. + /// List chats with unified cursor pagination response. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -588,7 +588,7 @@ partial void ProcessListChatsV3ResponseContent( } } /// - /// List chats with unified cursor pagination response and total count. + /// List chats with unified cursor pagination response. /// /// /// Filter criteria for chats to retrieve. diff --git a/src/libs/RetellAI/openapi.yaml b/src/libs/RetellAI/openapi.yaml index 92f693d..7211c6b 100644 --- a/src/libs/RetellAI/openapi.yaml +++ b/src/libs/RetellAI/openapi.yaml @@ -1097,9 +1097,6 @@ components: type: integer example: 1703413636133 description: Last modification timestamp (milliseconds since epoch). Either the time of last update or creation if no updates available. - response_engine_data: - $ref: '#/components/schemas/ResponseEngineFull' - description: Hydrated response engine for this agent version. Only present when include_response_engine is true on /get-agent-versions. AgentSwapNode: allOf: - $ref: '#/components/schemas/NodeBase' @@ -1935,9 +1932,6 @@ components: type: integer example: 1703413636133 description: Last modification timestamp (milliseconds since epoch). Either the time of last update or creation if no updates available. - response_engine_data: - $ref: '#/components/schemas/ResponseEngineFull' - description: Hydrated response engine for this chat agent version. Only present when include_response_engine is true on /get-chat-agent-versions. ChatAnalysis: type: object properties: @@ -8709,13 +8703,6 @@ paths: example: 16b980523634a6dc504898cda492e939 required: true description: Unique id of the agent versions to be retrieved. - - in: query - name: include_response_engine - schema: - type: boolean - default: false - required: false - description: When true, each returned agent version includes a response_engine_data field with the hydrated response engine (full retell-llm or conversation-flow configuration) bound to that version. responses: '200': description: Successfully retrieved all versions of an agent. @@ -8781,14 +8768,6 @@ paths: example: 16b980523634a6dc504898cda492e939 required: true description: Unique id of the chat agent versions to be retrieved. - - in: query - name: include_response_engine - schema: - type: boolean - default: false - required: false - description: When true, each returned chat agent version includes a response_engine_data field with the hydrated response engine (full retell-llm or conversation-flow configuration) bound to that - version. responses: '200': description: Successfully retrieved all versions of a chat agent. @@ -9543,7 +9522,7 @@ paths: $ref: '#/components/responses/InternalServerError' /v3/list-chats: post: - description: List chats with unified cursor pagination response and total count. + description: List chats with unified cursor pagination response. operationId: listChatsV3 requestBody: required: false @@ -10802,7 +10781,7 @@ paths: $ref: '#/components/responses/InternalServerError' /v3/list-calls: post: - description: List calls with unified cursor pagination response and total count. + description: List calls with unified cursor pagination response. operationId: listCallsV3 requestBody: required: false