From a03a3355ebddf922a25e03baa97e363bd81469b0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 29 Sep 2026 05:18:08 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...epfakeDetectionClient.CreateDetection.g.cs | 16 +- ...epfakeDetectionClient.CreateDetection.g.cs | 16 +- .../ResembleAI.IResembleAIClient.g.cs | 5 - ...iceDesignClient.Authorizations.Bearer.g.cs | 16 - ...DesignClient.CreateVoiceFromCandidate.g.cs | 50 -- ...VoiceDesignClient.GenerateVoiceDesign.g.cs | 48 -- .../ResembleAI.IVoiceDesignClient.g.cs | 48 -- ...bleAI.IWatermarkClient.ApplyWatermark.g.cs | 5 + ...ers.WatermarkApplyRequestOutputFormat.g.cs | 53 ++ ...rmarkApplyRequestOutputFormatNullable.g.cs | 60 ++ .../ResembleAI.JsonSerializerContext.g.cs | 33 +- ...ResembleAI.JsonSerializerContextTypes.g.cs | 646 +++++++++--------- ...embleAI.Models.CreateDetectionRequest.g.cs | 4 +- ....CreateVoiceFromCandidateRequest.Json.g.cs | 141 ---- ...odels.CreateVoiceFromCandidateRequest.g.cs | 65 -- ...odels.GenerateVoiceDesignRequest.Json.g.cs | 141 ---- ...eAI.Models.GenerateVoiceDesignRequest.g.cs | 47 -- ...ateVoiceFromCandidateResponse200.Json.g.cs | 141 ---- ...gnCreateVoiceFromCandidateResponse200.g.cs | 53 -- ...gnGenerateVoiceDesignResponse200.Json.g.cs | 141 ---- ...eDesignGenerateVoiceDesignResponse200.g.cs | 44 -- ...onJsonSchemaVoiceCandidatesItems.Json.g.cs | 141 ---- ...icationJsonSchemaVoiceCandidatesItems.g.cs | 62 -- .../ResembleAI.Models.WatermarkApplyItem.g.cs | 4 +- ...sembleAI.Models.WatermarkApplyRequest.g.cs | 14 + ...els.WatermarkApplyRequestOutputFormat.g.cs | 52 ++ .../ResembleAI.ResembleAIClient.g.cs | 10 - ...eAI.VoiceDesign.JsonSerializerContext.g.cs | 135 ---- ...iceDesignClient.Authorizations.Bearer.g.cs | 35 - ...VoiceDesignClient.Constructors.Bearer.g.cs | 31 - ...DesignClient.CreateVoiceFromCandidate.g.cs | 476 ------------- ...VoiceDesignClient.GenerateVoiceDesign.g.cs | 474 ------------- .../ResembleAI.VoiceDesignClient.g.cs | 182 ----- ...bleAI.Watermark.JsonSerializerContext.g.cs | 16 + ...mbleAI.WatermarkClient.ApplyWatermark.g.cs | 6 + src/libs/ResembleAI/openapi.yaml | 170 +---- 36 files changed, 575 insertions(+), 3006 deletions(-) delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.Authorizations.Bearer.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.CreateVoiceFromCandidate.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.GenerateVoiceDesign.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormat.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormatNullable.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.CreateVoiceFromCandidateRequest.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.CreateVoiceFromCandidateRequest.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.GenerateVoiceDesignRequest.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.GenerateVoiceDesignRequest.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignCreateVoiceFromCandidateResponse200.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignCreateVoiceFromCandidateResponse200.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignGenerateVoiceDesignResponse200.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignGenerateVoiceDesignResponse200.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyRequestOutputFormat.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.VoiceDesign.JsonSerializerContext.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.Authorizations.Bearer.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.Constructors.Bearer.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.CreateVoiceFromCandidate.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.GenerateVoiceDesign.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.g.cs diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs index f59b674..c6312f3 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs @@ -59,7 +59,7 @@ partial void ProcessCreateDetectionResponseContent( /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
- /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// detection charge, applies a 200 MB source limit for audio, image, and video, and causes
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// @@ -92,7 +92,7 @@ partial void ProcessCreateDetectionResponseContent( /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
- /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// detection charge, applies a 200 MB source limit for audio, image, and video, and causes
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// @@ -757,7 +757,7 @@ request.Filename is null /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
- /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// detection charge, applies a 200 MB source limit for audio, image, and video, and causes
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// @@ -806,7 +806,7 @@ request.Filename is null /// Default Value: false /// /// - /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies a source limit of 200 MB for audio, image, and video.
/// Default Value: false /// /// @@ -898,7 +898,7 @@ request.Filename is null /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
- /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// detection charge, applies a 200 MB source limit for audio, image, and video, and causes
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// @@ -947,7 +947,7 @@ request.Filename is null /// Default Value: false /// /// - /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies a source limit of 200 MB for audio, image, and video.
/// Default Value: false /// /// @@ -1665,7 +1665,7 @@ request.Filename is null /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
- /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// detection charge, applies a 200 MB source limit for audio, image, and video, and causes
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// @@ -1714,7 +1714,7 @@ request.Filename is null /// Default Value: false /// /// - /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies a source limit of 200 MB for audio, image, and video.
/// Default Value: false /// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs index 419607a..cefccd8 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs @@ -14,7 +14,7 @@ public partial interface IDeepfakeDetectionClient /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
- /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// detection charge, applies a 200 MB source limit for audio, image, and video, and causes
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// @@ -37,7 +37,7 @@ public partial interface IDeepfakeDetectionClient /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
- /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// detection charge, applies a 200 MB source limit for audio, image, and video, and causes
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// @@ -60,7 +60,7 @@ public partial interface IDeepfakeDetectionClient /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
- /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// detection charge, applies a 200 MB source limit for audio, image, and video, and causes
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// @@ -109,7 +109,7 @@ public partial interface IDeepfakeDetectionClient /// Default Value: false /// /// - /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies a source limit of 200 MB for audio, image, and video.
/// Default Value: false /// /// @@ -172,7 +172,7 @@ public partial interface IDeepfakeDetectionClient /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
- /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// detection charge, applies a 200 MB source limit for audio, image, and video, and causes
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// @@ -221,7 +221,7 @@ public partial interface IDeepfakeDetectionClient /// Default Value: false /// /// - /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies a source limit of 200 MB for audio, image, and video.
/// Default Value: false /// /// @@ -283,7 +283,7 @@ public partial interface IDeepfakeDetectionClient /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
- /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// detection charge, applies a 200 MB source limit for audio, image, and video, and causes
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// @@ -332,7 +332,7 @@ public partial interface IDeepfakeDetectionClient /// Default Value: false /// /// - /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies a source limit of 200 MB for audio, image, and video.
/// Default Value: false /// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IResembleAIClient.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IResembleAIClient.g.cs index 80e0d87..658b5ee 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IResembleAIClient.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IResembleAIClient.g.cs @@ -175,11 +175,6 @@ public partial interface IResembleAIClient : global::System.IDisposable /// public TextToSpeechClient TextToSpeech { get; } - /// - /// - /// - public VoiceDesignClient VoiceDesign { get; } - /// /// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.Authorizations.Bearer.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.Authorizations.Bearer.g.cs deleted file mode 100644 index a785698..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.Authorizations.Bearer.g.cs +++ /dev/null @@ -1,16 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - public partial interface IVoiceDesignClient - { - /// - /// Authorize using bearer authentication. - /// - /// - - public void AuthorizeUsingBearer( - string apiKey); - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.CreateVoiceFromCandidate.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.CreateVoiceFromCandidate.g.cs deleted file mode 100644 index 3213253..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.CreateVoiceFromCandidate.g.cs +++ /dev/null @@ -1,50 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public partial interface IVoiceDesignClient - { - /// - /// Create voice from candidate
- /// Create a voice from a voice design candidate - ///
- /// - /// 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 CreateVoiceFromCandidateAsync( - - global::ResembleAI.CreateVoiceFromCandidateRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Create voice from candidate
- /// Create a voice from a voice design candidate - ///
- /// - /// 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> CreateVoiceFromCandidateAsResponseAsync( - - global::ResembleAI.CreateVoiceFromCandidateRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Create voice from candidate
- /// Create a voice from a voice design candidate - ///
- /// - /// - /// - /// 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 CreateVoiceFromCandidateAsync( - string uuid, - int voiceSampleIndex, - string name, - 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.IVoiceDesignClient.GenerateVoiceDesign.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.GenerateVoiceDesign.g.cs deleted file mode 100644 index 9a20235..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.GenerateVoiceDesign.g.cs +++ /dev/null @@ -1,48 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public partial interface IVoiceDesignClient - { - /// - /// Generate voice candidates
- /// Generate three voice candidates from a text prompt - ///
- /// - /// 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 GenerateVoiceDesignAsync( - - global::ResembleAI.GenerateVoiceDesignRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Generate voice candidates
- /// Generate three voice candidates from a text prompt - ///
- /// - /// 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> GenerateVoiceDesignAsResponseAsync( - - global::ResembleAI.GenerateVoiceDesignRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Generate voice candidates
- /// Generate three voice candidates from a text prompt - ///
- /// - /// Description of desired voice - /// - /// 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 GenerateVoiceDesignAsync( - string userPrompt, - 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.IVoiceDesignClient.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.g.cs deleted file mode 100644 index edcd754..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.IVoiceDesignClient.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 IVoiceDesignClient : 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.IWatermarkClient.ApplyWatermark.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IWatermarkClient.ApplyWatermark.g.cs index 91294d0..368da8e 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IWatermarkClient.ApplyWatermark.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IWatermarkClient.ApplyWatermark.g.cs @@ -42,6 +42,10 @@ public partial interface IWatermarkClient /// /// Public HTTPS URL to the audio, image, or video source. /// + /// + /// `default` returns WAV (audio), PNG (image), or MP4 (video). `source` returns the source's format (for example JPEG, AVIF, M4A, or MOV) when it can be reproduced, otherwise the default.
+ /// Default Value: default + /// /// /// Watermark strength for image/video. Ignored for audio.
/// Default Value: 0.2F @@ -56,6 +60,7 @@ public partial interface IWatermarkClient global::System.Threading.Tasks.Task ApplyWatermarkAsync( string url, global::ResembleAI.WatermarkApplyPostParametersPrefer? prefer = default, + global::ResembleAI.WatermarkApplyRequestOutputFormat? outputFormat = default, double? strength = default, string? customMessage = default, global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormat.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormat.g.cs new file mode 100644 index 0000000..1d63396 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormat.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class WatermarkApplyRequestOutputFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.WatermarkApplyRequestOutputFormat Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.WatermarkApplyRequestOutputFormatExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.WatermarkApplyRequestOutputFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.WatermarkApplyRequestOutputFormat); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.WatermarkApplyRequestOutputFormat value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.WatermarkApplyRequestOutputFormatExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormatNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormatNullable.g.cs new file mode 100644 index 0000000..2eb4754 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormatNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class WatermarkApplyRequestOutputFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.WatermarkApplyRequestOutputFormat? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.WatermarkApplyRequestOutputFormatExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.WatermarkApplyRequestOutputFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.WatermarkApplyRequestOutputFormat?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.WatermarkApplyRequestOutputFormat? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::ResembleAI.WatermarkApplyRequestOutputFormatExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs index e8a120e..f84d333 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs @@ -195,6 +195,7 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.IdentitySearchIdentitiesResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyPostParametersPrefer), TypeInfoPropertyName = "WatermarkApplyPostParametersPrefer2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat), TypeInfoPropertyName = "WatermarkApplyRequestOutputFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyItemMediaType), TypeInfoPropertyName = "WatermarkApplyItemMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyItemOperationType), TypeInfoPropertyName = "WatermarkApplyItemOperationType2")] @@ -323,10 +324,6 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.VoicesGetVoiceResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.VoicesDeleteVoiceResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.VoicesBuildVoiceResponse200))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.RecordingsListRecordingsResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -475,8 +472,6 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateAudioEnhancementRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateVoiceRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.BuildVoiceRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.GenerateVoiceDesignRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateVoiceFromCandidateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateRecordingRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.UpdateRecordingRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateTermSubstitutionRequest))] @@ -509,6 +504,11 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResultStatus?), TypeInfoPropertyName = "NullableWatermarkVisionModelResultStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict?), TypeInfoPropertyName = "NullableWatermarkVisionDetectionMetricsVerdict2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectWatermarkAnalysisMetrics?), TypeInfoPropertyName = "NullableDetectWatermarkAnalysisMetrics2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectC2PaManifestValidationState?), TypeInfoPropertyName = "NullableDetectC2PaManifestValidationState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality?), TypeInfoPropertyName = "NullableDetectPostRequestBodyContentMultipartFormDataSchemaModality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemStatus2")] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -519,11 +519,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectC2PaManifestValidationState?), TypeInfoPropertyName = "NullableDetectC2PaManifestValidationState2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality?), TypeInfoPropertyName = "NullableDetectPostRequestBodyContentMultipartFormDataSchemaModality2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemModality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType2")] @@ -568,6 +563,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.IdentitySearchPostRequestBodyContentApplicationJsonSchemaModality?), TypeInfoPropertyName = "NullableIdentitySearchPostRequestBodyContentApplicationJsonSchemaModality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaModality?), TypeInfoPropertyName = "NullableIdentitySearchPostResponsesContentApplicationJsonSchemaModality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyPostParametersPrefer?), TypeInfoPropertyName = "NullableWatermarkApplyPostParametersPrefer2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat?), TypeInfoPropertyName = "NullableWatermarkApplyRequestOutputFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyItemMediaType?), TypeInfoPropertyName = "NullableWatermarkApplyItemMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyItemOperationType?), TypeInfoPropertyName = "NullableWatermarkApplyItemOperationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyItemStatus?), TypeInfoPropertyName = "NullableWatermarkApplyItemStatus2")] @@ -647,7 +643,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [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))] @@ -955,6 +950,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::ResembleAI.WatermarkApplyPostParametersPrefer?) + || typeToConvert == typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat) + + || typeToConvert == typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat?) + || typeToConvert == typeof(global::ResembleAI.WatermarkApplyItemMediaType) || typeToConvert == typeof(global::ResembleAI.WatermarkApplyItemMediaType?) @@ -1658,6 +1657,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::ResembleAI.JsonConverters.WatermarkApplyPostParametersPreferNullableJsonConverter(); } + if (typeToConvert == typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat)) + { + return new global::ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormatJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat?)) + { + return new global::ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormatNullableJsonConverter(); + } + if (typeToConvert == typeof(global::ResembleAI.WatermarkApplyItemMediaType)) { return new global::ResembleAI.JsonConverters.WatermarkApplyItemMediaTypeJsonConverter(); diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs index 7042044..cbe8145 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs @@ -761,1195 +761,1175 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::ResembleAI.WatermarkApplyRequest? Type182 { get; set; } + public global::ResembleAI.WatermarkApplyRequestOutputFormat? Type182 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemMediaType? Type183 { get; set; } + public global::ResembleAI.WatermarkApplyRequest? Type183 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemOperationType? Type184 { get; set; } + public global::ResembleAI.WatermarkApplyItemMediaType? Type184 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemStatus? Type185 { get; set; } + public global::ResembleAI.WatermarkApplyItemOperationType? Type185 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemModelVersion? Type186 { get; set; } + public global::ResembleAI.WatermarkApplyItemStatus? Type186 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyMetrics? Type187 { get; set; } + public global::ResembleAI.WatermarkApplyItemModelVersion? Type187 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItem? Type188 { get; set; } + public global::ResembleAI.WatermarkApplyMetrics? Type188 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyResponse? Type189 { get; set; } + public global::ResembleAI.WatermarkApplyItem? Type189 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectPostParametersPrefer? Type190 { get; set; } + public global::ResembleAI.WatermarkApplyResponse? Type190 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectRequest? Type191 { get; set; } + public global::ResembleAI.WatermarkDetectPostParametersPrefer? Type191 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemMediaType? Type192 { get; set; } + public global::ResembleAI.WatermarkDetectRequest? Type192 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemOperationType? Type193 { get; set; } + public global::ResembleAI.WatermarkDetectItemMediaType? Type193 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemStatus? Type194 { get; set; } + public global::ResembleAI.WatermarkDetectItemOperationType? Type194 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemModelVersion? Type195 { get; set; } + public global::ResembleAI.WatermarkDetectItemStatus? Type195 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemMetrics? Type196 { get; set; } + public global::ResembleAI.WatermarkDetectItemModelVersion? Type196 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItem? Type197 { get; set; } + public global::ResembleAI.WatermarkDetectItemMetrics? Type197 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectResponse? Type198 { get; set; } + public global::ResembleAI.WatermarkDetectItem? Type198 { get; set; } /// /// /// - public global::ResembleAI.TextDetectItemStatus? Type199 { get; set; } + public global::ResembleAI.WatermarkDetectResponse? Type199 { get; set; } /// /// /// - public global::ResembleAI.TextDetectItemPrediction? Type200 { get; set; } + public global::ResembleAI.TextDetectItemStatus? Type200 { get; set; } /// /// /// - public global::ResembleAI.TextDetectItem? Type201 { get; set; } + public global::ResembleAI.TextDetectItemPrediction? Type201 { get; set; } /// /// /// - public global::ResembleAI.TextDetectListResponse? Type202 { get; set; } + public global::ResembleAI.TextDetectItem? Type202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type203 { get; set; } + public global::ResembleAI.TextDetectListResponse? Type203 { get; set; } /// /// /// - public global::ResembleAI.TextDetectPostParametersPrefer? Type204 { get; set; } + public global::System.Collections.Generic.IList? Type204 { get; set; } /// /// /// - public global::ResembleAI.TextDetectRequestThinking? Type205 { get; set; } + public global::ResembleAI.TextDetectPostParametersPrefer? Type205 { get; set; } /// /// /// - public global::ResembleAI.TextDetectRequest? Type206 { get; set; } + public global::ResembleAI.TextDetectRequestThinking? Type206 { get; set; } /// /// /// - public global::ResembleAI.TextDetectResponse? Type207 { get; set; } + public global::ResembleAI.TextDetectRequest? Type207 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmissionInputModality? Type208 { get; set; } + public global::ResembleAI.TextDetectResponse? Type208 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmissionVerdict? Type209 { get; set; } + public global::ResembleAI.SignalSubmissionInputModality? Type209 { get; set; } /// /// /// - public global::ResembleAI.SignalCategoryScore? Type210 { get; set; } + public global::ResembleAI.SignalSubmissionVerdict? Type210 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreItemInputModality? Type211 { get; set; } + public global::ResembleAI.SignalCategoryScore? Type211 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreItemVerdict? Type212 { get; set; } + public global::ResembleAI.SignalScoreItemInputModality? Type212 { get; set; } /// /// /// - public global::ResembleAI.SignalTopMatch? Type213 { get; set; } + public global::ResembleAI.SignalScoreItemVerdict? Type213 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreItem? Type214 { get; set; } + public global::ResembleAI.SignalTopMatch? Type214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type215 { get; set; } + public global::ResembleAI.SignalScoreItem? Type215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type216 { get; set; } + public global::System.Collections.Generic.IList? Type216 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmission? Type217 { get; set; } + public global::System.Collections.Generic.IList? Type217 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmissionListResponse? Type218 { get; set; } + public global::ResembleAI.SignalSubmission? Type218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type219 { get; set; } + public global::ResembleAI.SignalSubmissionListResponse? Type219 { get; set; } /// /// /// - public global::ResembleAI.SignalError? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public long? Type221 { get; set; } + public global::ResembleAI.SignalError? Type221 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreResponse? Type222 { get; set; } + public long? Type222 { get; set; } /// /// /// - public global::ResembleAI.SignalSuccessResponse? Type223 { get; set; } + public global::ResembleAI.SignalScoreResponse? Type223 { get; set; } /// /// /// - public global::ResembleAI.SignalSettings? Type224 { get; set; } + public global::ResembleAI.SignalSuccessResponse? Type224 { get; set; } /// /// /// - public global::ResembleAI.SignalBuiltInCategory? Type225 { get; set; } + public global::ResembleAI.SignalSettings? Type225 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryStatus? Type226 { get; set; } + public global::ResembleAI.SignalBuiltInCategory? Type226 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryOverlapsItems? Type227 { get; set; } + public global::ResembleAI.SignalCustomCategoryStatus? Type227 { get; set; } /// /// /// - public global::ResembleAI.SignalScenario? Type228 { get; set; } + public global::ResembleAI.SignalCustomCategoryOverlapsItems? Type228 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategory? Type229 { get; set; } + public global::ResembleAI.SignalScenario? Type229 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type230 { get; set; } + public global::ResembleAI.SignalCustomCategory? Type230 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type231 { get; set; } + public global::System.Collections.Generic.IList? Type231 { get; set; } /// /// /// - public global::ResembleAI.SignalCalibrationWarningsItems? Type232 { get; set; } + public global::System.Collections.Generic.IList? Type232 { get; set; } /// /// /// - public global::ResembleAI.SignalCalibration? Type233 { get; set; } + public global::ResembleAI.SignalCalibrationWarningsItems? Type233 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type234 { get; set; } + public global::ResembleAI.SignalCalibration? Type234 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryListResponse? Type235 { get; set; } + public global::System.Collections.Generic.IList? Type235 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type236 { get; set; } + public global::ResembleAI.SignalCustomCategoryListResponse? Type236 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type237 { get; set; } + public global::System.Collections.Generic.IList? Type237 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryCreateRequest? Type238 { get; set; } + public global::System.Collections.Generic.IList? Type238 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryResponse? Type239 { get; set; } + public global::ResembleAI.SignalCustomCategoryCreateRequest? Type239 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryUpdateRequest? Type240 { get; set; } + public global::ResembleAI.SignalCustomCategoryResponse? Type240 { get; set; } /// /// /// - public global::ResembleAI.SignalSettingsUpdateRequest? Type241 { get; set; } + public global::ResembleAI.SignalCustomCategoryUpdateRequest? Type241 { get; set; } /// /// /// - public global::ResembleAI.SignalSettingsResponse? Type242 { get; set; } + public global::ResembleAI.SignalSettingsUpdateRequest? Type242 { get; set; } /// /// /// - public global::ResembleAI.SecureUploadsCreateSecureUploadResponse200? Type243 { get; set; } + public global::ResembleAI.SignalSettingsResponse? Type243 { get; set; } /// /// /// - public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaPrecision? Type244 { get; set; } + public global::ResembleAI.SecureUploadsCreateSecureUploadResponse200? Type244 { get; set; } /// /// /// - public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaOutputFormat? Type245 { get; set; } + public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaPrecision? Type245 { get; set; } /// /// /// - public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaSampleRate? Type246 { get; set; } + public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaOutputFormat? Type246 { get; set; } /// /// /// - public global::ResembleAI.AudioTimestamps? Type247 { get; set; } + public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaSampleRate? Type247 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type248 { get; set; } + public global::ResembleAI.AudioTimestamps? Type248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type249 { get; set; } + public global::System.Collections.Generic.IList>? Type249 { get; set; } /// /// /// - public global::ResembleAI.TextToSpeechSynthesizeResponse200? Type250 { get; set; } + public global::System.Collections.Generic.IList? Type250 { get; set; } /// /// /// - public byte[]? Type251 { get; set; } + public global::ResembleAI.TextToSpeechSynthesizeResponse200? Type251 { get; set; } /// /// /// - public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaPrecision? Type252 { get; set; } + public byte[]? Type252 { get; set; } /// /// /// - public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaSampleRate? Type253 { get; set; } + public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaPrecision? Type253 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaItemsItems? Type254 { get; set; } + public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaSampleRate? Type254 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaMeta? Type255 { get; set; } + public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaItemsItems? Type255 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextListTranscriptsResponse200? Type256 { get; set; } + public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaMeta? Type256 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type257 { get; set; } + public global::ResembleAI.SpeechToTextListTranscriptsResponse200? Type257 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItemStatus? Type258 { get; set; } + public global::System.Collections.Generic.IList? Type258 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItem? Type259 { get; set; } + public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItemStatus? Type259 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextCreateTranscriptResponse200? Type260 { get; set; } + public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItem? Type260 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type261 { get; set; } + public global::ResembleAI.SpeechToTextCreateTranscriptResponse200? Type261 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemWordsItems? Type262 { get; set; } + public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type262 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItem? Type263 { get; set; } + public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemWordsItems? Type263 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type264 { get; set; } + public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItem? Type264 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetTranscriptResponse200? Type265 { get; set; } + public global::System.Collections.Generic.IList? Type265 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidAskPostResponsesContentApplicationJsonSchemaItem? Type266 { get; set; } + public global::ResembleAI.SpeechToTextGetTranscriptResponse200? Type266 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextAskTranscriptQuestionResponse200? Type267 { get; set; } + public global::ResembleAI.SpeechToTextUuidAskPostResponsesContentApplicationJsonSchemaItem? Type267 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaItemsItems? Type268 { get; set; } + public global::ResembleAI.SpeechToTextAskTranscriptQuestionResponse200? Type268 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaMeta? Type269 { get; set; } + public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaItemsItems? Type269 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextListTranscriptQuestionsResponse200? Type270 { get; set; } + public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaMeta? Type270 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type271 { get; set; } + public global::ResembleAI.SpeechToTextListTranscriptQuestionsResponse200? Type271 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidQuestionsQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type272 { get; set; } + public global::System.Collections.Generic.IList? Type272 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetTranscriptQuestionResponse200? Type273 { get; set; } + public global::ResembleAI.SpeechToTextUuidQuestionsQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type273 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type274 { get; set; } + public global::ResembleAI.SpeechToTextGetTranscriptQuestionResponse200? Type274 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItems? Type275 { get; set; } + public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type275 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementListAudioEnhancementsResponse200? Type276 { get; set; } + public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItems? Type276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type277 { get; set; } + public global::ResembleAI.AudioEnhancementListAudioEnhancementsResponse200? Type277 { get; set; } /// /// /// - public global::ResembleAI.ListAudioEnhancementsRequestBadRequestError? Type278 { get; set; } + public global::System.Collections.Generic.IList? Type278 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsPostResponsesContentApplicationJsonSchemaStatus? Type279 { get; set; } + public global::ResembleAI.ListAudioEnhancementsRequestBadRequestError? Type279 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementCreateAudioEnhancementResponse202? Type280 { get; set; } + public global::ResembleAI.AudioEnhancementsPostResponsesContentApplicationJsonSchemaStatus? Type280 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequestBadRequestError? Type281 { get; set; } + public global::ResembleAI.AudioEnhancementCreateAudioEnhancementResponse202? Type281 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequestForbiddenError? Type282 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequestBadRequestError? Type282 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus? Type283 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequestForbiddenError? Type283 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementGetAudioEnhancementResponse200? Type284 { get; set; } + public global::ResembleAI.AudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus? Type284 { get; set; } /// /// /// - public global::ResembleAI.GetAudioEnhancementRequestNotFoundError? Type285 { get; set; } + public global::ResembleAI.AudioEnhancementGetAudioEnhancementResponse200? Type285 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type286 { get; set; } + public global::ResembleAI.GetAudioEnhancementRequestNotFoundError? Type286 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatus? Type287 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type287 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusTextToSpeech? Type288 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatus? Type288 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusFill? Type289 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusTextToSpeech? Type289 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusVoiceConversion? Type290 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusFill? Type290 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsApiSupport? Type291 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusVoiceConversion? Type291 { get; set; } /// /// /// - public global::ResembleAI.VoicesListVoicesResponse200? Type292 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsApiSupport? Type292 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type293 { get; set; } + public global::ResembleAI.VoicesListVoicesResponse200? Type293 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItem? Type294 { get; set; } + public global::System.Collections.Generic.IList? Type294 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatus? Type295 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItem? Type295 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type296 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatus? Type296 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type297 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type297 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type298 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type298 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemApiSupport? Type299 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type299 { get; set; } /// /// /// - public global::ResembleAI.VoicesCreateVoiceResponse200? Type300 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemApiSupport? Type300 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItem? Type301 { get; set; } + public global::ResembleAI.VoicesCreateVoiceResponse200? Type301 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatus? Type302 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItem? Type302 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type303 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatus? Type303 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type304 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type304 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type305 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type305 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemApiSupport? Type306 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type306 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetVoiceResponse200? Type307 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemApiSupport? Type307 { get; set; } /// /// /// - public global::ResembleAI.VoicesDeleteVoiceResponse200? Type308 { get; set; } + public global::ResembleAI.VoicesGetVoiceResponse200? Type308 { get; set; } /// /// /// - public global::ResembleAI.VoicesBuildVoiceResponse200? Type309 { get; set; } + public global::ResembleAI.VoicesDeleteVoiceResponse200? Type309 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? Type310 { get; set; } + public global::ResembleAI.VoicesBuildVoiceResponse200? Type310 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? Type311 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems? Type311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type312 { get; set; } + public global::ResembleAI.RecordingsListRecordingsResponse200? Type312 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? Type313 { get; set; } + public global::System.Collections.Generic.IList? Type313 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems? Type314 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsPostResponsesContentApplicationJsonSchemaItem? Type314 { get; set; } /// /// /// - public global::ResembleAI.RecordingsListRecordingsResponse200? Type315 { get; set; } + public global::ResembleAI.RecordingsCreateRecordingResponse200? Type315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type316 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdGetResponsesContentApplicationJsonSchemaItem? Type316 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsPostResponsesContentApplicationJsonSchemaItem? Type317 { get; set; } + public global::ResembleAI.RecordingsGetRecordingResponse200? Type317 { get; set; } /// /// /// - public global::ResembleAI.RecordingsCreateRecordingResponse200? Type318 { get; set; } + public global::ResembleAI.RecordingsDeleteRecordingResponse200? Type318 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdGetResponsesContentApplicationJsonSchemaItem? Type319 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdPatchResponsesContentApplicationJsonSchemaItem? Type319 { get; set; } /// /// /// - public global::ResembleAI.RecordingsGetRecordingResponse200? Type320 { get; set; } + public global::ResembleAI.RecordingsUpdateRecordingResponse200? Type320 { get; set; } /// /// /// - public global::ResembleAI.RecordingsDeleteRecordingResponse200? Type321 { get; set; } + public global::ResembleAI.TermSubstitutionsGetResponsesContentApplicationJsonSchemaItemsItems? Type321 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdPatchResponsesContentApplicationJsonSchemaItem? Type322 { get; set; } + public global::ResembleAI.TermSubstitutionsListTermSubstitutionsResponse200? Type322 { get; set; } /// /// /// - public global::ResembleAI.RecordingsUpdateRecordingResponse200? Type323 { get; set; } + public global::System.Collections.Generic.IList? Type323 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsGetResponsesContentApplicationJsonSchemaItemsItems? Type324 { get; set; } + public global::ResembleAI.TermSubstitutionsPostResponsesContentApplicationJsonSchemaItem? Type324 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsListTermSubstitutionsResponse200? Type325 { get; set; } + public global::ResembleAI.TermSubstitutionsCreateTermSubstitutionResponse200? Type325 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type326 { get; set; } + public global::ResembleAI.TermSubstitutionsIdGetResponsesContentApplicationJsonSchemaItem? Type326 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsPostResponsesContentApplicationJsonSchemaItem? Type327 { get; set; } + public global::ResembleAI.TermSubstitutionsGetTermSubstitutionResponse200? Type327 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsCreateTermSubstitutionResponse200? Type328 { get; set; } + public global::ResembleAI.TermSubstitutionsDeleteTermSubstitutionResponse200? Type328 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsIdGetResponsesContentApplicationJsonSchemaItem? Type329 { get; set; } + public global::ResembleAI.PronunciationsGetParametersStatus? Type329 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsGetTermSubstitutionResponse200? Type330 { get; set; } + public global::ResembleAI.CustomPronunciationStatus? Type330 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsDeleteTermSubstitutionResponse200? Type331 { get; set; } + public global::ResembleAI.CustomPronunciation? Type331 { get; set; } /// /// /// - public global::ResembleAI.PronunciationsGetParametersStatus? Type332 { get; set; } + public global::ResembleAI.CustomPronunciationsListPronunciationsResponse200? 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.CustomPronunciationsCreatePronunciationResponse201? Type334 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsListPronunciationsResponse200? Type335 { get; set; } + public global::ResembleAI.PronunciationsBulkPostResponsesContentApplicationJsonSchemaErrorsItems? Type335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type336 { get; set; } + public global::ResembleAI.CustomPronunciationsBulkCreatePronunciationsResponse201? Type336 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsCreatePronunciationResponse201? Type337 { get; set; } + public global::System.Collections.Generic.IList? Type337 { get; set; } /// /// /// - public global::ResembleAI.PronunciationsBulkPostResponsesContentApplicationJsonSchemaErrorsItems? Type338 { get; set; } + public global::ResembleAI.CustomPronunciationsGetPronunciationResponse200? Type338 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsBulkCreatePronunciationsResponse201? Type339 { get; set; } + public global::ResembleAI.CustomPronunciationsDeletePronunciationResponse200? Type339 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type340 { get; set; } + public global::ResembleAI.CustomPronunciationsUpdatePronunciationResponse200? Type340 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsGetPronunciationResponse200? Type341 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsGetResponsesContentApplicationJsonSchemaItemsItems? Type341 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsDeletePronunciationResponse200? Type342 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsListVoiceSettingsPresetsResponse200? Type342 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsUpdatePronunciationResponse200? Type343 { get; set; } + public global::System.Collections.Generic.IList? Type343 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsGetResponsesContentApplicationJsonSchemaItemsItems? Type344 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsPostResponsesContentApplicationJsonSchemaData? Type344 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsListVoiceSettingsPresetsResponse200? Type345 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsCreateVoiceSettingsPresetResponse201? Type345 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type346 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUuidGetResponsesContentApplicationJsonSchemaData? Type346 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsPostResponsesContentApplicationJsonSchemaData? Type347 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsGetVoiceSettingsPresetResponse200? Type347 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsCreateVoiceSettingsPresetResponse201? Type348 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsDeleteVoiceSettingsPresetResponse200? Type348 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUuidGetResponsesContentApplicationJsonSchemaData? Type349 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUuidPatchResponsesContentApplicationJsonSchemaData? Type349 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsGetVoiceSettingsPresetResponse200? Type350 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUpdateVoiceSettingsPresetResponse200? Type350 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsDeleteVoiceSettingsPresetResponse200? Type351 { get; set; } + public global::ResembleAI.ProjectsGetResponsesContentApplicationJsonSchemaItemsItems? Type351 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUuidPatchResponsesContentApplicationJsonSchemaData? Type352 { get; set; } + public global::ResembleAI.ProjectsListProjectsResponse200? Type352 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUpdateVoiceSettingsPresetResponse200? Type353 { get; set; } + public global::System.Collections.Generic.IList? Type353 { get; set; } /// /// /// - public global::ResembleAI.ProjectsGetResponsesContentApplicationJsonSchemaItemsItems? Type354 { get; set; } + public global::ResembleAI.ProjectsPostResponsesContentApplicationJsonSchemaItem? Type354 { get; set; } /// /// /// - public global::ResembleAI.ProjectsListProjectsResponse200? Type355 { get; set; } + public global::ResembleAI.ProjectsCreateProjectResponse200? Type355 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type356 { get; set; } + public global::ResembleAI.ProjectsProjectUuidGetResponsesContentApplicationJsonSchemaItem? Type356 { get; set; } /// /// /// - public global::ResembleAI.ProjectsPostResponsesContentApplicationJsonSchemaItem? Type357 { get; set; } + public global::ResembleAI.ProjectsGetProjectResponse200? Type357 { get; set; } /// /// /// - public global::ResembleAI.ProjectsCreateProjectResponse200? Type358 { get; set; } + public global::ResembleAI.ProjectsProjectUuidPutResponsesContentApplicationJsonSchemaItem? Type358 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidGetResponsesContentApplicationJsonSchemaItem? Type359 { get; set; } + public global::ResembleAI.ProjectsUpdateProjectResponse200? Type359 { get; set; } /// /// /// - public global::ResembleAI.ProjectsGetProjectResponse200? Type360 { get; set; } + public global::ResembleAI.ProjectsDeleteProjectResponse200? Type360 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidPutResponsesContentApplicationJsonSchemaItem? Type361 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsGetResponsesContentApplicationJsonSchemaItemsItems? Type361 { get; set; } /// /// /// - public global::ResembleAI.ProjectsUpdateProjectResponse200? Type362 { get; set; } + public global::ResembleAI.ClipsListClipsResponse200? Type362 { get; set; } /// /// /// - public global::ResembleAI.ProjectsDeleteProjectResponse200? Type363 { get; set; } + public global::System.Collections.Generic.IList? Type363 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsGetResponsesContentApplicationJsonSchemaItemsItems? Type364 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsClipUuidGetResponsesContentApplicationJsonSchemaItem? Type364 { get; set; } /// /// /// - public global::ResembleAI.ClipsListClipsResponse200? Type365 { get; set; } + public global::ResembleAI.ClipsGetClipResponse200? Type365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type366 { get; set; } + public global::ResembleAI.ClipsDeleteClipResponse200? Type366 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsClipUuidGetResponsesContentApplicationJsonSchemaItem? Type367 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsClipUuidPatchResponsesContentApplicationJsonSchemaItem? Type367 { get; set; } /// /// /// - public global::ResembleAI.ClipsGetClipResponse200? Type368 { get; set; } + public global::ResembleAI.ClipsUpdateClipResponse200? Type368 { get; set; } /// /// /// - public global::ResembleAI.ClipsDeleteClipResponse200? Type369 { get; set; } + public global::ResembleAI.DuetVoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type369 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsClipUuidPatchResponsesContentApplicationJsonSchemaItem? Type370 { get; set; } + public global::ResembleAI.DuetsListDuetVoicesResponse200? Type370 { get; set; } /// /// /// - public global::ResembleAI.ClipsUpdateClipResponse200? Type371 { get; set; } + public global::System.Collections.Generic.IList? Type371 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type372 { get; set; } + public global::ResembleAI.DuetVoicesPostResponsesContentApplicationJsonSchemaItem? Type372 { get; set; } /// /// /// - public global::ResembleAI.DuetsListDuetVoicesResponse200? Type373 { get; set; } + public global::ResembleAI.DuetsCreateDuetVoiceResponse200? Type373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type374 { get; set; } + public global::ResembleAI.DuetVoicesIdPutResponsesContentApplicationJsonSchemaItem? Type374 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesPostResponsesContentApplicationJsonSchemaItem? Type375 { get; set; } + public global::ResembleAI.DuetsUpdateDuetVoiceResponse200? Type375 { get; set; } /// /// /// - public global::ResembleAI.DuetsCreateDuetVoiceResponse200? Type376 { get; set; } + public global::ResembleAI.DuetsDeleteDuetVoiceResponse200? Type376 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesIdPutResponsesContentApplicationJsonSchemaItem? Type377 { get; set; } + public global::ResembleAI.DuetVoicePairsGetResponsesContentApplicationJsonSchemaItemsItems? Type377 { get; set; } /// /// /// - public global::ResembleAI.DuetsUpdateDuetVoiceResponse200? Type378 { get; set; } + public global::ResembleAI.DuetsListDuetVoicePairsResponse200? Type378 { get; set; } /// /// /// - public global::ResembleAI.DuetsDeleteDuetVoiceResponse200? Type379 { get; set; } + public global::System.Collections.Generic.IList? Type379 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicePairsGetResponsesContentApplicationJsonSchemaItemsItems? Type380 { get; set; } + public global::ResembleAI.DuetVoicePairsPostResponsesContentApplicationJsonSchemaItem? Type380 { get; set; } /// /// /// - public global::ResembleAI.DuetsListDuetVoicePairsResponse200? Type381 { get; set; } + public global::ResembleAI.DuetsCreateDuetVoicePairResponse200? Type381 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type382 { get; set; } + public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeaker? Type382 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicePairsPostResponsesContentApplicationJsonSchemaItem? Type383 { get; set; } + public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItems? Type383 { get; set; } /// /// /// - public global::ResembleAI.DuetsCreateDuetVoicePairResponse200? Type384 { get; set; } + public global::ResembleAI.DuetPostResponsesContentApplicationJsonSchemaItem? Type384 { get; set; } /// /// /// - public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeaker? Type385 { get; set; } + public global::ResembleAI.DuetsGenerateDuetResponse200? Type385 { get; set; } /// /// /// - public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItems? Type386 { get; set; } + public global::ResembleAI.AccountGetResponsesContentApplicationJsonSchemaItem? Type386 { get; set; } /// /// /// - public global::ResembleAI.DuetPostResponsesContentApplicationJsonSchemaItem? Type387 { get; set; } + public global::ResembleAI.AccountGetAccountResponse200? Type387 { get; set; } /// /// /// - public global::ResembleAI.DuetsGenerateDuetResponse200? Type388 { get; set; } + public global::ResembleAI.AccountTeamsGetResponsesContentApplicationJsonSchemaItemsItems? Type388 { get; set; } /// /// /// - public global::ResembleAI.AccountGetResponsesContentApplicationJsonSchemaItem? Type389 { get; set; } + public global::ResembleAI.AccountGetTeamsResponse200? Type389 { get; set; } /// /// /// - public global::ResembleAI.AccountGetAccountResponse200? Type390 { get; set; } + public global::System.Collections.Generic.IList? Type390 { get; set; } /// /// /// - public global::ResembleAI.AccountTeamsGetResponsesContentApplicationJsonSchemaItemsItems? Type391 { get; set; } + public global::ResembleAI.AccountTeamsTeamUuidGetResponsesContentApplicationJsonSchemaItem? Type391 { get; set; } /// /// /// - public global::ResembleAI.AccountGetTeamsResponse200? Type392 { get; set; } + public global::ResembleAI.AccountGetTeamResponse200? Type392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type393 { get; set; } + public global::ResembleAI.BillingPlanPlanType? Type393 { get; set; } /// /// /// - public global::ResembleAI.AccountTeamsTeamUuidGetResponsesContentApplicationJsonSchemaItem? Type394 { get; set; } + public global::ResembleAI.BillingPlanBillingInterval? Type394 { get; set; } /// /// /// - public global::ResembleAI.AccountGetTeamResponse200? Type395 { get; set; } + public global::ResembleAI.BillingPlanFamily? Type395 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanPlanType? Type396 { get; set; } + public global::ResembleAI.BillingPlanProductCategory? Type396 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanBillingInterval? Type397 { get; set; } + public global::ResembleAI.BillingProductRateTier? Type397 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanFamily? Type398 { get; set; } + public global::ResembleAI.BillingProductFamily? Type398 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanProductCategory? Type399 { get; set; } + public global::ResembleAI.BillingPlanProduct? Type399 { get; set; } /// /// /// - public global::ResembleAI.BillingProductRateTier? Type400 { get; set; } + public global::System.Collections.Generic.IList? Type400 { get; set; } /// /// /// - public global::ResembleAI.BillingProductFamily? Type401 { get; set; } + public global::ResembleAI.BillingPlan? Type401 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanProduct? Type402 { get; set; } + public global::System.Collections.Generic.IList? Type402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type403 { get; set; } + public global::ResembleAI.BillingPlansResponse? Type403 { get; set; } /// /// /// - public global::ResembleAI.BillingPlan? Type404 { get; set; } + public global::System.Collections.Generic.IList? Type404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type405 { get; set; } + public global::ResembleAI.BillingError? Type405 { get; set; } /// /// /// - public global::ResembleAI.BillingPlansResponse? Type406 { get; set; } + public global::ResembleAI.BillingPlanResponse? Type406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type407 { get; set; } + public global::ResembleAI.BillingSubscriptionStatus? Type407 { get; set; } /// /// /// - public global::ResembleAI.BillingError? Type408 { get; set; } + public global::ResembleAI.BillingSubscriptionProductCategory? Type408 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanResponse? Type409 { get; set; } + public global::ResembleAI.BillingSubscriptionProduct? Type409 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionStatus? Type410 { get; set; } + public global::ResembleAI.BillingSubscriptionPlanProduct? Type410 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionProductCategory? Type411 { get; set; } + public global::ResembleAI.BillingSubscriptionItem? Type411 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionProduct? Type412 { get; set; } + public global::ResembleAI.BillingSubscription? Type412 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionPlanProduct? Type413 { get; set; } + public global::System.Collections.Generic.IList? Type413 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionItem? Type414 { get; set; } + public global::ResembleAI.BillingSubscriptionResponse? Type414 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscription? Type415 { get; set; } + public global::ResembleAI.BillingForbiddenError? Type415 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type416 { get; set; } + public global::ResembleAI.BillingProductQuantityChange? Type416 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionResponse? Type417 { get; set; } + public global::ResembleAI.BillingUpdateProductsRequest? Type417 { get; set; } /// /// /// - public global::ResembleAI.BillingForbiddenError? Type418 { get; set; } + public global::System.Collections.Generic.IList? Type418 { get; set; } /// /// /// - public global::ResembleAI.BillingProductQuantityChange? Type419 { get; set; } + public global::ResembleAI.BillingPaymentActionRequired? Type419 { get; set; } /// /// /// - public global::ResembleAI.BillingUpdateProductsRequest? Type420 { get; set; } + public global::ResembleAI.BillingValidationErrors? Type420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type421 { get; set; } + public global::ResembleAI.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError? Type421 { get; set; } /// /// /// - public global::ResembleAI.BillingPaymentActionRequired? Type422 { get; set; } + public global::ResembleAI.BillingConfirmPaymentRequest? Type422 { get; set; } /// /// /// - public global::ResembleAI.BillingValidationErrors? Type423 { get; set; } + public global::ResembleAI.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError? Type423 { get; set; } /// /// /// - public global::ResembleAI.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError? Type424 { get; set; } + public global::ResembleAI.BillingChangePlanRequest? Type424 { get; set; } /// /// /// - public global::ResembleAI.BillingConfirmPaymentRequest? Type425 { get; set; } + public global::System.Collections.Generic.Dictionary? Type425 { get; set; } /// /// /// - public global::ResembleAI.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError? Type426 { get; set; } + public global::ResembleAI.ChangeBillingPlanRequestUnprocessableEntityError? Type426 { get; set; } /// /// /// - public global::ResembleAI.BillingChangePlanRequest? Type427 { get; set; } + public global::ResembleAI.BillingWallet? Type427 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type428 { get; set; } + public global::ResembleAI.BillingWalletResponse? Type428 { get; set; } /// /// /// - public global::ResembleAI.ChangeBillingPlanRequestUnprocessableEntityError? Type429 { get; set; } + public global::ResembleAI.BillingWalletTransactionTransactionType? Type429 { get; set; } /// /// /// - public global::ResembleAI.BillingWallet? Type430 { get; set; } + public global::ResembleAI.BillingWalletTransaction? Type430 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletResponse? Type431 { get; set; } + public global::ResembleAI.BillingPagination? Type431 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletTransactionTransactionType? Type432 { get; set; } + public global::ResembleAI.BillingTransactionsResponse? Type432 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletTransaction? Type433 { get; set; } + public global::System.Collections.Generic.IList? Type433 { get; set; } /// /// /// - public global::ResembleAI.BillingPagination? Type434 { get; set; } + public global::ResembleAI.BillingAutoReloadSetting? Type434 { get; set; } /// /// /// - public global::ResembleAI.BillingTransactionsResponse? Type435 { get; set; } + public global::ResembleAI.BillingAutoReloadResponse? Type435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type436 { get; set; } + public global::ResembleAI.BillingUpdateAutoReloadRequest? Type436 { get; set; } /// /// /// - public global::ResembleAI.BillingAutoReloadSetting? Type437 { get; set; } + public global::ResembleAI.BillingWalletUpdateBillingAutoReloadResponse200? Type437 { get; set; } /// /// /// - public global::ResembleAI.BillingAutoReloadResponse? Type438 { get; set; } + public global::ResembleAI.UpdateBillingAutoReloadRequestUnprocessableEntityError? Type438 { get; set; } /// /// /// - public global::ResembleAI.BillingUpdateAutoReloadRequest? Type439 { get; set; } + public global::ResembleAI.AccountBillingUsageGetResponsesContentApplicationJsonSchemaItem? Type439 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletUpdateBillingAutoReloadResponse200? Type440 { get; set; } + public global::ResembleAI.AccountGetBillingUsageResponse200? Type440 { get; set; } /// /// /// - public global::ResembleAI.UpdateBillingAutoReloadRequestUnprocessableEntityError? Type441 { get; set; } + public global::ResembleAI.CreateDetectionRequest? Type441 { get; set; } /// /// /// - public global::ResembleAI.AccountBillingUsageGetResponsesContentApplicationJsonSchemaItem? Type442 { get; set; } + public global::ResembleAI.CreateDetectBatchRequest? Type442 { get; set; } /// /// /// - public global::ResembleAI.AccountGetBillingUsageResponse200? Type443 { get; set; } + public global::System.Collections.Generic.IList? Type443 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectionRequest? Type444 { get; set; } + public global::ResembleAI.CreateDetectFeedbackRequest? Type444 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectBatchRequest? Type445 { get; set; } + public global::ResembleAI.RunDetectAgentInvestigationRequest? Type445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type446 { get; set; } + public global::ResembleAI.RunIntelligenceRequest? Type446 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectFeedbackRequest? Type447 { get; set; } + public global::ResembleAI.AskDetectIntelligenceQuestionRequest? Type447 { get; set; } /// /// /// - public global::ResembleAI.RunDetectAgentInvestigationRequest? Type448 { get; set; } + public global::ResembleAI.CreateIdentityAttachmentRequest? Type448 { get; set; } /// /// /// - public global::ResembleAI.RunIntelligenceRequest? Type449 { get; set; } + public global::ResembleAI.SearchIdentitiesRequest? Type449 { get; set; } /// /// /// - public global::ResembleAI.AskDetectIntelligenceQuestionRequest? Type450 { get; set; } + public global::ResembleAI.CreateSignalSubmissionRequest? Type450 { get; set; } /// /// /// - public global::ResembleAI.CreateIdentityAttachmentRequest? Type451 { get; set; } + public global::ResembleAI.CreateSecureUploadRequest? Type451 { get; set; } /// /// /// - public global::ResembleAI.SearchIdentitiesRequest? Type452 { get; set; } + public global::ResembleAI.SynthesizeRequest? Type452 { get; set; } /// /// /// - public global::ResembleAI.CreateSignalSubmissionRequest? Type453 { get; set; } + public global::ResembleAI.StreamSynthesizeRequest? Type453 { get; set; } /// /// /// - public global::ResembleAI.CreateSecureUploadRequest? Type454 { get; set; } + public global::ResembleAI.CreateTranscriptRequest? Type454 { get; set; } /// /// /// - public global::ResembleAI.SynthesizeRequest? Type455 { get; set; } + public global::ResembleAI.AskTranscriptQuestionRequest? Type455 { get; set; } /// /// /// - public global::ResembleAI.StreamSynthesizeRequest? Type456 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequest? Type456 { get; set; } /// /// /// - public global::ResembleAI.CreateTranscriptRequest? Type457 { get; set; } + public global::ResembleAI.CreateVoiceRequest? Type457 { get; set; } /// /// /// - public global::ResembleAI.AskTranscriptQuestionRequest? Type458 { get; set; } + public global::ResembleAI.BuildVoiceRequest? Type458 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequest? Type459 { get; set; } + public global::ResembleAI.CreateRecordingRequest? Type459 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceRequest? Type460 { get; set; } + public global::ResembleAI.UpdateRecordingRequest? Type460 { get; set; } /// /// /// - public global::ResembleAI.BuildVoiceRequest? Type461 { get; set; } + public global::ResembleAI.CreateTermSubstitutionRequest? Type461 { get; set; } /// /// /// - public global::ResembleAI.GenerateVoiceDesignRequest? Type462 { get; set; } + public global::ResembleAI.CreatePronunciationRequest? Type462 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceFromCandidateRequest? Type463 { get; set; } + public global::ResembleAI.BulkCreatePronunciationsRequest? Type463 { get; set; } /// /// /// - public global::ResembleAI.CreateRecordingRequest? Type464 { get; set; } + public global::ResembleAI.UpdatePronunciationRequest? Type464 { get; set; } /// /// /// - public global::ResembleAI.UpdateRecordingRequest? Type465 { get; set; } + public global::ResembleAI.CreateVoiceSettingsPresetRequest? Type465 { get; set; } /// /// /// - public global::ResembleAI.CreateTermSubstitutionRequest? Type466 { get; set; } + public global::ResembleAI.UpdateVoiceSettingsPresetRequest? Type466 { get; set; } /// /// /// - public global::ResembleAI.CreatePronunciationRequest? Type467 { get; set; } + public global::ResembleAI.CreateProjectRequest? Type467 { get; set; } /// /// /// - public global::ResembleAI.BulkCreatePronunciationsRequest? Type468 { get; set; } + public global::ResembleAI.UpdateProjectRequest? Type468 { get; set; } /// /// /// - public global::ResembleAI.UpdatePronunciationRequest? Type469 { get; set; } + public global::ResembleAI.UpdateClipRequest? Type469 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceSettingsPresetRequest? Type470 { get; set; } + public global::ResembleAI.CreateDuetVoiceRequest? Type470 { get; set; } /// /// /// - public global::ResembleAI.UpdateVoiceSettingsPresetRequest? Type471 { get; set; } + public global::ResembleAI.UpdateDuetVoiceRequest? Type471 { get; set; } /// /// /// - public global::ResembleAI.CreateProjectRequest? Type472 { get; set; } + public global::ResembleAI.CreateDuetVoicePairRequest? Type472 { get; set; } /// /// /// - public global::ResembleAI.UpdateProjectRequest? Type473 { get; set; } + public global::ResembleAI.GenerateDuetRequest? Type473 { get; set; } /// /// /// - public global::ResembleAI.UpdateClipRequest? Type474 { get; set; } - /// - /// - /// - public global::ResembleAI.CreateDuetVoiceRequest? Type475 { get; set; } - /// - /// - /// - public global::ResembleAI.UpdateDuetVoiceRequest? Type476 { get; set; } - /// - /// - /// - public global::ResembleAI.CreateDuetVoicePairRequest? Type477 { get; set; } - /// - /// - /// - public global::ResembleAI.GenerateDuetRequest? Type478 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type479 { get; set; } + public global::System.Collections.Generic.IList? Type474 { get; set; } /// /// @@ -2102,78 +2082,74 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType37 { 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; } /// /// /// - public global::System.Collections.Generic.List? ListType46 { get; set; } + public global::System.Collections.Generic.List? ListType45 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType46 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType48 { get; set; } + public global::System.Collections.Generic.List? ListType47 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List? ListType48 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType50 { get; set; } + public global::System.Collections.Generic.List? ListType49 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType51 { get; set; } + public global::System.Collections.Generic.List? ListType50 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List? ListType51 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType53 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } } } \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs index f54ad69..ff15328 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs @@ -92,7 +92,7 @@ public sealed partial class CreateDetectionRequest public bool? Intelligence { get; set; } /// - /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies a source limit of 200 MB for audio, image, and video.
/// Default Value: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("detect_watermark")] @@ -194,7 +194,7 @@ public sealed partial class CreateDetectionRequest /// Default Value: false /// /// - /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies a source limit of 200 MB for audio, image, and video.
/// Default Value: false /// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateVoiceFromCandidateRequest.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateVoiceFromCandidateRequest.Json.g.cs deleted file mode 100644 index 76415fd..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateVoiceFromCandidateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class CreateVoiceFromCandidateRequest - { - /// - /// 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 generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::ResembleAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.CreateVoiceFromCandidateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.CreateVoiceFromCandidateRequest), - jsonSerializerContext) as global::ResembleAI.CreateVoiceFromCandidateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::ResembleAI.CreateVoiceFromCandidateRequest? FromJson( - string json) - { - return FromJson( - json, - global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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.CreateVoiceFromCandidateRequest? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::ResembleAI.SourceGenerationContext.Default); - } - - 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.CreateVoiceFromCandidateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.CreateVoiceFromCandidateRequest; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::ResembleAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateVoiceFromCandidateRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateVoiceFromCandidateRequest.g.cs deleted file mode 100644 index 1e7cc81..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateVoiceFromCandidateRequest.g.cs +++ /dev/null @@ -1,65 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class CreateVoiceFromCandidateRequest - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("uuid")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Uuid { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("voice_sample_index")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int VoiceSampleIndex { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { 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 CreateVoiceFromCandidateRequest( - string uuid, - int voiceSampleIndex, - string name) - { - this.Uuid = uuid ?? throw new global::System.ArgumentNullException(nameof(uuid)); - this.VoiceSampleIndex = voiceSampleIndex; - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateVoiceFromCandidateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.GenerateVoiceDesignRequest.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.GenerateVoiceDesignRequest.Json.g.cs deleted file mode 100644 index 2f81c1e..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.GenerateVoiceDesignRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class GenerateVoiceDesignRequest - { - /// - /// 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 generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::ResembleAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.GenerateVoiceDesignRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.GenerateVoiceDesignRequest), - jsonSerializerContext) as global::ResembleAI.GenerateVoiceDesignRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::ResembleAI.GenerateVoiceDesignRequest? FromJson( - string json) - { - return FromJson( - json, - global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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.GenerateVoiceDesignRequest? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::ResembleAI.SourceGenerationContext.Default); - } - - 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.GenerateVoiceDesignRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.GenerateVoiceDesignRequest; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::ResembleAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.GenerateVoiceDesignRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.GenerateVoiceDesignRequest.g.cs deleted file mode 100644 index 02fb4d8..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.GenerateVoiceDesignRequest.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class GenerateVoiceDesignRequest - { - /// - /// Description of desired voice - /// - [global::System.Text.Json.Serialization.JsonPropertyName("user_prompt")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string UserPrompt { 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. - /// - /// - /// Description of desired voice - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GenerateVoiceDesignRequest( - string userPrompt) - { - this.UserPrompt = userPrompt ?? throw new global::System.ArgumentNullException(nameof(userPrompt)); - } - - /// - /// Initializes a new instance of the class. - /// - public GenerateVoiceDesignRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignCreateVoiceFromCandidateResponse200.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignCreateVoiceFromCandidateResponse200.Json.g.cs deleted file mode 100644 index f2a378c..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignCreateVoiceFromCandidateResponse200.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class VoiceDesignCreateVoiceFromCandidateResponse200 - { - /// - /// 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 generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::ResembleAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200), - jsonSerializerContext) as global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? FromJson( - string json) - { - return FromJson( - json, - global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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.VoiceDesignCreateVoiceFromCandidateResponse200? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::ResembleAI.SourceGenerationContext.Default); - } - - 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.VoiceDesignCreateVoiceFromCandidateResponse200), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::ResembleAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignCreateVoiceFromCandidateResponse200.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignCreateVoiceFromCandidateResponse200.g.cs deleted file mode 100644 index ebc0f45..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignCreateVoiceFromCandidateResponse200.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class VoiceDesignCreateVoiceFromCandidateResponse200 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("success")] - public bool? Success { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("voice_uuid")] - public 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. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public VoiceDesignCreateVoiceFromCandidateResponse200( - bool? success, - string? voiceUuid) - { - this.Success = success; - this.VoiceUuid = voiceUuid; - } - - /// - /// Initializes a new instance of the class. - /// - public VoiceDesignCreateVoiceFromCandidateResponse200() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignGenerateVoiceDesignResponse200.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignGenerateVoiceDesignResponse200.Json.g.cs deleted file mode 100644 index 9d75b2c..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignGenerateVoiceDesignResponse200.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class VoiceDesignGenerateVoiceDesignResponse200 - { - /// - /// 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 generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::ResembleAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200), - jsonSerializerContext) as global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? FromJson( - string json) - { - return FromJson( - json, - global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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.VoiceDesignGenerateVoiceDesignResponse200? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::ResembleAI.SourceGenerationContext.Default); - } - - 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.VoiceDesignGenerateVoiceDesignResponse200), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::ResembleAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignGenerateVoiceDesignResponse200.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignGenerateVoiceDesignResponse200.g.cs deleted file mode 100644 index 9dd11be..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignGenerateVoiceDesignResponse200.g.cs +++ /dev/null @@ -1,44 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class VoiceDesignGenerateVoiceDesignResponse200 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("voice_candidates")] - public global::System.Collections.Generic.IList? VoiceCandidates { 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 VoiceDesignGenerateVoiceDesignResponse200( - global::System.Collections.Generic.IList? voiceCandidates) - { - this.VoiceCandidates = voiceCandidates; - } - - /// - /// Initializes a new instance of the class. - /// - public VoiceDesignGenerateVoiceDesignResponse200() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems.Json.g.cs deleted file mode 100644 index a7c9e3f..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems - { - /// - /// 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 generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::ResembleAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems), - jsonSerializerContext) as global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? FromJson( - string json) - { - return FromJson( - json, - global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::ResembleAI.SourceGenerationContext.Default); - } - - 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.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::ResembleAI.SourceGenerationContext.Default); - } - - /// - /// 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) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::ResembleAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems.g.cs deleted file mode 100644 index 8479542..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems.g.cs +++ /dev/null @@ -1,62 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public sealed partial class VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("audio_url")] - public string? AudioUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("voice_sample_index")] - public int? VoiceSampleIndex { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("uuid")] - public string? Uuid { 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 VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems( - string? audioUrl, - int? voiceSampleIndex, - string? uuid) - { - this.AudioUrl = audioUrl; - this.VoiceSampleIndex = voiceSampleIndex; - this.Uuid = uuid; - } - - /// - /// Initializes a new instance of the class. - /// - public VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyItem.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyItem.g.cs index 901f74d..677c915 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyItem.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyItem.g.cs @@ -53,7 +53,7 @@ public sealed partial class WatermarkApplyItem public required string SourceMediaUrl { get; set; } /// - /// Signed output URL when processing is complete. + /// Signed output URL when processing is complete. The file is WAV, PNG, or MP4 unless the request set `output_format` to `source`. /// [global::System.Text.Json.Serialization.JsonPropertyName("watermarked_media")] public string? WatermarkedMedia { get; set; } @@ -98,7 +98,7 @@ public sealed partial class WatermarkApplyItem /// /// /// - /// Signed output URL when processing is complete. + /// Signed output URL when processing is complete. The file is WAV, PNG, or MP4 unless the request set `output_format` to `source`. /// /// /// Apply metadata for image/video. Audio apply metrics are null. diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyRequest.g.cs index 49922d4..2aff142 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyRequest.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyRequest.g.cs @@ -15,6 +15,14 @@ public sealed partial class WatermarkApplyRequest [global::System.Text.Json.Serialization.JsonRequired] public required string Url { get; set; } + /// + /// `default` returns WAV (audio), PNG (image), or MP4 (video). `source` returns the source's format (for example JPEG, AVIF, M4A, or MOV) when it can be reproduced, otherwise the default.
+ /// Default Value: default + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("output_format")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormatJsonConverter))] + public global::ResembleAI.WatermarkApplyRequestOutputFormat? OutputFormat { get; set; } + /// /// Watermark strength for image/video. Ignored for audio.
/// Default Value: 0.2F @@ -41,6 +49,10 @@ public sealed partial class WatermarkApplyRequest /// /// Public HTTPS URL to the audio, image, or video source. /// + /// + /// `default` returns WAV (audio), PNG (image), or MP4 (video). `source` returns the source's format (for example JPEG, AVIF, M4A, or MOV) when it can be reproduced, otherwise the default.
+ /// Default Value: default + /// /// /// Watermark strength for image/video. Ignored for audio.
/// Default Value: 0.2F @@ -54,10 +66,12 @@ public sealed partial class WatermarkApplyRequest #endif public WatermarkApplyRequest( string url, + global::ResembleAI.WatermarkApplyRequestOutputFormat? outputFormat, double? strength, string? customMessage) { this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); + this.OutputFormat = outputFormat; this.Strength = strength; this.CustomMessage = customMessage; } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyRequestOutputFormat.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyRequestOutputFormat.g.cs new file mode 100644 index 0000000..7a16c51 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkApplyRequestOutputFormat.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// `default` returns WAV (audio), PNG (image), or MP4 (video). `source` returns the source's format (for example JPEG, AVIF, M4A, or MOV) when it can be reproduced, otherwise the default.
+ /// Default Value: default + ///
+ public enum WatermarkApplyRequestOutputFormat + { + /// + /// + /// + Default, + /// + /// + /// + Source, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WatermarkApplyRequestOutputFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WatermarkApplyRequestOutputFormat value) + { + return value switch + { + WatermarkApplyRequestOutputFormat.Default => "default", + WatermarkApplyRequestOutputFormat.Source => "source", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WatermarkApplyRequestOutputFormat? ToEnum(string value) + { + return value switch + { + "default" => WatermarkApplyRequestOutputFormat.Default, + "source" => WatermarkApplyRequestOutputFormat.Source, + _ => null, + }; + } + } +} \ 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 96ef434..98fb491 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ResembleAIClient.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ResembleAIClient.g.cs @@ -269,16 +269,6 @@ public sealed partial class ResembleAIClient : global::ResembleAI.IResembleAICli AutoSDKServerConfiguration = AutoSDKServerConfiguration, }; - /// - /// - /// - public VoiceDesignClient VoiceDesign => new VoiceDesignClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) - { - ReadResponseAsString = ReadResponseAsString, - JsonSerializerContextProvider = JsonSerializerContextProvider, - AutoSDKServerConfiguration = AutoSDKServerConfiguration, - }; - /// /// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesign.JsonSerializerContext.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesign.JsonSerializerContext.g.cs deleted file mode 100644 index 460b66d..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesign.JsonSerializerContext.g.cs +++ /dev/null @@ -1,135 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.GenerateVoiceDesignRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateVoiceFromCandidateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - internal sealed partial class VoiceDesignSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - /// - /// - /// - public sealed partial class VoiceDesignSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext - { - private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); - - [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] - internal static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver TypeInfoResolver => Resolver; - - - private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); - - /// - /// - /// - public static VoiceDesignSourceGenerationContext Default { get; } = new(DefaultOptions); - - private VoiceDesignSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) - : base(options) - { - } - - /// - protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; - - /// - public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) - { - return Resolver.GetTypeInfo(type, Options); - } - - /// - /// Adds this package's converters to . - /// - /// - /// A converter has to be on the options a chained resolver builds its JsonTypeInfo against, - /// and a context resolves types from every package below it. Each package contributes only - /// what it owns and calls down the chain for the rest, so the family's converter table is - /// written once rather than copied into all of them. - /// - [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] - public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) - { - options.Converters.Add(new global::ResembleAI.JsonConverters.UnixTimestampJsonConverter()); - } - - private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() - { - var options = new global::System.Text.Json.JsonSerializerOptions - { - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - TypeInfoResolver = Resolver, - }; - AddConverters(options); - - return options; - } - - private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver - { - private readonly object _gate = new(); - private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[1]; - - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( - global::System.Type type, - global::System.Text.Json.JsonSerializerOptions options) - { - for (var index = 0; index < _resolvers.Length; index++) - { - var typeInfo = GetResolver(index).GetTypeInfo(type, options); - if (typeInfo is not null) - { - return typeInfo; - } - } - - return null; - } - - private global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver GetResolver(int index) - { - var resolver = global::System.Threading.Volatile.Read(ref _resolvers[index]); - if (resolver is not null) - { - return resolver; - } - - lock (_gate) - { - return _resolvers[index] ??= CreateResolver(index); - } - } - - private static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver CreateResolver(int index) - { - return index switch - { - 0 => new VoiceDesignSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), - _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), - }; - } - } - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.Authorizations.Bearer.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.Authorizations.Bearer.g.cs deleted file mode 100644 index 8934b5e..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.Authorizations.Bearer.g.cs +++ /dev/null @@ -1,35 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - public sealed partial class VoiceDesignClient - { - - /// - public void AuthorizeUsingBearer( - string apiKey) - { - apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); - - for (var i = Authorizations.Count - 1; i >= 0; i--) - { - var __authorization = Authorizations[i]; - if (__authorization.Type == "Http" && - __authorization.Name == "Bearer") - { - Authorizations.RemoveAt(i); - } - } - - Authorizations.Add(new global::ResembleAI.EndPointAuthorization - { - Type = "Http", - SchemeId = "HttpBearer", - Location = "Header", - Name = "Bearer", - Value = apiKey, - }); - } - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.Constructors.Bearer.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.Constructors.Bearer.g.cs deleted file mode 100644 index ec8db30..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.Constructors.Bearer.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - public sealed partial class VoiceDesignClient - { - /// - - public VoiceDesignClient( - string apiKey, - 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, disposeHttpClient) - { - Authorizing(HttpClient, ref apiKey); - - AuthorizeUsingBearer(apiKey); - - Authorized(HttpClient); - } - - partial void Authorizing( - global::System.Net.Http.HttpClient client, - ref string apiKey); - partial void Authorized( - global::System.Net.Http.HttpClient client); - - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.CreateVoiceFromCandidate.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.CreateVoiceFromCandidate.g.cs deleted file mode 100644 index 0366cb6..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.CreateVoiceFromCandidate.g.cs +++ /dev/null @@ -1,476 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - public partial class VoiceDesignClient - { - - private static readonly global::ResembleAI.AutoSDKServer[] s_CreateVoiceFromCandidateServers = new global::ResembleAI.AutoSDKServer[] - { new global::ResembleAI.AutoSDKServer( - id: "https-app-resemble-ai-api-v2", - name: "app.resemble.ai api v2", - url: "https://app.resemble.ai/api/v2", - description: ""), - }; - - - private static readonly global::ResembleAI.EndPointSecurityRequirement s_CreateVoiceFromCandidateSecurityRequirement0 = - 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_CreateVoiceFromCandidateSecurityRequirements = - new global::ResembleAI.EndPointSecurityRequirement[] - { s_CreateVoiceFromCandidateSecurityRequirement0, - }; - partial void PrepareCreateVoiceFromCandidateArguments( - global::System.Net.Http.HttpClient httpClient, - global::ResembleAI.CreateVoiceFromCandidateRequest request); - partial void PrepareCreateVoiceFromCandidateRequest( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::ResembleAI.CreateVoiceFromCandidateRequest request); - partial void ProcessCreateVoiceFromCandidateResponse( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage); - - partial void ProcessCreateVoiceFromCandidateResponseContent( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage, - ref string content); - - /// - /// Create voice from candidate
- /// Create a voice from a voice design candidate - ///
- /// - /// 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 CreateVoiceFromCandidateAsync( - - global::ResembleAI.CreateVoiceFromCandidateRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __response = await CreateVoiceFromCandidateAsResponseAsync( - - request: request, - requestOptions: requestOptions, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - - return __response.Body; - } - /// - /// Create voice from candidate
- /// Create a voice from a voice design candidate - ///
- /// - /// 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> CreateVoiceFromCandidateAsResponseAsync( - - global::ResembleAI.CreateVoiceFromCandidateRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - - PrepareArguments( - client: HttpClient); - PrepareCreateVoiceFromCandidateArguments( - httpClient: HttpClient, - request: request); - - - var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( - availableAuthorizations: Authorizations, - securityRequirements: s_CreateVoiceFromCandidateSecurityRequirements, - operationName: "CreateVoiceFromCandidateAsync"); - - 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: "/voice-design/create", - baseUri: ResolveBaseUri( - servers: s_CreateVoiceFromCandidateServers, - defaultBaseUrl: "https://app.resemble.ai/api/v2")); - 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 __httpRequestContentBody = request.ToJson(JsonSerializerContext); - var __httpRequestContent = new global::System.Net.Http.StringContent( - content: __httpRequestContentBody, - encoding: global::System.Text.Encoding.UTF8, - mediaType: "application/json"); - __httpRequest.Content = __httpRequestContent; - global::ResembleAI.AutoSDKRequestOptionsSupport.ApplyHeaders( - request: __httpRequest, - clientHeaders: Options.Headers, - requestHeaders: requestOptions?.Headers); - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareCreateVoiceFromCandidateRequest( - 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: "CreateVoiceFromCandidate", - methodName: "CreateVoiceFromCandidateAsync", - pathTemplate: "\"/voice-design/create\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - 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: "CreateVoiceFromCandidate", - methodName: "CreateVoiceFromCandidateAsync", - pathTemplate: "\"/voice-design/create\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - 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: "CreateVoiceFromCandidate", - methodName: "CreateVoiceFromCandidateAsync", - pathTemplate: "\"/voice-design/create\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - 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); - ProcessCreateVoiceFromCandidateResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - if (__response.IsSuccessStatusCode) - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateVoiceFromCandidate", - methodName: "CreateVoiceFromCandidateAsync", - pathTemplate: "\"/voice-design/create\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - 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: "CreateVoiceFromCandidate", - methodName: "CreateVoiceFromCandidateAsync", - pathTemplate: "\"/voice-design/create\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - 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); - ProcessCreateVoiceFromCandidateResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - var __value = global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200.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.VoiceDesignCreateVoiceFromCandidateResponse200.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 voice from candidate
- /// Create a voice from a voice design candidate - ///
- /// - /// - /// - /// 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 CreateVoiceFromCandidateAsync( - string uuid, - int voiceSampleIndex, - string name, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __request = new global::ResembleAI.CreateVoiceFromCandidateRequest - { - Uuid = uuid, - VoiceSampleIndex = voiceSampleIndex, - Name = name, - }; - - return await CreateVoiceFromCandidateAsync( - request: __request, - requestOptions: requestOptions, - cancellationToken: cancellationToken).ConfigureAwait(false); - } - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.GenerateVoiceDesign.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.GenerateVoiceDesign.g.cs deleted file mode 100644 index 5a4a1b0..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.GenerateVoiceDesign.g.cs +++ /dev/null @@ -1,474 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - public partial class VoiceDesignClient - { - - private static readonly global::ResembleAI.AutoSDKServer[] s_GenerateVoiceDesignServers = new global::ResembleAI.AutoSDKServer[] - { new global::ResembleAI.AutoSDKServer( - id: "https-app-resemble-ai-api-v2", - name: "app.resemble.ai api v2", - url: "https://app.resemble.ai/api/v2", - description: ""), - }; - - - private static readonly global::ResembleAI.EndPointSecurityRequirement s_GenerateVoiceDesignSecurityRequirement0 = - 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_GenerateVoiceDesignSecurityRequirements = - new global::ResembleAI.EndPointSecurityRequirement[] - { s_GenerateVoiceDesignSecurityRequirement0, - }; - partial void PrepareGenerateVoiceDesignArguments( - global::System.Net.Http.HttpClient httpClient, - global::ResembleAI.GenerateVoiceDesignRequest request); - partial void PrepareGenerateVoiceDesignRequest( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::ResembleAI.GenerateVoiceDesignRequest request); - partial void ProcessGenerateVoiceDesignResponse( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage); - - partial void ProcessGenerateVoiceDesignResponseContent( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage, - ref string content); - - /// - /// Generate voice candidates
- /// Generate three voice candidates from a text prompt - ///
- /// - /// 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 GenerateVoiceDesignAsync( - - global::ResembleAI.GenerateVoiceDesignRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __response = await GenerateVoiceDesignAsResponseAsync( - - request: request, - requestOptions: requestOptions, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - - return __response.Body; - } - /// - /// Generate voice candidates
- /// Generate three voice candidates from a text prompt - ///
- /// - /// 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> GenerateVoiceDesignAsResponseAsync( - - global::ResembleAI.GenerateVoiceDesignRequest request, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - - PrepareArguments( - client: HttpClient); - PrepareGenerateVoiceDesignArguments( - httpClient: HttpClient, - request: request); - - - var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( - availableAuthorizations: Authorizations, - securityRequirements: s_GenerateVoiceDesignSecurityRequirements, - operationName: "GenerateVoiceDesignAsync"); - - 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: "/voice-design", - baseUri: ResolveBaseUri( - servers: s_GenerateVoiceDesignServers, - defaultBaseUrl: "https://app.resemble.ai/api/v2")); - 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(); - __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.UserPrompt ?? string.Empty), - name: "\"user_prompt\""); - - __httpRequest.Content = __httpRequestContent; - - global::ResembleAI.AutoSDKRequestOptionsSupport.ApplyHeaders( - request: __httpRequest, - clientHeaders: Options.Headers, - requestHeaders: requestOptions?.Headers); - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareGenerateVoiceDesignRequest( - 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: "GenerateVoiceDesign", - methodName: "GenerateVoiceDesignAsync", - pathTemplate: "\"/voice-design\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - 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: "GenerateVoiceDesign", - methodName: "GenerateVoiceDesignAsync", - pathTemplate: "\"/voice-design\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - 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: "GenerateVoiceDesign", - methodName: "GenerateVoiceDesignAsync", - pathTemplate: "\"/voice-design\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - 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); - ProcessGenerateVoiceDesignResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - if (__response.IsSuccessStatusCode) - { - await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( - clientOptions: Options, - context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GenerateVoiceDesign", - methodName: "GenerateVoiceDesignAsync", - pathTemplate: "\"/voice-design\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - 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: "GenerateVoiceDesign", - methodName: "GenerateVoiceDesignAsync", - pathTemplate: "\"/voice-design\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), - 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); - ProcessGenerateVoiceDesignResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - var __value = global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200.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.VoiceDesignGenerateVoiceDesignResponse200.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(); - } - } - /// - /// Generate voice candidates
- /// Generate three voice candidates from a text prompt - ///
- /// - /// Description of desired voice - /// - /// 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 GenerateVoiceDesignAsync( - string userPrompt, - global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __request = new global::ResembleAI.GenerateVoiceDesignRequest - { - UserPrompt = userPrompt, - }; - - return await GenerateVoiceDesignAsync( - request: __request, - requestOptions: requestOptions, - cancellationToken: cancellationToken).ConfigureAwait(false); - } - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.g.cs deleted file mode 100644 index a7e407f..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.g.cs +++ /dev/null @@ -1,182 +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 VoiceDesignClient : global::ResembleAI.IVoiceDesignClient, 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(); - - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::ResembleAI.VoiceDesignSourceGenerationContext.Default); - - /// - /// - /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext - { - get => JsonSerializerContextProvider.Value; - set => JsonSerializerContextProvider = new(() => value); - } - - - /// - /// Creates a new instance of the VoiceDesignClient. - /// 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 VoiceDesignClient( - 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 VoiceDesignClient 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 VoiceDesignClient( - 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 VoiceDesignClient. - /// 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 VoiceDesignClient( - 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); - - - private global::System.Uri? ResolveBaseUri( - global::ResembleAI.AutoSDKServer[] servers, - string defaultBaseUrl) - { - if (AutoSDKServerConfiguration.ExplicitBaseUri is global::System.Uri explicitBaseUri) - { - return explicitBaseUri; - } - - if (AutoSDKServerConfiguration.SelectedServer is global::ResembleAI.AutoSDKServer selectedServer) - { - foreach (var server in servers) - { - if (string.Equals(server.Id, selectedServer.Id, global::System.StringComparison.Ordinal)) - { - return server.Uri; - } - } - } - - if (servers.Length > 0) - { - return servers[0].Uri; - } - - return string.IsNullOrWhiteSpace(defaultBaseUrl) - ? HttpClient.BaseAddress - : new global::System.Uri(defaultBaseUrl, global::System.UriKind.RelativeOrAbsolute); - } - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Watermark.JsonSerializerContext.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Watermark.JsonSerializerContext.g.cs index 3e3f301..5348fe6 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Watermark.JsonSerializerContext.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Watermark.JsonSerializerContext.g.cs @@ -38,6 +38,7 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyPostParametersPrefer), TypeInfoPropertyName = "WatermarkApplyPostParametersPrefer2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat), TypeInfoPropertyName = "WatermarkApplyRequestOutputFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyItemMediaType), TypeInfoPropertyName = "WatermarkApplyItemMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyItemOperationType), TypeInfoPropertyName = "WatermarkApplyItemOperationType2")] @@ -69,6 +70,7 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyPostParametersPrefer?), TypeInfoPropertyName = "NullableWatermarkApplyPostParametersPrefer2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat?), TypeInfoPropertyName = "NullableWatermarkApplyRequestOutputFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyItemMediaType?), TypeInfoPropertyName = "NullableWatermarkApplyItemMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyItemOperationType?), TypeInfoPropertyName = "NullableWatermarkApplyItemOperationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkApplyItemStatus?), TypeInfoPropertyName = "NullableWatermarkApplyItemStatus2")] @@ -193,6 +195,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::ResembleAI.WatermarkApplyPostParametersPrefer?) + || typeToConvert == typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat) + + || typeToConvert == typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat?) + || typeToConvert == typeof(global::ResembleAI.WatermarkApplyItemMediaType) || typeToConvert == typeof(global::ResembleAI.WatermarkApplyItemMediaType?) @@ -334,6 +340,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::ResembleAI.JsonConverters.WatermarkApplyPostParametersPreferNullableJsonConverter(); } + if (typeToConvert == typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat)) + { + return new global::ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormatJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkApplyRequestOutputFormat?)) + { + return new global::ResembleAI.JsonConverters.WatermarkApplyRequestOutputFormatNullableJsonConverter(); + } + if (typeToConvert == typeof(global::ResembleAI.WatermarkApplyItemMediaType)) { return new global::ResembleAI.JsonConverters.WatermarkApplyItemMediaTypeJsonConverter(); diff --git a/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.ApplyWatermark.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.ApplyWatermark.g.cs index 53814df..40336ca 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.ApplyWatermark.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.ApplyWatermark.g.cs @@ -466,6 +466,10 @@ partial void ProcessApplyWatermarkResponseContent( /// /// Public HTTPS URL to the audio, image, or video source. /// + /// + /// `default` returns WAV (audio), PNG (image), or MP4 (video). `source` returns the source's format (for example JPEG, AVIF, M4A, or MOV) when it can be reproduced, otherwise the default.
+ /// Default Value: default + /// /// /// Watermark strength for image/video. Ignored for audio.
/// Default Value: 0.2F @@ -480,6 +484,7 @@ partial void ProcessApplyWatermarkResponseContent( public async global::System.Threading.Tasks.Task ApplyWatermarkAsync( string url, global::ResembleAI.WatermarkApplyPostParametersPrefer? prefer = default, + global::ResembleAI.WatermarkApplyRequestOutputFormat? outputFormat = default, double? strength = default, string? customMessage = default, global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, @@ -488,6 +493,7 @@ partial void ProcessApplyWatermarkResponseContent( var __request = new global::ResembleAI.WatermarkApplyRequest { Url = url, + OutputFormat = outputFormat, Strength = strength, CustomMessage = customMessage, }; diff --git a/src/libs/ResembleAI/openapi.yaml b/src/libs/ResembleAI/openapi.yaml index 0bd8b79..6b47a1f 100644 --- a/src/libs/ResembleAI/openapi.yaml +++ b/src/libs/ResembleAI/openapi.yaml @@ -58,7 +58,7 @@ "post": { "operationId": "deepfakeDetection_createDetection", "summary": "Create deepfake detection", - "description": "Analyze audio, image, and video for deepfake detection.\n\nSupply media via one of three intake methods:\n\n- **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.\n- **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.\n- **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.\n\nExactly one of `file`, `url`, or `media_token` must be provided per request.\n\nSet `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake\nanalysis. This option supports single audio, image, and video requests only. It adds one Watermark\ndetection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes\n`Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark\nfailure is returned in the nested `watermark` object and does not change the deepfake verdict.\n", + "description": "Analyze audio, image, and video for deepfake detection.\n\nSupply media via one of three intake methods:\n\n- **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.\n- **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.\n- **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.\n\nExactly one of `file`, `url`, or `media_token` must be provided per request.\n\nSet `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake\nanalysis. This option supports single audio, image, and video requests only. It adds one Watermark\ndetection charge, applies a 200 MB source limit for audio, image, and video, and causes\n`Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark\nfailure is returned in the nested `watermark` object and does not change the deepfake verdict.\n", "tags": [ "deepfakeDetection" ], @@ -167,7 +167,7 @@ "detect_watermark": { "type": "boolean", "default": false, - "description": "Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video." + "description": "Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies a source limit of 200 MB for audio, image, and video." }, "infer_from_intelligence": { "type": "boolean", @@ -3881,113 +3881,6 @@ } ] }, - "/voice-design": { - "post": { - "operationId": "voiceDesign_generateVoiceDesign", - "summary": "Generate voice candidates", - "description": "Generate three voice candidates from a text prompt", - "tags": [ - "voiceDesign" - ], - "responses": { - "200": { - "description": "Voice candidates generated", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Voice_Design_generateVoiceDesign_Response_200" - } - } - } - } - }, - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "user_prompt": { - "type": "string", - "description": "Description of desired voice" - } - }, - "required": [ - "user_prompt" - ] - } - } - } - }, - "security": [ - { - "BearerAuth": [] - } - ] - }, - "servers": [ - { - "url": "https://app.resemble.ai/api/v2" - } - ] - }, - "/voice-design/create": { - "post": { - "operationId": "voiceDesign_createVoiceFromCandidate", - "summary": "Create voice from candidate", - "description": "Create a voice from a voice design candidate", - "tags": [ - "voiceDesign" - ], - "responses": { - "200": { - "description": "Voice created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Voice_Design_createVoiceFromCandidate_Response_200" - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "uuid": { - "type": "string" - }, - "voice_sample_index": { - "type": "integer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "uuid", - "voice_sample_index", - "name" - ] - } - } - } - }, - "security": [ - { - "BearerAuth": [] - } - ] - }, - "servers": [ - { - "url": "https://app.resemble.ai/api/v2" - } - ] - }, "/voices/{voice_uuid}/recordings": { "get": { "operationId": "recordings_listRecordings", @@ -6851,9 +6744,6 @@ { "name": "voices" }, - { - "name": "voiceDesign" - }, { "name": "recordings" }, @@ -10164,6 +10054,16 @@ ], "title": "WatermarkApplyPostParametersPrefer" }, + "WatermarkApplyRequestOutputFormat": { + "type": "string", + "enum": [ + "default", + "source" + ], + "default": "default", + "description": "`default` returns WAV (audio), PNG (image), or MP4 (video). `source` returns the source's format (for example JPEG, AVIF, M4A, or MOV) when it can be reproduced, otherwise the default.", + "title": "WatermarkApplyRequestOutputFormat" + }, "WatermarkApplyRequest": { "type": "object", "properties": { @@ -10172,6 +10072,10 @@ "format": "uri", "description": "Public HTTPS URL to the audio, image, or video source." }, + "output_format": { + "$ref": "#/components/schemas/WatermarkApplyRequestOutputFormat", + "description": "`default` returns WAV (audio), PNG (image), or MP4 (video). `source` returns the source's format (for example JPEG, AVIF, M4A, or MOV) when it can be reproduced, otherwise the default." + }, "strength": { "type": "number", "format": "double", @@ -10275,7 +10179,7 @@ "null" ], "format": "uri", - "description": "Signed output URL when processing is complete." + "description": "Signed output URL when processing is complete. The file is WAV, PNG, or MP4 unless the request set `output_format` to `source`." }, "metrics": { "$ref": "#/components/schemas/WatermarkApplyMetrics" @@ -12248,46 +12152,6 @@ }, "title": "Voices_buildVoice_Response_200" }, - "VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems": { - "type": "object", - "properties": { - "audio_url": { - "type": "string", - "format": "uri" - }, - "voice_sample_index": { - "type": "integer" - }, - "uuid": { - "type": "string" - } - }, - "title": "VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems" - }, - "Voice_Design_generateVoiceDesign_Response_200": { - "type": "object", - "properties": { - "voice_candidates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems" - } - } - }, - "title": "Voice Design_generateVoiceDesign_Response_200" - }, - "Voice_Design_createVoiceFromCandidate_Response_200": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "voice_uuid": { - "type": "string" - } - }, - "title": "Voice Design_createVoiceFromCandidate_Response_200" - }, "VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems": { "type": "object", "properties": {},