Skip to content

Bump Submodule/github/rest-api-description from 1cd73ab to a3b9020 #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
69ed859
Bump Submodule/github/rest-api-description from `1cd73ab` to `a3b9020`
dependabot[bot] Apr 19, 2025
7aff47d
Commit via running ake Sources/actions
dependabot[bot] Apr 19, 2025
413b761
Commit via running ake Sources/activity
dependabot[bot] Apr 19, 2025
536f007
Commit via running ake Sources/apps
dependabot[bot] Apr 19, 2025
d369184
Commit via running ake Sources/billing
dependabot[bot] Apr 19, 2025
c42f3cc
Commit via running ake Sources/checks
dependabot[bot] Apr 19, 2025
16594cc
Commit via running ake Sources/code-scanning
dependabot[bot] Apr 19, 2025
91faf22
Commit via running ake Sources/dependabot
dependabot[bot] Apr 19, 2025
20d0bc1
Commit via running ake Sources/dependency-graph
dependabot[bot] Apr 19, 2025
e42299d
Commit via running ake Sources/gists
dependabot[bot] Apr 19, 2025
812e757
Commit via running ake Sources/git
dependabot[bot] Apr 19, 2025
c5849b3
Commit via running ake Sources/issues
dependabot[bot] Apr 19, 2025
9274636
Commit via running ake Sources/meta
dependabot[bot] Apr 19, 2025
e4611bd
Commit via running ake Sources/migrations
dependabot[bot] Apr 19, 2025
cd9372f
Commit via running ake Sources/orgs
dependabot[bot] Apr 19, 2025
1cb0acb
Commit via running ake Sources/packages
dependabot[bot] Apr 19, 2025
52c77ac
Commit via running ake Sources/projects
dependabot[bot] Apr 19, 2025
208e1f4
Commit via running ake Sources/pulls
dependabot[bot] Apr 19, 2025
b50e40b
Commit via running ake Sources/rate-limit
dependabot[bot] Apr 19, 2025
a2de071
Commit via running ake Sources/reactions
dependabot[bot] Apr 19, 2025
98b0017
Commit via running ake Sources/repos
dependabot[bot] Apr 19, 2025
1e19af2
Commit via running ake Sources/search
dependabot[bot] Apr 19, 2025
69718d6
Commit via running ake Sources/secret-scanning
dependabot[bot] Apr 19, 2025
0c1c50b
Commit via running ake Sources/teams
dependabot[bot] Apr 19, 2025
9122376
Commit via running ake Sources/users
dependabot[bot] Apr 19, 2025
09ae874
Commit via running ake Sources/codespaces
dependabot[bot] Apr 19, 2025
5588b1b
Commit via running ake Sources/copilot
dependabot[bot] Apr 19, 2025
240a648
Commit via running ake Sources/security-advisories
dependabot[bot] Apr 19, 2025
57ec12f
Commit via running ake Sources/code-security
dependabot[bot] Apr 19, 2025
48cad73
Commit via running ake Sources/private-registries
dependabot[bot] Apr 19, 2025
0aa24dd
Commit via running ake Sources/hosted-compute
dependabot[bot] Apr 19, 2025
ad05c76
Commit via running ake Sources/campaigns
dependabot[bot] Apr 19, 2025
4c66d37
Commit via running ake Package.swift
dependabot[bot] Apr 19, 2025
662a7a6
Commit via running ake .spi.yml
dependabot[bot] Apr 19, 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
2 changes: 2 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ builder:
- GitHubRestAPIActivity
- GitHubRestAPIApps
- GitHubRestAPIBilling
- GitHubRestAPICampaigns
- GitHubRestAPIChecks
- GitHubRestAPIClassroom
- GitHubRestAPICode_Scanning
Expand All @@ -21,6 +22,7 @@ builder:
- GitHubRestAPIGists
- GitHubRestAPIGit
- GitHubRestAPIGitignore
- GitHubRestAPIHosted_Compute
- GitHubRestAPIInteractions
- GitHubRestAPIIssues
- GitHubRestAPILicenses
Expand Down
18 changes: 18 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ let package = Package(
.library(name: "GitHubRestAPIActivity", targets: ["GitHubRestAPIActivity"]),
.library(name: "GitHubRestAPIApps", targets: ["GitHubRestAPIApps"]),
.library(name: "GitHubRestAPIBilling", targets: ["GitHubRestAPIBilling"]),
.library(name: "GitHubRestAPICampaigns", targets: ["GitHubRestAPICampaigns"]),
.library(name: "GitHubRestAPIChecks", targets: ["GitHubRestAPIChecks"]),
.library(name: "GitHubRestAPIClassroom", targets: ["GitHubRestAPIClassroom"]),
.library(name: "GitHubRestAPICode_Scanning", targets: ["GitHubRestAPICode_Scanning"]),
Expand All @@ -30,6 +31,7 @@ let package = Package(
.library(name: "GitHubRestAPIGists", targets: ["GitHubRestAPIGists"]),
.library(name: "GitHubRestAPIGit", targets: ["GitHubRestAPIGit"]),
.library(name: "GitHubRestAPIGitignore", targets: ["GitHubRestAPIGitignore"]),
.library(name: "GitHubRestAPIHosted_Compute", targets: ["GitHubRestAPIHosted_Compute"]),
.library(name: "GitHubRestAPIInteractions", targets: ["GitHubRestAPIInteractions"]),
.library(name: "GitHubRestAPIIssues", targets: ["GitHubRestAPIIssues"]),
.library(name: "GitHubRestAPILicenses", targets: ["GitHubRestAPILicenses"]),
Expand Down Expand Up @@ -89,6 +91,14 @@ let package = Package(
],
path: "Sources/billing"
),
.target(
name: "GitHubRestAPICampaigns",
dependencies: [
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"),
],
path: "Sources/campaigns"
),
.target(
name: "GitHubRestAPIChecks",
dependencies: [
Expand Down Expand Up @@ -209,6 +219,14 @@ let package = Package(
],
path: "Sources/gitignore"
),
.target(
name: "GitHubRestAPIHosted_Compute",
dependencies: [
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"),
],
path: "Sources/hosted-compute"
),
.target(
name: "GitHubRestAPIInteractions",
dependencies: [
Expand Down
836 changes: 836 additions & 0 deletions Sources/actions/Client.swift

Large diffs are not rendered by default.

5,197 changes: 3,982 additions & 1,215 deletions Sources/actions/Types.swift

Large diffs are not rendered by default.

494 changes: 367 additions & 127 deletions Sources/activity/Types.swift

Large diffs are not rendered by default.

473 changes: 254 additions & 219 deletions Sources/apps/Types.swift

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions Sources/billing/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -690,19 +690,19 @@ public enum Components {
///
/// - Remark: Generated from `#/components/parameters/org`.
public typealias org = Swift.String
/// If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2024`. Default value is the current year.
/// If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.
///
/// - Remark: Generated from `#/components/parameters/billing-usage-report-year`.
public typealias billing_hyphen_usage_hyphen_report_hyphen_year = Swift.Int
/// If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`.
/// If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.
///
/// - Remark: Generated from `#/components/parameters/billing-usage-report-month`.
public typealias billing_hyphen_usage_hyphen_report_hyphen_month = Swift.Int
/// If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`.
/// If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.
///
/// - Remark: Generated from `#/components/parameters/billing-usage-report-day`.
public typealias billing_hyphen_usage_hyphen_report_hyphen_day = Swift.Int
/// If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.
/// If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.
///
/// - Remark: Generated from `#/components/parameters/billing-usage-report-hour`.
public typealias billing_hyphen_usage_hyphen_report_hyphen_hour = Swift.Int
Expand Down Expand Up @@ -795,34 +795,6 @@ public enum Components {
self.body = body
}
}
public struct internal_error: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content`.
@frozen public enum Body: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content/application\/json`.
case json(Components.Schemas.basic_hyphen_error)
/// The associated value of the enum case if `self` is `.json`.
///
/// - Throws: An error if `self` is not `.json`.
/// - SeeAlso: `.json`.
public var json: Components.Schemas.basic_hyphen_error {
get throws {
switch self {
case let .json(body):
return body
}
}
}
}
/// Received HTTP response body
public var body: Components.Responses.internal_error.Body
/// Creates a new `internal_error`.
///
/// - Parameters:
/// - body: Received HTTP response body
public init(body: Components.Responses.internal_error.Body) {
self.body = body
}
}
public struct service_unavailable: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/service_unavailable/content`.
@frozen public enum Body: Sendable, Hashable {
Expand Down Expand Up @@ -908,6 +880,34 @@ public enum Components {
self.body = body
}
}
public struct internal_error: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content`.
@frozen public enum Body: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content/application\/json`.
case json(Components.Schemas.basic_hyphen_error)
/// The associated value of the enum case if `self` is `.json`.
///
/// - Throws: An error if `self` is not `.json`.
/// - SeeAlso: `.json`.
public var json: Components.Schemas.basic_hyphen_error {
get throws {
switch self {
case let .json(body):
return body
}
}
}
}
/// Received HTTP response body
public var body: Components.Responses.internal_error.Body
/// Creates a new `internal_error`.
///
/// - Parameters:
/// - body: Received HTTP response body
public init(body: Components.Responses.internal_error.Body) {
self.body = body
}
}
}
/// Types generated from the `#/components/headers` section of the OpenAPI document.
public enum Headers {}
Expand Down Expand Up @@ -943,29 +943,29 @@ public enum Operations {
public var path: Operations.billing_sol_get_hyphen_github_hyphen_billing_hyphen_usage_hyphen_report_hyphen_org.Input.Path
/// - Remark: Generated from `#/paths/organizations/{org}/settings/billing/usage/GET/query`.
public struct Query: Sendable, Hashable {
/// If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2024`. Default value is the current year.
/// If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.
///
/// - Remark: Generated from `#/paths/organizations/{org}/settings/billing/usage/GET/query/year`.
public var year: Components.Parameters.billing_hyphen_usage_hyphen_report_hyphen_year?
/// If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`.
/// If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.
///
/// - Remark: Generated from `#/paths/organizations/{org}/settings/billing/usage/GET/query/month`.
public var month: Components.Parameters.billing_hyphen_usage_hyphen_report_hyphen_month?
/// If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`.
/// If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.
///
/// - Remark: Generated from `#/paths/organizations/{org}/settings/billing/usage/GET/query/day`.
public var day: Components.Parameters.billing_hyphen_usage_hyphen_report_hyphen_day?
/// If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.
/// If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.
///
/// - Remark: Generated from `#/paths/organizations/{org}/settings/billing/usage/GET/query/hour`.
public var hour: Components.Parameters.billing_hyphen_usage_hyphen_report_hyphen_hour?
/// Creates a new `Query`.
///
/// - Parameters:
/// - year: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2024`. Default value is the current year.
/// - month: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`.
/// - day: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`.
/// - hour: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.
/// - year: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.
/// - month: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.
/// - day: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.
/// - hour: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.
public init(
year: Components.Parameters.billing_hyphen_usage_hyphen_report_hyphen_year? = nil,
month: Components.Parameters.billing_hyphen_usage_hyphen_report_hyphen_month? = nil,
Expand Down
Loading