From 0e6e74d8d8ce00549b9c91f59eacd7497c028e53 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 22:00:06 +0000 Subject: [PATCH 1/5] Bump Submodule/github/rest-api-description from `4162f99` to `a0508ce` Bumps [Submodule/github/rest-api-description](https://github.com/github/rest-api-description) from `4162f99` to `a0508ce`. - [Release notes](https://github.com/github/rest-api-description/releases) - [Commits](https://github.com/github/rest-api-description/compare/4162f99dbe229d95e848fd1832a797e58e8c7857...a0508cecd18ab26b525527e4ba35bd9c6d725c4f) --- updated-dependencies: - dependency-name: Submodule/github/rest-api-description 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 4162f99dbe2..a0508cecd18 160000 --- a/Submodule/github/rest-api-description +++ b/Submodule/github/rest-api-description @@ -1 +1 @@ -Subproject commit 4162f99dbe229d95e848fd1832a797e58e8c7857 +Subproject commit a0508cecd18ab26b525527e4ba35bd9c6d725c4f From 0e2db357f8799791453f535c458c0f2902979189 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 18 Nov 2024 22:20:07 +0000 Subject: [PATCH 2/5] Commit via running ake Sources/apps --- Sources/apps/Client.swift | 2 -- Sources/apps/Types.swift | 6 ------ 2 files changed, 8 deletions(-) diff --git a/Sources/apps/Client.swift b/Sources/apps/Client.swift index 5022336e307..e464bebe456 100644 --- a/Sources/apps/Client.swift +++ b/Sources/apps/Client.swift @@ -1080,8 +1080,6 @@ public struct Client: APIProtocol { /// /// Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. /// - /// When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - /// /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. /// /// - Remark: HTTP `POST /app/installations/{installation_id}/access_tokens`. diff --git a/Sources/apps/Types.swift b/Sources/apps/Types.swift index 5b43918dddd..e91faf1ea61 100644 --- a/Sources/apps/Types.swift +++ b/Sources/apps/Types.swift @@ -114,8 +114,6 @@ public protocol APIProtocol: Sendable { /// /// Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. /// - /// When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - /// /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. /// /// - Remark: HTTP `POST /app/installations/{installation_id}/access_tokens`. @@ -521,8 +519,6 @@ extension APIProtocol { /// /// Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. /// - /// When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - /// /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. /// /// - Remark: HTTP `POST /app/installations/{installation_id}/access_tokens`. @@ -6901,8 +6897,6 @@ public enum Operations { /// /// Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. /// - /// When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - /// /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. /// /// - Remark: HTTP `POST /app/installations/{installation_id}/access_tokens`. From b2073df6fb8ef26ebfb6e00930ac141407c02fc7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 18 Nov 2024 22:26:27 +0000 Subject: [PATCH 3/5] Commit via running ake Sources/orgs --- Sources/orgs/Types.swift | 89 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/Sources/orgs/Types.swift b/Sources/orgs/Types.swift index 42e99fa3fc3..b08c0168328 100644 --- a/Sources/orgs/Types.swift +++ b/Sources/orgs/Types.swift @@ -6448,6 +6448,32 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/organization-role/description`. public var description: Swift.String? + /// The system role from which this role inherits permissions. + /// + /// - Remark: Generated from `#/components/schemas/organization-role/base_role`. + @frozen public enum base_rolePayload: String, Codable, Hashable, Sendable { + case read = "read" + case triage = "triage" + case write = "write" + case maintain = "maintain" + case admin = "admin" + } + /// The system role from which this role inherits permissions. + /// + /// - Remark: Generated from `#/components/schemas/organization-role/base_role`. + public var base_role: Components.Schemas.organization_hyphen_role.base_rolePayload? + /// Source answers the question, "where did this role come from?" + /// + /// - Remark: Generated from `#/components/schemas/organization-role/source`. + @frozen public enum sourcePayload: String, Codable, Hashable, Sendable { + case Organization = "Organization" + case Enterprise = "Enterprise" + case Predefined = "Predefined" + } + /// Source answers the question, "where did this role come from?" + /// + /// - Remark: Generated from `#/components/schemas/organization-role/source`. + public var source: Components.Schemas.organization_hyphen_role.sourcePayload? /// A list of permissions included in this role. /// /// - Remark: Generated from `#/components/schemas/organization-role/permissions`. @@ -6468,6 +6494,8 @@ public enum Components { /// - id: The unique identifier of the role. /// - name: The name of the role. /// - description: A short description about who this role is for or what permissions it grants. + /// - base_role: The system role from which this role inherits permissions. + /// - source: Source answers the question, "where did this role come from?" /// - permissions: A list of permissions included in this role. /// - organization: /// - created_at: The date and time the role was created. @@ -6476,6 +6504,8 @@ public enum Components { id: Swift.Int64, name: Swift.String, description: Swift.String? = nil, + base_role: Components.Schemas.organization_hyphen_role.base_rolePayload? = nil, + source: Components.Schemas.organization_hyphen_role.sourcePayload? = nil, permissions: [Swift.String], organization: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, created_at: Foundation.Date, @@ -6484,6 +6514,8 @@ public enum Components { self.id = id self.name = name self.description = description + self.base_role = base_role + self.source = source self.permissions = permissions self.organization = organization self.created_at = created_at @@ -6493,6 +6525,8 @@ public enum Components { case id case name case description + case base_role + case source case permissions case organization case created_at @@ -6503,6 +6537,18 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/team-role-assignment`. public struct team_hyphen_role_hyphen_assignment: Codable, Hashable, Sendable { + /// Determines if the team has a direct, indirect, or mixed relationship to a role + /// + /// - Remark: Generated from `#/components/schemas/team-role-assignment/assignment`. + @frozen public enum assignmentPayload: String, Codable, Hashable, Sendable { + case direct = "direct" + case indirect = "indirect" + case mixed = "mixed" + } + /// Determines if the team has a direct, indirect, or mixed relationship to a role + /// + /// - Remark: Generated from `#/components/schemas/team-role-assignment/assignment`. + public var assignment: Components.Schemas.team_hyphen_role_hyphen_assignment.assignmentPayload? /// - Remark: Generated from `#/components/schemas/team-role-assignment/id`. public var id: Swift.Int /// - Remark: Generated from `#/components/schemas/team-role-assignment/node_id`. @@ -6575,6 +6621,7 @@ public enum Components { /// Creates a new `team_hyphen_role_hyphen_assignment`. /// /// - Parameters: + /// - assignment: Determines if the team has a direct, indirect, or mixed relationship to a role /// - id: /// - node_id: /// - name: @@ -6590,6 +6637,7 @@ public enum Components { /// - repositories_url: /// - parent: public init( + assignment: Components.Schemas.team_hyphen_role_hyphen_assignment.assignmentPayload? = nil, id: Swift.Int, node_id: Swift.String, name: Swift.String, @@ -6605,6 +6653,7 @@ public enum Components { repositories_url: Swift.String, parent: Components.Schemas.nullable_hyphen_team_hyphen_simple? = nil ) { + self.assignment = assignment self.id = id self.node_id = node_id self.name = name @@ -6621,6 +6670,7 @@ public enum Components { self.parent = parent } public enum CodingKeys: String, CodingKey { + case assignment case id case node_id case name @@ -6748,6 +6798,22 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/user-role-assignment`. public struct user_hyphen_role_hyphen_assignment: Codable, Hashable, Sendable { + /// Determines if the user has a direct, indirect, or mixed relationship to a role + /// + /// - Remark: Generated from `#/components/schemas/user-role-assignment/assignment`. + @frozen public enum assignmentPayload: String, Codable, Hashable, Sendable { + case direct = "direct" + case indirect = "indirect" + case mixed = "mixed" + } + /// Determines if the user has a direct, indirect, or mixed relationship to a role + /// + /// - Remark: Generated from `#/components/schemas/user-role-assignment/assignment`. + public var assignment: Components.Schemas.user_hyphen_role_hyphen_assignment.assignmentPayload? + /// Team the user has gotten the role through + /// + /// - Remark: Generated from `#/components/schemas/user-role-assignment/inherited_from`. + public var inherited_from: [Components.Schemas.team_hyphen_simple]? /// - Remark: Generated from `#/components/schemas/user-role-assignment/name`. public var name: Swift.String? /// - Remark: Generated from `#/components/schemas/user-role-assignment/email`. @@ -6795,6 +6861,8 @@ public enum Components { /// Creates a new `user_hyphen_role_hyphen_assignment`. /// /// - Parameters: + /// - assignment: Determines if the user has a direct, indirect, or mixed relationship to a role + /// - inherited_from: Team the user has gotten the role through /// - name: /// - email: /// - login: @@ -6818,6 +6886,8 @@ public enum Components { /// - starred_at: /// - user_view_type: public init( + assignment: Components.Schemas.user_hyphen_role_hyphen_assignment.assignmentPayload? = nil, + inherited_from: [Components.Schemas.team_hyphen_simple]? = nil, name: Swift.String? = nil, email: Swift.String? = nil, login: Swift.String, @@ -6841,6 +6911,8 @@ public enum Components { starred_at: Swift.String? = nil, user_view_type: Swift.String? = nil ) { + self.assignment = assignment + self.inherited_from = inherited_from self.name = name self.email = email self.login = login @@ -6865,6 +6937,8 @@ public enum Components { self.user_view_type = user_view_type } public enum CodingKeys: String, CodingKey { + case assignment + case inherited_from case name case email case login @@ -7293,6 +7367,17 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/custom-property/url`. public var url: Swift.String? + /// The source type of the property + /// + /// - Remark: Generated from `#/components/schemas/custom-property/source_type`. + @frozen public enum source_typePayload: String, Codable, Hashable, Sendable { + case organization = "organization" + case enterprise = "enterprise" + } + /// The source type of the property + /// + /// - Remark: Generated from `#/components/schemas/custom-property/source_type`. + public var source_type: Components.Schemas.custom_hyphen_property.source_typePayload? /// The type of the value for the property /// /// - Remark: Generated from `#/components/schemas/custom-property/value_type`. @@ -7376,6 +7461,7 @@ public enum Components { /// - Parameters: /// - property_name: The name of the property /// - url: The URL that can be used to fetch, update, or delete info about this property via the API. + /// - source_type: The source type of the property /// - value_type: The type of the value for the property /// - required: Whether the property is required. /// - default_value: Default value of the property @@ -7385,6 +7471,7 @@ public enum Components { public init( property_name: Swift.String, url: Swift.String? = nil, + source_type: Components.Schemas.custom_hyphen_property.source_typePayload? = nil, value_type: Components.Schemas.custom_hyphen_property.value_typePayload, required: Swift.Bool? = nil, default_value: Components.Schemas.custom_hyphen_property.default_valuePayload? = nil, @@ -7394,6 +7481,7 @@ public enum Components { ) { self.property_name = property_name self.url = url + self.source_type = source_type self.value_type = value_type self.required = required self.default_value = default_value @@ -7404,6 +7492,7 @@ public enum Components { public enum CodingKeys: String, CodingKey { case property_name case url + case source_type case value_type case required case default_value From 0417d5d3587a3daf4e4ae8fe31fb1cff529666cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 18 Nov 2024 22:28:34 +0000 Subject: [PATCH 4/5] Commit via running ake Sources/repos --- Sources/repos/Client.swift | 8 +++++++- Sources/repos/Types.swift | 24 +++++++++++++++++++++--- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/Sources/repos/Client.swift b/Sources/repos/Client.swift index 5dfc5c51512..b0d5dd01110 100644 --- a/Sources/repos/Client.swift +++ b/Sources/repos/Client.swift @@ -15145,7 +15145,13 @@ public struct Client: APIProtocol { } /// Get a release asset /// - /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + /// To download the asset's binary content: + /// + /// - If within a browser, fetch the location specified in the `browser_download_url` key provided in the response. + /// - Alternatively, set the `Accept` header of the request to + /// [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). + /// The API will either redirect the client to the location, or stream it directly if possible. + /// API clients should handle both a `200` or `302` response. /// /// - Remark: HTTP `GET /repos/{owner}/{repo}/releases/assets/{asset_id}`. /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/releases/assets/{asset_id}/get(repos/get-release-asset)`. diff --git a/Sources/repos/Types.swift b/Sources/repos/Types.swift index de7ef389530..58542d30b33 100644 --- a/Sources/repos/Types.swift +++ b/Sources/repos/Types.swift @@ -1634,7 +1634,13 @@ public protocol APIProtocol: Sendable { func repos_sol_create_hyphen_release(_ input: Operations.repos_sol_create_hyphen_release.Input) async throws -> Operations.repos_sol_create_hyphen_release.Output /// Get a release asset /// - /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + /// To download the asset's binary content: + /// + /// - If within a browser, fetch the location specified in the `browser_download_url` key provided in the response. + /// - Alternatively, set the `Accept` header of the request to + /// [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). + /// The API will either redirect the client to the location, or stream it directly if possible. + /// API clients should handle both a `200` or `302` response. /// /// - Remark: HTTP `GET /repos/{owner}/{repo}/releases/assets/{asset_id}`. /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/releases/assets/{asset_id}/get(repos/get-release-asset)`. @@ -4996,7 +5002,13 @@ extension APIProtocol { } /// Get a release asset /// - /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + /// To download the asset's binary content: + /// + /// - If within a browser, fetch the location specified in the `browser_download_url` key provided in the response. + /// - Alternatively, set the `Accept` header of the request to + /// [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). + /// The API will either redirect the client to the location, or stream it directly if possible. + /// API clients should handle both a `200` or `302` response. /// /// - Remark: HTTP `GET /repos/{owner}/{repo}/releases/assets/{asset_id}`. /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/releases/assets/{asset_id}/get(repos/get-release-asset)`. @@ -54477,7 +54489,13 @@ public enum Operations { } /// Get a release asset /// - /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + /// To download the asset's binary content: + /// + /// - If within a browser, fetch the location specified in the `browser_download_url` key provided in the response. + /// - Alternatively, set the `Accept` header of the request to + /// [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). + /// The API will either redirect the client to the location, or stream it directly if possible. + /// API clients should handle both a `200` or `302` response. /// /// - Remark: HTTP `GET /repos/{owner}/{repo}/releases/assets/{asset_id}`. /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/releases/assets/{asset_id}/get(repos/get-release-asset)`. From 502d88349050b36cdfceba10b2242d83ca29a194 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 18 Nov 2024 22:29:16 +0000 Subject: [PATCH 5/5] Commit via running ake Sources/secret-scanning --- Sources/secret-scanning/Types.swift | 44 +++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/Sources/secret-scanning/Types.swift b/Sources/secret-scanning/Types.swift index 87ebbd97553..01039b04b1f 100644 --- a/Sources/secret-scanning/Types.swift +++ b/Sources/secret-scanning/Types.swift @@ -1050,6 +1050,16 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/organization-secret-scanning-alert/push_protection_bypassed_at`. public var push_protection_bypassed_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/organization-secret-scanning-alert/push_protection_bypass_request_reviewer`. + public var push_protection_bypass_request_reviewer: Components.Schemas.nullable_hyphen_simple_hyphen_user? + /// An optional comment when requesting a push protection bypass. + /// + /// - Remark: Generated from `#/components/schemas/organization-secret-scanning-alert/push_protection_bypass_request_comment`. + public var push_protection_bypass_request_comment: Swift.String? + /// The URL to a push protection bypass request. + /// + /// - Remark: Generated from `#/components/schemas/organization-secret-scanning-alert/push_protection_bypass_request_html_url`. + public var push_protection_bypass_request_html_url: Swift.String? /// The comment that was optionally added when this alert was closed /// /// - Remark: Generated from `#/components/schemas/organization-secret-scanning-alert/resolution_comment`. @@ -1094,6 +1104,9 @@ public enum Components { /// - push_protection_bypassed: Whether push protection was bypassed for the detected secret. /// - push_protection_bypassed_by: /// - push_protection_bypassed_at: The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + /// - push_protection_bypass_request_reviewer: + /// - push_protection_bypass_request_comment: An optional comment when requesting a push protection bypass. + /// - push_protection_bypass_request_html_url: The URL to a push protection bypass request. /// - resolution_comment: The comment that was optionally added when this alert was closed /// - validity: The token status as of the latest validity check. /// - publicly_leaked: Whether the secret was publicly leaked. @@ -1116,6 +1129,9 @@ public enum Components { push_protection_bypassed: Swift.Bool? = nil, push_protection_bypassed_by: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, push_protection_bypassed_at: Foundation.Date? = nil, + push_protection_bypass_request_reviewer: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, + push_protection_bypass_request_comment: Swift.String? = nil, + push_protection_bypass_request_html_url: Swift.String? = nil, resolution_comment: Swift.String? = nil, validity: Components.Schemas.organization_hyphen_secret_hyphen_scanning_hyphen_alert.validityPayload? = nil, publicly_leaked: Swift.Bool? = nil, @@ -1138,6 +1154,9 @@ public enum Components { self.push_protection_bypassed = push_protection_bypassed self.push_protection_bypassed_by = push_protection_bypassed_by self.push_protection_bypassed_at = push_protection_bypassed_at + self.push_protection_bypass_request_reviewer = push_protection_bypass_request_reviewer + self.push_protection_bypass_request_comment = push_protection_bypass_request_comment + self.push_protection_bypass_request_html_url = push_protection_bypass_request_html_url self.resolution_comment = resolution_comment self.validity = validity self.publicly_leaked = publicly_leaked @@ -1161,6 +1180,9 @@ public enum Components { case push_protection_bypassed case push_protection_bypassed_by case push_protection_bypassed_at + case push_protection_bypass_request_reviewer + case push_protection_bypass_request_comment + case push_protection_bypass_request_html_url case resolution_comment case validity case publicly_leaked @@ -1224,6 +1246,16 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/secret-scanning-alert/push_protection_bypassed_at`. public var push_protection_bypassed_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/secret-scanning-alert/push_protection_bypass_request_reviewer`. + public var push_protection_bypass_request_reviewer: Components.Schemas.nullable_hyphen_simple_hyphen_user? + /// An optional comment when requesting a push protection bypass. + /// + /// - Remark: Generated from `#/components/schemas/secret-scanning-alert/push_protection_bypass_request_comment`. + public var push_protection_bypass_request_comment: Swift.String? + /// The URL to a push protection bypass request. + /// + /// - Remark: Generated from `#/components/schemas/secret-scanning-alert/push_protection_bypass_request_html_url`. + public var push_protection_bypass_request_html_url: Swift.String? /// The token status as of the latest validity check. /// /// - Remark: Generated from `#/components/schemas/secret-scanning-alert/validity`. @@ -1264,6 +1296,9 @@ public enum Components { /// - push_protection_bypassed: Whether push protection was bypassed for the detected secret. /// - push_protection_bypassed_by: /// - push_protection_bypassed_at: The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + /// - push_protection_bypass_request_reviewer: + /// - push_protection_bypass_request_comment: An optional comment when requesting a push protection bypass. + /// - push_protection_bypass_request_html_url: The URL to a push protection bypass request. /// - validity: The token status as of the latest validity check. /// - publicly_leaked: Whether the detected secret was publicly leaked. /// - multi_repo: Whether the detected secret was found in multiple repositories under the same organization or enterprise. @@ -1285,6 +1320,9 @@ public enum Components { push_protection_bypassed: Swift.Bool? = nil, push_protection_bypassed_by: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, push_protection_bypassed_at: Foundation.Date? = nil, + push_protection_bypass_request_reviewer: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, + push_protection_bypass_request_comment: Swift.String? = nil, + push_protection_bypass_request_html_url: Swift.String? = nil, validity: Components.Schemas.secret_hyphen_scanning_hyphen_alert.validityPayload? = nil, publicly_leaked: Swift.Bool? = nil, multi_repo: Swift.Bool? = nil @@ -1306,6 +1344,9 @@ public enum Components { self.push_protection_bypassed = push_protection_bypassed self.push_protection_bypassed_by = push_protection_bypassed_by self.push_protection_bypassed_at = push_protection_bypassed_at + self.push_protection_bypass_request_reviewer = push_protection_bypass_request_reviewer + self.push_protection_bypass_request_comment = push_protection_bypass_request_comment + self.push_protection_bypass_request_html_url = push_protection_bypass_request_html_url self.validity = validity self.publicly_leaked = publicly_leaked self.multi_repo = multi_repo @@ -1328,6 +1369,9 @@ public enum Components { case push_protection_bypassed case push_protection_bypassed_by case push_protection_bypassed_at + case push_protection_bypass_request_reviewer + case push_protection_bypass_request_comment + case push_protection_bypass_request_html_url case validity case publicly_leaked case multi_repo