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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// POST /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/[?mount=<digest>&from=<repo>] Initiate a blob upload. Returns a UUID in the Location header that the client uses for subsequent PATCH (chunk) and PUT (complete) requests.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -42,7 +42,7 @@ public partial interface IVcrClient
/// POST /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/[?mount=&lt;digest&gt;&amp;from=&lt;repo&gt;] Initiate a blob upload. Returns a UUID in the Location header that the client uses for subsequent PATCH (chunk) and PUT (complete) requests.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// DELETE /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Blob deletion is intentionally not supported. Matches the behaviour of most public registries.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -39,7 +39,7 @@ public partial interface IVcrClient
/// DELETE /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Blob deletion is intentionally not supported. Matches the behaviour of most public registries.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// DELETE /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Cancel an in-flight blob upload. Aborts the underlying S3 multipart upload (if one was started) and discards the session.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -39,7 +39,7 @@ public partial interface IVcrClient
/// DELETE /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Cancel an in-flight blob upload. Aborts the underlying S3 multipart upload (if one was started) and discards the session.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// DELETE /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Reference must be a digest.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -39,7 +39,7 @@ public partial interface IVcrClient
/// DELETE /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Reference must be a digest.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// GET /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Fetch a blob by digest.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -39,7 +39,7 @@ public partial interface IVcrClient
/// GET /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Fetch a blob by digest.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// GET /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Query the status of an in-progress blob upload. Used by clients to resume a partial upload after an interruption.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -39,7 +39,7 @@ public partial interface IVcrClient
/// GET /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Query the status of an in-progress blob upload. Used by clients to resume a partial upload after an interruption.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// GET /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Fetch a manifest by tag or digest.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -39,7 +39,7 @@ public partial interface IVcrClient
/// GET /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Fetch a manifest by tag or digest.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// GET /v2/:teamSlug/:projectSlug/:repositoryName/tags/list List the tags in a repository.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -40,7 +40,7 @@ public partial interface IVcrClient
/// GET /v2/:teamSlug/:projectSlug/:repositoryName/tags/list List the tags in a repository.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// HEAD /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Check whether a blob exists. Used by the Docker client before pushing a layer to avoid re-uploading content that already exists.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -39,7 +39,7 @@ public partial interface IVcrClient
/// HEAD /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Check whether a blob exists. Used by the Docker client before pushing a layer to avoid re-uploading content that already exists.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// HEAD /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Check whether a manifest exists. Used by Docker client during push to determine if a manifest (or config blob referenced by digest) is already present.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -39,7 +39,7 @@ public partial interface IVcrClient
/// HEAD /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Check whether a manifest exists. Used by Docker client during push to determine if a manifest (or config blob referenced by digest) is already present.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// PUT /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid?digest=&lt;digest&gt; Complete the blob upload. This may include a final chunk of data in the request body (monolithic upload) or just finalize a previous chunked upload.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -44,7 +44,7 @@ public partial interface IVcrClient
/// PUT /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid?digest=&lt;digest&gt; Complete the blob upload. This may include a final chunk of data in the request body (monolithic upload) or just finalize a previous chunked upload.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// PUT /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Upload an image manifest. The digest is computed from the body and returned in the Docker-Content-Digest header.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -39,7 +39,7 @@ public partial interface IVcrClient
/// PUT /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Upload an image manifest. The digest is computed from the body and returned in the Docker-Content-Digest header.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IVcrClient
/// PATCH /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Upload a chunk of blob data. The request body is streamed directly to S3 as a multipart upload part while hashing incrementally. The client may call this multiple times for chunked uploads.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down Expand Up @@ -39,7 +39,7 @@ public partial interface IVcrClient
/// PATCH /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Upload a chunk of blob data. The request body is streamed directly to S3 as a multipart upload part while hashing incrementally. The client may call this multiple times for chunked uploads.
/// </summary>
/// <param name="teamSlug">
/// Single Docker repository team slug component.<br/>
/// Single Docker repository team slug or team ID component.<br/>
/// Example: team-slug
/// </param>
/// <param name="projectSlug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ public sealed partial class CreateConnectorAuthorizationRequestResponseConnector
[global::System.Text.Json.Serialization.JsonPropertyName("serviceName")]
public string? ServiceName { get; set; }

