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
84 changes: 72 additions & 12 deletions Sources/billing/Types.swift

Large diffs are not rendered by default.

385 changes: 0 additions & 385 deletions Sources/copilot/Client.swift

Large diffs are not rendered by default.

1,812 changes: 117 additions & 1,695 deletions Sources/copilot/Types.swift

Large diffs are not rendered by default.

363 changes: 363 additions & 0 deletions Sources/interactions/Client.swift

Large diffs are not rendered by default.

962 changes: 962 additions & 0 deletions Sources/interactions/Types.swift

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Sources/orgs/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -904,9 +904,9 @@ public struct Client: APIProtocol {
}
/// List artifact storage records
///
/// List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.
/// List artifact storage records with a given subject digest for repositories owned by an organization.
///
/// The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.
/// Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.
///
/// - Remark: HTTP `GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records`.
/// - Remark: Generated from `#/paths//orgs/{org}/artifacts/{subject_digest}/metadata/storage-records/get(orgs/list-artifact-storage-records)`.
Expand Down
12 changes: 6 additions & 6 deletions Sources/orgs/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ public protocol APIProtocol: Sendable {
func orgsListArtifactDeploymentRecords(_ input: Operations.OrgsListArtifactDeploymentRecords.Input) async throws -> Operations.OrgsListArtifactDeploymentRecords.Output
/// List artifact storage records
///
/// List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.
/// List artifact storage records with a given subject digest for repositories owned by an organization.
///
/// The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.
/// Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.
///
/// - Remark: HTTP `GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records`.
/// - Remark: Generated from `#/paths//orgs/{org}/artifacts/{subject_digest}/metadata/storage-records/get(orgs/list-artifact-storage-records)`.
Expand Down Expand Up @@ -1253,9 +1253,9 @@ extension APIProtocol {
}
/// List artifact storage records
///
/// List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.
/// List artifact storage records with a given subject digest for repositories owned by an organization.
///
/// The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.
/// Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.
///
/// - Remark: HTTP `GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records`.
/// - Remark: Generated from `#/paths//orgs/{org}/artifacts/{subject_digest}/metadata/storage-records/get(orgs/list-artifact-storage-records)`.
Expand Down Expand Up @@ -12877,9 +12877,9 @@ public enum Operations {
}
/// List artifact storage records
///
/// List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.
/// List artifact storage records with a given subject digest for repositories owned by an organization.
///
/// The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.
/// Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.
///
/// - Remark: HTTP `GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records`.
/// - Remark: Generated from `#/paths//orgs/{org}/artifacts/{subject_digest}/metadata/storage-records/get(orgs/list-artifact-storage-records)`.
Expand Down
1 change: 0 additions & 1 deletion Sources/rate-limit/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public struct Client: APIProtocol {
/// * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)."
/// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
/// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
///
Expand Down
17 changes: 7 additions & 10 deletions Sources/rate-limit/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public protocol APIProtocol: Sendable {
/// * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)."
/// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
/// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
///
Expand All @@ -51,7 +50,6 @@ extension APIProtocol {
/// * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)."
/// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
/// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
///
Expand Down Expand Up @@ -178,8 +176,6 @@ public enum Components {
public var sourceImport: Components.Schemas.RateLimit?
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/integration_manifest`.
public var integrationManifest: Components.Schemas.RateLimit?
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/code_scanning_upload`.
public var codeScanningUpload: Components.Schemas.RateLimit?
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/actions_runner_registration`.
public var actionsRunnerRegistration: Components.Schemas.RateLimit?
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/scim`.
Expand All @@ -190,6 +186,8 @@ public enum Components {
public var dependencySbom: Components.Schemas.RateLimit?
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/code_scanning_autofix`.
public var codeScanningAutofix: Components.Schemas.RateLimit?
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources/copilot_usage_records`.
public var copilotUsageRecords: Components.Schemas.RateLimit?
/// Creates a new `ResourcesPayload`.
///
/// - Parameters:
Expand All @@ -199,38 +197,38 @@ public enum Components {
/// - codeSearch:
/// - sourceImport:
/// - integrationManifest:
/// - codeScanningUpload:
/// - actionsRunnerRegistration:
/// - scim:
/// - dependencySnapshots:
/// - dependencySbom:
/// - codeScanningAutofix:
/// - copilotUsageRecords:
public init(
core: Components.Schemas.RateLimit,
graphql: Components.Schemas.RateLimit? = nil,
search: Components.Schemas.RateLimit,
codeSearch: Components.Schemas.RateLimit? = nil,
sourceImport: Components.Schemas.RateLimit? = nil,
integrationManifest: Components.Schemas.RateLimit? = nil,
codeScanningUpload: Components.Schemas.RateLimit? = nil,
actionsRunnerRegistration: Components.Schemas.RateLimit? = nil,
scim: Components.Schemas.RateLimit? = nil,
dependencySnapshots: Components.Schemas.RateLimit? = nil,
dependencySbom: Components.Schemas.RateLimit? = nil,
codeScanningAutofix: Components.Schemas.RateLimit? = nil
codeScanningAutofix: Components.Schemas.RateLimit? = nil,
copilotUsageRecords: Components.Schemas.RateLimit? = nil
) {
self.core = core
self.graphql = graphql
self.search = search
self.codeSearch = codeSearch
self.sourceImport = sourceImport
self.integrationManifest = integrationManifest
self.codeScanningUpload = codeScanningUpload
self.actionsRunnerRegistration = actionsRunnerRegistration
self.scim = scim
self.dependencySnapshots = dependencySnapshots
self.dependencySbom = dependencySbom
self.codeScanningAutofix = codeScanningAutofix
self.copilotUsageRecords = copilotUsageRecords
}
public enum CodingKeys: String, CodingKey {
case core
Expand All @@ -239,12 +237,12 @@ public enum Components {
case codeSearch = "code_search"
case sourceImport = "source_import"
case integrationManifest = "integration_manifest"
case codeScanningUpload = "code_scanning_upload"
case actionsRunnerRegistration = "actions_runner_registration"
case scim
case dependencySnapshots = "dependency_snapshots"
case dependencySbom = "dependency_sbom"
case codeScanningAutofix = "code_scanning_autofix"
case copilotUsageRecords = "copilot_usage_records"
}
}
/// - Remark: Generated from `#/components/schemas/rate-limit-overview/resources`.
Expand Down Expand Up @@ -334,7 +332,6 @@ public enum Operations {
/// * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)."
/// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
/// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
/// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
/// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)."
///
Expand Down
Loading