From 559da38a5c3db01003b615f150060bd14be0e7c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Aug 2025 14:27:00 +0000 Subject: [PATCH 1/7] Bump Submodule/github/rest-api-description from `7595529` to `883ec92` Bumps [Submodule/github/rest-api-description](https://github.com/github/rest-api-description) from `7595529` to `883ec92`. - [Release notes](https://github.com/github/rest-api-description/releases) - [Commits](https://github.com/github/rest-api-description/compare/75955297f987e9322203e4e24b6a9e42f83a70ea...883ec926b6621250deaa3de639e53a42967d2639) --- updated-dependencies: - dependency-name: Submodule/github/rest-api-description dependency-version: 883ec926b6621250deaa3de639e53a42967d2639 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Submodule/github/rest-api-description | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Submodule/github/rest-api-description b/Submodule/github/rest-api-description index 75955297f9..883ec926b6 160000 --- a/Submodule/github/rest-api-description +++ b/Submodule/github/rest-api-description @@ -1 +1 @@ -Subproject commit 75955297f987e9322203e4e24b6a9e42f83a70ea +Subproject commit 883ec926b6621250deaa3de639e53a42967d2639 From 3dddf44cdecd728512cc7c129d584beb8ff30713 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Tue, 26 Aug 2025 14:51:40 +0000 Subject: [PATCH 2/7] Commit via running: make Sources/actions --- Sources/actions/Types.swift | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Sources/actions/Types.swift b/Sources/actions/Types.swift index aa7c6ebec9..6db1d3d181 100644 --- a/Sources/actions/Types.swift +++ b/Sources/actions/Types.swift @@ -7720,27 +7720,27 @@ public enum Components { } /// Provides details of a hosted runner image /// - /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-image`. - public struct ActionsHostedRunnerImage: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-curated-image`. + public struct ActionsHostedRunnerCuratedImage: Codable, Hashable, Sendable { /// The ID of the image. Use this ID for the `image` parameter when creating a new larger runner. /// - /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-image/id`. + /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-curated-image/id`. public var id: Swift.String /// The operating system of the image. /// - /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-image/platform`. + /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-curated-image/platform`. public var platform: Swift.String /// Image size in GB. /// - /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-image/size_gb`. + /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-curated-image/size_gb`. public var sizeGb: Swift.Int /// Display name for this image. /// - /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-image/display_name`. + /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-curated-image/display_name`. public var displayName: Swift.String /// The image provider. /// - /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-image/source`. + /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-curated-image/source`. @frozen public enum SourcePayload: String, Codable, Hashable, Sendable, CaseIterable { case github = "github" case partner = "partner" @@ -7748,9 +7748,9 @@ public enum Components { } /// The image provider. /// - /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-image/source`. - public var source: Components.Schemas.ActionsHostedRunnerImage.SourcePayload - /// Creates a new `ActionsHostedRunnerImage`. + /// - Remark: Generated from `#/components/schemas/actions-hosted-runner-curated-image/source`. + public var source: Components.Schemas.ActionsHostedRunnerCuratedImage.SourcePayload + /// Creates a new `ActionsHostedRunnerCuratedImage`. /// /// - Parameters: /// - id: The ID of the image. Use this ID for the `image` parameter when creating a new larger runner. @@ -7763,7 +7763,7 @@ public enum Components { platform: Swift.String, sizeGb: Swift.Int, displayName: Swift.String, - source: Components.Schemas.ActionsHostedRunnerImage.SourcePayload + source: Components.Schemas.ActionsHostedRunnerCuratedImage.SourcePayload ) { self.id = id self.platform = platform @@ -12609,7 +12609,7 @@ public enum Operations { /// - Remark: Generated from `#/paths/orgs/{org}/actions/hosted-runners/images/github-owned/GET/responses/200/content/json/total_count`. public var totalCount: Swift.Int /// - Remark: Generated from `#/paths/orgs/{org}/actions/hosted-runners/images/github-owned/GET/responses/200/content/json/images`. - public var images: [Components.Schemas.ActionsHostedRunnerImage] + public var images: [Components.Schemas.ActionsHostedRunnerCuratedImage] /// Creates a new `JsonPayload`. /// /// - Parameters: @@ -12617,7 +12617,7 @@ public enum Operations { /// - images: public init( totalCount: Swift.Int, - images: [Components.Schemas.ActionsHostedRunnerImage] + images: [Components.Schemas.ActionsHostedRunnerCuratedImage] ) { self.totalCount = totalCount self.images = images @@ -12764,7 +12764,7 @@ public enum Operations { /// - Remark: Generated from `#/paths/orgs/{org}/actions/hosted-runners/images/partner/GET/responses/200/content/json/total_count`. public var totalCount: Swift.Int /// - Remark: Generated from `#/paths/orgs/{org}/actions/hosted-runners/images/partner/GET/responses/200/content/json/images`. - public var images: [Components.Schemas.ActionsHostedRunnerImage] + public var images: [Components.Schemas.ActionsHostedRunnerCuratedImage] /// Creates a new `JsonPayload`. /// /// - Parameters: @@ -12772,7 +12772,7 @@ public enum Operations { /// - images: public init( totalCount: Swift.Int, - images: [Components.Schemas.ActionsHostedRunnerImage] + images: [Components.Schemas.ActionsHostedRunnerCuratedImage] ) { self.totalCount = totalCount self.images = images From 2c5c5c43bd1fb72eda3e96d79def6e2a7c636e80 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Tue, 26 Aug 2025 14:54:42 +0000 Subject: [PATCH 3/7] Commit via running: make Sources/dependabot --- Sources/dependabot/Client.swift | 8 ++++---- Sources/dependabot/Types.swift | 36 ++++++++++++++++----------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Sources/dependabot/Client.swift b/Sources/dependabot/Client.swift index 534e229646..b3b2760c11 100644 --- a/Sources/dependabot/Client.swift +++ b/Sources/dependabot/Client.swift @@ -676,15 +676,15 @@ public struct Client: APIProtocol { in: &request, style: .form, explode: true, - name: "package_registry_url", - value: input.query.packageRegistryUrl + name: "artifact_registry_url", + value: input.query.artifactRegistryUrl ) try converter.setQueryItemAsURI( in: &request, style: .form, explode: true, - name: "package_registry", - value: input.query.packageRegistry + name: "artifact_registry", + value: input.query.artifactRegistry ) try converter.setQueryItemAsURI( in: &request, diff --git a/Sources/dependabot/Types.swift b/Sources/dependabot/Types.swift index abefa5d929..0daf06d913 100644 --- a/Sources/dependabot/Types.swift +++ b/Sources/dependabot/Types.swift @@ -4312,16 +4312,16 @@ public enum Components { /// /// - Remark: Generated from `#/components/parameters/secret-name`. public typealias SecretName = Swift.String - /// A comma-separated list of package registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned. + /// A comma-separated list of artifact registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned. /// - /// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-package-registry-urls`. - public typealias DependabotAlertCommaSeparatedPackageRegistryUrls = Swift.String - /// A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned. + /// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls`. + public typealias DependabotAlertCommaSeparatedArtifactRegistryUrls = Swift.String + /// A comma-separated list of Artifact Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned. /// /// Can be: `jfrog-artifactory` /// - /// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-package-registry`. - public typealias DependabotAlertCommaSeparatedPackageRegistry = Swift.String + /// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-artifact-registry`. + public typealias DependabotAlertCommaSeparatedArtifactRegistry = Swift.String /// A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. /// /// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-manifests`. @@ -5621,16 +5621,16 @@ public enum Operations { /// /// - Remark: Generated from `#/paths/orgs/{org}/dependabot/alerts/GET/query/epss_percentage`. public var epssPercentage: Components.Parameters.DependabotAlertCommaSeparatedEpss? - /// A comma-separated list of package registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned. + /// A comma-separated list of artifact registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned. /// - /// - Remark: Generated from `#/paths/orgs/{org}/dependabot/alerts/GET/query/package_registry_url`. - public var packageRegistryUrl: Components.Parameters.DependabotAlertCommaSeparatedPackageRegistryUrls? - /// A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned. + /// - Remark: Generated from `#/paths/orgs/{org}/dependabot/alerts/GET/query/artifact_registry_url`. + public var artifactRegistryUrl: Components.Parameters.DependabotAlertCommaSeparatedArtifactRegistryUrls? + /// A comma-separated list of Artifact Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned. /// /// Can be: `jfrog-artifactory` /// - /// - Remark: Generated from `#/paths/orgs/{org}/dependabot/alerts/GET/query/package_registry`. - public var packageRegistry: Components.Parameters.DependabotAlertCommaSeparatedPackageRegistry? + /// - Remark: Generated from `#/paths/orgs/{org}/dependabot/alerts/GET/query/artifact_registry`. + public var artifactRegistry: Components.Parameters.DependabotAlertCommaSeparatedArtifactRegistry? /// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-has`. @frozen public enum DependabotAlertCommaSeparatedHas: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/parameters/dependabot-alert-comma-separated-has/case1`. @@ -5740,8 +5740,8 @@ public enum Operations { /// - ecosystem: A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned. /// - package: A comma-separated list of package names. If specified, only alerts for these packages will be returned. /// - epssPercentage: CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: - /// - packageRegistryUrl: A comma-separated list of package registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned. - /// - packageRegistry: A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned. + /// - artifactRegistryUrl: A comma-separated list of artifact registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned. + /// - artifactRegistry: A comma-separated list of Artifact Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned. /// - has: Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. /// - scope: The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned. /// - sort: The property by which to sort the results. @@ -5757,8 +5757,8 @@ public enum Operations { ecosystem: Components.Parameters.DependabotAlertCommaSeparatedEcosystems? = nil, package: Components.Parameters.DependabotAlertCommaSeparatedPackages? = nil, epssPercentage: Components.Parameters.DependabotAlertCommaSeparatedEpss? = nil, - packageRegistryUrl: Components.Parameters.DependabotAlertCommaSeparatedPackageRegistryUrls? = nil, - packageRegistry: Components.Parameters.DependabotAlertCommaSeparatedPackageRegistry? = nil, + artifactRegistryUrl: Components.Parameters.DependabotAlertCommaSeparatedArtifactRegistryUrls? = nil, + artifactRegistry: Components.Parameters.DependabotAlertCommaSeparatedArtifactRegistry? = nil, has: Components.Parameters.DependabotAlertCommaSeparatedHas? = nil, scope: Components.Parameters.DependabotAlertScope? = nil, sort: Components.Parameters.DependabotAlertSort? = nil, @@ -5774,8 +5774,8 @@ public enum Operations { self.ecosystem = ecosystem self.package = package self.epssPercentage = epssPercentage - self.packageRegistryUrl = packageRegistryUrl - self.packageRegistry = packageRegistry + self.artifactRegistryUrl = artifactRegistryUrl + self.artifactRegistry = artifactRegistry self.has = has self.scope = scope self.sort = sort From bd668f4344ff8346190bbc534e8f8230912d596f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Tue, 26 Aug 2025 15:01:28 +0000 Subject: [PATCH 4/7] Commit via running: make Sources/repos --- Sources/repos/Types.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Sources/repos/Types.swift b/Sources/repos/Types.swift index ecc7cf2023..780a002b24 100644 --- a/Sources/repos/Types.swift +++ b/Sources/repos/Types.swift @@ -14469,6 +14469,8 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/autolink/is_alphanumeric`. public var isAlphanumeric: Swift.Bool + /// - Remark: Generated from `#/components/schemas/autolink/updated_at`. + public var updatedAt: Foundation.Date? /// Creates a new `Autolink`. /// /// - Parameters: @@ -14476,22 +14478,26 @@ public enum Components { /// - keyPrefix: The prefix of a key that is linkified. /// - urlTemplate: A template for the target URL that is generated if a key was found. /// - isAlphanumeric: Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. + /// - updatedAt: public init( id: Swift.Int, keyPrefix: Swift.String, urlTemplate: Swift.String, - isAlphanumeric: Swift.Bool + isAlphanumeric: Swift.Bool, + updatedAt: Foundation.Date? = nil ) { self.id = id self.keyPrefix = keyPrefix self.urlTemplate = urlTemplate self.isAlphanumeric = isAlphanumeric + self.updatedAt = updatedAt } public enum CodingKeys: String, CodingKey { case id case keyPrefix = "key_prefix" case urlTemplate = "url_template" case isAlphanumeric = "is_alphanumeric" + case updatedAt = "updated_at" } } /// Check Dependabot security updates From 5b17efcfa47ac4e4194d23ef5b53bd6552389390 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Tue, 26 Aug 2025 15:02:13 +0000 Subject: [PATCH 5/7] Commit via running: make Sources/secret-scanning --- Sources/secret-scanning/Client.swift | 2 +- Sources/secret-scanning/Types.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/secret-scanning/Client.swift b/Sources/secret-scanning/Client.swift index 5deb998490..e3047ab55a 100644 --- a/Sources/secret-scanning/Client.swift +++ b/Sources/secret-scanning/Client.swift @@ -459,7 +459,7 @@ public struct Client: APIProtocol { /// /// Lists the secret scanning pattern configurations for an organization. /// - /// Personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// Personal access tokens (classic) need the `read:org` scope to use this endpoint. /// /// - Remark: HTTP `GET /orgs/{org}/secret-scanning/pattern-configurations`. /// - Remark: Generated from `#/paths//orgs/{org}/secret-scanning/pattern-configurations/get(secret-scanning/list-org-pattern-configs)`. diff --git a/Sources/secret-scanning/Types.swift b/Sources/secret-scanning/Types.swift index 2b39b85bc6..2e736c8d67 100644 --- a/Sources/secret-scanning/Types.swift +++ b/Sources/secret-scanning/Types.swift @@ -39,7 +39,7 @@ public protocol APIProtocol: Sendable { /// /// Lists the secret scanning pattern configurations for an organization. /// - /// Personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// Personal access tokens (classic) need the `read:org` scope to use this endpoint. /// /// - Remark: HTTP `GET /orgs/{org}/secret-scanning/pattern-configurations`. /// - Remark: Generated from `#/paths//orgs/{org}/secret-scanning/pattern-configurations/get(secret-scanning/list-org-pattern-configs)`. @@ -169,7 +169,7 @@ extension APIProtocol { /// /// Lists the secret scanning pattern configurations for an organization. /// - /// Personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// Personal access tokens (classic) need the `read:org` scope to use this endpoint. /// /// - Remark: HTTP `GET /orgs/{org}/secret-scanning/pattern-configurations`. /// - Remark: Generated from `#/paths//orgs/{org}/secret-scanning/pattern-configurations/get(secret-scanning/list-org-pattern-configs)`. @@ -3738,7 +3738,7 @@ public enum Operations { /// /// Lists the secret scanning pattern configurations for an organization. /// - /// Personal access tokens (classic) need the `write:org` scope to use this endpoint. + /// Personal access tokens (classic) need the `read:org` scope to use this endpoint. /// /// - Remark: HTTP `GET /orgs/{org}/secret-scanning/pattern-configurations`. /// - Remark: Generated from `#/paths//orgs/{org}/secret-scanning/pattern-configurations/get(secret-scanning/list-org-pattern-configs)`. From 735928c62100aa42d5c3f2fe9e9c7eb905c32557 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Tue, 26 Aug 2025 15:02:58 +0000 Subject: [PATCH 6/7] Commit via running: make Sources/users --- Sources/users/Client.swift | 2 +- Sources/users/Types.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/users/Client.swift b/Sources/users/Client.swift index ae1f6a4bcf..a7d262ae13 100644 --- a/Sources/users/Client.swift +++ b/Sources/users/Client.swift @@ -2798,7 +2798,7 @@ public struct Client: APIProtocol { /// /// Adds a public SSH key to the authenticated user's GitHub account. /// - /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `write:public_key` scope to use this endpoint. /// /// - Remark: HTTP `POST /user/keys`. /// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`. diff --git a/Sources/users/Types.swift b/Sources/users/Types.swift index 4255294521..15e04d2297 100644 --- a/Sources/users/Types.swift +++ b/Sources/users/Types.swift @@ -170,7 +170,7 @@ public protocol APIProtocol: Sendable { /// /// Adds a public SSH key to the authenticated user's GitHub account. /// - /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `write:public_key` scope to use this endpoint. /// /// - Remark: HTTP `POST /user/keys`. /// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`. @@ -720,7 +720,7 @@ extension APIProtocol { /// /// Adds a public SSH key to the authenticated user's GitHub account. /// - /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `write:public_key` scope to use this endpoint. /// /// - Remark: HTTP `POST /user/keys`. /// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`. @@ -8066,7 +8066,7 @@ public enum Operations { /// /// Adds a public SSH key to the authenticated user's GitHub account. /// - /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + /// OAuth app tokens and personal access tokens (classic) need the `write:public_key` scope to use this endpoint. /// /// - Remark: HTTP `POST /user/keys`. /// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`. From 23bfeaac2bf96265616e175ba99f9135ef28e7c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Tue, 26 Aug 2025 15:03:43 +0000 Subject: [PATCH 7/7] Commit via running: make Sources/copilot --- Sources/copilot/Client.swift | 4 ++-- Sources/copilot/Types.swift | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Sources/copilot/Client.swift b/Sources/copilot/Client.swift index f7fa07cea9..99521ac3fd 100644 --- a/Sources/copilot/Client.swift +++ b/Sources/copilot/Client.swift @@ -1089,7 +1089,7 @@ public struct Client: APIProtocol { /// > [!NOTE] /// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. /// - /// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + /// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day, /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, /// they must have telemetry enabled in their IDE. /// @@ -1446,7 +1446,7 @@ public struct Client: APIProtocol { /// > [!NOTE] /// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. /// - /// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + /// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day, /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, /// they must have telemetry enabled in their IDE. /// diff --git a/Sources/copilot/Types.swift b/Sources/copilot/Types.swift index cac0e7f0e5..e70bb5e642 100644 --- a/Sources/copilot/Types.swift +++ b/Sources/copilot/Types.swift @@ -124,7 +124,7 @@ public protocol APIProtocol: Sendable { /// > [!NOTE] /// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. /// - /// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + /// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day, /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, /// they must have telemetry enabled in their IDE. /// @@ -160,7 +160,7 @@ public protocol APIProtocol: Sendable { /// > [!NOTE] /// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. /// - /// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + /// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day, /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, /// they must have telemetry enabled in their IDE. /// @@ -347,7 +347,7 @@ extension APIProtocol { /// > [!NOTE] /// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. /// - /// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + /// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day, /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, /// they must have telemetry enabled in their IDE. /// @@ -401,7 +401,7 @@ extension APIProtocol { /// > [!NOTE] /// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. /// - /// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + /// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day, /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, /// they must have telemetry enabled in their IDE. /// @@ -4388,7 +4388,7 @@ public enum Operations { /// > [!NOTE] /// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. /// - /// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + /// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day, /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, /// they must have telemetry enabled in their IDE. /// @@ -4419,7 +4419,7 @@ public enum Operations { public var path: Operations.CopilotCopilotMetricsForOrganization.Input.Path /// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query`. public struct Query: Sendable, Hashable { - /// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago. + /// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago. /// /// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query/since`. public var since: Swift.String? @@ -4431,17 +4431,17 @@ public enum Operations { /// /// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query/page`. public var page: Components.Parameters.Page? - /// The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + /// The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." /// /// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query/per_page`. public var perPage: Swift.Int? /// Creates a new `Query`. /// /// - Parameters: - /// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago. + /// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago. /// - until: Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed. /// - page: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - /// - perPage: The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + /// - perPage: The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." public init( since: Swift.String? = nil, until: Swift.String? = nil, @@ -4943,7 +4943,7 @@ public enum Operations { /// > [!NOTE] /// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. /// - /// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + /// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day, /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, /// they must have telemetry enabled in their IDE. /// @@ -4983,7 +4983,7 @@ public enum Operations { public var path: Operations.CopilotCopilotMetricsForTeam.Input.Path /// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query`. public struct Query: Sendable, Hashable { - /// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago. + /// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago. /// /// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query/since`. public var since: Swift.String? @@ -4995,17 +4995,17 @@ public enum Operations { /// /// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query/page`. public var page: Components.Parameters.Page? - /// The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + /// The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." /// /// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query/per_page`. public var perPage: Swift.Int? /// Creates a new `Query`. /// /// - Parameters: - /// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago. + /// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago. /// - until: Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed. /// - page: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - /// - perPage: The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + /// - perPage: The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." public init( since: Swift.String? = nil, until: Swift.String? = nil,