diff --git a/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.CreateAiGatewayRule.g.cs b/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.CreateAiGatewayRule.g.cs new file mode 100644 index 00000000..bde0e1dc --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.CreateAiGatewayRule.g.cs @@ -0,0 +1,607 @@ + +#nullable enable + +namespace Vercel +{ + public partial class ApiAiGatewayClient + { + + + private static readonly global::Vercel.EndPointSecurityRequirement s_CreateAiGatewayRuleSecurityRequirement0 = + 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_CreateAiGatewayRuleSecurityRequirements = + new global::Vercel.EndPointSecurityRequirement[] + { s_CreateAiGatewayRuleSecurityRequirement0, + }; + partial void PrepareCreateAiGatewayRuleArguments( + global::System.Net.Http.HttpClient httpClient, + ref string? teamId, + ref string? slug); + partial void PrepareCreateAiGatewayRuleRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string? teamId, + string? slug); + partial void ProcessCreateAiGatewayRuleResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateAiGatewayRuleResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create rule
+ /// Create a routing rule + ///
+ /// + /// 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 CreateAiGatewayRuleAsync( + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateAiGatewayRuleAsResponseAsync( + teamId: teamId, + slug: slug, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Create rule
+ /// Create a routing rule + ///
+ /// + /// 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> CreateAiGatewayRuleAsResponseAsync( + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareCreateAiGatewayRuleArguments( + httpClient: HttpClient, + teamId: ref teamId, + slug: ref slug); + + + var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateAiGatewayRuleSecurityRequirements, + operationName: "CreateAiGatewayRuleAsync"); + + 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/ai-gateway/rules", + 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); + } + } + global::Vercel.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateAiGatewayRuleRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + 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: "CreateAiGatewayRule", + methodName: "CreateAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + 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: "CreateAiGatewayRule", + methodName: "CreateAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + 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: "CreateAiGatewayRule", + methodName: "CreateAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + 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); + ProcessCreateAiGatewayRuleResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAiGatewayRule", + methodName: "CreateAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + 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: "CreateAiGatewayRule", + methodName: "CreateAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + 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 == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + 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); + ProcessCreateAiGatewayRuleResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::Vercel.AiGatewayRule.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.AiGatewayRule.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/Generated/Vercel.ApiAiGatewayClient.DeleteAiGatewayRule.g.cs b/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.DeleteAiGatewayRule.g.cs new file mode 100644 index 00000000..f443e8f0 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.DeleteAiGatewayRule.g.cs @@ -0,0 +1,613 @@ + +#nullable enable + +namespace Vercel +{ + public partial class ApiAiGatewayClient + { + + + private static readonly global::Vercel.EndPointSecurityRequirement s_DeleteAiGatewayRuleSecurityRequirement0 = + 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_DeleteAiGatewayRuleSecurityRequirements = + new global::Vercel.EndPointSecurityRequirement[] + { s_DeleteAiGatewayRuleSecurityRequirement0, + }; + partial void PrepareDeleteAiGatewayRuleArguments( + global::System.Net.Http.HttpClient httpClient, + ref string ruleId, + ref string? teamId, + ref string? slug); + partial void PrepareDeleteAiGatewayRuleRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string ruleId, + string? teamId, + string? slug); + partial void ProcessDeleteAiGatewayRuleResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessDeleteAiGatewayRuleResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Delete rule
+ /// Delete a routing rule (soft delete) + ///
+ /// + /// + /// 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 DeleteAiGatewayRuleAsync( + string ruleId, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await DeleteAiGatewayRuleAsResponseAsync( + ruleId: ruleId, + teamId: teamId, + slug: slug, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Delete rule
+ /// Delete a routing rule (soft delete) + ///
+ /// + /// + /// 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> DeleteAiGatewayRuleAsResponseAsync( + string ruleId, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareDeleteAiGatewayRuleArguments( + httpClient: HttpClient, + ruleId: ref ruleId, + teamId: ref teamId, + slug: ref slug); + + + var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_DeleteAiGatewayRuleSecurityRequirements, + operationName: "DeleteAiGatewayRuleAsync"); + + 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/ai-gateway/rules", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddRequiredParameter("ruleId", ruleId) + .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.Delete, + 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); + PrepareDeleteAiGatewayRuleRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + ruleId: ruleId!, + 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: "DeleteAiGatewayRule", + methodName: "DeleteAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + httpMethod: "DELETE", + 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: "DeleteAiGatewayRule", + methodName: "DeleteAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + httpMethod: "DELETE", + 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: "DeleteAiGatewayRule", + methodName: "DeleteAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + httpMethod: "DELETE", + 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); + ProcessDeleteAiGatewayRuleResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteAiGatewayRule", + methodName: "DeleteAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + httpMethod: "DELETE", + 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: "DeleteAiGatewayRule", + methodName: "DeleteAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + httpMethod: "DELETE", + 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 == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + 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); + ProcessDeleteAiGatewayRuleResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + return new global::Vercel.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __content); + } + 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(); + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + return new global::Vercel.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __content); + } + 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/Generated/Vercel.ApiAiGatewayClient.ListAiGatewayRules.g.cs b/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.ListAiGatewayRules.g.cs new file mode 100644 index 00000000..36d7bca1 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.ListAiGatewayRules.g.cs @@ -0,0 +1,585 @@ + +#nullable enable + +namespace Vercel +{ + public partial class ApiAiGatewayClient + { + + + private static readonly global::Vercel.EndPointSecurityRequirement s_ListAiGatewayRulesSecurityRequirement0 = + 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_ListAiGatewayRulesSecurityRequirements = + new global::Vercel.EndPointSecurityRequirement[] + { s_ListAiGatewayRulesSecurityRequirement0, + }; + partial void PrepareListAiGatewayRulesArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::Vercel.ListAiGatewayRulesIncludeDisabled? includeDisabled, + ref string? teamId, + ref string? slug); + partial void PrepareListAiGatewayRulesRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Vercel.ListAiGatewayRulesIncludeDisabled? includeDisabled, + string? teamId, + string? slug); + partial void ProcessListAiGatewayRulesResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListAiGatewayRulesResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List rules
+ /// List the authenticated team's routing rules + ///
+ /// + /// + /// 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 ListAiGatewayRulesAsync( + global::Vercel.ListAiGatewayRulesIncludeDisabled? includeDisabled = default, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListAiGatewayRulesAsResponseAsync( + includeDisabled: includeDisabled, + teamId: teamId, + slug: slug, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// List rules
+ /// List the authenticated team's routing rules + ///
+ /// + /// + /// 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> ListAiGatewayRulesAsResponseAsync( + global::Vercel.ListAiGatewayRulesIncludeDisabled? includeDisabled = default, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListAiGatewayRulesArguments( + httpClient: HttpClient, + includeDisabled: ref includeDisabled, + teamId: ref teamId, + slug: ref slug); + + + var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListAiGatewayRulesSecurityRequirements, + operationName: "ListAiGatewayRulesAsync"); + + 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/ai-gateway/rules", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("includeDisabled", includeDisabled?.ToValueString()) + .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); + PrepareListAiGatewayRulesRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + includeDisabled: includeDisabled, + 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: "ListAiGatewayRules", + methodName: "ListAiGatewayRulesAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + 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: "ListAiGatewayRules", + methodName: "ListAiGatewayRulesAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + 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: "ListAiGatewayRules", + methodName: "ListAiGatewayRulesAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + 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); + ProcessListAiGatewayRulesResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListAiGatewayRules", + methodName: "ListAiGatewayRulesAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + 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: "ListAiGatewayRules", + methodName: "ListAiGatewayRulesAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + 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 ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + 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); + ProcessListAiGatewayRulesResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::Vercel.AiGatewayRuleList.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.AiGatewayRuleList.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/Generated/Vercel.ApiAiGatewayClient.UpdateAiGatewayRule.g.cs b/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.UpdateAiGatewayRule.g.cs new file mode 100644 index 00000000..82edff3d --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.UpdateAiGatewayRule.g.cs @@ -0,0 +1,607 @@ + +#nullable enable + +namespace Vercel +{ + public partial class ApiAiGatewayClient + { + + + private static readonly global::Vercel.EndPointSecurityRequirement s_UpdateAiGatewayRuleSecurityRequirement0 = + 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_UpdateAiGatewayRuleSecurityRequirements = + new global::Vercel.EndPointSecurityRequirement[] + { s_UpdateAiGatewayRuleSecurityRequirement0, + }; + partial void PrepareUpdateAiGatewayRuleArguments( + global::System.Net.Http.HttpClient httpClient, + ref string? teamId, + ref string? slug); + partial void PrepareUpdateAiGatewayRuleRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string? teamId, + string? slug); + partial void ProcessUpdateAiGatewayRuleResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateAiGatewayRuleResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update rule
+ /// Update a routing rule (enabled, action, or description) + ///
+ /// + /// 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 UpdateAiGatewayRuleAsync( + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await UpdateAiGatewayRuleAsResponseAsync( + teamId: teamId, + slug: slug, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Update rule
+ /// Update a routing rule (enabled, action, or description) + ///
+ /// + /// 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> UpdateAiGatewayRuleAsResponseAsync( + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareUpdateAiGatewayRuleArguments( + httpClient: HttpClient, + teamId: ref teamId, + slug: ref slug); + + + var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UpdateAiGatewayRuleSecurityRequirements, + operationName: "UpdateAiGatewayRuleAsync"); + + 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/ai-gateway/rules", + 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: new global::System.Net.Http.HttpMethod("PATCH"), + 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); + PrepareUpdateAiGatewayRuleRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + 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: "UpdateAiGatewayRule", + methodName: "UpdateAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + httpMethod: "PATCH", + 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: "UpdateAiGatewayRule", + methodName: "UpdateAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + httpMethod: "PATCH", + 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: "UpdateAiGatewayRule", + methodName: "UpdateAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + httpMethod: "PATCH", + 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); + ProcessUpdateAiGatewayRuleResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateAiGatewayRule", + methodName: "UpdateAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + httpMethod: "PATCH", + 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: "UpdateAiGatewayRule", + methodName: "UpdateAiGatewayRuleAsync", + pathTemplate: "\"/v1/ai-gateway/rules\"", + httpMethod: "PATCH", + 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 == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + 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); + ProcessUpdateAiGatewayRuleResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::Vercel.AiGatewayRule.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.AiGatewayRule.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/Generated/Vercel.ApiAiGatewayClient.g.cs b/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.g.cs new file mode 100644 index 00000000..00902ca9 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.ApiAiGatewayClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class ApiAiGatewayClient : global::Vercel.IApiAiGatewayClient, global::System.IDisposable + { + /// + /// Production API + /// + public const string DefaultBaseUrl = "https://api.vercel.com/"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::Vercel.AutoSDKClientOptions Options { get; } + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Vercel.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the ApiAiGatewayClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public ApiAiGatewayClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the ApiAiGatewayClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public ApiAiGatewayClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::Vercel.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the ApiAiGatewayClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public ApiAiGatewayClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::Vercel.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::Vercel.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.CreateAiGatewayRule.g.cs b/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.CreateAiGatewayRule.g.cs new file mode 100644 index 00000000..8abebc4f --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.CreateAiGatewayRule.g.cs @@ -0,0 +1,44 @@ +#nullable enable + +namespace Vercel +{ + public partial interface IApiAiGatewayClient + { + /// + /// Create rule
+ /// Create a routing rule + ///
+ /// + /// 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 CreateAiGatewayRuleAsync( + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create rule
+ /// Create a routing rule + ///
+ /// + /// 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> CreateAiGatewayRuleAsResponseAsync( + 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.IApiAiGatewayClient.DeleteAiGatewayRule.g.cs b/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.DeleteAiGatewayRule.g.cs new file mode 100644 index 00000000..cfbd6a22 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.DeleteAiGatewayRule.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace Vercel +{ + public partial interface IApiAiGatewayClient + { + /// + /// Delete rule
+ /// Delete a routing rule (soft delete) + ///
+ /// + /// + /// 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 DeleteAiGatewayRuleAsync( + string ruleId, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Delete rule
+ /// Delete a routing rule (soft delete) + ///
+ /// + /// + /// 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> DeleteAiGatewayRuleAsResponseAsync( + string ruleId, + 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.IApiAiGatewayClient.ListAiGatewayRules.g.cs b/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.ListAiGatewayRules.g.cs new file mode 100644 index 00000000..9d14029b --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.ListAiGatewayRules.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace Vercel +{ + public partial interface IApiAiGatewayClient + { + /// + /// List rules
+ /// List the authenticated team's routing rules + ///
+ /// + /// + /// 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 ListAiGatewayRulesAsync( + global::Vercel.ListAiGatewayRulesIncludeDisabled? includeDisabled = default, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List rules
+ /// List the authenticated team's routing rules + ///
+ /// + /// + /// 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> ListAiGatewayRulesAsResponseAsync( + global::Vercel.ListAiGatewayRulesIncludeDisabled? includeDisabled = default, + 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.IApiAiGatewayClient.UpdateAiGatewayRule.g.cs b/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.UpdateAiGatewayRule.g.cs new file mode 100644 index 00000000..b305848e --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.UpdateAiGatewayRule.g.cs @@ -0,0 +1,44 @@ +#nullable enable + +namespace Vercel +{ + public partial interface IApiAiGatewayClient + { + /// + /// Update rule
+ /// Update a routing rule (enabled, action, or description) + ///
+ /// + /// 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 UpdateAiGatewayRuleAsync( + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Update rule
+ /// Update a routing rule (enabled, action, or description) + ///
+ /// + /// 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> UpdateAiGatewayRuleAsResponseAsync( + 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.IApiAiGatewayClient.g.cs b/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.g.cs new file mode 100644 index 00000000..373002a3 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.IApiAiGatewayClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApiAiGatewayClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::Vercel.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs b/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs index 575005b4..a21f8847 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs +++ b/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs @@ -55,6 +55,11 @@ public partial interface IVercelClient : global::System.IDisposable /// public AliasesClient Aliases { get; } + /// + /// + /// + public ApiAiGatewayClient ApiAiGateway { get; } + /// /// /// diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.AiGatewayRuleType.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.AiGatewayRuleType.g.cs new file mode 100644 index 00000000..c1ff595c --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.AiGatewayRuleType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class AiGatewayRuleTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.AiGatewayRuleType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.AiGatewayRuleTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.AiGatewayRuleType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.AiGatewayRuleType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.AiGatewayRuleType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vercel.AiGatewayRuleTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.AiGatewayRuleTypeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.AiGatewayRuleTypeNullable.g.cs new file mode 100644 index 00000000..b6b0042b --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.AiGatewayRuleTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class AiGatewayRuleTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.AiGatewayRuleType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.AiGatewayRuleTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.AiGatewayRuleType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.AiGatewayRuleType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.AiGatewayRuleType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Vercel.AiGatewayRuleTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabled.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabled.g.cs new file mode 100644 index 00000000..123773cb --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabled.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class ListAiGatewayRulesIncludeDisabledJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.ListAiGatewayRulesIncludeDisabled Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.ListAiGatewayRulesIncludeDisabledExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.ListAiGatewayRulesIncludeDisabled)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.ListAiGatewayRulesIncludeDisabled); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.ListAiGatewayRulesIncludeDisabled value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vercel.ListAiGatewayRulesIncludeDisabledExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullable.g.cs new file mode 100644 index 00000000..9ad6f0b4 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class ListAiGatewayRulesIncludeDisabledNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.ListAiGatewayRulesIncludeDisabled? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.ListAiGatewayRulesIncludeDisabledExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.ListAiGatewayRulesIncludeDisabled)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.ListAiGatewayRulesIncludeDisabled?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.ListAiGatewayRulesIncludeDisabled? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Vercel.ListAiGatewayRulesIncludeDisabledExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk000.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk000.g.cs index 28a774b1..e87932ed 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk000.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk000.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7225,10 +7229,17 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary), TypeInfoPropertyName = "DictionaryStringString_System_Collections_Generic_Dictionary_string_string")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.Network))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AiGatewayRule))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AiGatewayRuleType), TypeInfoPropertyName = "AiGatewayRuleType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AiGatewayRuleMatch))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AiGatewayRuleAction))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AiGatewayRuleList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.Network))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.NetworkHostedZones))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.NetworkPeeringConnections))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.NetworkProjects))] @@ -7236,7 +7247,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.FlagJSONValue), TypeInfoPropertyName = "FlagJSONValue2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.Pagination))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.HttpApiDecodeError))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -7716,12 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateAccessGroupRequestProject))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateAccessGroupRequestProjectRole), TypeInfoPropertyName = "CreateAccessGroupRequestProjectRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateAccessGroupProjectRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateAccessGroupProjectRequestRole), TypeInfoPropertyName = "CreateAccessGroupProjectRequestRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateAccessGroupProjectRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateAccessGroupProjectRequestRole), TypeInfoPropertyName = "UpdateAccessGroupProjectRequestRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.RecordEventsRequestItem))] internal sealed partial class SourceGenerationContextChunk000 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk001.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk001.g.cs index bb4d41bc..f3c41607 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk001.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk001.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,12 @@ 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.CreateAccessGroupProjectRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateAccessGroupProjectRequestRole), TypeInfoPropertyName = "CreateAccessGroupProjectRequestRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateAccessGroupProjectRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateAccessGroupProjectRequestRole), TypeInfoPropertyName = "UpdateAccessGroupProjectRequestRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.RecordEventsRequestItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.RecordEventsRequestItemSource), TypeInfoPropertyName = "RecordEventsRequestItemSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.RecordEventsRequestItemEvent), TypeInfoPropertyName = "RecordEventsRequestItemEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] @@ -7716,12 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagSegmentRequestDataIncludeItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagSegmentRequestDataExcludeItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSdkKeyRequest))] internal sealed partial class SourceGenerationContextChunk001 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs index ac777d78..a9a23e46 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,12 @@ 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.UpdateFlagSegmentRequestDataIncludeItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagSegmentRequestDataExcludeItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSdkKeyRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSdkKeyRequestSdkKeyType), TypeInfoPropertyName = "CreateSdkKeyRequestSdkKeyType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ConnectIntegrationResourceToProjectRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -7716,12 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRuleActionMitigateRedirectVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf>), TypeInfoPropertyName = "OneOfStringIListString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf, string>), TypeInfoPropertyName = "AnyOfIListStringString2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf, global::System.Collections.Generic.Dictionary>), TypeInfoPropertyName = "AnyOfIListPutFirewallConfigRequestRulesetDictionaryStringPutFirewallConfigRequestRulesets22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRuleset))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetConditionGroupItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] 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 1a46a121..750fd086 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk003.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk003.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,12 @@ 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.AnyOf, global::System.Collections.Generic.Dictionary>), TypeInfoPropertyName = "AnyOfIListPutFirewallConfigRequestRulesetDictionaryStringPutFirewallConfigRequestRulesets22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRuleset))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetConditionGroupItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetConditionGroupItemCondition))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetConditionGroupItemConditionType), TypeInfoPropertyName = "PutFirewallConfigRequestRulesetConditionGroupItemConditionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetConditionGroupItemConditionOp), TypeInfoPropertyName = "PutFirewallConfigRequestRulesetConditionGroupItemConditionOp2")] @@ -7457,6 +7467,7 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PatchUrlProtectionBypassRequestVariant3OverrideAction), TypeInfoPropertyName = "PatchUrlProtectionBypassRequestVariant3OverrideAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.IssueCertRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadCertRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListAiGatewayRulesIncludeDisabled), TypeInfoPropertyName = "ListAiGatewayRulesIncludeDisabled2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfBooleanGetRedirectsDiff22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRedirectsDiff2), TypeInfoPropertyName = "GetRedirectsDiff22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRedirectsSortBy), TypeInfoPropertyName = "GetRedirectsSortBy2")] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseRequires), TypeInfoPropertyName = "UpdateProjectCheckResponseRequires2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UpdateProjectCheckResponseSourceVariant3_31e6b4013bbb0940")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant1Kind), TypeInfoPropertyName = "UpdateProjectCheckResponseSourceVariant1Kind2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant2Kind), TypeInfoPropertyName = "UpdateProjectCheckResponseSourceVariant2Kind2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant3Kind), TypeInfoPropertyName = "UpdateProjectCheckResponseSourceVariant3Kind2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant3Provider), TypeInfoPropertyName = "UpdateProjectCheckResponseSourceVariant3Provider2")] 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 a15b0a32..e4c01cdc 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk004.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk004.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.UpdateProjectCheckResponseSourceVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant1Kind), TypeInfoPropertyName = "UpdateProjectCheckResponseSourceVariant1Kind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant2Kind), TypeInfoPropertyName = "UpdateProjectCheckResponseSourceVariant2Kind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant3Kind), TypeInfoPropertyName = "UpdateProjectCheckResponseSourceVariant3Kind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceVariant3Provider), TypeInfoPropertyName = "UpdateProjectCheckResponseSourceVariant3Provider2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseBlocks), TypeInfoPropertyName = "UpdateProjectCheckResponseBlocks2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectCheckResponseSourceKind), TypeInfoPropertyName = "UpdateProjectCheckResponseSourceKind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.DeleteProjectCheckResponse))] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant1TopicsVariant2Item))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant1Env2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant1EnvType), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant1EnvType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2Schema), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2Schema2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2Builder))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2BuilderConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2BuilderConfigFunctions2))] 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 49124e44..2a36d8f9 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk005.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk005.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.GetDeploymentResponseVariant1ServiceVariant1EnvType), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant1EnvType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2Schema), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2Schema2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2Builder))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2BuilderConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2BuilderConfigFunctions2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2BuilderConfigFunctionsArchitecture), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2BuilderConfigFunctionsArchitecture2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfDoubleGetDeploymentResponseVariant1ServiceVariant2BuilderConfigFunctionsMaxDuration2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2BuilderConfigFunctionsMaxDuration), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2BuilderConfigFunctionsMaxDuration2")] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectHaVariant1Type), TypeInfoPropertyName = "CreateDeploymentResponseServiceVariant2RedirectHaVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringCreateDeploymentResponseServiceVariant2RedirectHaVariant1Value2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectHaVariant1Value))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectHaVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectHaVariant2Type), TypeInfoPropertyName = "CreateDeploymentResponseServiceVariant2RedirectHaVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringCreateDeploymentResponseServiceVariant2RedirectHaVariant2Value2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectHaVariant2Value))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "CreateDeploymentResponseServiceVariant2RedirectMissingItemVariant2_92b71e53cdd05996")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateDeploymentResponseServiceVariant2RedirectMissingItemVariant2_81516bbf1ac200f9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectMissingItemVariant1))] 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 9d69df28..b22b5db8 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk006.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk006.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.CreateDeploymentResponseServiceVariant2RedirectHaVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectHaVariant2Type), TypeInfoPropertyName = "CreateDeploymentResponseServiceVariant2RedirectHaVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringCreateDeploymentResponseServiceVariant2RedirectHaVariant2Value2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectHaVariant2Value))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "CreateDeploymentResponseServiceVariant2RedirectMissingItemVariant2_92b71e53cdd05996")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateDeploymentResponseServiceVariant2RedirectMissingItemVariant2_81516bbf1ac200f9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectMissingItemVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectMissingItemVariant1Type), TypeInfoPropertyName = "CreateDeploymentResponseServiceVariant2RedirectMissingItemVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringCreateDeploymentResponseServiceVariant2RedirectMissingItemVariant1Value2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDeploymentResponseServiceVariant2RedirectMissingItemVariant1Value))] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRecordsResponseVariant2Record))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRecordsResponseVariant2RecordType), TypeInfoPropertyName = "GetRecordsResponseVariant2RecordType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRecordsResponseVariant3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRecordsResponseVariant3Record))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRecordsResponseVariant3RecordType), TypeInfoPropertyName = "GetRecordsResponseVariant3RecordType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfCreateRecordResponseVariant1CreateRecordResponseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateRecordResponseVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateRecordResponseVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateRecordResponse))] 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 4ef5a7e9..40aba405 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk007.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk007.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.GetRecordsResponseVariant3Record))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRecordsResponseVariant3RecordType), TypeInfoPropertyName = "GetRecordsResponseVariant3RecordType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfCreateRecordResponseVariant1CreateRecordResponseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateRecordResponseVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateRecordResponseVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateRecordResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateRecordResponseType), TypeInfoPropertyName = "UpdateRecordResponseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateRecordResponseRecordType), TypeInfoPropertyName = "UpdateRecordResponseRecordType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetTldResponse))] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant1Deployment))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant1DeploymentEnvironment), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant1DeploymentEnvironment2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant2Type), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant2Item))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant2ItemStatus), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant2ItemStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant2ItemDisabledReason), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant2ItemDisabledReason2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant2ItemSchemas))] 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 5fe8a25f..a32b12f7 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk008.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk008.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant2Type), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant1ItemFilterV2FilterVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant2Item))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant2ItemStatus), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant2ItemStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant2ItemDisabledReason), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant2ItemDisabledReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant2ItemSchemas))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant2ItemDeliveryVariant5_e6f702ddd1175101")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant2ItemDeliveryVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDrainsResponseDrainsVariant2ItemDeliveryVariant1Type), TypeInfoPropertyName = "GetDrainsResponseDrainsVariant2ItemDeliveryVariant1Type2")] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentPrimaryMetric))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentPrimaryMetricMetricType), TypeInfoPropertyName = "UpdateFlagResponseExperimentPrimaryMetricMetricType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentPrimaryMetricMetricUnit), TypeInfoPropertyName = "UpdateFlagResponseExperimentPrimaryMetricMetricUnit2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentPrimaryMetricDirectionality), TypeInfoPropertyName = "UpdateFlagResponseExperimentPrimaryMetricDirectionality2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentStatus), TypeInfoPropertyName = "UpdateFlagResponseExperimentStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseEnvironments2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseEnvironmentsReuse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>>>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>>))] 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 7aa56da3..cd49f474 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk009.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk009.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.UpdateFlagResponseExperimentPrimaryMetricDirectionality), TypeInfoPropertyName = "UpdateFlagResponseExperimentPrimaryMetricDirectionality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperimentStatus), TypeInfoPropertyName = "UpdateFlagResponseExperimentStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseEnvironments2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseEnvironmentsReuse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>>>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseEnvironmentsTarget))] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant5UiFormattedValue))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6Type), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiControl), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiControl2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOption))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionDisabledEnum2_6e42206aba2c1802")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionDisabledEnum))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionDisabledEnum2), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionDisabledEnum22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionHiddenEnum2_3db82d7ce494a66a")] 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 0750dc84..e055ef68 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk010.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk010.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiControl), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiControl2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOption))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionDisabledEnum2_6e42206aba2c1802")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionDisabledEnum))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionDisabledEnum2), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionDisabledEnum22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionHiddenEnum2_3db82d7ce494a66a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionHiddenEnum))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionHiddenEnum2), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiOptionHiddenEnum22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant6UiReadOnlyEnum2_6022ce4ffc284946")] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2_7cfc632edeb9678f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2_4a17cb9555c95b23")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Type), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Key), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Key2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Value))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2Type), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2Type2")] 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 65753fa2..1490b2b2 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk011.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk011.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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 = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2_4a17cb9555c95b23")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Type), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Key), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Key2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Value))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2Type), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2Value))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2Mitigate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2MitigateAction), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2MitigateAction2")] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteSrc))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteHa))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteHaType), TypeInfoPropertyName = "GetProjectsResponseVariant1ItemSecurityFirewallRouteHaType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringGetProjectsResponseVariant1ItemSecurityFirewallRouteHaValue2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteHaValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteMissingItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteMissingItemType), TypeInfoPropertyName = "GetProjectsResponseVariant1ItemSecurityFirewallRouteMissingItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringGetProjectsResponseVariant1ItemSecurityFirewallRouteMissingItemValue2")] 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 6c8f7aaf..184a5caf 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk012.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk012.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.GetProjectsResponseVariant1ItemSecurityFirewallRouteHaType), TypeInfoPropertyName = "GetProjectsResponseVariant1ItemSecurityFirewallRouteHaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringGetProjectsResponseVariant1ItemSecurityFirewallRouteHaValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteHaValue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteMissingItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteMissingItemType), TypeInfoPropertyName = "GetProjectsResponseVariant1ItemSecurityFirewallRouteMissingItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringGetProjectsResponseVariant1ItemSecurityFirewallRouteMissingItemValue2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteMissingItemValue))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteHandle), TypeInfoPropertyName = "GetProjectsResponseVariant1ItemSecurityFirewallRouteHandle2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant1ItemSecurityFirewallRouteMitigate))] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectProtectionConfigSandboxUrls))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfigFunctionDefaultMemoryType), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectResourceConfigFunctionDefaultMemoryType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfigBuildMachineType), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectResourceConfigBuildMachineType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfigBuildMachineSelection), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectResourceConfigBuildMachineSelection2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfigBuildMachineElasticReason), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectResourceConfigBuildMachineElasticReason2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfigBuildQueue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfigBuildQueueConfiguration), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectResourceConfigBuildQueueConfiguration2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectRollbackDescription))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectRollingRelease))] 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 40213a20..19f07888 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk013.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk013.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.GetProjectsResponseVariant3ProjectResourceConfigBuildMachineType), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectResourceConfigBuildMachineType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfigBuildMachineSelection), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectResourceConfigBuildMachineSelection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfigBuildMachineElasticReason), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectResourceConfigBuildMachineElasticReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfigBuildQueue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectResourceConfigBuildQueueConfiguration), TypeInfoPropertyName = "GetProjectsResponseVariant3ProjectResourceConfigBuildQueueConfiguration2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectRollbackDescription))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectRollingRelease))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectRollingReleaseStage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant3ProjectDefaultResourceConfig))] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4Action), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4Action2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2_b0bc823a87eab10a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant2_25778e4065d50580")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant2_76f68fc4099a6994")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1Type), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1Key), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1Key2")] 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 85d21400..0f04bae9 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk014.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk014.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant2_25778e4065d50580")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant2_76f68fc4099a6994")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1Type), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1Key), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1Key2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant1Value))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant2Type), TypeInfoPropertyName = "CreateProjectResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant2Type2")] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant4DeployHook))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant5Type), TypeInfoPropertyName = "UpdateProjectResponseLinkVariant5Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant5DeployHook))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6Type), TypeInfoPropertyName = "UpdateProjectResponseLinkVariant6Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6DeployHook))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseBlobs))] 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 44403609..826d23a0 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk015.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk015.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.UpdateProjectResponseLinkVariant5DeployHook))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6Type), TypeInfoPropertyName = "UpdateProjectResponseLinkVariant6Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6DeployHook))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseBlobs))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UpdateProjectResponseMicrofrontendsVariant3_3fb70164b87fd705")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseMicrofrontendsVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseMicrofrontendsVariant2))] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant1Action), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant1Action2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant2Action), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant2Action2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3Action), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3Action2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2_964df45d8141d9f6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2_e0585fc96e87ba86")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2_fe5ecf5db1849aed")] 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 627fe40b..fb012688 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk016.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk016.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3Action), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3Action2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2_964df45d8141d9f6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2_e0585fc96e87ba86")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2_fe5ecf5db1849aed")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Type), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Key), TypeInfoPropertyName = "UploadProjectAvatarResponseAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Key2")] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseDefaultResourceConfigBuildQueueConfiguration), TypeInfoPropertyName = "UpdateMicrofrontendsResponseDefaultResourceConfigBuildQueueConfiguration2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseStaticIps))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseSsoProtection))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseSsoProtectionDeploymentType), TypeInfoPropertyName = "UpdateMicrofrontendsResponseSsoProtectionDeploymentType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseSsoProtectionCve55182MigrationAppliedFrom), TypeInfoPropertyName = "UpdateMicrofrontendsResponseSsoProtectionCve55182MigrationAppliedFrom2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom), TypeInfoPropertyName = "UpdateMicrofrontendsResponseSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseTargets2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseTargetsAliasError))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseTargetsBranchMatcher))] 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 68f55f87..7af941b5 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk017.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk017.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.UpdateMicrofrontendsResponseSsoProtectionDeploymentType), TypeInfoPropertyName = "UpdateMicrofrontendsResponseSsoProtectionDeploymentType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseSsoProtectionCve55182MigrationAppliedFrom), TypeInfoPropertyName = "UpdateMicrofrontendsResponseSsoProtectionCve55182MigrationAppliedFrom2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom), TypeInfoPropertyName = "UpdateMicrofrontendsResponseSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseTargets2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseTargetsAliasError))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseTargetsBranchMatcher))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseTargetsBranchMatcherType), TypeInfoPropertyName = "UpdateMicrofrontendsResponseTargetsBranchMatcherType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseTargetsBuild))] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant1UiDescription2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant1UiDescription))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant1UiFormattedValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2Type), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiControl), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiControl2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiReadOnlyEnum2_dbc3bb8b4c818cae")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiReadOnlyEnum))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiReadOnlyEnum2), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiReadOnlyEnum22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiHiddenEnum2_1e2650b999724ba2")] 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 4a91dba9..5e557225 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk018.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk018.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,13 @@ 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.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2Type), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiControl), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiControl2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiReadOnlyEnum2_dbc3bb8b4c818cae")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiReadOnlyEnum))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiReadOnlyEnum2), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiReadOnlyEnum22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiHiddenEnum2_1e2650b999724ba2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiHiddenEnum))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiHiddenEnum2), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiHiddenEnum22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant2UiDisabledEnum2_7e28ad9e62ffefde")] @@ -7715,13 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentsResponseDeploymentAttributionGitUser))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentsResponseDeploymentAttributionVercelUser))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.DeleteDeploymentResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.DeleteDeploymentResponseState), TypeInfoPropertyName = "DeleteDeploymentResponseState2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.NetworkStatus?), TypeInfoPropertyName = "NullableNetworkStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.FlagJSONValue?), TypeInfoPropertyName = "NullableFlagJSONValue2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PropertyKey?), TypeInfoPropertyName = "NullablePropertyKey2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PropertyKeyVariant3Tag?), TypeInfoPropertyName = "NullablePropertyKeyVariant3Tag2")] 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 736a4f89..9c382890 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk019.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk019.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,14 @@ 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.DeleteDeploymentResponseState), TypeInfoPropertyName = "DeleteDeploymentResponseState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AiGatewayRuleType?), TypeInfoPropertyName = "NullableAiGatewayRuleType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.NetworkStatus?), TypeInfoPropertyName = "NullableNetworkStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.FlagJSONValue?), TypeInfoPropertyName = "NullableFlagJSONValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PropertyKey?), TypeInfoPropertyName = "NullablePropertyKey2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PropertyKeyVariant3Tag?), TypeInfoPropertyName = "NullablePropertyKeyVariant3Tag2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.TooManyRequestsCode?), TypeInfoPropertyName = "NullableTooManyRequestsCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UnauthorizedCode?), TypeInfoPropertyName = "NullableUnauthorizedCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.NotAuthorizedForScopeCode?), TypeInfoPropertyName = "NullableNotAuthorizedForScopeCode2")] @@ -7714,14 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf, string>?), TypeInfoPropertyName = "NullableAnyOfIListStringString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf, global::System.Collections.Generic.Dictionary>?), TypeInfoPropertyName = "NullableAnyOfIListPutFirewallConfigRequestRulesetDictionaryStringPutFirewallConfigRequestRulesets22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetConditionGroupItemConditionType?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestRulesetConditionGroupItemConditionType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetConditionGroupItemConditionOp?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestRulesetConditionGroupItemConditionOp2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetsAction?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestRulesetsAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "NullableAnyOfPutFirewallConfigRequestRulesetsRateLimitString2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetsRateLimitAlgo?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestRulesetsRateLimitAlgo2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "NullableAnyOfPutFirewallConfigRequestRulesetsRateLimitActionString2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetsRateLimitAction?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestRulesetsRateLimitAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "NullableAnyOfPutFirewallConfigRequestRulesetsRedirectString2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestIpAction?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestIpAction2")] 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 8db4af8c..274744d0 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk020.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk020.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,14 @@ 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.PutFirewallConfigRequestRulesetConditionGroupItemConditionOp?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestRulesetConditionGroupItemConditionOp2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetsAction?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestRulesetsAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "NullableAnyOfPutFirewallConfigRequestRulesetsRateLimitString2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetsRateLimitAlgo?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestRulesetsRateLimitAlgo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "NullableAnyOfPutFirewallConfigRequestRulesetsRateLimitActionString2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestRulesetsRateLimitAction?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestRulesetsRateLimitAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "NullableAnyOfPutFirewallConfigRequestRulesetsRedirectString2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigRequestIpAction?), TypeInfoPropertyName = "NullablePutFirewallConfigRequestIpAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UpdateFirewallConfigRequestVariant19_e507560c1081eae4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFirewallConfigRequestVariant1Action?), TypeInfoPropertyName = "NullableUpdateFirewallConfigRequestVariant1Action2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFirewallConfigRequestVariant1ValueConditionGroupItemConditionType?), TypeInfoPropertyName = "NullableUpdateFirewallConfigRequestVariant1ValueConditionGroupItemConditionType2")] @@ -7313,6 +7325,7 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PatchUrlProtectionBypassRequestVariant2ScopeAccess?), TypeInfoPropertyName = "NullablePatchUrlProtectionBypassRequestVariant2ScopeAccess2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PatchUrlProtectionBypassRequestVariant3OverrideScope?), TypeInfoPropertyName = "NullablePatchUrlProtectionBypassRequestVariant3OverrideScope2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PatchUrlProtectionBypassRequestVariant3OverrideAction?), TypeInfoPropertyName = "NullablePatchUrlProtectionBypassRequestVariant3OverrideAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListAiGatewayRulesIncludeDisabled?), TypeInfoPropertyName = "NullableListAiGatewayRulesIncludeDisabled2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfBooleanGetRedirectsDiff22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRedirectsDiff2?), TypeInfoPropertyName = "NullableGetRedirectsDiff22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRedirectsSortBy?), TypeInfoPropertyName = "NullableGetRedirectsSortBy2")] @@ -7713,15 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2FunctionsMaxDuration?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2FunctionsMaxDuration2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2FunctionsExperimentalTriggerVariant2_c559156b3469ec71")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2FunctionsExperimentalTriggerVariant1Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2FunctionsExperimentalTriggerVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2FunctionsExperimentalTriggerVariant2Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2FunctionsExperimentalTriggerVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant2_8b4b3a55db6977e7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant1Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant1Value2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant2Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant2Value2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant2_034f6843d4f5bcb1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant1Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant1Value2")] 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 6ead17a8..9a188bfd 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk021.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk021.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,15 @@ 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.GetDeploymentResponseVariant1ServiceVariant2FunctionsExperimentalTriggerVariant2Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2FunctionsExperimentalTriggerVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant2_8b4b3a55db6977e7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant1Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant1Value2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant2Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetDeploymentResponseVariant1ServiceVariant2HeaderHaVariant2Value2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant2_034f6843d4f5bcb1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant1Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant1Value2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant2Type?), TypeInfoPropertyName = "NullableGetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetDeploymentResponseVariant1ServiceVariant2HeaderMissingItemVariant2Value2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetDeploymentResponseVariant1ServiceVariant2RedirectHaVariant2_323e561d2855bef8")] @@ -7713,15 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant4Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant4Code2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant5Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant5Code2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant6Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant6Code2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant7Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant7Code2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant8Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant8Code2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant9Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant9Code2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant10Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant10Code2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant10DetailsInvalidField?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant10DetailsInvalidField2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant3PurchaseType?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant3PurchaseType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant3Status?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant3Status2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?, global::Vercel.GetOrderResponseDomainVariant3Error>?), TypeInfoPropertyName = "GetOrderResponseDomainVariant3Error_daf66779037e4b1b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "GetOrderResponseDomainVariant3ErrorVariant10_b471cb1871bf25c2")] 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 673caaa2..cd0b5628 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk022.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk022.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,15 @@ 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.GetOrderResponseDomainVariant2ErrorVariant7Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant7Code2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant8Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant8Code2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant9Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant9Code2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant10Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant10Code2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant2ErrorVariant10DetailsInvalidField?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant2ErrorVariant10DetailsInvalidField2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant3PurchaseType?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant3PurchaseType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant3Status?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant3Status2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?, global::Vercel.GetOrderResponseDomainVariant3Error>?), TypeInfoPropertyName = "GetOrderResponseDomainVariant3Error_daf66779037e4b1b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "GetOrderResponseDomainVariant3ErrorVariant10_b471cb1871bf25c2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant3ErrorVariant1Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant3ErrorVariant1Code2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant3ErrorVariant2Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant3ErrorVariant2Code2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetOrderResponseDomainVariant3ErrorVariant3Code?), TypeInfoPropertyName = "NullableGetOrderResponseDomainVariant3ErrorVariant3Code2")] @@ -7713,15 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentGuardrailMetricDirectionality?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentGuardrailMetricDirectionality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentDevice?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentDevice2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentDurationUnit?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentDurationUnit2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentAllocationUnit?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentAllocationUnit2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentPrimaryMetricMetricType?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentPrimaryMetricMetricType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentPrimaryMetricMetricUnit?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentPrimaryMetricMetricUnit2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentPrimaryMetricDirectionality?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentPrimaryMetricDirectionality2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentStatus?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataEnvironmentsPausedOutcomeType?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataEnvironmentsPausedOutcomeType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "ListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant3_05bc025a3b2bd739")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant1Type?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant2Type?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant2Type2")] 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 5c819610..8c556a8c 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk023.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk023.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,15 @@ 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.ListFlagVersionsResponseVersionDataExperimentAllocationUnit?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentAllocationUnit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentPrimaryMetricMetricType?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentPrimaryMetricMetricType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentPrimaryMetricMetricUnit?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentPrimaryMetricMetricUnit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentPrimaryMetricDirectionality?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentPrimaryMetricDirectionality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataExperimentStatus?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataExperimentStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataEnvironmentsPausedOutcomeType?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataEnvironmentsPausedOutcomeType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "ListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant3_05bc025a3b2bd739")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant1Type?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant2Type?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant2BaseType?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant2BaseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant3Type?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant3Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant3BaseType?), TypeInfoPropertyName = "NullableListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant3BaseType2")] @@ -7713,15 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteMitigateAction?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteMitigateAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfGetRoutesResponseVariant4RouteRouteTransformVariant1GetRoutesResponseVariant4RouteRouteTransformVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteTransformVariant1Type?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteTransformVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteTransformVariant1Op?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteTransformVariant1Op2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetRoutesResponseVariant4RouteRouteTransformVariant1TargetKey2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteTransformVariant2Type?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteTransformVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteTransformVariant2Op?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteTransformVariant2Op2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetRoutesResponseVariant4RouteRouteDestination2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteDestinationType?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteSrcSyntax?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteSrcSyntax2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteType?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AddRouteResponseRouteRouteType?), TypeInfoPropertyName = "NullableAddRouteResponseRouteRouteType2")] 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 0f1a2f97..e725fb6c 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk024.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk024.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,15 @@ 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.GetRoutesResponseVariant4RouteRouteTransformVariant1Op?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteTransformVariant1Op2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetRoutesResponseVariant4RouteRouteTransformVariant1TargetKey2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteTransformVariant2Type?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteTransformVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteTransformVariant2Op?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteTransformVariant2Op2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringGetRoutesResponseVariant4RouteRouteDestination2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteDestinationType?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteSrcSyntax?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteSrcSyntax2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRoutesResponseVariant4RouteRouteType?), TypeInfoPropertyName = "NullableGetRoutesResponseVariant4RouteRouteType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AddRouteResponseRouteRouteType?), TypeInfoPropertyName = "NullableAddRouteResponseRouteRouteType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfAddRouteResponseRouteRouteHaVariant1AddRouteResponseRouteRouteHaVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AddRouteResponseRouteRouteHaVariant1Type?), TypeInfoPropertyName = "NullableAddRouteResponseRouteRouteHaVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringAddRouteResponseRouteRouteHaVariant1Value2")] @@ -7713,15 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTrustedSourcesProjectsCustomAllowItemFromVariant1Preset?), TypeInfoPropertyName = "NullableCreateProjectResponseTrustedSourcesProjectsCustomAllowItemFromVariant1Preset2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTrustedSourcesProjectsCustomAllowItemFromVariant2Preset?), TypeInfoPropertyName = "NullableCreateProjectResponseTrustedSourcesProjectsCustomAllowItemFromVariant2Preset2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateProjectResponseTrustedSourcesProjectsCustomAllowItemToVariant2_3bb1e9e54959ca77")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTrustedSourcesProjectsCustomAllowItemToVariant1Preset?), TypeInfoPropertyName = "NullableCreateProjectResponseTrustedSourcesProjectsCustomAllowItemToVariant1Preset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTrustedSourcesProjectsCustomAllowItemToVariant2Preset?), TypeInfoPropertyName = "NullableCreateProjectResponseTrustedSourcesProjectsCustomAllowItemToVariant2Preset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateProjectResponseTrustedSourcesOidcProviderToVariant2_489970f78d63ac4f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTrustedSourcesOidcProviderToVariant1Preset?), TypeInfoPropertyName = "NullableCreateProjectResponseTrustedSourcesOidcProviderToVariant1Preset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTrustedSourcesOidcProviderToVariant2Preset?), TypeInfoPropertyName = "NullableCreateProjectResponseTrustedSourcesOidcProviderToVariant2Preset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseGitProviderOptionsCreateDeployments?), TypeInfoPropertyName = "NullableCreateProjectResponseGitProviderOptionsCreateDeployments2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseSecurityManagedRulesVercelRulesetAction?), TypeInfoPropertyName = "NullableCreateProjectResponseSecurityManagedRulesVercelRulesetAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseSecurityManagedRulesTrafficSourcesAction?), TypeInfoPropertyName = "NullableCreateProjectResponseSecurityManagedRulesTrafficSourcesAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseSecurityManagedRulesBotFilterAction?), TypeInfoPropertyName = "NullableCreateProjectResponseSecurityManagedRulesBotFilterAction2")] 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 0aad377d..1a90afb8 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk025.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk025.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,15 @@ 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.CreateProjectResponseTrustedSourcesProjectsCustomAllowItemToVariant1Preset?), TypeInfoPropertyName = "NullableCreateProjectResponseTrustedSourcesProjectsCustomAllowItemToVariant1Preset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTrustedSourcesProjectsCustomAllowItemToVariant2Preset?), TypeInfoPropertyName = "NullableCreateProjectResponseTrustedSourcesProjectsCustomAllowItemToVariant2Preset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateProjectResponseTrustedSourcesOidcProviderToVariant2_489970f78d63ac4f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTrustedSourcesOidcProviderToVariant1Preset?), TypeInfoPropertyName = "NullableCreateProjectResponseTrustedSourcesOidcProviderToVariant1Preset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseTrustedSourcesOidcProviderToVariant2Preset?), TypeInfoPropertyName = "NullableCreateProjectResponseTrustedSourcesOidcProviderToVariant2Preset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseGitProviderOptionsCreateDeployments?), TypeInfoPropertyName = "NullableCreateProjectResponseGitProviderOptionsCreateDeployments2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseSecurityManagedRulesVercelRulesetAction?), TypeInfoPropertyName = "NullableCreateProjectResponseSecurityManagedRulesVercelRulesetAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseSecurityManagedRulesTrafficSourcesAction?), TypeInfoPropertyName = "NullableCreateProjectResponseSecurityManagedRulesTrafficSourcesAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseSecurityManagedRulesBotFilterAction?), TypeInfoPropertyName = "NullableCreateProjectResponseSecurityManagedRulesBotFilterAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseSecurityManagedRulesAiBotsAction?), TypeInfoPropertyName = "NullableCreateProjectResponseSecurityManagedRulesAiBotsAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseSecurityManagedRulesOwaspAction?), TypeInfoPropertyName = "NullableCreateProjectResponseSecurityManagedRulesOwaspAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectResponseSecurityLogHeaders?>?), TypeInfoPropertyName = "NullableOneOfIListStringCreateProjectResponseSecurityLogHeaders2")] @@ -7713,15 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.FilterProjectEnvsResponseVariant3EnvTarget?>?), TypeInfoPropertyName = "NullableOneOfIListFilterProjectEnvsResponseVariant3EnvTargetItemFilterProjectEnvsResponseVariant3EnvTarget2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.FilterProjectEnvsResponseVariant3EnvTargetItem?), TypeInfoPropertyName = "NullableFilterProjectEnvsResponseVariant3EnvTargetItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.FilterProjectEnvsResponseVariant3EnvTarget?), TypeInfoPropertyName = "NullableFilterProjectEnvsResponseVariant3EnvTarget2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.FilterProjectEnvsResponseVariant3EnvType?), TypeInfoPropertyName = "NullableFilterProjectEnvsResponseVariant3EnvType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.FilterProjectEnvsResponseVariant3EnvInternalContentHintType?), TypeInfoPropertyName = "NullableFilterProjectEnvsResponseVariant3EnvInternalContentHintType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf>?), TypeInfoPropertyName = "NullableOneOfCreateProjectEnvResponseCreatedIListCreateProjectEnvResponseCreatedItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectEnvResponseCreatedTarget?>?), TypeInfoPropertyName = "NullableOneOfIListCreateProjectEnvResponseCreatedTargetItemCreateProjectEnvResponseCreatedTarget2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedTargetItem?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedTargetItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedTarget?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedTarget2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedType?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedInternalContentHintType?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedInternalContentHintType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectEnvResponseCreatedItemTarget?>?), TypeInfoPropertyName = "NullableOneOfIListStringCreateProjectEnvResponseCreatedItemTarget2")] 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 df3e2653..e1273f51 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk026.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk026.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,15 @@ 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.FilterProjectEnvsResponseVariant3EnvType?), TypeInfoPropertyName = "NullableFilterProjectEnvsResponseVariant3EnvType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.FilterProjectEnvsResponseVariant3EnvInternalContentHintType?), TypeInfoPropertyName = "NullableFilterProjectEnvsResponseVariant3EnvInternalContentHintType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf>?), TypeInfoPropertyName = "NullableOneOfCreateProjectEnvResponseCreatedIListCreateProjectEnvResponseCreatedItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectEnvResponseCreatedTarget?>?), TypeInfoPropertyName = "NullableOneOfIListCreateProjectEnvResponseCreatedTargetItemCreateProjectEnvResponseCreatedTarget2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedTargetItem?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedTargetItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedTarget?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedTarget2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedType?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedInternalContentHintType?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedInternalContentHintType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectEnvResponseCreatedItemTarget?>?), TypeInfoPropertyName = "NullableOneOfIListStringCreateProjectEnvResponseCreatedItemTarget2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedItemTarget?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedItemTarget2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedItemType?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectEnvResponseCreatedItemInternalContentHintType?), TypeInfoPropertyName = "NullableCreateProjectEnvResponseCreatedItemInternalContentHintType2")] @@ -7713,15 +7726,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12UiHiddenEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12UiHiddenEnum22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12UiDisabledEnum2_ed7a164d9a4d1204")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12UiDisabledEnum2?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12UiDisabledEnum22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfStringCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12UiDescription2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12GitProvider?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12GitProvider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductTag?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductTag2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductProjectConnectionScope?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductProjectConnectionScope2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductGuideStepActionType?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductGuideStepActionType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfCreateIntegrationStoreDirectResponseStoreProductIntegrationCapabilitiesSecretRotationBoolean2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductSupportedProtocol?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductSupportedProtocol2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductPrimaryProtocol?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductPrimaryProtocol2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductLogDrainStatus?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductLogDrainStatus2")] 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 899cae83..8d794bb7 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk027.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk027.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,15 @@ 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 = "NullableOneOfStringCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12UiDescription2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12GitProvider?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant12GitProvider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductTag?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductTag2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductProjectConnectionScope?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductProjectConnectionScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductGuideStepActionType?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductGuideStepActionType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "NullableOneOfCreateIntegrationStoreDirectResponseStoreProductIntegrationCapabilitiesSecretRotationBoolean2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductSupportedProtocol?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductSupportedProtocol2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductPrimaryProtocol?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductPrimaryProtocol2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductLogDrainStatus?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreProductLogDrainStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreNotificationLevel?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreNotificationLevel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreBillingPlanType?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreBillingPlanType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreBillingPlanScope?), TypeInfoPropertyName = "NullableCreateIntegrationStoreDirectResponseStoreBillingPlanScope2")] @@ -7291,6 +7304,7 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentsResponseDeploymentSeatBlockBlockCode?), TypeInfoPropertyName = "NullableGetDeploymentsResponseDeploymentSeatBlockBlockCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentsResponseDeploymentSeatBlockGitProvider?), TypeInfoPropertyName = "NullableGetDeploymentsResponseDeploymentSeatBlockGitProvider2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.DeleteDeploymentResponseState?), TypeInfoPropertyName = "NullableDeleteDeploymentResponseState2")] + [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))] @@ -7712,16 +7726,6 @@ namespace Vercel [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))] - [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 3f744ed5..cc72ac4e 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk028.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk028.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,16 @@ 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::Vercel.OneOf, global::Vercel.GetAllLogDrainsResponse2>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7712,16 +7726,6 @@ namespace Vercel [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 502caf00..e388f972 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk029.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk029.g.cs @@ -10,6 +10,8 @@ namespace Vercel DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] { + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter), + typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeNullableJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusJsonConverter), typeof(global::Vercel.JsonConverters.NetworkStatusNullableJsonConverter), typeof(global::Vercel.JsonConverters.PropertyKeyVariant3TagJsonConverter), @@ -934,6 +936,8 @@ namespace Vercel typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideScopeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionJsonConverter), typeof(global::Vercel.JsonConverters.PatchUrlProtectionBypassRequestVariant3OverrideActionNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledJsonConverter), + typeof(global::Vercel.JsonConverters.ListAiGatewayRulesIncludeDisabledNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2JsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsDiff2NullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRedirectsSortByJsonConverter), @@ -7222,6 +7226,16 @@ 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))] diff --git a/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRule.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRule.Json.g.cs new file mode 100644 index 00000000..9bebfda7 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRule.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class AiGatewayRule + { + /// + /// 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.AiGatewayRule? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.AiGatewayRule), + jsonSerializerContext) as global::Vercel.AiGatewayRule; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.AiGatewayRule? 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.AiGatewayRule? 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.AiGatewayRule), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.AiGatewayRule; + } + + /// + /// 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.AiGatewayRule.g.cs b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRule.g.cs new file mode 100644 index 00000000..82d1bb1d --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRule.g.cs @@ -0,0 +1,150 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Public response shape for AI Gateway routing rules. Used so OpenAPI generation can avoid ElectroDB's recursive EntityItem types. + /// + public sealed partial class AiGatewayRule + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ownerId")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string OwnerId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ruleId")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RuleId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.AiGatewayRuleTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Vercel.AiGatewayRuleType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("match")] + public global::Vercel.AiGatewayRuleMatch? Match { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("action")] + public global::Vercel.AiGatewayRuleAction? Action { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enabled")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Enabled { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool? Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("createdBy")] + public string? CreatedBy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updatedBy")] + public string? UpdatedBy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("createdAt")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updatedAt")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double UpdatedAt { 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 AiGatewayRule( + string ownerId, + string ruleId, + global::Vercel.AiGatewayRuleType type, + bool enabled, + double createdAt, + double updatedAt, + global::Vercel.AiGatewayRuleMatch? match, + global::Vercel.AiGatewayRuleAction? action, + bool? deleted, + string? description, + string? createdBy, + string? updatedBy) + { + this.OwnerId = ownerId ?? throw new global::System.ArgumentNullException(nameof(ownerId)); + this.RuleId = ruleId ?? throw new global::System.ArgumentNullException(nameof(ruleId)); + this.Type = type; + this.Match = match; + this.Action = action; + this.Enabled = enabled; + this.Deleted = deleted; + this.Description = description; + this.CreatedBy = createdBy; + this.UpdatedBy = updatedBy; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + } + + /// + /// Initializes a new instance of the class. + /// + public AiGatewayRule() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleAction.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleAction.Json.g.cs new file mode 100644 index 00000000..9e30b855 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleAction.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class AiGatewayRuleAction + { + /// + /// 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.AiGatewayRuleAction? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.AiGatewayRuleAction), + jsonSerializerContext) as global::Vercel.AiGatewayRuleAction; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.AiGatewayRuleAction? 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.AiGatewayRuleAction? 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.AiGatewayRuleAction), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.AiGatewayRuleAction; + } + + /// + /// 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.AiGatewayRuleAction.g.cs b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleAction.g.cs new file mode 100644 index 00000000..369257a8 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleAction.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class AiGatewayRuleAction + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rewriteModel")] + public string? RewriteModel { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reason")] + public string? Reason { 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 AiGatewayRuleAction( + string? rewriteModel, + string? reason) + { + this.RewriteModel = rewriteModel; + this.Reason = reason; + } + + /// + /// Initializes a new instance of the class. + /// + public AiGatewayRuleAction() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleList.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleList.Json.g.cs new file mode 100644 index 00000000..b44ef2eb --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleList.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class AiGatewayRuleList + { + /// + /// 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.AiGatewayRuleList? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.AiGatewayRuleList), + jsonSerializerContext) as global::Vercel.AiGatewayRuleList; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.AiGatewayRuleList? 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.AiGatewayRuleList? 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.AiGatewayRuleList), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.AiGatewayRuleList; + } + + /// + /// 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.AiGatewayRuleList.g.cs b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleList.g.cs new file mode 100644 index 00000000..87b97b33 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleList.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class AiGatewayRuleList + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rules")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Rules { 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 AiGatewayRuleList( + global::System.Collections.Generic.IList rules) + { + this.Rules = rules ?? throw new global::System.ArgumentNullException(nameof(rules)); + } + + /// + /// Initializes a new instance of the class. + /// + public AiGatewayRuleList() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleMatch.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleMatch.Json.g.cs new file mode 100644 index 00000000..0f3069de --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleMatch.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class AiGatewayRuleMatch + { + /// + /// 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.AiGatewayRuleMatch? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.AiGatewayRuleMatch), + jsonSerializerContext) as global::Vercel.AiGatewayRuleMatch; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Vercel.AiGatewayRuleMatch? 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.AiGatewayRuleMatch? 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.AiGatewayRuleMatch), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.AiGatewayRuleMatch; + } + + /// + /// 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.AiGatewayRuleMatch.g.cs b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleMatch.g.cs new file mode 100644 index 00000000..4b79663c --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleMatch.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class AiGatewayRuleMatch + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model")] + public string? Model { 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 AiGatewayRuleMatch( + string? model) + { + this.Model = model; + } + + /// + /// Initializes a new instance of the class. + /// + public AiGatewayRuleMatch() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleType.g.cs b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleType.g.cs new file mode 100644 index 00000000..23f244d1 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.AiGatewayRuleType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public enum AiGatewayRuleType + { + /// + /// + /// + Deny, + /// + /// + /// + Rewrite, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AiGatewayRuleTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AiGatewayRuleType value) + { + return value switch + { + AiGatewayRuleType.Deny => "deny", + AiGatewayRuleType.Rewrite => "rewrite", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AiGatewayRuleType? ToEnum(string value) + { + return value switch + { + "deny" => AiGatewayRuleType.Deny, + "rewrite" => AiGatewayRuleType.Rewrite, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListAiGatewayRulesIncludeDisabled.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListAiGatewayRulesIncludeDisabled.g.cs new file mode 100644 index 00000000..54c39b9e --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListAiGatewayRulesIncludeDisabled.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public enum ListAiGatewayRulesIncludeDisabled + { + /// + /// + /// + False, + /// + /// + /// + True, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ListAiGatewayRulesIncludeDisabledExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ListAiGatewayRulesIncludeDisabled value) + { + return value switch + { + ListAiGatewayRulesIncludeDisabled.False => "false", + ListAiGatewayRulesIncludeDisabled.True => "true", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ListAiGatewayRulesIncludeDisabled? ToEnum(string value) + { + return value switch + { + "false" => ListAiGatewayRulesIncludeDisabled.False, + "true" => ListAiGatewayRulesIncludeDisabled.True, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.Unauthorized.g.cs b/src/libs/Vercel/Generated/Vercel.Models.Unauthorized.g.cs index cf342f0e..9a960eb6 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.Unauthorized.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.Unauthorized.g.cs @@ -29,6 +29,12 @@ public sealed partial class Unauthorized [global::System.Text.Json.Serialization.JsonRequired] public required string Message { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reason")] + public string? Reason { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -41,17 +47,20 @@ public sealed partial class Unauthorized /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public Unauthorized( double status, string message, - global::Vercel.UnauthorizedCode code) + global::Vercel.UnauthorizedCode code, + string? reason) { this.Status = status; this.Code = code; this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); + this.Reason = reason; } /// diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.g.cs b/src/libs/Vercel/Generated/Vercel.VercelClient.g.cs index 1eec54f7..320135d9 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.g.cs +++ b/src/libs/Vercel/Generated/Vercel.VercelClient.g.cs @@ -58,6 +58,15 @@ public sealed partial class VercelClient : global::Vercel.IVercelClient, global: JsonSerializerContext = JsonSerializerContext, }; + /// + /// + /// + public ApiAiGatewayClient ApiAiGateway => new ApiAiGatewayClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContext = JsonSerializerContext, + }; + /// /// /// diff --git a/src/libs/Vercel/openapi.yaml b/src/libs/Vercel/openapi.yaml index fb333753..7da7d62c 100644 --- a/src/libs/Vercel/openapi.yaml +++ b/src/libs/Vercel/openapi.yaml @@ -1701,6 +1701,264 @@ ] } }, + "/v1/ai-gateway/rules": { + "post": { + "description": "Create a routing rule", + "operationId": "createAiGatewayRule", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create rule", + "tags": [ + "api-ai-gateway" + ], + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AiGatewayRule" + } + } + } + }, + "400": { + "description": "" + }, + "401": { + "description": "The request is not authorized." + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "409": { + "description": "" + }, + "500": { + "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" + } + } + ] + }, + "get": { + "description": "List the authenticated team's routing rules", + "operationId": "listAiGatewayRules", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "List rules", + "tags": [ + "api-ai-gateway" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AiGatewayRuleList" + } + } + } + }, + "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." + }, + "500": { + "description": "" + } + }, + "parameters": [ + { + "name": "includeDisabled", + "in": "query", + "schema": { + "type": "string", + "enum": [ + "true", + "false" + ] + } + }, + { + "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" + } + } + ] + }, + "patch": { + "description": "Update a routing rule (enabled, action, or description)", + "operationId": "updateAiGatewayRule", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Update rule", + "tags": [ + "api-ai-gateway" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AiGatewayRule" + } + } + } + }, + "400": { + "description": "" + }, + "401": { + "description": "The request is not authorized." + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "" + }, + "500": { + "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" + } + } + ] + }, + "delete": { + "description": "Delete a routing rule (soft delete)", + "operationId": "deleteAiGatewayRule", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete rule", + "tags": [ + "api-ai-gateway" + ], + "responses": { + "204": { + "description": "", + "content": { + "application/json": { + "schema": { + "nullable": true + } + } + } + }, + "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." + }, + "404": { + "description": "" + }, + "500": { + "description": "" + } + }, + "parameters": [ + { + "name": "ruleId", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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" + } + } + ] + } + }, "/v8/artifacts/events": { "post": { "description": "Records an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are `HIT` and `MISS`. The source is either `LOCAL` the cache event was on the users filesystem cache or `REMOTE` if the cache event is for a remote cache. When the event is a `HIT` the request also accepts a number `duration` which is the time taken to generate the artifact in the cache.", @@ -176825,6 +177083,95 @@ }, "components": { "schemas": { + "AiGatewayRule": { + "properties": { + "ownerId": { + "type": "string" + }, + "ruleId": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "deny", + "rewrite" + ] + }, + "match": { + "properties": { + "model": { + "type": "string" + } + }, + "type": "object" + }, + "action": { + "properties": { + "rewriteModel": { + "type": "string" + }, + "reason": { + "type": "string" + } + }, + "type": "object" + }, + "enabled": { + "type": "boolean", + "enum": [ + false, + true + ] + }, + "deleted": { + "type": "boolean", + "enum": [ + false, + true + ] + }, + "description": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "updatedBy": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "updatedAt": { + "type": "number" + } + }, + "required": [ + "createdAt", + "enabled", + "ownerId", + "ruleId", + "type", + "updatedAt" + ], + "type": "object", + "description": "Public response shape for AI Gateway routing rules. Used so OpenAPI generation can avoid ElectroDB's recursive EntityItem types." + }, + "AiGatewayRuleList": { + "properties": { + "rules": { + "items": { + "$ref": "#/components/schemas/AiGatewayRule" + }, + "type": "array" + } + }, + "required": [ + "rules" + ], + "type": "object" + }, "Network": { "properties": { "awsAccountId": { @@ -177165,6 +177512,9 @@ }, "message": { "type": "string" + }, + "reason": { + "type": "string" } }, "additionalProperties": false