Skip to content

Commit cfc8dbc

Browse files
Commit via running: make Sources/apps
1 parent 81c780d commit cfc8dbc

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

Sources/apps/Types.swift

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,20 +1455,14 @@ public enum Components {
14551455
///
14561456
/// - Remark: Generated from `#/components/schemas/integration/permissions`.
14571457
public var permissions: Components.Schemas.Integration.PermissionsPayload
1458-
/// The list of events for the GitHub app
1458+
/// The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.
14591459
///
14601460
/// - Remark: Generated from `#/components/schemas/integration/events`.
14611461
public var events: [Swift.String]
1462-
/// The number of installations associated with the GitHub app
1462+
/// The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
14631463
///
14641464
/// - Remark: Generated from `#/components/schemas/integration/installations_count`.
14651465
public var installationsCount: Swift.Int?
1466-
/// - Remark: Generated from `#/components/schemas/integration/client_secret`.
1467-
public var clientSecret: Swift.String?
1468-
/// - Remark: Generated from `#/components/schemas/integration/webhook_secret`.
1469-
public var webhookSecret: Swift.String?
1470-
/// - Remark: Generated from `#/components/schemas/integration/pem`.
1471-
public var pem: Swift.String?
14721466
/// Creates a new `Integration`.
14731467
///
14741468
/// - Parameters:
@@ -1484,11 +1478,8 @@ public enum Components {
14841478
/// - createdAt:
14851479
/// - updatedAt:
14861480
/// - permissions: The set of permissions for the GitHub app
1487-
/// - events: The list of events for the GitHub app
1488-
/// - installationsCount: The number of installations associated with the GitHub app
1489-
/// - clientSecret:
1490-
/// - webhookSecret:
1491-
/// - pem:
1481+
/// - events: The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.
1482+
/// - installationsCount: The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
14921483
public init(
14931484
id: Swift.Int,
14941485
slug: Swift.String? = nil,
@@ -1503,10 +1494,7 @@ public enum Components {
15031494
updatedAt: Foundation.Date,
15041495
permissions: Components.Schemas.Integration.PermissionsPayload,
15051496
events: [Swift.String],
1506-
installationsCount: Swift.Int? = nil,
1507-
clientSecret: Swift.String? = nil,
1508-
webhookSecret: Swift.String? = nil,
1509-
pem: Swift.String? = nil
1497+
installationsCount: Swift.Int? = nil
15101498
) {
15111499
self.id = id
15121500
self.slug = slug
@@ -1522,9 +1510,6 @@ public enum Components {
15221510
self.permissions = permissions
15231511
self.events = events
15241512
self.installationsCount = installationsCount
1525-
self.clientSecret = clientSecret
1526-
self.webhookSecret = webhookSecret
1527-
self.pem = pem
15281513
}
15291514
public enum CodingKeys: String, CodingKey {
15301515
case id
@@ -1541,9 +1526,6 @@ public enum Components {
15411526
case permissions
15421527
case events
15431528
case installationsCount = "installations_count"
1544-
case clientSecret = "client_secret"
1545-
case webhookSecret = "webhook_secret"
1546-
case pem
15471529
}
15481530
}
15491531
/// The URL to which the payloads will be delivered.

0 commit comments

Comments
 (0)