Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
31d6f6a
Bump Submodule/github/rest-api-description from `b27d92b` to `44dd20c`
dependabot[bot] Sep 22, 2025
7c65ca5
Commit via running: make Sources/actions
dependabot[bot] Sep 22, 2025
1091769
Commit via running: make Sources/activity
dependabot[bot] Sep 22, 2025
0c619c7
Commit via running: make Sources/apps
dependabot[bot] Sep 22, 2025
49aa01e
Commit via running: make Sources/billing
dependabot[bot] Sep 22, 2025
31c0250
Commit via running: make Sources/gists
dependabot[bot] Sep 22, 2025
6af155b
Commit via running: make Sources/issues
dependabot[bot] Sep 22, 2025
c2924b6
Commit via running: make Sources/orgs
dependabot[bot] Sep 22, 2025
52ca499
Commit via running: make Sources/packages
dependabot[bot] Sep 22, 2025
0631b87
Commit via running: make Sources/projects-classic
dependabot[bot] Sep 22, 2025
1edf14a
Commit via running: make Sources/pulls
dependabot[bot] Sep 22, 2025
7a8aa16
Commit via running: make Sources/reactions
dependabot[bot] Sep 22, 2025
1e509a5
Commit via running: make Sources/repos
dependabot[bot] Sep 22, 2025
c9f59d4
Commit via running: make Sources/search
dependabot[bot] Sep 22, 2025
b5d2ba0
Commit via running: make Sources/teams
dependabot[bot] Sep 22, 2025
698835c
Commit via running: make Sources/users
dependabot[bot] Sep 22, 2025
b4da77c
Commit via running: make Sources/codespaces
dependabot[bot] Sep 22, 2025
54b1056
Commit via running: make Sources/copilot
dependabot[bot] Sep 22, 2025
2517f51
Commit via running: make Sources/security-advisories
dependabot[bot] Sep 22, 2025
0afa05b
Commit via running: make Sources/enterprise-teams
dependabot[bot] Sep 22, 2025
32a8acc
Commit via running: make Sources/enterprise-team-memberships
dependabot[bot] Sep 22, 2025
a889833
Commit via running: make Sources/campaigns
dependabot[bot] Sep 22, 2025
c3f9728
Commit via running: make Sources/projects
dependabot[bot] Sep 22, 2025
27d0543
Commit via running: make Package.swift
dependabot[bot] Sep 22, 2025
5263bbe
Commit via running: make .spi.yml
dependabot[bot] Sep 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ builder:
- GitHubRestAPIDependency_Graph
- GitHubRestAPIDesktop
- GitHubRestAPIEmojis
- GitHubRestAPIEnterprise_Team_Memberships
- GitHubRestAPIEnterprise_Teams
- GitHubRestAPIGists
- GitHubRestAPIGit
Expand Down
9 changes: 9 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ let package = Package(
.library(name: "GitHubRestAPIDependency_Graph", targets: ["GitHubRestAPIDependency_Graph"]),
.library(name: "GitHubRestAPIDesktop", targets: ["GitHubRestAPIDesktop"]),
.library(name: "GitHubRestAPIEmojis", targets: ["GitHubRestAPIEmojis"]),
.library(name: "GitHubRestAPIEnterprise_Team_Memberships", targets: ["GitHubRestAPIEnterprise_Team_Memberships"]),
.library(name: "GitHubRestAPIEnterprise_Teams", targets: ["GitHubRestAPIEnterprise_Teams"]),
.library(name: "GitHubRestAPIGists", targets: ["GitHubRestAPIGists"]),
.library(name: "GitHubRestAPIGit", targets: ["GitHubRestAPIGit"]),
Expand Down Expand Up @@ -197,6 +198,14 @@ let package = Package(
],
path: "Sources/emojis"
),
.target(
name: "GitHubRestAPIEnterprise_Team_Memberships",
dependencies: [
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"),
],
path: "Sources/enterprise-team-memberships"
),
.target(
name: "GitHubRestAPIEnterprise_Teams",
dependencies: [
Expand Down
64 changes: 63 additions & 1 deletion Sources/actions/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8743,6 +8743,25 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/nullable-team-simple/ldap_dn`.
public var ldapDn: Swift.String?
/// The ownership type of the team
///
/// - Remark: Generated from `#/components/schemas/nullable-team-simple/type`.
@frozen public enum _TypePayload: String, Codable, Hashable, Sendable, CaseIterable {
case enterprise = "enterprise"
case organization = "organization"
}
/// The ownership type of the team
///
/// - Remark: Generated from `#/components/schemas/nullable-team-simple/type`.
public var _type: Components.Schemas.NullableTeamSimple._TypePayload
/// Unique identifier of the organization to which this team belongs
///
/// - Remark: Generated from `#/components/schemas/nullable-team-simple/organization_id`.
public var organizationId: Swift.Int?
/// Unique identifier of the enterprise to which this team belongs
///
/// - Remark: Generated from `#/components/schemas/nullable-team-simple/enterprise_id`.
public var enterpriseId: Swift.Int?
/// Creates a new `NullableTeamSimple`.
///
/// - Parameters:
Expand All @@ -8759,6 +8778,9 @@ public enum Components {
/// - repositoriesUrl:
/// - slug:
/// - ldapDn: Distinguished Name (DN) that team maps to within LDAP environment
/// - _type: The ownership type of the team
/// - organizationId: Unique identifier of the organization to which this team belongs
/// - enterpriseId: Unique identifier of the enterprise to which this team belongs
public init(
id: Swift.Int,
nodeId: Swift.String,
Expand All @@ -8772,7 +8794,10 @@ public enum Components {
htmlUrl: Swift.String,
repositoriesUrl: Swift.String,
slug: Swift.String,
ldapDn: Swift.String? = nil
ldapDn: Swift.String? = nil,
_type: Components.Schemas.NullableTeamSimple._TypePayload,
organizationId: Swift.Int? = nil,
enterpriseId: Swift.Int? = nil
) {
self.id = id
self.nodeId = nodeId
Expand All @@ -8787,6 +8812,9 @@ public enum Components {
self.repositoriesUrl = repositoriesUrl
self.slug = slug
self.ldapDn = ldapDn
self._type = _type
self.organizationId = organizationId
self.enterpriseId = enterpriseId
}
public enum CodingKeys: String, CodingKey {
case id
Expand All @@ -8802,6 +8830,9 @@ public enum Components {
case repositoriesUrl = "repositories_url"
case slug
case ldapDn = "ldap_dn"
case _type = "type"
case organizationId = "organization_id"
case enterpriseId = "enterprise_id"
}
}
/// Groups of organization members that gives permissions on specified repositories.
Expand Down Expand Up @@ -8875,6 +8906,25 @@ public enum Components {
public var membersUrl: Swift.String
/// - Remark: Generated from `#/components/schemas/team/repositories_url`.
public var repositoriesUrl: Swift.String
/// The ownership type of the team
///
/// - Remark: Generated from `#/components/schemas/team/type`.
@frozen public enum _TypePayload: String, Codable, Hashable, Sendable, CaseIterable {
case enterprise = "enterprise"
case organization = "organization"
}
/// The ownership type of the team
///
/// - Remark: Generated from `#/components/schemas/team/type`.
public var _type: Components.Schemas.Team._TypePayload
/// Unique identifier of the organization to which this team belongs
///
/// - Remark: Generated from `#/components/schemas/team/organization_id`.
public var organizationId: Swift.Int?
/// Unique identifier of the enterprise to which this team belongs
///
/// - Remark: Generated from `#/components/schemas/team/enterprise_id`.
public var enterpriseId: Swift.Int?
/// - Remark: Generated from `#/components/schemas/team/parent`.
public var parent: Components.Schemas.NullableTeamSimple?
/// Creates a new `Team`.
Expand All @@ -8893,6 +8943,9 @@ public enum Components {
/// - htmlUrl:
/// - membersUrl:
/// - repositoriesUrl:
/// - _type: The ownership type of the team
/// - organizationId: Unique identifier of the organization to which this team belongs
/// - enterpriseId: Unique identifier of the enterprise to which this team belongs
/// - parent:
public init(
id: Swift.Int,
Expand All @@ -8908,6 +8961,9 @@ public enum Components {
htmlUrl: Swift.String,
membersUrl: Swift.String,
repositoriesUrl: Swift.String,
_type: Components.Schemas.Team._TypePayload,
organizationId: Swift.Int? = nil,
enterpriseId: Swift.Int? = nil,
parent: Components.Schemas.NullableTeamSimple? = nil
) {
self.id = id
Expand All @@ -8923,6 +8979,9 @@ public enum Components {
self.htmlUrl = htmlUrl
self.membersUrl = membersUrl
self.repositoriesUrl = repositoriesUrl
self._type = _type
self.organizationId = organizationId
self.enterpriseId = enterpriseId
self.parent = parent
}
public enum CodingKeys: String, CodingKey {
Expand All @@ -8939,6 +8998,9 @@ public enum Components {
case htmlUrl = "html_url"
case membersUrl = "members_url"
case repositoriesUrl = "repositories_url"
case _type = "type"
case organizationId = "organization_id"
case enterpriseId = "enterprise_id"
case parent
}
}
Expand Down
8 changes: 4 additions & 4 deletions Sources/activity/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5066,6 +5066,10 @@ public enum Components {
///
/// - Remark: Generated from `#/components/parameters/since`.
public typealias Since = Foundation.Date
/// The handle for the GitHub user account.
///
/// - Remark: Generated from `#/components/parameters/username`.
public typealias Username = Swift.String
/// The account owner of the repository. The name is not case sensitive.
///
/// - Remark: Generated from `#/components/parameters/owner`.
Expand Down Expand Up @@ -5094,10 +5098,6 @@ public enum Components {
///
/// - Remark: Generated from `#/components/parameters/org`.
public typealias Org = Swift.String
/// The handle for the GitHub user account.
///
/// - Remark: Generated from `#/components/parameters/username`.
public typealias Username = Swift.String
/// The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed to.
///
/// - Remark: Generated from `#/components/parameters/sort-starred`.
Expand Down
8 changes: 4 additions & 4 deletions Sources/apps/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4790,6 +4790,10 @@ public enum Components {
public typealias ClientId = Swift.String
/// - Remark: Generated from `#/components/parameters/app-slug`.
public typealias AppSlug = Swift.String
/// The handle for the GitHub user account.
///
/// - Remark: Generated from `#/components/parameters/username`.
public typealias Username = Swift.String
/// account_id parameter
///
/// - Remark: Generated from `#/components/parameters/account-id`.
Expand Down Expand Up @@ -4821,10 +4825,6 @@ public enum Components {
///
/// - Remark: Generated from `#/components/parameters/repository-id`.
public typealias RepositoryId = Swift.Int
/// The handle for the GitHub user account.
///
/// - Remark: Generated from `#/components/parameters/username`.
public typealias Username = Swift.String
}
/// Types generated from the `#/components/requestBodies` section of the OpenAPI document.
public enum RequestBodies {}
Expand Down
8 changes: 4 additions & 4 deletions Sources/billing/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,10 @@ public enum Components {
}
/// Types generated from the `#/components/parameters` section of the OpenAPI document.
public enum Parameters {
/// The handle for the GitHub user account.
///
/// - Remark: Generated from `#/components/parameters/username`.
public typealias Username = Swift.String
/// The organization name. The name is not case sensitive.
///
/// - Remark: Generated from `#/components/parameters/org`.
Expand All @@ -851,10 +855,6 @@ public enum Components {
///
/// - Remark: Generated from `#/components/parameters/billing-usage-report-hour`.
public typealias BillingUsageReportHour = Swift.Int
/// The handle for the GitHub user account.
///
/// - Remark: Generated from `#/components/parameters/username`.
public typealias Username = Swift.String
}
/// Types generated from the `#/components/requestBodies` section of the OpenAPI document.
public enum RequestBodies {}
Expand Down
64 changes: 63 additions & 1 deletion Sources/campaigns/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,25 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/nullable-team-simple/ldap_dn`.
public var ldapDn: Swift.String?
/// The ownership type of the team
///
/// - Remark: Generated from `#/components/schemas/nullable-team-simple/type`.
@frozen public enum _TypePayload: String, Codable, Hashable, Sendable, CaseIterable {
case enterprise = "enterprise"
case organization = "organization"
}
/// The ownership type of the team
///
/// - Remark: Generated from `#/components/schemas/nullable-team-simple/type`.
public var _type: Components.Schemas.NullableTeamSimple._TypePayload
/// Unique identifier of the organization to which this team belongs
///
/// - Remark: Generated from `#/components/schemas/nullable-team-simple/organization_id`.
public var organizationId: Swift.Int?
/// Unique identifier of the enterprise to which this team belongs
///
/// - Remark: Generated from `#/components/schemas/nullable-team-simple/enterprise_id`.
public var enterpriseId: Swift.Int?
/// Creates a new `NullableTeamSimple`.
///
/// - Parameters:
Expand All @@ -453,6 +472,9 @@ public enum Components {
/// - repositoriesUrl:
/// - slug:
/// - ldapDn: Distinguished Name (DN) that team maps to within LDAP environment
/// - _type: The ownership type of the team
/// - organizationId: Unique identifier of the organization to which this team belongs
/// - enterpriseId: Unique identifier of the enterprise to which this team belongs
public init(
id: Swift.Int,
nodeId: Swift.String,
Expand All @@ -466,7 +488,10 @@ public enum Components {
htmlUrl: Swift.String,
repositoriesUrl: Swift.String,
slug: Swift.String,
ldapDn: Swift.String? = nil
ldapDn: Swift.String? = nil,
_type: Components.Schemas.NullableTeamSimple._TypePayload,
organizationId: Swift.Int? = nil,
enterpriseId: Swift.Int? = nil
) {
self.id = id
self.nodeId = nodeId
Expand All @@ -481,6 +506,9 @@ public enum Components {
self.repositoriesUrl = repositoriesUrl
self.slug = slug
self.ldapDn = ldapDn
self._type = _type
self.organizationId = organizationId
self.enterpriseId = enterpriseId
}
public enum CodingKeys: String, CodingKey {
case id
Expand All @@ -496,6 +524,9 @@ public enum Components {
case repositoriesUrl = "repositories_url"
case slug
case ldapDn = "ldap_dn"
case _type = "type"
case organizationId = "organization_id"
case enterpriseId = "enterprise_id"
}
}
/// Groups of organization members that gives permissions on specified repositories.
Expand Down Expand Up @@ -569,6 +600,25 @@ public enum Components {
public var membersUrl: Swift.String
/// - Remark: Generated from `#/components/schemas/team/repositories_url`.
public var repositoriesUrl: Swift.String
/// The ownership type of the team
///
/// - Remark: Generated from `#/components/schemas/team/type`.
@frozen public enum _TypePayload: String, Codable, Hashable, Sendable, CaseIterable {
case enterprise = "enterprise"
case organization = "organization"
}
/// The ownership type of the team
///
/// - Remark: Generated from `#/components/schemas/team/type`.
public var _type: Components.Schemas.Team._TypePayload
/// Unique identifier of the organization to which this team belongs
///
/// - Remark: Generated from `#/components/schemas/team/organization_id`.
public var organizationId: Swift.Int?
/// Unique identifier of the enterprise to which this team belongs
///
/// - Remark: Generated from `#/components/schemas/team/enterprise_id`.
public var enterpriseId: Swift.Int?
/// - Remark: Generated from `#/components/schemas/team/parent`.
public var parent: Components.Schemas.NullableTeamSimple?
/// Creates a new `Team`.
Expand All @@ -587,6 +637,9 @@ public enum Components {
/// - htmlUrl:
/// - membersUrl:
/// - repositoriesUrl:
/// - _type: The ownership type of the team
/// - organizationId: Unique identifier of the organization to which this team belongs
/// - enterpriseId: Unique identifier of the enterprise to which this team belongs
/// - parent:
public init(
id: Swift.Int,
Expand All @@ -602,6 +655,9 @@ public enum Components {
htmlUrl: Swift.String,
membersUrl: Swift.String,
repositoriesUrl: Swift.String,
_type: Components.Schemas.Team._TypePayload,
organizationId: Swift.Int? = nil,
enterpriseId: Swift.Int? = nil,
parent: Components.Schemas.NullableTeamSimple? = nil
) {
self.id = id
Expand All @@ -617,6 +673,9 @@ public enum Components {
self.htmlUrl = htmlUrl
self.membersUrl = membersUrl
self.repositoriesUrl = repositoriesUrl
self._type = _type
self.organizationId = organizationId
self.enterpriseId = enterpriseId
self.parent = parent
}
public enum CodingKeys: String, CodingKey {
Expand All @@ -633,6 +692,9 @@ public enum Components {
case htmlUrl = "html_url"
case membersUrl = "members_url"
case repositoriesUrl = "repositories_url"
case _type = "type"
case organizationId = "organization_id"
case enterpriseId = "enterprise_id"
case parent
}
}
Expand Down
8 changes: 4 additions & 4 deletions Sources/codespaces/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6406,6 +6406,10 @@ public enum Components {
///
/// - Remark: Generated from `#/components/parameters/page`.
public typealias Page = Swift.Int
/// The handle for the GitHub user account.
///
/// - Remark: Generated from `#/components/parameters/username`.
public typealias Username = Swift.String
/// The account owner of the repository. The name is not case sensitive.
///
/// - Remark: Generated from `#/components/parameters/owner`.
Expand All @@ -6422,10 +6426,6 @@ public enum Components {
///
/// - Remark: Generated from `#/components/parameters/secret-name`.
public typealias SecretName = Swift.String
/// The handle for the GitHub user account.
///
/// - Remark: Generated from `#/components/parameters/username`.
public typealias Username = Swift.String
/// The name of the codespace.
///
/// - Remark: Generated from `#/components/parameters/codespace-name`.
Expand Down
Loading