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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
272 changes: 0 additions & 272 deletions src/libs/V0/Generated/V0.AnyOf.3.g.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface IMcpServersClient
{
/// <summary>
/// Create MCP Server<br/>
/// Creates a new MCP server configuration for the authenticated user.
/// Creates a new MCP server configuration for the authenticated user. Supports OAuth, bearer token, custom headers, and unauthenticated servers.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -19,7 +19,7 @@ public partial interface IMcpServersClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create MCP Server<br/>
/// Creates a new MCP server configuration for the authenticated user.
/// Creates a new MCP server configuration for the authenticated user. Supports OAuth, bearer token, custom headers, and unauthenticated servers.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -32,7 +32,7 @@ public partial interface IMcpServersClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create MCP Server<br/>
/// Creates a new MCP server configuration for the authenticated user.
/// Creates a new MCP server configuration for the authenticated user. Supports OAuth, bearer token, custom headers, and unauthenticated servers.
/// </summary>
/// <param name="name">
/// The display name of the MCP server.
Expand Down Expand Up @@ -63,7 +63,7 @@ public partial interface IMcpServersClient
string url,
string? description = default,
bool? enabled = default,
global::V0.AnyOf<global::V0.McpServersCreateRequestAuthVariant1, global::V0.McpServersCreateRequestAuthVariant2, global::V0.McpServersCreateRequestAuthVariant3>? auth = default,
global::V0.AnyOf<global::V0.McpServersCreateRequestAuthVariant1, global::V0.McpServersCreateRequestAuthVariant2, global::V0.McpServersCreateRequestAuthVariant3, global::V0.McpServersCreateRequestAuthVariant4>? auth = default,
global::V0.McpServersCreateRequestScope? scope = default,
global::V0.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#nullable enable

namespace V0
{
public partial interface IMcpServersClient
{
/// <summary>
/// Create MCP Server OAuth Authorization URL<br/>
/// Creates an OAuth authorization URL for an OAuth MCP server. Redirect the user to the returned URL, and the Platform API OAuth callback will store the resulting tokens before redirecting to your returnUrl.
/// </summary>
/// <param name="mcpServerId"></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::V0.ApiException"></exception>
global::System.Threading.Tasks.Task<global::V0.McpServersCreateOAuthAuthorizationUrlResponse> McpServersCreateOAuthAuthorizationUrlAsync(
string mcpServerId,

global::V0.McpServersCreateOAuthAuthorizationUrlRequest request,
global::V0.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create MCP Server OAuth Authorization URL<br/>
/// Creates an OAuth authorization URL for an OAuth MCP server. Redirect the user to the returned URL, and the Platform API OAuth callback will store the resulting tokens before redirecting to your returnUrl.
/// </summary>
/// <param name="mcpServerId"></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::V0.ApiException"></exception>
global::System.Threading.Tasks.Task<global::V0.AutoSDKHttpResponse<global::V0.McpServersCreateOAuthAuthorizationUrlResponse>> McpServersCreateOAuthAuthorizationUrlAsResponseAsync(
string mcpServerId,

global::V0.McpServersCreateOAuthAuthorizationUrlRequest request,
global::V0.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create MCP Server OAuth Authorization URL<br/>
/// Creates an OAuth authorization URL for an OAuth MCP server. Redirect the user to the returned URL, and the Platform API OAuth callback will store the resulting tokens before redirecting to your returnUrl.
/// </summary>
/// <param name="mcpServerId"></param>
/// <param name="returnUrl">
/// An absolute URL in your application where v0 redirects after OAuth completes. HTTPS is required in production.
/// </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::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::V0.McpServersCreateOAuthAuthorizationUrlResponse> McpServersCreateOAuthAuthorizationUrlAsync(
string mcpServerId,
string returnUrl,
global::V0.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public partial interface IMcpServersClient
string? url = default,
string? description = default,
bool? enabled = default,
global::V0.AnyOf<global::V0.McpServersUpdateRequestAuthVariant1, global::V0.McpServersUpdateRequestAuthVariant2, global::V0.McpServersUpdateRequestAuthVariant3>? auth = default,
global::V0.AnyOf<global::V0.McpServersUpdateRequestAuthVariant1, global::V0.McpServersUpdateRequestAuthVariant2, global::V0.McpServersUpdateRequestAuthVariant3, global::V0.McpServersUpdateRequestAuthVariant4>? auth = default,
global::V0.McpServersUpdateRequestScope? scope = default,
global::V0.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Loading