From 20de37efecae6ad00770e41b8ece69cd52e1ded9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 8 Jun 2026 20:26:14 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../ResembleAI.IResembleAIClient.g.cs | 5 - ...ackageAudioEditClient.CreateAudioEdit.g.cs | 125 -- ...ubpackageAudioEditClient.GetAudioEdit.g.cs | 32 - ...packageAudioEditClient.ListAudioEdits.g.cs | 36 - ...ResembleAI.ISubpackageAudioEditClient.g.cs | 48 - .../ResembleAI.JsonSerializerContext.g.cs | 9 - ...ResembleAI.JsonSerializerContextTypes.g.cs | 910 +++++------ ...ioEditCreateAudioEditResponse200.Json.g.cs | 92 -- ...s.AudioEditCreateAudioEditResponse200.g.cs | 53 - ...AudioEditGetAudioEditResponse200.Json.g.cs | 92 -- ...dels.AudioEditGetAudioEditResponse200.g.cs | 53 - ...dioEditListAudioEditsResponse200.Json.g.cs | 92 -- ...ls.AudioEditListAudioEditsResponse200.g.cs | 80 - ...AI.Models.CreateAudioEditRequest.Json.g.cs | 92 -- ...embleAI.Models.CreateAudioEditRequest.g.cs | 95 -- ...ContentApplicationJsonSchemaItem.Json.g.cs | 92 -- ...onsesContentApplicationJsonSchemaItem.g.cs | 89 -- ...tApplicationJsonSchemaItemsItems.Json.g.cs | 92 -- ...ontentApplicationJsonSchemaItemsItems.g.cs | 19 - ...ContentApplicationJsonSchemaItem.Json.g.cs | 92 -- ...onsesContentApplicationJsonSchemaItem.g.cs | 80 - .../ResembleAI.ResembleAIClient.g.cs | 10 - ...ackageAudioEditClient.CreateAudioEdit.g.cs | 1407 ----------------- ...ubpackageAudioEditClient.GetAudioEdit.g.cs | 426 ----- ...packageAudioEditClient.ListAudioEdits.g.cs | 433 ----- .../ResembleAI.SubpackageAudioEditClient.g.cs | 144 -- src/libs/ResembleAI/openapi.yaml | 259 --- 27 files changed, 437 insertions(+), 4520 deletions(-) delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.CreateAudioEdit.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.GetAudioEdit.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.ListAudioEdits.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditCreateAudioEditResponse200.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditCreateAudioEditResponse200.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditGetAudioEditResponse200.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditGetAudioEditResponse200.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditListAudioEditsResponse200.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditListAudioEditsResponse200.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.CreateAudioEditRequest.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.CreateAudioEditRequest.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.EditGetResponsesContentApplicationJsonSchemaItemsItems.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.EditGetResponsesContentApplicationJsonSchemaItemsItems.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.EditPostResponsesContentApplicationJsonSchemaItem.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.EditPostResponsesContentApplicationJsonSchemaItem.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.CreateAudioEdit.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.GetAudioEdit.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.ListAudioEdits.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.g.cs diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IResembleAIClient.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IResembleAIClient.g.cs index a4224eb..ecd649a 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IResembleAIClient.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IResembleAIClient.g.cs @@ -95,11 +95,6 @@ public partial interface IResembleAIClient : global::System.IDisposable /// public SubpackageAgentsClient SubpackageAgents { get; } - /// - /// - /// - public SubpackageAudioEditClient SubpackageAudioEdit { get; } - /// /// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.CreateAudioEdit.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.CreateAudioEdit.g.cs deleted file mode 100644 index aac4e91..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.CreateAudioEdit.g.cs +++ /dev/null @@ -1,125 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public partial interface ISubpackageAudioEditClient - { - /// - /// Create audio edit
- /// Edit audio segments using voice synthesis - ///
- /// - /// 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 CreateAudioEditAsync( - - global::ResembleAI.CreateAudioEditRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Create audio edit
- /// Edit audio segments using voice synthesis - ///
- /// - /// 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> CreateAudioEditAsResponseAsync( - - global::ResembleAI.CreateAudioEditRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Create audio edit
- /// Edit audio segments using voice synthesis - ///
- /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// Accurate transcript of the uploaded audio - /// - /// - /// Desired replacement text - /// - /// - /// Voice used to render the edited segment - /// - /// 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 CreateAudioEditAsync( - byte[] inputAudio, - string inputAudioname, - string originalTranscript, - string targetTranscript, - string voiceUuid, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - - /// - /// Create audio edit
- /// Edit audio segments using voice synthesis - ///
- /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// Accurate transcript of the uploaded audio - /// - /// - /// Desired replacement text - /// - /// - /// Voice used to render the edited segment - /// - /// 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 CreateAudioEditAsync( - global::System.IO.Stream inputAudio, - string inputAudioname, - string originalTranscript, - string targetTranscript, - string voiceUuid, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Create audio edit
- /// Edit audio segments using voice synthesis - ///
- /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// Accurate transcript of the uploaded audio - /// - /// - /// Desired replacement text - /// - /// - /// Voice used to render the edited segment - /// - /// 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> CreateAudioEditAsResponseAsync( - global::System.IO.Stream inputAudio, - string inputAudioname, - string originalTranscript, - string targetTranscript, - string voiceUuid, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.GetAudioEdit.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.GetAudioEdit.g.cs deleted file mode 100644 index 441dfbb..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.GetAudioEdit.g.cs +++ /dev/null @@ -1,32 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public partial interface ISubpackageAudioEditClient - { - /// - /// Get audio edit
- /// Get status and result of an audio edit - ///
- /// - /// 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 GetAudioEditAsync( - string audioEditUuid, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Get audio edit
- /// Get status and result of an audio edit - ///
- /// - /// 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> GetAudioEditAsResponseAsync( - string audioEditUuid, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.ListAudioEdits.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.ListAudioEdits.g.cs deleted file mode 100644 index a58df32..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.ListAudioEdits.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public partial interface ISubpackageAudioEditClient - { - /// - /// List audio edits
- /// Retrieve paginated list of audio edits - ///
- /// - /// Default Value: 1 - /// - /// 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 ListAudioEditsAsync( - int page, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// List audio edits
- /// Retrieve paginated list of audio edits - ///
- /// - /// Default Value: 1 - /// - /// 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> ListAudioEditsAsResponseAsync( - int page, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.g.cs deleted file mode 100644 index f8fb8bb..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageAudioEditClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. - ///
- public partial interface ISubpackageAudioEditClient : global::System.IDisposable - { - /// - /// The HttpClient instance. - /// - public global::System.Net.Http.HttpClient HttpClient { get; } - - /// - /// The base URL for the API. - /// - public System.Uri? BaseUri { get; } - - /// - /// The authorizations to use for the requests. - /// - public global::System.Collections.Generic.List Authorizations { get; } - - /// - /// Gets or sets a value indicating whether the response content should be read as a string. - /// True by default in debug builds, false otherwise. - /// When false, successful responses are deserialized directly from the response stream for better performance. - /// Error responses are always read as strings regardless of this setting, - /// ensuring is populated. - /// - public bool ReadResponseAsString { get; set; } - /// - /// Client-wide request defaults such as headers, query parameters, retries, and timeout. - /// - public global::ResembleAI.AutoSDKClientOptions Options { get; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs index ec4c43e..dd98ab1 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs @@ -305,13 +305,6 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.SpeechToTextUuidQuestionsQuestionUuidGetResponsesContentApplicationJsonSchemaItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.SpeechToTextGetTranscriptQuestionResponse200))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.EditGetResponsesContentApplicationJsonSchemaItemsItems))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEditListAudioEditsResponse200))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.EditPostResponsesContentApplicationJsonSchemaItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEditCreateAudioEditResponse200))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEditGetAudioEditResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus), TypeInfoPropertyName = "AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsEnhancementEngine), TypeInfoPropertyName = "AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsEnhancementEngine2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItems))] @@ -668,7 +661,6 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.StreamSynthesizeRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateTranscriptRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AskTranscriptQuestionRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateAudioEditRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateAudioEnhancementRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateAgentRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -719,7 +711,6 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs index 3b33a15..2c736b0 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs @@ -184,1631 +184,1599 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::ResembleAI.EditGetResponsesContentApplicationJsonSchemaItemsItems? Type39 { get; set; } + public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type39 { get; set; } /// /// /// - public global::ResembleAI.AudioEditListAudioEditsResponse200? Type40 { get; set; } + public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsEnhancementEngine? Type40 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type41 { get; set; } + public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItems? Type41 { get; set; } /// /// /// - public global::ResembleAI.EditPostResponsesContentApplicationJsonSchemaItem? Type42 { get; set; } + public global::ResembleAI.AudioEnhancementListAudioEnhancementsResponse200? Type42 { get; set; } /// /// /// - public global::ResembleAI.AudioEditCreateAudioEditResponse200? Type43 { get; set; } + public global::System.Collections.Generic.IList? Type43 { get; set; } /// /// /// - public global::ResembleAI.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem? Type44 { get; set; } + public global::ResembleAI.ListAudioEnhancementsRequestBadRequestError? Type44 { get; set; } /// /// /// - public global::ResembleAI.AudioEditGetAudioEditResponse200? Type45 { get; set; } + public global::ResembleAI.AudioEnhancementsPostRequestBodyContentMultipartFormDataSchemaEnhancementEngine? Type45 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type46 { get; set; } + public global::ResembleAI.AudioEnhancementsPostResponsesContentApplicationJsonSchemaStatus? Type46 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsEnhancementEngine? Type47 { get; set; } + public global::ResembleAI.AudioEnhancementCreateAudioEnhancementResponse202? Type47 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItems? Type48 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequestBadRequestError? Type48 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementListAudioEnhancementsResponse200? Type49 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequestForbiddenError? Type49 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type50 { get; set; } + public global::ResembleAI.AudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus? Type50 { get; set; } /// /// /// - public global::ResembleAI.ListAudioEnhancementsRequestBadRequestError? Type51 { get; set; } + public global::ResembleAI.AudioEnhancementGetAudioEnhancementResponse200? Type51 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsPostRequestBodyContentMultipartFormDataSchemaEnhancementEngine? Type52 { get; set; } + public global::ResembleAI.GetAudioEnhancementRequestNotFoundError? Type52 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsPostResponsesContentApplicationJsonSchemaStatus? Type53 { get; set; } + public global::ResembleAI.AgentsGetResponsesContentApplicationJsonSchemaItemsItems? Type53 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementCreateAudioEnhancementResponse202? Type54 { get; set; } + public global::ResembleAI.AgentsListAgentsResponse200? Type54 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequestBadRequestError? Type55 { get; set; } + public global::System.Collections.Generic.IList? Type55 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequestForbiddenError? Type56 { get; set; } + public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaDynamicVariables? Type56 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus? Type57 { get; set; } + public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaAsrUserInputAudioFormat? Type57 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementGetAudioEnhancementResponse200? Type58 { get; set; } + public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaAsr? Type58 { get; set; } /// /// /// - public global::ResembleAI.GetAudioEnhancementRequestNotFoundError? Type59 { get; set; } + public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaTurnMode? Type59 { get; set; } /// /// /// - public global::ResembleAI.AgentsGetResponsesContentApplicationJsonSchemaItemsItems? Type60 { get; set; } + public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaTurn? Type60 { get; set; } /// /// /// - public global::ResembleAI.AgentsListAgentsResponse200? Type61 { get; set; } + public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaLlmBuiltInTools? Type61 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type62 { get; set; } + public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaLlm? Type62 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaDynamicVariables? Type63 { get; set; } + public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaSearchMode? Type63 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaAsrUserInputAudioFormat? Type64 { get; set; } + public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaWebhooksItems? Type64 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaAsr? Type65 { get; set; } + public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaSystemTools? Type65 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaTurnMode? Type66 { get; set; } + public global::ResembleAI.AgentsPostResponsesContentApplicationJsonSchemaItem? Type66 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaTurn? Type67 { get; set; } + public global::ResembleAI.AgentsCreateAgentResponse200? Type67 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaLlmBuiltInTools? Type68 { get; set; } + public global::ResembleAI.AgentsUuidGetResponsesContentApplicationJsonSchemaItem? Type68 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaLlm? Type69 { get; set; } + public global::ResembleAI.AgentsGetAgentResponse200? Type69 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaSearchMode? Type70 { get; set; } + public global::ResembleAI.AgentsDeleteAgentResponse200? Type70 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaWebhooksItems? Type71 { get; set; } + public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaDynamicVariables? Type71 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaSystemTools? Type72 { get; set; } + public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaAsr? Type72 { get; set; } /// /// /// - public global::ResembleAI.AgentsPostResponsesContentApplicationJsonSchemaItem? Type73 { get; set; } + public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaTurn? Type73 { get; set; } /// /// /// - public global::ResembleAI.AgentsCreateAgentResponse200? Type74 { get; set; } + public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaLlm? Type74 { get; set; } /// /// /// - public global::ResembleAI.AgentsUuidGetResponsesContentApplicationJsonSchemaItem? Type75 { get; set; } + public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaSearchMode? Type75 { get; set; } /// /// /// - public global::ResembleAI.AgentsGetAgentResponse200? Type76 { get; set; } + public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaSystemTools? Type76 { get; set; } /// /// /// - public global::ResembleAI.AgentsDeleteAgentResponse200? Type77 { get; set; } + public global::ResembleAI.AgentsUuidPatchResponsesContentApplicationJsonSchemaItem? Type77 { get; set; } /// /// /// - public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaDynamicVariables? Type78 { get; set; } + public global::ResembleAI.AgentsUpdateAgentResponse200? Type78 { get; set; } /// /// /// - public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaAsr? Type79 { get; set; } + public global::ResembleAI.AgentsUuidDispatchPostRequestBodyContentApplicationJsonSchemaDynamicVariables? Type79 { get; set; } /// /// /// - public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaTurn? Type80 { get; set; } + public global::ResembleAI.AgentsDispatchAgentResponse200? Type80 { get; set; } /// /// /// - public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaLlm? Type81 { get; set; } + public global::ResembleAI.AgentsCapabilitiesGetResponsesContentApplicationJsonSchemaAsrCapabilitiesItems? Type81 { get; set; } /// /// /// - public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaSearchMode? Type82 { get; set; } + public global::ResembleAI.AgentsCapabilitiesGetResponsesContentApplicationJsonSchemaLlmCapabilitiesItems? Type82 { get; set; } /// /// /// - public global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaSystemTools? Type83 { get; set; } + public global::ResembleAI.AgentsGetAgentCapabilitiesResponse200? Type83 { get; set; } /// /// /// - public global::ResembleAI.AgentsUuidPatchResponsesContentApplicationJsonSchemaItem? Type84 { get; set; } + public global::System.Collections.Generic.IList? Type84 { get; set; } /// /// /// - public global::ResembleAI.AgentsUpdateAgentResponse200? Type85 { get; set; } + public global::System.Collections.Generic.IList? Type85 { get; set; } /// /// /// - public global::ResembleAI.AgentsUuidDispatchPostRequestBodyContentApplicationJsonSchemaDynamicVariables? Type86 { get; set; } + public global::ResembleAI.AgentsSystemToolsGetResponsesContentApplicationJsonSchemaItemsItems? Type86 { get; set; } /// /// /// - public global::ResembleAI.AgentsDispatchAgentResponse200? Type87 { get; set; } + public global::ResembleAI.AgentsGetSystemToolsResponse200? Type87 { get; set; } /// /// /// - public global::ResembleAI.AgentsCapabilitiesGetResponsesContentApplicationJsonSchemaAsrCapabilitiesItems? Type88 { get; set; } + public global::System.Collections.Generic.IList? Type88 { get; set; } /// /// /// - public global::ResembleAI.AgentsCapabilitiesGetResponsesContentApplicationJsonSchemaLlmCapabilitiesItems? Type89 { get; set; } + public global::ResembleAI.AgentsAgentUuidToolsGetResponsesContentApplicationJsonSchemaItemsItems? Type89 { get; set; } /// /// /// - public global::ResembleAI.AgentsGetAgentCapabilitiesResponse200? Type90 { get; set; } + public global::ResembleAI.AgentToolsListAgentToolsResponse200? Type90 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type91 { get; set; } + public global::System.Collections.Generic.IList? Type91 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type92 { get; set; } + public global::ResembleAI.AgentsAgentUuidToolsPostRequestBodyContentApplicationJsonSchemaToolType? Type92 { get; set; } /// /// /// - public global::ResembleAI.AgentsSystemToolsGetResponsesContentApplicationJsonSchemaItemsItems? Type93 { get; set; } + public global::ResembleAI.AgentsAgentUuidToolsPostRequestBodyContentApplicationJsonSchemaToolConfig? Type93 { get; set; } /// /// /// - public global::ResembleAI.AgentsGetSystemToolsResponse200? Type94 { get; set; } + public global::ResembleAI.AgentsAgentUuidToolsPostResponsesContentApplicationJsonSchemaItem? Type94 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type95 { get; set; } + public global::ResembleAI.AgentToolsCreateAgentToolResponse200? Type95 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidToolsGetResponsesContentApplicationJsonSchemaItemsItems? Type96 { get; set; } + public global::ResembleAI.AgentsAgentUuidToolsToolUuidGetResponsesContentApplicationJsonSchemaItem? Type96 { get; set; } /// /// /// - public global::ResembleAI.AgentToolsListAgentToolsResponse200? Type97 { get; set; } + public global::ResembleAI.AgentToolsGetAgentToolResponse200? Type97 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type98 { get; set; } + public global::ResembleAI.AgentToolsDeleteAgentToolResponse200? Type98 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidToolsPostRequestBodyContentApplicationJsonSchemaToolType? Type99 { get; set; } + public global::ResembleAI.AgentsAgentUuidToolsToolUuidPatchRequestBodyContentApplicationJsonSchemaToolConfig? Type99 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidToolsPostRequestBodyContentApplicationJsonSchemaToolConfig? Type100 { get; set; } + public global::ResembleAI.AgentsAgentUuidToolsToolUuidPatchResponsesContentApplicationJsonSchemaItem? Type100 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidToolsPostResponsesContentApplicationJsonSchemaItem? Type101 { get; set; } + public global::ResembleAI.AgentToolsUpdateAgentToolResponse200? Type101 { get; set; } /// /// /// - public global::ResembleAI.AgentToolsCreateAgentToolResponse200? Type102 { get; set; } + public global::ResembleAI.AgentsAgentUuidWebhooksGetResponsesContentApplicationJsonSchemaItemsItems? Type102 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidToolsToolUuidGetResponsesContentApplicationJsonSchemaItem? Type103 { get; set; } + public global::ResembleAI.AgentWebhooksListAgentWebhooksResponse200? Type103 { get; set; } /// /// /// - public global::ResembleAI.AgentToolsGetAgentToolResponse200? Type104 { get; set; } + public global::System.Collections.Generic.IList? Type104 { get; set; } /// /// /// - public global::ResembleAI.AgentToolsDeleteAgentToolResponse200? Type105 { get; set; } + public global::ResembleAI.AgentsAgentUuidWebhooksPostRequestBodyContentApplicationJsonSchemaWebhookType? Type105 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidToolsToolUuidPatchRequestBodyContentApplicationJsonSchemaToolConfig? Type106 { get; set; } + public global::ResembleAI.AgentsAgentUuidWebhooksPostRequestBodyContentApplicationJsonSchemaWebhookConfig? Type106 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidToolsToolUuidPatchResponsesContentApplicationJsonSchemaItem? Type107 { get; set; } + public global::ResembleAI.AgentsAgentUuidWebhooksPostResponsesContentApplicationJsonSchemaItem? Type107 { get; set; } /// /// /// - public global::ResembleAI.AgentToolsUpdateAgentToolResponse200? Type108 { get; set; } + public global::ResembleAI.AgentWebhooksCreateAgentWebhookResponse200? Type108 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidWebhooksGetResponsesContentApplicationJsonSchemaItemsItems? Type109 { get; set; } + public global::ResembleAI.AgentsAgentUuidWebhooksWebhookUuidGetResponsesContentApplicationJsonSchemaItem? Type109 { get; set; } /// /// /// - public global::ResembleAI.AgentWebhooksListAgentWebhooksResponse200? Type110 { get; set; } + public global::ResembleAI.AgentWebhooksGetAgentWebhookResponse200? Type110 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type111 { get; set; } + public global::ResembleAI.AgentWebhooksDeleteAgentWebhookResponse200? Type111 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidWebhooksPostRequestBodyContentApplicationJsonSchemaWebhookType? Type112 { get; set; } + public global::ResembleAI.AgentsAgentUuidWebhooksWebhookUuidPatchRequestBodyContentApplicationJsonSchemaWebhookConfig? Type112 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidWebhooksPostRequestBodyContentApplicationJsonSchemaWebhookConfig? Type113 { get; set; } + public global::ResembleAI.AgentsAgentUuidWebhooksWebhookUuidPatchResponsesContentApplicationJsonSchemaItem? Type113 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidWebhooksPostResponsesContentApplicationJsonSchemaItem? Type114 { get; set; } + public global::ResembleAI.AgentWebhooksUpdateAgentWebhookResponse200? Type114 { get; set; } /// /// /// - public global::ResembleAI.AgentWebhooksCreateAgentWebhookResponse200? Type115 { get; set; } + public global::ResembleAI.PhoneNumbersGetResponsesContentApplicationJsonSchemaItemsItems? Type115 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidWebhooksWebhookUuidGetResponsesContentApplicationJsonSchemaItem? Type116 { get; set; } + public global::ResembleAI.AgentPhoneNumbersListPhoneNumbersResponse200? Type116 { get; set; } /// /// /// - public global::ResembleAI.AgentWebhooksGetAgentWebhookResponse200? Type117 { get; set; } + public global::System.Collections.Generic.IList? Type117 { get; set; } /// /// /// - public global::ResembleAI.AgentWebhooksDeleteAgentWebhookResponse200? Type118 { get; set; } + public global::ResembleAI.PhoneNumbersPostRequestBodyContentApplicationJsonSchemaProvider? Type118 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidWebhooksWebhookUuidPatchRequestBodyContentApplicationJsonSchemaWebhookConfig? Type119 { get; set; } + public global::ResembleAI.PhoneNumbersPostRequestBodyContentApplicationJsonSchemaOutboundTrunk? Type119 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidWebhooksWebhookUuidPatchResponsesContentApplicationJsonSchemaItem? Type120 { get; set; } + public global::ResembleAI.PhoneNumbersPostRequestBodyContentApplicationJsonSchemaInboundTrunk? Type120 { get; set; } /// /// /// - public global::ResembleAI.AgentWebhooksUpdateAgentWebhookResponse200? Type121 { get; set; } + public global::ResembleAI.PhoneNumbersPostResponsesContentApplicationJsonSchemaItem? Type121 { get; set; } /// /// /// - public global::ResembleAI.PhoneNumbersGetResponsesContentApplicationJsonSchemaItemsItems? Type122 { get; set; } + public global::ResembleAI.AgentPhoneNumbersCreatePhoneNumberResponse200? Type122 { get; set; } /// /// /// - public global::ResembleAI.AgentPhoneNumbersListPhoneNumbersResponse200? Type123 { get; set; } + public global::ResembleAI.PhoneNumbersIdGetResponsesContentApplicationJsonSchemaItem? Type123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type124 { get; set; } + public global::ResembleAI.AgentPhoneNumbersGetPhoneNumberResponse200? Type124 { get; set; } /// /// /// - public global::ResembleAI.PhoneNumbersPostRequestBodyContentApplicationJsonSchemaProvider? Type125 { get; set; } + public global::ResembleAI.AgentPhoneNumbersDeletePhoneNumberResponse200? Type125 { get; set; } /// /// /// - public global::ResembleAI.PhoneNumbersPostRequestBodyContentApplicationJsonSchemaOutboundTrunk? Type126 { get; set; } + public global::ResembleAI.AgentPhoneNumbersForceDeletePhoneNumberResponse200? Type126 { get; set; } /// /// /// - public global::ResembleAI.PhoneNumbersPostRequestBodyContentApplicationJsonSchemaInboundTrunk? Type127 { get; set; } + public global::ResembleAI.KnowledgeItemsGetParametersStatus? Type127 { get; set; } /// /// /// - public global::ResembleAI.PhoneNumbersPostResponsesContentApplicationJsonSchemaItem? Type128 { get; set; } + public global::ResembleAI.KnowledgeItemsGetParametersSourceType? Type128 { get; set; } /// /// /// - public global::ResembleAI.AgentPhoneNumbersCreatePhoneNumberResponse200? Type129 { get; set; } + public global::ResembleAI.KnowledgeItemsGetResponsesContentApplicationJsonSchemaItemsItemsSourceType? Type129 { get; set; } /// /// /// - public global::ResembleAI.PhoneNumbersIdGetResponsesContentApplicationJsonSchemaItem? Type130 { get; set; } + public global::ResembleAI.KnowledgeItemsGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type130 { get; set; } /// /// /// - public global::ResembleAI.AgentPhoneNumbersGetPhoneNumberResponse200? Type131 { get; set; } + public global::ResembleAI.KnowledgeItemsGetResponsesContentApplicationJsonSchemaItemsItems? Type131 { get; set; } /// /// /// - public global::ResembleAI.AgentPhoneNumbersDeletePhoneNumberResponse200? Type132 { get; set; } + public global::ResembleAI.KnowledgeItemsGetResponsesContentApplicationJsonSchemaPagination? Type132 { get; set; } /// /// /// - public global::ResembleAI.AgentPhoneNumbersForceDeletePhoneNumberResponse200? Type133 { get; set; } + public global::ResembleAI.AgentKnowledgeBaseListKnowledgeItemsResponse200? Type133 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsGetParametersStatus? Type134 { get; set; } + public global::System.Collections.Generic.IList? Type134 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsGetParametersSourceType? Type135 { get; set; } + public global::ResembleAI.KnowledgeItemsPostRequestBodyContentApplicationJsonSchemaSourceType? Type135 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsGetResponsesContentApplicationJsonSchemaItemsItemsSourceType? Type136 { get; set; } + public global::ResembleAI.KnowledgeItemsPostResponsesContentApplicationJsonSchemaItem? Type136 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type137 { get; set; } + public global::ResembleAI.AgentKnowledgeBaseCreateKnowledgeItemResponse201? Type137 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsGetResponsesContentApplicationJsonSchemaItemsItems? Type138 { get; set; } + public global::ResembleAI.KnowledgeItemsUuidGetResponsesContentApplicationJsonSchemaItemSourceType? Type138 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsGetResponsesContentApplicationJsonSchemaPagination? Type139 { get; set; } + public global::ResembleAI.KnowledgeItemsUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type139 { get; set; } /// /// /// - public global::ResembleAI.AgentKnowledgeBaseListKnowledgeItemsResponse200? Type140 { get; set; } + public global::ResembleAI.KnowledgeItemsUuidGetResponsesContentApplicationJsonSchemaItemAgentsItems? Type140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type141 { get; set; } + public global::ResembleAI.KnowledgeItemsUuidGetResponsesContentApplicationJsonSchemaItem? Type141 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsPostRequestBodyContentApplicationJsonSchemaSourceType? Type142 { get; set; } + public global::System.Collections.Generic.IList? Type142 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsPostResponsesContentApplicationJsonSchemaItem? Type143 { get; set; } + public global::ResembleAI.AgentKnowledgeBaseGetKnowledgeItemResponse200? Type143 { get; set; } /// /// /// - public global::ResembleAI.AgentKnowledgeBaseCreateKnowledgeItemResponse201? Type144 { get; set; } + public global::ResembleAI.AgentKnowledgeBaseDeleteKnowledgeItemResponse200? Type144 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsUuidGetResponsesContentApplicationJsonSchemaItemSourceType? Type145 { get; set; } + public global::ResembleAI.KnowledgeItemsUuidReingestPostResponsesContentApplicationJsonSchemaItem? Type145 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type146 { get; set; } + public global::ResembleAI.AgentKnowledgeBaseReingestKnowledgeItemResponse200? Type146 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsUuidGetResponsesContentApplicationJsonSchemaItemAgentsItems? Type147 { get; set; } + public global::ResembleAI.AgentsAgentUuidKnowledgeItemsGetResponsesContentApplicationJsonSchemaItemsItems? Type147 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsUuidGetResponsesContentApplicationJsonSchemaItem? Type148 { get; set; } + public global::ResembleAI.AgentKnowledgeBaseListAgentKnowledgeItemsResponse200? Type148 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type149 { get; set; } + public global::System.Collections.Generic.IList? Type149 { get; set; } /// /// /// - public global::ResembleAI.AgentKnowledgeBaseGetKnowledgeItemResponse200? Type150 { get; set; } + public global::ResembleAI.AgentsAgentUuidKnowledgeItemsPostResponsesContentApplicationJsonSchemaItemsItems? Type150 { get; set; } /// /// /// - public global::ResembleAI.AgentKnowledgeBaseDeleteKnowledgeItemResponse200? Type151 { get; set; } + public global::ResembleAI.AgentKnowledgeBaseAttachKnowledgeItemToAgentResponse201? Type151 { get; set; } /// /// /// - public global::ResembleAI.KnowledgeItemsUuidReingestPostResponsesContentApplicationJsonSchemaItem? Type152 { get; set; } + public global::System.Collections.Generic.IList? Type152 { get; set; } /// /// /// - public global::ResembleAI.AgentKnowledgeBaseReingestKnowledgeItemResponse200? Type153 { get; set; } + public global::ResembleAI.AgentsAgentUuidKnowledgeItemsKnowledgeItemUuidDeleteResponsesContentApplicationJsonSchemaItemsItems? Type153 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidKnowledgeItemsGetResponsesContentApplicationJsonSchemaItemsItems? Type154 { get; set; } + public global::ResembleAI.AgentKnowledgeBaseDetachKnowledgeItemFromAgentResponse200? Type154 { get; set; } /// /// /// - public global::ResembleAI.AgentKnowledgeBaseListAgentKnowledgeItemsResponse200? Type155 { get; set; } + public global::System.Collections.Generic.IList? Type155 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type156 { get; set; } + public global::ResembleAI.SecureUploadsCreateSecureUploadResponse200? Type156 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidKnowledgeItemsPostResponsesContentApplicationJsonSchemaItemsItems? Type157 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? Type157 { get; set; } /// /// /// - public global::ResembleAI.AgentKnowledgeBaseAttachKnowledgeItemToAgentResponse201? Type158 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type158 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type159 { get; set; } + public global::ResembleAI.DetectAudioMetrics? Type159 { get; set; } /// /// /// - public global::ResembleAI.AgentsAgentUuidKnowledgeItemsKnowledgeItemUuidDeleteResponsesContentApplicationJsonSchemaItemsItems? Type160 { get; set; } + public global::ResembleAI.DetectImageMetricsChildrenItems? Type160 { get; set; } /// /// /// - public global::ResembleAI.AgentKnowledgeBaseDetachKnowledgeItemFromAgentResponse200? Type161 { get; set; } + public global::ResembleAI.DetectImageMetrics? Type161 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type162 { get; set; } + public global::System.Collections.Generic.IList? Type162 { get; set; } /// /// /// - public global::ResembleAI.SecureUploadsCreateSecureUploadResponse200? Type163 { get; set; } + public global::ResembleAI.DetectVideoMetricsChildrenItemsChildrenItemsChildrenItems? Type163 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? Type164 { get; set; } + public global::ResembleAI.DetectVideoMetricsChildrenItemsChildrenItems? Type164 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type165 { get; set; } + public global::System.Collections.Generic.IList? Type165 { get; set; } /// /// /// - public global::ResembleAI.DetectAudioMetrics? Type166 { get; set; } + public global::ResembleAI.DetectVideoMetricsChildrenItems? Type166 { get; set; } /// /// /// - public global::ResembleAI.DetectImageMetricsChildrenItems? Type167 { get; set; } + public global::System.Collections.Generic.IList? Type167 { get; set; } /// /// /// - public global::ResembleAI.DetectImageMetrics? Type168 { get; set; } + public global::ResembleAI.DetectVideoMetrics? Type168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type169 { get; set; } + public global::System.Collections.Generic.IList? Type169 { get; set; } /// /// /// - public global::ResembleAI.DetectVideoMetricsChildrenItemsChildrenItemsChildrenItems? Type170 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsAudioSourceTracing? Type170 { get; set; } /// /// /// - public global::ResembleAI.DetectVideoMetricsChildrenItemsChildrenItems? Type171 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsIntelligence? Type171 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type172 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsExtraParams? Type172 { get; set; } /// /// /// - public global::ResembleAI.DetectVideoMetricsChildrenItems? Type173 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItems? Type173 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type174 { get; set; } + public global::ResembleAI.OneOf? Type174 { get; set; } /// /// /// - public global::ResembleAI.DetectVideoMetrics? Type175 { get; set; } + public object? Type175 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type176 { get; set; } + public global::ResembleAI.OneOf? Type176 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsAudioSourceTracing? Type177 { get; set; } + public global::ResembleAI.DeepfakeDetectionListDetectionsResponse200? Type177 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsIntelligence? Type178 { get; set; } + public global::System.Collections.Generic.IList? Type178 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsExtraParams? Type179 { get; set; } + public global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModelTypes? Type179 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItems? Type180 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Type180 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type181 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? Type181 { get; set; } /// /// /// - public object? Type182 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Type182 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type183 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? Type183 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionListDetectionsResponse200? Type184 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? Type184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type185 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? Type185 { get; set; } /// /// /// - public global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModelTypes? Type186 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription? Type186 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Type187 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence? Type187 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? Type188 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItem? Type188 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Type189 { get; set; } + public global::ResembleAI.OneOf? Type189 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? Type190 { get; set; } + public global::ResembleAI.DeepfakeDetectionCreateDetectionResponse200? Type190 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? Type191 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type191 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? Type192 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type192 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription? Type193 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracing? Type193 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence? Type194 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Type194 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItem? Type195 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? Type195 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type196 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Type196 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionCreateDetectionResponse200? Type197 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? Type197 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type198 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? Type198 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type199 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? Type199 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracing? Type200 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription? Type200 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Type201 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence? Type201 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? Type202 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItem? Type202 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Type203 { get; set; } + public global::ResembleAI.OneOf? Type203 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? Type204 { get; set; } + public global::ResembleAI.OneOf? Type204 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? Type205 { get; set; } + public global::ResembleAI.DeepfakeDetectionGetDetectionResponse200? Type205 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? Type206 { get; set; } + public global::ResembleAI.DetectBatchStatus? Type206 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription? Type207 { get; set; } + public global::ResembleAI.DetectBatch? Type207 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence? Type208 { get; set; } + public global::ResembleAI.DeepfakeDetectionCreateDetectBatchResponse202? Type208 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItem? Type209 { get; set; } + public global::ResembleAI.DeepfakeDetectionGetDetectBatchResponse200? Type209 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type210 { get; set; } + public global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType? Type210 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type211 { get; set; } + public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItemMediaType? Type211 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionGetDetectionResponse200? Type212 { get; set; } + public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItem? Type212 { get; set; } /// /// /// - public global::ResembleAI.DetectBatchStatus? Type213 { get; set; } + public global::ResembleAI.IntelligenceRunIntelligenceResponse200? Type213 { get; set; } /// /// /// - public global::ResembleAI.DetectBatch? Type214 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraudType? Type214 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionCreateDetectBatchResponse202? Type215 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraud? Type215 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionGetDetectBatchResponse200? Type216 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLivenessAssessment? Type216 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType? Type217 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLiveness? Type217 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItemMediaType? Type218 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionDigitallyAltered? Type218 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItem? Type219 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescription? Type219 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceRunIntelligenceResponse200? Type220 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? Type220 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraudType? Type221 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItems? Type221 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraud? Type222 { get; set; } + public global::ResembleAI.IntelligenceListIntelligencesResponse200? Type222 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLivenessAssessment? Type223 { get; set; } + public global::System.Collections.Generic.IList? Type223 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLiveness? Type224 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraudType? Type224 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionDigitallyAltered? Type225 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraud? Type225 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescription? Type226 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLivenessAssessment? Type226 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? Type227 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLiveness? Type227 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItems? Type228 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionDigitallyAltered? Type228 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceListIntelligencesResponse200? Type229 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescription? Type229 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type230 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type230 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraudType? Type231 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItem? Type231 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraud? Type232 { get; set; } + public global::ResembleAI.IntelligenceGetIntelligenceResponse200? Type232 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLivenessAssessment? Type233 { get; set; } + public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItemStatus? Type233 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLiveness? Type234 { get; set; } + public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItem? Type234 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionDigitallyAltered? Type235 { get; set; } + public global::ResembleAI.DetectIntelligenceAskDetectIntelligenceQuestionResponse202? Type235 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescription? Type236 { get; set; } + public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type236 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type237 { get; set; } + public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type237 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItem? Type238 { get; set; } + public global::ResembleAI.DetectIntelligenceGetDetectIntelligenceQuestionResponse200? Type238 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceGetIntelligenceResponse200? Type239 { get; set; } + public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItemsResults? Type239 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItemStatus? Type240 { get; set; } + public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItems? Type240 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItem? Type241 { get; set; } + public global::ResembleAI.AudioSourceTracingListAudioSourceTracingsResponse200? Type241 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceAskDetectIntelligenceQuestionResponse202? Type242 { get; set; } + public global::System.Collections.Generic.IList? Type242 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type243 { get; set; } + public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItemResults? Type243 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type244 { get; set; } + public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItem? Type244 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceGetDetectIntelligenceQuestionResponse200? Type245 { get; set; } + public global::ResembleAI.AudioSourceTracingGetAudioSourceTracingResponse200? Type245 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItemsResults? Type246 { get; set; } + public global::ResembleAI.IdentityGetResponsesContentApplicationJsonSchemaItemsItems? Type246 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItems? Type247 { get; set; } + public global::ResembleAI.IdentityListIdentitiesResponse200? Type247 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingListAudioSourceTracingsResponse200? Type248 { get; set; } + public global::System.Collections.Generic.IList? Type248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type249 { get; set; } + public global::ResembleAI.IdentityPostResponsesContentApplicationJsonSchemaItem? Type249 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItemResults? Type250 { get; set; } + public global::ResembleAI.IdentityCreateIdentityResponse200? Type250 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItem? Type251 { get; set; } + public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaMatchesItems? Type251 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingGetAudioSourceTracingResponse200? Type252 { get; set; } + public global::ResembleAI.IdentitySearchIdentitiesResponse200? Type252 { get; set; } /// /// /// - public global::ResembleAI.IdentityGetResponsesContentApplicationJsonSchemaItemsItems? Type253 { get; set; } + public global::System.Collections.Generic.IList? Type253 { get; set; } /// /// /// - public global::ResembleAI.IdentityListIdentitiesResponse200? Type254 { get; set; } + public global::ResembleAI.WatermarkApplyPostParametersPrefer? Type254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type255 { get; set; } + public global::ResembleAI.WatermarkApplyPostResponsesContentApplicationJsonSchemaItemMediaType? Type255 { get; set; } /// /// /// - public global::ResembleAI.IdentityPostResponsesContentApplicationJsonSchemaItem? Type256 { get; set; } + public global::ResembleAI.WatermarkApplyPostResponsesContentApplicationJsonSchemaItemMetrics? Type256 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityResponse200? Type257 { get; set; } + public global::ResembleAI.WatermarkApplyPostResponsesContentApplicationJsonSchemaItem? Type257 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaMatchesItems? Type258 { get; set; } + public global::ResembleAI.OneOf? Type258 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchIdentitiesResponse200? Type259 { get; set; } + public global::ResembleAI.WatermarkApplyWatermarkResponse200? Type259 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type260 { get; set; } + public global::ResembleAI.WatermarkApplyUuidResultGetResponsesContentApplicationJsonSchemaItemMediaType? Type260 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyPostParametersPrefer? Type261 { get; set; } + public global::ResembleAI.WatermarkApplyUuidResultGetResponsesContentApplicationJsonSchemaItemMetrics? Type261 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyPostResponsesContentApplicationJsonSchemaItemMediaType? Type262 { get; set; } + public global::ResembleAI.WatermarkApplyUuidResultGetResponsesContentApplicationJsonSchemaItem? Type262 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyPostResponsesContentApplicationJsonSchemaItemMetrics? Type263 { get; set; } + public global::ResembleAI.OneOf? Type263 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyPostResponsesContentApplicationJsonSchemaItem? Type264 { get; set; } + public global::ResembleAI.WatermarkGetWatermarkApplyResultResponse200? Type264 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type265 { get; set; } + public global::ResembleAI.WatermarkDetectPostParametersPrefer? Type265 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyWatermarkResponse200? Type266 { get; set; } + public global::ResembleAI.WatermarkDetectPostResponsesContentApplicationJsonSchemaItemMediaType? Type266 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyUuidResultGetResponsesContentApplicationJsonSchemaItemMediaType? Type267 { get; set; } + public global::ResembleAI.WatermarkDetectPostResponsesContentApplicationJsonSchemaItemMetrics? Type267 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyUuidResultGetResponsesContentApplicationJsonSchemaItemMetrics? Type268 { get; set; } + public global::ResembleAI.WatermarkDetectPostResponsesContentApplicationJsonSchemaItem? Type268 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyUuidResultGetResponsesContentApplicationJsonSchemaItem? Type269 { get; set; } + public global::ResembleAI.OneOf? Type269 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type270 { get; set; } + public global::ResembleAI.WatermarkDetectWatermarkResponse200? Type270 { get; set; } /// /// /// - public global::ResembleAI.WatermarkGetWatermarkApplyResultResponse200? Type271 { get; set; } + public global::ResembleAI.WatermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaItemMediaType? Type271 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectPostParametersPrefer? Type272 { get; set; } + public global::ResembleAI.WatermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaItemMetricsHasWatermark? Type272 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectPostResponsesContentApplicationJsonSchemaItemMediaType? Type273 { get; set; } + public global::System.Collections.Generic.Dictionary? Type273 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectPostResponsesContentApplicationJsonSchemaItemMetrics? Type274 { get; set; } + public global::ResembleAI.WatermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaItemMetrics? Type274 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectPostResponsesContentApplicationJsonSchemaItem? Type275 { get; set; } + public global::ResembleAI.WatermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaItem? Type275 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type276 { get; set; } + public global::ResembleAI.OneOf? Type276 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectWatermarkResponse200? Type277 { get; set; } + public global::ResembleAI.WatermarkGetWatermarkDetectionResultResponse200? Type277 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaItemMediaType? Type278 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type278 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaItemMetricsHasWatermark? Type279 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatus? Type279 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type280 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusTextToSpeech? Type280 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaItemMetrics? Type281 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusFill? Type281 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaItem? Type282 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusVoiceConversion? Type282 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type283 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsApiSupport? Type283 { get; set; } /// /// /// - public global::ResembleAI.WatermarkGetWatermarkDetectionResultResponse200? Type284 { get; set; } + public global::ResembleAI.VoicesListVoicesResponse200? Type284 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type285 { get; set; } + public global::System.Collections.Generic.IList? Type285 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatus? Type286 { get; set; } + public global::ResembleAI.VoicesPostRequestBodyContentApplicationJsonSchemaVoiceType? Type286 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusTextToSpeech? Type287 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItem? Type287 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusFill? Type288 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatus? Type288 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusVoiceConversion? Type289 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type289 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsApiSupport? Type290 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type290 { get; set; } /// /// /// - public global::ResembleAI.VoicesListVoicesResponse200? Type291 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type291 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type292 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemApiSupport? Type292 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostRequestBodyContentApplicationJsonSchemaVoiceType? Type293 { get; set; } + public global::ResembleAI.VoicesCreateVoiceResponse200? Type293 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItem? Type294 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItem? Type294 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatus? Type295 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatus? Type295 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type296 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type296 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type297 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type297 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type298 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type298 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemApiSupport? Type299 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemApiSupport? Type299 { get; set; } /// /// /// - public global::ResembleAI.VoicesCreateVoiceResponse200? Type300 { get; set; } + public global::ResembleAI.VoicesGetVoiceResponse200? Type300 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItem? Type301 { get; set; } + public global::ResembleAI.VoicesDeleteVoiceResponse200? Type301 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatus? Type302 { get; set; } + public global::ResembleAI.VoicesBuildVoiceResponse200? Type302 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type303 { get; set; } + public global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? Type303 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type304 { get; set; } + public global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? Type304 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type305 { get; set; } + public global::System.Collections.Generic.IList? Type305 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemApiSupport? Type306 { get; set; } + public global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? Type306 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetVoiceResponse200? Type307 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems? Type307 { get; set; } /// /// /// - public global::ResembleAI.VoicesDeleteVoiceResponse200? Type308 { get; set; } + public global::ResembleAI.RecordingsListRecordingsResponse200? Type308 { get; set; } /// /// /// - public global::ResembleAI.VoicesBuildVoiceResponse200? Type309 { get; set; } + public global::System.Collections.Generic.IList? Type309 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? Type310 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsPostResponsesContentApplicationJsonSchemaItem? Type310 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? Type311 { get; set; } + public global::ResembleAI.RecordingsCreateRecordingResponse200? Type311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type312 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdGetResponsesContentApplicationJsonSchemaItem? Type312 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? Type313 { get; set; } + public global::ResembleAI.RecordingsGetRecordingResponse200? Type313 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems? Type314 { get; set; } + public global::ResembleAI.RecordingsDeleteRecordingResponse200? Type314 { get; set; } /// /// /// - public global::ResembleAI.RecordingsListRecordingsResponse200? Type315 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdPatchResponsesContentApplicationJsonSchemaItem? Type315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type316 { get; set; } + public global::ResembleAI.RecordingsUpdateRecordingResponse200? Type316 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsPostResponsesContentApplicationJsonSchemaItem? Type317 { get; set; } + public global::ResembleAI.TermSubstitutionsGetResponsesContentApplicationJsonSchemaItemsItems? Type317 { get; set; } /// /// /// - public global::ResembleAI.RecordingsCreateRecordingResponse200? Type318 { get; set; } + public global::ResembleAI.TermSubstitutionsListTermSubstitutionsResponse200? Type318 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdGetResponsesContentApplicationJsonSchemaItem? Type319 { get; set; } + public global::System.Collections.Generic.IList? Type319 { get; set; } /// /// /// - public global::ResembleAI.RecordingsGetRecordingResponse200? Type320 { get; set; } + public global::ResembleAI.TermSubstitutionsPostResponsesContentApplicationJsonSchemaItem? Type320 { get; set; } /// /// /// - public global::ResembleAI.RecordingsDeleteRecordingResponse200? Type321 { get; set; } + public global::ResembleAI.TermSubstitutionsCreateTermSubstitutionResponse200? Type321 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdPatchResponsesContentApplicationJsonSchemaItem? Type322 { get; set; } + public global::ResembleAI.TermSubstitutionsIdGetResponsesContentApplicationJsonSchemaItem? Type322 { get; set; } /// /// /// - public global::ResembleAI.RecordingsUpdateRecordingResponse200? Type323 { get; set; } + public global::ResembleAI.TermSubstitutionsGetTermSubstitutionResponse200? Type323 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsGetResponsesContentApplicationJsonSchemaItemsItems? Type324 { get; set; } + public global::ResembleAI.TermSubstitutionsDeleteTermSubstitutionResponse200? Type324 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsListTermSubstitutionsResponse200? Type325 { get; set; } + public global::ResembleAI.PronunciationsGetParametersStatus? Type325 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type326 { get; set; } + public global::ResembleAI.CustomPronunciationStatus? Type326 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsPostResponsesContentApplicationJsonSchemaItem? Type327 { get; set; } + public global::ResembleAI.CustomPronunciation? Type327 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsCreateTermSubstitutionResponse200? Type328 { get; set; } + public global::ResembleAI.CustomPronunciationsListPronunciationsResponse200? Type328 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsIdGetResponsesContentApplicationJsonSchemaItem? Type329 { get; set; } + public global::System.Collections.Generic.IList? Type329 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsGetTermSubstitutionResponse200? Type330 { get; set; } + public global::ResembleAI.CustomPronunciationsCreatePronunciationResponse201? Type330 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsDeleteTermSubstitutionResponse200? Type331 { get; set; } + public global::ResembleAI.PronunciationsBulkPostResponsesContentApplicationJsonSchemaErrorsItems? Type331 { get; set; } /// /// /// - public global::ResembleAI.PronunciationsGetParametersStatus? Type332 { get; set; } + public global::ResembleAI.CustomPronunciationsBulkCreatePronunciationsResponse201? Type332 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationStatus? Type333 { get; set; } + public global::System.Collections.Generic.IList? Type333 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciation? Type334 { get; set; } + public global::ResembleAI.CustomPronunciationsGetPronunciationResponse200? Type334 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsListPronunciationsResponse200? Type335 { get; set; } + public global::ResembleAI.CustomPronunciationsDeletePronunciationResponse200? Type335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type336 { get; set; } + public global::ResembleAI.CustomPronunciationsUpdatePronunciationResponse200? Type336 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsCreatePronunciationResponse201? Type337 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsGetResponsesContentApplicationJsonSchemaItemsItems? Type337 { get; set; } /// /// /// - public global::ResembleAI.PronunciationsBulkPostResponsesContentApplicationJsonSchemaErrorsItems? Type338 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsListVoiceSettingsPresetsResponse200? Type338 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsBulkCreatePronunciationsResponse201? Type339 { get; set; } + public global::System.Collections.Generic.IList? Type339 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type340 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsPostResponsesContentApplicationJsonSchemaData? Type340 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsGetPronunciationResponse200? Type341 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsCreateVoiceSettingsPresetResponse201? Type341 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsDeletePronunciationResponse200? Type342 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUuidGetResponsesContentApplicationJsonSchemaData? Type342 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsUpdatePronunciationResponse200? Type343 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsGetVoiceSettingsPresetResponse200? Type343 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsGetResponsesContentApplicationJsonSchemaItemsItems? Type344 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsDeleteVoiceSettingsPresetResponse200? Type344 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsListVoiceSettingsPresetsResponse200? Type345 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUuidPatchResponsesContentApplicationJsonSchemaData? Type345 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type346 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUpdateVoiceSettingsPresetResponse200? Type346 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsPostResponsesContentApplicationJsonSchemaData? Type347 { get; set; } + public global::ResembleAI.ProjectsGetResponsesContentApplicationJsonSchemaItemsItems? Type347 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsCreateVoiceSettingsPresetResponse201? Type348 { get; set; } + public global::ResembleAI.ProjectsListProjectsResponse200? Type348 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUuidGetResponsesContentApplicationJsonSchemaData? Type349 { get; set; } + public global::System.Collections.Generic.IList? Type349 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsGetVoiceSettingsPresetResponse200? Type350 { get; set; } + public global::ResembleAI.ProjectsPostResponsesContentApplicationJsonSchemaItem? Type350 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsDeleteVoiceSettingsPresetResponse200? Type351 { get; set; } + public global::ResembleAI.ProjectsCreateProjectResponse200? Type351 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUuidPatchResponsesContentApplicationJsonSchemaData? Type352 { get; set; } + public global::ResembleAI.ProjectsProjectUuidGetResponsesContentApplicationJsonSchemaItem? Type352 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUpdateVoiceSettingsPresetResponse200? Type353 { get; set; } + public global::ResembleAI.ProjectsGetProjectResponse200? Type353 { get; set; } /// /// /// - public global::ResembleAI.ProjectsGetResponsesContentApplicationJsonSchemaItemsItems? Type354 { get; set; } + public global::ResembleAI.ProjectsProjectUuidPutResponsesContentApplicationJsonSchemaItem? Type354 { get; set; } /// /// /// - public global::ResembleAI.ProjectsListProjectsResponse200? Type355 { get; set; } + public global::ResembleAI.ProjectsUpdateProjectResponse200? Type355 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type356 { get; set; } + public global::ResembleAI.ProjectsDeleteProjectResponse200? Type356 { get; set; } /// /// /// - public global::ResembleAI.ProjectsPostResponsesContentApplicationJsonSchemaItem? Type357 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsGetResponsesContentApplicationJsonSchemaItemsItems? Type357 { get; set; } /// /// /// - public global::ResembleAI.ProjectsCreateProjectResponse200? Type358 { get; set; } + public global::ResembleAI.ClipsListClipsResponse200? Type358 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidGetResponsesContentApplicationJsonSchemaItem? Type359 { get; set; } + public global::System.Collections.Generic.IList? Type359 { get; set; } /// /// /// - public global::ResembleAI.ProjectsGetProjectResponse200? Type360 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsClipUuidGetResponsesContentApplicationJsonSchemaItem? Type360 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidPutResponsesContentApplicationJsonSchemaItem? Type361 { get; set; } + public global::ResembleAI.ClipsGetClipResponse200? Type361 { get; set; } /// /// /// - public global::ResembleAI.ProjectsUpdateProjectResponse200? Type362 { get; set; } + public global::ResembleAI.ClipsDeleteClipResponse200? Type362 { get; set; } /// /// /// - public global::ResembleAI.ProjectsDeleteProjectResponse200? Type363 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsClipUuidPatchResponsesContentApplicationJsonSchemaItem? Type363 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsGetResponsesContentApplicationJsonSchemaItemsItems? Type364 { get; set; } + public global::ResembleAI.ClipsUpdateClipResponse200? Type364 { get; set; } /// /// /// - public global::ResembleAI.ClipsListClipsResponse200? Type365 { get; set; } + public global::ResembleAI.AccountGetResponsesContentApplicationJsonSchemaItem? Type365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type366 { get; set; } + public global::ResembleAI.AccountGetAccountResponse200? Type366 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsClipUuidGetResponsesContentApplicationJsonSchemaItem? Type367 { get; set; } + public global::ResembleAI.AccountTeamsGetResponsesContentApplicationJsonSchemaItemsItems? Type367 { get; set; } /// /// /// - public global::ResembleAI.ClipsGetClipResponse200? Type368 { get; set; } + public global::ResembleAI.AccountGetTeamsResponse200? Type368 { get; set; } /// /// /// - public global::ResembleAI.ClipsDeleteClipResponse200? Type369 { get; set; } + public global::System.Collections.Generic.IList? Type369 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsClipUuidPatchResponsesContentApplicationJsonSchemaItem? Type370 { get; set; } + public global::ResembleAI.AccountTeamsTeamUuidGetResponsesContentApplicationJsonSchemaItem? Type370 { get; set; } /// /// /// - public global::ResembleAI.ClipsUpdateClipResponse200? Type371 { get; set; } + public global::ResembleAI.AccountGetTeamResponse200? Type371 { get; set; } /// /// /// - public global::ResembleAI.AccountGetResponsesContentApplicationJsonSchemaItem? Type372 { get; set; } + public global::ResembleAI.AccountBillingUsageGetResponsesContentApplicationJsonSchemaItem? Type372 { get; set; } /// /// /// - public global::ResembleAI.AccountGetAccountResponse200? Type373 { get; set; } + public global::ResembleAI.AccountGetBillingUsageResponse200? Type373 { get; set; } /// /// /// - public global::ResembleAI.AccountTeamsGetResponsesContentApplicationJsonSchemaItemsItems? Type374 { get; set; } + public global::ResembleAI.DuetVoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type374 { get; set; } /// /// /// - public global::ResembleAI.AccountGetTeamsResponse200? Type375 { get; set; } + public global::ResembleAI.DuetsListDuetVoicesResponse200? Type375 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type376 { get; set; } + public global::System.Collections.Generic.IList? Type376 { get; set; } /// /// /// - public global::ResembleAI.AccountTeamsTeamUuidGetResponsesContentApplicationJsonSchemaItem? Type377 { get; set; } + public global::ResembleAI.DuetVoicesPostResponsesContentApplicationJsonSchemaItem? Type377 { get; set; } /// /// /// - public global::ResembleAI.AccountGetTeamResponse200? Type378 { get; set; } + public global::ResembleAI.DuetsCreateDuetVoiceResponse200? Type378 { get; set; } /// /// /// - public global::ResembleAI.AccountBillingUsageGetResponsesContentApplicationJsonSchemaItem? Type379 { get; set; } + public global::ResembleAI.DuetVoicesIdPutResponsesContentApplicationJsonSchemaItem? Type379 { get; set; } /// /// /// - public global::ResembleAI.AccountGetBillingUsageResponse200? Type380 { get; set; } + public global::ResembleAI.DuetsUpdateDuetVoiceResponse200? Type380 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type381 { get; set; } + public global::ResembleAI.DuetsDeleteDuetVoiceResponse200? Type381 { get; set; } /// /// /// - public global::ResembleAI.DuetsListDuetVoicesResponse200? Type382 { get; set; } + public global::ResembleAI.DuetVoicePairsGetResponsesContentApplicationJsonSchemaItemsItems? Type382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type383 { get; set; } + public global::ResembleAI.DuetsListDuetVoicePairsResponse200? Type383 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesPostResponsesContentApplicationJsonSchemaItem? Type384 { get; set; } + public global::System.Collections.Generic.IList? Type384 { get; set; } /// /// /// - public global::ResembleAI.DuetsCreateDuetVoiceResponse200? Type385 { get; set; } + public global::ResembleAI.DuetVoicePairsPostResponsesContentApplicationJsonSchemaItem? Type385 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesIdPutResponsesContentApplicationJsonSchemaItem? Type386 { get; set; } + public global::ResembleAI.DuetsCreateDuetVoicePairResponse200? Type386 { get; set; } /// /// /// - public global::ResembleAI.DuetsUpdateDuetVoiceResponse200? Type387 { get; set; } + public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeaker? Type387 { get; set; } /// /// /// - public global::ResembleAI.DuetsDeleteDuetVoiceResponse200? Type388 { get; set; } + public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItems? Type388 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicePairsGetResponsesContentApplicationJsonSchemaItemsItems? Type389 { get; set; } + public global::ResembleAI.DuetPostResponsesContentApplicationJsonSchemaItem? Type389 { get; set; } /// /// /// - public global::ResembleAI.DuetsListDuetVoicePairsResponse200? Type390 { get; set; } + public global::ResembleAI.DuetsGenerateDuetResponse200? Type390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type391 { get; set; } + public global::ResembleAI.SynthesizeRequest? Type391 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicePairsPostResponsesContentApplicationJsonSchemaItem? Type392 { get; set; } + public global::ResembleAI.StreamSynthesizeRequest? Type392 { get; set; } /// /// /// - public global::ResembleAI.DuetsCreateDuetVoicePairResponse200? Type393 { get; set; } + public global::ResembleAI.CreateTranscriptRequest? Type393 { get; set; } /// /// /// - public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeaker? Type394 { get; set; } + public global::ResembleAI.AskTranscriptQuestionRequest? Type394 { get; set; } /// /// /// - public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItems? Type395 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequest? Type395 { get; set; } /// /// /// - public global::ResembleAI.DuetPostResponsesContentApplicationJsonSchemaItem? Type396 { get; set; } + public global::ResembleAI.CreateAgentRequest? Type396 { get; set; } /// /// /// - public global::ResembleAI.DuetsGenerateDuetResponse200? Type397 { get; set; } + public global::System.Collections.Generic.IList? Type397 { get; set; } /// /// /// - public global::ResembleAI.SynthesizeRequest? Type398 { get; set; } + public global::ResembleAI.UpdateAgentRequest? Type398 { get; set; } /// /// /// - public global::ResembleAI.StreamSynthesizeRequest? Type399 { get; set; } + public global::System.Collections.Generic.IList? Type399 { get; set; } /// /// /// - public global::ResembleAI.CreateTranscriptRequest? Type400 { get; set; } + public global::ResembleAI.DispatchAgentRequest? Type400 { get; set; } /// /// /// - public global::ResembleAI.AskTranscriptQuestionRequest? Type401 { get; set; } + public global::ResembleAI.CreateAgentToolRequest? Type401 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEditRequest? Type402 { get; set; } + public global::ResembleAI.UpdateAgentToolRequest? Type402 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequest? Type403 { get; set; } + public global::ResembleAI.CreateAgentWebhookRequest? Type403 { get; set; } /// /// /// - public global::ResembleAI.CreateAgentRequest? Type404 { get; set; } + public global::ResembleAI.UpdateAgentWebhookRequest? Type404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type405 { get; set; } + public global::ResembleAI.CreatePhoneNumberRequest? Type405 { get; set; } /// /// /// - public global::ResembleAI.UpdateAgentRequest? Type406 { get; set; } + public global::ResembleAI.CreateKnowledgeItemRequest? Type406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type407 { get; set; } + public global::ResembleAI.AttachKnowledgeItemToAgentRequest? Type407 { get; set; } /// /// /// - public global::ResembleAI.DispatchAgentRequest? Type408 { get; set; } + public global::ResembleAI.CreateSecureUploadRequest? Type408 { get; set; } /// /// /// - public global::ResembleAI.CreateAgentToolRequest? Type409 { get; set; } + public global::ResembleAI.CreateDetectionRequest? Type409 { get; set; } /// /// /// - public global::ResembleAI.UpdateAgentToolRequest? Type410 { get; set; } + public global::ResembleAI.CreateDetectBatchRequest? Type410 { get; set; } /// /// /// - public global::ResembleAI.CreateAgentWebhookRequest? Type411 { get; set; } + public global::System.Collections.Generic.IList? Type411 { get; set; } /// /// /// - public global::ResembleAI.UpdateAgentWebhookRequest? Type412 { get; set; } + public global::ResembleAI.RunIntelligenceRequest? Type412 { get; set; } /// /// /// - public global::ResembleAI.CreatePhoneNumberRequest? Type413 { get; set; } + public global::ResembleAI.AskDetectIntelligenceQuestionRequest? Type413 { get; set; } /// /// /// - public global::ResembleAI.CreateKnowledgeItemRequest? Type414 { get; set; } + public global::ResembleAI.CreateIdentityRequest? Type414 { get; set; } /// /// /// - public global::ResembleAI.AttachKnowledgeItemToAgentRequest? Type415 { get; set; } + public global::ResembleAI.SearchIdentitiesRequest? Type415 { get; set; } /// /// /// - public global::ResembleAI.CreateSecureUploadRequest? Type416 { get; set; } + public global::ResembleAI.ApplyWatermarkRequest? Type416 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectionRequest? Type417 { get; set; } + public global::ResembleAI.DetectWatermarkRequest? Type417 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectBatchRequest? Type418 { get; set; } + public global::ResembleAI.CreateVoiceRequest? Type418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type419 { get; set; } + public global::ResembleAI.BuildVoiceRequest? Type419 { get; set; } /// /// /// - public global::ResembleAI.RunIntelligenceRequest? Type420 { get; set; } + public global::ResembleAI.GenerateVoiceDesignRequest? Type420 { get; set; } /// /// /// - public global::ResembleAI.AskDetectIntelligenceQuestionRequest? Type421 { get; set; } + public global::ResembleAI.CreateVoiceFromCandidateRequest? Type421 { get; set; } /// /// /// - public global::ResembleAI.CreateIdentityRequest? Type422 { get; set; } + public global::ResembleAI.CreateRecordingRequest? Type422 { get; set; } /// /// /// - public global::ResembleAI.SearchIdentitiesRequest? Type423 { get; set; } + public global::ResembleAI.UpdateRecordingRequest? Type423 { get; set; } /// /// /// - public global::ResembleAI.ApplyWatermarkRequest? Type424 { get; set; } + public global::ResembleAI.CreateTermSubstitutionRequest? Type424 { get; set; } /// /// /// - public global::ResembleAI.DetectWatermarkRequest? Type425 { get; set; } + public global::ResembleAI.CreatePronunciationRequest? Type425 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceRequest? Type426 { get; set; } + public global::ResembleAI.BulkCreatePronunciationsRequest? Type426 { get; set; } /// /// /// - public global::ResembleAI.BuildVoiceRequest? Type427 { get; set; } + public global::ResembleAI.UpdatePronunciationRequest? Type427 { get; set; } /// /// /// - public global::ResembleAI.GenerateVoiceDesignRequest? Type428 { get; set; } + public global::ResembleAI.CreateVoiceSettingsPresetRequest? Type428 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceFromCandidateRequest? Type429 { get; set; } + public global::ResembleAI.UpdateVoiceSettingsPresetRequest? Type429 { get; set; } /// /// /// - public global::ResembleAI.CreateRecordingRequest? Type430 { get; set; } + public global::ResembleAI.CreateProjectRequest? Type430 { get; set; } /// /// /// - public global::ResembleAI.UpdateRecordingRequest? Type431 { get; set; } + public global::ResembleAI.UpdateProjectRequest? Type431 { get; set; } /// /// /// - public global::ResembleAI.CreateTermSubstitutionRequest? Type432 { get; set; } + public global::ResembleAI.UpdateClipRequest? Type432 { get; set; } /// /// /// - public global::ResembleAI.CreatePronunciationRequest? Type433 { get; set; } + public global::ResembleAI.CreateDuetVoiceRequest? Type433 { get; set; } /// /// /// - public global::ResembleAI.BulkCreatePronunciationsRequest? Type434 { get; set; } + public global::ResembleAI.UpdateDuetVoiceRequest? Type434 { get; set; } /// /// /// - public global::ResembleAI.UpdatePronunciationRequest? Type435 { get; set; } + public global::ResembleAI.CreateDuetVoicePairRequest? Type435 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceSettingsPresetRequest? Type436 { get; set; } + public global::ResembleAI.GenerateDuetRequest? Type436 { get; set; } /// /// /// - public global::ResembleAI.UpdateVoiceSettingsPresetRequest? Type437 { get; set; } - /// - /// - /// - public global::ResembleAI.CreateProjectRequest? Type438 { get; set; } - /// - /// - /// - public global::ResembleAI.UpdateProjectRequest? Type439 { get; set; } - /// - /// - /// - public global::ResembleAI.UpdateClipRequest? Type440 { get; set; } - /// - /// - /// - public global::ResembleAI.CreateDuetVoiceRequest? Type441 { get; set; } - /// - /// - /// - public global::ResembleAI.UpdateDuetVoiceRequest? Type442 { get; set; } - /// - /// - /// - public global::ResembleAI.CreateDuetVoicePairRequest? Type443 { get; set; } - /// - /// - /// - public global::ResembleAI.GenerateDuetRequest? Type444 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type445 { get; set; } + public global::System.Collections.Generic.IList? Type437 { get; set; } /// /// @@ -1841,158 +1809,154 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType7 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType8 { get; set; } + public global::System.Collections.Generic.List? ListType7 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType9 { get; set; } + public global::System.Collections.Generic.List? ListType8 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType10 { get; set; } + public global::System.Collections.Generic.List? ListType9 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType11 { get; set; } + public global::System.Collections.Generic.List? ListType10 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType12 { get; set; } + public global::System.Collections.Generic.List? ListType11 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType13 { get; set; } + public global::System.Collections.Generic.List? ListType12 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType14 { get; set; } + public global::System.Collections.Generic.List? ListType13 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType15 { get; set; } + public global::System.Collections.Generic.List? ListType14 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType16 { get; set; } + public global::System.Collections.Generic.List? ListType15 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType17 { get; set; } + public global::System.Collections.Generic.List? ListType16 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType18 { get; set; } + public global::System.Collections.Generic.List? ListType17 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType19 { get; set; } + public global::System.Collections.Generic.List? ListType18 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType20 { get; set; } + public global::System.Collections.Generic.List? ListType19 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType21 { get; set; } + public global::System.Collections.Generic.List? ListType20 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType22 { get; set; } + public global::System.Collections.Generic.List? ListType21 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType23 { get; set; } + public global::System.Collections.Generic.List? ListType22 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType24 { get; set; } + public global::System.Collections.Generic.List? ListType23 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType25 { get; set; } + public global::System.Collections.Generic.List? ListType24 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType26 { get; set; } + public global::System.Collections.Generic.List? ListType25 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType27 { get; set; } + public global::System.Collections.Generic.List? ListType26 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType28 { get; set; } + public global::System.Collections.Generic.List? ListType27 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType29 { get; set; } + public global::System.Collections.Generic.List? ListType28 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType30 { get; set; } + public global::System.Collections.Generic.List? ListType29 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType31 { get; set; } + public global::System.Collections.Generic.List? ListType30 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType32 { get; set; } + public global::System.Collections.Generic.List? ListType31 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType33 { get; set; } + public global::System.Collections.Generic.List? ListType32 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType34 { get; set; } + public global::System.Collections.Generic.List? ListType33 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType35 { get; set; } + public global::System.Collections.Generic.List? ListType34 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType36 { get; set; } + public global::System.Collections.Generic.List? ListType35 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType37 { get; set; } + public global::System.Collections.Generic.List? ListType36 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType38 { get; set; } + public global::System.Collections.Generic.List? ListType37 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType39 { get; set; } + public global::System.Collections.Generic.List? ListType38 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType40 { get; set; } + public global::System.Collections.Generic.List? ListType39 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType40 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType42 { get; set; } + public global::System.Collections.Generic.List? ListType41 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType42 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::System.Collections.Generic.List? ListType43 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType44 { get; set; } } } \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditCreateAudioEditResponse200.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditCreateAudioEditResponse200.Json.g.cs deleted file mode 100644 index a9c49f3..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditCreateAudioEditResponse200.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class AudioEditCreateAudioEditResponse200 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.AudioEditCreateAudioEditResponse200? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.AudioEditCreateAudioEditResponse200), - jsonSerializerContext) as global::ResembleAI.AudioEditCreateAudioEditResponse200; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::ResembleAI.AudioEditCreateAudioEditResponse200? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::ResembleAI.AudioEditCreateAudioEditResponse200), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.AudioEditCreateAudioEditResponse200; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditCreateAudioEditResponse200.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditCreateAudioEditResponse200.g.cs deleted file mode 100644 index 146873f..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditCreateAudioEditResponse200.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class AudioEditCreateAudioEditResponse200 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("success")] - public bool? Success { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("item")] - public global::ResembleAI.EditPostResponsesContentApplicationJsonSchemaItem? Item { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public AudioEditCreateAudioEditResponse200( - bool? success, - global::ResembleAI.EditPostResponsesContentApplicationJsonSchemaItem? item) - { - this.Success = success; - this.Item = item; - } - - /// - /// Initializes a new instance of the class. - /// - public AudioEditCreateAudioEditResponse200() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditGetAudioEditResponse200.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditGetAudioEditResponse200.Json.g.cs deleted file mode 100644 index 0f8b552..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditGetAudioEditResponse200.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class AudioEditGetAudioEditResponse200 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.AudioEditGetAudioEditResponse200? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.AudioEditGetAudioEditResponse200), - jsonSerializerContext) as global::ResembleAI.AudioEditGetAudioEditResponse200; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::ResembleAI.AudioEditGetAudioEditResponse200? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::ResembleAI.AudioEditGetAudioEditResponse200), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.AudioEditGetAudioEditResponse200; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditGetAudioEditResponse200.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditGetAudioEditResponse200.g.cs deleted file mode 100644 index f41980f..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditGetAudioEditResponse200.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class AudioEditGetAudioEditResponse200 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("success")] - public bool? Success { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("item")] - public global::ResembleAI.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem? Item { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public AudioEditGetAudioEditResponse200( - bool? success, - global::ResembleAI.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem? item) - { - this.Success = success; - this.Item = item; - } - - /// - /// Initializes a new instance of the class. - /// - public AudioEditGetAudioEditResponse200() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditListAudioEditsResponse200.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditListAudioEditsResponse200.Json.g.cs deleted file mode 100644 index 581e104..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditListAudioEditsResponse200.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class AudioEditListAudioEditsResponse200 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.AudioEditListAudioEditsResponse200? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.AudioEditListAudioEditsResponse200), - jsonSerializerContext) as global::ResembleAI.AudioEditListAudioEditsResponse200; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::ResembleAI.AudioEditListAudioEditsResponse200? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::ResembleAI.AudioEditListAudioEditsResponse200), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.AudioEditListAudioEditsResponse200; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditListAudioEditsResponse200.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditListAudioEditsResponse200.g.cs deleted file mode 100644 index ae8d499..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.AudioEditListAudioEditsResponse200.g.cs +++ /dev/null @@ -1,80 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class AudioEditListAudioEditsResponse200 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("success")] - public bool? Success { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("page")] - public int? Page { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("num_pages")] - public int? NumPages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("page_size")] - public int? PageSize { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public AudioEditListAudioEditsResponse200( - bool? success, - int? page, - int? numPages, - int? pageSize, - global::System.Collections.Generic.IList? items) - { - this.Success = success; - this.Page = page; - this.NumPages = numPages; - this.PageSize = pageSize; - this.Items = items; - } - - /// - /// Initializes a new instance of the class. - /// - public AudioEditListAudioEditsResponse200() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateAudioEditRequest.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateAudioEditRequest.Json.g.cs deleted file mode 100644 index 2f7ea47..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateAudioEditRequest.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class CreateAudioEditRequest - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.CreateAudioEditRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.CreateAudioEditRequest), - jsonSerializerContext) as global::ResembleAI.CreateAudioEditRequest; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::ResembleAI.CreateAudioEditRequest? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::ResembleAI.CreateAudioEditRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.CreateAudioEditRequest; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateAudioEditRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateAudioEditRequest.g.cs deleted file mode 100644 index e4399b0..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateAudioEditRequest.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class CreateAudioEditRequest - { - /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - [global::System.Text.Json.Serialization.JsonPropertyName("input_audio")] - [global::System.Text.Json.Serialization.JsonRequired] - public required byte[] InputAudio { get; set; } - - /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - [global::System.Text.Json.Serialization.JsonPropertyName("input_audioname")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string InputAudioname { get; set; } - - /// - /// Accurate transcript of the uploaded audio - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_transcript")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string OriginalTranscript { get; set; } - - /// - /// Desired replacement text - /// - [global::System.Text.Json.Serialization.JsonPropertyName("target_transcript")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string TargetTranscript { get; set; } - - /// - /// Voice used to render the edited segment - /// - [global::System.Text.Json.Serialization.JsonPropertyName("voice_uuid")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string VoiceUuid { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// Accurate transcript of the uploaded audio - /// - /// - /// Desired replacement text - /// - /// - /// Voice used to render the edited segment - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateAudioEditRequest( - byte[] inputAudio, - string inputAudioname, - string originalTranscript, - string targetTranscript, - string voiceUuid) - { - this.InputAudio = inputAudio ?? throw new global::System.ArgumentNullException(nameof(inputAudio)); - this.InputAudioname = inputAudioname ?? throw new global::System.ArgumentNullException(nameof(inputAudioname)); - this.OriginalTranscript = originalTranscript ?? throw new global::System.ArgumentNullException(nameof(originalTranscript)); - this.TargetTranscript = targetTranscript ?? throw new global::System.ArgumentNullException(nameof(targetTranscript)); - this.VoiceUuid = voiceUuid ?? throw new global::System.ArgumentNullException(nameof(voiceUuid)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateAudioEditRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem.Json.g.cs deleted file mode 100644 index 644939e..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem), - jsonSerializerContext) as global::ResembleAI.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::ResembleAI.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::ResembleAI.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem.g.cs deleted file mode 100644 index 45bedee..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem.g.cs +++ /dev/null @@ -1,89 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("uuid")] - public string? Uuid { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("voice_uuid")] - public string? VoiceUuid { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_transcript")] - public string? OriginalTranscript { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("target_transcript")] - public string? TargetTranscript { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("input_audio_url")] - public string? InputAudioUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("result_audio_url")] - public string? ResultAudioUrl { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem( - string? uuid, - string? voiceUuid, - string? originalTranscript, - string? targetTranscript, - string? inputAudioUrl, - string? resultAudioUrl) - { - this.Uuid = uuid; - this.VoiceUuid = voiceUuid; - this.OriginalTranscript = originalTranscript; - this.TargetTranscript = targetTranscript; - this.InputAudioUrl = inputAudioUrl; - this.ResultAudioUrl = resultAudioUrl; - } - - /// - /// Initializes a new instance of the class. - /// - public EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditGetResponsesContentApplicationJsonSchemaItemsItems.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.EditGetResponsesContentApplicationJsonSchemaItemsItems.Json.g.cs deleted file mode 100644 index 6965dbf..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditGetResponsesContentApplicationJsonSchemaItemsItems.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class EditGetResponsesContentApplicationJsonSchemaItemsItems - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.EditGetResponsesContentApplicationJsonSchemaItemsItems? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.EditGetResponsesContentApplicationJsonSchemaItemsItems), - jsonSerializerContext) as global::ResembleAI.EditGetResponsesContentApplicationJsonSchemaItemsItems; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::ResembleAI.EditGetResponsesContentApplicationJsonSchemaItemsItems? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::ResembleAI.EditGetResponsesContentApplicationJsonSchemaItemsItems), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.EditGetResponsesContentApplicationJsonSchemaItemsItems; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditGetResponsesContentApplicationJsonSchemaItemsItems.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.EditGetResponsesContentApplicationJsonSchemaItemsItems.g.cs deleted file mode 100644 index 814ec2e..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditGetResponsesContentApplicationJsonSchemaItemsItems.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class EditGetResponsesContentApplicationJsonSchemaItemsItems - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditPostResponsesContentApplicationJsonSchemaItem.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.EditPostResponsesContentApplicationJsonSchemaItem.Json.g.cs deleted file mode 100644 index 523fb1f..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditPostResponsesContentApplicationJsonSchemaItem.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class EditPostResponsesContentApplicationJsonSchemaItem - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.EditPostResponsesContentApplicationJsonSchemaItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.EditPostResponsesContentApplicationJsonSchemaItem), - jsonSerializerContext) as global::ResembleAI.EditPostResponsesContentApplicationJsonSchemaItem; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::ResembleAI.EditPostResponsesContentApplicationJsonSchemaItem? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::ResembleAI.EditPostResponsesContentApplicationJsonSchemaItem), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.EditPostResponsesContentApplicationJsonSchemaItem; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditPostResponsesContentApplicationJsonSchemaItem.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.EditPostResponsesContentApplicationJsonSchemaItem.g.cs deleted file mode 100644 index ed2b8c2..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.EditPostResponsesContentApplicationJsonSchemaItem.g.cs +++ /dev/null @@ -1,80 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class EditPostResponsesContentApplicationJsonSchemaItem - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("uuid")] - public string? Uuid { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("voice_uuid")] - public string? VoiceUuid { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_transcript")] - public string? OriginalTranscript { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("target_transcript")] - public string? TargetTranscript { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("input_audio_url")] - public string? InputAudioUrl { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public EditPostResponsesContentApplicationJsonSchemaItem( - string? uuid, - string? voiceUuid, - string? originalTranscript, - string? targetTranscript, - string? inputAudioUrl) - { - this.Uuid = uuid; - this.VoiceUuid = voiceUuid; - this.OriginalTranscript = originalTranscript; - this.TargetTranscript = targetTranscript; - this.InputAudioUrl = inputAudioUrl; - } - - /// - /// Initializes a new instance of the class. - /// - public EditPostResponsesContentApplicationJsonSchemaItem() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.ResembleAIClient.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ResembleAIClient.g.cs index 0bf6dd4..099dfba 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ResembleAIClient.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ResembleAIClient.g.cs @@ -102,16 +102,6 @@ public sealed partial class ResembleAIClient : global::ResembleAI.IResembleAICli AutoSDKServerConfiguration = AutoSDKServerConfiguration, }; - /// - /// - /// - public SubpackageAudioEditClient SubpackageAudioEdit => new SubpackageAudioEditClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) - { - ReadResponseAsString = ReadResponseAsString, - JsonSerializerContext = JsonSerializerContext, - AutoSDKServerConfiguration = AutoSDKServerConfiguration, - }; - /// /// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.CreateAudioEdit.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.CreateAudioEdit.g.cs deleted file mode 100644 index 3273abf..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.CreateAudioEdit.g.cs +++ /dev/null @@ -1,1407 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - public partial class SubpackageAudioEditClient - { - - - private static readonly global::ResembleAI.EndPointSecurityRequirement s_CreateAudioEditSecurityRequirement0 = - new global::ResembleAI.EndPointSecurityRequirement - { - Authorizations = new global::ResembleAI.EndPointAuthorizationRequirement[] - { new global::ResembleAI.EndPointAuthorizationRequirement - { - Type = "Http", - SchemeId = "HttpBearer", - Location = "Header", - Name = "Bearer", - FriendlyName = "Bearer", - }, - }, - }; - private static readonly global::ResembleAI.EndPointSecurityRequirement[] s_CreateAudioEditSecurityRequirements = - new global::ResembleAI.EndPointSecurityRequirement[] - { s_CreateAudioEditSecurityRequirement0, - }; - partial void PrepareCreateAudioEditArguments( - global::System.Net.Http.HttpClient httpClient, - global::ResembleAI.CreateAudioEditRequest request); - partial void PrepareCreateAudioEditRequest( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::ResembleAI.CreateAudioEditRequest request); - partial void ProcessCreateAudioEditResponse( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage); - - partial void ProcessCreateAudioEditResponseContent( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage, - ref string content); - - /// - /// Create audio edit
- /// Edit audio segments using voice synthesis - ///
- /// - /// 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 CreateAudioEditAsync( - - global::ResembleAI.CreateAudioEditRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __response = await CreateAudioEditAsResponseAsync( - - request: request, - requestOptions: requestOptions, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - - return __response.Body; - } - /// - /// Create audio edit
- /// Edit audio segments using voice synthesis - ///
- /// - /// 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> CreateAudioEditAsResponseAsync( - - global::ResembleAI.CreateAudioEditRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - - PrepareArguments( - client: HttpClient); - PrepareCreateAudioEditArguments( - httpClient: HttpClient, - request: request); - - - var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( - availableAuthorizations: Authorizations, - securityRequirements: s_CreateAudioEditSecurityRequirements, - operationName: "CreateAudioEditAsync"); - - using var __timeoutCancellationTokenSource = global::ResembleAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( - clientOptions: Options, - requestOptions: requestOptions, - cancellationToken: cancellationToken); - var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; - var __effectiveReadResponseAsString = global::ResembleAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( - clientOptions: Options, - requestOptions: requestOptions, - fallbackValue: ReadResponseAsString); - var __maxAttempts = global::ResembleAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( - clientOptions: Options, - requestOptions: requestOptions, - supportsRetry: false); - - global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() - { - - var __pathBuilder = new global::ResembleAI.PathBuilder( - path: "/edit", - baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://app.resemble.ai/api/v2", global::System.UriKind.RelativeOrAbsolute)); - var __path = __pathBuilder.ToString(); - __path = global::ResembleAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( - path: __path, - clientParameters: Options.QueryParameters, - requestParameters: requestOptions?.QueryParameters); - var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); -#if NET6_0_OR_GREATER - __httpRequest.Version = global::System.Net.HttpVersion.Version11; - __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; -#endif - - foreach (var __authorization in __authorizations) - { - if (__authorization.Type == "Http" || - __authorization.Type == "OAuth2" || - __authorization.Type == "OpenIdConnect") - { - __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( - scheme: __authorization.Name, - parameter: __authorization.Value); - } - else if (__authorization.Type == "ApiKey" && - __authorization.Location == "Header") - { - __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } - } - - var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); - var __contentInputAudio = new global::System.Net.Http.ByteArrayContent(request.InputAudio ?? global::System.Array.Empty()); - __contentInputAudio.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue( - request.InputAudioname is null - ? "application/octet-stream" - : (global::System.IO.Path.GetExtension(request.InputAudioname) ?? string.Empty).ToLowerInvariant() switch - { - ".aac" => "audio/aac", - ".flac" => "audio/flac", - ".gif" => "image/gif", - ".jpeg" => "image/jpeg", - ".jpg" => "image/jpeg", - ".json" => "application/json", - ".m4a" => "audio/mp4", - ".mp3" => "audio/mpeg", - ".mp4" => "video/mp4", - ".mpeg" => "audio/mpeg", - ".mpga" => "audio/mpeg", - ".oga" => "audio/ogg", - ".ogg" => "audio/ogg", - ".opus" => "audio/ogg", - ".pdf" => "application/pdf", - ".png" => "image/png", - ".txt" => "text/plain", - ".wav" => "audio/wav", - ".weba" => "audio/webm", - ".webm" => "video/webm", - ".webp" => "image/webp", - _ => "application/octet-stream", - }); - __httpRequestContent.Add( - content: __contentInputAudio, - name: "\"input_audio\"", - fileName: request.InputAudioname != null ? $"\"{request.InputAudioname}\"" : string.Empty); - if (__contentInputAudio.Headers.ContentDisposition != null) - { - __contentInputAudio.Headers.ContentDisposition.FileNameStar = null; - } - - __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.OriginalTranscript ?? string.Empty), - name: "\"original_transcript\""); - - __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.TargetTranscript ?? string.Empty), - name: "\"target_transcript\""); - - __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.VoiceUuid ?? string.Empty), - name: "\"voice_uuid\""); - - __httpRequest.Content = __httpRequestContent; - - global::ResembleAI.AutoSDKRequestOptionsSupport.ApplyHeaders( - request: __httpRequest, - clientHeaders: Options.Headers, - requestHeaders: requestOptions?.Headers); - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareCreateAudioEditRequest( - httpClient: HttpClient, - httpRequestMessage: __httpRequest, - request: request); - - return __httpRequest; - } - - global::System.Net.Http.HttpRequestMessage? __httpRequest = null; - global::System.Net.Http.HttpResponseMessage? __response = null; - var __attemptNumber = 0; - try - { - for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) - { - __attemptNumber = __attempt; - __httpRequest = __CreateHttpRequest(); - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - try - { - __response = await HttpClient.SendAsync( - request: __httpRequest, - completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - } - catch (global::System.Net.Http.HttpRequestException __exception) - { - var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: null, - attempt: __attempt); - var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: __exception, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: __willRetry, - retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, - retryReason: "exception", - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - if (!__willRetry) - { - throw; - } - - __httpRequest.Dispose(); - __httpRequest = null; - await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - if (__response != null && - __attempt < __maxAttempts && - global::ResembleAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) - { - var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: __response, - attempt: __attempt); - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: true, - retryDelay: __retryDelay, - retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - __response.Dispose(); - __response = null; - __httpRequest.Dispose(); - __httpRequest = null; - await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - break; - } - - if (__response == null) - { - throw new global::System.InvalidOperationException("No response received."); - } - - using (__response) - { - - ProcessResponse( - client: HttpClient, - response: __response); - ProcessCreateAudioEditResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - if (__response.IsSuccessStatusCode) - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - else - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - - if (__effectiveReadResponseAsString) - { - var __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - ProcessResponseContent( - client: HttpClient, - response: __response, - content: ref __content); - ProcessCreateAudioEditResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - var __value = global::ResembleAI.AudioEditCreateAudioEditResponse200.FromJson(__content, JsonSerializerContext) ?? - throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::ResembleAI.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __value); - } - catch (global::System.Exception __ex) - { - throw global::ResembleAI.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - else - { - try - { - __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - var __value = await global::ResembleAI.AudioEditCreateAudioEditResponse200.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? - throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::ResembleAI.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __value); - } - catch (global::System.Exception __ex) - { - string? __content = null; - try - { - __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - } - catch (global::System.Exception) - { - } - - throw global::ResembleAI.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - - } - } - finally - { - __httpRequest?.Dispose(); - } - } - /// - /// Create audio edit
- /// Edit audio segments using voice synthesis - ///
- /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// Accurate transcript of the uploaded audio - /// - /// - /// Desired replacement text - /// - /// - /// Voice used to render the edited segment - /// - /// 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 CreateAudioEditAsync( - byte[] inputAudio, - string inputAudioname, - string originalTranscript, - string targetTranscript, - string voiceUuid, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __request = new global::ResembleAI.CreateAudioEditRequest - { - InputAudio = inputAudio, - InputAudioname = inputAudioname, - OriginalTranscript = originalTranscript, - TargetTranscript = targetTranscript, - VoiceUuid = voiceUuid, - }; - - return await CreateAudioEditAsync( - request: __request, - requestOptions: requestOptions, - cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// Create audio edit
- /// Edit audio segments using voice synthesis - ///
- /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// Accurate transcript of the uploaded audio - /// - /// - /// Desired replacement text - /// - /// - /// Voice used to render the edited segment - /// - /// 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 CreateAudioEditAsync( - global::System.IO.Stream inputAudio, - string inputAudioname, - string originalTranscript, - string targetTranscript, - string voiceUuid, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - - inputAudio = inputAudio ?? throw new global::System.ArgumentNullException(nameof(inputAudio)); - var request = new global::ResembleAI.CreateAudioEditRequest - { - InputAudio = global::System.Array.Empty(), - InputAudioname = inputAudioname, - OriginalTranscript = originalTranscript, - TargetTranscript = targetTranscript, - VoiceUuid = voiceUuid, - }; - PrepareArguments( - client: HttpClient); - PrepareCreateAudioEditArguments( - httpClient: HttpClient, - request: request); - - - var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( - availableAuthorizations: Authorizations, - securityRequirements: s_CreateAudioEditSecurityRequirements, - operationName: "CreateAudioEditAsync"); - - using var __timeoutCancellationTokenSource = global::ResembleAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( - clientOptions: Options, - requestOptions: requestOptions, - cancellationToken: cancellationToken); - var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; - var __effectiveReadResponseAsString = global::ResembleAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( - clientOptions: Options, - requestOptions: requestOptions, - fallbackValue: ReadResponseAsString); - var __maxAttempts = global::ResembleAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( - clientOptions: Options, - requestOptions: requestOptions, - supportsRetry: false); - - global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() - { - - var __pathBuilder = new global::ResembleAI.PathBuilder( - path: "/edit", - baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://app.resemble.ai/api/v2", global::System.UriKind.RelativeOrAbsolute)); - var __path = __pathBuilder.ToString(); - __path = global::ResembleAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( - path: __path, - clientParameters: Options.QueryParameters, - requestParameters: requestOptions?.QueryParameters); - var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); -#if NET6_0_OR_GREATER - __httpRequest.Version = global::System.Net.HttpVersion.Version11; - __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; -#endif - - foreach (var __authorization in __authorizations) - { - if (__authorization.Type == "Http" || - __authorization.Type == "OAuth2" || - __authorization.Type == "OpenIdConnect") - { - __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( - scheme: __authorization.Name, - parameter: __authorization.Value); - } - else if (__authorization.Type == "ApiKey" && - __authorization.Location == "Header") - { - __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } - } - - var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); - var __contentInputAudio = new global::System.Net.Http.StreamContent(inputAudio); - __contentInputAudio.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue( - request.InputAudioname is null - ? "application/octet-stream" - : (global::System.IO.Path.GetExtension(request.InputAudioname) ?? string.Empty).ToLowerInvariant() switch - { - ".aac" => "audio/aac", - ".flac" => "audio/flac", - ".gif" => "image/gif", - ".jpeg" => "image/jpeg", - ".jpg" => "image/jpeg", - ".json" => "application/json", - ".m4a" => "audio/mp4", - ".mp3" => "audio/mpeg", - ".mp4" => "video/mp4", - ".mpeg" => "audio/mpeg", - ".mpga" => "audio/mpeg", - ".oga" => "audio/ogg", - ".ogg" => "audio/ogg", - ".opus" => "audio/ogg", - ".pdf" => "application/pdf", - ".png" => "image/png", - ".txt" => "text/plain", - ".wav" => "audio/wav", - ".weba" => "audio/webm", - ".webm" => "video/webm", - ".webp" => "image/webp", - _ => "application/octet-stream", - }); - __httpRequestContent.Add( - content: __contentInputAudio, - name: "\"input_audio\"", - fileName: request.InputAudioname != null ? $"\"{request.InputAudioname}\"" : string.Empty); - if (__contentInputAudio.Headers.ContentDisposition != null) - { - __contentInputAudio.Headers.ContentDisposition.FileNameStar = null; - } - - __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.OriginalTranscript ?? string.Empty), - name: "\"original_transcript\""); - - __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.TargetTranscript ?? string.Empty), - name: "\"target_transcript\""); - - __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.VoiceUuid ?? string.Empty), - name: "\"voice_uuid\""); - - __httpRequest.Content = __httpRequestContent; - - global::ResembleAI.AutoSDKRequestOptionsSupport.ApplyHeaders( - request: __httpRequest, - clientHeaders: Options.Headers, - requestHeaders: requestOptions?.Headers); - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareCreateAudioEditRequest( - httpClient: HttpClient, - httpRequestMessage: __httpRequest, - request: request); - - return __httpRequest; - } - - global::System.Net.Http.HttpRequestMessage? __httpRequest = null; - global::System.Net.Http.HttpResponseMessage? __response = null; - var __attemptNumber = 0; - try - { - for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) - { - __attemptNumber = __attempt; - __httpRequest = __CreateHttpRequest(); - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - try - { - __response = await HttpClient.SendAsync( - request: __httpRequest, - completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - } - catch (global::System.Net.Http.HttpRequestException __exception) - { - var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: null, - attempt: __attempt); - var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: __exception, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: __willRetry, - retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, - retryReason: "exception", - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - if (!__willRetry) - { - throw; - } - - __httpRequest.Dispose(); - __httpRequest = null; - await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - if (__response != null && - __attempt < __maxAttempts && - global::ResembleAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) - { - var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: __response, - attempt: __attempt); - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: true, - retryDelay: __retryDelay, - retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - __response.Dispose(); - __response = null; - __httpRequest.Dispose(); - __httpRequest = null; - await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - break; - } - - if (__response == null) - { - throw new global::System.InvalidOperationException("No response received."); - } - - using (__response) - { - - ProcessResponse( - client: HttpClient, - response: __response); - ProcessCreateAudioEditResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - if (__response.IsSuccessStatusCode) - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - else - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - - if (__effectiveReadResponseAsString) - { - var __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - ProcessResponseContent( - client: HttpClient, - response: __response, - content: ref __content); - ProcessCreateAudioEditResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - return - global::ResembleAI.AudioEditCreateAudioEditResponse200.FromJson(__content, JsonSerializerContext) ?? - throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - } - catch (global::System.Exception __ex) - { - throw global::ResembleAI.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - else - { - try - { - __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - return - await global::ResembleAI.AudioEditCreateAudioEditResponse200.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? - throw new global::System.InvalidOperationException("Response deserialization failed."); - } - catch (global::System.Exception __ex) - { - string? __content = null; - try - { - __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - } - catch (global::System.Exception) - { - } - - throw global::ResembleAI.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - - } - } - finally - { - __httpRequest?.Dispose(); - } - } - /// - /// Create audio edit
- /// Edit audio segments using voice synthesis - ///
- /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// WAV, MP3, M4A, or WMA file (< 20 seconds) - /// - /// - /// Accurate transcript of the uploaded audio - /// - /// - /// Desired replacement text - /// - /// - /// Voice used to render the edited segment - /// - /// 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> CreateAudioEditAsResponseAsync( - global::System.IO.Stream inputAudio, - string inputAudioname, - string originalTranscript, - string targetTranscript, - string voiceUuid, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - - inputAudio = inputAudio ?? throw new global::System.ArgumentNullException(nameof(inputAudio)); - var request = new global::ResembleAI.CreateAudioEditRequest - { - InputAudio = global::System.Array.Empty(), - InputAudioname = inputAudioname, - OriginalTranscript = originalTranscript, - TargetTranscript = targetTranscript, - VoiceUuid = voiceUuid, - }; - PrepareArguments( - client: HttpClient); - PrepareCreateAudioEditArguments( - httpClient: HttpClient, - request: request); - - - var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( - availableAuthorizations: Authorizations, - securityRequirements: s_CreateAudioEditSecurityRequirements, - operationName: "CreateAudioEditAsync"); - - using var __timeoutCancellationTokenSource = global::ResembleAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( - clientOptions: Options, - requestOptions: requestOptions, - cancellationToken: cancellationToken); - var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; - var __effectiveReadResponseAsString = global::ResembleAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( - clientOptions: Options, - requestOptions: requestOptions, - fallbackValue: ReadResponseAsString); - var __maxAttempts = global::ResembleAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( - clientOptions: Options, - requestOptions: requestOptions, - supportsRetry: false); - - global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() - { - - var __pathBuilder = new global::ResembleAI.PathBuilder( - path: "/edit", - baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://app.resemble.ai/api/v2", global::System.UriKind.RelativeOrAbsolute)); - var __path = __pathBuilder.ToString(); - __path = global::ResembleAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( - path: __path, - clientParameters: Options.QueryParameters, - requestParameters: requestOptions?.QueryParameters); - var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); -#if NET6_0_OR_GREATER - __httpRequest.Version = global::System.Net.HttpVersion.Version11; - __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; -#endif - - foreach (var __authorization in __authorizations) - { - if (__authorization.Type == "Http" || - __authorization.Type == "OAuth2" || - __authorization.Type == "OpenIdConnect") - { - __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( - scheme: __authorization.Name, - parameter: __authorization.Value); - } - else if (__authorization.Type == "ApiKey" && - __authorization.Location == "Header") - { - __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } - } - - var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); - var __contentInputAudio = new global::System.Net.Http.StreamContent(inputAudio); - __contentInputAudio.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue( - request.InputAudioname is null - ? "application/octet-stream" - : (global::System.IO.Path.GetExtension(request.InputAudioname) ?? string.Empty).ToLowerInvariant() switch - { - ".aac" => "audio/aac", - ".flac" => "audio/flac", - ".gif" => "image/gif", - ".jpeg" => "image/jpeg", - ".jpg" => "image/jpeg", - ".json" => "application/json", - ".m4a" => "audio/mp4", - ".mp3" => "audio/mpeg", - ".mp4" => "video/mp4", - ".mpeg" => "audio/mpeg", - ".mpga" => "audio/mpeg", - ".oga" => "audio/ogg", - ".ogg" => "audio/ogg", - ".opus" => "audio/ogg", - ".pdf" => "application/pdf", - ".png" => "image/png", - ".txt" => "text/plain", - ".wav" => "audio/wav", - ".weba" => "audio/webm", - ".webm" => "video/webm", - ".webp" => "image/webp", - _ => "application/octet-stream", - }); - __httpRequestContent.Add( - content: __contentInputAudio, - name: "\"input_audio\"", - fileName: request.InputAudioname != null ? $"\"{request.InputAudioname}\"" : string.Empty); - if (__contentInputAudio.Headers.ContentDisposition != null) - { - __contentInputAudio.Headers.ContentDisposition.FileNameStar = null; - } - - __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.OriginalTranscript ?? string.Empty), - name: "\"original_transcript\""); - - __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.TargetTranscript ?? string.Empty), - name: "\"target_transcript\""); - - __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.VoiceUuid ?? string.Empty), - name: "\"voice_uuid\""); - - __httpRequest.Content = __httpRequestContent; - - global::ResembleAI.AutoSDKRequestOptionsSupport.ApplyHeaders( - request: __httpRequest, - clientHeaders: Options.Headers, - requestHeaders: requestOptions?.Headers); - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareCreateAudioEditRequest( - httpClient: HttpClient, - httpRequestMessage: __httpRequest, - request: request); - - return __httpRequest; - } - - global::System.Net.Http.HttpRequestMessage? __httpRequest = null; - global::System.Net.Http.HttpResponseMessage? __response = null; - var __attemptNumber = 0; - try - { - for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) - { - __attemptNumber = __attempt; - __httpRequest = __CreateHttpRequest(); - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - try - { - __response = await HttpClient.SendAsync( - request: __httpRequest, - completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - } - catch (global::System.Net.Http.HttpRequestException __exception) - { - var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: null, - attempt: __attempt); - var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: __exception, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: __willRetry, - retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, - retryReason: "exception", - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - if (!__willRetry) - { - throw; - } - - __httpRequest.Dispose(); - __httpRequest = null; - await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - if (__response != null && - __attempt < __maxAttempts && - global::ResembleAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) - { - var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: __response, - attempt: __attempt); - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: true, - retryDelay: __retryDelay, - retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - __response.Dispose(); - __response = null; - __httpRequest.Dispose(); - __httpRequest = null; - await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - break; - } - - if (__response == null) - { - throw new global::System.InvalidOperationException("No response received."); - } - - using (__response) - { - - ProcessResponse( - client: HttpClient, - response: __response); - ProcessCreateAudioEditResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - if (__response.IsSuccessStatusCode) - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - else - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateAudioEdit", - methodName: "CreateAudioEditAsync", - pathTemplate: "\"/edit\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - - if (__effectiveReadResponseAsString) - { - var __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - ProcessResponseContent( - client: HttpClient, - response: __response, - content: ref __content); - ProcessCreateAudioEditResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - var __value = global::ResembleAI.AudioEditCreateAudioEditResponse200.FromJson(__content, JsonSerializerContext) ?? - throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::ResembleAI.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __value); - } - catch (global::System.Exception __ex) - { - throw global::ResembleAI.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - else - { - try - { - __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - var __value = await global::ResembleAI.AudioEditCreateAudioEditResponse200.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? - throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::ResembleAI.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __value); - } - catch (global::System.Exception __ex) - { - string? __content = null; - try - { - __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - } - catch (global::System.Exception) - { - } - - throw global::ResembleAI.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - - } - } - finally - { - __httpRequest?.Dispose(); - } - } - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.GetAudioEdit.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.GetAudioEdit.g.cs deleted file mode 100644 index 5acaf8b..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.GetAudioEdit.g.cs +++ /dev/null @@ -1,426 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - public partial class SubpackageAudioEditClient - { - - - private static readonly global::ResembleAI.EndPointSecurityRequirement s_GetAudioEditSecurityRequirement0 = - new global::ResembleAI.EndPointSecurityRequirement - { - Authorizations = new global::ResembleAI.EndPointAuthorizationRequirement[] - { new global::ResembleAI.EndPointAuthorizationRequirement - { - Type = "Http", - SchemeId = "HttpBearer", - Location = "Header", - Name = "Bearer", - FriendlyName = "Bearer", - }, - }, - }; - private static readonly global::ResembleAI.EndPointSecurityRequirement[] s_GetAudioEditSecurityRequirements = - new global::ResembleAI.EndPointSecurityRequirement[] - { s_GetAudioEditSecurityRequirement0, - }; - partial void PrepareGetAudioEditArguments( - global::System.Net.Http.HttpClient httpClient, - ref string audioEditUuid); - partial void PrepareGetAudioEditRequest( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string audioEditUuid); - partial void ProcessGetAudioEditResponse( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage); - - partial void ProcessGetAudioEditResponseContent( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage, - ref string content); - - /// - /// Get audio edit
- /// Get status and result of an audio edit - ///
- /// - /// 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 GetAudioEditAsync( - string audioEditUuid, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __response = await GetAudioEditAsResponseAsync( - audioEditUuid: audioEditUuid, - requestOptions: requestOptions, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - - return __response.Body; - } - /// - /// Get audio edit
- /// Get status and result of an audio edit - ///
- /// - /// 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> GetAudioEditAsResponseAsync( - string audioEditUuid, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - PrepareArguments( - client: HttpClient); - PrepareGetAudioEditArguments( - httpClient: HttpClient, - audioEditUuid: ref audioEditUuid); - - - var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( - availableAuthorizations: Authorizations, - securityRequirements: s_GetAudioEditSecurityRequirements, - operationName: "GetAudioEditAsync"); - - using var __timeoutCancellationTokenSource = global::ResembleAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( - clientOptions: Options, - requestOptions: requestOptions, - cancellationToken: cancellationToken); - var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; - var __effectiveReadResponseAsString = global::ResembleAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( - clientOptions: Options, - requestOptions: requestOptions, - fallbackValue: ReadResponseAsString); - var __maxAttempts = global::ResembleAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( - clientOptions: Options, - requestOptions: requestOptions, - supportsRetry: true); - - global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() - { - - var __pathBuilder = new global::ResembleAI.PathBuilder( - path: $"/edit/{audioEditUuid}", - baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://app.resemble.ai/api/v2", global::System.UriKind.RelativeOrAbsolute)); - var __path = __pathBuilder.ToString(); - __path = global::ResembleAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( - path: __path, - clientParameters: Options.QueryParameters, - requestParameters: requestOptions?.QueryParameters); - var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); -#if NET6_0_OR_GREATER - __httpRequest.Version = global::System.Net.HttpVersion.Version11; - __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; -#endif - - foreach (var __authorization in __authorizations) - { - if (__authorization.Type == "Http" || - __authorization.Type == "OAuth2" || - __authorization.Type == "OpenIdConnect") - { - __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( - scheme: __authorization.Name, - parameter: __authorization.Value); - } - else if (__authorization.Type == "ApiKey" && - __authorization.Location == "Header") - { - __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } - } - global::ResembleAI.AutoSDKRequestOptionsSupport.ApplyHeaders( - request: __httpRequest, - clientHeaders: Options.Headers, - requestHeaders: requestOptions?.Headers); - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareGetAudioEditRequest( - httpClient: HttpClient, - httpRequestMessage: __httpRequest, - audioEditUuid: audioEditUuid!); - - return __httpRequest; - } - - global::System.Net.Http.HttpRequestMessage? __httpRequest = null; - global::System.Net.Http.HttpResponseMessage? __response = null; - var __attemptNumber = 0; - try - { - for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) - { - __attemptNumber = __attempt; - __httpRequest = __CreateHttpRequest(); - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetAudioEdit", - methodName: "GetAudioEditAsync", - pathTemplate: "$\"/edit/{audioEditUuid}\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - try - { - __response = await HttpClient.SendAsync( - request: __httpRequest, - completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - } - catch (global::System.Net.Http.HttpRequestException __exception) - { - var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: null, - attempt: __attempt); - var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetAudioEdit", - methodName: "GetAudioEditAsync", - pathTemplate: "$\"/edit/{audioEditUuid}\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: __exception, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: __willRetry, - retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, - retryReason: "exception", - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - if (!__willRetry) - { - throw; - } - - __httpRequest.Dispose(); - __httpRequest = null; - await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - if (__response != null && - __attempt < __maxAttempts && - global::ResembleAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) - { - var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: __response, - attempt: __attempt); - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetAudioEdit", - methodName: "GetAudioEditAsync", - pathTemplate: "$\"/edit/{audioEditUuid}\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: true, - retryDelay: __retryDelay, - retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - __response.Dispose(); - __response = null; - __httpRequest.Dispose(); - __httpRequest = null; - await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - break; - } - - if (__response == null) - { - throw new global::System.InvalidOperationException("No response received."); - } - - using (__response) - { - - ProcessResponse( - client: HttpClient, - response: __response); - ProcessGetAudioEditResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - if (__response.IsSuccessStatusCode) - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetAudioEdit", - methodName: "GetAudioEditAsync", - pathTemplate: "$\"/edit/{audioEditUuid}\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - else - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetAudioEdit", - methodName: "GetAudioEditAsync", - pathTemplate: "$\"/edit/{audioEditUuid}\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - - if (__effectiveReadResponseAsString) - { - var __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - ProcessResponseContent( - client: HttpClient, - response: __response, - content: ref __content); - ProcessGetAudioEditResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - var __value = global::ResembleAI.AudioEditGetAudioEditResponse200.FromJson(__content, JsonSerializerContext) ?? - throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::ResembleAI.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __value); - } - catch (global::System.Exception __ex) - { - throw global::ResembleAI.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - else - { - try - { - __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - var __value = await global::ResembleAI.AudioEditGetAudioEditResponse200.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? - throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::ResembleAI.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __value); - } - catch (global::System.Exception __ex) - { - string? __content = null; - try - { - __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - } - catch (global::System.Exception) - { - } - - throw global::ResembleAI.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - - } - } - finally - { - __httpRequest?.Dispose(); - } - } - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.ListAudioEdits.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.ListAudioEdits.g.cs deleted file mode 100644 index 7f541df..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.ListAudioEdits.g.cs +++ /dev/null @@ -1,433 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - public partial class SubpackageAudioEditClient - { - - - private static readonly global::ResembleAI.EndPointSecurityRequirement s_ListAudioEditsSecurityRequirement0 = - new global::ResembleAI.EndPointSecurityRequirement - { - Authorizations = new global::ResembleAI.EndPointAuthorizationRequirement[] - { new global::ResembleAI.EndPointAuthorizationRequirement - { - Type = "Http", - SchemeId = "HttpBearer", - Location = "Header", - Name = "Bearer", - FriendlyName = "Bearer", - }, - }, - }; - private static readonly global::ResembleAI.EndPointSecurityRequirement[] s_ListAudioEditsSecurityRequirements = - new global::ResembleAI.EndPointSecurityRequirement[] - { s_ListAudioEditsSecurityRequirement0, - }; - partial void PrepareListAudioEditsArguments( - global::System.Net.Http.HttpClient httpClient, - ref int page); - partial void PrepareListAudioEditsRequest( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage, - int page); - partial void ProcessListAudioEditsResponse( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage); - - partial void ProcessListAudioEditsResponseContent( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage, - ref string content); - - /// - /// List audio edits
- /// Retrieve paginated list of audio edits - ///
- /// - /// Default Value: 1 - /// - /// 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 ListAudioEditsAsync( - int page, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __response = await ListAudioEditsAsResponseAsync( - page: page, - requestOptions: requestOptions, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - - return __response.Body; - } - /// - /// List audio edits
- /// Retrieve paginated list of audio edits - ///
- /// - /// Default Value: 1 - /// - /// 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> ListAudioEditsAsResponseAsync( - int page, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - PrepareArguments( - client: HttpClient); - PrepareListAudioEditsArguments( - httpClient: HttpClient, - page: ref page); - - - var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( - availableAuthorizations: Authorizations, - securityRequirements: s_ListAudioEditsSecurityRequirements, - operationName: "ListAudioEditsAsync"); - - using var __timeoutCancellationTokenSource = global::ResembleAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( - clientOptions: Options, - requestOptions: requestOptions, - cancellationToken: cancellationToken); - var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; - var __effectiveReadResponseAsString = global::ResembleAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( - clientOptions: Options, - requestOptions: requestOptions, - fallbackValue: ReadResponseAsString); - var __maxAttempts = global::ResembleAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( - clientOptions: Options, - requestOptions: requestOptions, - supportsRetry: true); - - global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() - { - - var __pathBuilder = new global::ResembleAI.PathBuilder( - path: "/edit", - baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://app.resemble.ai/api/v2", global::System.UriKind.RelativeOrAbsolute)); - __pathBuilder - .AddRequiredParameter("page", page.ToString()!) - ; - var __path = __pathBuilder.ToString(); - __path = global::ResembleAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( - path: __path, - clientParameters: Options.QueryParameters, - requestParameters: requestOptions?.QueryParameters); - var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); -#if NET6_0_OR_GREATER - __httpRequest.Version = global::System.Net.HttpVersion.Version11; - __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; -#endif - - foreach (var __authorization in __authorizations) - { - if (__authorization.Type == "Http" || - __authorization.Type == "OAuth2" || - __authorization.Type == "OpenIdConnect") - { - __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( - scheme: __authorization.Name, - parameter: __authorization.Value); - } - else if (__authorization.Type == "ApiKey" && - __authorization.Location == "Header") - { - __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } - } - global::ResembleAI.AutoSDKRequestOptionsSupport.ApplyHeaders( - request: __httpRequest, - clientHeaders: Options.Headers, - requestHeaders: requestOptions?.Headers); - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareListAudioEditsRequest( - httpClient: HttpClient, - httpRequestMessage: __httpRequest, - page: page!); - - return __httpRequest; - } - - global::System.Net.Http.HttpRequestMessage? __httpRequest = null; - global::System.Net.Http.HttpResponseMessage? __response = null; - var __attemptNumber = 0; - try - { - for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) - { - __attemptNumber = __attempt; - __httpRequest = __CreateHttpRequest(); - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListAudioEdits", - methodName: "ListAudioEditsAsync", - pathTemplate: "\"/edit\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - try - { - __response = await HttpClient.SendAsync( - request: __httpRequest, - completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - } - catch (global::System.Net.Http.HttpRequestException __exception) - { - var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: null, - attempt: __attempt); - var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListAudioEdits", - methodName: "ListAudioEditsAsync", - pathTemplate: "\"/edit\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: __exception, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: __willRetry, - retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, - retryReason: "exception", - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - if (!__willRetry) - { - throw; - } - - __httpRequest.Dispose(); - __httpRequest = null; - await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - if (__response != null && - __attempt < __maxAttempts && - global::ResembleAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) - { - var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: __response, - attempt: __attempt); - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListAudioEdits", - methodName: "ListAudioEditsAsync", - pathTemplate: "\"/edit\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: true, - retryDelay: __retryDelay, - retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - __response.Dispose(); - __response = null; - __httpRequest.Dispose(); - __httpRequest = null; - await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - break; - } - - if (__response == null) - { - throw new global::System.InvalidOperationException("No response received."); - } - - using (__response) - { - - ProcessResponse( - client: HttpClient, - response: __response); - ProcessListAudioEditsResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - if (__response.IsSuccessStatusCode) - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListAudioEdits", - methodName: "ListAudioEditsAsync", - pathTemplate: "\"/edit\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - else - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ListAudioEdits", - methodName: "ListAudioEditsAsync", - pathTemplate: "\"/edit\"", - httpMethod: "GET", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - - if (__effectiveReadResponseAsString) - { - var __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - ProcessResponseContent( - client: HttpClient, - response: __response, - content: ref __content); - ProcessListAudioEditsResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - var __value = global::ResembleAI.AudioEditListAudioEditsResponse200.FromJson(__content, JsonSerializerContext) ?? - throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::ResembleAI.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __value); - } - catch (global::System.Exception __ex) - { - throw global::ResembleAI.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - else - { - try - { - __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - var __value = await global::ResembleAI.AudioEditListAudioEditsResponse200.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? - throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::ResembleAI.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __value); - } - catch (global::System.Exception __ex) - { - string? __content = null; - try - { - __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - } - catch (global::System.Exception) - { - } - - throw global::ResembleAI.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - - } - } - finally - { - __httpRequest?.Dispose(); - } - } - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.g.cs deleted file mode 100644 index 1779620..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.SubpackageAudioEditClient.g.cs +++ /dev/null @@ -1,144 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. - ///
- public sealed partial class SubpackageAudioEditClient : global::ResembleAI.ISubpackageAudioEditClient, global::System.IDisposable - { - /// - /// - /// - public const string DefaultBaseUrl = "https://app.resemble.ai/api/v2"; - - private bool _disposeHttpClient = true; - - /// - public global::System.Net.Http.HttpClient HttpClient { get; } - - /// - public System.Uri? BaseUri => HttpClient.BaseAddress; - - /// - public global::System.Collections.Generic.List Authorizations { get; } - - /// - public bool ReadResponseAsString { get; set; } -#if DEBUG - = true; -#endif - - /// - public global::ResembleAI.AutoSDKClientOptions Options { get; } - - - internal global::ResembleAI.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::ResembleAI.AutoSDKServerConfiguration(); - /// - /// - /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::ResembleAI.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageAudioEditClient. - /// If no httpClient is provided, a new one will be created. - /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. - /// - /// The HttpClient instance. If not provided, a new one will be created. - /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. - /// The authorizations to use for the requests. - /// Dispose the HttpClient when the instance is disposed. True by default. - public SubpackageAudioEditClient( - global::System.Net.Http.HttpClient? httpClient = null, - global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null, - bool disposeHttpClient = true) : this( - httpClient, - baseUri, - authorizations, - options: null, - disposeHttpClient: disposeHttpClient) - { - } - - /// - /// Creates a new instance of the SubpackageAudioEditClient with explicit options but no base URL override. - /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. - /// - /// The HttpClient instance. If not provided, a new one will be created. - /// The authorizations to use for the requests. - /// Client-wide request defaults such as headers, query parameters, retries, and timeout. - /// Dispose the HttpClient when the instance is disposed. True by default. - public SubpackageAudioEditClient( - global::System.Net.Http.HttpClient? httpClient, - global::System.Collections.Generic.List? authorizations, - global::ResembleAI.AutoSDKClientOptions? options, - bool disposeHttpClient = true) : this( - httpClient, - baseUri: null, - authorizations, - options, - disposeHttpClient: disposeHttpClient) - { - } - - /// - /// Creates a new instance of the SubpackageAudioEditClient. - /// If no httpClient is provided, a new one will be created. - /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. - /// - /// The HttpClient instance. If not provided, a new one will be created. - /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. - /// The authorizations to use for the requests. - /// Client-wide request defaults such as headers, query parameters, retries, and timeout. - /// Dispose the HttpClient when the instance is disposed. True by default. - public SubpackageAudioEditClient( - global::System.Net.Http.HttpClient? httpClient, - global::System.Uri? baseUri, - global::System.Collections.Generic.List? authorizations, - global::ResembleAI.AutoSDKClientOptions? options, - bool disposeHttpClient = true) - { - - HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); - if (baseUri is not null) - { - HttpClient.BaseAddress ??= baseUri; - } - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::ResembleAI.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - AutoSDKServerConfiguration.ExplicitBaseUri = baseUri ?? httpClient?.BaseAddress; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/openapi.yaml b/src/libs/ResembleAI/openapi.yaml index d39d49a..09b367c 100644 --- a/src/libs/ResembleAI/openapi.yaml +++ b/src/libs/ResembleAI/openapi.yaml @@ -568,164 +568,6 @@ } ] }, - "/edit": { - "get": { - "operationId": "list-audio-edits", - "summary": "List audio edits", - "description": "Retrieve paginated list of audio edits", - "tags": [ - "subpackage_audioEdit" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "Authorization", - "in": "header", - "description": "API token from https://app.resemble.ai/account/api", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "List of audio edits", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Audio Edit_listAudioEdits_Response_200" - } - } - } - } - } - }, - "post": { - "operationId": "create-audio-edit", - "summary": "Create audio edit", - "description": "Edit audio segments using voice synthesis", - "tags": [ - "subpackage_audioEdit" - ], - "parameters": [ - { - "name": "Authorization", - "in": "header", - "description": "API token from https://app.resemble.ai/account/api", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Edit job created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Audio Edit_createAudioEdit_Response_200" - } - } - } - } - }, - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "input_audio": { - "type": "string", - "format": "binary", - "description": "WAV, MP3, M4A, or WMA file (< 20 seconds)" - }, - "original_transcript": { - "type": "string", - "description": "Accurate transcript of the uploaded audio" - }, - "target_transcript": { - "type": "string", - "description": "Desired replacement text" - }, - "voice_uuid": { - "type": "string", - "description": "Voice used to render the edited segment" - } - }, - "required": [ - "input_audio", - "original_transcript", - "target_transcript", - "voice_uuid" - ] - } - } - } - } - }, - "servers": [ - { - "url": "https://app.resemble.ai/api/v2" - } - ] - }, - "/edit/{audio_edit_uuid}": { - "get": { - "operationId": "get-audio-edit", - "summary": "Get audio edit", - "description": "Get status and result of an audio edit", - "tags": [ - "subpackage_audioEdit" - ], - "parameters": [ - { - "name": "audio_edit_uuid", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "Authorization", - "in": "header", - "description": "API token from https://app.resemble.ai/account/api", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Audio edit details", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Audio Edit_getAudioEdit_Response_200" - } - } - } - } - } - }, - "servers": [ - { - "url": "https://app.resemble.ai/api/v2" - } - ] - }, "/audio_enhancements": { "get": { "operationId": "list-audio-enhancements", @@ -7190,107 +7032,6 @@ }, "title": "Speech-to-Text_getTranscriptQuestion_Response_200" }, - "EditGetResponsesContentApplicationJsonSchemaItemsItems": { - "type": "object", - "properties": {}, - "title": "EditGetResponsesContentApplicationJsonSchemaItemsItems" - }, - "Audio Edit_listAudioEdits_Response_200": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "page": { - "type": "integer" - }, - "num_pages": { - "type": "integer" - }, - "page_size": { - "type": "integer" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EditGetResponsesContentApplicationJsonSchemaItemsItems" - } - } - }, - "title": "Audio Edit_listAudioEdits_Response_200" - }, - "EditPostResponsesContentApplicationJsonSchemaItem": { - "type": "object", - "properties": { - "uuid": { - "type": "string" - }, - "voice_uuid": { - "type": "string" - }, - "original_transcript": { - "type": "string" - }, - "target_transcript": { - "type": "string" - }, - "input_audio_url": { - "type": "string", - "format": "uri" - } - }, - "title": "EditPostResponsesContentApplicationJsonSchemaItem" - }, - "Audio Edit_createAudioEdit_Response_200": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "item": { - "$ref": "#/components/schemas/EditPostResponsesContentApplicationJsonSchemaItem" - } - }, - "title": "Audio Edit_createAudioEdit_Response_200" - }, - "EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem": { - "type": "object", - "properties": { - "uuid": { - "type": "string" - }, - "voice_uuid": { - "type": "string" - }, - "original_transcript": { - "type": "string" - }, - "target_transcript": { - "type": "string" - }, - "input_audio_url": { - "type": "string", - "format": "uri" - }, - "result_audio_url": { - "type": "string", - "format": "uri" - } - }, - "title": "EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem" - }, - "Audio Edit_getAudioEdit_Response_200": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "item": { - "$ref": "#/components/schemas/EditAudioEditUuidGetResponsesContentApplicationJsonSchemaItem" - } - }, - "title": "Audio Edit_getAudioEdit_Response_200" - }, "AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus": { "type": "string", "enum": [