From 7607b93a10dbc182610ef3481f18997d13deb3d9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 28 Sep 2026 12:41:51 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...yGen.CreateVideoApi.JsonSerializerContext.g.cs | 9 ++------- .../Generated/HeyGen.JsonSerializerContext.g.cs | 5 ++--- .../HeyGen/Generated/HeyGen.OptionsSupport.g.cs | 15 ++++++++------- ...n.PersonalizedVideo.JsonSerializerContext.g.cs | 9 ++------- ...HeyGen.StreamingApi.JsonSerializerContext.g.cs | 9 ++------- .../HeyGen.TemplateApi.JsonSerializerContext.g.cs | 9 ++------- ...n.VideoTranslateApi.JsonSerializerContext.g.cs | 9 ++------- .../HeyGen.Webhooks.JsonSerializerContext.g.cs | 9 ++------- 8 files changed, 22 insertions(+), 52 deletions(-) diff --git a/src/libs/HeyGen/Generated/HeyGen.CreateVideoApi.JsonSerializerContext.g.cs b/src/libs/HeyGen/Generated/HeyGen.CreateVideoApi.JsonSerializerContext.g.cs index 3cea4f7..5f0d423 100644 --- a/src/libs/HeyGen/Generated/HeyGen.CreateVideoApi.JsonSerializerContext.g.cs +++ b/src/libs/HeyGen/Generated/HeyGen.CreateVideoApi.JsonSerializerContext.g.cs @@ -1,19 +1,14 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace HeyGen { /// /// /// [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] diff --git a/src/libs/HeyGen/Generated/HeyGen.JsonSerializerContext.g.cs b/src/libs/HeyGen/Generated/HeyGen.JsonSerializerContext.g.cs index 59ff8a3..2880a37 100644 --- a/src/libs/HeyGen/Generated/HeyGen.JsonSerializerContext.g.cs +++ b/src/libs/HeyGen/Generated/HeyGen.JsonSerializerContext.g.cs @@ -1,20 +1,19 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace HeyGen { /// /// /// + #pragma warning disable CS3016 // Converter type array in this attribute is not CLS-compliant. [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { typeof(global::HeyGen.JsonConverters.UnixTimestampJsonConverter), })] + #pragma warning restore CS3016 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HeyGen.JsonSerializerContextTypes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HeyGen.V2VideoGenerateRequest))] diff --git a/src/libs/HeyGen/Generated/HeyGen.OptionsSupport.g.cs b/src/libs/HeyGen/Generated/HeyGen.OptionsSupport.g.cs index af17faa..58f296f 100644 --- a/src/libs/HeyGen/Generated/HeyGen.OptionsSupport.g.cs +++ b/src/libs/HeyGen/Generated/HeyGen.OptionsSupport.g.cs @@ -241,7 +241,8 @@ public sealed class AutoSDKAuthorizationProviderHook : global::HeyGen.AutoSDKHoo { context = context ?? throw new global::System.ArgumentNullException(nameof(context)); - if (context.Request == null) + var request = context.Request; + if (request == null) { return; } @@ -251,10 +252,10 @@ public sealed class AutoSDKAuthorizationProviderHook : global::HeyGen.AutoSDKHoo { for (var index = 0; index < perRequest.Count; index++) { - ApplyAuthorization(context.Request, perRequest[index]); + ApplyAuthorization(request, perRequest[index]); } - global::HeyGen.AutoSDKHttpRequestOptions.StampAuthorizationOverride(context.Request); + global::HeyGen.AutoSDKHttpRequestOptions.StampAuthorizationOverride(request); return; } @@ -272,10 +273,10 @@ public sealed class AutoSDKAuthorizationProviderHook : global::HeyGen.AutoSDKHoo for (var index = 0; index < resolved.Count; index++) { - ApplyAuthorization(context.Request, resolved[index]); + ApplyAuthorization(request, resolved[index]); } - global::HeyGen.AutoSDKHttpRequestOptions.StampAuthorizationOverride(context.Request); + global::HeyGen.AutoSDKHttpRequestOptions.StampAuthorizationOverride(request); } private static void ApplyAuthorization( @@ -486,7 +487,7 @@ public sealed class AutoSDKHookContext /// /// The outgoing HTTP request for the current attempt. /// - public global::System.Net.Http.HttpRequestMessage Request { get; set; } = null!; + public global::System.Net.Http.HttpRequestMessage? Request { get; set; } /// /// The HTTP response when one was received. @@ -501,7 +502,7 @@ public sealed class AutoSDKHookContext /// /// The client-wide runtime options. /// - public global::HeyGen.AutoSDKClientOptions ClientOptions { get; set; } = null!; + public global::HeyGen.AutoSDKClientOptions? ClientOptions { get; set; } /// /// The per-request runtime options. diff --git a/src/libs/HeyGen/Generated/HeyGen.PersonalizedVideo.JsonSerializerContext.g.cs b/src/libs/HeyGen/Generated/HeyGen.PersonalizedVideo.JsonSerializerContext.g.cs index 3428ada..611177e 100644 --- a/src/libs/HeyGen/Generated/HeyGen.PersonalizedVideo.JsonSerializerContext.g.cs +++ b/src/libs/HeyGen/Generated/HeyGen.PersonalizedVideo.JsonSerializerContext.g.cs @@ -1,19 +1,14 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace HeyGen { /// /// /// [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] diff --git a/src/libs/HeyGen/Generated/HeyGen.StreamingApi.JsonSerializerContext.g.cs b/src/libs/HeyGen/Generated/HeyGen.StreamingApi.JsonSerializerContext.g.cs index 47b2dcf..196735e 100644 --- a/src/libs/HeyGen/Generated/HeyGen.StreamingApi.JsonSerializerContext.g.cs +++ b/src/libs/HeyGen/Generated/HeyGen.StreamingApi.JsonSerializerContext.g.cs @@ -1,19 +1,14 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace HeyGen { /// /// /// [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] diff --git a/src/libs/HeyGen/Generated/HeyGen.TemplateApi.JsonSerializerContext.g.cs b/src/libs/HeyGen/Generated/HeyGen.TemplateApi.JsonSerializerContext.g.cs index e3782ac..0f3aa84 100644 --- a/src/libs/HeyGen/Generated/HeyGen.TemplateApi.JsonSerializerContext.g.cs +++ b/src/libs/HeyGen/Generated/HeyGen.TemplateApi.JsonSerializerContext.g.cs @@ -1,19 +1,14 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace HeyGen { /// /// /// [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] diff --git a/src/libs/HeyGen/Generated/HeyGen.VideoTranslateApi.JsonSerializerContext.g.cs b/src/libs/HeyGen/Generated/HeyGen.VideoTranslateApi.JsonSerializerContext.g.cs index 6ee79bb..39b424b 100644 --- a/src/libs/HeyGen/Generated/HeyGen.VideoTranslateApi.JsonSerializerContext.g.cs +++ b/src/libs/HeyGen/Generated/HeyGen.VideoTranslateApi.JsonSerializerContext.g.cs @@ -1,19 +1,14 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace HeyGen { /// /// /// [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] diff --git a/src/libs/HeyGen/Generated/HeyGen.Webhooks.JsonSerializerContext.g.cs b/src/libs/HeyGen/Generated/HeyGen.Webhooks.JsonSerializerContext.g.cs index 72509a5..da4d12f 100644 --- a/src/libs/HeyGen/Generated/HeyGen.Webhooks.JsonSerializerContext.g.cs +++ b/src/libs/HeyGen/Generated/HeyGen.Webhooks.JsonSerializerContext.g.cs @@ -1,19 +1,14 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace HeyGen { /// /// /// [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")]