Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

#nullable enable

#pragma warning disable CS0618 // Type or member is obsolete

namespace Vercel
{
public partial class FeatureFlagsClient
Expand Down Expand Up @@ -68,7 +70,7 @@ partial void ProcessListFlagsResponseContent(
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="withMetadata">
/// 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.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return. When not set, all flags are returned.
Expand Down Expand Up @@ -131,7 +133,7 @@ partial void ProcessListFlagsResponseContent(
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="withMetadata">
/// 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.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return. When not set, all flags are returned.
Expand Down
692 changes: 692 additions & 0 deletions src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlagsV2.g.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

#nullable enable

#pragma warning disable CS0618 // Type or member is obsolete

namespace Vercel
{
public partial class FeatureFlagsClient
Expand Down Expand Up @@ -65,7 +67,7 @@ partial void ProcessListTeamFlagsResponseContent(
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="withMetadata">
/// 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.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return.<br/>
Expand Down Expand Up @@ -129,7 +131,7 @@ partial void ProcessListTeamFlagsResponseContent(
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="withMetadata">
/// 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.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return.<br/>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#nullable enable

#pragma warning disable CS0618 // Type or member is obsolete

namespace Vercel
{
public partial interface IFeatureFlagsClient
Expand All @@ -15,7 +17,7 @@ public partial interface IFeatureFlagsClient
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="withMetadata">
/// 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.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return. When not set, all flags are returned.
Expand Down Expand Up @@ -61,7 +63,7 @@ public partial interface IFeatureFlagsClient
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="withMetadata">
/// 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.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return. When not set, all flags are returned.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
#nullable enable

namespace Vercel
{
public partial interface IFeatureFlagsClient
{
/// <summary>
/// List flags<br/>
/// Retrieve feature flags for a project. Returns an opaque cursor for pagination.
/// </summary>
/// <param name="projectIdOrName">
/// The project id or name
/// </param>
/// <param name="state">
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return.<br/>
/// Default Value: 25
/// </param>
/// <param name="cursor">
/// Pagination cursor to continue from.
/// </param>
/// <param name="search">
/// Search flags by their slug or description. Case-insensitive.
/// </param>
/// <param name="tags">
/// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
/// </param>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
/// <param name="slug">
/// Example: my-team-url-slug
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vercel.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vercel.ListFlagsV2Response> ListFlagsV2Async(
string projectIdOrName,
global::Vercel.ListFlagsV2State? state = default,
int? limit = default,
string? cursor = default,
string? search = default,
global::System.Collections.Generic.IList<string>? tags = default,
string? teamId = default,
string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// List flags<br/>
/// Retrieve feature flags for a project. Returns an opaque cursor for pagination.
/// </summary>
/// <param name="projectIdOrName">
/// The project id or name
/// </param>
/// <param name="state">
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return.<br/>
/// Default Value: 25
/// </param>
/// <param name="cursor">
/// Pagination cursor to continue from.
/// </param>
/// <param name="search">
/// Search flags by their slug or description. Case-insensitive.
/// </param>
/// <param name="tags">
/// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
/// </param>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
/// <param name="slug">
/// Example: my-team-url-slug
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vercel.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vercel.AutoSDKHttpResponse<global::Vercel.ListFlagsV2Response>> ListFlagsV2AsResponseAsync(
string projectIdOrName,
global::Vercel.ListFlagsV2State? state = default,
int? limit = default,
string? cursor = default,
string? search = default,
global::System.Collections.Generic.IList<string>? tags = default,
string? teamId = default,
string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#nullable enable

#pragma warning disable CS0618 // Type or member is obsolete

namespace Vercel
{
public partial interface IFeatureFlagsClient
Expand All @@ -12,7 +14,7 @@ public partial interface IFeatureFlagsClient
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="withMetadata">
/// 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.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return.<br/>
Expand Down Expand Up @@ -59,7 +61,7 @@ public partial interface IFeatureFlagsClient
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="withMetadata">
/// 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.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return.<br/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
#nullable enable

namespace Vercel
{
public partial interface IFeatureFlagsClient
{
/// <summary>
/// List all flags for a team<br/>
/// Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination.
/// </summary>
/// <param name="state">
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return.<br/>
/// Default Value: 25
/// </param>
/// <param name="cursor">
/// Pagination cursor to continue from.
/// </param>
/// <param name="search">
/// Search flags by their slug or description. Case-insensitive.
/// </param>
/// <param name="kind">
/// The kind of flags to retrieve.
/// </param>
/// <param name="tags">
/// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
/// </param>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
/// <param name="slug">
/// Example: my-team-url-slug
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vercel.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vercel.ListTeamFlagsV2Response> 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<string>? tags = default,
string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// List all flags for a team<br/>
/// Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination.
/// </summary>
/// <param name="state">
/// The state of the flags to retrieve. Defaults to `active`.
/// </param>
/// <param name="limit">
/// Maximum number of flags to return.<br/>
/// Default Value: 25
/// </param>
/// <param name="cursor">
/// Pagination cursor to continue from.
/// </param>
/// <param name="search">
/// Search flags by their slug or description. Case-insensitive.
/// </param>
/// <param name="kind">
/// The kind of flags to retrieve.
/// </param>
/// <param name="tags">
/// Filter flags by tag. Repeat the parameter for multiple tags (all must match).
/// </param>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
/// <param name="slug">
/// Example: my-team-url-slug
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vercel.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vercel.AutoSDKHttpResponse<global::Vercel.ListTeamFlagsV2Response>> 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<string>? tags = default,
string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,60 @@

namespace Vercel
{
public partial interface IVercelClient
public partial interface ISandboxesClient
{
/// <summary>
///
/// Create a named sandbox<br/>
/// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown.
/// </summary>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
/// <param name="slug">
/// Example: my-team-url-slug
/// </param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vercel.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vercel.CreateSandboxesResponse> CreateSandboxesAsync(

global::Vercel.CreateSandboxesRequest request,
string? teamId = default,
string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
///
/// Create a named sandbox<br/>
/// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown.
/// </summary>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
/// <param name="slug">
/// Example: my-team-url-slug
/// </param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Vercel.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Vercel.AutoSDKHttpResponse<global::Vercel.CreateSandboxesResponse>> CreateSandboxesAsResponseAsync(

global::Vercel.CreateSandboxesRequest request,
string? teamId = default,
string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
///
/// Create a named sandbox<br/>
/// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown.
/// </summary>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
/// <param name="slug">
/// Example: my-team-url-slug
/// </param>
/// <param name="networkPolicy"></param>
/// <param name="resources">
/// Resources to define the VM
Expand Down Expand Up @@ -83,6 +108,8 @@ public partial interface IVercelClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Vercel.CreateSandboxesResponse> CreateSandboxesAsync(
string? teamId = default,
string? slug = default,
global::Vercel.OneOf<global::Vercel.CreateSandboxesRequestNetworkPolicyVariant1, global::Vercel.CreateSandboxesRequestNetworkPolicyVariant2>? networkPolicy = default,
global::Vercel.CreateSandboxesRequestResources? resources = default,
global::Vercel.CreateSandboxesRequestRuntime? runtime = default,
Expand Down
Loading