diff --git a/Sources/actions/Types.swift b/Sources/actions/Types.swift index 4d3a759df6e..909635049d0 100644 --- a/Sources/actions/Types.swift +++ b/Sources/actions/Types.swift @@ -4180,7 +4180,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -4623,7 +4623,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -5558,7 +5558,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/minimal-repository`. public struct minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/minimal-repository/name`. @@ -5906,7 +5906,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/activity/Types.swift b/Sources/activity/Types.swift index 3e5255f0d1e..34219d0ef17 100644 --- a/Sources/activity/Types.swift +++ b/Sources/activity/Types.swift @@ -1307,7 +1307,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -1750,7 +1750,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -3523,7 +3523,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/minimal-repository`. public struct minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/minimal-repository/name`. @@ -3871,7 +3871,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/apps/Types.swift b/Sources/apps/Types.swift index c9a3dab8d19..a64544bb888 100644 --- a/Sources/apps/Types.swift +++ b/Sources/apps/Types.swift @@ -3317,7 +3317,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -3760,7 +3760,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/checks/Types.swift b/Sources/checks/Types.swift index 2956d736c03..1060b596e65 100644 --- a/Sources/checks/Types.swift +++ b/Sources/checks/Types.swift @@ -1116,7 +1116,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/minimal-repository`. public struct minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/minimal-repository/name`. @@ -1464,7 +1464,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/code-scanning/Types.swift b/Sources/code-scanning/Types.swift index 00afa6db1fc..79c78d33f2a 100644 --- a/Sources/code-scanning/Types.swift +++ b/Sources/code-scanning/Types.swift @@ -1156,7 +1156,7 @@ public enum Components { /// A unique identifier of the repository. /// /// - Remark: Generated from `#/components/schemas/simple-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// The GraphQL identifier of the repository. /// /// - Remark: Generated from `#/components/schemas/simple-repository/node_id`. @@ -1385,7 +1385,7 @@ public enum Components { /// - trees_url: A template for the API URL to create or retrieve a raw Git tree of the repository. /// - hooks_url: The API URL to list the hooks on the repository. public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/code-security/Types.swift b/Sources/code-security/Types.swift index 201de6dcb2c..4f3dec2e9da 100644 --- a/Sources/code-security/Types.swift +++ b/Sources/code-security/Types.swift @@ -557,7 +557,7 @@ public enum Components { /// A unique identifier of the repository. /// /// - Remark: Generated from `#/components/schemas/simple-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// The GraphQL identifier of the repository. /// /// - Remark: Generated from `#/components/schemas/simple-repository/node_id`. @@ -786,7 +786,7 @@ public enum Components { /// - trees_url: A template for the API URL to create or retrieve a raw Git tree of the repository. /// - hooks_url: The API URL to list the hooks on the repository. public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/codespaces/Types.swift b/Sources/codespaces/Types.swift index 4125d00aaa0..a8a344dfdbd 100644 --- a/Sources/codespaces/Types.swift +++ b/Sources/codespaces/Types.swift @@ -1948,7 +1948,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -2391,7 +2391,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -2852,7 +2852,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/minimal-repository`. public struct minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/minimal-repository/name`. @@ -3200,7 +3200,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -3558,7 +3558,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/codespace`. public struct codespace: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/codespace/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// Automatically generated name of this codespace. /// /// - Remark: Generated from `#/components/schemas/codespace/name`. @@ -3804,7 +3804,7 @@ public enum Components { /// - retention_expires_at: When a codespace will be auto-deleted based on the "retention_period_minutes" and "last_used_at" /// - last_known_stop_notice: The text to display to a user when a codespace has been stopped for a potentially actionable reason. public init( - id: Swift.Int, + id: Swift.Int64, name: Swift.String, display_name: Swift.String? = nil, environment_id: Swift.String? = nil, @@ -4026,7 +4026,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/nullable-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/nullable-repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -4469,7 +4469,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -4801,7 +4801,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/full-repository`. public struct full_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/full-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/full-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/full-repository/name`. @@ -5250,7 +5250,7 @@ public enum Components { /// - security_and_analysis: /// - custom_properties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -5857,7 +5857,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/codespace-with-full-repository`. public struct codespace_hyphen_with_hyphen_full_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/codespace-with-full-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// Automatically generated name of this codespace. /// /// - Remark: Generated from `#/components/schemas/codespace-with-full-repository/name`. @@ -6098,7 +6098,7 @@ public enum Components { /// - retention_period_minutes: Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days). /// - retention_expires_at: When a codespace will be auto-deleted based on the "retention_period_minutes" and "last_used_at" public init( - id: Swift.Int, + id: Swift.Int64, name: Swift.String, display_name: Swift.String? = nil, environment_id: Swift.String? = nil, diff --git a/Sources/copilot/Client.swift b/Sources/copilot/Client.swift index 31653a9d1f6..8f654366a6f 100644 --- a/Sources/copilot/Client.swift +++ b/Sources/copilot/Client.swift @@ -768,6 +768,8 @@ public struct Client: APIProtocol { /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". /// + /// The response will contain the total number of new seats that were created and existing seats that were refreshed. + /// /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. /// /// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_teams`. @@ -1116,6 +1118,8 @@ public struct Client: APIProtocol { /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". /// + /// The response will contain the total number of new seats that were created and existing seats that were refreshed. + /// /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. /// /// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_users`. diff --git a/Sources/copilot/Types.swift b/Sources/copilot/Types.swift index d7fa045ffff..8bc31623a37 100644 --- a/Sources/copilot/Types.swift +++ b/Sources/copilot/Types.swift @@ -87,6 +87,8 @@ public protocol APIProtocol: Sendable { /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". /// + /// The response will contain the total number of new seats that were created and existing seats that were refreshed. + /// /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. /// /// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_teams`. @@ -123,6 +125,8 @@ public protocol APIProtocol: Sendable { /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". /// + /// The response will contain the total number of new seats that were created and existing seats that were refreshed. + /// /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. /// /// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_users`. @@ -296,6 +300,8 @@ extension APIProtocol { /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". /// + /// The response will contain the total number of new seats that were created and existing seats that were refreshed. + /// /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. /// /// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_teams`. @@ -352,6 +358,8 @@ extension APIProtocol { /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". /// + /// The response will contain the total number of new seats that were created and existing seats that were refreshed. + /// /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. /// /// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_users`. @@ -1218,7 +1226,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/enterprise-team`. public struct enterprise_hyphen_team: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/enterprise-team/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/enterprise-team/name`. public var name: Swift.String /// - Remark: Generated from `#/components/schemas/enterprise-team/slug`. @@ -1251,7 +1259,7 @@ public enum Components { /// - created_at: /// - updated_at: public init( - id: Swift.Int, + id: Swift.Int64, name: Swift.String, slug: Swift.String, url: Swift.String, @@ -3347,6 +3355,8 @@ public enum Operations { /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". /// + /// The response will contain the total number of new seats that were created and existing seats that were refreshed. + /// /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. /// /// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_teams`. @@ -3957,6 +3967,8 @@ public enum Operations { /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". /// + /// The response will contain the total number of new seats that were created and existing seats that were refreshed. + /// /// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. /// /// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_users`. diff --git a/Sources/dependabot/Types.swift b/Sources/dependabot/Types.swift index 498d649e404..0345e957af1 100644 --- a/Sources/dependabot/Types.swift +++ b/Sources/dependabot/Types.swift @@ -1554,7 +1554,7 @@ public enum Components { /// A unique identifier of the repository. /// /// - Remark: Generated from `#/components/schemas/simple-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// The GraphQL identifier of the repository. /// /// - Remark: Generated from `#/components/schemas/simple-repository/node_id`. @@ -1783,7 +1783,7 @@ public enum Components { /// - trees_url: A template for the API URL to create or retrieve a raw Git tree of the repository. /// - hooks_url: The API URL to list the hooks on the repository. public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -2317,7 +2317,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/minimal-repository`. public struct minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/minimal-repository/name`. @@ -2665,7 +2665,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/gists/Types.swift b/Sources/gists/Types.swift index 5a83c7f3781..b8015b40a01 100644 --- a/Sources/gists/Types.swift +++ b/Sources/gists/Types.swift @@ -1223,7 +1223,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/public-user/login`. public var login: Swift.String /// - Remark: Generated from `#/components/schemas/public-user/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/public-user/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/public-user/avatar_url`. @@ -1380,7 +1380,7 @@ public enum Components { /// - collaborators: public init( login: Swift.String, - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, avatar_url: Swift.String, gravatar_id: Swift.String? = nil, @@ -1510,7 +1510,7 @@ public enum Components { forKey: .login ) id = try container.decode( - Swift.Int.self, + Swift.Int64.self, forKey: .id ) node_id = try container.decode( diff --git a/Sources/issues/Types.swift b/Sources/issues/Types.swift index 9053cf95d88..07e0bd0ad91 100644 --- a/Sources/issues/Types.swift +++ b/Sources/issues/Types.swift @@ -1999,7 +1999,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -2442,7 +2442,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/migrations/Types.swift b/Sources/migrations/Types.swift index 1c59a69b657..3b6c5a8c62d 100644 --- a/Sources/migrations/Types.swift +++ b/Sources/migrations/Types.swift @@ -1257,7 +1257,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -1700,7 +1700,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -2161,7 +2161,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/minimal-repository`. public struct minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/minimal-repository/name`. @@ -2509,7 +2509,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -2780,7 +2780,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/migration`. public struct migration: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/migration/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/migration/owner`. public var owner: Components.Schemas.nullable_hyphen_simple_hyphen_user? /// - Remark: Generated from `#/components/schemas/migration/guid`. @@ -2841,7 +2841,7 @@ public enum Components { /// - archive_url: /// - exclude: Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `"repositories"`. public init( - id: Swift.Int, + id: Swift.Int64, owner: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, guid: Swift.String, state: Swift.String, diff --git a/Sources/orgs/Client.swift b/Sources/orgs/Client.swift index 1acbf63012e..d025132e07c 100644 --- a/Sources/orgs/Client.swift +++ b/Sources/orgs/Client.swift @@ -7145,8 +7145,6 @@ public struct Client: APIProtocol { switch response.status.code { case 204: return .noContent(.init()) - case 409: - return .conflict(.init()) default: return .undocumented( statusCode: response.status.code, diff --git a/Sources/orgs/Types.swift b/Sources/orgs/Types.swift index 0798809915a..7a3f4dc6f4c 100644 --- a/Sources/orgs/Types.swift +++ b/Sources/orgs/Types.swift @@ -4717,7 +4717,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/minimal-repository`. public struct minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/minimal-repository/name`. @@ -5065,7 +5065,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -5765,7 +5765,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/organization-invitation`. public struct organization_hyphen_invitation: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/organization-invitation/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/organization-invitation/login`. public var login: Swift.String? /// - Remark: Generated from `#/components/schemas/organization-invitation/email`. @@ -5804,7 +5804,7 @@ public enum Components { /// - invitation_teams_url: /// - invitation_source: public init( - id: Swift.Int, + id: Swift.Int64, login: Swift.String? = nil, email: Swift.String? = nil, role: Swift.String, @@ -21224,33 +21224,6 @@ public enum Operations { } } } - public struct Conflict: Sendable, Hashable { - /// Creates a new `Conflict`. - public init() {} - } - /// The organization has reached the maximum number of security manager teams. - /// - /// - Remark: Generated from `#/paths//orgs/{org}/security-managers/teams/{team_slug}/put(orgs/add-security-manager-team)/responses/409`. - /// - /// HTTP response code: `409 conflict`. - case conflict(Operations.orgs_sol_add_hyphen_security_hyphen_manager_hyphen_team.Output.Conflict) - /// The associated value of the enum case if `self` is `.conflict`. - /// - /// - Throws: An error if `self` is not `.conflict`. - /// - SeeAlso: `.conflict`. - public var conflict: Operations.orgs_sol_add_hyphen_security_hyphen_manager_hyphen_team.Output.Conflict { - get throws { - switch self { - case let .conflict(response): - return response - default: - try throwUnexpectedResponseStatus( - expectedStatus: "conflict", - response: self - ) - } - } - } /// Undocumented response. /// /// A response with a code that is not documented in the OpenAPI document. diff --git a/Sources/packages/Types.swift b/Sources/packages/Types.swift index af59e0c73a7..155b7d5360f 100644 --- a/Sources/packages/Types.swift +++ b/Sources/packages/Types.swift @@ -1311,7 +1311,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/nullable-minimal-repository`. public struct nullable_hyphen_minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/nullable-minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/nullable-minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/nullable-minimal-repository/name`. @@ -1659,7 +1659,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/projects/Types.swift b/Sources/projects/Types.swift index 6f3d4018056..1cb1cfdeb73 100644 --- a/Sources/projects/Types.swift +++ b/Sources/projects/Types.swift @@ -1215,7 +1215,7 @@ public enum Components { /// The project card's ID /// /// - Remark: Generated from `#/components/schemas/project-card/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/project-card/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/project-card/note`. @@ -1258,7 +1258,7 @@ public enum Components { /// - project_url: public init( url: Swift.String, - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, note: Swift.String? = nil, creator: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, diff --git a/Sources/pulls/Types.swift b/Sources/pulls/Types.swift index 657603697ca..b5ed2955722 100644 --- a/Sources/pulls/Types.swift +++ b/Sources/pulls/Types.swift @@ -1582,7 +1582,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -2025,7 +2025,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/repos/Types.swift b/Sources/repos/Types.swift index 318587e4263..0470ec86c92 100644 --- a/Sources/repos/Types.swift +++ b/Sources/repos/Types.swift @@ -7050,7 +7050,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -7493,7 +7493,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -8634,7 +8634,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/minimal-repository`. public struct minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/minimal-repository/name`. @@ -8982,7 +8982,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -9331,7 +9331,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/nullable-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/nullable-repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -9774,7 +9774,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -10106,7 +10106,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/full-repository`. public struct full_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/full-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/full-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/full-repository/name`. @@ -10555,7 +10555,7 @@ public enum Components { /// - security_and_analysis: /// - custom_properties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -15972,7 +15972,7 @@ public enum Components { /// Unique identifier of the repository invitation. /// /// - Remark: Generated from `#/components/schemas/repository-invitation/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository-invitation/repository`. public var repository: Components.Schemas.minimal_hyphen_repository /// - Remark: Generated from `#/components/schemas/repository-invitation/invitee`. @@ -16021,7 +16021,7 @@ public enum Components { /// - html_url: /// - node_id: public init( - id: Swift.Int, + id: Swift.Int64, repository: Components.Schemas.minimal_hyphen_repository, invitee: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, inviter: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil, diff --git a/Sources/search/Types.swift b/Sources/search/Types.swift index bc1a9f242c0..09ed2c2ba3b 100644 --- a/Sources/search/Types.swift +++ b/Sources/search/Types.swift @@ -823,7 +823,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -1266,7 +1266,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -2162,7 +2162,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/minimal-repository`. public struct minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/minimal-repository/name`. @@ -2510,7 +2510,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -4420,7 +4420,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/user-search-result-item/login`. public var login: Swift.String /// - Remark: Generated from `#/components/schemas/user-search-result-item/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/user-search-result-item/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/user-search-result-item/avatar_url`. @@ -4524,7 +4524,7 @@ public enum Components { /// - suspended_at: public init( login: Swift.String, - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, avatar_url: Swift.String, gravatar_id: Swift.String? = nil, diff --git a/Sources/secret-scanning/Types.swift b/Sources/secret-scanning/Types.swift index 50ed04e2659..785b23ccd5d 100644 --- a/Sources/secret-scanning/Types.swift +++ b/Sources/secret-scanning/Types.swift @@ -563,7 +563,7 @@ public enum Components { /// A unique identifier of the repository. /// /// - Remark: Generated from `#/components/schemas/simple-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// The GraphQL identifier of the repository. /// /// - Remark: Generated from `#/components/schemas/simple-repository/node_id`. @@ -792,7 +792,7 @@ public enum Components { /// - trees_url: A template for the API URL to create or retrieve a raw Git tree of the repository. /// - hooks_url: The API URL to list the hooks on the repository. public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/security-advisories/Types.swift b/Sources/security-advisories/Types.swift index 26d89015530..343a885a89e 100644 --- a/Sources/security-advisories/Types.swift +++ b/Sources/security-advisories/Types.swift @@ -1433,7 +1433,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -1876,7 +1876,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -2418,7 +2418,7 @@ public enum Components { /// A unique identifier of the repository. /// /// - Remark: Generated from `#/components/schemas/simple-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// The GraphQL identifier of the repository. /// /// - Remark: Generated from `#/components/schemas/simple-repository/node_id`. @@ -2647,7 +2647,7 @@ public enum Components { /// - trees_url: A template for the API URL to create or retrieve a raw Git tree of the repository. /// - hooks_url: The API URL to list the hooks on the repository. public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -2920,7 +2920,7 @@ public enum Components { /// Unique identifier of the repository /// /// - Remark: Generated from `#/components/schemas/nullable-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/nullable-repository/node_id`. public var node_id: Swift.String /// The name of the repository. @@ -3363,7 +3363,7 @@ public enum Components { /// - starred_at: /// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -3695,7 +3695,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/full-repository`. public struct full_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/full-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/full-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/full-repository/name`. @@ -4144,7 +4144,7 @@ public enum Components { /// - security_and_analysis: /// - custom_properties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, diff --git a/Sources/teams/Types.swift b/Sources/teams/Types.swift index 8ac8d458564..3c20991e57a 100644 --- a/Sources/teams/Types.swift +++ b/Sources/teams/Types.swift @@ -2847,7 +2847,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/minimal-repository`. public struct minimal_hyphen_repository: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/minimal-repository/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/minimal-repository/name`. @@ -3195,7 +3195,7 @@ public enum Components { /// - web_commit_signoff_required: /// - security_and_analysis: public init( - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, name: Swift.String, full_name: Swift.String, @@ -3466,7 +3466,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/organization-invitation`. public struct organization_hyphen_invitation: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/organization-invitation/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/organization-invitation/login`. public var login: Swift.String? /// - Remark: Generated from `#/components/schemas/organization-invitation/email`. @@ -3505,7 +3505,7 @@ public enum Components { /// - invitation_teams_url: /// - invitation_source: public init( - id: Swift.Int, + id: Swift.Int64, login: Swift.String? = nil, email: Swift.String? = nil, role: Swift.String, diff --git a/Sources/users/Types.swift b/Sources/users/Types.swift index d3fc05e4e73..2cb9a226f61 100644 --- a/Sources/users/Types.swift +++ b/Sources/users/Types.swift @@ -1399,7 +1399,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/public-user/login`. public var login: Swift.String /// - Remark: Generated from `#/components/schemas/public-user/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/public-user/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/public-user/avatar_url`. @@ -1556,7 +1556,7 @@ public enum Components { /// - collaborators: public init( login: Swift.String, - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, avatar_url: Swift.String, gravatar_id: Swift.String? = nil, @@ -1686,7 +1686,7 @@ public enum Components { forKey: .login ) id = try container.decode( - Swift.Int.self, + Swift.Int64.self, forKey: .id ) node_id = try container.decode( @@ -1902,7 +1902,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/private-user/login`. public var login: Swift.String /// - Remark: Generated from `#/components/schemas/private-user/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/private-user/node_id`. public var node_id: Swift.String /// - Remark: Generated from `#/components/schemas/private-user/avatar_url`. @@ -2068,7 +2068,7 @@ public enum Components { /// - ldap_dn: public init( login: Swift.String, - id: Swift.Int, + id: Swift.Int64, node_id: Swift.String, avatar_url: Swift.String, gravatar_id: Swift.String? = nil, @@ -2243,7 +2243,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/gpg-key`. public struct gpg_hyphen_key: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/gpg-key/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/gpg-key/name`. public var name: Swift.String? /// - Remark: Generated from `#/components/schemas/gpg-key/primary_key_id`. @@ -2282,7 +2282,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/gpg-key/subkeysPayload`. public struct subkeysPayloadPayload: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/gpg-key/subkeysPayload/id`. - public var id: Swift.Int? + public var id: Swift.Int64? /// - Remark: Generated from `#/components/schemas/gpg-key/subkeysPayload/primary_key_id`. public var primary_key_id: Swift.Int? /// - Remark: Generated from `#/components/schemas/gpg-key/subkeysPayload/key_id`. @@ -2352,7 +2352,7 @@ public enum Components { /// - raw_key: /// - revoked: public init( - id: Swift.Int? = nil, + id: Swift.Int64? = nil, primary_key_id: Swift.Int? = nil, key_id: Swift.String? = nil, public_key: Swift.String? = nil, @@ -2438,7 +2438,7 @@ public enum Components { /// - revoked: /// - raw_key: public init( - id: Swift.Int, + id: Swift.Int64, name: Swift.String? = nil, primary_key_id: Swift.Int? = nil, key_id: Swift.String, @@ -2495,7 +2495,7 @@ public enum Components { /// - Remark: Generated from `#/components/schemas/key/key`. public var key: Swift.String /// - Remark: Generated from `#/components/schemas/key/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// - Remark: Generated from `#/components/schemas/key/url`. public var url: Swift.String /// - Remark: Generated from `#/components/schemas/key/title`. @@ -2518,7 +2518,7 @@ public enum Components { /// - read_only: public init( key: Swift.String, - id: Swift.Int, + id: Swift.Int64, url: Swift.String, title: Swift.String, created_at: Foundation.Date, diff --git a/Submodule/github/rest-api-description b/Submodule/github/rest-api-description index 5af586d1351..fd544c2b878 160000 --- a/Submodule/github/rest-api-description +++ b/Submodule/github/rest-api-description @@ -1 +1 @@ -Subproject commit 5af586d1351db51ce7f285a897f508e7be0169d9 +Subproject commit fd544c2b878458798c8af979affb0407da2ef34e