Skip to content

Commit 555dd77

Browse files
Commit via running: make Sources/apps
1 parent 1286605 commit 555dd77

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

Sources/apps/Client.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ public struct Client: APIProtocol {
10061006
}
10071007
/// Delete an installation for the authenticated app
10081008
///
1009-
/// Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint.
1009+
/// Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint.
10101010
///
10111011
/// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
10121012
///
@@ -1243,7 +1243,7 @@ public struct Client: APIProtocol {
12431243
}
12441244
/// Suspend an app installation
12451245
///
1246-
/// Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
1246+
/// Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
12471247
///
12481248
/// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
12491249
///

Sources/apps/Types.swift

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public protocol APIProtocol: Sendable {
9999
func appsGetInstallation(_ input: Operations.AppsGetInstallation.Input) async throws -> Operations.AppsGetInstallation.Output
100100
/// Delete an installation for the authenticated app
101101
///
102-
/// Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint.
102+
/// Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint.
103103
///
104104
/// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
105105
///
@@ -121,7 +121,7 @@ public protocol APIProtocol: Sendable {
121121
func appsCreateInstallationAccessToken(_ input: Operations.AppsCreateInstallationAccessToken.Input) async throws -> Operations.AppsCreateInstallationAccessToken.Output
122122
/// Suspend an app installation
123123
///
124-
/// Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
124+
/// Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
125125
///
126126
/// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
127127
///
@@ -496,7 +496,7 @@ extension APIProtocol {
496496
}
497497
/// Delete an installation for the authenticated app
498498
///
499-
/// Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint.
499+
/// Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint.
500500
///
501501
/// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
502502
///
@@ -536,7 +536,7 @@ extension APIProtocol {
536536
}
537537
/// Suspend an app installation
538538
///
539-
/// Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
539+
/// Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
540540
///
541541
/// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
542542
///
@@ -3180,6 +3180,8 @@ public enum Components {
31803180
public var htmlUrl: Swift.String
31813181
/// - Remark: Generated from `#/components/schemas/installation/app_id`.
31823182
public var appId: Swift.Int
3183+
/// - Remark: Generated from `#/components/schemas/installation/client_id`.
3184+
public var clientId: Swift.String?
31833185
/// The ID of the user or organization this token is being scoped to.
31843186
///
31853187
/// - Remark: Generated from `#/components/schemas/installation/target_id`.
@@ -3218,6 +3220,7 @@ public enum Components {
32183220
/// - repositoriesUrl:
32193221
/// - htmlUrl:
32203222
/// - appId:
3223+
/// - clientId:
32213224
/// - targetId: The ID of the user or organization this token is being scoped to.
32223225
/// - targetType:
32233226
/// - permissions:
@@ -3239,6 +3242,7 @@ public enum Components {
32393242
repositoriesUrl: Swift.String,
32403243
htmlUrl: Swift.String,
32413244
appId: Swift.Int,
3245+
clientId: Swift.String? = nil,
32423246
targetId: Swift.Int,
32433247
targetType: Swift.String,
32443248
permissions: Components.Schemas.AppPermissions,
@@ -3260,6 +3264,7 @@ public enum Components {
32603264
self.repositoriesUrl = repositoriesUrl
32613265
self.htmlUrl = htmlUrl
32623266
self.appId = appId
3267+
self.clientId = clientId
32633268
self.targetId = targetId
32643269
self.targetType = targetType
32653270
self.permissions = permissions
@@ -3282,6 +3287,7 @@ public enum Components {
32823287
case repositoriesUrl = "repositories_url"
32833288
case htmlUrl = "html_url"
32843289
case appId = "app_id"
3290+
case clientId = "client_id"
32853291
case targetId = "target_id"
32863292
case targetType = "target_type"
32873293
case permissions
@@ -6825,7 +6831,7 @@ public enum Operations {
68256831
}
68266832
/// Delete an installation for the authenticated app
68276833
///
6828-
/// Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint.
6834+
/// Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint.
68296835
///
68306836
/// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
68316837
///
@@ -7238,7 +7244,7 @@ public enum Operations {
72387244
}
72397245
/// Suspend an app installation
72407246
///
7241-
/// Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
7247+
/// Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
72427248
///
72437249
/// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
72447250
///

0 commit comments

Comments
 (0)