diff --git a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Account.JsonSerializerContext.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Account.JsonSerializerContext.g.cs index 72c6642..7a00fab 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Account.JsonSerializerContext.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Account.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 ThreeDAIStudio { /// /// /// [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/ThreeDAIStudio/Generated/ThreeDAIStudio.Hunyuan.JsonSerializerContext.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Hunyuan.JsonSerializerContext.g.cs index fef033b..cb7bd57 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Hunyuan.JsonSerializerContext.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Hunyuan.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 ThreeDAIStudio { /// /// /// [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/ThreeDAIStudio/Generated/ThreeDAIStudio.JsonSerializerContext.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.JsonSerializerContext.g.cs index c890047..ed3d5c2 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.JsonSerializerContext.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.JsonSerializerContext.g.cs @@ -1,14 +1,12 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace ThreeDAIStudio { /// /// /// + #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[] @@ -69,6 +67,7 @@ namespace ThreeDAIStudio typeof(global::ThreeDAIStudio.JsonConverters.UnixTimestampJsonConverter), })] + #pragma warning restore CS3016 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ThreeDAIStudio.JsonSerializerContextTypes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ThreeDAIStudio.WalletResponse))] diff --git a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.OptionsSupport.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.OptionsSupport.g.cs index d7d20a6..0c81a7e 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.OptionsSupport.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.OptionsSupport.g.cs @@ -241,7 +241,8 @@ public sealed class AutoSDKAuthorizationProviderHook : global::ThreeDAIStudio.Au { 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::ThreeDAIStudio.Au { for (var index = 0; index < perRequest.Count; index++) { - ApplyAuthorization(context.Request, perRequest[index]); + ApplyAuthorization(request, perRequest[index]); } - global::ThreeDAIStudio.AutoSDKHttpRequestOptions.StampAuthorizationOverride(context.Request); + global::ThreeDAIStudio.AutoSDKHttpRequestOptions.StampAuthorizationOverride(request); return; } @@ -272,10 +273,10 @@ public sealed class AutoSDKAuthorizationProviderHook : global::ThreeDAIStudio.Au for (var index = 0; index < resolved.Count; index++) { - ApplyAuthorization(context.Request, resolved[index]); + ApplyAuthorization(request, resolved[index]); } - global::ThreeDAIStudio.AutoSDKHttpRequestOptions.StampAuthorizationOverride(context.Request); + global::ThreeDAIStudio.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::ThreeDAIStudio.AutoSDKClientOptions ClientOptions { get; set; } = null!; + public global::ThreeDAIStudio.AutoSDKClientOptions? ClientOptions { get; set; } /// /// The per-request runtime options. diff --git a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Tasks.JsonSerializerContext.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Tasks.JsonSerializerContext.g.cs index afa31e1..f5a96f0 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Tasks.JsonSerializerContext.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Tasks.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 ThreeDAIStudio { /// /// /// [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/ThreeDAIStudio/Generated/ThreeDAIStudio.Tools.JsonSerializerContext.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Tools.JsonSerializerContext.g.cs index 2fd6d38..0e93771 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Tools.JsonSerializerContext.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Tools.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 ThreeDAIStudio { /// /// /// [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/ThreeDAIStudio/Generated/ThreeDAIStudio.Trellis.JsonSerializerContext.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Trellis.JsonSerializerContext.g.cs index 9bee243..bcdb418 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Trellis.JsonSerializerContext.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.Trellis.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 ThreeDAIStudio { /// /// /// [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")]