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
  •  
  •  
  •  
48 changes: 0 additions & 48 deletions src/libs/Vercel/Generated/Vercel.ISandboxesClient.g.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,60 +2,35 @@

namespace Vercel
{
public partial interface ISandboxesClient
public partial interface IVercelClient
{
/// <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 @@ -108,8 +83,6 @@ public partial interface ISandboxesClient
/// <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
Original file line number Diff line number Diff line change
Expand Up @@ -2,74 +2,49 @@

namespace Vercel
{
public partial interface ISandboxesClient
public partial interface IVercelClient
{
/// <summary>
/// Execute a command<br/>
/// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion.
///
/// </summary>
/// <param name="sessionId">
/// The unique identifier of the session in which to execute the command.<br/>
/// Example: sbx_abc123
/// </param>
/// <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.RunSessionCommandResponse> RunSessionCommandAsync(
global::System.Threading.Tasks.Task<global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse> CreateSandboxesSessionsBySessionIdCmdAsync(
string sessionId,

global::Vercel.RunSessionCommandRequest request,
string? teamId = default,
string? slug = default,
global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Execute a command<br/>
/// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion.
///
/// </summary>
/// <param name="sessionId">
/// The unique identifier of the session in which to execute the command.<br/>
/// Example: sbx_abc123
/// </param>
/// <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.RunSessionCommandResponse>> RunSessionCommandAsResponseAsync(
global::System.Threading.Tasks.Task<global::Vercel.AutoSDKHttpResponse<global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse>> CreateSandboxesSessionsBySessionIdCmdAsResponseAsync(
string sessionId,

global::Vercel.RunSessionCommandRequest request,
string? teamId = default,
string? slug = default,
global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Execute a command<br/>
/// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion.
///
/// </summary>
/// <param name="sessionId">
/// The unique identifier of the session in which to execute the command.<br/>
/// Example: sbx_abc123
/// </param>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
/// <param name="slug">
/// Example: my-team-url-slug
/// </param>
/// <param name="command">
/// The executable or shell command to run. This is the program name without arguments.<br/>
/// Example: npm
Expand Down Expand Up @@ -98,11 +73,9 @@ public partial interface ISandboxesClient
/// <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::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Vercel.RunSessionCommandResponse> RunSessionCommandAsync(
global::System.Threading.Tasks.Task<global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse> CreateSandboxesSessionsBySessionIdCmdAsync(
string sessionId,
string command,
string? teamId = default,
string? slug = default,
global::System.Collections.Generic.IList<string>? args = default,
string? cwd = default,
global::System.Collections.Generic.Dictionary<string, string>? env = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,48 +2,32 @@

namespace Vercel
{
public partial interface ISandboxesClient
public partial interface IVercelClient
{
/// <summary>
/// Execute a command<br/>
/// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion.
///
/// </summary>
/// <param name="sessionId">
/// The unique identifier of the session in which to execute the command.<br/>
/// Example: sbx_abc123
/// </param>
/// <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.Collections.Generic.IAsyncEnumerable<global::Vercel.RunSessionCommandResponse2> RunSessionCommandAsStreamAsync(
global::System.Collections.Generic.IAsyncEnumerable<global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse2> CreateSandboxesSessionsBySessionIdCmdAsStreamAsync(
string sessionId,

global::Vercel.RunSessionCommandRequest request,
string? teamId = default,
string? slug = default,
global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Execute a command<br/>
/// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion.
///
/// </summary>
/// <param name="sessionId">
/// The unique identifier of the session in which to execute the command.<br/>
/// Example: sbx_abc123
/// </param>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
/// <param name="slug">
/// Example: my-team-url-slug
/// </param>
/// <param name="command">
/// The executable or shell command to run. This is the program name without arguments.<br/>
/// Example: npm
Expand Down Expand Up @@ -72,11 +56,9 @@ public partial interface ISandboxesClient
/// <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::System.InvalidOperationException"></exception>
global::System.Collections.Generic.IAsyncEnumerable<global::Vercel.RunSessionCommandResponse2> RunSessionCommandAsStreamAsync(
global::System.Collections.Generic.IAsyncEnumerable<global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse2> CreateSandboxesSessionsBySessionIdCmdAsStreamAsync(
string sessionId,
string command,
string? teamId = default,
string? slug = default,
global::System.Collections.Generic.IList<string>? args = default,
string? cwd = default,
global::System.Collections.Generic.Dictionary<string, string>? env = default,
Expand Down
Loading