From fc00142b5db071a6890e6896305a4472b31cd7b9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 Jul 2026 22:04:24 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...el.IProjectsClient.CreateTraceSession.g.cs | 76 +++ ...ercel.IProjectsClient.GetProjectTrace.g.cs | 64 ++ ...Vercel.JsonSerializerContext.Chunk002.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk003.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk004.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk005.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk006.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk007.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk008.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk009.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk010.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk011.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk012.g.cs | 2 +- ...Vercel.JsonSerializerContext.Chunk013.g.cs | 22 +- ...Vercel.JsonSerializerContext.Chunk014.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk015.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk016.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk017.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk018.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk019.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk020.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk021.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk022.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk023.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk024.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk025.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk026.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk027.g.cs | 24 +- ...Vercel.JsonSerializerContext.Chunk028.g.cs | 30 +- ...Vercel.JsonSerializerContext.Chunk029.g.cs | 15 + ...Models.CreateTraceSessionRequest.Json.g.cs | 141 ++++ ...rcel.Models.CreateTraceSessionRequest.g.cs | 59 ++ ...odels.CreateTraceSessionResponse.Json.g.cs | 141 ++++ ...cel.Models.CreateTraceSessionResponse.g.cs | 45 ++ ...l.Models.GetProjectTraceResponse.Json.g.cs | 141 ++++ ...Vercel.Models.GetProjectTraceResponse.g.cs | 45 ++ ...els.GetProjectTraceResponseTrace.Json.g.cs | 141 ++++ ...l.Models.GetProjectTraceResponseTrace.g.cs | 73 ++ ...rojectTraceResponseTraceResource.Json.g.cs | 141 ++++ ....GetProjectTraceResponseTraceResource.g.cs | 55 ++ ...eResponseTraceResourceAttributes.Json.g.cs | 141 ++++ ...tTraceResponseTraceResourceAttributes.g.cs | 19 + ...GetProjectTraceResponseTraceSpan.Json.g.cs | 141 ++++ ...dels.GetProjectTraceResponseTraceSpan.g.cs | 174 +++++ ...TraceResponseTraceSpanAttributes.Json.g.cs | 141 ++++ ...ojectTraceResponseTraceSpanAttributes.g.cs | 19 + ...ojectTraceResponseTraceSpanEvent.Json.g.cs | 141 ++++ ...GetProjectTraceResponseTraceSpanEvent.g.cs | 65 ++ ...ResponseTraceSpanEventAttributes.Json.g.cs | 141 ++++ ...TraceResponseTraceSpanEventAttributes.g.cs | 19 + ...ectTraceResponseTraceSpanLibrary.Json.g.cs | 141 ++++ ...tProjectTraceResponseTraceSpanLibrary.g.cs | 54 ++ ...rojectTraceResponseTraceSpanLink.Json.g.cs | 141 ++++ ....GetProjectTraceResponseTraceSpanLink.g.cs | 19 + ...jectTraceResponseTraceSpanStatus.Json.g.cs | 141 ++++ ...etProjectTraceResponseTraceSpanStatus.g.cs | 45 ++ ...cel.ProjectsClient.CreateTraceSession.g.cs | 635 ++++++++++++++++++ ...Vercel.ProjectsClient.GetProjectTrace.g.cs | 575 ++++++++++++++++ src/libs/Vercel/openapi.yaml | 369 ++++++++++ 59 files changed, 4463 insertions(+), 205 deletions(-) create mode 100644 src/libs/Vercel/Generated/Vercel.IProjectsClient.CreateTraceSession.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.IProjectsClient.GetProjectTrace.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionRequest.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionRequest.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionResponse.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionResponse.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponse.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponse.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTrace.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTrace.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResource.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResource.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResourceAttributes.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResourceAttributes.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpan.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpan.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanAttributes.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanAttributes.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEvent.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEvent.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEventAttributes.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEventAttributes.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLibrary.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLibrary.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLink.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLink.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanStatus.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanStatus.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.ProjectsClient.CreateTraceSession.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.ProjectsClient.GetProjectTrace.g.cs diff --git a/src/libs/Vercel/Generated/Vercel.IProjectsClient.CreateTraceSession.g.cs b/src/libs/Vercel/Generated/Vercel.IProjectsClient.CreateTraceSession.g.cs new file mode 100644 index 00000000..17576ebe --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.IProjectsClient.CreateTraceSession.g.cs @@ -0,0 +1,76 @@ +#nullable enable + +namespace Vercel +{ + public partial interface IProjectsClient + { + /// + /// Create a trace session token for a deployment
+ /// Mints a short-lived HS256 JWT scoped to a deployment hostname. The Vercel CLI presents this JWT to the Vercel proxy on requests it wants traced. + ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTraceSessionAsync( + + global::Vercel.CreateTraceSessionRequest request, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create a trace session token for a deployment
+ /// Mints a short-lived HS256 JWT scoped to a deployment hostname. The Vercel CLI presents this JWT to the Vercel proxy on requests it wants traced. + ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateTraceSessionAsResponseAsync( + + global::Vercel.CreateTraceSessionRequest request, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create a trace session token for a deployment
+ /// Mints a short-lived HS256 JWT scoped to a deployment hostname. The Vercel CLI presents this JWT to the Vercel proxy on requests it wants traced. + ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// + /// The project ID the deployment belongs to. + /// + /// + /// The deployment hostname to scope the trace session to. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTraceSessionAsync( + string projectId, + string hostname, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.IProjectsClient.GetProjectTrace.g.cs b/src/libs/Vercel/Generated/Vercel.IProjectsClient.GetProjectTrace.g.cs new file mode 100644 index 00000000..0b3b23e6 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.IProjectsClient.GetProjectTrace.g.cs @@ -0,0 +1,64 @@ +#nullable enable + +namespace Vercel +{ + public partial interface IProjectsClient + { + /// + /// Get a project trace by request ID
+ /// Returns the OTEL trace for a given Vercel CLI request. + ///
+ /// + /// The project ID
+ /// Example: prj_123 + /// + /// + /// The Vercel CLI request ID associated with the trace
+ /// Example: cli-req-abc + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetProjectTraceAsync( + string projectId, + string requestId, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get a project trace by request ID
+ /// Returns the OTEL trace for a given Vercel CLI request. + ///
+ /// + /// The project ID
+ /// Example: prj_123 + /// + /// + /// The Vercel CLI request ID associated with the trace
+ /// Example: cli-req-abc + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetProjectTraceAsResponseAsync( + string projectId, + string requestId, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs index f012fb8c..535c7d9f 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs @@ -7466,6 +7466,7 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectRequestResourceConfigBuildMachineElasticReason), TypeInfoPropertyName = "CreateProjectRequestResourceConfigBuildMachineElasticReason2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectRequestResourceConfigBuildQueue))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectRequestResourceConfigBuildQueueConfiguration), TypeInfoPropertyName = "CreateProjectRequestResourceConfigBuildQueueConfiguration2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateTraceSessionRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestFramework), TypeInfoPropertyName = "UpdateProjectRequestFramework2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestNodeVersion), TypeInfoPropertyName = "UpdateProjectRequestNodeVersion2")] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRuleActionMitigate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRuleActionMitigateAction), TypeInfoPropertyName = "PutFirewallConfigRequestRuleActionMitigateAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf), TypeInfoPropertyName = "AnyOfPutFirewallConfigRequestRuleActionMitigateRateLimitVariant1Object2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRuleActionMitigateRateLimitVariant1))] internal sealed partial class SourceGenerationContextChunk002 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk003.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk003.g.cs index ac14f7d4..beaee9a0 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk003.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk003.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRuleActionMitigateRateLimitVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRuleActionMitigateRateLimitVariant1Algo), TypeInfoPropertyName = "PutFirewallConfigRequestRuleActionMitigateRateLimitVariant1Algo2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf), TypeInfoPropertyName = "AnyOfPutFirewallConfigRequestRuleActionMitigateRateLimitVariant1ActionEnumObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRuleActionMitigateRateLimitVariant1ActionEnum), TypeInfoPropertyName = "PutFirewallConfigRequestRuleActionMitigateRateLimitVariant1ActionEnum2")] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfGetProjectCheckResponseSourceVariant1GetProjectCheckResponseSourceVariant2GetProjectCheckResponseSourceVariant32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectCheckResponseSourceVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectCheckResponseSourceVariant1Kind), TypeInfoPropertyName = "GetProjectCheckResponseSourceVariant1Kind2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectCheckResponseSourceVariant2))] internal sealed partial class SourceGenerationContextChunk003 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk004.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk004.g.cs index a87d4ed8..083603d4 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk004.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk004.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectCheckResponseSourceVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectCheckResponseSourceVariant2Kind), TypeInfoPropertyName = "GetProjectCheckResponseSourceVariant2Kind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectCheckResponseSourceVariant3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectCheckResponseSourceVariant3Kind), TypeInfoPropertyName = "GetProjectCheckResponseSourceVariant3Kind2")] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant1BuilderConfigFunctionsExperimentalTriggerVariant2_c80f1b88e01a422c")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant1BuilderConfigFunctionsExperimentalTriggerVariant2_1090c9bcc1796467")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant1BuilderConfigFunctionsExperimentalTriggerVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant1BuilderConfigFunctionsExperimentalTriggerVariant1Type), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant1BuilderConfigFunctionsExperimentalTriggerVariant1Type2")] internal sealed partial class SourceGenerationContextChunk004 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk005.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk005.g.cs index 4eeefbb6..7a4215b2 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk005.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk005.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant1BuilderConfigFunctionsExperimentalTriggerVariant1Type), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant1BuilderConfigFunctionsExperimentalTriggerVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant1BuilderConfigFunctionsExperimentalTriggerVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant1BuilderConfigFunctionsExperimentalTriggerVariant2Type), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant1BuilderConfigFunctionsExperimentalTriggerVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant1BuilderConfigProjectSettings))] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2HeaderMissingItemVariant1Value))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2HeaderMissingItemVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2HeaderMissingItemVariant2Type), TypeInfoPropertyName = "CreateDeploymentResponseServiceVariant2HeaderMissingItemVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringCreateDeploymentResponseServiceVariant2HeaderMissingItemVariant2Value2")] internal sealed partial class SourceGenerationContextChunk005 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk006.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk006.g.cs index 054bdea4..13bb75f4 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk006.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk006.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringCreateDeploymentResponseServiceVariant2HeaderMissingItemVariant2Value2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2HeaderMissingItemVariant2Value))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2Redirect))] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseSeatBlock))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseSeatBlockBlockCode), TypeInfoPropertyName = "CancelDeploymentResponseSeatBlockBlockCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseSeatBlockGitProvider), TypeInfoPropertyName = "CancelDeploymentResponseSeatBlockGitProvider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseAttribution))] internal sealed partial class SourceGenerationContextChunk006 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk007.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk007.g.cs index 07f4b3ea..0c6f711f 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk007.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk007.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseAttribution))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseAttributionCommitMeta))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseAttributionGitUser))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseAttributionVercelUser))] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemSourceVariant2Kind), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant1ItemSourceVariant2Kind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemFilterV2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemFilterV2Version), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant1ItemFilterV2Version2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfGetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant1GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant22")] internal sealed partial class SourceGenerationContextChunk007 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk008.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk008.g.cs index 88115213..a640cad6 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk008.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk008.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfGetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant1GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant1Type), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant1Project))] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperiment))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentGuardrailMetric))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentGuardrailMetricMetricType), TypeInfoPropertyName = "UpdateFlagResponseExperimentGuardrailMetricMetricType2")] internal sealed partial class SourceGenerationContextChunk008 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk009.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk009.g.cs index 4374d9e2..ccc8f389 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk009.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk009.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentGuardrailMetricMetricType), TypeInfoPropertyName = "UpdateFlagResponseExperimentGuardrailMetricMetricType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentGuardrailMetricMetricUnit), TypeInfoPropertyName = "UpdateFlagResponseExperimentGuardrailMetricMetricUnit2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentGuardrailMetricDirectionality), TypeInfoPropertyName = "UpdateFlagResponseExperimentGuardrailMetricDirectionality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentDevice), TypeInfoPropertyName = "UpdateFlagResponseExperimentDevice2")] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiReadOnlyEnum))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiReadOnlyEnum2), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiReadOnlyEnum22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiHiddenEnum2_5811f1bca3df20de")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiHiddenEnum))] internal sealed partial class SourceGenerationContextChunk009 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk010.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk010.g.cs index 75a980b1..aa62d0cd 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk010.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk010.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiHiddenEnum))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiHiddenEnum2), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiHiddenEnum22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiDisabledEnum2_52709748df345117")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiDisabledEnum))] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectDeploymentPolicyDeploymentSourceEnvironmentVariant2Type), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectDeploymentPolicyDeploymentSourceEnvironmentVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectFlatRateTier), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectFlatRateTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectUsageStatus))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectUsageStatusKind), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectUsageStatusKind2")] internal sealed partial class SourceGenerationContextChunk010 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk011.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk011.g.cs index 2b4ce38a..82c93311 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk011.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk011.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectUsageStatusKind), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectUsageStatusKind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectFeatures))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemTrustedSourcesProjectsCustomAllowItemToVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemTrustedSourcesProjectsCustomAllowItemToVariant2Preset), TypeInfoPropertyName = "GetProjectsResponseVariant1ItemTrustedSourcesProjectsCustomAllowItemToVariant2Preset2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] internal sealed partial class SourceGenerationContextChunk011 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk012.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk012.g.cs index e1c82801..f8aa90e9 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk012.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk012.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemTrustedSourcesOidcProvider))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetProjectsResponseVariant1ItemTrustedSourcesOidcProviderToVariant2_9ab7e60373530fc0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemTrustedSourcesOidcProviderToVariant1))] @@ -7759,7 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectLinkVariant5Type), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectLinkVariant5Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectLinkVariant5DeployHook))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectLinkVariant6))] internal sealed partial class SourceGenerationContextChunk012 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk013.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk013.g.cs index 69a2b518..b1bacaff 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk013.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk013.g.cs @@ -7260,6 +7260,7 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectLinkVariant6))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectLinkVariant6Type), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectLinkVariant6Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectLinkVariant6DeployHook))] @@ -7480,6 +7481,16 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectTracingSamplingRuleDestination), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectTracingSamplingRuleDestination2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfGetProjectsResponseVariant3PaginationPagination2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3Pagination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectTraceResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectTraceResponseTrace))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectTraceResponseTraceResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectTraceResponseTraceSpan))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectTraceResponseTraceSpanLibrary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectTraceResponseTraceSpanStatus))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectTraceResponseTraceSpanEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateProjectResponseCreatorVariant4_9ee342fa07eb0e7f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseCreatorVariant1))] @@ -7749,17 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseUsageStatusKind), TypeInfoPropertyName = "CreateProjectResponseUsageStatusKind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseFeatures))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseHistoryItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlock))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockAction), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4_38e9f98ee45361c9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4_abcc33f9273f25aa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant1Action), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant1Action2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant2Action), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant2Action2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant3))] internal sealed partial class SourceGenerationContextChunk013 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk014.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk014.g.cs index dbb91b8f..f25b64ee 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk014.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk014.g.cs @@ -7260,6 +7260,17 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseHistoryItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlock))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockAction), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4_38e9f98ee45361c9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4_abcc33f9273f25aa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant1Action), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant1Action2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant2Action), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant2Action2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant3Action), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant3Action2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant3RouteVariant2_f3f6ec20969b710d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant3RouteVariant1))] @@ -7319,6 +7330,7 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTracingSamplingRule))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTracingSamplingRuleEnv), TypeInfoPropertyName = "CreateProjectResponseTracingSamplingRuleEnv2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTracingSamplingRuleDestination), TypeInfoPropertyName = "CreateProjectResponseTracingSamplingRuleDestination2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateTraceSessionResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectResponseIntegration))] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeployment))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentAliasError))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentBranchMatcher))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentBranchMatcherType), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentBranchMatcherType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentBuild))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentChecksConclusion), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentChecksConclusion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentChecksState), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentChecksState2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentCreator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentOidcTokenClaims))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentPlan), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentPlan2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentReadyState), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentReadyState2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentReadySubstate), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentReadySubstate2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentType), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UpdateProjectResponseLinkVariant6_90b678a7baba6fd6")] internal sealed partial class SourceGenerationContextChunk014 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk015.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk015.g.cs index 720cc78a..53cb7579 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk015.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk015.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentBranchMatcherType), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentBranchMatcherType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentBuild))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentChecksConclusion), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentChecksConclusion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentChecksState), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentChecksState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentCreator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentOidcTokenClaims))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentPlan), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentPlan2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentReadyState), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentReadyState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentReadySubstate), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentReadySubstate2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLatestDeploymentType), TypeInfoPropertyName = "UpdateProjectResponseLatestDeploymentType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UpdateProjectResponseLinkVariant6_90b678a7baba6fd6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant1Type), TypeInfoPropertyName = "UpdateProjectResponseLinkVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2_bfdb56927bd62b22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2_dd87f0877577bf06")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Type), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Target), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Target2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2Type), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceSource), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2_ff80e83f805508fb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2_5dd97fb62d7b55b8")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Type), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Type2")] internal sealed partial class SourceGenerationContextChunk015 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk016.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk016.g.cs index e837c36c..52394bca 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk016.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk016.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Type), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Target), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Target2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2Type), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceSource), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2_ff80e83f805508fb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2_5dd97fb62d7b55b8")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Type), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Target), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Target2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2Type), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2Type2")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseBlobs))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UpdateMicrofrontendsResponseMicrofrontendsVariant3_dfd7e8b4f8d8c19c")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseMicrofrontendsVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseMicrofrontendsVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseMicrofrontendsVariant3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseNodeVersion), TypeInfoPropertyName = "UpdateMicrofrontendsResponseNodeVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseOptionsAllowlist))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseOptionsAllowlistPath))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponsePassport))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponsePassportDeploymentType), TypeInfoPropertyName = "UpdateMicrofrontendsResponsePassportDeploymentType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseProtectionConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseProtectionConfigSandboxUrls))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseResourceConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseResourceConfigFunctionDefaultMemoryType), TypeInfoPropertyName = "UpdateMicrofrontendsResponseResourceConfigFunctionDefaultMemoryType2")] internal sealed partial class SourceGenerationContextChunk016 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk017.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk017.g.cs index 3f9281f6..29f1121b 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk017.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk017.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseMicrofrontendsVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseMicrofrontendsVariant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseNodeVersion), TypeInfoPropertyName = "UpdateMicrofrontendsResponseNodeVersion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseOptionsAllowlist))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseOptionsAllowlistPath))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponsePassport))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponsePassportDeploymentType), TypeInfoPropertyName = "UpdateMicrofrontendsResponsePassportDeploymentType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseProtectionConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseProtectionConfigSandboxUrls))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseResourceConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseResourceConfigFunctionDefaultMemoryType), TypeInfoPropertyName = "UpdateMicrofrontendsResponseResourceConfigFunctionDefaultMemoryType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseResourceConfigBuildMachineType), TypeInfoPropertyName = "UpdateMicrofrontendsResponseResourceConfigBuildMachineType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseResourceConfigBuildMachineSelection), TypeInfoPropertyName = "UpdateMicrofrontendsResponseResourceConfigBuildMachineSelection2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseResourceConfigBuildMachineElasticReason), TypeInfoPropertyName = "UpdateMicrofrontendsResponseResourceConfigBuildMachineElasticReason2")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetStorageStoresByIdResponseStoreProjectFilterGit))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.GetStorageStoresByIdResponseStoreProjectFilterGitProviders?>), TypeInfoPropertyName = "GetStorageStoresByIdResponseStoreProjectFilterGitProviders_0a34ff62f0ff0f26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetStorageStoresByIdResponseStoreProjectFilterGitProvider), TypeInfoPropertyName = "GetStorageStoresByIdResponseStoreProjectFilterGitProvider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetStorageStoresByIdResponseStoreProjectFilterGitProviders), TypeInfoPropertyName = "GetStorageStoresByIdResponseStoreProjectFilterGitProviders2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetStorageStoresByIdResponseStoreStatus), TypeInfoPropertyName = "GetStorageStoresByIdResponseStoreStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStore))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectsMetadataItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectsMetadataItemFramework), TypeInfoPropertyName = "CreateStorageStoresBlobResponseStoreProjectsMetadataItemFramework2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectsMetadataItemDeployments))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectsMetadataItemDeploymentsAction))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] internal sealed partial class SourceGenerationContextChunk017 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk018.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk018.g.cs index ff6fa99c..a1f5adf5 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk018.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk018.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetStorageStoresByIdResponseStoreProjectFilterGitProvider), TypeInfoPropertyName = "GetStorageStoresByIdResponseStoreProjectFilterGitProvider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetStorageStoresByIdResponseStoreProjectFilterGitProviders), TypeInfoPropertyName = "GetStorageStoresByIdResponseStoreProjectFilterGitProviders2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetStorageStoresByIdResponseStoreStatus), TypeInfoPropertyName = "GetStorageStoresByIdResponseStoreStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStore))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectsMetadataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectsMetadataItemFramework), TypeInfoPropertyName = "CreateStorageStoresBlobResponseStoreProjectsMetadataItemFramework2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectsMetadataItemDeployments))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectsMetadataItemDeploymentsAction))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectsMetadataItemDeploymentsActionEnvironment), TypeInfoPropertyName = "CreateStorageStoresBlobResponseStoreProjectsMetadataItemDeploymentsActionEnvironment2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectFilter))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateStorageStoresBlobResponseStoreProjectFilterGit))] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListAliasesResponseAliaseMicrofrontendsApplicationsVariant1Item))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListAliasesResponseAliaseMicrofrontendsApplicationsVariant2Item))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListAliasesResponseAliaseMicrofrontendsApplicationsVariant3Item))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseCreator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseDeployment))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetAliasResponseProtectionBypassVariant4_0e055b191fd1db41")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant1Scope), TypeInfoPropertyName = "GetAliasResponseProtectionBypassVariant1Scope2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant2Access), TypeInfoPropertyName = "GetAliasResponseProtectionBypassVariant2Access2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant2Scope), TypeInfoPropertyName = "GetAliasResponseProtectionBypassVariant2Scope2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant3))] internal sealed partial class SourceGenerationContextChunk018 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk019.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk019.g.cs index aa6fff80..412b396d 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk019.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk019.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListAliasesResponseAliaseMicrofrontendsApplicationsVariant3Item))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseCreator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseDeployment))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetAliasResponseProtectionBypassVariant4_0e055b191fd1db41")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant1Scope), TypeInfoPropertyName = "GetAliasResponseProtectionBypassVariant1Scope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant2Access), TypeInfoPropertyName = "GetAliasResponseProtectionBypassVariant2Access2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant2Scope), TypeInfoPropertyName = "GetAliasResponseProtectionBypassVariant2Scope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant3Scope), TypeInfoPropertyName = "GetAliasResponseProtectionBypassVariant3Scope2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetAliasResponseProtectionBypassVariant4Scope), TypeInfoPropertyName = "GetAliasResponseProtectionBypassVariant4Scope2")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestTrustedIpsDeploymentType?), TypeInfoPropertyName = "NullableUpdateProjectRequestTrustedIpsDeploymentType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestTrustedIpsProtectionMode?), TypeInfoPropertyName = "NullableUpdateProjectRequestTrustedIpsProtectionMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestTrustedSourcesProjectsCustomAllowItemToPreset?), TypeInfoPropertyName = "NullableUpdateProjectRequestTrustedSourcesProjectsCustomAllowItemToPreset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestTrustedSourcesProjectsCustomAllowItemFromPreset?), TypeInfoPropertyName = "NullableUpdateProjectRequestTrustedSourcesProjectsCustomAllowItemFromPreset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestTrustedSourcesOidcProviderToPreset?), TypeInfoPropertyName = "NullableUpdateProjectRequestTrustedSourcesOidcProviderToPreset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "NullableAnyOfUpdateProjectRequestDeploymentPolicyString2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf, string>?), TypeInfoPropertyName = "NullableAnyOfIListUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemString2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant2_9cf871864ea86a79")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant1Type?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant1Target?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant1Target2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant2Type?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemSourceVariant2_2e4d4aa3a6ec170b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemSourceVariant1Provider?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemSourceVariant1Provider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemSourceVariant2Provider?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemSourceVariant2Provider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf, string>?), TypeInfoPropertyName = "NullableAnyOfIListUpdateProjectRequestDeploymentPolicyDeploymentSourcesVariant1ItemString2")] internal sealed partial class SourceGenerationContextChunk019 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk020.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk020.g.cs index f670f9f6..ba645e0b 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk020.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk020.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestTrustedSourcesProjectsCustomAllowItemFromPreset?), TypeInfoPropertyName = "NullableUpdateProjectRequestTrustedSourcesProjectsCustomAllowItemFromPreset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestTrustedSourcesOidcProviderToPreset?), TypeInfoPropertyName = "NullableUpdateProjectRequestTrustedSourcesOidcProviderToPreset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "NullableAnyOfUpdateProjectRequestDeploymentPolicyString2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf, string>?), TypeInfoPropertyName = "NullableAnyOfIListUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemString2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant2_9cf871864ea86a79")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant1Type?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant1Target?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant1Target2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant2Type?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemEnvironmentVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemSourceVariant2_2e4d4aa3a6ec170b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemSourceVariant1Provider?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemSourceVariant1Provider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemSourceVariant2Provider?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyGitSourcesVariant1ItemSourceVariant2Provider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf, string>?), TypeInfoPropertyName = "NullableAnyOfIListUpdateProjectRequestDeploymentPolicyDeploymentSourcesVariant1ItemString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "UpdateProjectRequestDeploymentPolicyDeploymentSourcesVariant1ItemEnvironmentVariant2_9d7378440ce4fb5d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyDeploymentSourcesVariant1ItemEnvironmentVariant1Type?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyDeploymentSourcesVariant1ItemEnvironmentVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectRequestDeploymentPolicyDeploymentSourcesVariant1ItemEnvironmentVariant1Target?), TypeInfoPropertyName = "NullableUpdateProjectRequestDeploymentPolicyDeploymentSourcesVariant1ItemEnvironmentVariant1Target2")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant5Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant5Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant6Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant6Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant7Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant7Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant8Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant8Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant9Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant9Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant10Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant10Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant11Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant11Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant12Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant12Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant13Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant13Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant14Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant14Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant15Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant15Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant16Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant16Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant17Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant17Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ManualProvisioningState?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ManualProvisioningState2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1NodeVersion?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1NodeVersion2")] internal sealed partial class SourceGenerationContextChunk020 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk021.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk021.g.cs index b3d36722..503ff61f 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk021.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk021.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant8Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant8Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant9Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant9Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant10Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant10Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant11Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant11Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant12Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant12Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant13Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant13Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant14Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant14Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant15Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant15Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant16Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant16Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1GitSourceVariant17Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1GitSourceVariant17Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ManualProvisioningState?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ManualProvisioningState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1NodeVersion?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1NodeVersion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ReadySubstate?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ReadySubstate2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1Source?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1Source2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1Target?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1Target2")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseServiceVariant2RouteVariant1TransformVariant2Type?), TypeInfoPropertyName = "NullableCancelDeploymentResponseServiceVariant2RouteVariant1TransformVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseServiceVariant2RouteVariant1TransformVariant2Op?), TypeInfoPropertyName = "NullableCancelDeploymentResponseServiceVariant2RouteVariant1TransformVariant2Op2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringCancelDeploymentResponseServiceVariant2RouteVariant1Destination2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseServiceVariant2RouteVariant1DestinationType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseServiceVariant2RouteVariant1DestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseServiceVariant2RouteVariant2Handle?), TypeInfoPropertyName = "NullableCancelDeploymentResponseServiceVariant2RouteVariant2Handle2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CancelDeploymentResponseGitRepoVariant4_30d08766f034c34e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant1Type?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant1OwnerType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant1OwnerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant2Type?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant2OwnerType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant2OwnerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant3Type?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant3Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant3OwnerType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant3OwnerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant4Type?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant4Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant4OwnerType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant4OwnerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf>?), TypeInfoPropertyName = "NullableOneOfCancelDeploymentResponseFlagsIListObject2")] internal sealed partial class SourceGenerationContextChunk021 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk022.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk022.g.cs index 1f1b0979..b65a1990 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk022.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk022.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseServiceVariant2RouteVariant1DestinationType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseServiceVariant2RouteVariant1DestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseServiceVariant2RouteVariant2Handle?), TypeInfoPropertyName = "NullableCancelDeploymentResponseServiceVariant2RouteVariant2Handle2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CancelDeploymentResponseGitRepoVariant4_30d08766f034c34e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant1Type?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant1OwnerType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant1OwnerType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant2Type?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant2OwnerType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant2OwnerType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant3Type?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant3OwnerType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant3OwnerType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant4Type?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant4Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitRepoVariant4OwnerType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseGitRepoVariant4OwnerType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf>?), TypeInfoPropertyName = "NullableOneOfCancelDeploymentResponseFlagsIListObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfCancelDeploymentResponseMicrofrontendsVariant1CancelDeploymentResponseMicrofrontendsVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseMicrofrontendsVariant2MfeConfigUploadState?), TypeInfoPropertyName = "NullableCancelDeploymentResponseMicrofrontendsVariant2MfeConfigUploadState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseConfigFunctionType?), TypeInfoPropertyName = "NullableCancelDeploymentResponseConfigFunctionType2")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentGuardrailMetricMetricType?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentGuardrailMetricMetricType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentGuardrailMetricMetricUnit?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentGuardrailMetricMetricUnit2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentGuardrailMetricDirectionality?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentGuardrailMetricDirectionality2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentDevice?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentDevice2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentDurationUnit?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentDurationUnit2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentAllocationUnit?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentAllocationUnit2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentPrimaryMetricMetricType?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentPrimaryMetricMetricType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentPrimaryMetricMetricUnit?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentPrimaryMetricMetricUnit2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentPrimaryMetricDirectionality?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentPrimaryMetricDirectionality2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentStatus?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseEnvironmentsPausedOutcomeType?), TypeInfoPropertyName = "NullableCreateFlagResponseEnvironmentsPausedOutcomeType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateFlagResponseEnvironmentsFallthroughVariant3_b745f224b1ae10af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseEnvironmentsFallthroughVariant1Type?), TypeInfoPropertyName = "NullableCreateFlagResponseEnvironmentsFallthroughVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseEnvironmentsFallthroughVariant2Type?), TypeInfoPropertyName = "NullableCreateFlagResponseEnvironmentsFallthroughVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseEnvironmentsFallthroughVariant2BaseType?), TypeInfoPropertyName = "NullableCreateFlagResponseEnvironmentsFallthroughVariant2BaseType2")] internal sealed partial class SourceGenerationContextChunk022 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk023.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk023.g.cs index 6b79d40d..d76c570e 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk023.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk023.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentDevice?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentDevice2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentDurationUnit?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentDurationUnit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentAllocationUnit?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentAllocationUnit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentPrimaryMetricMetricType?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentPrimaryMetricMetricType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentPrimaryMetricMetricUnit?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentPrimaryMetricMetricUnit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentPrimaryMetricDirectionality?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentPrimaryMetricDirectionality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentStatus?), TypeInfoPropertyName = "NullableCreateFlagResponseExperimentStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseEnvironmentsPausedOutcomeType?), TypeInfoPropertyName = "NullableCreateFlagResponseEnvironmentsPausedOutcomeType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateFlagResponseEnvironmentsFallthroughVariant3_b745f224b1ae10af")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseEnvironmentsFallthroughVariant1Type?), TypeInfoPropertyName = "NullableCreateFlagResponseEnvironmentsFallthroughVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseEnvironmentsFallthroughVariant2Type?), TypeInfoPropertyName = "NullableCreateFlagResponseEnvironmentsFallthroughVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseEnvironmentsFallthroughVariant2BaseType?), TypeInfoPropertyName = "NullableCreateFlagResponseEnvironmentsFallthroughVariant2BaseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseEnvironmentsFallthroughVariant3Type?), TypeInfoPropertyName = "NullableCreateFlagResponseEnvironmentsFallthroughVariant3Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseEnvironmentsFallthroughVariant3BaseType?), TypeInfoPropertyName = "NullableCreateFlagResponseEnvironmentsFallthroughVariant3BaseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateFlagResponseEnvironmentsRuleOutcomeVariant3_f30e77c7b6def064")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectInternalRouteVariant2HaVariant2_8e5d3bd219106797")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectInternalRouteVariant2HaVariant1Type?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectInternalRouteVariant2HaVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectInternalRouteVariant2HaVariant1Key?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectInternalRouteVariant2HaVariant1Key2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectInternalRouteVariant2HaVariant2Type?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectInternalRouteVariant2HaVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectInternalRouteVariant2MitigateAction?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectInternalRouteVariant2MitigateAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectDismissedToastAction?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectDismissedToastAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringDoubleGetMicrofrontendsInGroupResponseProjectDismissedToastValueBoolean2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringDoubleBoolean2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectTracingSamplingRuleEnv?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectTracingSamplingRuleEnv2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectTracingSamplingRuleDestination?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectTracingSamplingRuleDestination2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsConfigResponseConfigVersion?), TypeInfoPropertyName = "NullableGetMicrofrontendsConfigResponseConfigVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetMicrofrontendsConfigResponseConfigApplicationsVariant2_85efed3e1acd5718")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsConfigForProjectResponseConfigVersion?), TypeInfoPropertyName = "NullableGetMicrofrontendsConfigForProjectResponseConfigVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetMicrofrontendsConfigForProjectResponseConfigApplicationsVariant2_f69e5a264ca88883")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfObjectGetProjectMembersResponseVariant22")] internal sealed partial class SourceGenerationContextChunk023 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk024.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk024.g.cs index 74d05639..92d8273e 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk024.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk024.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectInternalRouteVariant2HaVariant2Type?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectInternalRouteVariant2HaVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectInternalRouteVariant2MitigateAction?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectInternalRouteVariant2MitigateAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectDismissedToastAction?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectDismissedToastAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringDoubleGetMicrofrontendsInGroupResponseProjectDismissedToastValueBoolean2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringDoubleBoolean2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectTracingSamplingRuleEnv?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectTracingSamplingRuleEnv2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectTracingSamplingRuleDestination?), TypeInfoPropertyName = "NullableGetMicrofrontendsInGroupResponseProjectTracingSamplingRuleDestination2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsConfigResponseConfigVersion?), TypeInfoPropertyName = "NullableGetMicrofrontendsConfigResponseConfigVersion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetMicrofrontendsConfigResponseConfigApplicationsVariant2_85efed3e1acd5718")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsConfigForProjectResponseConfigVersion?), TypeInfoPropertyName = "NullableGetMicrofrontendsConfigForProjectResponseConfigVersion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetMicrofrontendsConfigForProjectResponseConfigApplicationsVariant2_f69e5a264ca88883")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfObjectGetProjectMembersResponseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectMembersResponseVariant2MemberRole?), TypeInfoPropertyName = "NullableGetProjectMembersResponseVariant2MemberRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectMembersResponseVariant2MemberComputedProjectRole?), TypeInfoPropertyName = "NullableGetProjectMembersResponseVariant2MemberComputedProjectRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectMembersResponseVariant2MemberTeamRole?), TypeInfoPropertyName = "NullableGetProjectMembersResponseVariant2MemberTeamRole2")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaConfiguredBy?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaConfiguredBy2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentBranchMatcherType?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentBranchMatcherType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentChecksConclusion?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentChecksConclusion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentChecksState?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentChecksState2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentPlan?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentPlan2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentReadyState?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentReadyState2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentReadySubstate?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentReadySubstate2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentType?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaEnvironment?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaEnvironment2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaTarget?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaTarget2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringCreateProjectResponseConnectConfigurationEnvId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseConnectConfigurationEnvId?), TypeInfoPropertyName = "NullableCreateProjectResponseConnectConfigurationEnvId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseCronsDefinitionSource?), TypeInfoPropertyName = "NullableCreateProjectResponseCronsDefinitionSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfCreateProjectResponseExpirationVariant1CreateProjectResponseExpirationVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectResponseEnvItemTarget?>?), TypeInfoPropertyName = "NullableOneOfIListCreateProjectResponseEnvItemTargetItemCreateProjectResponseEnvItemTarget2")] internal sealed partial class SourceGenerationContextChunk024 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk025.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk025.g.cs index 3077baf6..5e78d813 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk025.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk025.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentChecksState?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentChecksState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentPlan?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentPlan2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentReadyState?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentReadyState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentReadySubstate?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentReadySubstate2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaDeploymentType?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaDeploymentType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaEnvironment?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaEnvironment2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAliaTarget?), TypeInfoPropertyName = "NullableCreateProjectResponseAliaTarget2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringCreateProjectResponseConnectConfigurationEnvId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseConnectConfigurationEnvId?), TypeInfoPropertyName = "NullableCreateProjectResponseConnectConfigurationEnvId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseCronsDefinitionSource?), TypeInfoPropertyName = "NullableCreateProjectResponseCronsDefinitionSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfCreateProjectResponseExpirationVariant1CreateProjectResponseExpirationVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectResponseEnvItemTarget?>?), TypeInfoPropertyName = "NullableOneOfIListCreateProjectResponseEnvItemTargetItemCreateProjectResponseEnvItemTarget2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseEnvItemTargetItem?), TypeInfoPropertyName = "NullableCreateProjectResponseEnvItemTargetItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseEnvItemTarget?), TypeInfoPropertyName = "NullableCreateProjectResponseEnvItemTarget2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseEnvItemType?), TypeInfoPropertyName = "NullableCreateProjectResponseEnvItemType2")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseSecurityManagedRulesOwaspAction?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseSecurityManagedRulesOwaspAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.UploadProjectAvatarResponseSecurityLogHeaders?>?), TypeInfoPropertyName = "NullableOneOfIListStringUploadProjectAvatarResponseSecurityLogHeaders2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseSecurityLogHeaders?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseSecurityLogHeaders2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseOidcTokenConfigIssuerMode?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseOidcTokenConfigIssuerMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceSourceVariant2_6b82df7998ccc375")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceSourceVariant1Provider?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyGitSourceSourceVariant1Provider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceSourceVariant2Provider?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyGitSourceSourceVariant2Provider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2_1c3663cedbdb45db")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Type?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Target?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Target2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2Type?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceSource?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyDeploymentSourceSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2_5755ace3072f68e6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Type?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Target?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Target2")] internal sealed partial class SourceGenerationContextChunk025 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk026.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk026.g.cs index 2a5dec2a..cc46d2d9 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk026.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk026.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseOidcTokenConfigIssuerMode?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseOidcTokenConfigIssuerMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceSourceVariant2_6b82df7998ccc375")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceSourceVariant1Provider?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyGitSourceSourceVariant1Provider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceSourceVariant2Provider?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyGitSourceSourceVariant2Provider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2_1c3663cedbdb45db")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Type?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Target?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant1Target2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2Type?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyGitSourceEnvironmentVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceSource?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyDeploymentSourceSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2_5755ace3072f68e6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Type?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Target?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant1Target2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2Type?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseDeploymentPolicyDeploymentSourceEnvironmentVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseFlatRateTier?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseFlatRateTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseUsageStatusKind?), TypeInfoPropertyName = "NullableUploadProjectAvatarResponseUsageStatusKind2")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant6UiDisabledEnum2_39bfd98453210bb6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant6UiDisabledEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant6UiDisabledEnum22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant6UiDescription2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7Type?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7ItemsType?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7ItemsType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiControl?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiControl2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionDisabledEnum2_6226803ba0ec7b9f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionDisabledEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionDisabledEnum22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionHiddenEnum2_9567a77655070d71")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionHiddenEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionHiddenEnum22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiReadOnlyEnum2_05ffaf18592ed637")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiReadOnlyEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiReadOnlyEnum22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiHiddenEnum2_40fc907ebf5cbf83")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiHiddenEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiHiddenEnum22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiDisabledEnum2_f145da1f119c68c0")] internal sealed partial class SourceGenerationContextChunk026 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk027.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk027.g.cs index 4fc567ed..bdda7d73 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk027.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk027.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7Type?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7ItemsType?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7ItemsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiControl?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiControl2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionDisabledEnum2_6226803ba0ec7b9f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionDisabledEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionDisabledEnum22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionHiddenEnum2_9567a77655070d71")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionHiddenEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiOptionHiddenEnum22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiReadOnlyEnum2_05ffaf18592ed637")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiReadOnlyEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiReadOnlyEnum22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiHiddenEnum2_40fc907ebf5cbf83")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiHiddenEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiHiddenEnum22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiDisabledEnum2_f145da1f119c68c0")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiDisabledEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiDisabledEnum22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant7UiDescription2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant8Type?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant8Type2")] @@ -7748,18 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2RewriteHaVariant2_c08969b76b397e13")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2RewriteMissingItemVariant2_f41435ac64b292b4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2RouteVariant2_b9bf8c139043fad2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2RouteVariant1HaVariant2_c3499d88b472eea2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2RouteVariant1MissingItemVariant2_608fd72b0c6ac925")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2RouteVariant1TransformVariant2_fd5535039cca6d61")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk027 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk028.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk028.g.cs index 89203819..03ac9196 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk028.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk028.g.cs @@ -7260,6 +7260,18 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2RouteVariant1HaVariant2_c3499d88b472eea2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2RouteVariant1MissingItemVariant2_608fd72b0c6ac925")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2RouteVariant1TransformVariant2_fd5535039cca6d61")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7692,6 +7704,9 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectInternalRouteVariant2HaVariant2_3b1a56629e90c79f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7745,21 +7760,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.GetProjectResponseEnvItemTarget?>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk028 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk029.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk029.g.cs index e0e91010..4f16d8cf 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk029.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk029.g.cs @@ -7260,6 +7260,21 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionRequest.Json.g.cs new file mode 100644 index 00000000..ae04dd96 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class CreateTraceSessionRequest + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.CreateTraceSessionRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.CreateTraceSessionRequest), + jsonSerializerContext) as global::Vercel.CreateTraceSessionRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.CreateTraceSessionRequest? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.CreateTraceSessionRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.CreateTraceSessionRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateTraceSessionRequest; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionRequest.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionRequest.g.cs new file mode 100644 index 00000000..820b8c10 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionRequest.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class CreateTraceSessionRequest + { + /// + /// The project ID the deployment belongs to. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("projectId")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ProjectId { get; set; } + + /// + /// The deployment hostname to scope the trace session to. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hostname")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Hostname { 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. + /// + /// + /// The project ID the deployment belongs to. + /// + /// + /// The deployment hostname to scope the trace session to. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateTraceSessionRequest( + string projectId, + string hostname) + { + this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); + this.Hostname = hostname ?? throw new global::System.ArgumentNullException(nameof(hostname)); + } + + /// + /// Initializes a new instance of the class. + /// + public CreateTraceSessionRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionResponse.Json.g.cs new file mode 100644 index 00000000..6665f0df --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class CreateTraceSessionResponse + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.CreateTraceSessionResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.CreateTraceSessionResponse), + jsonSerializerContext) as global::Vercel.CreateTraceSessionResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.CreateTraceSessionResponse? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.CreateTraceSessionResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.CreateTraceSessionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateTraceSessionResponse; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionResponse.g.cs new file mode 100644 index 00000000..55af2c36 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateTraceSessionResponse.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class CreateTraceSessionResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("token")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Token { 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 CreateTraceSessionResponse( + string token) + { + this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token)); + } + + /// + /// Initializes a new instance of the class. + /// + public CreateTraceSessionResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponse.Json.g.cs new file mode 100644 index 00000000..a6a7effa --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponse + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponse), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponse? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponse; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponse.g.cs new file mode 100644 index 00000000..d958df84 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponse.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("trace")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Vercel.GetProjectTraceResponseTrace Trace { 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 GetProjectTraceResponse( + global::Vercel.GetProjectTraceResponseTrace trace) + { + this.Trace = trace ?? throw new global::System.ArgumentNullException(nameof(trace)); + } + + /// + /// Initializes a new instance of the class. + /// + public GetProjectTraceResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTrace.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTrace.Json.g.cs new file mode 100644 index 00000000..fc9925fa --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTrace.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponseTrace + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTrace? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponseTrace), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponseTrace; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTrace? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTrace? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTrace), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponseTrace; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTrace.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTrace.g.cs new file mode 100644 index 00000000..38537bd8 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTrace.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponseTrace + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("traceId")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string TraceId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("resources")] + public global::System.Collections.Generic.IList? Resources { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("spans")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Spans { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rootSpanId")] + public string? RootSpanId { 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 GetProjectTraceResponseTrace( + string traceId, + global::System.Collections.Generic.IList spans, + global::System.Collections.Generic.IList? resources, + string? rootSpanId) + { + this.TraceId = traceId ?? throw new global::System.ArgumentNullException(nameof(traceId)); + this.Resources = resources; + this.Spans = spans ?? throw new global::System.ArgumentNullException(nameof(spans)); + this.RootSpanId = rootSpanId; + } + + /// + /// Initializes a new instance of the class. + /// + public GetProjectTraceResponseTrace() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResource.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResource.Json.g.cs new file mode 100644 index 00000000..8af3a0a5 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponseTraceResource + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceResource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponseTraceResource), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponseTraceResource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceResource? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceResource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceResource), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponseTraceResource; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResource.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResource.g.cs new file mode 100644 index 00000000..c32a8d22 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResource.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponseTraceResource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Attributes { 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 GetProjectTraceResponseTraceResource( + string name, + global::System.Collections.Generic.Dictionary attributes) + { + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + } + + /// + /// Initializes a new instance of the class. + /// + public GetProjectTraceResponseTraceResource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResourceAttributes.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResourceAttributes.Json.g.cs new file mode 100644 index 00000000..397bb6a8 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResourceAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponseTraceResourceAttributes + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceResourceAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponseTraceResourceAttributes), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponseTraceResourceAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceResourceAttributes? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceResourceAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceResourceAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponseTraceResourceAttributes; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResourceAttributes.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResourceAttributes.g.cs new file mode 100644 index 00000000..67e17d02 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceResourceAttributes.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponseTraceResourceAttributes + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpan.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpan.Json.g.cs new file mode 100644 index 00000000..e6735ab8 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpan.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponseTraceSpan + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpan? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponseTraceSpan), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponseTraceSpan; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpan? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpan? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpan), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponseTraceSpan; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpan.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpan.g.cs new file mode 100644 index 00000000..1227d14b --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpan.g.cs @@ -0,0 +1,174 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponseTraceSpan + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("kind")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Kind { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("resource")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Resource { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("library")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Vercel.GetProjectTraceResponseTraceSpanLibrary Library { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("spanId")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SpanId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parentSpanId")] + public string? ParentSpanId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Vercel.GetProjectTraceResponseTraceSpanStatus Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("traceFlags")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double TraceFlags { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Events { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startTime")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList StartTime { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("endTime")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList EndTime { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("duration")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Duration { 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 GetProjectTraceResponseTraceSpan( + string name, + double kind, + string resource, + global::Vercel.GetProjectTraceResponseTraceSpanLibrary library, + string spanId, + global::Vercel.GetProjectTraceResponseTraceSpanStatus status, + double traceFlags, + object attributes, + global::System.Collections.Generic.IList links, + global::System.Collections.Generic.IList events, + global::System.Collections.Generic.IList startTime, + global::System.Collections.Generic.IList endTime, + global::System.Collections.Generic.IList duration, + string? parentSpanId) + { + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Kind = kind; + this.Resource = resource ?? throw new global::System.ArgumentNullException(nameof(resource)); + this.Library = library ?? throw new global::System.ArgumentNullException(nameof(library)); + this.SpanId = spanId ?? throw new global::System.ArgumentNullException(nameof(spanId)); + this.ParentSpanId = parentSpanId; + this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status)); + this.TraceFlags = traceFlags; + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Events = events ?? throw new global::System.ArgumentNullException(nameof(events)); + this.StartTime = startTime ?? throw new global::System.ArgumentNullException(nameof(startTime)); + this.EndTime = endTime ?? throw new global::System.ArgumentNullException(nameof(endTime)); + this.Duration = duration ?? throw new global::System.ArgumentNullException(nameof(duration)); + } + + /// + /// Initializes a new instance of the class. + /// + public GetProjectTraceResponseTraceSpan() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanAttributes.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanAttributes.Json.g.cs new file mode 100644 index 00000000..27db5d1d --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponseTraceSpanAttributes + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponseTraceSpanAttributes), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponseTraceSpanAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanAttributes? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponseTraceSpanAttributes; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanAttributes.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanAttributes.g.cs new file mode 100644 index 00000000..5d052141 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanAttributes.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponseTraceSpanAttributes + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEvent.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEvent.Json.g.cs new file mode 100644 index 00000000..4811423b --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEvent.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponseTraceSpanEvent + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanEvent? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponseTraceSpanEvent), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponseTraceSpanEvent; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanEvent? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanEvent? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanEvent), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponseTraceSpanEvent; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEvent.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEvent.g.cs new file mode 100644 index 00000000..083d0a2f --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEvent.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponseTraceSpanEvent + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timestamp")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Timestamp { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { 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 GetProjectTraceResponseTraceSpanEvent( + string name, + global::System.Collections.Generic.IList timestamp, + object attributes) + { + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Timestamp = timestamp ?? throw new global::System.ArgumentNullException(nameof(timestamp)); + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + } + + /// + /// Initializes a new instance of the class. + /// + public GetProjectTraceResponseTraceSpanEvent() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEventAttributes.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEventAttributes.Json.g.cs new file mode 100644 index 00000000..52b641d1 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEventAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponseTraceSpanEventAttributes + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanEventAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponseTraceSpanEventAttributes), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponseTraceSpanEventAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanEventAttributes? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanEventAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanEventAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponseTraceSpanEventAttributes; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEventAttributes.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEventAttributes.g.cs new file mode 100644 index 00000000..af17d219 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanEventAttributes.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponseTraceSpanEventAttributes + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLibrary.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLibrary.Json.g.cs new file mode 100644 index 00000000..0e136a20 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLibrary.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponseTraceSpanLibrary + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanLibrary? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponseTraceSpanLibrary), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponseTraceSpanLibrary; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanLibrary? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanLibrary? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanLibrary), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponseTraceSpanLibrary; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLibrary.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLibrary.g.cs new file mode 100644 index 00000000..dc6a7b3c --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLibrary.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponseTraceSpanLibrary + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("version")] + public string? Version { 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 GetProjectTraceResponseTraceSpanLibrary( + string name, + string? version) + { + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Version = version; + } + + /// + /// Initializes a new instance of the class. + /// + public GetProjectTraceResponseTraceSpanLibrary() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLink.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLink.Json.g.cs new file mode 100644 index 00000000..f088ba5e --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLink.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponseTraceSpanLink + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanLink? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponseTraceSpanLink), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponseTraceSpanLink; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanLink? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanLink? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanLink), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponseTraceSpanLink; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLink.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLink.g.cs new file mode 100644 index 00000000..2b2e557f --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanLink.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponseTraceSpanLink + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanStatus.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanStatus.Json.g.cs new file mode 100644 index 00000000..467d409e --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanStatus.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetProjectTraceResponseTraceSpanStatus + { + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanStatus? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetProjectTraceResponseTraceSpanStatus), + jsonSerializerContext) as global::Vercel.GetProjectTraceResponseTraceSpanStatus; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.GetProjectTraceResponseTraceSpanStatus? FromJson( + string json) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanStatus? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Vercel.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::Vercel.GetProjectTraceResponseTraceSpanStatus), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetProjectTraceResponseTraceSpanStatus; + } + + /// + /// 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::Vercel.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::Vercel.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanStatus.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanStatus.g.cs new file mode 100644 index 00000000..61de00a9 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetProjectTraceResponseTraceSpanStatus.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class GetProjectTraceResponseTraceSpanStatus + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Code { 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 GetProjectTraceResponseTraceSpanStatus( + double code) + { + this.Code = code; + } + + /// + /// Initializes a new instance of the class. + /// + public GetProjectTraceResponseTraceSpanStatus() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.ProjectsClient.CreateTraceSession.g.cs b/src/libs/Vercel/Generated/Vercel.ProjectsClient.CreateTraceSession.g.cs new file mode 100644 index 00000000..8c2d5723 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.ProjectsClient.CreateTraceSession.g.cs @@ -0,0 +1,635 @@ + +#nullable enable + +namespace Vercel +{ + public partial class ProjectsClient + { + + + private static readonly global::Vercel.EndPointSecurityRequirement s_CreateTraceSessionSecurityRequirement0 = + new global::Vercel.EndPointSecurityRequirement + { + Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] + { new global::Vercel.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateTraceSessionSecurityRequirements = + new global::Vercel.EndPointSecurityRequirement[] + { s_CreateTraceSessionSecurityRequirement0, + }; + partial void PrepareCreateTraceSessionArguments( + global::System.Net.Http.HttpClient httpClient, + ref string? teamId, + ref string? slug, + global::Vercel.CreateTraceSessionRequest request); + partial void PrepareCreateTraceSessionRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string? teamId, + string? slug, + global::Vercel.CreateTraceSessionRequest request); + partial void ProcessCreateTraceSessionResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateTraceSessionResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a trace session token for a deployment
+ /// Mints a short-lived HS256 JWT scoped to a deployment hostname. The Vercel CLI presents this JWT to the Vercel proxy on requests it wants traced. + ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateTraceSessionAsync( + + global::Vercel.CreateTraceSessionRequest request, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateTraceSessionAsResponseAsync( + + request: request, + teamId: teamId, + slug: slug, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Create a trace session token for a deployment
+ /// Mints a short-lived HS256 JWT scoped to a deployment hostname. The Vercel CLI presents this JWT to the Vercel proxy on requests it wants traced. + ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CreateTraceSessionAsResponseAsync( + + global::Vercel.CreateTraceSessionRequest request, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareCreateTraceSessionArguments( + httpClient: HttpClient, + teamId: ref teamId, + slug: ref slug, + request: request); + + + var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateTraceSessionSecurityRequirements, + operationName: "CreateTraceSessionAsync"); + + using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::Vercel.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::Vercel.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::Vercel.PathBuilder( + path: "/v1/projects/traces/session", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; + var __path = __pathBuilder.ToString(); + __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::Vercel.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateTraceSessionRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + teamId: teamId, + slug: slug, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateTraceSession", + methodName: "CreateTraceSessionAsync", + pathTemplate: "\"/v1/projects/traces/session\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateTraceSession", + methodName: "CreateTraceSessionAsync", + pathTemplate: "\"/v1/projects/traces/session\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::Vercel.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateTraceSession", + methodName: "CreateTraceSessionAsync", + pathTemplate: "\"/v1/projects/traces/session\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateTraceSessionResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateTraceSession", + methodName: "CreateTraceSessionAsync", + pathTemplate: "\"/v1/projects/traces/session\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateTraceSession", + methodName: "CreateTraceSessionAsync", + pathTemplate: "\"/v1/projects/traces/session\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateTraceSessionResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::Vercel.CreateTraceSessionResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::Vercel.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::Vercel.CreateTraceSessionResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::Vercel.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Create a trace session token for a deployment
+ /// Mints a short-lived HS256 JWT scoped to a deployment hostname. The Vercel CLI presents this JWT to the Vercel proxy on requests it wants traced. + ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// + /// The project ID the deployment belongs to. + /// + /// + /// The deployment hostname to scope the trace session to. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateTraceSessionAsync( + string projectId, + string hostname, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::Vercel.CreateTraceSessionRequest + { + ProjectId = projectId, + Hostname = hostname, + }; + + return await CreateTraceSessionAsync( + teamId: teamId, + slug: slug, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.ProjectsClient.GetProjectTrace.g.cs b/src/libs/Vercel/Generated/Vercel.ProjectsClient.GetProjectTrace.g.cs new file mode 100644 index 00000000..2b708a82 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.ProjectsClient.GetProjectTrace.g.cs @@ -0,0 +1,575 @@ + +#nullable enable + +namespace Vercel +{ + public partial class ProjectsClient + { + + + private static readonly global::Vercel.EndPointSecurityRequirement s_GetProjectTraceSecurityRequirement0 = + new global::Vercel.EndPointSecurityRequirement + { + Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] + { new global::Vercel.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetProjectTraceSecurityRequirements = + new global::Vercel.EndPointSecurityRequirement[] + { s_GetProjectTraceSecurityRequirement0, + }; + partial void PrepareGetProjectTraceArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref string requestId, + ref string? teamId, + ref string? slug); + partial void PrepareGetProjectTraceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + string requestId, + string? teamId, + string? slug); + partial void ProcessGetProjectTraceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetProjectTraceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a project trace by request ID
+ /// Returns the OTEL trace for a given Vercel CLI request. + ///
+ /// + /// The project ID
+ /// Example: prj_123 + /// + /// + /// The Vercel CLI request ID associated with the trace
+ /// Example: cli-req-abc + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetProjectTraceAsync( + string projectId, + string requestId, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await GetProjectTraceAsResponseAsync( + projectId: projectId, + requestId: requestId, + teamId: teamId, + slug: slug, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Get a project trace by request ID
+ /// Returns the OTEL trace for a given Vercel CLI request. + ///
+ /// + /// The project ID
+ /// Example: prj_123 + /// + /// + /// The Vercel CLI request ID associated with the trace
+ /// Example: cli-req-abc + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetProjectTraceAsResponseAsync( + string projectId, + string requestId, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareGetProjectTraceArguments( + httpClient: HttpClient, + projectId: ref projectId, + requestId: ref requestId, + teamId: ref teamId, + slug: ref slug); + + + var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetProjectTraceSecurityRequirements, + operationName: "GetProjectTraceAsync"); + + using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::Vercel.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::Vercel.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::Vercel.PathBuilder( + path: "/v1/projects/traces", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddRequiredParameter("projectId", projectId) + .AddRequiredParameter("requestId", requestId) + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; + var __path = __pathBuilder.ToString(); + __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::Vercel.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareGetProjectTraceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + requestId: requestId!, + teamId: teamId, + slug: slug); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetProjectTrace", + methodName: "GetProjectTraceAsync", + pathTemplate: "\"/v1/projects/traces\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetProjectTrace", + methodName: "GetProjectTraceAsync", + pathTemplate: "\"/v1/projects/traces\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::Vercel.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetProjectTrace", + methodName: "GetProjectTraceAsync", + pathTemplate: "\"/v1/projects/traces\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessGetProjectTraceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetProjectTrace", + methodName: "GetProjectTraceAsync", + pathTemplate: "\"/v1/projects/traces\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetProjectTrace", + methodName: "GetProjectTraceAsync", + pathTemplate: "\"/v1/projects/traces\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessGetProjectTraceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::Vercel.GetProjectTraceResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::Vercel.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::Vercel.GetProjectTraceResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::Vercel.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/openapi.yaml b/src/libs/Vercel/openapi.yaml index 85cbded5..bc0b8463 100644 --- a/src/libs/Vercel/openapi.yaml +++ b/src/libs/Vercel/openapi.yaml @@ -101672,6 +101672,284 @@ ] } }, + "/v1/projects/traces": { + "get": { + "description": "Returns the OTEL trace for a given Vercel CLI request.", + "operationId": "getProjectTrace", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get a project trace by request ID", + "tags": [ + "projects" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "trace": { + "properties": { + "traceId": { + "type": "string" + }, + "resources": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "attributes": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "attributes", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "spans": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "kind": { + "type": "number" + }, + "resource": { + "type": "string" + }, + "library": { + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "spanId": { + "type": "string" + }, + "parentSpanId": { + "type": "string" + }, + "status": { + "properties": { + "code": { + "type": "number" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "traceFlags": { + "type": "number" + }, + "attributes": { + "additionalProperties": true, + "type": "object" + }, + "links": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "type": "array" + }, + "events": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "timestamp": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "number" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array" + }, + "attributes": { + "additionalProperties": true, + "type": "object" + } + }, + "required": [ + "attributes", + "name", + "timestamp" + ], + "type": "object" + }, + "type": "array" + }, + "startTime": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "number" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array" + }, + "endTime": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "number" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array" + }, + "duration": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "number" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array" + } + }, + "required": [ + "attributes", + "duration", + "endTime", + "events", + "kind", + "library", + "links", + "name", + "resource", + "spanId", + "startTime", + "status", + "traceFlags" + ], + "type": "object" + }, + "type": "array" + }, + "rootSpanId": { + "type": "string" + } + }, + "required": [ + "spans", + "traceId" + ], + "type": "object" + } + }, + "required": [ + "trace" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid." + }, + "401": { + "description": "The request is not authorized." + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "name": "projectId", + "description": "The project ID", + "in": "query", + "required": true, + "schema": { + "description": "The project ID", + "type": "string", + "example": "prj_123", + "maxLength": 150 + } + }, + { + "name": "requestId", + "description": "The Vercel CLI request ID associated with the trace", + "in": "query", + "required": true, + "schema": { + "description": "The Vercel CLI request ID associated with the trace", + "type": "string", + "example": "cli-req-abc", + "maxLength": 256 + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, "/v11/projects": { "post": { "description": "Allows to create a new project with the provided configuration. It only requires the project `name` but more configuration can be provided to override the defaults.", @@ -109039,6 +109317,97 @@ } } }, + "/v1/projects/traces/session": { + "post": { + "description": "Mints a short-lived HS256 JWT scoped to a deployment hostname. The Vercel CLI presents this JWT to the Vercel proxy on requests it wants traced.", + "operationId": "createTraceSession", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create a trace session token for a deployment", + "tags": [ + "projects" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "token": { + "type": "string" + } + }, + "required": [ + "token" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request body is invalid." + }, + "401": { + "description": "The request is not authorized." + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "422": { + "description": "" + } + }, + "parameters": [ + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "projectId", + "hostname" + ], + "additionalProperties": false, + "properties": { + "projectId": { + "type": "string", + "description": "The project ID the deployment belongs to." + }, + "hostname": { + "type": "string", + "description": "The deployment hostname to scope the trace session to." + } + } + } + } + } + } + } + }, "/v9/projects/{idOrName}": { "get": { "description": "Get the information for a specific project by passing either the project `id` or `name` in the URL.",