From 3f59e05e707e0bc9822025482f4436f23adefa7e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 21:30:31 +0000 Subject: [PATCH 1/8] Bump Submodule/github/rest-api-description from `cf0948f` to `531ec66` Bumps [Submodule/github/rest-api-description](https://github.com/github/rest-api-description) from `cf0948f` to `531ec66`. - [Release notes](https://github.com/github/rest-api-description/releases) - [Commits](https://github.com/github/rest-api-description/compare/cf0948fb6fe2d210da0d003466c82c3aea8783a7...531ec66f506b4a24468ca33192dc1ca5489f8a1b) --- 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 cf0948fb6fe..531ec66f506 160000 --- a/Submodule/github/rest-api-description +++ b/Submodule/github/rest-api-description @@ -1 +1 @@ -Subproject commit cf0948fb6fe2d210da0d003466c82c3aea8783a7 +Subproject commit 531ec66f506b4a24468ca33192dc1ca5489f8a1b From 8453fe28f892cf3f2c441de0c3007a5557cfbad6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 28 Oct 2024 21:48:58 +0000 Subject: [PATCH 2/8] Commit via running ake Sources/activity --- Sources/activity/Client.swift | 2 +- Sources/activity/Types.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/activity/Client.swift b/Sources/activity/Client.swift index b052b53df12..7cbcb22f697 100644 --- a/Sources/activity/Client.swift +++ b/Sources/activity/Client.swift @@ -2616,7 +2616,7 @@ public struct Client: APIProtocol { } /// List events for the authenticated user /// - /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). /// /// > [!NOTE] /// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. diff --git a/Sources/activity/Types.swift b/Sources/activity/Types.swift index bccbb3c7352..2b16781dd87 100644 --- a/Sources/activity/Types.swift +++ b/Sources/activity/Types.swift @@ -219,7 +219,7 @@ public protocol APIProtocol: Sendable { func activity_sol_list_hyphen_watched_hyphen_repos_hyphen_for_hyphen_authenticated_hyphen_user(_ input: Operations.activity_sol_list_hyphen_watched_hyphen_repos_hyphen_for_hyphen_authenticated_hyphen_user.Input) async throws -> Operations.activity_sol_list_hyphen_watched_hyphen_repos_hyphen_for_hyphen_authenticated_hyphen_user.Output /// List events for the authenticated user /// - /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). /// /// > [!NOTE] /// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. @@ -694,7 +694,7 @@ extension APIProtocol { } /// List events for the authenticated user /// - /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). /// /// > [!NOTE] /// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. @@ -9765,7 +9765,7 @@ public enum Operations { } /// List events for the authenticated user /// - /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). /// /// > [!NOTE] /// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. From b0a05d75fbca63ddfd67e425662db9514bf8c92a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 28 Oct 2024 21:50:21 +0000 Subject: [PATCH 3/8] Commit via running ake Sources/code-scanning --- Sources/code-scanning/Types.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Sources/code-scanning/Types.swift b/Sources/code-scanning/Types.swift index 751fe9c7ccf..1f47dc564cc 100644 --- a/Sources/code-scanning/Types.swift +++ b/Sources/code-scanning/Types.swift @@ -1910,7 +1910,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/code-scanning-organization-alert-items/instances_url`. public var instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url /// - Remark: Generated from `#/components/schemas/code-scanning-organization-alert-items/state`. - public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state + public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state? /// - Remark: Generated from `#/components/schemas/code-scanning-organization-alert-items/fixed_at`. public var fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at? /// - Remark: Generated from `#/components/schemas/code-scanning-organization-alert-items/dismissed_by`. @@ -1955,7 +1955,7 @@ public enum Components { url: Components.Schemas.alert_hyphen_url, html_url: Components.Schemas.alert_hyphen_html_hyphen_url, instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url, - state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state, + state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state? = nil, fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at? = nil, dismissed_by: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, dismissed_at: Components.Schemas.alert_hyphen_dismissed_hyphen_at? = nil, @@ -2017,7 +2017,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/code-scanning-alert-items/instances_url`. public var instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url /// - Remark: Generated from `#/components/schemas/code-scanning-alert-items/state`. - public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state + public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state? /// - Remark: Generated from `#/components/schemas/code-scanning-alert-items/fixed_at`. public var fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at? /// - Remark: Generated from `#/components/schemas/code-scanning-alert-items/dismissed_by`. @@ -2059,7 +2059,7 @@ public enum Components { url: Components.Schemas.alert_hyphen_url, html_url: Components.Schemas.alert_hyphen_html_hyphen_url, instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url, - state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state, + state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state? = nil, fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at? = nil, dismissed_by: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, dismissed_at: Components.Schemas.alert_hyphen_dismissed_hyphen_at? = nil, @@ -2219,7 +2219,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/code-scanning-alert/instances_url`. public var instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url /// - Remark: Generated from `#/components/schemas/code-scanning-alert/state`. - public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state + public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state? /// - Remark: Generated from `#/components/schemas/code-scanning-alert/fixed_at`. public var fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at? /// - Remark: Generated from `#/components/schemas/code-scanning-alert/dismissed_by`. @@ -2261,7 +2261,7 @@ public enum Components { url: Components.Schemas.alert_hyphen_url, html_url: Components.Schemas.alert_hyphen_html_hyphen_url, instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url, - state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state, + state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state? = nil, fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at? = nil, dismissed_by: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, dismissed_at: Components.Schemas.alert_hyphen_dismissed_hyphen_at? = nil, From 9b71e9ce1e0ee525b149738b6d20ae06e5a1158a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 28 Oct 2024 21:55:33 +0000 Subject: [PATCH 4/8] Commit via running ake Sources/orgs --- Sources/orgs/Client.swift | 3 +++ Sources/orgs/Types.swift | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/Sources/orgs/Client.swift b/Sources/orgs/Client.swift index 3c6b205c57f..f77961fc261 100644 --- a/Sources/orgs/Client.swift +++ b/Sources/orgs/Client.swift @@ -7201,6 +7201,9 @@ public struct Client: APIProtocol { /// /// For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response. /// + /// > [!NOTE] + /// > Requests using a fine-grained access token will receive a `200 Success` response with an empty list. + /// /// - Remark: HTTP `GET /user/orgs`. /// - Remark: Generated from `#/paths//user/orgs/get(orgs/list-for-authenticated-user)`. public func orgs_sol_list_hyphen_for_hyphen_authenticated_hyphen_user(_ input: Operations.orgs_sol_list_hyphen_for_hyphen_authenticated_hyphen_user.Input) async throws -> Operations.orgs_sol_list_hyphen_for_hyphen_authenticated_hyphen_user.Output { diff --git a/Sources/orgs/Types.swift b/Sources/orgs/Types.swift index aaf3c3ffe68..200e17216fa 100644 --- a/Sources/orgs/Types.swift +++ b/Sources/orgs/Types.swift @@ -733,6 +733,9 @@ public protocol APIProtocol: Sendable { /// /// For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response. /// + /// > [!NOTE] + /// > Requests using a fine-grained access token will receive a `200 Success` response with an empty list. + /// /// - Remark: HTTP `GET /user/orgs`. /// - Remark: Generated from `#/paths//user/orgs/get(orgs/list-for-authenticated-user)`. func orgs_sol_list_hyphen_for_hyphen_authenticated_hyphen_user(_ input: Operations.orgs_sol_list_hyphen_for_hyphen_authenticated_hyphen_user.Input) async throws -> Operations.orgs_sol_list_hyphen_for_hyphen_authenticated_hyphen_user.Output @@ -2033,6 +2036,9 @@ extension APIProtocol { /// /// For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response. /// + /// > [!NOTE] + /// > Requests using a fine-grained access token will receive a `200 Success` response with an empty list. + /// /// - Remark: HTTP `GET /user/orgs`. /// - Remark: Generated from `#/paths//user/orgs/get(orgs/list-for-authenticated-user)`. public func orgs_sol_list_hyphen_for_hyphen_authenticated_hyphen_user( @@ -5287,6 +5293,12 @@ public enum Components { public var private_gists: Swift.Int? /// - Remark: Generated from `#/components/schemas/organization-full/disk_usage`. public var disk_usage: Swift.Int? + /// The number of collaborators on private repositories. + /// + /// This field may be null if the number of private repositories is over 50,000. + /// + /// - Remark: Generated from `#/components/schemas/organization-full/collaborators`. + public var collaborators: Swift.Int? /// - Remark: Generated from `#/components/schemas/organization-full/billing_email`. public var billing_email: Swift.String? /// - Remark: Generated from `#/components/schemas/organization-full/plan`. @@ -5458,6 +5470,7 @@ public enum Components { /// - owned_private_repos: /// - private_gists: /// - disk_usage: + /// - collaborators: The number of collaborators on private repositories. /// - billing_email: /// - plan: /// - default_repository_permission: @@ -5515,6 +5528,7 @@ public enum Components { owned_private_repos: Swift.Int? = nil, private_gists: Swift.Int? = nil, disk_usage: Swift.Int? = nil, + collaborators: Swift.Int? = nil, billing_email: Swift.String? = nil, plan: Components.Schemas.organization_hyphen_full.planPayload? = nil, default_repository_permission: Swift.String? = nil, @@ -5572,6 +5586,7 @@ public enum Components { self.owned_private_repos = owned_private_repos self.private_gists = private_gists self.disk_usage = disk_usage + self.collaborators = collaborators self.billing_email = billing_email self.plan = plan self.default_repository_permission = default_repository_permission @@ -5630,6 +5645,7 @@ public enum Components { case owned_private_repos case private_gists case disk_usage + case collaborators case billing_email case plan case default_repository_permission @@ -21265,6 +21281,9 @@ public enum Operations { /// /// For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response. /// + /// > [!NOTE] + /// > Requests using a fine-grained access token will receive a `200 Success` response with an empty list. + /// /// - Remark: HTTP `GET /user/orgs`. /// - Remark: Generated from `#/paths//user/orgs/get(orgs/list-for-authenticated-user)`. public enum orgs_sol_list_hyphen_for_hyphen_authenticated_hyphen_user { From c6227f541b8953038ddecd82091da12fb53f45b2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 28 Oct 2024 21:56:35 +0000 Subject: [PATCH 5/8] Commit via running ake Sources/pulls --- Sources/pulls/Types.swift | 1685 +------------------------------------ 1 file changed, 8 insertions(+), 1677 deletions(-) diff --git a/Sources/pulls/Types.swift b/Sources/pulls/Types.swift index bd928709691..e5378774f36 100644 --- a/Sources/pulls/Types.swift +++ b/Sources/pulls/Types.swift @@ -4295,866 +4295,11 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/pull-request/head/ref`. public var ref: Swift.String /// - Remark: Generated from `#/components/schemas/pull-request/head/repo`. - public struct repoPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/archive_url`. - public var archive_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/assignees_url`. - public var assignees_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/blobs_url`. - public var blobs_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/branches_url`. - public var branches_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/collaborators_url`. - public var collaborators_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/comments_url`. - public var comments_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/commits_url`. - public var commits_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/compare_url`. - public var compare_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/contents_url`. - public var contents_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/contributors_url`. - public var contributors_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/deployments_url`. - public var deployments_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/description`. - public var description: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/downloads_url`. - public var downloads_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/events_url`. - public var events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/fork`. - public var fork: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/forks_url`. - public var forks_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/full_name`. - public var full_name: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/git_commits_url`. - public var git_commits_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/git_refs_url`. - public var git_refs_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/git_tags_url`. - public var git_tags_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/hooks_url`. - public var hooks_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/html_url`. - public var html_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/id`. - public var id: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/node_id`. - public var node_id: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/issue_comment_url`. - public var issue_comment_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/issue_events_url`. - public var issue_events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/issues_url`. - public var issues_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/keys_url`. - public var keys_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/labels_url`. - public var labels_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/languages_url`. - public var languages_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/merges_url`. - public var merges_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/milestones_url`. - public var milestones_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/name`. - public var name: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/notifications_url`. - public var notifications_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner`. - public struct ownerPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/avatar_url`. - public var avatar_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/events_url`. - public var events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/followers_url`. - public var followers_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/following_url`. - public var following_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/gists_url`. - public var gists_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/gravatar_id`. - public var gravatar_id: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/html_url`. - public var html_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/id`. - public var id: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/node_id`. - public var node_id: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/login`. - public var login: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/organizations_url`. - public var organizations_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/received_events_url`. - public var received_events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/repos_url`. - public var repos_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/site_admin`. - public var site_admin: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/starred_url`. - public var starred_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/subscriptions_url`. - public var subscriptions_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/type`. - public var _type: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/url`. - public var url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner/user_view_type`. - public var user_view_type: Swift.String? - /// Creates a new `ownerPayload`. - /// - /// - Parameters: - /// - avatar_url: - /// - events_url: - /// - followers_url: - /// - following_url: - /// - gists_url: - /// - gravatar_id: - /// - html_url: - /// - id: - /// - node_id: - /// - login: - /// - organizations_url: - /// - received_events_url: - /// - repos_url: - /// - site_admin: - /// - starred_url: - /// - subscriptions_url: - /// - _type: - /// - url: - /// - user_view_type: - public init( - avatar_url: Swift.String, - events_url: Swift.String, - followers_url: Swift.String, - following_url: Swift.String, - gists_url: Swift.String, - gravatar_id: Swift.String? = nil, - html_url: Swift.String, - id: Swift.Int, - node_id: Swift.String, - login: Swift.String, - organizations_url: Swift.String, - received_events_url: Swift.String, - repos_url: Swift.String, - site_admin: Swift.Bool, - starred_url: Swift.String, - subscriptions_url: Swift.String, - _type: Swift.String, - url: Swift.String, - user_view_type: Swift.String? = nil - ) { - self.avatar_url = avatar_url - self.events_url = events_url - self.followers_url = followers_url - self.following_url = following_url - self.gists_url = gists_url - self.gravatar_id = gravatar_id - self.html_url = html_url - self.id = id - self.node_id = node_id - self.login = login - self.organizations_url = organizations_url - self.received_events_url = received_events_url - self.repos_url = repos_url - self.site_admin = site_admin - self.starred_url = starred_url - self.subscriptions_url = subscriptions_url - self._type = _type - self.url = url - self.user_view_type = user_view_type - } - public enum CodingKeys: String, CodingKey { - case avatar_url - case events_url - case followers_url - case following_url - case gists_url - case gravatar_id - case html_url - case id - case node_id - case login - case organizations_url - case received_events_url - case repos_url - case site_admin - case starred_url - case subscriptions_url - case _type = "type" - case url - case user_view_type - } - } - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/owner`. - public var owner: Components.Schemas.pull_hyphen_request.headPayload.repoPayload.ownerPayload - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/private`. - public var _private: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/pulls_url`. - public var pulls_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/releases_url`. - public var releases_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/stargazers_url`. - public var stargazers_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/statuses_url`. - public var statuses_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/subscribers_url`. - public var subscribers_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/subscription_url`. - public var subscription_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/tags_url`. - public var tags_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/teams_url`. - public var teams_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/trees_url`. - public var trees_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/url`. - public var url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/clone_url`. - public var clone_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/default_branch`. - public var default_branch: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/forks`. - public var forks: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/forks_count`. - public var forks_count: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/git_url`. - public var git_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/has_downloads`. - public var has_downloads: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/has_issues`. - public var has_issues: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/has_projects`. - public var has_projects: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/has_wiki`. - public var has_wiki: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/has_pages`. - public var has_pages: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/has_discussions`. - public var has_discussions: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/homepage`. - public var homepage: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/language`. - public var language: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/master_branch`. - public var master_branch: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/archived`. - public var archived: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/disabled`. - public var disabled: Swift.Bool - /// The repository visibility: public, private, or internal. - /// - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/visibility`. - public var visibility: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/mirror_url`. - public var mirror_url: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/open_issues`. - public var open_issues: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/open_issues_count`. - public var open_issues_count: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/permissions`. - public struct permissionsPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/permissions/admin`. - public var admin: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/permissions/maintain`. - public var maintain: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/permissions/push`. - public var push: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/permissions/triage`. - public var triage: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/permissions/pull`. - public var pull: Swift.Bool - /// Creates a new `permissionsPayload`. - /// - /// - Parameters: - /// - admin: - /// - maintain: - /// - push: - /// - triage: - /// - pull: - public init( - admin: Swift.Bool, - maintain: Swift.Bool? = nil, - push: Swift.Bool, - triage: Swift.Bool? = nil, - pull: Swift.Bool - ) { - self.admin = admin - self.maintain = maintain - self.push = push - self.triage = triage - self.pull = pull - } - public enum CodingKeys: String, CodingKey { - case admin - case maintain - case push - case triage - case pull - } - } - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/permissions`. - public var permissions: Components.Schemas.pull_hyphen_request.headPayload.repoPayload.permissionsPayload? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/temp_clone_token`. - public var temp_clone_token: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/allow_merge_commit`. - public var allow_merge_commit: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/allow_squash_merge`. - public var allow_squash_merge: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/allow_rebase_merge`. - public var allow_rebase_merge: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/license`. - public struct licensePayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/license/key`. - public var key: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/license/name`. - public var name: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/license/url`. - public var url: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/license/spdx_id`. - public var spdx_id: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/license/node_id`. - public var node_id: Swift.String - /// Creates a new `licensePayload`. - /// - /// - Parameters: - /// - key: - /// - name: - /// - url: - /// - spdx_id: - /// - node_id: - public init( - key: Swift.String, - name: Swift.String, - url: Swift.String? = nil, - spdx_id: Swift.String? = nil, - node_id: Swift.String - ) { - self.key = key - self.name = name - self.url = url - self.spdx_id = spdx_id - self.node_id = node_id - } - public enum CodingKeys: String, CodingKey { - case key - case name - case url - case spdx_id - case node_id - } - } - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/license`. - public var license: Components.Schemas.pull_hyphen_request.headPayload.repoPayload.licensePayload? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/pushed_at`. - public var pushed_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/size`. - public var size: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/ssh_url`. - public var ssh_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/stargazers_count`. - public var stargazers_count: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/svn_url`. - public var svn_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/topics`. - public var topics: [Swift.String]? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/watchers`. - public var watchers: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/watchers_count`. - public var watchers_count: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/created_at`. - public var created_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/updated_at`. - public var updated_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/allow_forking`. - public var allow_forking: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/is_template`. - public var is_template: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo/web_commit_signoff_required`. - public var web_commit_signoff_required: Swift.Bool? - /// Creates a new `repoPayload`. - /// - /// - Parameters: - /// - archive_url: - /// - assignees_url: - /// - blobs_url: - /// - branches_url: - /// - collaborators_url: - /// - comments_url: - /// - commits_url: - /// - compare_url: - /// - contents_url: - /// - contributors_url: - /// - deployments_url: - /// - description: - /// - downloads_url: - /// - events_url: - /// - fork: - /// - forks_url: - /// - full_name: - /// - git_commits_url: - /// - git_refs_url: - /// - git_tags_url: - /// - hooks_url: - /// - html_url: - /// - id: - /// - node_id: - /// - issue_comment_url: - /// - issue_events_url: - /// - issues_url: - /// - keys_url: - /// - labels_url: - /// - languages_url: - /// - merges_url: - /// - milestones_url: - /// - name: - /// - notifications_url: - /// - owner: - /// - _private: - /// - pulls_url: - /// - releases_url: - /// - stargazers_url: - /// - statuses_url: - /// - subscribers_url: - /// - subscription_url: - /// - tags_url: - /// - teams_url: - /// - trees_url: - /// - url: - /// - clone_url: - /// - default_branch: - /// - forks: - /// - forks_count: - /// - git_url: - /// - has_downloads: - /// - has_issues: - /// - has_projects: - /// - has_wiki: - /// - has_pages: - /// - has_discussions: - /// - homepage: - /// - language: - /// - master_branch: - /// - archived: - /// - disabled: - /// - visibility: The repository visibility: public, private, or internal. - /// - mirror_url: - /// - open_issues: - /// - open_issues_count: - /// - permissions: - /// - temp_clone_token: - /// - allow_merge_commit: - /// - allow_squash_merge: - /// - allow_rebase_merge: - /// - license: - /// - pushed_at: - /// - size: - /// - ssh_url: - /// - stargazers_count: - /// - svn_url: - /// - topics: - /// - watchers: - /// - watchers_count: - /// - created_at: - /// - updated_at: - /// - allow_forking: - /// - is_template: - /// - web_commit_signoff_required: - public init( - archive_url: Swift.String, - assignees_url: Swift.String, - blobs_url: Swift.String, - branches_url: Swift.String, - collaborators_url: Swift.String, - comments_url: Swift.String, - commits_url: Swift.String, - compare_url: Swift.String, - contents_url: Swift.String, - contributors_url: Swift.String, - deployments_url: Swift.String, - description: Swift.String? = nil, - downloads_url: Swift.String, - events_url: Swift.String, - fork: Swift.Bool, - forks_url: Swift.String, - full_name: Swift.String, - git_commits_url: Swift.String, - git_refs_url: Swift.String, - git_tags_url: Swift.String, - hooks_url: Swift.String, - html_url: Swift.String, - id: Swift.Int, - node_id: Swift.String, - issue_comment_url: Swift.String, - issue_events_url: Swift.String, - issues_url: Swift.String, - keys_url: Swift.String, - labels_url: Swift.String, - languages_url: Swift.String, - merges_url: Swift.String, - milestones_url: Swift.String, - name: Swift.String, - notifications_url: Swift.String, - owner: Components.Schemas.pull_hyphen_request.headPayload.repoPayload.ownerPayload, - _private: Swift.Bool, - pulls_url: Swift.String, - releases_url: Swift.String, - stargazers_url: Swift.String, - statuses_url: Swift.String, - subscribers_url: Swift.String, - subscription_url: Swift.String, - tags_url: Swift.String, - teams_url: Swift.String, - trees_url: Swift.String, - url: Swift.String, - clone_url: Swift.String, - default_branch: Swift.String, - forks: Swift.Int, - forks_count: Swift.Int, - git_url: Swift.String, - has_downloads: Swift.Bool, - has_issues: Swift.Bool, - has_projects: Swift.Bool, - has_wiki: Swift.Bool, - has_pages: Swift.Bool, - has_discussions: Swift.Bool, - homepage: Swift.String? = nil, - language: Swift.String? = nil, - master_branch: Swift.String? = nil, - archived: Swift.Bool, - disabled: Swift.Bool, - visibility: Swift.String? = nil, - mirror_url: Swift.String? = nil, - open_issues: Swift.Int, - open_issues_count: Swift.Int, - permissions: Components.Schemas.pull_hyphen_request.headPayload.repoPayload.permissionsPayload? = nil, - temp_clone_token: Swift.String? = nil, - allow_merge_commit: Swift.Bool? = nil, - allow_squash_merge: Swift.Bool? = nil, - allow_rebase_merge: Swift.Bool? = nil, - license: Components.Schemas.pull_hyphen_request.headPayload.repoPayload.licensePayload? = nil, - pushed_at: Foundation.Date, - size: Swift.Int, - ssh_url: Swift.String, - stargazers_count: Swift.Int, - svn_url: Swift.String, - topics: [Swift.String]? = nil, - watchers: Swift.Int, - watchers_count: Swift.Int, - created_at: Foundation.Date, - updated_at: Foundation.Date, - allow_forking: Swift.Bool? = nil, - is_template: Swift.Bool? = nil, - web_commit_signoff_required: Swift.Bool? = nil - ) { - self.archive_url = archive_url - self.assignees_url = assignees_url - self.blobs_url = blobs_url - self.branches_url = branches_url - self.collaborators_url = collaborators_url - self.comments_url = comments_url - self.commits_url = commits_url - self.compare_url = compare_url - self.contents_url = contents_url - self.contributors_url = contributors_url - self.deployments_url = deployments_url - self.description = description - self.downloads_url = downloads_url - self.events_url = events_url - self.fork = fork - self.forks_url = forks_url - self.full_name = full_name - self.git_commits_url = git_commits_url - self.git_refs_url = git_refs_url - self.git_tags_url = git_tags_url - self.hooks_url = hooks_url - self.html_url = html_url - self.id = id - self.node_id = node_id - self.issue_comment_url = issue_comment_url - self.issue_events_url = issue_events_url - self.issues_url = issues_url - self.keys_url = keys_url - self.labels_url = labels_url - self.languages_url = languages_url - self.merges_url = merges_url - self.milestones_url = milestones_url - self.name = name - self.notifications_url = notifications_url - self.owner = owner - self._private = _private - self.pulls_url = pulls_url - self.releases_url = releases_url - self.stargazers_url = stargazers_url - self.statuses_url = statuses_url - self.subscribers_url = subscribers_url - self.subscription_url = subscription_url - self.tags_url = tags_url - self.teams_url = teams_url - self.trees_url = trees_url - self.url = url - self.clone_url = clone_url - self.default_branch = default_branch - self.forks = forks - self.forks_count = forks_count - self.git_url = git_url - self.has_downloads = has_downloads - self.has_issues = has_issues - self.has_projects = has_projects - self.has_wiki = has_wiki - self.has_pages = has_pages - self.has_discussions = has_discussions - self.homepage = homepage - self.language = language - self.master_branch = master_branch - self.archived = archived - self.disabled = disabled - self.visibility = visibility - self.mirror_url = mirror_url - self.open_issues = open_issues - self.open_issues_count = open_issues_count - self.permissions = permissions - self.temp_clone_token = temp_clone_token - self.allow_merge_commit = allow_merge_commit - self.allow_squash_merge = allow_squash_merge - self.allow_rebase_merge = allow_rebase_merge - self.license = license - self.pushed_at = pushed_at - self.size = size - self.ssh_url = ssh_url - self.stargazers_count = stargazers_count - self.svn_url = svn_url - self.topics = topics - self.watchers = watchers - self.watchers_count = watchers_count - self.created_at = created_at - self.updated_at = updated_at - self.allow_forking = allow_forking - self.is_template = is_template - self.web_commit_signoff_required = web_commit_signoff_required - } - public enum CodingKeys: String, CodingKey { - case archive_url - case assignees_url - case blobs_url - case branches_url - case collaborators_url - case comments_url - case commits_url - case compare_url - case contents_url - case contributors_url - case deployments_url - case description - case downloads_url - case events_url - case fork - case forks_url - case full_name - case git_commits_url - case git_refs_url - case git_tags_url - case hooks_url - case html_url - case id - case node_id - case issue_comment_url - case issue_events_url - case issues_url - case keys_url - case labels_url - case languages_url - case merges_url - case milestones_url - case name - case notifications_url - case owner - case _private = "private" - case pulls_url - case releases_url - case stargazers_url - case statuses_url - case subscribers_url - case subscription_url - case tags_url - case teams_url - case trees_url - case url - case clone_url - case default_branch - case forks - case forks_count - case git_url - case has_downloads - case has_issues - case has_projects - case has_wiki - case has_pages - case has_discussions - case homepage - case language - case master_branch - case archived - case disabled - case visibility - case mirror_url - case open_issues - case open_issues_count - case permissions - case temp_clone_token - case allow_merge_commit - case allow_squash_merge - case allow_rebase_merge - case license - case pushed_at - case size - case ssh_url - case stargazers_count - case svn_url - case topics - case watchers - case watchers_count - case created_at - case updated_at - case allow_forking - case is_template - case web_commit_signoff_required - } - } - /// - Remark: Generated from `#/components/schemas/pull-request/head/repo`. - public var repo: Components.Schemas.pull_hyphen_request.headPayload.repoPayload? + public var repo: Components.Schemas.repository /// - Remark: Generated from `#/components/schemas/pull-request/head/sha`. public var sha: Swift.String /// - Remark: Generated from `#/components/schemas/pull-request/head/user`. - public struct userPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/avatar_url`. - public var avatar_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/events_url`. - public var events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/followers_url`. - public var followers_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/following_url`. - public var following_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/gists_url`. - public var gists_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/gravatar_id`. - public var gravatar_id: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/html_url`. - public var html_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/id`. - public var id: Swift.Int64 - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/node_id`. - public var node_id: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/login`. - public var login: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/organizations_url`. - public var organizations_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/received_events_url`. - public var received_events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/repos_url`. - public var repos_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/site_admin`. - public var site_admin: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/starred_url`. - public var starred_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/subscriptions_url`. - public var subscriptions_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/type`. - public var _type: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/url`. - public var url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/head/user/user_view_type`. - public var user_view_type: Swift.String? - /// Creates a new `userPayload`. - /// - /// - Parameters: - /// - avatar_url: - /// - events_url: - /// - followers_url: - /// - following_url: - /// - gists_url: - /// - gravatar_id: - /// - html_url: - /// - id: - /// - node_id: - /// - login: - /// - organizations_url: - /// - received_events_url: - /// - repos_url: - /// - site_admin: - /// - starred_url: - /// - subscriptions_url: - /// - _type: - /// - url: - /// - user_view_type: - public init( - avatar_url: Swift.String, - events_url: Swift.String, - followers_url: Swift.String, - following_url: Swift.String, - gists_url: Swift.String, - gravatar_id: Swift.String? = nil, - html_url: Swift.String, - id: Swift.Int64, - node_id: Swift.String, - login: Swift.String, - organizations_url: Swift.String, - received_events_url: Swift.String, - repos_url: Swift.String, - site_admin: Swift.Bool, - starred_url: Swift.String, - subscriptions_url: Swift.String, - _type: Swift.String, - url: Swift.String, - user_view_type: Swift.String? = nil - ) { - self.avatar_url = avatar_url - self.events_url = events_url - self.followers_url = followers_url - self.following_url = following_url - self.gists_url = gists_url - self.gravatar_id = gravatar_id - self.html_url = html_url - self.id = id - self.node_id = node_id - self.login = login - self.organizations_url = organizations_url - self.received_events_url = received_events_url - self.repos_url = repos_url - self.site_admin = site_admin - self.starred_url = starred_url - self.subscriptions_url = subscriptions_url - self._type = _type - self.url = url - self.user_view_type = user_view_type - } - public enum CodingKeys: String, CodingKey { - case avatar_url - case events_url - case followers_url - case following_url - case gists_url - case gravatar_id - case html_url - case id - case node_id - case login - case organizations_url - case received_events_url - case repos_url - case site_admin - case starred_url - case subscriptions_url - case _type = "type" - case url - case user_view_type - } - } - /// - Remark: Generated from `#/components/schemas/pull-request/head/user`. - public var user: Components.Schemas.pull_hyphen_request.headPayload.userPayload + public var user: Components.Schemas.simple_hyphen_user /// Creates a new `headPayload`. /// /// - Parameters: @@ -5166,9 +4311,9 @@ public enum Components { public init( label: Swift.String, ref: Swift.String, - repo: Components.Schemas.pull_hyphen_request.headPayload.repoPayload? = nil, + repo: Components.Schemas.repository, sha: Swift.String, - user: Components.Schemas.pull_hyphen_request.headPayload.userPayload + user: Components.Schemas.simple_hyphen_user ) { self.label = label self.ref = ref @@ -5193,825 +4338,11 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/pull-request/base/ref`. public var ref: Swift.String /// - Remark: Generated from `#/components/schemas/pull-request/base/repo`. - public struct repoPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/archive_url`. - public var archive_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/assignees_url`. - public var assignees_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/blobs_url`. - public var blobs_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/branches_url`. - public var branches_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/collaborators_url`. - public var collaborators_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/comments_url`. - public var comments_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/commits_url`. - public var commits_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/compare_url`. - public var compare_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/contents_url`. - public var contents_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/contributors_url`. - public var contributors_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/deployments_url`. - public var deployments_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/description`. - public var description: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/downloads_url`. - public var downloads_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/events_url`. - public var events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/fork`. - public var fork: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/forks_url`. - public var forks_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/full_name`. - public var full_name: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/git_commits_url`. - public var git_commits_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/git_refs_url`. - public var git_refs_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/git_tags_url`. - public var git_tags_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/hooks_url`. - public var hooks_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/html_url`. - public var html_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/id`. - public var id: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/is_template`. - public var is_template: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/node_id`. - public var node_id: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/issue_comment_url`. - public var issue_comment_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/issue_events_url`. - public var issue_events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/issues_url`. - public var issues_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/keys_url`. - public var keys_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/labels_url`. - public var labels_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/languages_url`. - public var languages_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/merges_url`. - public var merges_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/milestones_url`. - public var milestones_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/name`. - public var name: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/notifications_url`. - public var notifications_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner`. - public struct ownerPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/avatar_url`. - public var avatar_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/events_url`. - public var events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/followers_url`. - public var followers_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/following_url`. - public var following_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/gists_url`. - public var gists_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/gravatar_id`. - public var gravatar_id: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/html_url`. - public var html_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/id`. - public var id: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/node_id`. - public var node_id: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/login`. - public var login: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/organizations_url`. - public var organizations_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/received_events_url`. - public var received_events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/repos_url`. - public var repos_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/site_admin`. - public var site_admin: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/starred_url`. - public var starred_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/subscriptions_url`. - public var subscriptions_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/type`. - public var _type: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/url`. - public var url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner/user_view_type`. - public var user_view_type: Swift.String? - /// Creates a new `ownerPayload`. - /// - /// - Parameters: - /// - avatar_url: - /// - events_url: - /// - followers_url: - /// - following_url: - /// - gists_url: - /// - gravatar_id: - /// - html_url: - /// - id: - /// - node_id: - /// - login: - /// - organizations_url: - /// - received_events_url: - /// - repos_url: - /// - site_admin: - /// - starred_url: - /// - subscriptions_url: - /// - _type: - /// - url: - /// - user_view_type: - public init( - avatar_url: Swift.String, - events_url: Swift.String, - followers_url: Swift.String, - following_url: Swift.String, - gists_url: Swift.String, - gravatar_id: Swift.String? = nil, - html_url: Swift.String, - id: Swift.Int, - node_id: Swift.String, - login: Swift.String, - organizations_url: Swift.String, - received_events_url: Swift.String, - repos_url: Swift.String, - site_admin: Swift.Bool, - starred_url: Swift.String, - subscriptions_url: Swift.String, - _type: Swift.String, - url: Swift.String, - user_view_type: Swift.String? = nil - ) { - self.avatar_url = avatar_url - self.events_url = events_url - self.followers_url = followers_url - self.following_url = following_url - self.gists_url = gists_url - self.gravatar_id = gravatar_id - self.html_url = html_url - self.id = id - self.node_id = node_id - self.login = login - self.organizations_url = organizations_url - self.received_events_url = received_events_url - self.repos_url = repos_url - self.site_admin = site_admin - self.starred_url = starred_url - self.subscriptions_url = subscriptions_url - self._type = _type - self.url = url - self.user_view_type = user_view_type - } - public enum CodingKeys: String, CodingKey { - case avatar_url - case events_url - case followers_url - case following_url - case gists_url - case gravatar_id - case html_url - case id - case node_id - case login - case organizations_url - case received_events_url - case repos_url - case site_admin - case starred_url - case subscriptions_url - case _type = "type" - case url - case user_view_type - } - } - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/owner`. - public var owner: Components.Schemas.pull_hyphen_request.basePayload.repoPayload.ownerPayload - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/private`. - public var _private: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/pulls_url`. - public var pulls_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/releases_url`. - public var releases_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/stargazers_url`. - public var stargazers_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/statuses_url`. - public var statuses_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/subscribers_url`. - public var subscribers_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/subscription_url`. - public var subscription_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/tags_url`. - public var tags_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/teams_url`. - public var teams_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/trees_url`. - public var trees_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/url`. - public var url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/clone_url`. - public var clone_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/default_branch`. - public var default_branch: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/forks`. - public var forks: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/forks_count`. - public var forks_count: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/git_url`. - public var git_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/has_downloads`. - public var has_downloads: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/has_issues`. - public var has_issues: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/has_projects`. - public var has_projects: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/has_wiki`. - public var has_wiki: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/has_pages`. - public var has_pages: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/has_discussions`. - public var has_discussions: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/homepage`. - public var homepage: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/language`. - public var language: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/master_branch`. - public var master_branch: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/archived`. - public var archived: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/disabled`. - public var disabled: Swift.Bool - /// The repository visibility: public, private, or internal. - /// - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/visibility`. - public var visibility: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/mirror_url`. - public var mirror_url: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/open_issues`. - public var open_issues: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/open_issues_count`. - public var open_issues_count: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/permissions`. - public struct permissionsPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/permissions/admin`. - public var admin: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/permissions/maintain`. - public var maintain: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/permissions/push`. - public var push: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/permissions/triage`. - public var triage: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/permissions/pull`. - public var pull: Swift.Bool - /// Creates a new `permissionsPayload`. - /// - /// - Parameters: - /// - admin: - /// - maintain: - /// - push: - /// - triage: - /// - pull: - public init( - admin: Swift.Bool, - maintain: Swift.Bool? = nil, - push: Swift.Bool, - triage: Swift.Bool? = nil, - pull: Swift.Bool - ) { - self.admin = admin - self.maintain = maintain - self.push = push - self.triage = triage - self.pull = pull - } - public enum CodingKeys: String, CodingKey { - case admin - case maintain - case push - case triage - case pull - } - } - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/permissions`. - public var permissions: Components.Schemas.pull_hyphen_request.basePayload.repoPayload.permissionsPayload? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/temp_clone_token`. - public var temp_clone_token: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/allow_merge_commit`. - public var allow_merge_commit: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/allow_squash_merge`. - public var allow_squash_merge: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/allow_rebase_merge`. - public var allow_rebase_merge: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/license`. - public var license: Components.Schemas.nullable_hyphen_license_hyphen_simple? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/pushed_at`. - public var pushed_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/size`. - public var size: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/ssh_url`. - public var ssh_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/stargazers_count`. - public var stargazers_count: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/svn_url`. - public var svn_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/topics`. - public var topics: [Swift.String]? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/watchers`. - public var watchers: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/watchers_count`. - public var watchers_count: Swift.Int - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/created_at`. - public var created_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/updated_at`. - public var updated_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/allow_forking`. - public var allow_forking: Swift.Bool? - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo/web_commit_signoff_required`. - public var web_commit_signoff_required: Swift.Bool? - /// Creates a new `repoPayload`. - /// - /// - Parameters: - /// - archive_url: - /// - assignees_url: - /// - blobs_url: - /// - branches_url: - /// - collaborators_url: - /// - comments_url: - /// - commits_url: - /// - compare_url: - /// - contents_url: - /// - contributors_url: - /// - deployments_url: - /// - description: - /// - downloads_url: - /// - events_url: - /// - fork: - /// - forks_url: - /// - full_name: - /// - git_commits_url: - /// - git_refs_url: - /// - git_tags_url: - /// - hooks_url: - /// - html_url: - /// - id: - /// - is_template: - /// - node_id: - /// - issue_comment_url: - /// - issue_events_url: - /// - issues_url: - /// - keys_url: - /// - labels_url: - /// - languages_url: - /// - merges_url: - /// - milestones_url: - /// - name: - /// - notifications_url: - /// - owner: - /// - _private: - /// - pulls_url: - /// - releases_url: - /// - stargazers_url: - /// - statuses_url: - /// - subscribers_url: - /// - subscription_url: - /// - tags_url: - /// - teams_url: - /// - trees_url: - /// - url: - /// - clone_url: - /// - default_branch: - /// - forks: - /// - forks_count: - /// - git_url: - /// - has_downloads: - /// - has_issues: - /// - has_projects: - /// - has_wiki: - /// - has_pages: - /// - has_discussions: - /// - homepage: - /// - language: - /// - master_branch: - /// - archived: - /// - disabled: - /// - visibility: The repository visibility: public, private, or internal. - /// - mirror_url: - /// - open_issues: - /// - open_issues_count: - /// - permissions: - /// - temp_clone_token: - /// - allow_merge_commit: - /// - allow_squash_merge: - /// - allow_rebase_merge: - /// - license: - /// - pushed_at: - /// - size: - /// - ssh_url: - /// - stargazers_count: - /// - svn_url: - /// - topics: - /// - watchers: - /// - watchers_count: - /// - created_at: - /// - updated_at: - /// - allow_forking: - /// - web_commit_signoff_required: - public init( - archive_url: Swift.String, - assignees_url: Swift.String, - blobs_url: Swift.String, - branches_url: Swift.String, - collaborators_url: Swift.String, - comments_url: Swift.String, - commits_url: Swift.String, - compare_url: Swift.String, - contents_url: Swift.String, - contributors_url: Swift.String, - deployments_url: Swift.String, - description: Swift.String? = nil, - downloads_url: Swift.String, - events_url: Swift.String, - fork: Swift.Bool, - forks_url: Swift.String, - full_name: Swift.String, - git_commits_url: Swift.String, - git_refs_url: Swift.String, - git_tags_url: Swift.String, - hooks_url: Swift.String, - html_url: Swift.String, - id: Swift.Int, - is_template: Swift.Bool? = nil, - node_id: Swift.String, - issue_comment_url: Swift.String, - issue_events_url: Swift.String, - issues_url: Swift.String, - keys_url: Swift.String, - labels_url: Swift.String, - languages_url: Swift.String, - merges_url: Swift.String, - milestones_url: Swift.String, - name: Swift.String, - notifications_url: Swift.String, - owner: Components.Schemas.pull_hyphen_request.basePayload.repoPayload.ownerPayload, - _private: Swift.Bool, - pulls_url: Swift.String, - releases_url: Swift.String, - stargazers_url: Swift.String, - statuses_url: Swift.String, - subscribers_url: Swift.String, - subscription_url: Swift.String, - tags_url: Swift.String, - teams_url: Swift.String, - trees_url: Swift.String, - url: Swift.String, - clone_url: Swift.String, - default_branch: Swift.String, - forks: Swift.Int, - forks_count: Swift.Int, - git_url: Swift.String, - has_downloads: Swift.Bool, - has_issues: Swift.Bool, - has_projects: Swift.Bool, - has_wiki: Swift.Bool, - has_pages: Swift.Bool, - has_discussions: Swift.Bool, - homepage: Swift.String? = nil, - language: Swift.String? = nil, - master_branch: Swift.String? = nil, - archived: Swift.Bool, - disabled: Swift.Bool, - visibility: Swift.String? = nil, - mirror_url: Swift.String? = nil, - open_issues: Swift.Int, - open_issues_count: Swift.Int, - permissions: Components.Schemas.pull_hyphen_request.basePayload.repoPayload.permissionsPayload? = nil, - temp_clone_token: Swift.String? = nil, - allow_merge_commit: Swift.Bool? = nil, - allow_squash_merge: Swift.Bool? = nil, - allow_rebase_merge: Swift.Bool? = nil, - license: Components.Schemas.nullable_hyphen_license_hyphen_simple? = nil, - pushed_at: Foundation.Date, - size: Swift.Int, - ssh_url: Swift.String, - stargazers_count: Swift.Int, - svn_url: Swift.String, - topics: [Swift.String]? = nil, - watchers: Swift.Int, - watchers_count: Swift.Int, - created_at: Foundation.Date, - updated_at: Foundation.Date, - allow_forking: Swift.Bool? = nil, - web_commit_signoff_required: Swift.Bool? = nil - ) { - self.archive_url = archive_url - self.assignees_url = assignees_url - self.blobs_url = blobs_url - self.branches_url = branches_url - self.collaborators_url = collaborators_url - self.comments_url = comments_url - self.commits_url = commits_url - self.compare_url = compare_url - self.contents_url = contents_url - self.contributors_url = contributors_url - self.deployments_url = deployments_url - self.description = description - self.downloads_url = downloads_url - self.events_url = events_url - self.fork = fork - self.forks_url = forks_url - self.full_name = full_name - self.git_commits_url = git_commits_url - self.git_refs_url = git_refs_url - self.git_tags_url = git_tags_url - self.hooks_url = hooks_url - self.html_url = html_url - self.id = id - self.is_template = is_template - self.node_id = node_id - self.issue_comment_url = issue_comment_url - self.issue_events_url = issue_events_url - self.issues_url = issues_url - self.keys_url = keys_url - self.labels_url = labels_url - self.languages_url = languages_url - self.merges_url = merges_url - self.milestones_url = milestones_url - self.name = name - self.notifications_url = notifications_url - self.owner = owner - self._private = _private - self.pulls_url = pulls_url - self.releases_url = releases_url - self.stargazers_url = stargazers_url - self.statuses_url = statuses_url - self.subscribers_url = subscribers_url - self.subscription_url = subscription_url - self.tags_url = tags_url - self.teams_url = teams_url - self.trees_url = trees_url - self.url = url - self.clone_url = clone_url - self.default_branch = default_branch - self.forks = forks - self.forks_count = forks_count - self.git_url = git_url - self.has_downloads = has_downloads - self.has_issues = has_issues - self.has_projects = has_projects - self.has_wiki = has_wiki - self.has_pages = has_pages - self.has_discussions = has_discussions - self.homepage = homepage - self.language = language - self.master_branch = master_branch - self.archived = archived - self.disabled = disabled - self.visibility = visibility - self.mirror_url = mirror_url - self.open_issues = open_issues - self.open_issues_count = open_issues_count - self.permissions = permissions - self.temp_clone_token = temp_clone_token - self.allow_merge_commit = allow_merge_commit - self.allow_squash_merge = allow_squash_merge - self.allow_rebase_merge = allow_rebase_merge - self.license = license - self.pushed_at = pushed_at - self.size = size - self.ssh_url = ssh_url - self.stargazers_count = stargazers_count - self.svn_url = svn_url - self.topics = topics - self.watchers = watchers - self.watchers_count = watchers_count - self.created_at = created_at - self.updated_at = updated_at - self.allow_forking = allow_forking - self.web_commit_signoff_required = web_commit_signoff_required - } - public enum CodingKeys: String, CodingKey { - case archive_url - case assignees_url - case blobs_url - case branches_url - case collaborators_url - case comments_url - case commits_url - case compare_url - case contents_url - case contributors_url - case deployments_url - case description - case downloads_url - case events_url - case fork - case forks_url - case full_name - case git_commits_url - case git_refs_url - case git_tags_url - case hooks_url - case html_url - case id - case is_template - case node_id - case issue_comment_url - case issue_events_url - case issues_url - case keys_url - case labels_url - case languages_url - case merges_url - case milestones_url - case name - case notifications_url - case owner - case _private = "private" - case pulls_url - case releases_url - case stargazers_url - case statuses_url - case subscribers_url - case subscription_url - case tags_url - case teams_url - case trees_url - case url - case clone_url - case default_branch - case forks - case forks_count - case git_url - case has_downloads - case has_issues - case has_projects - case has_wiki - case has_pages - case has_discussions - case homepage - case language - case master_branch - case archived - case disabled - case visibility - case mirror_url - case open_issues - case open_issues_count - case permissions - case temp_clone_token - case allow_merge_commit - case allow_squash_merge - case allow_rebase_merge - case license - case pushed_at - case size - case ssh_url - case stargazers_count - case svn_url - case topics - case watchers - case watchers_count - case created_at - case updated_at - case allow_forking - case web_commit_signoff_required - } - } - /// - Remark: Generated from `#/components/schemas/pull-request/base/repo`. - public var repo: Components.Schemas.pull_hyphen_request.basePayload.repoPayload + public var repo: Components.Schemas.repository /// - Remark: Generated from `#/components/schemas/pull-request/base/sha`. public var sha: Swift.String /// - Remark: Generated from `#/components/schemas/pull-request/base/user`. - public struct userPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/avatar_url`. - public var avatar_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/events_url`. - public var events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/followers_url`. - public var followers_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/following_url`. - public var following_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/gists_url`. - public var gists_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/gravatar_id`. - public var gravatar_id: Swift.String? - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/html_url`. - public var html_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/id`. - public var id: Swift.Int64 - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/node_id`. - public var node_id: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/login`. - public var login: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/organizations_url`. - public var organizations_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/received_events_url`. - public var received_events_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/repos_url`. - public var repos_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/site_admin`. - public var site_admin: Swift.Bool - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/starred_url`. - public var starred_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/subscriptions_url`. - public var subscriptions_url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/type`. - public var _type: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/url`. - public var url: Swift.String - /// - Remark: Generated from `#/components/schemas/pull-request/base/user/user_view_type`. - public var user_view_type: Swift.String? - /// Creates a new `userPayload`. - /// - /// - Parameters: - /// - avatar_url: - /// - events_url: - /// - followers_url: - /// - following_url: - /// - gists_url: - /// - gravatar_id: - /// - html_url: - /// - id: - /// - node_id: - /// - login: - /// - organizations_url: - /// - received_events_url: - /// - repos_url: - /// - site_admin: - /// - starred_url: - /// - subscriptions_url: - /// - _type: - /// - url: - /// - user_view_type: - public init( - avatar_url: Swift.String, - events_url: Swift.String, - followers_url: Swift.String, - following_url: Swift.String, - gists_url: Swift.String, - gravatar_id: Swift.String? = nil, - html_url: Swift.String, - id: Swift.Int64, - node_id: Swift.String, - login: Swift.String, - organizations_url: Swift.String, - received_events_url: Swift.String, - repos_url: Swift.String, - site_admin: Swift.Bool, - starred_url: Swift.String, - subscriptions_url: Swift.String, - _type: Swift.String, - url: Swift.String, - user_view_type: Swift.String? = nil - ) { - self.avatar_url = avatar_url - self.events_url = events_url - self.followers_url = followers_url - self.following_url = following_url - self.gists_url = gists_url - self.gravatar_id = gravatar_id - self.html_url = html_url - self.id = id - self.node_id = node_id - self.login = login - self.organizations_url = organizations_url - self.received_events_url = received_events_url - self.repos_url = repos_url - self.site_admin = site_admin - self.starred_url = starred_url - self.subscriptions_url = subscriptions_url - self._type = _type - self.url = url - self.user_view_type = user_view_type - } - public enum CodingKeys: String, CodingKey { - case avatar_url - case events_url - case followers_url - case following_url - case gists_url - case gravatar_id - case html_url - case id - case node_id - case login - case organizations_url - case received_events_url - case repos_url - case site_admin - case starred_url - case subscriptions_url - case _type = "type" - case url - case user_view_type - } - } - /// - Remark: Generated from `#/components/schemas/pull-request/base/user`. - public var user: Components.Schemas.pull_hyphen_request.basePayload.userPayload + public var user: Components.Schemas.simple_hyphen_user /// Creates a new `basePayload`. /// /// - Parameters: @@ -6023,9 +4354,9 @@ public enum Components { public init( label: Swift.String, ref: Swift.String, - repo: Components.Schemas.pull_hyphen_request.basePayload.repoPayload, + repo: Components.Schemas.repository, sha: Swift.String, - user: Components.Schemas.pull_hyphen_request.basePayload.userPayload + user: Components.Schemas.simple_hyphen_user ) { self.label = label self.ref = ref From 6fa30e3281dc848556411ae96918ecf5a9b7de9b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 28 Oct 2024 21:57:38 +0000 Subject: [PATCH 6/8] Commit via running ake Sources/repos --- Sources/repos/Types.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/repos/Types.swift b/Sources/repos/Types.swift index ec0d084fe0f..2491f48000d 100644 --- a/Sources/repos/Types.swift +++ b/Sources/repos/Types.swift @@ -42838,7 +42838,7 @@ public enum Operations { /// /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/dispatches/POST/requestBody/json/event_type`. public var event_type: Swift.String - /// JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. + /// JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB. /// /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/dispatches/POST/requestBody/json/client_payload`. public struct client_payloadPayload: Codable, Hashable, Sendable { @@ -42858,7 +42858,7 @@ public enum Operations { try encoder.encodeAdditionalProperties(additionalProperties) } } - /// JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. + /// JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB. /// /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/dispatches/POST/requestBody/json/client_payload`. public var client_payload: Operations.repos_sol_create_hyphen_dispatch_hyphen_event.Input.Body.jsonPayload.client_payloadPayload? @@ -42866,7 +42866,7 @@ public enum Operations { /// /// - Parameters: /// - event_type: A custom webhook event name. Must be 100 characters or fewer. - /// - client_payload: JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. + /// - client_payload: JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB. public init( event_type: Swift.String, client_payload: Operations.repos_sol_create_hyphen_dispatch_hyphen_event.Input.Body.jsonPayload.client_payloadPayload? = nil From e0489a5c04c5b135ae5cc4edc389448f474acd73 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 28 Oct 2024 21:58:20 +0000 Subject: [PATCH 7/8] Commit via running ake Sources/secret-scanning --- Sources/secret-scanning/Client.swift | 42 +++++++++++++ Sources/secret-scanning/Types.swift | 92 ++++++++++++++++++++++++++-- 2 files changed, 129 insertions(+), 5 deletions(-) diff --git a/Sources/secret-scanning/Client.swift b/Sources/secret-scanning/Client.swift index c66162b2ebb..e64a11ba3b0 100644 --- a/Sources/secret-scanning/Client.swift +++ b/Sources/secret-scanning/Client.swift @@ -129,6 +129,20 @@ public struct Client: APIProtocol { name: "validity", value: input.query.validity ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "is_publicly_leaked", + value: input.query.is_publicly_leaked + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "is_multi_repo", + value: input.query.is_multi_repo + ) converter.setAcceptHeader( in: &request.headerFields, contentTypes: input.headers.accept @@ -319,6 +333,20 @@ public struct Client: APIProtocol { name: "validity", value: input.query.validity ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "is_publicly_leaked", + value: input.query.is_publicly_leaked + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "is_multi_repo", + value: input.query.is_multi_repo + ) converter.setAcceptHeader( in: &request.headerFields, contentTypes: input.headers.accept @@ -510,6 +538,20 @@ public struct Client: APIProtocol { name: "validity", value: input.query.validity ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "is_publicly_leaked", + value: input.query.is_publicly_leaked + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "is_multi_repo", + value: input.query.is_multi_repo + ) converter.setAcceptHeader( in: &request.headerFields, contentTypes: input.headers.accept diff --git a/Sources/secret-scanning/Types.swift b/Sources/secret-scanning/Types.swift index 704e1b0ddb9..87ebbd97553 100644 --- a/Sources/secret-scanning/Types.swift +++ b/Sources/secret-scanning/Types.swift @@ -1066,6 +1066,14 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/organization-secret-scanning-alert/validity`. public var validity: Components.Schemas.organization_hyphen_secret_hyphen_scanning_hyphen_alert.validityPayload? + /// Whether the secret was publicly leaked. + /// + /// - Remark: Generated from `#/components/schemas/organization-secret-scanning-alert/publicly_leaked`. + public var publicly_leaked: Swift.Bool? + /// Whether the detected secret was found in multiple repositories in the same organization or enterprise. + /// + /// - Remark: Generated from `#/components/schemas/organization-secret-scanning-alert/multi_repo`. + public var multi_repo: Swift.Bool? /// Creates a new `organization_hyphen_secret_hyphen_scanning_hyphen_alert`. /// /// - Parameters: @@ -1088,6 +1096,8 @@ public enum Components { /// - push_protection_bypassed_at: The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. /// - 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. + /// - multi_repo: Whether the detected secret was found in multiple repositories in the same organization or enterprise. public init( number: Components.Schemas.alert_hyphen_number? = nil, created_at: Components.Schemas.alert_hyphen_created_hyphen_at? = nil, @@ -1107,7 +1117,9 @@ public enum Components { push_protection_bypassed_by: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, push_protection_bypassed_at: Foundation.Date? = nil, resolution_comment: Swift.String? = nil, - validity: Components.Schemas.organization_hyphen_secret_hyphen_scanning_hyphen_alert.validityPayload? = nil + validity: Components.Schemas.organization_hyphen_secret_hyphen_scanning_hyphen_alert.validityPayload? = nil, + publicly_leaked: Swift.Bool? = nil, + multi_repo: Swift.Bool? = nil ) { self.number = number self.created_at = created_at @@ -1128,6 +1140,8 @@ public enum Components { self.push_protection_bypassed_at = push_protection_bypassed_at self.resolution_comment = resolution_comment self.validity = validity + self.publicly_leaked = publicly_leaked + self.multi_repo = multi_repo } public enum CodingKeys: String, CodingKey { case number @@ -1149,6 +1163,8 @@ public enum Components { case push_protection_bypassed_at case resolution_comment case validity + case publicly_leaked + case multi_repo } } /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -1220,6 +1236,14 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/secret-scanning-alert/validity`. public var validity: Components.Schemas.secret_hyphen_scanning_hyphen_alert.validityPayload? + /// Whether the detected secret was publicly leaked. + /// + /// - Remark: Generated from `#/components/schemas/secret-scanning-alert/publicly_leaked`. + public var publicly_leaked: Swift.Bool? + /// Whether the detected secret was found in multiple repositories under the same organization or enterprise. + /// + /// - Remark: Generated from `#/components/schemas/secret-scanning-alert/multi_repo`. + public var multi_repo: Swift.Bool? /// Creates a new `secret_hyphen_scanning_hyphen_alert`. /// /// - Parameters: @@ -1241,6 +1265,8 @@ public enum Components { /// - push_protection_bypassed_by: /// - push_protection_bypassed_at: The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. /// - 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. public init( number: Components.Schemas.alert_hyphen_number? = nil, created_at: Components.Schemas.alert_hyphen_created_hyphen_at? = nil, @@ -1259,7 +1285,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, - validity: Components.Schemas.secret_hyphen_scanning_hyphen_alert.validityPayload? = nil + validity: Components.Schemas.secret_hyphen_scanning_hyphen_alert.validityPayload? = nil, + publicly_leaked: Swift.Bool? = nil, + multi_repo: Swift.Bool? = nil ) { self.number = number self.created_at = created_at @@ -1279,6 +1307,8 @@ public enum Components { self.push_protection_bypassed_by = push_protection_bypassed_by self.push_protection_bypassed_at = push_protection_bypassed_at self.validity = validity + self.publicly_leaked = publicly_leaked + self.multi_repo = multi_repo } public enum CodingKeys: String, CodingKey { case number @@ -1299,6 +1329,8 @@ public enum Components { case push_protection_bypassed_by case push_protection_bypassed_at case validity + case publicly_leaked + case multi_repo } } /// An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -1971,6 +2003,14 @@ public enum Components { /// /// - Remark: Generated from `#/components/parameters/secret-scanning-alert-validity`. public typealias secret_hyphen_scanning_hyphen_alert_hyphen_validity = Swift.String + /// A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. + /// + /// - Remark: Generated from `#/components/parameters/secret-scanning-alert-publicly-leaked`. + public typealias secret_hyphen_scanning_hyphen_alert_hyphen_publicly_hyphen_leaked = Swift.Bool + /// A boolean value representing whether or not to filter alerts by the multi-repo tag being present. + /// + /// - Remark: Generated from `#/components/parameters/secret-scanning-alert-multi-repo`. + public typealias secret_hyphen_scanning_hyphen_alert_hyphen_multi_hyphen_repo = Swift.Bool /// The account owner of the repository. The name is not case sensitive. /// /// - Remark: Generated from `#/components/parameters/owner`. @@ -2184,6 +2224,14 @@ public enum Operations { /// /// - Remark: Generated from `#/paths/enterprises/{enterprise}/secret-scanning/alerts/GET/query/validity`. public var validity: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_validity? + /// A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. + /// + /// - Remark: Generated from `#/paths/enterprises/{enterprise}/secret-scanning/alerts/GET/query/is_publicly_leaked`. + public var is_publicly_leaked: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_publicly_hyphen_leaked? + /// A boolean value representing whether or not to filter alerts by the multi-repo tag being present. + /// + /// - Remark: Generated from `#/paths/enterprises/{enterprise}/secret-scanning/alerts/GET/query/is_multi_repo`. + public var is_multi_repo: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_multi_hyphen_repo? /// Creates a new `Query`. /// /// - Parameters: @@ -2196,6 +2244,8 @@ public enum Operations { /// - before: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. 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)." /// - after: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. 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)." /// - validity: A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. + /// - is_publicly_leaked: A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. + /// - is_multi_repo: A boolean value representing whether or not to filter alerts by the multi-repo tag being present. public init( state: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_state? = nil, secret_type: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_secret_hyphen_type? = nil, @@ -2205,7 +2255,9 @@ public enum Operations { per_page: Components.Parameters.per_hyphen_page? = nil, before: Components.Parameters.pagination_hyphen_before? = nil, after: Components.Parameters.pagination_hyphen_after? = nil, - validity: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_validity? = nil + validity: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_validity? = nil, + is_publicly_leaked: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_publicly_hyphen_leaked? = nil, + is_multi_repo: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_multi_hyphen_repo? = nil ) { self.state = state self.secret_type = secret_type @@ -2216,6 +2268,8 @@ public enum Operations { self.before = before self.after = after self.validity = validity + self.is_publicly_leaked = is_publicly_leaked + self.is_multi_repo = is_multi_repo } } public var query: Operations.secret_hyphen_scanning_sol_list_hyphen_alerts_hyphen_for_hyphen_enterprise.Input.Query @@ -2482,6 +2536,14 @@ public enum Operations { /// /// - Remark: Generated from `#/paths/orgs/{org}/secret-scanning/alerts/GET/query/validity`. public var validity: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_validity? + /// A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. + /// + /// - Remark: Generated from `#/paths/orgs/{org}/secret-scanning/alerts/GET/query/is_publicly_leaked`. + public var is_publicly_leaked: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_publicly_hyphen_leaked? + /// A boolean value representing whether or not to filter alerts by the multi-repo tag being present. + /// + /// - Remark: Generated from `#/paths/orgs/{org}/secret-scanning/alerts/GET/query/is_multi_repo`. + public var is_multi_repo: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_multi_hyphen_repo? /// Creates a new `Query`. /// /// - Parameters: @@ -2495,6 +2557,8 @@ public enum Operations { /// - before: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty "before" query string. /// - after: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty "after" query string. /// - validity: A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. + /// - is_publicly_leaked: A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. + /// - is_multi_repo: A boolean value representing whether or not to filter alerts by the multi-repo tag being present. public init( state: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_state? = nil, secret_type: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_secret_hyphen_type? = nil, @@ -2505,7 +2569,9 @@ public enum Operations { per_page: Components.Parameters.per_hyphen_page? = nil, before: Components.Parameters.secret_hyphen_scanning_hyphen_pagination_hyphen_before_hyphen_org_hyphen_repo? = nil, after: Components.Parameters.secret_hyphen_scanning_hyphen_pagination_hyphen_after_hyphen_org_hyphen_repo? = nil, - validity: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_validity? = nil + validity: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_validity? = nil, + is_publicly_leaked: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_publicly_hyphen_leaked? = nil, + is_multi_repo: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_multi_hyphen_repo? = nil ) { self.state = state self.secret_type = secret_type @@ -2517,6 +2583,8 @@ public enum Operations { self.before = before self.after = after self.validity = validity + self.is_publicly_leaked = is_publicly_leaked + self.is_multi_repo = is_multi_repo } } public var query: Operations.secret_hyphen_scanning_sol_list_hyphen_alerts_hyphen_for_hyphen_org.Input.Query @@ -2792,6 +2860,14 @@ public enum Operations { /// /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/secret-scanning/alerts/GET/query/validity`. public var validity: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_validity? + /// A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. + /// + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/secret-scanning/alerts/GET/query/is_publicly_leaked`. + public var is_publicly_leaked: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_publicly_hyphen_leaked? + /// A boolean value representing whether or not to filter alerts by the multi-repo tag being present. + /// + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/secret-scanning/alerts/GET/query/is_multi_repo`. + public var is_multi_repo: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_multi_hyphen_repo? /// Creates a new `Query`. /// /// - Parameters: @@ -2805,6 +2881,8 @@ public enum Operations { /// - before: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty "before" query string. /// - after: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty "after" query string. /// - validity: A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. + /// - is_publicly_leaked: A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. + /// - is_multi_repo: A boolean value representing whether or not to filter alerts by the multi-repo tag being present. public init( state: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_state? = nil, secret_type: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_secret_hyphen_type? = nil, @@ -2815,7 +2893,9 @@ public enum Operations { per_page: Components.Parameters.per_hyphen_page? = nil, before: Components.Parameters.secret_hyphen_scanning_hyphen_pagination_hyphen_before_hyphen_org_hyphen_repo? = nil, after: Components.Parameters.secret_hyphen_scanning_hyphen_pagination_hyphen_after_hyphen_org_hyphen_repo? = nil, - validity: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_validity? = nil + validity: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_validity? = nil, + is_publicly_leaked: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_publicly_hyphen_leaked? = nil, + is_multi_repo: Components.Parameters.secret_hyphen_scanning_hyphen_alert_hyphen_multi_hyphen_repo? = nil ) { self.state = state self.secret_type = secret_type @@ -2827,6 +2907,8 @@ public enum Operations { self.before = before self.after = after self.validity = validity + self.is_publicly_leaked = is_publicly_leaked + self.is_multi_repo = is_multi_repo } } public var query: Operations.secret_hyphen_scanning_sol_list_hyphen_alerts_hyphen_for_hyphen_repo.Input.Query From 5e2b972aafdb4ebbf9700a52a466330320846b53 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 28 Oct 2024 22:01:49 +0000 Subject: [PATCH 8/8] Commit via running ake Sources/code-security --- Sources/code-security/Types.swift | 264 ++++++++++++++++++++++++++++++ 1 file changed, 264 insertions(+) diff --git a/Sources/code-security/Types.swift b/Sources/code-security/Types.swift index 41b8a18cd9d..488a692044a 100644 --- a/Sources/code-security/Types.swift +++ b/Sources/code-security/Types.swift @@ -1145,6 +1145,79 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_push_protection`. public var secret_scanning_push_protection: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_push_protectionPayload? + /// The enablement status of secret scanning delegated bypass + /// + /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_delegated_bypass`. + @frozen public enum secret_scanning_delegated_bypassPayload: String, Codable, Hashable, Sendable { + case enabled = "enabled" + case disabled = "disabled" + case not_set = "not_set" + } + /// The enablement status of secret scanning delegated bypass + /// + /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_delegated_bypass`. + public var secret_scanning_delegated_bypass: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_delegated_bypassPayload? + /// Feature options for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_delegated_bypass_options`. + public struct secret_scanning_delegated_bypass_optionsPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_delegated_bypass_options/reviewersPayload`. + public struct reviewersPayloadPayload: Codable, Hashable, Sendable { + /// The ID of the team or role selected as a bypass reviewer + /// + /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_delegated_bypass_options/reviewersPayload/reviewer_id`. + public var reviewer_id: Swift.Int + /// The type of the bypass reviewer + /// + /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_delegated_bypass_options/reviewersPayload/reviewer_type`. + @frozen public enum reviewer_typePayload: String, Codable, Hashable, Sendable { + case TEAM = "TEAM" + case ROLE = "ROLE" + } + /// The type of the bypass reviewer + /// + /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_delegated_bypass_options/reviewersPayload/reviewer_type`. + public var reviewer_type: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_delegated_bypass_optionsPayload.reviewersPayloadPayload.reviewer_typePayload + /// Creates a new `reviewersPayloadPayload`. + /// + /// - Parameters: + /// - reviewer_id: The ID of the team or role selected as a bypass reviewer + /// - reviewer_type: The type of the bypass reviewer + public init( + reviewer_id: Swift.Int, + reviewer_type: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_delegated_bypass_optionsPayload.reviewersPayloadPayload.reviewer_typePayload + ) { + self.reviewer_id = reviewer_id + self.reviewer_type = reviewer_type + } + public enum CodingKeys: String, CodingKey { + case reviewer_id + case reviewer_type + } + } + /// The bypass reviewers for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_delegated_bypass_options/reviewers`. + public typealias reviewersPayload = [Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_delegated_bypass_optionsPayload.reviewersPayloadPayload] + /// The bypass reviewers for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_delegated_bypass_options/reviewers`. + public var reviewers: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_delegated_bypass_optionsPayload.reviewersPayload? + /// Creates a new `secret_scanning_delegated_bypass_optionsPayload`. + /// + /// - Parameters: + /// - reviewers: The bypass reviewers for secret scanning delegated bypass + public init(reviewers: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_delegated_bypass_optionsPayload.reviewersPayload? = nil) { + self.reviewers = reviewers + } + public enum CodingKeys: String, CodingKey { + case reviewers + } + } + /// Feature options for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_delegated_bypass_options`. + public var secret_scanning_delegated_bypass_options: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_delegated_bypass_optionsPayload? /// The enablement status of secret scanning validity checks /// /// - Remark: Generated from `#/components/schemas/code-security-configuration/secret_scanning_validity_checks`. @@ -1220,6 +1293,8 @@ public enum Components { /// - code_scanning_default_setup: The enablement status of code scanning default setup /// - secret_scanning: The enablement status of secret scanning /// - secret_scanning_push_protection: The enablement status of secret scanning push protection + /// - secret_scanning_delegated_bypass: The enablement status of secret scanning delegated bypass + /// - secret_scanning_delegated_bypass_options: Feature options for secret scanning delegated bypass /// - secret_scanning_validity_checks: The enablement status of secret scanning validity checks /// - secret_scanning_non_provider_patterns: The enablement status of secret scanning non-provider patterns /// - private_vulnerability_reporting: The enablement status of private vulnerability reporting @@ -1242,6 +1317,8 @@ public enum Components { code_scanning_default_setup: Components.Schemas.code_hyphen_security_hyphen_configuration.code_scanning_default_setupPayload? = nil, secret_scanning: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanningPayload? = nil, secret_scanning_push_protection: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_push_protectionPayload? = nil, + secret_scanning_delegated_bypass: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_delegated_bypassPayload? = nil, + secret_scanning_delegated_bypass_options: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_delegated_bypass_optionsPayload? = nil, secret_scanning_validity_checks: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_validity_checksPayload? = nil, secret_scanning_non_provider_patterns: Components.Schemas.code_hyphen_security_hyphen_configuration.secret_scanning_non_provider_patternsPayload? = nil, private_vulnerability_reporting: Components.Schemas.code_hyphen_security_hyphen_configuration.private_vulnerability_reportingPayload? = nil, @@ -1264,6 +1341,8 @@ public enum Components { self.code_scanning_default_setup = code_scanning_default_setup self.secret_scanning = secret_scanning self.secret_scanning_push_protection = secret_scanning_push_protection + self.secret_scanning_delegated_bypass = secret_scanning_delegated_bypass + self.secret_scanning_delegated_bypass_options = secret_scanning_delegated_bypass_options self.secret_scanning_validity_checks = secret_scanning_validity_checks self.secret_scanning_non_provider_patterns = secret_scanning_non_provider_patterns self.private_vulnerability_reporting = private_vulnerability_reporting @@ -1287,6 +1366,8 @@ public enum Components { case code_scanning_default_setup case secret_scanning case secret_scanning_push_protection + case secret_scanning_delegated_bypass + case secret_scanning_delegated_bypass_options case secret_scanning_validity_checks case secret_scanning_non_provider_patterns case private_vulnerability_reporting @@ -2015,6 +2096,79 @@ public enum Operations { /// /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_push_protection`. public var secret_scanning_push_protection: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_push_protectionPayload? + /// The enablement status of secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_delegated_bypass`. + @frozen public enum secret_scanning_delegated_bypassPayload: String, Codable, Hashable, Sendable { + case enabled = "enabled" + case disabled = "disabled" + case not_set = "not_set" + } + /// The enablement status of secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_delegated_bypass`. + public var secret_scanning_delegated_bypass: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypassPayload? + /// Feature options for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_delegated_bypass_options`. + public struct secret_scanning_delegated_bypass_optionsPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_delegated_bypass_options/reviewersPayload`. + public struct reviewersPayloadPayload: Codable, Hashable, Sendable { + /// The ID of the team or role selected as a bypass reviewer + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_delegated_bypass_options/reviewersPayload/reviewer_id`. + public var reviewer_id: Swift.Int + /// The type of the bypass reviewer + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_delegated_bypass_options/reviewersPayload/reviewer_type`. + @frozen public enum reviewer_typePayload: String, Codable, Hashable, Sendable { + case TEAM = "TEAM" + case ROLE = "ROLE" + } + /// The type of the bypass reviewer + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_delegated_bypass_options/reviewersPayload/reviewer_type`. + public var reviewer_type: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.reviewersPayloadPayload.reviewer_typePayload + /// Creates a new `reviewersPayloadPayload`. + /// + /// - Parameters: + /// - reviewer_id: The ID of the team or role selected as a bypass reviewer + /// - reviewer_type: The type of the bypass reviewer + public init( + reviewer_id: Swift.Int, + reviewer_type: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.reviewersPayloadPayload.reviewer_typePayload + ) { + self.reviewer_id = reviewer_id + self.reviewer_type = reviewer_type + } + public enum CodingKeys: String, CodingKey { + case reviewer_id + case reviewer_type + } + } + /// The bypass reviewers for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_delegated_bypass_options/reviewers`. + public typealias reviewersPayload = [Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.reviewersPayloadPayload] + /// The bypass reviewers for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_delegated_bypass_options/reviewers`. + public var reviewers: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.reviewersPayload? + /// Creates a new `secret_scanning_delegated_bypass_optionsPayload`. + /// + /// - Parameters: + /// - reviewers: The bypass reviewers for secret scanning delegated bypass + public init(reviewers: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.reviewersPayload? = nil) { + self.reviewers = reviewers + } + public enum CodingKeys: String, CodingKey { + case reviewers + } + } + /// Feature options for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_delegated_bypass_options`. + public var secret_scanning_delegated_bypass_options: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload? /// The enablement status of secret scanning validity checks /// /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/POST/requestBody/json/secret_scanning_validity_checks`. @@ -2076,6 +2230,8 @@ public enum Operations { /// - code_scanning_default_setup: The enablement status of code scanning default setup /// - secret_scanning: The enablement status of secret scanning /// - secret_scanning_push_protection: The enablement status of secret scanning push protection + /// - secret_scanning_delegated_bypass: The enablement status of secret scanning delegated bypass + /// - secret_scanning_delegated_bypass_options: Feature options for secret scanning delegated bypass /// - secret_scanning_validity_checks: The enablement status of secret scanning validity checks /// - secret_scanning_non_provider_patterns: The enablement status of secret scanning non provider patterns /// - private_vulnerability_reporting: The enablement status of private vulnerability reporting @@ -2092,6 +2248,8 @@ public enum Operations { code_scanning_default_setup: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.code_scanning_default_setupPayload? = nil, secret_scanning: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanningPayload? = nil, secret_scanning_push_protection: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_push_protectionPayload? = nil, + secret_scanning_delegated_bypass: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypassPayload? = nil, + secret_scanning_delegated_bypass_options: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload? = nil, secret_scanning_validity_checks: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_validity_checksPayload? = nil, secret_scanning_non_provider_patterns: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_non_provider_patternsPayload? = nil, private_vulnerability_reporting: Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.private_vulnerability_reportingPayload? = nil, @@ -2108,6 +2266,8 @@ public enum Operations { self.code_scanning_default_setup = code_scanning_default_setup self.secret_scanning = secret_scanning self.secret_scanning_push_protection = secret_scanning_push_protection + self.secret_scanning_delegated_bypass = secret_scanning_delegated_bypass + self.secret_scanning_delegated_bypass_options = secret_scanning_delegated_bypass_options self.secret_scanning_validity_checks = secret_scanning_validity_checks self.secret_scanning_non_provider_patterns = secret_scanning_non_provider_patterns self.private_vulnerability_reporting = private_vulnerability_reporting @@ -2125,6 +2285,8 @@ public enum Operations { case code_scanning_default_setup case secret_scanning case secret_scanning_push_protection + case secret_scanning_delegated_bypass + case secret_scanning_delegated_bypass_options case secret_scanning_validity_checks case secret_scanning_non_provider_patterns case private_vulnerability_reporting @@ -2176,6 +2338,14 @@ public enum Operations { Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_push_protectionPayload.self, forKey: .secret_scanning_push_protection ) + secret_scanning_delegated_bypass = try container.decodeIfPresent( + Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypassPayload.self, + forKey: .secret_scanning_delegated_bypass + ) + secret_scanning_delegated_bypass_options = try container.decodeIfPresent( + Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.self, + forKey: .secret_scanning_delegated_bypass_options + ) secret_scanning_validity_checks = try container.decodeIfPresent( Operations.code_hyphen_security_sol_create_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_validity_checksPayload.self, forKey: .secret_scanning_validity_checks @@ -2204,6 +2374,8 @@ public enum Operations { "code_scanning_default_setup", "secret_scanning", "secret_scanning_push_protection", + "secret_scanning_delegated_bypass", + "secret_scanning_delegated_bypass_options", "secret_scanning_validity_checks", "secret_scanning_non_provider_patterns", "private_vulnerability_reporting", @@ -3155,6 +3327,79 @@ public enum Operations { /// /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_push_protection`. public var secret_scanning_push_protection: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_push_protectionPayload? + /// The enablement status of secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_delegated_bypass`. + @frozen public enum secret_scanning_delegated_bypassPayload: String, Codable, Hashable, Sendable { + case enabled = "enabled" + case disabled = "disabled" + case not_set = "not_set" + } + /// The enablement status of secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_delegated_bypass`. + public var secret_scanning_delegated_bypass: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypassPayload? + /// Feature options for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_delegated_bypass_options`. + public struct secret_scanning_delegated_bypass_optionsPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_delegated_bypass_options/reviewersPayload`. + public struct reviewersPayloadPayload: Codable, Hashable, Sendable { + /// The ID of the team or role selected as a bypass reviewer + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_delegated_bypass_options/reviewersPayload/reviewer_id`. + public var reviewer_id: Swift.Int + /// The type of the bypass reviewer + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_delegated_bypass_options/reviewersPayload/reviewer_type`. + @frozen public enum reviewer_typePayload: String, Codable, Hashable, Sendable { + case TEAM = "TEAM" + case ROLE = "ROLE" + } + /// The type of the bypass reviewer + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_delegated_bypass_options/reviewersPayload/reviewer_type`. + public var reviewer_type: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.reviewersPayloadPayload.reviewer_typePayload + /// Creates a new `reviewersPayloadPayload`. + /// + /// - Parameters: + /// - reviewer_id: The ID of the team or role selected as a bypass reviewer + /// - reviewer_type: The type of the bypass reviewer + public init( + reviewer_id: Swift.Int, + reviewer_type: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.reviewersPayloadPayload.reviewer_typePayload + ) { + self.reviewer_id = reviewer_id + self.reviewer_type = reviewer_type + } + public enum CodingKeys: String, CodingKey { + case reviewer_id + case reviewer_type + } + } + /// The bypass reviewers for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_delegated_bypass_options/reviewers`. + public typealias reviewersPayload = [Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.reviewersPayloadPayload] + /// The bypass reviewers for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_delegated_bypass_options/reviewers`. + public var reviewers: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.reviewersPayload? + /// Creates a new `secret_scanning_delegated_bypass_optionsPayload`. + /// + /// - Parameters: + /// - reviewers: The bypass reviewers for secret scanning delegated bypass + public init(reviewers: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.reviewersPayload? = nil) { + self.reviewers = reviewers + } + public enum CodingKeys: String, CodingKey { + case reviewers + } + } + /// Feature options for secret scanning delegated bypass + /// + /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_delegated_bypass_options`. + public var secret_scanning_delegated_bypass_options: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload? /// The enablement status of secret scanning validity checks /// /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/PATCH/requestBody/json/secret_scanning_validity_checks`. @@ -3216,6 +3461,8 @@ public enum Operations { /// - code_scanning_default_setup: The enablement status of code scanning default setup /// - secret_scanning: The enablement status of secret scanning /// - secret_scanning_push_protection: The enablement status of secret scanning push protection + /// - secret_scanning_delegated_bypass: The enablement status of secret scanning delegated bypass + /// - secret_scanning_delegated_bypass_options: Feature options for secret scanning delegated bypass /// - secret_scanning_validity_checks: The enablement status of secret scanning validity checks /// - secret_scanning_non_provider_patterns: The enablement status of secret scanning non-provider patterns /// - private_vulnerability_reporting: The enablement status of private vulnerability reporting @@ -3232,6 +3479,8 @@ public enum Operations { code_scanning_default_setup: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.code_scanning_default_setupPayload? = nil, secret_scanning: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanningPayload? = nil, secret_scanning_push_protection: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_push_protectionPayload? = nil, + secret_scanning_delegated_bypass: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypassPayload? = nil, + secret_scanning_delegated_bypass_options: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload? = nil, secret_scanning_validity_checks: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_validity_checksPayload? = nil, secret_scanning_non_provider_patterns: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_non_provider_patternsPayload? = nil, private_vulnerability_reporting: Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.private_vulnerability_reportingPayload? = nil, @@ -3248,6 +3497,8 @@ public enum Operations { self.code_scanning_default_setup = code_scanning_default_setup self.secret_scanning = secret_scanning self.secret_scanning_push_protection = secret_scanning_push_protection + self.secret_scanning_delegated_bypass = secret_scanning_delegated_bypass + self.secret_scanning_delegated_bypass_options = secret_scanning_delegated_bypass_options self.secret_scanning_validity_checks = secret_scanning_validity_checks self.secret_scanning_non_provider_patterns = secret_scanning_non_provider_patterns self.private_vulnerability_reporting = private_vulnerability_reporting @@ -3265,6 +3516,8 @@ public enum Operations { case code_scanning_default_setup case secret_scanning case secret_scanning_push_protection + case secret_scanning_delegated_bypass + case secret_scanning_delegated_bypass_options case secret_scanning_validity_checks case secret_scanning_non_provider_patterns case private_vulnerability_reporting @@ -3316,6 +3569,14 @@ public enum Operations { Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_push_protectionPayload.self, forKey: .secret_scanning_push_protection ) + secret_scanning_delegated_bypass = try container.decodeIfPresent( + Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypassPayload.self, + forKey: .secret_scanning_delegated_bypass + ) + secret_scanning_delegated_bypass_options = try container.decodeIfPresent( + Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_delegated_bypass_optionsPayload.self, + forKey: .secret_scanning_delegated_bypass_options + ) secret_scanning_validity_checks = try container.decodeIfPresent( Operations.code_hyphen_security_sol_update_hyphen_configuration.Input.Body.jsonPayload.secret_scanning_validity_checksPayload.self, forKey: .secret_scanning_validity_checks @@ -3344,6 +3605,8 @@ public enum Operations { "code_scanning_default_setup", "secret_scanning", "secret_scanning_push_protection", + "secret_scanning_delegated_bypass", + "secret_scanning_delegated_bypass_options", "secret_scanning_validity_checks", "secret_scanning_non_provider_patterns", "private_vulnerability_reporting", @@ -3758,6 +4021,7 @@ public enum Operations { /// - Remark: Generated from `#/paths/orgs/{org}/code-security/configurations/{configuration_id}/attach/POST/requestBody/json/scope`. @frozen public enum scopePayload: String, Codable, Hashable, Sendable { case all = "all" + case all_without_configurations = "all_without_configurations" case _public = "public" case private_or_internal = "private_or_internal" case selected = "selected"