diff --git a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlags.g.cs b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlags.g.cs
index 52ccea326..3e87c8668 100644
--- a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlags.g.cs
+++ b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlags.g.cs
@@ -1,6 +1,8 @@
#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
namespace Vercel
{
public partial class FeatureFlagsClient
@@ -68,7 +70,7 @@ partial void ProcessListFlagsResponseContent(
/// The state of the flags to retrieve. Defaults to `active`.
///
///
- /// Whether to include metadata in the response
+ /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. Use `GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true` for single-flag lookups that need creator metadata.
///
///
/// Maximum number of flags to return. When not set, all flags are returned.
@@ -131,7 +133,7 @@ partial void ProcessListFlagsResponseContent(
/// The state of the flags to retrieve. Defaults to `active`.
///
///
- /// Whether to include metadata in the response
+ /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. Use `GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true` for single-flag lookups that need creator metadata.
///
///
/// Maximum number of flags to return. When not set, all flags are returned.
diff --git a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlagsV2.g.cs b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlagsV2.g.cs
new file mode 100644
index 000000000..62569e3bc
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlagsV2.g.cs
@@ -0,0 +1,692 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ public partial class FeatureFlagsClient
+ {
+
+
+ private static readonly global::Vercel.EndPointSecurityRequirement s_ListFlagsV2SecurityRequirement0 =
+ 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_ListFlagsV2SecurityRequirements =
+ new global::Vercel.EndPointSecurityRequirement[]
+ { s_ListFlagsV2SecurityRequirement0,
+ };
+ partial void PrepareListFlagsV2Arguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string projectIdOrName,
+ ref global::Vercel.ListFlagsV2State? state,
+ ref int? limit,
+ ref string? cursor,
+ ref string? search,
+ global::System.Collections.Generic.IList? tags,
+ ref string? teamId,
+ ref string? slug);
+ partial void PrepareListFlagsV2Request(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string projectIdOrName,
+ global::Vercel.ListFlagsV2State? state,
+ int? limit,
+ string? cursor,
+ string? search,
+ global::System.Collections.Generic.IList? tags,
+ string? teamId,
+ string? slug);
+ partial void ProcessListFlagsV2Response(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessListFlagsV2ResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// List flags
+ /// Retrieve feature flags for a project. Returns an opaque cursor for pagination.
+ ///
+ ///
+ /// The project id or name
+ ///
+ ///
+ /// The state of the flags to retrieve. Defaults to `active`.
+ ///
+ ///
+ /// Maximum number of flags to return.
+ /// Default Value: 25
+ ///
+ ///
+ /// Pagination cursor to continue from.
+ ///
+ ///
+ /// Search flags by their slug or description. Case-insensitive.
+ ///
+ ///
+ /// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
+ ///
+ ///
+ /// 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 ListFlagsV2Async(
+ string projectIdOrName,
+ global::Vercel.ListFlagsV2State? state = default,
+ int? limit = default,
+ string? cursor = default,
+ string? search = default,
+ global::System.Collections.Generic.IList? tags = default,
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await ListFlagsV2AsResponseAsync(
+ projectIdOrName: projectIdOrName,
+ state: state,
+ limit: limit,
+ cursor: cursor,
+ search: search,
+ tags: tags,
+ teamId: teamId,
+ slug: slug,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// List flags
+ /// Retrieve feature flags for a project. Returns an opaque cursor for pagination.
+ ///
+ ///
+ /// The project id or name
+ ///
+ ///
+ /// The state of the flags to retrieve. Defaults to `active`.
+ ///
+ ///
+ /// Maximum number of flags to return.
+ /// Default Value: 25
+ ///
+ ///
+ /// Pagination cursor to continue from.
+ ///
+ ///
+ /// Search flags by their slug or description. Case-insensitive.
+ ///
+ ///
+ /// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
+ ///
+ ///
+ /// 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> ListFlagsV2AsResponseAsync(
+ string projectIdOrName,
+ global::Vercel.ListFlagsV2State? state = default,
+ int? limit = default,
+ string? cursor = default,
+ string? search = default,
+ global::System.Collections.Generic.IList? tags = default,
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareListFlagsV2Arguments(
+ httpClient: HttpClient,
+ projectIdOrName: ref projectIdOrName,
+ state: ref state,
+ limit: ref limit,
+ cursor: ref cursor,
+ search: ref search,
+ tags: tags,
+ teamId: ref teamId,
+ slug: ref slug);
+
+
+ var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListFlagsV2SecurityRequirements,
+ operationName: "ListFlagsV2Async");
+
+ 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: $"/v2/projects/{projectIdOrName}/feature-flags/flags",
+ baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("state", state?.ToValueString())
+ .AddOptionalParameter("limit", limit?.ToString())
+ .AddOptionalParameter("cursor", cursor)
+ .AddOptionalParameter("search", search)
+ .AddOptionalParameter("tags", tags, delimiter: ",", explode: true)
+ .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);
+ PrepareListFlagsV2Request(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ projectIdOrName: projectIdOrName!,
+ state: state,
+ limit: limit,
+ cursor: cursor,
+ search: search,
+ tags: tags,
+ 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: "ListFlagsV2",
+ methodName: "ListFlagsV2Async",
+ pathTemplate: "$\"/v2/projects/{projectIdOrName}/feature-flags/flags\"",
+ 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: "ListFlagsV2",
+ methodName: "ListFlagsV2Async",
+ pathTemplate: "$\"/v2/projects/{projectIdOrName}/feature-flags/flags\"",
+ 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: "ListFlagsV2",
+ methodName: "ListFlagsV2Async",
+ pathTemplate: "$\"/v2/projects/{projectIdOrName}/feature-flags/flags\"",
+ 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);
+ ProcessListFlagsV2Response(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "ListFlagsV2",
+ methodName: "ListFlagsV2Async",
+ pathTemplate: "$\"/v2/projects/{projectIdOrName}/feature-flags/flags\"",
+ 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: "ListFlagsV2",
+ methodName: "ListFlagsV2Async",
+ pathTemplate: "$\"/v2/projects/{projectIdOrName}/feature-flags/flags\"",
+ 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 == 402)
+ {
+ string? __content_402 = null;
+ global::System.Exception? __exception_402 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_402 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_402 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_402,
+ responseBody: __content_402,
+ 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 (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessListFlagsV2ResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vercel.ListFlagsV2Response.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.ListFlagsV2Response.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.FeatureFlagsClient.ListTeamFlags.g.cs b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlags.g.cs
index c9af658cd..bbf43809e 100644
--- a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlags.g.cs
+++ b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlags.g.cs
@@ -1,6 +1,8 @@
#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
namespace Vercel
{
public partial class FeatureFlagsClient
@@ -65,7 +67,7 @@ partial void ProcessListTeamFlagsResponseContent(
/// The state of the flags to retrieve. Defaults to `active`.
///
///
- /// Whether to include metadata in the response
+ /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release.
///
///
/// Maximum number of flags to return.
@@ -129,7 +131,7 @@ partial void ProcessListTeamFlagsResponseContent(
/// The state of the flags to retrieve. Defaults to `active`.
///
///
- /// Whether to include metadata in the response
+ /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release.
///
///
/// Maximum number of flags to return.
diff --git a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlagsV2.g.cs b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlagsV2.g.cs
new file mode 100644
index 000000000..95a77a6d4
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlagsV2.g.cs
@@ -0,0 +1,628 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ public partial class FeatureFlagsClient
+ {
+
+
+ private static readonly global::Vercel.EndPointSecurityRequirement s_ListTeamFlagsV2SecurityRequirement0 =
+ 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_ListTeamFlagsV2SecurityRequirements =
+ new global::Vercel.EndPointSecurityRequirement[]
+ { s_ListTeamFlagsV2SecurityRequirement0,
+ };
+ partial void PrepareListTeamFlagsV2Arguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref global::Vercel.ListTeamFlagsV2State? state,
+ ref int? limit,
+ ref string? cursor,
+ ref string? search,
+ ref global::Vercel.ListTeamFlagsV2Kind? kind,
+ global::System.Collections.Generic.IList? tags,
+ ref string teamId,
+ ref string? slug);
+ partial void PrepareListTeamFlagsV2Request(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ global::Vercel.ListTeamFlagsV2State? state,
+ int? limit,
+ string? cursor,
+ string? search,
+ global::Vercel.ListTeamFlagsV2Kind? kind,
+ global::System.Collections.Generic.IList? tags,
+ string teamId,
+ string? slug);
+ partial void ProcessListTeamFlagsV2Response(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessListTeamFlagsV2ResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// List all flags for a team
+ /// Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination.
+ ///
+ ///
+ /// The state of the flags to retrieve. Defaults to `active`.
+ ///
+ ///
+ /// Maximum number of flags to return.
+ /// Default Value: 25
+ ///
+ ///
+ /// Pagination cursor to continue from.
+ ///
+ ///
+ /// Search flags by their slug or description. Case-insensitive.
+ ///
+ ///
+ /// The kind of flags to retrieve.
+ ///
+ ///
+ /// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
+ ///
+ ///
+ /// 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 ListTeamFlagsV2Async(
+ string teamId,
+ global::Vercel.ListTeamFlagsV2State? state = default,
+ int? limit = default,
+ string? cursor = default,
+ string? search = default,
+ global::Vercel.ListTeamFlagsV2Kind? kind = default,
+ global::System.Collections.Generic.IList? tags = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await ListTeamFlagsV2AsResponseAsync(
+ teamId: teamId,
+ state: state,
+ limit: limit,
+ cursor: cursor,
+ search: search,
+ kind: kind,
+ tags: tags,
+ slug: slug,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// List all flags for a team
+ /// Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination.
+ ///
+ ///
+ /// The state of the flags to retrieve. Defaults to `active`.
+ ///
+ ///
+ /// Maximum number of flags to return.
+ /// Default Value: 25
+ ///
+ ///
+ /// Pagination cursor to continue from.
+ ///
+ ///
+ /// Search flags by their slug or description. Case-insensitive.
+ ///
+ ///
+ /// The kind of flags to retrieve.
+ ///
+ ///
+ /// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
+ ///
+ ///
+ /// 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> ListTeamFlagsV2AsResponseAsync(
+ string teamId,
+ global::Vercel.ListTeamFlagsV2State? state = default,
+ int? limit = default,
+ string? cursor = default,
+ string? search = default,
+ global::Vercel.ListTeamFlagsV2Kind? kind = default,
+ global::System.Collections.Generic.IList? tags = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareListTeamFlagsV2Arguments(
+ httpClient: HttpClient,
+ state: ref state,
+ limit: ref limit,
+ cursor: ref cursor,
+ search: ref search,
+ kind: ref kind,
+ tags: tags,
+ teamId: ref teamId,
+ slug: ref slug);
+
+
+ var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ListTeamFlagsV2SecurityRequirements,
+ operationName: "ListTeamFlagsV2Async");
+
+ 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: $"/v2/teams/{teamId}/feature-flags/flags",
+ baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("state", state?.ToValueString())
+ .AddOptionalParameter("limit", limit?.ToString())
+ .AddOptionalParameter("cursor", cursor)
+ .AddOptionalParameter("search", search)
+ .AddOptionalParameter("kind", kind?.ToValueString())
+ .AddOptionalParameter("tags", tags, delimiter: ",", explode: true)
+ .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);
+ PrepareListTeamFlagsV2Request(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ state: state,
+ limit: limit,
+ cursor: cursor,
+ search: search,
+ kind: kind,
+ tags: tags,
+ 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: "ListTeamFlagsV2",
+ methodName: "ListTeamFlagsV2Async",
+ pathTemplate: "$\"/v2/teams/{teamId}/feature-flags/flags\"",
+ 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: "ListTeamFlagsV2",
+ methodName: "ListTeamFlagsV2Async",
+ pathTemplate: "$\"/v2/teams/{teamId}/feature-flags/flags\"",
+ 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: "ListTeamFlagsV2",
+ methodName: "ListTeamFlagsV2Async",
+ pathTemplate: "$\"/v2/teams/{teamId}/feature-flags/flags\"",
+ 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);
+ ProcessListTeamFlagsV2Response(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "ListTeamFlagsV2",
+ methodName: "ListTeamFlagsV2Async",
+ pathTemplate: "$\"/v2/teams/{teamId}/feature-flags/flags\"",
+ 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: "ListTeamFlagsV2",
+ methodName: "ListTeamFlagsV2Async",
+ pathTemplate: "$\"/v2/teams/{teamId}/feature-flags/flags\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_400 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_400,
+ responseBody: __content_400,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ responseBody: __content_403,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessListTeamFlagsV2ResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vercel.ListTeamFlagsV2Response.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.ListTeamFlagsV2Response.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.IFeatureFlagsClient.ListFlags.g.cs b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlags.g.cs
index e1d31c511..0ea5831db 100644
--- a/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlags.g.cs
+++ b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlags.g.cs
@@ -1,5 +1,7 @@
#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
namespace Vercel
{
public partial interface IFeatureFlagsClient
@@ -15,7 +17,7 @@ public partial interface IFeatureFlagsClient
/// The state of the flags to retrieve. Defaults to `active`.
///
///
- /// Whether to include metadata in the response
+ /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. Use `GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true` for single-flag lookups that need creator metadata.
///
///
/// Maximum number of flags to return. When not set, all flags are returned.
@@ -61,7 +63,7 @@ public partial interface IFeatureFlagsClient
/// The state of the flags to retrieve. Defaults to `active`.
///
///
- /// Whether to include metadata in the response
+ /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. Use `GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true` for single-flag lookups that need creator metadata.
///
///
/// Maximum number of flags to return. When not set, all flags are returned.
diff --git a/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlagsV2.g.cs b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlagsV2.g.cs
new file mode 100644
index 000000000..42a564fa3
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlagsV2.g.cs
@@ -0,0 +1,94 @@
+#nullable enable
+
+namespace Vercel
+{
+ public partial interface IFeatureFlagsClient
+ {
+ ///
+ /// List flags
+ /// Retrieve feature flags for a project. Returns an opaque cursor for pagination.
+ ///
+ ///
+ /// The project id or name
+ ///
+ ///
+ /// The state of the flags to retrieve. Defaults to `active`.
+ ///
+ ///
+ /// Maximum number of flags to return.
+ /// Default Value: 25
+ ///
+ ///
+ /// Pagination cursor to continue from.
+ ///
+ ///
+ /// Search flags by their slug or description. Case-insensitive.
+ ///
+ ///
+ /// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
+ ///
+ ///
+ /// 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 ListFlagsV2Async(
+ string projectIdOrName,
+ global::Vercel.ListFlagsV2State? state = default,
+ int? limit = default,
+ string? cursor = default,
+ string? search = default,
+ global::System.Collections.Generic.IList? tags = default,
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// List flags
+ /// Retrieve feature flags for a project. Returns an opaque cursor for pagination.
+ ///
+ ///
+ /// The project id or name
+ ///
+ ///
+ /// The state of the flags to retrieve. Defaults to `active`.
+ ///
+ ///
+ /// Maximum number of flags to return.
+ /// Default Value: 25
+ ///
+ ///
+ /// Pagination cursor to continue from.
+ ///
+ ///
+ /// Search flags by their slug or description. Case-insensitive.
+ ///
+ ///
+ /// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
+ ///
+ ///
+ /// 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> ListFlagsV2AsResponseAsync(
+ string projectIdOrName,
+ global::Vercel.ListFlagsV2State? state = default,
+ int? limit = default,
+ string? cursor = default,
+ string? search = default,
+ global::System.Collections.Generic.IList? tags = 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.IFeatureFlagsClient.ListTeamFlags.g.cs b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlags.g.cs
index cf699558c..7355d6b5e 100644
--- a/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlags.g.cs
+++ b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlags.g.cs
@@ -1,5 +1,7 @@
#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
namespace Vercel
{
public partial interface IFeatureFlagsClient
@@ -12,7 +14,7 @@ public partial interface IFeatureFlagsClient
/// The state of the flags to retrieve. Defaults to `active`.
///
///
- /// Whether to include metadata in the response
+ /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release.
///
///
/// Maximum number of flags to return.
@@ -59,7 +61,7 @@ public partial interface IFeatureFlagsClient
/// The state of the flags to retrieve. Defaults to `active`.
///
///
- /// Whether to include metadata in the response
+ /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release.
///
///
/// Maximum number of flags to return.
diff --git a/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlagsV2.g.cs b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlagsV2.g.cs
new file mode 100644
index 000000000..fcf8068ee
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlagsV2.g.cs
@@ -0,0 +1,94 @@
+#nullable enable
+
+namespace Vercel
+{
+ public partial interface IFeatureFlagsClient
+ {
+ ///
+ /// List all flags for a team
+ /// Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination.
+ ///
+ ///
+ /// The state of the flags to retrieve. Defaults to `active`.
+ ///
+ ///
+ /// Maximum number of flags to return.
+ /// Default Value: 25
+ ///
+ ///
+ /// Pagination cursor to continue from.
+ ///
+ ///
+ /// Search flags by their slug or description. Case-insensitive.
+ ///
+ ///
+ /// The kind of flags to retrieve.
+ ///
+ ///
+ /// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
+ ///
+ ///
+ /// 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 ListTeamFlagsV2Async(
+ string teamId,
+ global::Vercel.ListTeamFlagsV2State? state = default,
+ int? limit = default,
+ string? cursor = default,
+ string? search = default,
+ global::Vercel.ListTeamFlagsV2Kind? kind = default,
+ global::System.Collections.Generic.IList? tags = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// List all flags for a team
+ /// Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination.
+ ///
+ ///
+ /// The state of the flags to retrieve. Defaults to `active`.
+ ///
+ ///
+ /// Maximum number of flags to return.
+ /// Default Value: 25
+ ///
+ ///
+ /// Pagination cursor to continue from.
+ ///
+ ///
+ /// Search flags by their slug or description. Case-insensitive.
+ ///
+ ///
+ /// The kind of flags to retrieve.
+ ///
+ ///
+ /// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
+ ///
+ ///
+ /// 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> ListTeamFlagsV2AsResponseAsync(
+ string teamId,
+ global::Vercel.ListTeamFlagsV2State? state = default,
+ int? limit = default,
+ string? cursor = default,
+ string? search = default,
+ global::Vercel.ListTeamFlagsV2Kind? kind = default,
+ global::System.Collections.Generic.IList? tags = 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.IVercelClient.CreateSandboxes.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSandboxes.g.cs
similarity index 80%
rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxes.g.cs
rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSandboxes.g.cs
index b56101890..c383bbeff 100644
--- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxes.g.cs
+++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSandboxes.g.cs
@@ -2,11 +2,18 @@
namespace Vercel
{
- public partial interface IVercelClient
+ public partial interface ISandboxesClient
{
///
- ///
+ /// Create a named sandbox
+ /// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown.
///
+ ///
+ /// 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
@@ -14,11 +21,20 @@ public partial interface IVercelClient
global::System.Threading.Tasks.Task CreateSandboxesAsync(
global::Vercel.CreateSandboxesRequest request,
+ string? teamId = default,
+ string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
- ///
+ /// Create a named sandbox
+ /// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown.
///
+ ///
+ /// 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
@@ -26,11 +42,20 @@ public partial interface IVercelClient
global::System.Threading.Tasks.Task> CreateSandboxesAsResponseAsync(
global::Vercel.CreateSandboxesRequest request,
+ string? teamId = default,
+ string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
- ///
+ /// Create a named sandbox
+ /// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown.
///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
///
///
/// Resources to define the VM
@@ -83,6 +108,8 @@ public partial interface IVercelClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CreateSandboxesAsync(
+ string? teamId = default,
+ string? slug = default,
global::Vercel.OneOf? networkPolicy = default,
global::Vercel.CreateSandboxesRequestResources? resources = default,
global::Vercel.CreateSandboxesRequestRuntime? runtime = default,
diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionDirectory.g.cs
similarity index 63%
rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs
rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionDirectory.g.cs
index d62525c42..f4b8edadb 100644
--- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs
+++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionDirectory.g.cs
@@ -2,49 +2,74 @@
namespace Vercel
{
- public partial interface IVercelClient
+ public partial interface ISandboxesClient
{
///
- ///
+ /// Create a directory
+ /// Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`).
///
///
/// The unique identifier of the session to create the directory in.
/// Example: sbx_abc123
///
+ ///
+ /// 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 CreateSandboxesSessionsBySessionIdFsMkdirAsync(
+ global::System.Threading.Tasks.Task CreateSessionDirectoryAsync(
string sessionId,
- global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest request,
+ global::Vercel.CreateSessionDirectoryRequest request,
+ string? teamId = default,
+ string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
- ///
+ /// Create a directory
+ /// Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`).
///
///
/// The unique identifier of the session to create the directory in.
/// Example: sbx_abc123
///
+ ///
+ /// 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> CreateSandboxesSessionsBySessionIdFsMkdirAsResponseAsync(
+ global::System.Threading.Tasks.Task> CreateSessionDirectoryAsResponseAsync(
string sessionId,
- global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest request,
+ global::Vercel.CreateSessionDirectoryRequest request,
+ string? teamId = default,
+ string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
- ///
+ /// Create a directory
+ /// Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`).
///
///
/// The unique identifier of the session to create the directory in.
/// Example: sbx_abc123
///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
///
/// The base directory for resolving relative paths. If not specified, paths are resolved from the sandbox home directory.
/// Example: /home/vercel-sandbox
@@ -60,9 +85,11 @@ public partial interface IVercelClient
/// 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 CreateSandboxesSessionsBySessionIdFsMkdirAsync(
+ global::System.Threading.Tasks.Task CreateSessionDirectoryAsync(
string sessionId,
string path,
+ string? teamId = default,
+ string? slug = default,
string? cwd = default,
bool? recursive = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionSnapshot.g.cs
similarity index 53%
rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs
rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionSnapshot.g.cs
index d73e2f277..a5fdad42f 100644
--- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs
+++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionSnapshot.g.cs
@@ -2,57 +2,84 @@
namespace Vercel
{
- public partial interface IVercelClient
+ public partial interface ISandboxesClient
{
///
- ///
+ /// Create a snapshot
+ /// Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created.
///
///
/// The unique identifier of the session to snapshot.
/// Example: sbx_abc123
///
+ ///
+ /// 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 CreateSandboxesSessionsBySessionIdSnapshotAsync(
+ global::System.Threading.Tasks.Task CreateSessionSnapshotAsync(
string sessionId,
- global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest request,
+ global::Vercel.CreateSessionSnapshotRequest request,
+ string? teamId = default,
+ string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
- ///
+ /// Create a snapshot
+ /// Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created.
///
///
/// The unique identifier of the session to snapshot.
/// Example: sbx_abc123
///
+ ///
+ /// 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> CreateSandboxesSessionsBySessionIdSnapshotAsResponseAsync(
+ global::System.Threading.Tasks.Task> CreateSessionSnapshotAsResponseAsync(
string sessionId,
- global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest request,
+ global::Vercel.CreateSessionSnapshotRequest request,
+ string? teamId = default,
+ string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
- ///
+ /// Create a snapshot
+ /// Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created.
///
///
/// The unique identifier of the session to snapshot.
/// Example: sbx_abc123
///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
///
/// The number of milliseconds after which the snapshot will expire and be deleted. Use 0 for no expiration.
///
/// 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 CreateSandboxesSessionsBySessionIdSnapshotAsync(
+ global::System.Threading.Tasks.Task CreateSessionSnapshotAsync(
string sessionId,
+ string? teamId = default,
+ string? slug = default,
global::Vercel.OneOf