/// <summary>
/// Provider-facing display name when the connector type exposes one, falling back to the stored connector name.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("displayName")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string DisplayName { get; set; }

/// <summary>
/// The connector's own name: the operator-given client name, falling back to the client type's name for legacy rows without one.
/// </summary>
Expand All @@ -66,6 +73,9 @@ public sealed partial class CreateConnectorAuthorizationRequestResponseConnector
/// <param name="type">
/// Client type (e.g. `oauth`, `salesforce`).
/// </param>
/// <param name="displayName">
/// Provider-facing display name when the connector type exposes one, falling back to the stored connector name.
/// </param>
/// <param name="name">
/// The connector's own name: the operator-given client name, falling back to the client type's name for legacy rows without one.
/// </param>
Expand All @@ -82,6 +92,7 @@ public CreateConnectorAuthorizationRequestResponseConnector(
string id,
string uid,
string type,
string displayName,
string name,
string? service,
string? serviceName)
Expand All @@ -91,6 +102,7 @@ public CreateConnectorAuthorizationRequestResponseConnector(
this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Service = service;
this.ServiceName = serviceName;
this.DisplayName = displayName ?? throw new global::System.ArgumentNullException(nameof(displayName));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ public sealed partial class CreateConnectorInstallationRequestResponseConnector
[global::System.Text.Json.Serialization.JsonPropertyName("serviceName")]
public string? ServiceName { get; set; }

/// <summary>
/// Provider-facing display name when the connector type exposes one, falling back to the stored connector name.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("displayName")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string DisplayName { get; set; }

/// <summary>
/// The connector's own name: the operator-given client name, falling back to the client type's name for legacy rows without one.
/// </summary>
Expand All @@ -66,6 +73,9 @@ public sealed partial class CreateConnectorInstallationRequestResponseConnector
/// <param name="type">
/// Client type (e.g. `oauth`, `salesforce`).
/// </param>
/// <param name="displayName">
/// Provider-facing display name when the connector type exposes one, falling back to the stored connector name.
/// </param>
/// <param name="name">
/// The connector's own name: the operator-given client name, falling back to the client type's name for legacy rows without one.
/// </param>
Expand All @@ -82,6 +92,7 @@ public CreateConnectorInstallationRequestResponseConnector(
string id,
string uid,
string type,
string displayName,
string name,
string? service,
string? serviceName)
Expand All @@ -91,6 +102,7 @@ public CreateConnectorInstallationRequestResponseConnector(
this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Service = service;
this.ServiceName = serviceName;
this.DisplayName = displayName ?? throw new global::System.ArgumentNullException(nameof(displayName));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ public sealed partial class CreateConnectorResponse
[global::System.Text.Json.Serialization.JsonRequired]
public required string Name { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("displayName")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string DisplayName { get; set; }

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -301,6 +308,7 @@ public sealed partial class CreateConnectorResponse
/// Best-effort identifier of the third-party service this client represents, independent of `type`. Examples: `'slack'`, `'mcp.linear.app'`, `'auth.example.com'`. Always non-empty on the API response — falls back through `storedClient.service ?? typeDef.service ?? typeDef.type`.
/// </param>
/// <param name="name"></param>
/// <param name="displayName"></param>
/// <param name="data"></param>
/// <param name="typeName"></param>
/// <param name="supportedSubjectTypes"></param>
Expand Down Expand Up @@ -377,6 +385,7 @@ public CreateConnectorResponse(
global::Vercel.CreateConnectorResponseType type,
string service,
string name,
string displayName,
object data,
string typeName,
global::System.Collections.Generic.IList<string> supportedSubjectTypes,
Expand Down Expand Up @@ -428,6 +437,7 @@ public CreateConnectorResponse(
this.ConnectionMethod = connectionMethod;
this.Target = target;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.DisplayName = displayName ?? throw new global::System.ArgumentNullException(nameof(displayName));
this.ClientUrl = clientUrl;
this.RedirectUri = redirectUri;
this.DefaultInstallationId = defaultInstallationId;
Expand Down
Loading