Skip to content

Commit 2a48d8e

Browse files
Merge pull request #123 from wei18/dependabot/submodules/Submodule/github/rest-api-description-31cc3f6
Bump Submodule/github/rest-api-description from `f024f30` to `31cc3f6`
2 parents 444d1c1 + cd70ccc commit 2a48d8e

File tree

11 files changed

+792
-208
lines changed

11 files changed

+792
-208
lines changed

Sources/actions/Types.swift

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5878,20 +5878,14 @@ public enum Components {
58785878
///
58795879
/// - Remark: Generated from `#/components/schemas/nullable-integration/permissions`.
58805880
public var permissions: Components.Schemas.NullableIntegration.PermissionsPayload
5881-
/// The list of events for the GitHub app
5881+
/// 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.
58825882
///
58835883
/// - Remark: Generated from `#/components/schemas/nullable-integration/events`.
58845884
public var events: [Swift.String]
5885-
/// The number of installations associated with the GitHub app
5885+
/// The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
58865886
///
58875887
/// - Remark: Generated from `#/components/schemas/nullable-integration/installations_count`.
58885888
public var installationsCount: Swift.Int?
5889-
/// - Remark: Generated from `#/components/schemas/nullable-integration/client_secret`.
5890-
public var clientSecret: Swift.String?
5891-
/// - Remark: Generated from `#/components/schemas/nullable-integration/webhook_secret`.
5892-
public var webhookSecret: Swift.String?
5893-
/// - Remark: Generated from `#/components/schemas/nullable-integration/pem`.
5894-
public var pem: Swift.String?
58955889
/// Creates a new `NullableIntegration`.
58965890
///
58975891
/// - Parameters:
@@ -5907,11 +5901,8 @@ public enum Components {
59075901
/// - createdAt:
59085902
/// - updatedAt:
59095903
/// - permissions: The set of permissions for the GitHub app
5910-
/// - events: The list of events for the GitHub app
5911-
/// - installationsCount: The number of installations associated with the GitHub app
5912-
/// - clientSecret:
5913-
/// - webhookSecret:
5914-
/// - pem:
5904+
/// - 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.
5905+
/// - installationsCount: The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
59155906
public init(
59165907
id: Swift.Int,
59175908
slug: Swift.String? = nil,
@@ -5926,10 +5917,7 @@ public enum Components {
59265917
updatedAt: Foundation.Date,
59275918
permissions: Components.Schemas.NullableIntegration.PermissionsPayload,
59285919
events: [Swift.String],
5929-
installationsCount: Swift.Int? = nil,
5930-
clientSecret: Swift.String? = nil,
5931-
webhookSecret: Swift.String? = nil,
5932-
pem: Swift.String? = nil
5920+
installationsCount: Swift.Int? = nil
59335921
) {
59345922
self.id = id
59355923
self.slug = slug
@@ -5945,9 +5933,6 @@ public enum Components {
59455933
self.permissions = permissions
59465934
self.events = events
59475935
self.installationsCount = installationsCount
5948-
self.clientSecret = clientSecret
5949-
self.webhookSecret = webhookSecret
5950-
self.pem = pem
59515936
}
59525937
public enum CodingKeys: String, CodingKey {
59535938
case id
@@ -5964,9 +5949,6 @@ public enum Components {
59645949
case permissions
59655950
case events
59665951
case installationsCount = "installations_count"
5967-
case clientSecret = "client_secret"
5968-
case webhookSecret = "webhook_secret"
5969-
case pem
59705952
}
59715953
}
59725954
/// - Remark: Generated from `#/components/schemas/security-and-analysis`.

Sources/activity/Types.swift

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2686,20 +2686,14 @@ public enum Components {
26862686
///
26872687
/// - Remark: Generated from `#/components/schemas/nullable-integration/permissions`.
26882688
public var permissions: Components.Schemas.NullableIntegration.PermissionsPayload
2689-
/// The list of events for the GitHub app
2689+
/// 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.
26902690
///
26912691
/// - Remark: Generated from `#/components/schemas/nullable-integration/events`.
26922692
public var events: [Swift.String]
2693-
/// The number of installations associated with the GitHub app
2693+
/// The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
26942694
///
26952695
/// - Remark: Generated from `#/components/schemas/nullable-integration/installations_count`.
26962696
public var installationsCount: Swift.Int?
2697-
/// - Remark: Generated from `#/components/schemas/nullable-integration/client_secret`.
2698-
public var clientSecret: Swift.String?
2699-
/// - Remark: Generated from `#/components/schemas/nullable-integration/webhook_secret`.
2700-
public var webhookSecret: Swift.String?
2701-
/// - Remark: Generated from `#/components/schemas/nullable-integration/pem`.
2702-
public var pem: Swift.String?
27032697
/// Creates a new `NullableIntegration`.
27042698
///
27052699
/// - Parameters:
@@ -2715,11 +2709,8 @@ public enum Components {
27152709
/// - createdAt:
27162710
/// - updatedAt:
27172711
/// - permissions: The set of permissions for the GitHub app
2718-
/// - events: The list of events for the GitHub app
2719-
/// - installationsCount: The number of installations associated with the GitHub app
2720-
/// - clientSecret:
2721-
/// - webhookSecret:
2722-
/// - pem:
2712+
/// - 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.
2713+
/// - installationsCount: The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
27232714
public init(
27242715
id: Swift.Int,
27252716
slug: Swift.String? = nil,
@@ -2734,10 +2725,7 @@ public enum Components {
27342725
updatedAt: Foundation.Date,
27352726
permissions: Components.Schemas.NullableIntegration.PermissionsPayload,
27362727
events: [Swift.String],
2737-
installationsCount: Swift.Int? = nil,
2738-
clientSecret: Swift.String? = nil,
2739-
webhookSecret: Swift.String? = nil,
2740-
pem: Swift.String? = nil
2728+
installationsCount: Swift.Int? = nil
27412729
) {
27422730
self.id = id
27432731
self.slug = slug
@@ -2753,9 +2741,6 @@ public enum Components {
27532741
self.permissions = permissions
27542742
self.events = events
27552743
self.installationsCount = installationsCount
2756-
self.clientSecret = clientSecret
2757-
self.webhookSecret = webhookSecret
2758-
self.pem = pem
27592744
}
27602745
public enum CodingKeys: String, CodingKey {
27612746
case id
@@ -2772,9 +2757,6 @@ public enum Components {
27722757
case permissions
27732758
case events
27742759
case installationsCount = "installations_count"
2775-
case clientSecret = "client_secret"
2776-
case webhookSecret = "webhook_secret"
2777-
case pem
27782760
}
27792761
}
27802762
/// How the author is associated with the repository.

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.

Sources/checks/Types.swift

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -899,20 +899,14 @@ public enum Components {
899899
///
900900
/// - Remark: Generated from `#/components/schemas/nullable-integration/permissions`.
901901
public var permissions: Components.Schemas.NullableIntegration.PermissionsPayload
902-
/// The list of events for the GitHub app
902+
/// 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.
903903
///
904904
/// - Remark: Generated from `#/components/schemas/nullable-integration/events`.
905905
public var events: [Swift.String]
906-
/// The number of installations associated with the GitHub app
906+
/// The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
907907
///
908908
/// - Remark: Generated from `#/components/schemas/nullable-integration/installations_count`.
909909
public var installationsCount: Swift.Int?
910-
/// - Remark: Generated from `#/components/schemas/nullable-integration/client_secret`.
911-
public var clientSecret: Swift.String?
912-
/// - Remark: Generated from `#/components/schemas/nullable-integration/webhook_secret`.
913-
public var webhookSecret: Swift.String?
914-
/// - Remark: Generated from `#/components/schemas/nullable-integration/pem`.
915-
public var pem: Swift.String?
916910
/// Creates a new `NullableIntegration`.
917911
///
918912
/// - Parameters:
@@ -928,11 +922,8 @@ public enum Components {
928922
/// - createdAt:
929923
/// - updatedAt:
930924
/// - permissions: The set of permissions for the GitHub app
931-
/// - events: The list of events for the GitHub app
932-
/// - installationsCount: The number of installations associated with the GitHub app
933-
/// - clientSecret:
934-
/// - webhookSecret:
935-
/// - pem:
925+
/// - 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.
926+
/// - installationsCount: The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
936927
public init(
937928
id: Swift.Int,
938929
slug: Swift.String? = nil,
@@ -947,10 +938,7 @@ public enum Components {
947938
updatedAt: Foundation.Date,
948939
permissions: Components.Schemas.NullableIntegration.PermissionsPayload,
949940
events: [Swift.String],
950-
installationsCount: Swift.Int? = nil,
951-
clientSecret: Swift.String? = nil,
952-
webhookSecret: Swift.String? = nil,
953-
pem: Swift.String? = nil
941+
installationsCount: Swift.Int? = nil
954942
) {
955943
self.id = id
956944
self.slug = slug
@@ -966,9 +954,6 @@ public enum Components {
966954
self.permissions = permissions
967955
self.events = events
968956
self.installationsCount = installationsCount
969-
self.clientSecret = clientSecret
970-
self.webhookSecret = webhookSecret
971-
self.pem = pem
972957
}
973958
public enum CodingKeys: String, CodingKey {
974959
case id
@@ -985,9 +970,6 @@ public enum Components {
985970
case permissions
986971
case events
987972
case installationsCount = "installations_count"
988-
case clientSecret = "client_secret"
989-
case webhookSecret = "webhook_secret"
990-
case pem
991973
}
992974
}
993975
/// - Remark: Generated from `#/components/schemas/security-and-analysis`.

0 commit comments

Comments
 (0)