From 15b16168448f4290c77cd2a02f3b4f2900dd4ca9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Jul 2026 19:45:26 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...eateRealtimeSessionsCommandApiCommand.g.cs | 9 + ...SessionsClient.CreateRealtimeSessions.g.cs | 6 + ...nsRequestIntegrationDiscriminatorType.g.cs | 53 + ...tIntegrationDiscriminatorTypeNullable.g.cs | 60 + ...onConverters.CreateSoundEffectRequest.g.cs | 17 +- ...undEffectRequestSeedAudioOutputFormat.g.cs | 53 + ...tRequestSeedAudioOutputFormatNullable.g.cs | 60 + ...nConverters.CreateTextToSpeechRequest.g.cs | 17 +- ...tToSpeechRequestSeedAudioOutputFormat.g.cs | 53 + ...hRequestSeedAudioOutputFormatNullable.g.cs | 60 + ...equestSeedAudioVoiceDiscriminatorType.g.cs | 53 + ...edAudioVoiceDiscriminatorTypeNullable.g.cs | 60 + .../Runway.JsonConverters.Integration.g.cs | 72 + .../Runway.JsonSerializerContext.g.cs | 84 +- .../Runway.JsonSerializerContextTypes.g.cs | 1274 +++++++++-------- ....Models.CreateRealtimeSessionsRequest.g.cs | 21 + ...sRequestIntegrationDiscriminator.Json.g.cs | 141 ++ ...ssionsRequestIntegrationDiscriminator.g.cs | 45 + ...nsRequestIntegrationDiscriminatorType.g.cs | 51 + ...IntegrationElevenLabsIntegration.Json.g.cs | 141 ++ ...questIntegrationElevenLabsIntegration.g.cs | 69 + ...estIntegrationLiveKitIntegration.Json.g.cs | 141 ++ ...sRequestIntegrationLiveKitIntegration.g.cs | 92 ++ ...teRealtimeSessionsRequestLivekit.Json.g.cs | 141 ++ ....CreateRealtimeSessionsRequestLivekit.g.cs | 87 ++ ...unway.Models.CreateSoundEffectRequest.g.cs | 93 +- ...eSoundEffectRequestDiscriminatorModel.g.cs | 6 + ...reateSoundEffectRequestSeedAudio.Json.g.cs | 141 ++ ...els.CreateSoundEffectRequestSeedAudio.g.cs | 136 ++ ...undEffectRequestSeedAudioOutputFormat.g.cs | 57 + ...nway.Models.CreateTextToSpeechRequest.g.cs | 93 +- ...TextToSpeechRequestDiscriminatorModel.g.cs | 6 + ...eateTextToSpeechRequestSeedAudio.Json.g.cs | 141 ++ ...ls.CreateTextToSpeechRequestSeedAudio.g.cs | 136 ++ ...tToSpeechRequestSeedAudioOutputFormat.g.cs | 57 + ...questSeedAudioVoiceDiscriminator.Json.g.cs | 141 ++ ...echRequestSeedAudioVoiceDiscriminator.g.cs | 45 + ...equestSeedAudioVoiceDiscriminatorType.g.cs | 45 + ...SeedAudioVoiceSeedReferenceVoice.Json.g.cs | 141 ++ ...questSeedAudioVoiceSeedReferenceVoice.g.cs | 72 + .../Runway.Models.Integration.Json.g.cs | 141 ++ .../Generated/Runway.Models.Integration.g.cs | 303 ++++ ...SessionsClient.CreateRealtimeSessions.g.cs | 7 + src/libs/Runway/openapi.json | 252 ++++ 44 files changed, 4237 insertions(+), 636 deletions(-) create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorType.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeNullable.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormat.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatNullable.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormat.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatNullable.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullable.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.Integration.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminator.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminator.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminatorType.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestLivekit.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestLivekit.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudio.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudio.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudioOutputFormat.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioOutputFormat.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.Integration.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.Integration.g.cs diff --git a/src/cli/Runway.Cli/GeneratedApi/Commands/RealtimeSessionsCreateRealtimeSessionsCommandApiCommand.g.cs b/src/cli/Runway.Cli/GeneratedApi/Commands/RealtimeSessionsCreateRealtimeSessionsCommandApiCommand.g.cs index c651397..4a2cdef 100644 --- a/src/cli/Runway.Cli/GeneratedApi/Commands/RealtimeSessionsCreateRealtimeSessionsCommandApiCommand.g.cs +++ b/src/cli/Runway.Cli/GeneratedApi/Commands/RealtimeSessionsCreateRealtimeSessionsCommandApiCommand.g.cs @@ -51,6 +51,12 @@ internal static partial class RealtimeSessionsCreateRealtimeSessionsCommandApiCo { Description = @"Tools available to the avatar during the session.", }; + + private static Option Integration { get; } = new( + name: @"--integration") + { + Description = @"External integration. Runway renders the avatar; the integration owns conversation or audio.", + }; private static Option Input { get; } = new(@"--input") { Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", @@ -99,6 +105,7 @@ public static Command Create() command.Options.Add(Personality); command.Options.Add(StartScript); command.Options.Add(Tools); + command.Options.Add(Integration); command.Options.Add(Input); command.Options.Add(RequestJson); command.Options.Add(RequestFile); @@ -131,6 +138,7 @@ await CliRuntime.RunAsync(async () => var personality = CliRuntime.WasSpecified(parseResult, Personality) ? parseResult.GetValue(Personality) : (__requestBase is { } __PersonalityBaseValue ? __PersonalityBaseValue.Personality : default); var startScript = CliRuntime.WasSpecified(parseResult, StartScript) ? parseResult.GetValue(StartScript) : (__requestBase is { } __StartScriptBaseValue ? __StartScriptBaseValue.StartScript : default); var tools = CliRuntime.WasSpecified(parseResult, Tools) ? parseResult.GetValue(Tools) : (__requestBase is { } __ToolsBaseValue ? __ToolsBaseValue.Tools : default); + var integration = CliRuntime.WasSpecified(parseResult, Integration) ? parseResult.GetValue(Integration) : (__requestBase is { } __IntegrationBaseValue ? __IntegrationBaseValue.Integration : default); using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); @@ -142,6 +150,7 @@ await CliRuntime.RunAsync(async () => personality: personality, startScript: startScript, tools: tools, + integration: integration, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Runway/Generated/Runway.IRealtimeSessionsClient.CreateRealtimeSessions.g.cs b/src/libs/Runway/Generated/Runway.IRealtimeSessionsClient.CreateRealtimeSessions.g.cs index 7ce9c28..f0fff64 100644 --- a/src/libs/Runway/Generated/Runway.IRealtimeSessionsClient.CreateRealtimeSessions.g.cs +++ b/src/libs/Runway/Generated/Runway.IRealtimeSessionsClient.CreateRealtimeSessions.g.cs @@ -1,5 +1,7 @@ #nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + namespace Runway { public partial interface IRealtimeSessionsClient @@ -93,6 +95,9 @@ public partial interface IRealtimeSessionsClient /// Tools available to the avatar during the session.
/// Default Value: [] /// + /// + /// External integration. Runway renders the avatar; the integration owns conversation or audio. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -104,6 +109,7 @@ public partial interface IRealtimeSessionsClient string? personality = default, string? startScript = default, global::System.Collections.Generic.IList? tools = default, + global::Runway.Integration? integration = default, global::Runway.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorType.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorType.g.cs new file mode 100644 index 0000000..69b5327 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType 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::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeNullable.g.cs new file mode 100644 index 0000000..a931d89 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType? 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::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType? 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::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequest.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequest.g.cs index 720638f..b9106e0 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequest.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequest.g.cs @@ -21,6 +21,13 @@ public class CreateSoundEffectRequestJsonConverter : global::System.Text.Json.Se throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateSoundEffectRequestDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + global::Runway.CreateSoundEffectRequestSeedAudio? seedAudio = default; + if (discriminator?.Model == global::Runway.CreateSoundEffectRequestDiscriminatorModel.SeedAudio) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateSoundEffectRequestSeedAudio), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateSoundEffectRequestSeedAudio)}"); + seedAudio = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } global::Runway.CreateSoundEffectRequestElevenTextToSoundV2? elevenTextToSoundV2 = default; if (discriminator?.Model == global::Runway.CreateSoundEffectRequestDiscriminatorModel.ElevenTextToSoundV2) { @@ -31,6 +38,8 @@ public class CreateSoundEffectRequestJsonConverter : global::System.Text.Json.Se var __value = new global::Runway.CreateSoundEffectRequest( discriminator?.Model, + seedAudio, + elevenTextToSoundV2 ); @@ -46,7 +55,13 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsElevenTextToSoundV2) + if (value.IsSeedAudio) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateSoundEffectRequestSeedAudio), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateSoundEffectRequestSeedAudio).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.SeedAudio!, typeInfo); + } + else if (value.IsElevenTextToSoundV2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateSoundEffectRequestElevenTextToSoundV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateSoundEffectRequestElevenTextToSoundV2).Name}"); diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormat.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormat.g.cs new file mode 100644 index 0000000..2d74f67 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormat.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateSoundEffectRequestSeedAudioOutputFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat 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::Runway.CreateSoundEffectRequestSeedAudioOutputFormatExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Runway.CreateSoundEffectRequestSeedAudioOutputFormatExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatNullable.g.cs new file mode 100644 index 0000000..eb04538 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateSoundEffectRequestSeedAudioOutputFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat? 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::Runway.CreateSoundEffectRequestSeedAudioOutputFormatExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat? 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::Runway.CreateSoundEffectRequestSeedAudioOutputFormatExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequest.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequest.g.cs index 46325a0..5101761 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequest.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequest.g.cs @@ -21,6 +21,13 @@ public class CreateTextToSpeechRequestJsonConverter : global::System.Text.Json.S throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateTextToSpeechRequestDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + global::Runway.CreateTextToSpeechRequestSeedAudio? seedAudio = default; + if (discriminator?.Model == global::Runway.CreateTextToSpeechRequestDiscriminatorModel.SeedAudio) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateTextToSpeechRequestSeedAudio), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateTextToSpeechRequestSeedAudio)}"); + seedAudio = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } global::Runway.CreateTextToSpeechRequestElevenMultilingualV2? elevenMultilingualV2 = default; if (discriminator?.Model == global::Runway.CreateTextToSpeechRequestDiscriminatorModel.ElevenMultilingualV2) { @@ -31,6 +38,8 @@ public class CreateTextToSpeechRequestJsonConverter : global::System.Text.Json.S var __value = new global::Runway.CreateTextToSpeechRequest( discriminator?.Model, + seedAudio, + elevenMultilingualV2 ); @@ -46,7 +55,13 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsElevenMultilingualV2) + if (value.IsSeedAudio) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateTextToSpeechRequestSeedAudio), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateTextToSpeechRequestSeedAudio).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.SeedAudio!, typeInfo); + } + else if (value.IsElevenMultilingualV2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateTextToSpeechRequestElevenMultilingualV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateTextToSpeechRequestElevenMultilingualV2).Name}"); diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormat.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormat.g.cs new file mode 100644 index 0000000..5ec7e8c --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormat.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateTextToSpeechRequestSeedAudioOutputFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat 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::Runway.CreateTextToSpeechRequestSeedAudioOutputFormatExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormatExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatNullable.g.cs new file mode 100644 index 0000000..307077e --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateTextToSpeechRequestSeedAudioOutputFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat? 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::Runway.CreateTextToSpeechRequestSeedAudioOutputFormatExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat? 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::Runway.CreateTextToSpeechRequestSeedAudioOutputFormatExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs new file mode 100644 index 0000000..493ce27 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType 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::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullable.g.cs new file mode 100644 index 0000000..f2517de --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType? 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::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType? 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::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Integration.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Integration.g.cs new file mode 100644 index 0000000..bf1845a --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Integration.g.cs @@ -0,0 +1,72 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace Runway.JsonConverters +{ + /// + public class IntegrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.Integration Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? elevenlabs = default; + if (discriminator?.Type == global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType.Elevenlabs) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration)}"); + elevenlabs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? livekit = default; + if (discriminator?.Type == global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType.Livekit) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration)}"); + livekit = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::Runway.Integration( + discriminator?.Type, + elevenlabs, + + livekit + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.Integration value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsElevenlabs) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Elevenlabs!, typeInfo); + } + else if (value.IsLivekit) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Livekit!, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs b/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs index f4302b2..fcaef92 100644 --- a/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs @@ -85,6 +85,10 @@ namespace Runway typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolDiscriminatorTypeNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeJsonConverter), + + typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45RatioJsonConverter), typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45RatioNullableJsonConverter), @@ -317,6 +321,10 @@ namespace Runway typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestDiscriminatorModelNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatJsonConverter), + + typeof(global::Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateSoundEffectRequestDiscriminatorModelJsonConverter), typeof(global::Runway.JsonConverters.CreateSoundEffectRequestDiscriminatorModelNullableJsonConverter), @@ -337,6 +345,14 @@ namespace Runway typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeJsonConverter), + + typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullableJsonConverter), + + typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatJsonConverter), + + typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetIdJsonConverter), typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetIdNullableJsonConverter), @@ -671,6 +687,8 @@ namespace Runway typeof(global::Runway.JsonConverters.ParametersItem2JsonConverter), + typeof(global::Runway.JsonConverters.IntegrationJsonConverter), + typeof(global::Runway.JsonConverters.CreateImageToVideoRequestJsonConverter), typeof(global::Runway.JsonConverters.CreateTextToVideoRequestJsonConverter), @@ -874,6 +892,12 @@ namespace Runway [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRealtimeSessionsRequestToolDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRealtimeSessionsRequestToolDiscriminatorType), TypeInfoPropertyName = "CreateRealtimeSessionsRequestToolDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Integration), TypeInfoPropertyName = "Integration2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType), TypeInfoPropertyName = "CreateRealtimeSessionsRequestIntegrationDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRealtimeSessionsRequestLivekit))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateImageToVideoRequest), TypeInfoPropertyName = "CreateImageToVideoRequest2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateImageToVideoRequestGen45))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.AnyOf>), TypeInfoPropertyName = "AnyOfStringIListCreateImageToVideoRequestGen45PromptImagePromptImage2")] @@ -1085,6 +1109,8 @@ namespace Runway [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateCharacterPerformanceRequestDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateCharacterPerformanceRequestDiscriminatorModel), TypeInfoPropertyName = "CreateCharacterPerformanceRequestDiscriminatorModel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSoundEffectRequest), TypeInfoPropertyName = "CreateSoundEffectRequest2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSoundEffectRequestSeedAudio))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat), TypeInfoPropertyName = "CreateSoundEffectRequestSeedAudioOutputFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSoundEffectRequestElevenTextToSoundV2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSoundEffectRequestDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSoundEffectRequestDiscriminatorModel), TypeInfoPropertyName = "CreateSoundEffectRequestDiscriminatorModel2")] @@ -1102,6 +1128,11 @@ namespace Runway [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSpeechToSpeechRequestDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSpeechToSpeechRequestDiscriminatorModel), TypeInfoPropertyName = "CreateSpeechToSpeechRequestDiscriminatorModel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequest), TypeInfoPropertyName = "CreateTextToSpeechRequest2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudio))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType), TypeInfoPropertyName = "CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat), TypeInfoPropertyName = "CreateTextToSpeechRequestSeedAudioOutputFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestElevenMultilingualV2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoice))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId), TypeInfoPropertyName = "CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId2")] @@ -1278,19 +1309,6 @@ namespace Runway [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant2Tool))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant2ToolType), TypeInfoPropertyName = "GetAvatarConversationsResponseVariant2ToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.AvatarVariant14))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1PresetAvatar))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1CustomAvatar))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1Discriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorType), TypeInfoPropertyName = "GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3TranscriptItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemRole), TypeInfoPropertyName = "GetAvatarConversationsResponseVariant3TranscriptItemRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolCall))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1374,6 +1392,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolDiscriminatorTypeNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeJsonConverter), + + typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45RatioJsonConverter), typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45RatioNullableJsonConverter), @@ -1606,6 +1628,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestDiscriminatorModelNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatJsonConverter), + + typeof(global::Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateSoundEffectRequestDiscriminatorModelJsonConverter), typeof(global::Runway.JsonConverters.CreateSoundEffectRequestDiscriminatorModelNullableJsonConverter), @@ -1626,6 +1652,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeJsonConverter), + + typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullableJsonConverter), + + typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatJsonConverter), + + typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetIdJsonConverter), typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetIdNullableJsonConverter), @@ -1960,6 +1994,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.ParametersItem2JsonConverter), + typeof(global::Runway.JsonConverters.IntegrationJsonConverter), + typeof(global::Runway.JsonConverters.CreateImageToVideoRequestJsonConverter), typeof(global::Runway.JsonConverters.CreateTextToVideoRequestJsonConverter), @@ -2080,6 +2116,19 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant2Tool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant2ToolType), TypeInfoPropertyName = "GetAvatarConversationsResponseVariant2ToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.AvatarVariant14))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1PresetAvatar))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1CustomAvatar))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1Discriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorType), TypeInfoPropertyName = "GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3TranscriptItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemRole), TypeInfoPropertyName = "GetAvatarConversationsResponseVariant3TranscriptItemRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolCall))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -2437,6 +2486,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolBackendRPCToolParameterDiscriminatorTypeNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolDiscriminatorTypeJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateImageToVideoRequestGen45RatioJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateImageToVideoRequestGen45RatioNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateImageToVideoRequestGen45ContentModerationPublicFigureThresholdJsonConverter()); @@ -2553,6 +2604,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoContentModerationPublicFigureThresholdNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateCharacterPerformanceRequestDiscriminatorModelJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateCharacterPerformanceRequestDiscriminatorModelNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateSoundEffectRequestDiscriminatorModelJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateSoundEffectRequestDiscriminatorModelNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminatorTypeJsonConverter()); @@ -2563,6 +2616,10 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Runway.JsonConverters.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminatorTypeNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetIdJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetIdNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminatorTypeJsonConverter()); @@ -2730,6 +2787,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Runway.JsonConverters.ToolsItemJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.ParametersItemJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.ParametersItem2JsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.IntegrationJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateImageToVideoRequestJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateTextToVideoRequestJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateVideoToVideoRequestJsonConverter()); diff --git a/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs b/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs index d9392b2..48453b8 100644 --- a/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs @@ -356,2447 +356,2499 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Runway.CreateImageToVideoRequest? Type82 { get; set; } + public global::Runway.Integration? Type82 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGen45? Type83 { get; set; } + public global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? Type83 { get; set; } /// /// /// - public global::Runway.AnyOf>? Type84 { get; set; } + public global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? Type84 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type85 { get; set; } + public global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator? Type85 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGen45PromptImagePromptImage? Type86 { get; set; } + public global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType? Type86 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGen45Ratio? Type87 { get; set; } + public global::Runway.CreateRealtimeSessionsRequestLivekit? Type87 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGen45ContentModeration? Type88 { get; set; } + public global::Runway.CreateImageToVideoRequest? Type88 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGen45ContentModerationPublicFigureThreshold? Type89 { get; set; } + public global::Runway.CreateImageToVideoRequestGen45? Type89 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGen4Turbo? Type90 { get; set; } + public global::Runway.AnyOf>? Type90 { get; set; } /// /// /// - public global::Runway.AnyOf>? Type91 { get; set; } + public global::System.Collections.Generic.IList? Type91 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type92 { get; set; } + public global::Runway.CreateImageToVideoRequestGen45PromptImagePromptImage? Type92 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGen4TurboPromptImagePromptImage? Type93 { get; set; } + public global::Runway.CreateImageToVideoRequestGen45Ratio? Type93 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGen4TurboRatio? Type94 { get; set; } + public global::Runway.CreateImageToVideoRequestGen45ContentModeration? Type94 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGen4TurboContentModeration? Type95 { get; set; } + public global::Runway.CreateImageToVideoRequestGen45ContentModerationPublicFigureThreshold? Type95 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGen4TurboContentModerationPublicFigureThreshold? Type96 { get; set; } + public global::Runway.CreateImageToVideoRequestGen4Turbo? Type96 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo31? Type97 { get; set; } + public global::Runway.AnyOf>? Type97 { get; set; } /// /// /// - public global::Runway.AnyOf>? Type98 { get; set; } + public global::System.Collections.Generic.IList? Type98 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type99 { get; set; } + public global::Runway.CreateImageToVideoRequestGen4TurboPromptImagePromptImage? Type99 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo31PromptImagePromptImage? Type100 { get; set; } + public global::Runway.CreateImageToVideoRequestGen4TurboRatio? Type100 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo31PromptImagePromptImagePosition? Type101 { get; set; } + public global::Runway.CreateImageToVideoRequestGen4TurboContentModeration? Type101 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo31Ratio? Type102 { get; set; } + public global::Runway.CreateImageToVideoRequestGen4TurboContentModerationPublicFigureThreshold? Type102 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo31Fast? Type103 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo31? Type103 { get; set; } /// /// /// - public global::Runway.AnyOf>? Type104 { get; set; } + public global::Runway.AnyOf>? Type104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type105 { get; set; } + public global::System.Collections.Generic.IList? Type105 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo31FastPromptImagePromptImage? Type106 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo31PromptImagePromptImage? Type106 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo31FastPromptImagePromptImagePosition? Type107 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo31PromptImagePromptImagePosition? Type107 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo31FastRatio? Type108 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo31Ratio? Type108 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestHappyhorse10? Type109 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo31Fast? Type109 { get; set; } /// /// /// - public global::Runway.AnyOf>? Type110 { get; set; } + public global::Runway.AnyOf>? Type110 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type111 { get; set; } + public global::System.Collections.Generic.IList? Type111 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestHappyhorse10PromptImagePromptImage? Type112 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo31FastPromptImagePromptImage? Type112 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestHappyhorse10Resolution? Type113 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo31FastPromptImagePromptImagePosition? Type113 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2? Type114 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo31FastRatio? Type114 { get; set; } /// /// /// - public global::Runway.AnyOf>? Type115 { get; set; } + public global::Runway.CreateImageToVideoRequestHappyhorse10? Type115 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type116 { get; set; } + public global::Runway.AnyOf>? Type116 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2PromptImagePromptImage? Type117 { get; set; } + public global::System.Collections.Generic.IList? Type117 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2PromptImagePromptImagePosition? Type118 { get; set; } + public global::Runway.CreateImageToVideoRequestHappyhorse10PromptImagePromptImage? Type118 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2Ratio? Type119 { get; set; } + public global::Runway.CreateImageToVideoRequestHappyhorse10Resolution? Type119 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type120 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2? Type120 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2ReferenceAudioItem? Type121 { get; set; } + public global::Runway.AnyOf>? Type121 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2Fast? Type122 { get; set; } + public global::System.Collections.Generic.IList? Type122 { get; set; } /// /// /// - public global::Runway.AnyOf>? Type123 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2PromptImagePromptImage? Type123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type124 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2PromptImagePromptImagePosition? Type124 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2FastPromptImagePromptImage? Type125 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2Ratio? Type125 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2FastPromptImagePromptImagePosition? Type126 { get; set; } + public global::System.Collections.Generic.IList? Type126 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2FastRatio? Type127 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2ReferenceAudioItem? Type127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type128 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2Fast? Type128 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2FastReferenceAudioItem? Type129 { get; set; } + public global::Runway.AnyOf>? Type129 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2Mini? Type130 { get; set; } + public global::System.Collections.Generic.IList? Type130 { get; set; } /// /// /// - public global::Runway.AnyOf>? Type131 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2FastPromptImagePromptImage? Type131 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type132 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2FastPromptImagePromptImagePosition? Type132 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2MiniPromptImagePromptImage? Type133 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2FastRatio? Type133 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2MiniPromptImagePromptImagePosition? Type134 { get; set; } + public global::System.Collections.Generic.IList? Type134 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2MiniRatio? Type135 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2FastReferenceAudioItem? Type135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type136 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2Mini? Type136 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestSeedance2MiniReferenceAudioItem? Type137 { get; set; } + public global::Runway.AnyOf>? Type137 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGeminiOmniFlash? Type138 { get; set; } + public global::System.Collections.Generic.IList? Type138 { get; set; } /// /// /// - public global::Runway.AnyOf>? Type139 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2MiniPromptImagePromptImage? Type139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type140 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2MiniPromptImagePromptImagePosition? Type140 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGeminiOmniFlashPromptImagePromptImage? Type141 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2MiniRatio? Type141 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestGeminiOmniFlashRatio? Type142 { get; set; } + public global::System.Collections.Generic.IList? Type142 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo3? Type143 { get; set; } + public global::Runway.CreateImageToVideoRequestSeedance2MiniReferenceAudioItem? Type143 { get; set; } /// /// /// - public global::Runway.AnyOf>? Type144 { get; set; } + public global::Runway.CreateImageToVideoRequestGeminiOmniFlash? Type144 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type145 { get; set; } + public global::Runway.AnyOf>? Type145 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo3PromptImagePromptImage? Type146 { get; set; } + public global::System.Collections.Generic.IList? Type146 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestVeo3Ratio? Type147 { get; set; } + public global::Runway.CreateImageToVideoRequestGeminiOmniFlashPromptImagePromptImage? Type147 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestDiscriminator? Type148 { get; set; } + public global::Runway.CreateImageToVideoRequestGeminiOmniFlashRatio? Type148 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoRequestDiscriminatorModel? Type149 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo3? Type149 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequest? Type150 { get; set; } + public global::Runway.AnyOf>? Type150 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestGen45? Type151 { get; set; } + public global::System.Collections.Generic.IList? Type151 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestGen45Ratio? Type152 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo3PromptImagePromptImage? Type152 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestGen45ContentModeration? Type153 { get; set; } + public global::Runway.CreateImageToVideoRequestVeo3Ratio? Type153 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestGen45ContentModerationPublicFigureThreshold? Type154 { get; set; } + public global::Runway.CreateImageToVideoRequestDiscriminator? Type154 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestVeo31? Type155 { get; set; } + public global::Runway.CreateImageToVideoRequestDiscriminatorModel? Type155 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestVeo31Ratio? Type156 { get; set; } + public global::Runway.CreateTextToVideoRequest? Type156 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestVeo31Fast? Type157 { get; set; } + public global::Runway.CreateTextToVideoRequestGen45? Type157 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestVeo31FastRatio? Type158 { get; set; } + public global::Runway.CreateTextToVideoRequestGen45Ratio? Type158 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestHappyhorse10? Type159 { get; set; } + public global::Runway.CreateTextToVideoRequestGen45ContentModeration? Type159 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestHappyhorse10Ratio? Type160 { get; set; } + public global::Runway.CreateTextToVideoRequestGen45ContentModerationPublicFigureThreshold? Type160 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2? Type161 { get; set; } + public global::Runway.CreateTextToVideoRequestVeo31? Type161 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2Ratio? Type162 { get; set; } + public global::Runway.CreateTextToVideoRequestVeo31Ratio? Type162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type163 { get; set; } + public global::Runway.CreateTextToVideoRequestVeo31Fast? Type163 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2Reference? Type164 { get; set; } + public global::Runway.CreateTextToVideoRequestVeo31FastRatio? Type164 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type165 { get; set; } + public global::Runway.CreateTextToVideoRequestHappyhorse10? Type165 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2ReferenceVideo? Type166 { get; set; } + public global::Runway.CreateTextToVideoRequestHappyhorse10Ratio? Type166 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type167 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2? Type167 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2ReferenceAudioItem? Type168 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2Ratio? Type168 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2Fast? Type169 { get; set; } + public global::System.Collections.Generic.IList? Type169 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2FastRatio? Type170 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2Reference? Type170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type171 { get; set; } + public global::System.Collections.Generic.IList? Type171 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2FastReference? Type172 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2ReferenceVideo? Type172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type173 { get; set; } + public global::System.Collections.Generic.IList? Type173 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2FastReferenceVideo? Type174 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2ReferenceAudioItem? Type174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type175 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2Fast? Type175 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2FastReferenceAudioItem? Type176 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2FastRatio? Type176 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2Mini? Type177 { get; set; } + public global::System.Collections.Generic.IList? Type177 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2MiniRatio? Type178 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2FastReference? Type178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type179 { get; set; } + public global::System.Collections.Generic.IList? Type179 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2MiniReference? Type180 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2FastReferenceVideo? Type180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type181 { get; set; } + public global::System.Collections.Generic.IList? Type181 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2MiniReferenceVideo? Type182 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2FastReferenceAudioItem? Type182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type183 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2Mini? Type183 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestSeedance2MiniReferenceAudioItem? Type184 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2MiniRatio? Type184 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestGeminiOmniFlash? Type185 { get; set; } + public global::System.Collections.Generic.IList? Type185 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestGeminiOmniFlashRatio? Type186 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2MiniReference? Type186 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestVeo3? Type187 { get; set; } + public global::System.Collections.Generic.IList? Type187 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestVeo3Ratio? Type188 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2MiniReferenceVideo? Type188 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestDiscriminator? Type189 { get; set; } + public global::System.Collections.Generic.IList? Type189 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoRequestDiscriminatorModel? Type190 { get; set; } + public global::Runway.CreateTextToVideoRequestSeedance2MiniReferenceAudioItem? Type190 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequest? Type191 { get; set; } + public global::Runway.CreateTextToVideoRequestGeminiOmniFlash? Type191 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestVariant1? Type192 { get; set; } + public global::Runway.CreateTextToVideoRequestGeminiOmniFlashRatio? Type192 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type193 { get; set; } + public global::Runway.CreateTextToVideoRequestVeo3? Type193 { get; set; } /// /// /// - public global::Runway.AnyOf? Type194 { get; set; } + public global::Runway.CreateTextToVideoRequestVeo3Ratio? Type194 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestVariant1KeyframeVariant1? Type195 { get; set; } + public global::Runway.CreateTextToVideoRequestDiscriminator? Type195 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestVariant1KeyframeVariant1Range? Type196 { get; set; } + public global::Runway.CreateTextToVideoRequestDiscriminatorModel? Type196 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestVariant1KeyframeVariant2? Type197 { get; set; } + public global::Runway.CreateVideoToVideoRequest? Type197 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestVariant1KeyframeVariant2Range? Type198 { get; set; } + public global::Runway.CreateVideoToVideoRequestVariant1? Type198 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestVariant1TargetAspectRatio? Type199 { get; set; } + public global::System.Collections.Generic.IList>? Type199 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestVariant1ContentModeration? Type200 { get; set; } + public global::Runway.AnyOf? Type200 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestVariant1ContentModerationPublicFigureThreshold? Type201 { get; set; } + public global::Runway.CreateVideoToVideoRequestVariant1KeyframeVariant1? Type201 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2? Type202 { get; set; } + public global::Runway.CreateVideoToVideoRequestVariant1KeyframeVariant1Range? Type202 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2Ratio? Type203 { get; set; } + public global::Runway.CreateVideoToVideoRequestVariant1KeyframeVariant2? Type203 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type204 { get; set; } + public global::Runway.CreateVideoToVideoRequestVariant1KeyframeVariant2Range? Type204 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2Reference? Type205 { get; set; } + public global::Runway.CreateVideoToVideoRequestVariant1TargetAspectRatio? Type205 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type206 { get; set; } + public global::Runway.CreateVideoToVideoRequestVariant1ContentModeration? Type206 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2ReferenceVideo? Type207 { get; set; } + public global::Runway.CreateVideoToVideoRequestVariant1ContentModerationPublicFigureThreshold? Type207 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type208 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2? Type208 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2ReferenceAudioItem? Type209 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2Ratio? Type209 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2Fast? Type210 { get; set; } + public global::System.Collections.Generic.IList? Type210 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2FastRatio? Type211 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2Reference? Type211 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type212 { get; set; } + public global::System.Collections.Generic.IList? Type212 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2FastReference? Type213 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2ReferenceVideo? Type213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type214 { get; set; } + public global::System.Collections.Generic.IList? Type214 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2FastReferenceVideo? Type215 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2ReferenceAudioItem? Type215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type216 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2Fast? Type216 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2FastReferenceAudioItem? Type217 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2FastRatio? Type217 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2Mini? Type218 { get; set; } + public global::System.Collections.Generic.IList? Type218 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2MiniRatio? Type219 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2FastReference? Type219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2MiniReference? Type221 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2FastReferenceVideo? Type221 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type222 { get; set; } + public global::System.Collections.Generic.IList? Type222 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2MiniReferenceVideo? Type223 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2FastReferenceAudioItem? Type223 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type224 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2Mini? Type224 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestSeedance2MiniReferenceAudioItem? Type225 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2MiniRatio? Type225 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestGeminiOmniFlash? Type226 { get; set; } + public global::System.Collections.Generic.IList? Type226 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type227 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2MiniReference? Type227 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestGeminiOmniFlashReference? Type228 { get; set; } + public global::System.Collections.Generic.IList? Type228 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestDiscriminator? Type229 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2MiniReferenceVideo? Type229 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoRequestDiscriminatorModel? Type230 { get; set; } + public global::System.Collections.Generic.IList? Type230 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequest? Type231 { get; set; } + public global::Runway.CreateVideoToVideoRequestSeedance2MiniReferenceAudioItem? Type231 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGen4ImageTurbo? Type232 { get; set; } + public global::Runway.CreateVideoToVideoRequestGeminiOmniFlash? Type232 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGen4ImageTurboRatio? Type233 { get; set; } + public global::System.Collections.Generic.IList? Type233 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type234 { get; set; } + public global::Runway.CreateVideoToVideoRequestGeminiOmniFlashReference? Type234 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGen4ImageTurboReferenceImage? Type235 { get; set; } + public global::Runway.CreateVideoToVideoRequestDiscriminator? Type235 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGen4ImageTurboContentModeration? Type236 { get; set; } + public global::Runway.CreateVideoToVideoRequestDiscriminatorModel? Type236 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGen4ImageTurboContentModerationPublicFigureThreshold? Type237 { get; set; } + public global::Runway.CreateTextToImageRequest? Type237 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGen4Image? Type238 { get; set; } + public global::Runway.CreateTextToImageRequestGen4ImageTurbo? Type238 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGen4ImageRatio? Type239 { get; set; } + public global::Runway.CreateTextToImageRequestGen4ImageTurboRatio? Type239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type240 { get; set; } + public global::System.Collections.Generic.IList? Type240 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGen4ImageReferenceImage? Type241 { get; set; } + public global::Runway.CreateTextToImageRequestGen4ImageTurboReferenceImage? Type241 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGen4ImageContentModeration? Type242 { get; set; } + public global::Runway.CreateTextToImageRequestGen4ImageTurboContentModeration? Type242 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGen4ImageContentModerationPublicFigureThreshold? Type243 { get; set; } + public global::Runway.CreateTextToImageRequestGen4ImageTurboContentModerationPublicFigureThreshold? Type243 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGptImage2? Type244 { get; set; } + public global::Runway.CreateTextToImageRequestGen4Image? Type244 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGptImage2Ratio? Type245 { get; set; } + public global::Runway.CreateTextToImageRequestGen4ImageRatio? Type245 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGptImage2Quality? Type246 { get; set; } + public global::System.Collections.Generic.IList? Type246 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGptImage2Background? Type247 { get; set; } + public global::Runway.CreateTextToImageRequestGen4ImageReferenceImage? Type247 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type248 { get; set; } + public global::Runway.CreateTextToImageRequestGen4ImageContentModeration? Type248 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGptImage2ReferenceImage? Type249 { get; set; } + public global::Runway.CreateTextToImageRequestGen4ImageContentModerationPublicFigureThreshold? Type249 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGeminiImage3Pro? Type250 { get; set; } + public global::Runway.CreateTextToImageRequestGptImage2? Type250 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGeminiImage3ProRatio? Type251 { get; set; } + public global::Runway.CreateTextToImageRequestGptImage2Ratio? Type251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type252 { get; set; } + public global::Runway.CreateTextToImageRequestGptImage2Quality? Type252 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGeminiImage3ProReferenceImage? Type253 { get; set; } + public global::Runway.CreateTextToImageRequestGptImage2Background? Type253 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGeminiImage3ProReferenceImageSubject? Type254 { get; set; } + public global::System.Collections.Generic.IList? Type254 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGeminiImage31Flash? Type255 { get; set; } + public global::Runway.CreateTextToImageRequestGptImage2ReferenceImage? Type255 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGeminiImage31FlashRatio? Type256 { get; set; } + public global::Runway.CreateTextToImageRequestGeminiImage3Pro? Type256 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type257 { get; set; } + public global::Runway.CreateTextToImageRequestGeminiImage3ProRatio? Type257 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGeminiImage31FlashReferenceImage? Type258 { get; set; } + public global::System.Collections.Generic.IList? Type258 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGeminiImage31FlashReferenceImageSubject? Type259 { get; set; } + public global::Runway.CreateTextToImageRequestGeminiImage3ProReferenceImage? Type259 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGemini25Flash? Type260 { get; set; } + public global::Runway.CreateTextToImageRequestGeminiImage3ProReferenceImageSubject? Type260 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGemini25FlashRatio? Type261 { get; set; } + public global::Runway.CreateTextToImageRequestGeminiImage31Flash? Type261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type262 { get; set; } + public global::Runway.CreateTextToImageRequestGeminiImage31FlashRatio? Type262 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestGemini25FlashReferenceImage? Type263 { get; set; } + public global::System.Collections.Generic.IList? Type263 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestDiscriminator? Type264 { get; set; } + public global::Runway.CreateTextToImageRequestGeminiImage31FlashReferenceImage? Type264 { get; set; } /// /// /// - public global::Runway.CreateTextToImageRequestDiscriminatorModel? Type265 { get; set; } + public global::Runway.CreateTextToImageRequestGeminiImage31FlashReferenceImageSubject? Type265 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleRequest? Type266 { get; set; } + public global::Runway.CreateTextToImageRequestGemini25Flash? Type266 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleRequestMagnificPrecisionUpscalerV2? Type267 { get; set; } + public global::Runway.CreateTextToImageRequestGemini25FlashRatio? Type267 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleRequestMagnificPrecisionUpscalerV2Flavor? Type268 { get; set; } + public global::System.Collections.Generic.IList? Type268 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleRequestDiscriminator? Type269 { get; set; } + public global::Runway.CreateTextToImageRequestGemini25FlashReferenceImage? Type269 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleRequestDiscriminatorModel? Type270 { get; set; } + public global::Runway.CreateTextToImageRequestDiscriminator? Type270 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleRequest? Type271 { get; set; } + public global::Runway.CreateTextToImageRequestDiscriminatorModel? Type271 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? Type272 { get; set; } + public global::Runway.CreateImageUpscaleRequest? Type272 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution? Type273 { get; set; } + public global::Runway.CreateImageUpscaleRequestMagnificPrecisionUpscalerV2? Type273 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor? Type274 { get; set; } + public global::Runway.CreateImageUpscaleRequestMagnificPrecisionUpscalerV2Flavor? Type274 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleRequestDiscriminator? Type275 { get; set; } + public global::Runway.CreateImageUpscaleRequestDiscriminator? Type275 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleRequestDiscriminatorModel? Type276 { get; set; } + public global::Runway.CreateImageUpscaleRequestDiscriminatorModel? Type276 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequest? Type277 { get; set; } + public global::Runway.CreateVideoUpscaleRequest? Type277 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwo? Type278 { get; set; } + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? Type278 { get; set; } /// /// /// - public global::Runway.Character? Type279 { get; set; } + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution? Type279 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterCharacterImage? Type280 { get; set; } + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor? Type280 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterCharacterVideo? Type281 { get; set; } + public global::Runway.CreateVideoUpscaleRequestDiscriminator? Type281 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterDiscriminator? Type282 { get; set; } + public global::Runway.CreateVideoUpscaleRequestDiscriminatorModel? Type282 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorType? Type283 { get; set; } + public global::Runway.CreateCharacterPerformanceRequest? Type283 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceCharacterReferenceVideo? Type284 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwo? Type284 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceDiscriminator? Type285 { get; set; } + public global::Runway.Character? Type285 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceDiscriminatorType? Type286 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterCharacterImage? Type286 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoRatio? Type287 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterCharacterVideo? Type287 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoContentModeration? Type288 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterDiscriminator? Type288 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoContentModerationPublicFigureThreshold? Type289 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorType? Type289 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestDiscriminator? Type290 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceCharacterReferenceVideo? Type290 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestDiscriminatorModel? Type291 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceDiscriminator? Type291 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectRequest? Type292 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceDiscriminatorType? Type292 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectRequestElevenTextToSoundV2? Type293 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoRatio? Type293 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectRequestDiscriminator? Type294 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoContentModeration? Type294 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectRequestDiscriminatorModel? Type295 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoContentModerationPublicFigureThreshold? Type295 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequest? Type296 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestDiscriminator? Type296 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2? Type297 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestDiscriminatorModel? Type297 { get; set; } /// /// /// - public global::Runway.Media? Type298 { get; set; } + public global::Runway.CreateSoundEffectRequest? Type298 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaSpeechToSpeechAudio? Type299 { get; set; } + public global::Runway.CreateSoundEffectRequestSeedAudio? Type299 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaSpeechToSpeechVideo? Type300 { get; set; } + public global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat? Type300 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminator? Type301 { get; set; } + public global::Runway.CreateSoundEffectRequestElevenTextToSoundV2? Type301 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminatorType? Type302 { get; set; } + public global::Runway.CreateSoundEffectRequestDiscriminator? Type302 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceRunwayPresetVoice? Type303 { get; set; } + public global::Runway.CreateSoundEffectRequestDiscriminatorModel? Type303 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetId? Type304 { get; set; } + public global::Runway.CreateSpeechToSpeechRequest? Type304 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminator? Type305 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2? Type305 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminatorType? Type306 { get; set; } + public global::Runway.Media? Type306 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestDiscriminator? Type307 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaSpeechToSpeechAudio? Type307 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestDiscriminatorModel? Type308 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaSpeechToSpeechVideo? Type308 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequest? Type309 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminator? Type309 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2? Type310 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminatorType? Type310 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoice? Type311 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceRunwayPresetVoice? Type311 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId? Type312 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetId? Type312 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminator? Type313 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminator? Type313 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminatorType? Type314 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminatorType? Type314 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestDiscriminator? Type315 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestDiscriminator? Type315 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestDiscriminatorModel? Type316 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestDiscriminatorModel? Type316 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequest? Type317 { get; set; } + public global::Runway.CreateTextToSpeechRequest? Type317 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbing? Type318 { get; set; } + public global::Runway.CreateTextToSpeechRequestSeedAudio? Type318 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbingTargetLang? Type319 { get; set; } + public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? Type319 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestDiscriminator? Type320 { get; set; } + public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator? Type320 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestDiscriminatorModel? Type321 { get; set; } + public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType? Type321 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequest? Type322 { get; set; } + public global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat? Type322 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequestElevenVoiceIsolation? Type323 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2? Type323 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequestDiscriminator? Type324 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoice? Type324 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequestDiscriminatorModel? Type325 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId? Type325 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageRequest? Type326 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminator? Type326 { get; set; } /// /// /// - public global::System.DateTime? Type327 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminatorType? Type327 { get; set; } /// /// /// - public global::Runway.CreateUploadsRequest? Type328 { get; set; } + public global::Runway.CreateTextToSpeechRequestDiscriminator? Type328 { get; set; } /// /// /// - public global::Runway.CreateUploadsRequestType? Type329 { get; set; } + public global::Runway.CreateTextToSpeechRequestDiscriminatorModel? Type329 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequest? Type330 { get; set; } + public global::Runway.CreateVoiceDubbingRequest? Type330 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequestVersion? Type331 { get; set; } + public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbing? Type331 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequestReferenceImage? Type332 { get; set; } + public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbingTargetLang? Type332 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequestQuality? Type333 { get; set; } + public global::Runway.CreateVoiceDubbingRequestDiscriminator? Type333 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequest? Type334 { get; set; } + public global::Runway.CreateVoiceDubbingRequestDiscriminatorModel? Type334 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestVersion? Type335 { get; set; } + public global::Runway.CreateVoiceIsolationRequest? Type335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type336 { get; set; } + public global::Runway.CreateVoiceIsolationRequestElevenVoiceIsolation? Type336 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestProductImage? Type337 { get; set; } + public global::Runway.CreateVoiceIsolationRequestDiscriminator? Type337 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type338 { get; set; } + public global::Runway.CreateVoiceIsolationRequestDiscriminatorModel? Type338 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestStyleImage? Type339 { get; set; } + public global::Runway.CreateOrganizationUsageRequest? Type339 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestRatio? Type340 { get; set; } + public global::System.DateTime? Type340 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageRequest? Type341 { get; set; } + public global::Runway.CreateUploadsRequest? Type341 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageRequestVersion? Type342 { get; set; } + public global::Runway.CreateUploadsRequestType? Type342 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageRequestImage? Type343 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequest? Type343 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequest? Type344 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequestVersion? Type344 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestVersion? Type345 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequestReferenceImage? Type345 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestReferenceVideo? Type346 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequestQuality? Type346 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestOriginalProductImage? Type347 { get; set; } + public global::Runway.CreateRecipesProductAdRequest? Type347 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type348 { get; set; } + public global::Runway.CreateRecipesProductAdRequestVersion? Type348 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestNewProductImage? Type349 { get; set; } + public global::System.Collections.Generic.IList? Type349 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestNewProductImageView? Type350 { get; set; } + public global::Runway.CreateRecipesProductAdRequestProductImage? Type350 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestResolution? Type351 { get; set; } + public global::System.Collections.Generic.IList? Type351 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequest? Type352 { get; set; } + public global::Runway.CreateRecipesProductAdRequestStyleImage? Type352 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1? Type353 { get; set; } + public global::Runway.CreateRecipesProductAdRequestRatio? Type353 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Version? Type354 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageRequest? Type354 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1FirstFrame? Type355 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageRequestVersion? Type355 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Ratio? Type356 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageRequestImage? Type356 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2? Type357 { get; set; } + public global::Runway.CreateRecipesProductSwapRequest? Type357 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type358 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestVersion? Type358 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Shot? Type359 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestReferenceVideo? Type359 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Version? Type360 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestOriginalProductImage? Type360 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2FirstFrame? Type361 { get; set; } + public global::System.Collections.Generic.IList? Type361 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Ratio? Type362 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestNewProductImage? Type362 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminator? Type363 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestNewProductImageView? Type363 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminatorMode? Type364 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestResolution? Type364 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequest? Type365 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequest? Type365 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestVersion? Type366 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1? Type366 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestCharacterImage? Type367 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Version? Type367 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestProductImage? Type368 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1FirstFrame? Type368 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestRatio? Type369 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Ratio? Type369 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequest? Type370 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2? Type370 { get; set; } /// /// /// - public global::Runway.From? Type371 { get; set; } + public global::System.Collections.Generic.IList? Type371 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromVoiceFromAudio? Type372 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Shot? Type372 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromVoiceFromText? Type373 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Version? Type373 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromVoiceFromTextModel? Type374 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2FirstFrame? Type374 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromDiscriminator? Type375 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Ratio? Type375 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromDiscriminatorType? Type376 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminator? Type376 { get; set; } /// /// /// - public global::Runway.PatchVoicesRequest? Type377 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminatorMode? Type377 { get; set; } /// /// /// - public global::Runway.CreateVoicesPreviewRequest? Type378 { get; set; } + public global::Runway.CreateRecipesProductUgcRequest? Type378 { get; set; } /// /// /// - public global::Runway.CreateVoicesPreviewRequestModel? Type379 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestVersion? Type379 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequest? Type380 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestCharacterImage? Type380 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type381 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestProductImage? Type381 { get; set; } /// /// /// - public global::Runway.NodeOutputs? Type382 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestRatio? Type382 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputPrimitive? Type383 { get; set; } + public global::Runway.CreateVoicesRequest? Type383 { get; set; } /// /// /// - public global::Runway.AnyOf? Type384 { get; set; } + public global::Runway.From? Type384 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputImage? Type385 { get; set; } + public global::Runway.CreateVoicesRequestFromVoiceFromAudio? Type385 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputVideo? Type386 { get; set; } + public global::Runway.CreateVoicesRequestFromVoiceFromText? Type386 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputAudio? Type387 { get; set; } + public global::Runway.CreateVoicesRequestFromVoiceFromTextModel? Type387 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminator? Type388 { get; set; } + public global::Runway.CreateVoicesRequestFromDiscriminator? Type388 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminatorType? Type389 { get; set; } + public global::Runway.CreateVoicesRequestFromDiscriminatorType? Type389 { get; set; } /// /// /// - public global::Runway.GetDocumentsSort? Type390 { get; set; } + public global::Runway.PatchVoicesRequest? Type390 { get; set; } /// /// /// - public global::Runway.GetDocumentsOrder? Type391 { get; set; } + public global::Runway.CreateVoicesPreviewRequest? Type391 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponse? Type392 { get; set; } + public global::Runway.CreateVoicesPreviewRequestModel? Type392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type393 { get; set; } + public global::Runway.CreateWorkflowsRequest? Type393 { get; set; } /// /// /// - public global::Runway.DataItem? Type394 { get; set; } + public global::System.Collections.Generic.Dictionary? Type394 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessing? Type395 { get; set; } + public global::Runway.NodeOutputs? Type395 { get; set; } /// /// /// - public global::Runway.Voice4? Type396 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputPrimitive? Type396 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type397 { get; set; } + public global::Runway.AnyOf? Type397 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type398 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputImage? Type398 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? Type399 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputVideo? Type399 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator? Type400 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputAudio? Type400 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType? Type401 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminator? Type401 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReady? Type402 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminatorType? Type402 { get; set; } /// /// /// - public global::Runway.Voice5? Type403 { get; set; } + public global::Runway.GetDocumentsSort? Type403 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type404 { get; set; } + public global::Runway.GetDocumentsOrder? Type404 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type405 { get; set; } + public global::Runway.GetAvatarsResponse? Type405 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? Type406 { get; set; } + public global::System.Collections.Generic.IList? Type406 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator? Type407 { get; set; } + public global::Runway.DataItem? Type407 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType? Type408 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessing? Type408 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailed? Type409 { get; set; } + public global::Runway.Voice4? Type409 { get; set; } /// /// /// - public global::Runway.Voice6? Type410 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type410 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type411 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type411 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type412 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? Type412 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? Type413 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator? Type413 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminator? Type414 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType? Type414 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType? Type415 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReady? Type415 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemDiscriminator? Type416 { get; set; } + public global::Runway.Voice5? Type416 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemDiscriminatorStatus? Type417 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type417 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponse? Type418 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type418 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessing? Type419 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? Type419 { get; set; } /// /// /// - public global::Runway.Voice7? Type420 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator? Type420 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type421 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType? Type421 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type422 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailed? Type422 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type423 { get; set; } + public global::Runway.Voice6? Type423 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator? Type424 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type424 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type425 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type425 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReady? Type426 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? Type426 { get; set; } /// /// /// - public global::Runway.Voice8? Type427 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminator? Type427 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type428 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType? Type428 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type429 { get; set; } + public global::Runway.GetAvatarsResponseDataItemDiscriminator? Type429 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type430 { get; set; } + public global::Runway.GetAvatarsResponseDataItemDiscriminatorStatus? Type430 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator? Type431 { get; set; } + public global::Runway.CreateAvatarsResponse? Type431 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type432 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessing? Type432 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailed? Type433 { get; set; } + public global::Runway.Voice7? Type433 { get; set; } /// /// /// - public global::Runway.Voice9? Type434 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type434 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type435 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type435 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type436 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type436 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type437 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator? Type437 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminator? Type438 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type438 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type439 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReady? Type439 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseDiscriminator? Type440 { get; set; } + public global::Runway.Voice8? Type440 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseDiscriminatorStatus? Type441 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type441 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponse? Type442 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type443 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type443 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItem? Type444 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator? Type444 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemStatus? Type445 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type445 { get; set; } /// /// /// - public global::Runway.AvatarVariant1? Type446 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailed? Type446 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1PresetAvatarSummary? Type447 { get; set; } + public global::Runway.Voice9? Type447 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1CustomAvatarSummary? Type448 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type448 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1Discriminator? Type449 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type449 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1DiscriminatorType? Type450 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type450 { get; set; } /// /// /// - public global::Runway.GetAvatarUsageResponse? Type451 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminator? Type451 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type452 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type452 { get; set; } /// /// /// - public global::Runway.GetAvatarUsageResponseByDayItem? Type453 { get; set; } + public global::Runway.CreateAvatarsResponseDiscriminator? Type453 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponse2? Type454 { get; set; } + public global::Runway.CreateAvatarsResponseDiscriminatorStatus? Type454 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1? Type455 { get; set; } + public global::Runway.GetAvatarConversationsResponse? Type455 { get; set; } /// /// /// - public global::Runway.AvatarVariant12? Type456 { get; set; } + public global::System.Collections.Generic.IList? Type456 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1PresetAvatar? Type457 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItem? Type457 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1CustomAvatar? Type458 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemStatus? Type458 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1Discriminator? Type459 { get; set; } + public global::Runway.AvatarVariant1? Type459 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1DiscriminatorType? Type460 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1PresetAvatarSummary? Type460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type461 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1CustomAvatarSummary? Type461 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItem? Type462 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1Discriminator? Type462 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemRole? Type463 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1DiscriminatorType? Type463 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type464 { get; set; } + public global::Runway.GetAvatarUsageResponse? Type464 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolCall? Type465 { get; set; } + public global::System.Collections.Generic.IList? Type465 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type466 { get; set; } + public global::Runway.GetAvatarUsageResponseByDayItem? Type466 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolResult? Type467 { get; set; } + public global::Runway.GetAvatarConversationsResponse2? Type467 { get; set; } /// /// /// - public global::Runway.AnyOf? Type468 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1? Type468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type469 { get; set; } + public global::Runway.AvatarVariant12? Type469 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1Tool? Type470 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1PresetAvatar? Type470 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1ToolType? Type471 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1CustomAvatar? Type471 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2? Type472 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1Discriminator? Type472 { get; set; } /// /// /// - public global::Runway.AvatarVariant13? Type473 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1DiscriminatorType? Type473 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1PresetAvatar? Type474 { get; set; } + public global::System.Collections.Generic.IList? Type474 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1CustomAvatar? Type475 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItem? Type475 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1Discriminator? Type476 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemRole? Type476 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1DiscriminatorType? Type477 { get; set; } + public global::System.Collections.Generic.IList? Type477 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type478 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolCall? Type478 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItem? Type479 { get; set; } + public global::System.Collections.Generic.IList? Type479 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemRole? Type480 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolResult? Type480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type481 { get; set; } + public global::Runway.AnyOf? Type481 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolCall? Type482 { get; set; } + public global::System.Collections.Generic.IList? Type482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type483 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1Tool? Type483 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolResult? Type484 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1ToolType? Type484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type485 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2? Type485 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2Tool? Type486 { get; set; } + public global::Runway.AvatarVariant13? Type486 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2ToolType? Type487 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1PresetAvatar? Type487 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3? Type488 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1CustomAvatar? Type488 { get; set; } /// /// /// - public global::Runway.AvatarVariant14? Type489 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1Discriminator? Type489 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1PresetAvatar? Type490 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1DiscriminatorType? Type490 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1CustomAvatar? Type491 { get; set; } + public global::System.Collections.Generic.IList? Type491 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1Discriminator? Type492 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItem? Type492 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorType? Type493 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemRole? Type493 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type494 { get; set; } + public global::System.Collections.Generic.IList? Type494 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItem? Type495 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolCall? Type495 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemRole? Type496 { get; set; } + public global::System.Collections.Generic.IList? Type496 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type497 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolResult? Type497 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolCall? Type498 { get; set; } + public global::System.Collections.Generic.IList? Type498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type499 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2Tool? Type499 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolResult? Type500 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2ToolType? Type500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type501 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3? Type501 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3Tool? Type502 { get; set; } + public global::Runway.AvatarVariant14? Type502 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3ToolType? Type503 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1PresetAvatar? Type503 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDiscriminator? Type504 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1CustomAvatar? Type504 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDiscriminatorStatus? Type505 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1Discriminator? Type505 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponse2? Type506 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorType? Type506 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessing? Type507 { get; set; } + public global::System.Collections.Generic.IList? Type507 { get; set; } /// /// /// - public global::Runway.Voice10? Type508 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItem? Type508 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type509 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemRole? Type509 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type510 { get; set; } + public global::System.Collections.Generic.IList? Type510 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type511 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolCall? Type511 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator? Type512 { get; set; } + public global::System.Collections.Generic.IList? Type512 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type513 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolResult? Type513 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReady? Type514 { get; set; } + public global::System.Collections.Generic.IList? Type514 { get; set; } /// /// /// - public global::Runway.Voice11? Type515 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3Tool? Type515 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type516 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3ToolType? Type516 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type517 { get; set; } + public global::Runway.GetAvatarConversationsResponseDiscriminator? Type517 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type518 { get; set; } + public global::Runway.GetAvatarConversationsResponseDiscriminatorStatus? Type518 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator? Type519 { get; set; } + public global::Runway.GetAvatarsResponse2? Type519 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type520 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessing? Type520 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailed? Type521 { get; set; } + public global::Runway.Voice10? Type521 { get; set; } /// /// /// - public global::Runway.Voice12? Type522 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type522 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type523 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type523 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type524 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type524 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type525 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator? Type525 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminator? Type526 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type526 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type527 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReady? Type527 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDiscriminator? Type528 { get; set; } + public global::Runway.Voice11? Type528 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDiscriminatorStatus? Type529 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type529 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponse? Type530 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type530 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessing? Type531 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type531 { get; set; } /// /// /// - public global::Runway.Voice13? Type532 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator? Type532 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type533 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type533 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type534 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailed? Type534 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type535 { get; set; } + public global::Runway.Voice12? Type535 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator? Type536 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type536 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type537 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type537 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReady? Type538 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type538 { get; set; } /// /// /// - public global::Runway.Voice14? Type539 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminator? Type539 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type540 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type540 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type541 { get; set; } + public global::Runway.GetAvatarsResponseDiscriminator? Type541 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type542 { get; set; } + public global::Runway.GetAvatarsResponseDiscriminatorStatus? Type542 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator? Type543 { get; set; } + public global::Runway.PatchAvatarsResponse? Type543 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type544 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessing? Type544 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailed? Type545 { get; set; } + public global::Runway.Voice13? Type545 { get; set; } /// /// /// - public global::Runway.Voice15? Type546 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type546 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type547 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type547 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type548 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type548 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type549 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator? Type549 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminator? Type550 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type550 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type551 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReady? Type551 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseDiscriminator? Type552 { get; set; } + public global::Runway.Voice14? Type552 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseDiscriminatorStatus? Type553 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type553 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponse2? Type554 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type554 { get; set; } /// /// /// - public global::Runway.CreateAvatarVideosResponse? Type555 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type555 { get; set; } /// /// /// - public global::Runway.CreateDocumentsResponse? Type556 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator? Type556 { get; set; } /// /// /// - public global::Runway.CreateDocumentsResponseType? Type557 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type557 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type558 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailed? Type558 { get; set; } /// /// /// - public global::Runway.CreateDocumentsResponseUsedByItem? Type559 { get; set; } + public global::Runway.Voice15? Type559 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponse? Type560 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type561 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type561 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseDataItem? Type562 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type562 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseDataItemType? Type563 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminator? Type563 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type564 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type564 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseDataItemUsedByItem? Type565 { get; set; } + public global::Runway.PatchAvatarsResponseDiscriminator? Type565 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponse2? Type566 { get; set; } + public global::Runway.PatchAvatarsResponseDiscriminatorStatus? Type566 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseType? Type567 { get; set; } + public global::Runway.PatchAvatarsResponse2? Type567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type568 { get; set; } + public global::Runway.CreateAvatarVideosResponse? Type568 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseUsedByItem? Type569 { get; set; } + public global::Runway.CreateDocumentsResponse? Type569 { get; set; } /// /// /// - public global::Runway.CreateRealtimeSessionsResponse? Type570 { get; set; } + public global::Runway.CreateDocumentsResponseType? Type570 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponse? Type571 { get; set; } + public global::System.Collections.Generic.IList? Type571 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionNotReady? Type572 { get; set; } + public global::Runway.CreateDocumentsResponseUsedByItem? Type572 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionReady? Type573 { get; set; } + public global::Runway.GetDocumentsResponse? Type573 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionRunning? Type574 { get; set; } + public global::System.Collections.Generic.IList? Type574 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionCompleted? Type575 { get; set; } + public global::Runway.GetDocumentsResponseDataItem? Type575 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionFailed? Type576 { get; set; } + public global::Runway.GetDocumentsResponseDataItemType? Type576 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionCancelled? Type577 { get; set; } + public global::System.Collections.Generic.IList? Type577 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseDiscriminator? Type578 { get; set; } + public global::Runway.GetDocumentsResponseDataItemUsedByItem? Type578 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseDiscriminatorStatus? Type579 { get; set; } + public global::Runway.GetDocumentsResponse2? Type579 { get; set; } /// /// /// - public global::Runway.GetTasksResponse? Type580 { get; set; } + public global::Runway.GetDocumentsResponseType? Type580 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant1? Type581 { get; set; } + public global::System.Collections.Generic.IList? Type581 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant2? Type582 { get; set; } + public global::Runway.GetDocumentsResponseUsedByItem? Type582 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant3? Type583 { get; set; } + public global::Runway.CreateRealtimeSessionsResponse? Type583 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant4? Type584 { get; set; } + public global::Runway.GetRealtimeSessionsResponse? Type584 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant5? Type585 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionNotReady? Type585 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant6? Type586 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionReady? Type586 { get; set; } /// /// /// - public global::Runway.GetTasksResponseDiscriminator? Type587 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionRunning? Type587 { get; set; } /// /// /// - public global::Runway.GetTasksResponseDiscriminatorStatus? Type588 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionCompleted? Type588 { get; set; } /// /// /// - public global::Runway.GetTasksResponse2? Type589 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionFailed? Type589 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoResponse? Type590 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionCancelled? Type590 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoResponse2? Type591 { get; set; } + public global::Runway.GetRealtimeSessionsResponseDiscriminator? Type591 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoResponse? Type592 { get; set; } + public global::Runway.GetRealtimeSessionsResponseDiscriminatorStatus? Type592 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoResponse2? Type593 { get; set; } + public global::Runway.GetTasksResponse? Type593 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoResponse? Type594 { get; set; } + public global::Runway.GetTasksResponseVariant1? Type594 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoResponse2? Type595 { get; set; } + public global::Runway.GetTasksResponseVariant2? Type595 { get; set; } /// /// /// - public global::Runway.CreateTextToImageResponse? Type596 { get; set; } + public global::Runway.GetTasksResponseVariant3? Type596 { get; set; } /// /// /// - public global::Runway.CreateTextToImageResponse2? Type597 { get; set; } + public global::Runway.GetTasksResponseVariant4? Type597 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleResponse? Type598 { get; set; } + public global::Runway.GetTasksResponseVariant5? Type598 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleResponse2? Type599 { get; set; } + public global::Runway.GetTasksResponseVariant6? Type599 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleResponse? Type600 { get; set; } + public global::Runway.GetTasksResponseDiscriminator? Type600 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleResponse2? Type601 { get; set; } + public global::Runway.GetTasksResponseDiscriminatorStatus? Type601 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceResponse? Type602 { get; set; } + public global::Runway.GetTasksResponse2? Type602 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceResponse2? Type603 { get; set; } + public global::Runway.CreateImageToVideoResponse? Type603 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectResponse? Type604 { get; set; } + public global::Runway.CreateImageToVideoResponse2? Type604 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectResponse2? Type605 { get; set; } + public global::Runway.CreateTextToVideoResponse? Type605 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechResponse? Type606 { get; set; } + public global::Runway.CreateTextToVideoResponse2? Type606 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechResponse2? Type607 { get; set; } + public global::Runway.CreateVideoToVideoResponse? Type607 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechResponse? Type608 { get; set; } + public global::Runway.CreateVideoToVideoResponse2? Type608 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechResponse2? Type609 { get; set; } + public global::Runway.CreateTextToImageResponse? Type609 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingResponse? Type610 { get; set; } + public global::Runway.CreateTextToImageResponse2? Type610 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingResponse2? Type611 { get; set; } + public global::Runway.CreateImageUpscaleResponse? Type611 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationResponse? Type612 { get; set; } + public global::Runway.CreateImageUpscaleResponse2? Type612 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationResponse2? Type613 { get; set; } + public global::Runway.CreateVideoUpscaleResponse? Type613 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponse? Type614 { get; set; } + public global::Runway.CreateVideoUpscaleResponse2? Type614 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseTier? Type615 { get; set; } + public global::Runway.CreateCharacterPerformanceResponse? Type615 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type616 { get; set; } + public global::Runway.CreateCharacterPerformanceResponse2? Type616 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseTierModels2? Type617 { get; set; } + public global::Runway.CreateSoundEffectResponse? Type617 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseUsage? Type618 { get; set; } + public global::Runway.CreateSoundEffectResponse2? Type618 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type619 { get; set; } + public global::Runway.CreateSpeechToSpeechResponse? Type619 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseUsageModels2? Type620 { get; set; } + public global::Runway.CreateSpeechToSpeechResponse2? Type620 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponse? Type621 { get; set; } + public global::Runway.CreateTextToSpeechResponse? Type621 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type622 { get; set; } + public global::Runway.CreateTextToSpeechResponse2? Type622 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResult? Type623 { get; set; } + public global::Runway.CreateVoiceDubbingResponse? Type623 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type624 { get; set; } + public global::Runway.CreateVoiceDubbingResponse2? Type624 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResultUsedCredit? Type625 { get; set; } + public global::Runway.CreateVoiceIsolationResponse? Type625 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResultUsedCreditModel? Type626 { get; set; } + public global::Runway.CreateVoiceIsolationResponse2? Type626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type627 { get; set; } + public global::Runway.GetOrganizationResponse? Type627 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseModel? Type628 { get; set; } + public global::Runway.GetOrganizationResponseTier? Type628 { get; set; } /// /// /// - public global::Runway.CreateUploadsResponse? Type629 { get; set; } + public global::System.Collections.Generic.Dictionary? Type629 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type630 { get; set; } + public global::Runway.GetOrganizationResponseTierModels2? Type630 { get; set; } /// /// /// - public global::Runway.CreateUploadsResponse2? Type631 { get; set; } + public global::Runway.GetOrganizationResponseUsage? Type631 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageResponse? Type632 { get; set; } + public global::System.Collections.Generic.Dictionary? Type632 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageResponse2? Type633 { get; set; } + public global::Runway.GetOrganizationResponseUsageModels2? Type633 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdResponse? Type634 { get; set; } + public global::Runway.CreateOrganizationUsageResponse? Type634 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdResponse2? Type635 { get; set; } + public global::System.Collections.Generic.IList? Type635 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageResponse? Type636 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResult? Type636 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageResponse2? Type637 { get; set; } + public global::System.Collections.Generic.IList? Type637 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapResponse? Type638 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResultUsedCredit? Type638 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapResponse2? Type639 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResultUsedCreditModel? Type639 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoResponse? Type640 { get; set; } + public global::System.Collections.Generic.IList? Type640 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoResponse2? Type641 { get; set; } + public global::Runway.CreateOrganizationUsageResponseModel? Type641 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcResponse? Type642 { get; set; } + public global::Runway.CreateUploadsResponse? Type642 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcResponse2? Type643 { get; set; } + public global::System.Collections.Generic.Dictionary? Type643 { get; set; } /// /// /// - public global::Runway.GetVoicesResponse? Type644 { get; set; } + public global::Runway.CreateUploadsResponse2? Type644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type645 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageResponse? Type645 { get; set; } /// /// /// - public global::Runway.DataItem2? Type646 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageResponse2? Type646 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemVoiceProcessing? Type647 { get; set; } + public global::Runway.CreateRecipesProductAdResponse? Type647 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemVoiceReady? Type648 { get; set; } + public global::Runway.CreateRecipesProductAdResponse2? Type648 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemVoiceFailed? Type649 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageResponse? Type649 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemDiscriminator? Type650 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageResponse2? Type650 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemDiscriminatorStatus? Type651 { get; set; } + public global::Runway.CreateRecipesProductSwapResponse? Type651 { get; set; } /// /// /// - public global::Runway.CreateVoicesResponse? Type652 { get; set; } + public global::Runway.CreateRecipesProductSwapResponse2? Type652 { get; set; } /// /// /// - public global::Runway.GetVoicesResponse2? Type653 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoResponse? Type653 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseVoiceProcessing? Type654 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoResponse2? Type654 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseVoiceReady? Type655 { get; set; } + public global::Runway.CreateRecipesProductUgcResponse? Type655 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseVoiceFailed? Type656 { get; set; } + public global::Runway.CreateRecipesProductUgcResponse2? Type656 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDiscriminator? Type657 { get; set; } + public global::Runway.GetVoicesResponse? Type657 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDiscriminatorStatus? Type658 { get; set; } + public global::System.Collections.Generic.IList? Type658 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponse? Type659 { get; set; } + public global::Runway.DataItem2? Type659 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponseVoiceProcessing? Type660 { get; set; } + public global::Runway.GetVoicesResponseDataItemVoiceProcessing? Type660 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponseVoiceReady? Type661 { get; set; } + public global::Runway.GetVoicesResponseDataItemVoiceReady? Type661 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponseVoiceFailed? Type662 { get; set; } + public global::Runway.GetVoicesResponseDataItemVoiceFailed? Type662 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponseDiscriminator? Type663 { get; set; } + public global::Runway.GetVoicesResponseDataItemDiscriminator? Type663 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponseDiscriminatorStatus? Type664 { get; set; } + public global::Runway.GetVoicesResponseDataItemDiscriminatorStatus? Type664 { get; set; } /// /// /// - public global::Runway.CreateVoicesPreviewResponse? Type665 { get; set; } + public global::Runway.CreateVoicesResponse? Type665 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsResponse? Type666 { get; set; } + public global::Runway.GetVoicesResponse2? Type666 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsResponse2? Type667 { get; set; } + public global::Runway.GetVoicesResponseVoiceProcessing? Type667 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponse? Type668 { get; set; } + public global::Runway.GetVoicesResponseVoiceReady? Type668 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponseGraph? Type669 { get; set; } + public global::Runway.GetVoicesResponseVoiceFailed? Type669 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponse2? Type670 { get; set; } + public global::Runway.GetVoicesResponseDiscriminator? Type670 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponse3? Type671 { get; set; } + public global::Runway.GetVoicesResponseDiscriminatorStatus? Type671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type672 { get; set; } + public global::Runway.PatchVoicesResponse? Type672 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponseDataItem? Type673 { get; set; } + public global::Runway.PatchVoicesResponseVoiceProcessing? Type673 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type674 { get; set; } + public global::Runway.PatchVoicesResponseVoiceReady? Type674 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponseDataItemVersion? Type675 { get; set; } + public global::Runway.PatchVoicesResponseVoiceFailed? Type675 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponse? Type676 { get; set; } + public global::Runway.PatchVoicesResponseDiscriminator? Type676 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationPending? Type677 { get; set; } + public global::Runway.PatchVoicesResponseDiscriminatorStatus? Type677 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationThrottled? Type678 { get; set; } + public global::Runway.CreateVoicesPreviewResponse? Type678 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationCancelled? Type679 { get; set; } + public global::Runway.CreateWorkflowsResponse? Type679 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunning? Type680 { get; set; } + public global::Runway.CreateWorkflowsResponse2? Type680 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type681 { get; set; } + public global::Runway.GetWorkflowsResponse? Type681 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type682 { get; set; } + public global::Runway.GetWorkflowsResponseGraph? Type682 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunningNodeErrors2? Type683 { get; set; } + public global::Runway.GetWorkflowsResponse2? Type683 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailed? Type684 { get; set; } + public global::Runway.GetWorkflowsResponse3? Type684 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type685 { get; set; } + public global::System.Collections.Generic.IList? Type685 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailedNodeErrors2? Type686 { get; set; } + public global::Runway.GetWorkflowsResponseDataItem? Type686 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceeded? Type687 { get; set; } + public global::System.Collections.Generic.IList? Type687 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type688 { get; set; } + public global::Runway.GetWorkflowsResponseDataItemVersion? Type688 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceededNodeErrors2? Type689 { get; set; } + public global::Runway.GetWorkflowInvocationsResponse? Type689 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseDiscriminator? Type690 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationPending? Type690 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseDiscriminatorStatus? Type691 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationThrottled? Type691 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponse2? Type692 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationCancelled? Type692 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunning? Type693 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.Dictionary>? Type694 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.Dictionary? Type695 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunningNodeErrors2? Type696 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailed? Type697 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.Dictionary? Type698 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailedNodeErrors2? Type699 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceeded? Type700 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.Dictionary? Type701 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceededNodeErrors2? Type702 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseDiscriminator? Type703 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseDiscriminatorStatus? Type704 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponse2? Type705 { get; set; } /// /// diff --git a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequest.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequest.g.cs index 37bd280..4f9d157 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequest.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequest.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace Runway @@ -49,6 +51,20 @@ public sealed partial class CreateRealtimeSessionsRequest [global::System.Text.Json.Serialization.JsonPropertyName("tools")] public global::System.Collections.Generic.IList? Tools { get; set; } + /// + /// External integration. Runway renders the avatar; the integration owns conversation or audio. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("integration")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.IntegrationJsonConverter))] + public global::Runway.Integration? Integration { get; set; } + + /// + /// Use integration with type "livekit" instead. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("livekit")] + [global::System.Obsolete("This property marked as deprecated.")] + public global::Runway.CreateRealtimeSessionsRequestLivekit? Livekit { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -75,6 +91,9 @@ public sealed partial class CreateRealtimeSessionsRequest /// Tools available to the avatar during the session.
/// Default Value: [] /// + /// + /// External integration. Runway renders the avatar; the integration owns conversation or audio. + /// /// /// The realtime session model type. /// @@ -87,6 +106,7 @@ public CreateRealtimeSessionsRequest( string? personality, string? startScript, global::System.Collections.Generic.IList? tools, + global::Runway.Integration? integration, string model = "gwm1_avatars") { this.Model = model; @@ -95,6 +115,7 @@ public CreateRealtimeSessionsRequest( this.Personality = personality; this.StartScript = startScript; this.Tools = tools; + this.Integration = integration; } /// diff --git a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminator.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminator.Json.g.cs new file mode 100644 index 0000000..6ef1a87 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateRealtimeSessionsRequestIntegrationDiscriminator + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator), + jsonSerializerContext) as global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminator; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminator.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminator.g.cs new file mode 100644 index 0000000..1f13558 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public sealed partial class CreateRealtimeSessionsRequestIntegrationDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeJsonConverter))] + public global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType? Type { 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 CreateRealtimeSessionsRequestIntegrationDiscriminator( + global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateRealtimeSessionsRequestIntegrationDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminatorType.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminatorType.g.cs new file mode 100644 index 0000000..a2e1b2b --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationDiscriminatorType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public enum CreateRealtimeSessionsRequestIntegrationDiscriminatorType + { + /// + /// + /// + Elevenlabs, + /// + /// + /// + Livekit, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateRealtimeSessionsRequestIntegrationDiscriminatorType value) + { + return value switch + { + CreateRealtimeSessionsRequestIntegrationDiscriminatorType.Elevenlabs => "elevenlabs", + CreateRealtimeSessionsRequestIntegrationDiscriminatorType.Livekit => "livekit", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateRealtimeSessionsRequestIntegrationDiscriminatorType? ToEnum(string value) + { + return value switch + { + "elevenlabs" => CreateRealtimeSessionsRequestIntegrationDiscriminatorType.Elevenlabs, + "livekit" => CreateRealtimeSessionsRequestIntegrationDiscriminatorType.Livekit, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration.Json.g.cs new file mode 100644 index 0000000..31b6ff6 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration), + jsonSerializerContext) as global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration.g.cs new file mode 100644 index 0000000..a9ac6b2 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace Runway +{ + /// + /// ElevenLabs handles conversation; Runway renders the avatar video. + /// + public sealed partial class CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration + { + /// + /// + /// + /// "elevenlabs" + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string Type { get; set; } = "elevenlabs"; + + /// + /// ConvAI signed WebSocket URL (~15 min lifetime). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("signedUrl")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SignedUrl { 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. + /// + /// + /// ConvAI signed WebSocket URL (~15 min lifetime). + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration( + string signedUrl, + string type = "elevenlabs") + { + this.Type = type; + this.SignedUrl = signedUrl ?? throw new global::System.ArgumentNullException(nameof(signedUrl)); + } + + /// + /// Initializes a new instance of the class. + /// + public CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration() + { + } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration FromSignedUrl(string signedUrl) + { + return new CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration + { + SignedUrl = signedUrl, + }; + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration.Json.g.cs new file mode 100644 index 0000000..a79ca33 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateRealtimeSessionsRequestIntegrationLiveKitIntegration + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration), + jsonSerializerContext) as global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration.g.cs new file mode 100644 index 0000000..6b022ac --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration.g.cs @@ -0,0 +1,92 @@ + +#nullable enable + +namespace Runway +{ + /// + /// Join an external LiveKit room; Runway publishes video, your agent supplies audio. + /// + public sealed partial class CreateRealtimeSessionsRequestIntegrationLiveKitIntegration + { + /// + /// + /// + /// "livekit" + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string Type { get; set; } = "livekit"; + + /// + /// WebSocket URL of the external LiveKit server the avatar worker should join. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// LiveKit access token granting the avatar worker publish rights in the external room. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("token")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Token { get; set; } + + /// + /// Name of the external LiveKit room. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("roomName")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RoomName { get; set; } + + /// + /// The participant identity of the customer agent already in the room. When provided, the avatar worker trusts audio published by this identity. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("agentIdentity")] + public string? AgentIdentity { 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. + /// + /// + /// WebSocket URL of the external LiveKit server the avatar worker should join. + /// + /// + /// LiveKit access token granting the avatar worker publish rights in the external room. + /// + /// + /// Name of the external LiveKit room. + /// + /// + /// The participant identity of the customer agent already in the room. When provided, the avatar worker trusts audio published by this identity. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateRealtimeSessionsRequestIntegrationLiveKitIntegration( + string url, + string token, + string roomName, + string? agentIdentity, + string type = "livekit") + { + this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); + this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token)); + this.RoomName = roomName ?? throw new global::System.ArgumentNullException(nameof(roomName)); + this.AgentIdentity = agentIdentity; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateRealtimeSessionsRequestIntegrationLiveKitIntegration() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestLivekit.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestLivekit.Json.g.cs new file mode 100644 index 0000000..b5e2f84 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestLivekit.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateRealtimeSessionsRequestLivekit + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateRealtimeSessionsRequestLivekit? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateRealtimeSessionsRequestLivekit), + jsonSerializerContext) as global::Runway.CreateRealtimeSessionsRequestLivekit; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateRealtimeSessionsRequestLivekit? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateRealtimeSessionsRequestLivekit? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateRealtimeSessionsRequestLivekit), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateRealtimeSessionsRequestLivekit; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestLivekit.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestLivekit.g.cs new file mode 100644 index 0000000..aa8254f --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateRealtimeSessionsRequestLivekit.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace Runway +{ + /// + /// Use integration with type "livekit" instead. + /// + [global::System.Obsolete("This model marked as deprecated.")] + public sealed partial class CreateRealtimeSessionsRequestLivekit + { + /// + /// WebSocket URL of the external LiveKit server the avatar worker should join. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + [global::System.Obsolete("This property marked as deprecated.")] + public required string Url { get; set; } + + /// + /// LiveKit access token granting the avatar worker publish rights in the external room. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("token")] + [global::System.Text.Json.Serialization.JsonRequired] + [global::System.Obsolete("This property marked as deprecated.")] + public required string Token { get; set; } + + /// + /// Name of the external LiveKit room. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("roomName")] + [global::System.Text.Json.Serialization.JsonRequired] + [global::System.Obsolete("This property marked as deprecated.")] + public required string RoomName { get; set; } + + /// + /// The participant identity of the customer agent already in the room. When provided, the avatar worker trusts audio published by this identity. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("agentIdentity")] + [global::System.Obsolete("This property marked as deprecated.")] + public string? AgentIdentity { 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. + /// + /// + /// WebSocket URL of the external LiveKit server the avatar worker should join. + /// + /// + /// LiveKit access token granting the avatar worker publish rights in the external room. + /// + /// + /// Name of the external LiveKit room. + /// + /// + /// The participant identity of the customer agent already in the room. When provided, the avatar worker trusts audio published by this identity. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateRealtimeSessionsRequestLivekit( + string url, + string token, + string roomName, + string? agentIdentity) + { + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); + this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token)); + this.RoomName = roomName ?? throw new global::System.ArgumentNullException(nameof(roomName)); + this.AgentIdentity = agentIdentity; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateRealtimeSessionsRequestLivekit() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequest.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequest.g.cs index 4a67f75..0a43320 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequest.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequest.g.cs @@ -14,6 +14,43 @@ namespace Runway /// public global::Runway.CreateSoundEffectRequestDiscriminatorModel? Model { get; } + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Runway.CreateSoundEffectRequestSeedAudio? SeedAudio { get; init; } +#else + public global::Runway.CreateSoundEffectRequestSeedAudio? SeedAudio { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SeedAudio))] +#endif + public bool IsSeedAudio => SeedAudio != null; + + /// + /// + /// + public bool TryPickSeedAudio( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Runway.CreateSoundEffectRequestSeedAudio? value) + { + value = SeedAudio; + return IsSeedAudio; + } + + /// + /// + /// + public global::Runway.CreateSoundEffectRequestSeedAudio PickSeedAudio() => IsSeedAudio + ? SeedAudio! + : throw new global::System.InvalidOperationException($"Expected union variant 'SeedAudio' but the value was {ToString()}."); + /// /// /// @@ -50,6 +87,29 @@ public bool TryPickElevenTextToSoundV2( public global::Runway.CreateSoundEffectRequestElevenTextToSoundV2 PickElevenTextToSoundV2() => IsElevenTextToSoundV2 ? ElevenTextToSoundV2! : throw new global::System.InvalidOperationException($"Expected union variant 'ElevenTextToSoundV2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator CreateSoundEffectRequest(global::Runway.CreateSoundEffectRequestSeedAudio value) => new CreateSoundEffectRequest((global::Runway.CreateSoundEffectRequestSeedAudio?)value); + + /// + /// + /// + public static implicit operator global::Runway.CreateSoundEffectRequestSeedAudio?(CreateSoundEffectRequest @this) => @this.SeedAudio; + + /// + /// + /// + public CreateSoundEffectRequest(global::Runway.CreateSoundEffectRequestSeedAudio? value) + { + SeedAudio = value; + } + + /// + /// + /// + public static CreateSoundEffectRequest FromSeedAudio(global::Runway.CreateSoundEffectRequestSeedAudio? value) => new CreateSoundEffectRequest(value); + /// /// /// @@ -78,11 +138,13 @@ public CreateSoundEffectRequest(global::Runway.CreateSoundEffectRequestElevenTex ///
public CreateSoundEffectRequest( global::Runway.CreateSoundEffectRequestDiscriminatorModel? model, + global::Runway.CreateSoundEffectRequestSeedAudio? seedAudio, global::Runway.CreateSoundEffectRequestElevenTextToSoundV2? elevenTextToSoundV2 ) { Model = model; + SeedAudio = seedAudio; ElevenTextToSoundV2 = elevenTextToSoundV2; } @@ -90,13 +152,15 @@ public CreateSoundEffectRequest( /// /// public object? Object => - ElevenTextToSoundV2 as object + ElevenTextToSoundV2 as object ?? + SeedAudio as object ; /// /// /// public override string? ToString() => + SeedAudio?.ToString() ?? ElevenTextToSoundV2?.ToString() ; @@ -105,13 +169,14 @@ ElevenTextToSoundV2 as object /// public bool Validate() { - return IsElevenTextToSoundV2; + return IsSeedAudio && !IsElevenTextToSoundV2 || !IsSeedAudio && IsElevenTextToSoundV2; } /// /// /// public TResult? Match( + global::System.Func? seedAudio = null, global::System.Func? elevenTextToSoundV2 = null, bool validate = true) { @@ -120,7 +185,11 @@ public bool Validate() Validate(); } - if (IsElevenTextToSoundV2 && elevenTextToSoundV2 != null) + if (IsSeedAudio && seedAudio != null) + { + return seedAudio(SeedAudio!); + } + else if (IsElevenTextToSoundV2 && elevenTextToSoundV2 != null) { return elevenTextToSoundV2(ElevenTextToSoundV2!); } @@ -132,6 +201,8 @@ public bool Validate() /// /// public void Match( + global::System.Action? seedAudio = null, + global::System.Action? elevenTextToSoundV2 = null, bool validate = true) { @@ -140,7 +211,11 @@ public void Match( Validate(); } - if (IsElevenTextToSoundV2) + if (IsSeedAudio) + { + seedAudio?.Invoke(SeedAudio!); + } + else if (IsElevenTextToSoundV2) { elevenTextToSoundV2?.Invoke(ElevenTextToSoundV2!); } @@ -150,6 +225,7 @@ public void Match( /// /// public void Switch( + global::System.Action? seedAudio = null, global::System.Action? elevenTextToSoundV2 = null, bool validate = true) { @@ -158,7 +234,11 @@ public void Switch( Validate(); } - if (IsElevenTextToSoundV2) + if (IsSeedAudio) + { + seedAudio?.Invoke(SeedAudio!); + } + else if (IsElevenTextToSoundV2) { elevenTextToSoundV2?.Invoke(ElevenTextToSoundV2!); } @@ -171,6 +251,8 @@ public override int GetHashCode() { var fields = new object?[] { + SeedAudio, + typeof(global::Runway.CreateSoundEffectRequestSeedAudio), ElevenTextToSoundV2, typeof(global::Runway.CreateSoundEffectRequestElevenTextToSoundV2), }; @@ -189,6 +271,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(CreateSoundEffectRequest other) { return + global::System.Collections.Generic.EqualityComparer.Default.Equals(SeedAudio, other.SeedAudio) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ElevenTextToSoundV2, other.ElevenTextToSoundV2) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestDiscriminatorModel.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestDiscriminatorModel.g.cs index 9c1d138..8ac57d8 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestDiscriminatorModel.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestDiscriminatorModel.g.cs @@ -12,6 +12,10 @@ public enum CreateSoundEffectRequestDiscriminatorModel /// /// ElevenTextToSoundV2, + /// + /// + /// + SeedAudio, } /// @@ -27,6 +31,7 @@ public static string ToValueString(this CreateSoundEffectRequestDiscriminatorMod return value switch { CreateSoundEffectRequestDiscriminatorModel.ElevenTextToSoundV2 => "eleven_text_to_sound_v2", + CreateSoundEffectRequestDiscriminatorModel.SeedAudio => "seed_audio", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -38,6 +43,7 @@ public static string ToValueString(this CreateSoundEffectRequestDiscriminatorMod return value switch { "eleven_text_to_sound_v2" => CreateSoundEffectRequestDiscriminatorModel.ElevenTextToSoundV2, + "seed_audio" => CreateSoundEffectRequestDiscriminatorModel.SeedAudio, _ => null, }; } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudio.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudio.Json.g.cs new file mode 100644 index 0000000..7ed2204 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudio.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateSoundEffectRequestSeedAudio + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateSoundEffectRequestSeedAudio? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateSoundEffectRequestSeedAudio), + jsonSerializerContext) as global::Runway.CreateSoundEffectRequestSeedAudio; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateSoundEffectRequestSeedAudio? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateSoundEffectRequestSeedAudio? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateSoundEffectRequestSeedAudio), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateSoundEffectRequestSeedAudio; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudio.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudio.g.cs new file mode 100644 index 0000000..9854405 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudio.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public sealed partial class CreateSoundEffectRequestSeedAudio + { + /// + /// A non-empty text prompt. For text-to-speech, the words to speak. For text-to-audio, a scene description that can include voice direction, dialogue, music, and sound effects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("promptText")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PromptText { get; set; } + + /// + /// Up to three reference audio clips. When provided, reference them in promptText as @Audio1, @Audio2, and @Audio3 in order. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("referenceAudios")] + public global::System.Collections.Generic.IList? ReferenceAudios { get; set; } + + /// + /// Relative speech speed. Negative is slower, positive is faster; 0 is normal. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("speechRate")] + public int? SpeechRate { get; set; } + + /// + /// Relative output loudness. Negative is quieter, positive is louder; 0 is normal. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("loudnessRate")] + public int? LoudnessRate { get; set; } + + /// + /// Pitch shift in semitones. Negative lowers, positive raises; 0 is unchanged. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pitchRate")] + public int? PitchRate { get; set; } + + /// + /// Output sample rate in Hz. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sampleRate")] + public double? SampleRate { get; set; } + + /// + /// Output audio container/format. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("outputFormat")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatJsonConverter))] + public global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat? OutputFormat { get; set; } + + /// + /// + /// + /// "seed_audio" + [global::System.Text.Json.Serialization.JsonPropertyName("model")] + public string Model { get; set; } = "seed_audio"; + + /// + /// 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. + /// + /// + /// A non-empty text prompt. For text-to-speech, the words to speak. For text-to-audio, a scene description that can include voice direction, dialogue, music, and sound effects. + /// + /// + /// Up to three reference audio clips. When provided, reference them in promptText as @Audio1, @Audio2, and @Audio3 in order. + /// + /// + /// Relative speech speed. Negative is slower, positive is faster; 0 is normal. + /// + /// + /// Relative output loudness. Negative is quieter, positive is louder; 0 is normal. + /// + /// + /// Pitch shift in semitones. Negative lowers, positive raises; 0 is unchanged. + /// + /// + /// Output sample rate in Hz. + /// + /// + /// Output audio container/format. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateSoundEffectRequestSeedAudio( + string promptText, + global::System.Collections.Generic.IList? referenceAudios, + int? speechRate, + int? loudnessRate, + int? pitchRate, + double? sampleRate, + global::Runway.CreateSoundEffectRequestSeedAudioOutputFormat? outputFormat, + string model = "seed_audio") + { + this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText)); + this.ReferenceAudios = referenceAudios; + this.SpeechRate = speechRate; + this.LoudnessRate = loudnessRate; + this.PitchRate = pitchRate; + this.SampleRate = sampleRate; + this.OutputFormat = outputFormat; + this.Model = model; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateSoundEffectRequestSeedAudio() + { + } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static CreateSoundEffectRequestSeedAudio FromPromptText(string promptText) + { + return new CreateSoundEffectRequestSeedAudio + { + PromptText = promptText, + }; + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudioOutputFormat.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudioOutputFormat.g.cs new file mode 100644 index 0000000..7d39d19 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateSoundEffectRequestSeedAudioOutputFormat.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Runway +{ + /// + /// Output audio container/format. + /// + public enum CreateSoundEffectRequestSeedAudioOutputFormat + { + /// + /// + /// + Mp3, + /// + /// + /// + OggOpus, + /// + /// + /// + Wav, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateSoundEffectRequestSeedAudioOutputFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateSoundEffectRequestSeedAudioOutputFormat value) + { + return value switch + { + CreateSoundEffectRequestSeedAudioOutputFormat.Mp3 => "mp3", + CreateSoundEffectRequestSeedAudioOutputFormat.OggOpus => "ogg_opus", + CreateSoundEffectRequestSeedAudioOutputFormat.Wav => "wav", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateSoundEffectRequestSeedAudioOutputFormat? ToEnum(string value) + { + return value switch + { + "mp3" => CreateSoundEffectRequestSeedAudioOutputFormat.Mp3, + "ogg_opus" => CreateSoundEffectRequestSeedAudioOutputFormat.OggOpus, + "wav" => CreateSoundEffectRequestSeedAudioOutputFormat.Wav, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequest.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequest.g.cs index 6dd1b79..f1d80e2 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequest.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequest.g.cs @@ -14,6 +14,43 @@ namespace Runway /// public global::Runway.CreateTextToSpeechRequestDiscriminatorModel? Model { get; } + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Runway.CreateTextToSpeechRequestSeedAudio? SeedAudio { get; init; } +#else + public global::Runway.CreateTextToSpeechRequestSeedAudio? SeedAudio { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SeedAudio))] +#endif + public bool IsSeedAudio => SeedAudio != null; + + /// + /// + /// + public bool TryPickSeedAudio( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Runway.CreateTextToSpeechRequestSeedAudio? value) + { + value = SeedAudio; + return IsSeedAudio; + } + + /// + /// + /// + public global::Runway.CreateTextToSpeechRequestSeedAudio PickSeedAudio() => IsSeedAudio + ? SeedAudio! + : throw new global::System.InvalidOperationException($"Expected union variant 'SeedAudio' but the value was {ToString()}."); + /// /// /// @@ -50,6 +87,29 @@ public bool TryPickElevenMultilingualV2( public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2 PickElevenMultilingualV2() => IsElevenMultilingualV2 ? ElevenMultilingualV2! : throw new global::System.InvalidOperationException($"Expected union variant 'ElevenMultilingualV2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator CreateTextToSpeechRequest(global::Runway.CreateTextToSpeechRequestSeedAudio value) => new CreateTextToSpeechRequest((global::Runway.CreateTextToSpeechRequestSeedAudio?)value); + + /// + /// + /// + public static implicit operator global::Runway.CreateTextToSpeechRequestSeedAudio?(CreateTextToSpeechRequest @this) => @this.SeedAudio; + + /// + /// + /// + public CreateTextToSpeechRequest(global::Runway.CreateTextToSpeechRequestSeedAudio? value) + { + SeedAudio = value; + } + + /// + /// + /// + public static CreateTextToSpeechRequest FromSeedAudio(global::Runway.CreateTextToSpeechRequestSeedAudio? value) => new CreateTextToSpeechRequest(value); + /// /// /// @@ -78,11 +138,13 @@ public CreateTextToSpeechRequest(global::Runway.CreateTextToSpeechRequestElevenM /// public CreateTextToSpeechRequest( global::Runway.CreateTextToSpeechRequestDiscriminatorModel? model, + global::Runway.CreateTextToSpeechRequestSeedAudio? seedAudio, global::Runway.CreateTextToSpeechRequestElevenMultilingualV2? elevenMultilingualV2 ) { Model = model; + SeedAudio = seedAudio; ElevenMultilingualV2 = elevenMultilingualV2; } @@ -90,13 +152,15 @@ public CreateTextToSpeechRequest( /// /// public object? Object => - ElevenMultilingualV2 as object + ElevenMultilingualV2 as object ?? + SeedAudio as object ; /// /// /// public override string? ToString() => + SeedAudio?.ToString() ?? ElevenMultilingualV2?.ToString() ; @@ -105,13 +169,14 @@ ElevenMultilingualV2 as object /// public bool Validate() { - return IsElevenMultilingualV2; + return IsSeedAudio && !IsElevenMultilingualV2 || !IsSeedAudio && IsElevenMultilingualV2; } /// /// /// public TResult? Match( + global::System.Func? seedAudio = null, global::System.Func? elevenMultilingualV2 = null, bool validate = true) { @@ -120,7 +185,11 @@ public bool Validate() Validate(); } - if (IsElevenMultilingualV2 && elevenMultilingualV2 != null) + if (IsSeedAudio && seedAudio != null) + { + return seedAudio(SeedAudio!); + } + else if (IsElevenMultilingualV2 && elevenMultilingualV2 != null) { return elevenMultilingualV2(ElevenMultilingualV2!); } @@ -132,6 +201,8 @@ public bool Validate() /// /// public void Match( + global::System.Action? seedAudio = null, + global::System.Action? elevenMultilingualV2 = null, bool validate = true) { @@ -140,7 +211,11 @@ public void Match( Validate(); } - if (IsElevenMultilingualV2) + if (IsSeedAudio) + { + seedAudio?.Invoke(SeedAudio!); + } + else if (IsElevenMultilingualV2) { elevenMultilingualV2?.Invoke(ElevenMultilingualV2!); } @@ -150,6 +225,7 @@ public void Match( /// /// public void Switch( + global::System.Action? seedAudio = null, global::System.Action? elevenMultilingualV2 = null, bool validate = true) { @@ -158,7 +234,11 @@ public void Switch( Validate(); } - if (IsElevenMultilingualV2) + if (IsSeedAudio) + { + seedAudio?.Invoke(SeedAudio!); + } + else if (IsElevenMultilingualV2) { elevenMultilingualV2?.Invoke(ElevenMultilingualV2!); } @@ -171,6 +251,8 @@ public override int GetHashCode() { var fields = new object?[] { + SeedAudio, + typeof(global::Runway.CreateTextToSpeechRequestSeedAudio), ElevenMultilingualV2, typeof(global::Runway.CreateTextToSpeechRequestElevenMultilingualV2), }; @@ -189,6 +271,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(CreateTextToSpeechRequest other) { return + global::System.Collections.Generic.EqualityComparer.Default.Equals(SeedAudio, other.SeedAudio) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ElevenMultilingualV2, other.ElevenMultilingualV2) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestDiscriminatorModel.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestDiscriminatorModel.g.cs index 7b405a1..a0d9f43 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestDiscriminatorModel.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestDiscriminatorModel.g.cs @@ -12,6 +12,10 @@ public enum CreateTextToSpeechRequestDiscriminatorModel /// /// ElevenMultilingualV2, + /// + /// + /// + SeedAudio, } /// @@ -27,6 +31,7 @@ public static string ToValueString(this CreateTextToSpeechRequestDiscriminatorMo return value switch { CreateTextToSpeechRequestDiscriminatorModel.ElevenMultilingualV2 => "eleven_multilingual_v2", + CreateTextToSpeechRequestDiscriminatorModel.SeedAudio => "seed_audio", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -38,6 +43,7 @@ public static string ToValueString(this CreateTextToSpeechRequestDiscriminatorMo return value switch { "eleven_multilingual_v2" => CreateTextToSpeechRequestDiscriminatorModel.ElevenMultilingualV2, + "seed_audio" => CreateTextToSpeechRequestDiscriminatorModel.SeedAudio, _ => null, }; } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.Json.g.cs new file mode 100644 index 0000000..fe5e0a8 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateTextToSpeechRequestSeedAudio + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateTextToSpeechRequestSeedAudio? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateTextToSpeechRequestSeedAudio), + jsonSerializerContext) as global::Runway.CreateTextToSpeechRequestSeedAudio; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateTextToSpeechRequestSeedAudio? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateTextToSpeechRequestSeedAudio? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateTextToSpeechRequestSeedAudio), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateTextToSpeechRequestSeedAudio; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.g.cs new file mode 100644 index 0000000..c5a0d99 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public sealed partial class CreateTextToSpeechRequestSeedAudio + { + /// + /// A non-empty text prompt. For text-to-speech, the words to speak. For text-to-audio, a scene description that can include voice direction, dialogue, music, and sound effects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("promptText")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PromptText { get; set; } + + /// + /// The voice to use for text-to-speech generation. If omitted, a default voice is used. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("voice")] + public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? Voice { get; set; } + + /// + /// Relative speech speed. Negative is slower, positive is faster; 0 is normal. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("speechRate")] + public int? SpeechRate { get; set; } + + /// + /// Relative output loudness. Negative is quieter, positive is louder; 0 is normal. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("loudnessRate")] + public int? LoudnessRate { get; set; } + + /// + /// Pitch shift in semitones. Negative lowers, positive raises; 0 is unchanged. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pitchRate")] + public int? PitchRate { get; set; } + + /// + /// Output sample rate in Hz. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sampleRate")] + public double? SampleRate { get; set; } + + /// + /// Output audio container/format. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("outputFormat")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatJsonConverter))] + public global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat? OutputFormat { get; set; } + + /// + /// + /// + /// "seed_audio" + [global::System.Text.Json.Serialization.JsonPropertyName("model")] + public string Model { get; set; } = "seed_audio"; + + /// + /// 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. + /// + /// + /// A non-empty text prompt. For text-to-speech, the words to speak. For text-to-audio, a scene description that can include voice direction, dialogue, music, and sound effects. + /// + /// + /// The voice to use for text-to-speech generation. If omitted, a default voice is used. + /// + /// + /// Relative speech speed. Negative is slower, positive is faster; 0 is normal. + /// + /// + /// Relative output loudness. Negative is quieter, positive is louder; 0 is normal. + /// + /// + /// Pitch shift in semitones. Negative lowers, positive raises; 0 is unchanged. + /// + /// + /// Output sample rate in Hz. + /// + /// + /// Output audio container/format. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateTextToSpeechRequestSeedAudio( + string promptText, + global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? voice, + int? speechRate, + int? loudnessRate, + int? pitchRate, + double? sampleRate, + global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat? outputFormat, + string model = "seed_audio") + { + this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText)); + this.Voice = voice; + this.SpeechRate = speechRate; + this.LoudnessRate = loudnessRate; + this.PitchRate = pitchRate; + this.SampleRate = sampleRate; + this.OutputFormat = outputFormat; + this.Model = model; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateTextToSpeechRequestSeedAudio() + { + } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static CreateTextToSpeechRequestSeedAudio FromPromptText(string promptText) + { + return new CreateTextToSpeechRequestSeedAudio + { + PromptText = promptText, + }; + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioOutputFormat.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioOutputFormat.g.cs new file mode 100644 index 0000000..50ba8e5 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioOutputFormat.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Runway +{ + /// + /// Output audio container/format. + /// + public enum CreateTextToSpeechRequestSeedAudioOutputFormat + { + /// + /// + /// + Mp3, + /// + /// + /// + OggOpus, + /// + /// + /// + Wav, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateTextToSpeechRequestSeedAudioOutputFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateTextToSpeechRequestSeedAudioOutputFormat value) + { + return value switch + { + CreateTextToSpeechRequestSeedAudioOutputFormat.Mp3 => "mp3", + CreateTextToSpeechRequestSeedAudioOutputFormat.OggOpus => "ogg_opus", + CreateTextToSpeechRequestSeedAudioOutputFormat.Wav => "wav", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateTextToSpeechRequestSeedAudioOutputFormat? ToEnum(string value) + { + return value switch + { + "mp3" => CreateTextToSpeechRequestSeedAudioOutputFormat.Mp3, + "ogg_opus" => CreateTextToSpeechRequestSeedAudioOutputFormat.OggOpus, + "wav" => CreateTextToSpeechRequestSeedAudioOutputFormat.Wav, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator.Json.g.cs new file mode 100644 index 0000000..a69b66a --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateTextToSpeechRequestSeedAudioVoiceDiscriminator + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator), + jsonSerializerContext) as global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator.g.cs new file mode 100644 index 0000000..8ea087f --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public sealed partial class CreateTextToSpeechRequestSeedAudioVoiceDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeJsonConverter))] + public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType? Type { 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 CreateTextToSpeechRequestSeedAudioVoiceDiscriminator( + global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateTextToSpeechRequestSeedAudioVoiceDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs new file mode 100644 index 0000000..be380e8 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public enum CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType + { + /// + /// + /// + ReferenceAudio, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType value) + { + return value switch + { + CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.ReferenceAudio => "reference-audio", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType? ToEnum(string value) + { + return value switch + { + "reference-audio" => CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.ReferenceAudio, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice.Json.g.cs new file mode 100644 index 0000000..356e42a --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice), + jsonSerializerContext) as global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice.g.cs new file mode 100644 index 0000000..94d0a9c --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice.g.cs @@ -0,0 +1,72 @@ + +#nullable enable + +namespace Runway +{ + /// + /// Clone from a single reference audio clip, then speak promptText in that voice. + /// + public sealed partial class CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice + { + /// + /// + /// + /// "reference-audio" + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string Type { get; set; } = "reference-audio"; + + /// + /// A HTTPS URL, Runway or data URI containing an encoded audio. See [our docs](/assets/inputs#audio) on audio inputs for more information.
+ /// Example: https://example.com/audio.mp3 + ///
+ /// https://example.com/audio.mp3 + [global::System.Text.Json.Serialization.JsonPropertyName("audioUri")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string AudioUri { 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. + /// + /// + /// A HTTPS URL, Runway or data URI containing an encoded audio. See [our docs](/assets/inputs#audio) on audio inputs for more information.
+ /// Example: https://example.com/audio.mp3 + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice( + string audioUri, + string type = "reference-audio") + { + this.Type = type; + this.AudioUri = audioUri; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice() + { + } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice FromAudioUri(string audioUri) + { + return new CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice + { + AudioUri = audioUri, + }; + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.Integration.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.Integration.Json.g.cs new file mode 100644 index 0000000..ebf56ce --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.Integration.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public readonly partial struct Integration + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.Integration? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.Integration), + jsonSerializerContext) as global::Runway.Integration?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.Integration? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.Integration? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.Integration), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.Integration?; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.Integration.g.cs b/src/libs/Runway/Generated/Runway.Models.Integration.g.cs new file mode 100644 index 0000000..876f2a4 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.Integration.g.cs @@ -0,0 +1,303 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace Runway +{ + /// + /// External integration. Runway renders the avatar; the integration owns conversation or audio. + /// + public readonly partial struct Integration : global::System.IEquatable + { + /// + /// + /// + public global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType? Type { get; } + + /// + /// ElevenLabs handles conversation; Runway renders the avatar video. + /// +#if NET6_0_OR_GREATER + public global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? Elevenlabs { get; init; } +#else + public global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? Elevenlabs { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Elevenlabs))] +#endif + public bool IsElevenlabs => Elevenlabs != null; + + /// + /// + /// + public bool TryPickElevenlabs( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? value) + { + value = Elevenlabs; + return IsElevenlabs; + } + + /// + /// + /// + public global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration PickElevenlabs() => IsElevenlabs + ? Elevenlabs! + : throw new global::System.InvalidOperationException($"Expected union variant 'Elevenlabs' but the value was {ToString()}."); + + /// + /// Join an external LiveKit room; Runway publishes video, your agent supplies audio. + /// +#if NET6_0_OR_GREATER + public global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? Livekit { get; init; } +#else + public global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? Livekit { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Livekit))] +#endif + public bool IsLivekit => Livekit != null; + + /// + /// + /// + public bool TryPickLivekit( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? value) + { + value = Livekit; + return IsLivekit; + } + + /// + /// + /// + public global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration PickLivekit() => IsLivekit + ? Livekit! + : throw new global::System.InvalidOperationException($"Expected union variant 'Livekit' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator Integration(global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration value) => new Integration((global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration?)value); + + /// + /// + /// + public static implicit operator global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration?(Integration @this) => @this.Elevenlabs; + + /// + /// + /// + public Integration(global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? value) + { + Elevenlabs = value; + } + + /// + /// + /// + public static Integration FromElevenlabs(global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? value) => new Integration(value); + + /// + /// + /// + public static implicit operator Integration(global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration value) => new Integration((global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration?)value); + + /// + /// + /// + public static implicit operator global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration?(Integration @this) => @this.Livekit; + + /// + /// + /// + public Integration(global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? value) + { + Livekit = value; + } + + /// + /// + /// + public static Integration FromLivekit(global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? value) => new Integration(value); + + /// + /// + /// + public Integration( + global::Runway.CreateRealtimeSessionsRequestIntegrationDiscriminatorType? type, + global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration? elevenlabs, + global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration? livekit + ) + { + Type = type; + + Elevenlabs = elevenlabs; + Livekit = livekit; + } + + /// + /// + /// + public object? Object => + Livekit as object ?? + Elevenlabs as object + ; + + /// + /// + /// + public override string? ToString() => + Elevenlabs?.ToString() ?? + Livekit?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsElevenlabs && !IsLivekit || !IsElevenlabs && IsLivekit; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? elevenlabs = null, + global::System.Func? livekit = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsElevenlabs && elevenlabs != null) + { + return elevenlabs(Elevenlabs!); + } + else if (IsLivekit && livekit != null) + { + return livekit(Livekit!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? elevenlabs = null, + + global::System.Action? livekit = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsElevenlabs) + { + elevenlabs?.Invoke(Elevenlabs!); + } + else if (IsLivekit) + { + livekit?.Invoke(Livekit!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? elevenlabs = null, + global::System.Action? livekit = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsElevenlabs) + { + elevenlabs?.Invoke(Elevenlabs!); + } + else if (IsLivekit) + { + livekit?.Invoke(Livekit!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Elevenlabs, + typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationElevenLabsIntegration), + Livekit, + typeof(global::Runway.CreateRealtimeSessionsRequestIntegrationLiveKitIntegration), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(Integration other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Elevenlabs, other.Elevenlabs) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Livekit, other.Livekit) + ; + } + + /// + /// + /// + public static bool operator ==(Integration obj1, Integration obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(Integration obj1, Integration obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is Integration o && Equals(o); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.RealtimeSessionsClient.CreateRealtimeSessions.g.cs b/src/libs/Runway/Generated/Runway.RealtimeSessionsClient.CreateRealtimeSessions.g.cs index 4c45c2f..6adbd24 100644 --- a/src/libs/Runway/Generated/Runway.RealtimeSessionsClient.CreateRealtimeSessions.g.cs +++ b/src/libs/Runway/Generated/Runway.RealtimeSessionsClient.CreateRealtimeSessions.g.cs @@ -1,6 +1,8 @@ #nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + namespace Runway { public partial class RealtimeSessionsClient @@ -504,6 +506,9 @@ partial void ProcessCreateRealtimeSessionsResponseContent( /// Tools available to the avatar during the session.
/// Default Value: [] /// + /// + /// External integration. Runway renders the avatar; the integration owns conversation or audio. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -515,6 +520,7 @@ partial void ProcessCreateRealtimeSessionsResponseContent( string? personality = default, string? startScript = default, global::System.Collections.Generic.IList? tools = default, + global::Runway.Integration? integration = default, global::Runway.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -526,6 +532,7 @@ partial void ProcessCreateRealtimeSessionsResponseContent( Personality = personality, StartScript = startScript, Tools = tools, + Integration = integration, }; return await CreateRealtimeSessionsAsync( diff --git a/src/libs/Runway/openapi.json b/src/libs/Runway/openapi.json index 2c7b09f..2980da6 100644 --- a/src/libs/Runway/openapi.json +++ b/src/libs/Runway/openapi.json @@ -5271,6 +5271,89 @@ ], "discriminator": { "propertyName": "type" } } + }, + "integration": { + "description": "External integration. Runway renders the avatar; the integration owns conversation or audio.", + "oneOf": [ + { + "title": "ElevenLabsIntegration", + "description": "ElevenLabs handles conversation; Runway renders the avatar video.", + "type": "object", + "properties": { + "type": { "type": "string", "const": "elevenlabs" }, + "signedUrl": { + "description": "ConvAI signed WebSocket URL (~15 min lifetime).", + "type": "string", + "format": "uri" + } + }, + "required": ["type", "signedUrl"] + }, + { + "title": "LiveKitIntegration", + "description": "Join an external LiveKit room; Runway publishes video, your agent supplies audio.", + "type": "object", + "properties": { + "type": { "type": "string", "const": "livekit" }, + "url": { + "description": "WebSocket URL of the external LiveKit server the avatar worker should join.", + "type": "string", + "format": "uri" + }, + "token": { + "description": "LiveKit access token granting the avatar worker publish rights in the external room.", + "type": "string", + "minLength": 1, + "maxLength": 2048 + }, + "roomName": { + "description": "Name of the external LiveKit room.", + "type": "string", + "minLength": 1, + "maxLength": 256 + }, + "agentIdentity": { + "description": "The participant identity of the customer agent already in the room. When provided, the avatar worker trusts audio published by this identity.", + "type": "string", + "minLength": 1, + "maxLength": 256 + } + }, + "required": ["type", "url", "token", "roomName"] + } + ], + "discriminator": { "propertyName": "type" } + }, + "livekit": { + "deprecated": true, + "description": "Use integration with type \"livekit\" instead.", + "type": "object", + "properties": { + "url": { + "description": "WebSocket URL of the external LiveKit server the avatar worker should join.", + "type": "string", + "format": "uri" + }, + "token": { + "description": "LiveKit access token granting the avatar worker publish rights in the external room.", + "type": "string", + "minLength": 1, + "maxLength": 2048 + }, + "roomName": { + "description": "Name of the external LiveKit room.", + "type": "string", + "minLength": 1, + "maxLength": 256 + }, + "agentIdentity": { + "description": "The participant identity of the customer agent already in the room. When provided, the avatar worker trusts audio published by this identity.", + "type": "string", + "minLength": 1, + "maxLength": 256 + } + }, + "required": ["url", "token", "roomName"] } }, "required": ["model", "avatar"] @@ -10441,6 +10524,84 @@ "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "oneOf": [ + { + "title": "seed_audio", + "type": "object", + "properties": { + "promptText": { + "description": "A non-empty text prompt. For text-to-speech, the words to speak. For text-to-audio, a scene description that can include voice direction, dialogue, music, and sound effects.", + "type": "string", + "minLength": 1, + "maxLength": 2048 + }, + "referenceAudios": { + "description": "Up to three reference audio clips. When provided, reference them in promptText as @Audio1, @Audio2, and @Audio3 in order.", + "maxItems": 3, + "type": "array", + "items": { + "description": "A HTTPS URL, Runway or data URI containing an encoded audio. See [our docs](/assets/inputs#audio) on audio inputs for more information.", + "example": "https://example.com/audio.mp3", + "anyOf": [ + { + "description": "A HTTPS URL.", + "example": "https://example.com/file", + "type": "string", + "minLength": 13, + "maxLength": 2048, + "pattern": "^https:\\/\\/.*" + }, + { + "description": "A Runway upload URI. See https://docs.dev.runwayml.com/assets/uploads for more information.", + "example": "runway://", + "type": "string", + "minLength": 13, + "maxLength": 5000, + "pattern": "^runway:\\/\\/.*" + }, + { + "description": "A data URI containing encoded media.", + "example": "data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==", + "type": "string", + "minLength": 13, + "maxLength": 16777216, + "pattern": "^data:audio\\/.*" + } + ] + } + }, + "speechRate": { + "description": "Relative speech speed. Negative is slower, positive is faster; 0 is normal.", + "type": "integer", + "minimum": -50, + "maximum": 100 + }, + "loudnessRate": { + "description": "Relative output loudness. Negative is quieter, positive is louder; 0 is normal.", + "type": "integer", + "minimum": -50, + "maximum": 100 + }, + "pitchRate": { + "description": "Pitch shift in semitones. Negative lowers, positive raises; 0 is unchanged.", + "type": "integer", + "minimum": -12, + "maximum": 12 + }, + "sampleRate": { + "description": "Output sample rate in Hz.", + "type": "number", + "enum": [8000, 16000, 24000, 32000, 44100, 48000] + }, + "outputFormat": { + "description": "Output audio container/format.", + "type": "string", + "enum": ["wav", "mp3", "ogg_opus"] + }, + "model": { "type": "string", "const": "seed_audio" } + }, + "required": ["promptText", "model"], + "additionalProperties": false + }, { "title": "eleven_text_to_sound_v2", "type": "object", @@ -10774,6 +10935,97 @@ "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "oneOf": [ + { + "title": "seed_audio", + "type": "object", + "properties": { + "promptText": { + "description": "A non-empty text prompt. For text-to-speech, the words to speak. For text-to-audio, a scene description that can include voice direction, dialogue, music, and sound effects.", + "type": "string", + "minLength": 1, + "maxLength": 2048 + }, + "voice": { + "description": "The voice to use for text-to-speech generation. If omitted, a default voice is used.", + "oneOf": [ + { + "title": "SeedReferenceVoice", + "description": "Clone from a single reference audio clip, then speak promptText in that voice.", + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "reference-audio" + }, + "audioUri": { + "description": "A HTTPS URL, Runway or data URI containing an encoded audio. See [our docs](/assets/inputs#audio) on audio inputs for more information.", + "example": "https://example.com/audio.mp3", + "anyOf": [ + { + "description": "A HTTPS URL.", + "example": "https://example.com/file", + "type": "string", + "minLength": 13, + "maxLength": 2048, + "pattern": "^https:\\/\\/.*" + }, + { + "description": "A Runway upload URI. See https://docs.dev.runwayml.com/assets/uploads for more information.", + "example": "runway://", + "type": "string", + "minLength": 13, + "maxLength": 5000, + "pattern": "^runway:\\/\\/.*" + }, + { + "description": "A data URI containing encoded media.", + "example": "data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==", + "type": "string", + "minLength": 13, + "maxLength": 16777216, + "pattern": "^data:audio\\/.*" + } + ] + } + }, + "required": ["type", "audioUri"] + } + ], + "discriminator": { "propertyName": "type" } + }, + "speechRate": { + "description": "Relative speech speed. Negative is slower, positive is faster; 0 is normal.", + "type": "integer", + "minimum": -50, + "maximum": 100 + }, + "loudnessRate": { + "description": "Relative output loudness. Negative is quieter, positive is louder; 0 is normal.", + "type": "integer", + "minimum": -50, + "maximum": 100 + }, + "pitchRate": { + "description": "Pitch shift in semitones. Negative lowers, positive raises; 0 is unchanged.", + "type": "integer", + "minimum": -12, + "maximum": 12 + }, + "sampleRate": { + "description": "Output sample rate in Hz.", + "type": "number", + "enum": [8000, 16000, 24000, 32000, 44100, 48000] + }, + "outputFormat": { + "description": "Output audio container/format.", + "type": "string", + "enum": ["wav", "mp3", "ogg_opus"] + }, + "model": { "type": "string", "const": "seed_audio" } + }, + "required": ["promptText", "model"], + "additionalProperties": false + }, { "title": "eleven_multilingual_v2", "type": "object",