Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
fce20d5
Bump Submodule/github/rest-api-description from `45124e4` to `b8a14b7`
dependabot[bot] Oct 28, 2025
6df5253
Commit via running: make Sources/actions
dependabot[bot] Oct 28, 2025
4eee71d
Commit via running: make Sources/activity
dependabot[bot] Oct 28, 2025
cd0d40b
Commit via running: make Sources/apps
dependabot[bot] Oct 28, 2025
53b0e42
Commit via running: make Sources/billing
dependabot[bot] Oct 28, 2025
61faa1e
Commit via running: make Sources/checks
dependabot[bot] Oct 28, 2025
36f0ba4
Commit via running: make Sources/code-scanning
dependabot[bot] Oct 28, 2025
96f21c5
Commit via running: make Sources/dependabot
dependabot[bot] Oct 28, 2025
745d505
Commit via running: make Sources/issues
dependabot[bot] Oct 28, 2025
afba70d
Commit via running: make Sources/migrations
dependabot[bot] Oct 28, 2025
800bad4
Commit via running: make Sources/orgs
dependabot[bot] Oct 28, 2025
605e3ea
Commit via running: make Sources/projects-classic
dependabot[bot] Oct 28, 2025
9815c9e
Commit via running: make Sources/reactions
dependabot[bot] Oct 28, 2025
5289371
Commit via running: make Sources/repos
dependabot[bot] Oct 28, 2025
124eb8b
Commit via running: make Sources/secret-scanning
dependabot[bot] Oct 28, 2025
a67c692
Commit via running: make Sources/teams
dependabot[bot] Oct 28, 2025
ce8bbe6
Commit via running: make Sources/users
dependabot[bot] Oct 28, 2025
f4f5065
Commit via running: make Sources/codespaces
dependabot[bot] Oct 28, 2025
d597f72
Commit via running: make Sources/copilot
dependabot[bot] Oct 28, 2025
977fc2d
Commit via running: make Sources/security-advisories
dependabot[bot] Oct 28, 2025
ce08c70
Commit via running: make Sources/interactions
dependabot[bot] Oct 28, 2025
a476bf5
Commit via running: make Sources/enterprise-teams
dependabot[bot] Oct 28, 2025
b2fa49e
Commit via running: make Sources/enterprise-team-organizations
dependabot[bot] Oct 28, 2025
c265033
Commit via running: make Sources/code-security
dependabot[bot] Oct 28, 2025
1cbadcc
Commit via running: make Sources/campaigns
dependabot[bot] Oct 28, 2025
f978f97
Commit via running: make Sources/projects
dependabot[bot] Oct 28, 2025
fc46084
Commit via running: make Package.swift
dependabot[bot] Oct 28, 2025
58382e5
Commit via running: make .spi.yml
dependabot[bot] Oct 28, 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 @@ -20,6 +20,7 @@ builder:
- GitHubRestAPIDesktop
- GitHubRestAPIEmojis
- GitHubRestAPIEnterprise_Team_Memberships
- GitHubRestAPIEnterprise_Team_Organizations
- 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 @@ -29,6 +29,7 @@ let package = Package(
.library(name: "GitHubRestAPIDesktop", targets: ["GitHubRestAPIDesktop"]),
.library(name: "GitHubRestAPIEmojis", targets: ["GitHubRestAPIEmojis"]),
.library(name: "GitHubRestAPIEnterprise_Team_Memberships", targets: ["GitHubRestAPIEnterprise_Team_Memberships"]),
.library(name: "GitHubRestAPIEnterprise_Team_Organizations", targets: ["GitHubRestAPIEnterprise_Team_Organizations"]),
.library(name: "GitHubRestAPIEnterprise_Teams", targets: ["GitHubRestAPIEnterprise_Teams"]),
.library(name: "GitHubRestAPIGists", targets: ["GitHubRestAPIGists"]),
.library(name: "GitHubRestAPIGit", targets: ["GitHubRestAPIGit"]),
Expand Down Expand Up @@ -206,6 +207,14 @@ let package = Package(
],
path: "Sources/enterprise-team-memberships"
),
.target(
name: "GitHubRestAPIEnterprise_Team_Organizations",
dependencies: [
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"),
],
path: "Sources/enterprise-team-organizations"
),
.target(
name: "GitHubRestAPIEnterprise_Teams",
dependencies: [
Expand Down
355 changes: 355 additions & 0 deletions Sources/actions/Client.swift

Large diffs are not rendered by default.

1,509 changes: 1,312 additions & 197 deletions Sources/actions/Types.swift

Large diffs are not rendered by default.

1,704 changes: 1,484 additions & 220 deletions Sources/activity/Types.swift

Large diffs are not rendered by default.

41 changes: 36 additions & 5 deletions Sources/apps/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2487,6 +2487,17 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/app-permissions/workflows`.
public var workflows: Components.Schemas.AppPermissions.WorkflowsPayload?
/// The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.
///
/// - Remark: Generated from `#/components/schemas/app-permissions/custom_properties_for_organizations`.
@frozen public enum CustomPropertiesForOrganizationsPayload: String, Codable, Hashable, Sendable, CaseIterable {
case read = "read"
case write = "write"
}
/// The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.
///
/// - Remark: Generated from `#/components/schemas/app-permissions/custom_properties_for_organizations`.
public var customPropertiesForOrganizations: Components.Schemas.AppPermissions.CustomPropertiesForOrganizationsPayload?
/// The level of permission to grant the access token for organization teams and members.
///
/// - Remark: Generated from `#/components/schemas/app-permissions/members`.
Expand Down Expand Up @@ -2760,6 +2771,18 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/app-permissions/starring`.
public var starring: Components.Schemas.AppPermissions.StarringPayload?
/// The level of permission to grant the access token for organization custom properties management at the enterprise level.
///
/// - Remark: Generated from `#/components/schemas/app-permissions/enterprise_custom_properties_for_organizations`.
@frozen public enum EnterpriseCustomPropertiesForOrganizationsPayload: String, Codable, Hashable, Sendable, CaseIterable {
case read = "read"
case write = "write"
case admin = "admin"
}
/// The level of permission to grant the access token for organization custom properties management at the enterprise level.
///
/// - Remark: Generated from `#/components/schemas/app-permissions/enterprise_custom_properties_for_organizations`.
public var enterpriseCustomPropertiesForOrganizations: Components.Schemas.AppPermissions.EnterpriseCustomPropertiesForOrganizationsPayload?
/// Creates a new `AppPermissions`.
///
/// - Parameters:
Expand All @@ -2786,6 +2809,7 @@ public enum Components {
/// - statuses: The level of permission to grant the access token for commit statuses.
/// - vulnerabilityAlerts: The level of permission to grant the access token to manage Dependabot alerts.
/// - workflows: The level of permission to grant the access token to update GitHub Actions workflow files.
/// - customPropertiesForOrganizations: The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.
/// - members: The level of permission to grant the access token for organization teams and members.
/// - organizationAdministration: The level of permission to grant the access token to manage access to an organization.
/// - organizationCustomRoles: The level of permission to grant the access token for custom repository roles management.
Expand All @@ -2811,6 +2835,7 @@ public enum Components {
/// - interactionLimits: The level of permission to grant the access token to view and manage interaction limits on a repository.
/// - profile: The level of permission to grant the access token to manage the profile settings belonging to a user.
/// - starring: The level of permission to grant the access token to list and manage repositories a user is starring.
/// - enterpriseCustomPropertiesForOrganizations: The level of permission to grant the access token for organization custom properties management at the enterprise level.
public init(
actions: Components.Schemas.AppPermissions.ActionsPayload? = nil,
administration: Components.Schemas.AppPermissions.AdministrationPayload? = nil,
Expand All @@ -2835,6 +2860,7 @@ public enum Components {
statuses: Components.Schemas.AppPermissions.StatusesPayload? = nil,
vulnerabilityAlerts: Components.Schemas.AppPermissions.VulnerabilityAlertsPayload? = nil,
workflows: Components.Schemas.AppPermissions.WorkflowsPayload? = nil,
customPropertiesForOrganizations: Components.Schemas.AppPermissions.CustomPropertiesForOrganizationsPayload? = nil,
members: Components.Schemas.AppPermissions.MembersPayload? = nil,
organizationAdministration: Components.Schemas.AppPermissions.OrganizationAdministrationPayload? = nil,
organizationCustomRoles: Components.Schemas.AppPermissions.OrganizationCustomRolesPayload? = nil,
Expand All @@ -2859,7 +2885,8 @@ public enum Components {
gpgKeys: Components.Schemas.AppPermissions.GpgKeysPayload? = nil,
interactionLimits: Components.Schemas.AppPermissions.InteractionLimitsPayload? = nil,
profile: Components.Schemas.AppPermissions.ProfilePayload? = nil,
starring: Components.Schemas.AppPermissions.StarringPayload? = nil
starring: Components.Schemas.AppPermissions.StarringPayload? = nil,
enterpriseCustomPropertiesForOrganizations: Components.Schemas.AppPermissions.EnterpriseCustomPropertiesForOrganizationsPayload? = nil
) {
self.actions = actions
self.administration = administration
Expand All @@ -2884,6 +2911,7 @@ public enum Components {
self.statuses = statuses
self.vulnerabilityAlerts = vulnerabilityAlerts
self.workflows = workflows
self.customPropertiesForOrganizations = customPropertiesForOrganizations
self.members = members
self.organizationAdministration = organizationAdministration
self.organizationCustomRoles = organizationCustomRoles
Expand All @@ -2909,6 +2937,7 @@ public enum Components {
self.interactionLimits = interactionLimits
self.profile = profile
self.starring = starring
self.enterpriseCustomPropertiesForOrganizations = enterpriseCustomPropertiesForOrganizations
}
public enum CodingKeys: String, CodingKey {
case actions
Expand All @@ -2934,6 +2963,7 @@ public enum Components {
case statuses
case vulnerabilityAlerts = "vulnerability_alerts"
case workflows
case customPropertiesForOrganizations = "custom_properties_for_organizations"
case members
case organizationAdministration = "organization_administration"
case organizationCustomRoles = "organization_custom_roles"
Expand All @@ -2959,6 +2989,7 @@ public enum Components {
case interactionLimits = "interaction_limits"
case profile
case starring
case enterpriseCustomPropertiesForOrganizations = "enterprise_custom_properties_for_organizations"
}
}
/// A GitHub user.
Expand Down Expand Up @@ -4794,6 +4825,10 @@ public enum Components {
///
/// - 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`.
public typealias Org = Swift.String
/// account_id parameter
///
/// - Remark: Generated from `#/components/parameters/account-id`.
Expand All @@ -4817,10 +4852,6 @@ public enum Components {
///
/// - Remark: Generated from `#/components/parameters/repo`.
public typealias Repo = Swift.String
/// The organization name. The name is not case sensitive.
///
/// - Remark: Generated from `#/components/parameters/org`.
public typealias Org = Swift.String
/// The unique identifier of the repository.
///
/// - Remark: Generated from `#/components/parameters/repository-id`.
Expand Down
4 changes: 4 additions & 0 deletions Sources/billing/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public struct Client: APIProtocol {
///
/// Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.
///
/// **Note:** Only data from the past 24 months is accessible via this endpoint.
///
/// - Remark: HTTP `GET /organizations/{org}/settings/billing/premium_request/usage`.
/// - Remark: Generated from `#/paths//organizations/{org}/settings/billing/premium_request/usage/get(billing/get-github-billing-premium-request-usage-report-org)`.
public func billingGetGithubBillingPremiumRequestUsageReportOrg(_ input: Operations.BillingGetGithubBillingPremiumRequestUsageReportOrg.Input) async throws -> Operations.BillingGetGithubBillingPremiumRequestUsageReportOrg.Output {
Expand Down Expand Up @@ -798,6 +800,8 @@ public struct Client: APIProtocol {
///
/// Gets a report of premium request usage for a user.
///
/// **Note:** Only data from the past 24 months is accessible via this endpoint.
///
/// - Remark: HTTP `GET /users/{username}/settings/billing/premium_request/usage`.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/premium_request/usage/get(billing/get-github-billing-premium-request-usage-report-user)`.
public func billingGetGithubBillingPremiumRequestUsageReportUser(_ input: Operations.BillingGetGithubBillingPremiumRequestUsageReportUser.Input) async throws -> Operations.BillingGetGithubBillingPremiumRequestUsageReportUser.Output {
Expand Down
Loading