Skip to content

Commit 6aeff9f

Browse files
Commit via running ake Sources/security-advisories
1 parent b62b30e commit 6aeff9f

File tree

1 file changed

+45
-7
lines changed

1 file changed

+45
-7
lines changed

Sources/security-advisories/Types.swift

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@ public enum Components {
546546
public var site_admin: Swift.Bool
547547
/// - Remark: Generated from `#/components/schemas/simple-user/starred_at`.
548548
public var starred_at: Swift.String?
549+
/// - Remark: Generated from `#/components/schemas/simple-user/user_view_type`.
550+
public var user_view_type: Swift.String?
549551
/// Creates a new `simple_hyphen_user`.
550552
///
551553
/// - Parameters:
@@ -570,6 +572,7 @@ public enum Components {
570572
/// - _type:
571573
/// - site_admin:
572574
/// - starred_at:
575+
/// - user_view_type:
573576
public init(
574577
name: Swift.String? = nil,
575578
email: Swift.String? = nil,
@@ -591,7 +594,8 @@ public enum Components {
591594
received_events_url: Swift.String,
592595
_type: Swift.String,
593596
site_admin: Swift.Bool,
594-
starred_at: Swift.String? = nil
597+
starred_at: Swift.String? = nil,
598+
user_view_type: Swift.String? = nil
595599
) {
596600
self.name = name
597601
self.email = email
@@ -614,6 +618,7 @@ public enum Components {
614618
self._type = _type
615619
self.site_admin = site_admin
616620
self.starred_at = starred_at
621+
self.user_view_type = user_view_type
617622
}
618623
public enum CodingKeys: String, CodingKey {
619624
case name
@@ -637,6 +642,7 @@ public enum Components {
637642
case _type = "type"
638643
case site_admin
639644
case starred_at
645+
case user_view_type
640646
}
641647
}
642648
/// The type of credit the user is receiving.
@@ -1234,6 +1240,8 @@ public enum Components {
12341240
public var site_admin: Swift.Bool
12351241
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/starred_at`.
12361242
public var starred_at: Swift.String?
1243+
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/user_view_type`.
1244+
public var user_view_type: Swift.String?
12371245
/// Creates a new `nullable_hyphen_simple_hyphen_user`.
12381246
///
12391247
/// - Parameters:
@@ -1258,6 +1266,7 @@ public enum Components {
12581266
/// - _type:
12591267
/// - site_admin:
12601268
/// - starred_at:
1269+
/// - user_view_type:
12611270
public init(
12621271
name: Swift.String? = nil,
12631272
email: Swift.String? = nil,
@@ -1279,7 +1288,8 @@ public enum Components {
12791288
received_events_url: Swift.String,
12801289
_type: Swift.String,
12811290
site_admin: Swift.Bool,
1282-
starred_at: Swift.String? = nil
1291+
starred_at: Swift.String? = nil,
1292+
user_view_type: Swift.String? = nil
12831293
) {
12841294
self.name = name
12851295
self.email = email
@@ -1302,6 +1312,7 @@ public enum Components {
13021312
self._type = _type
13031313
self.site_admin = site_admin
13041314
self.starred_at = starred_at
1315+
self.user_view_type = user_view_type
13051316
}
13061317
public enum CodingKeys: String, CodingKey {
13071318
case name
@@ -1325,6 +1336,7 @@ public enum Components {
13251336
case _type = "type"
13261337
case site_admin
13271338
case starred_at
1339+
case user_view_type
13281340
}
13291341
}
13301342
/// Scim Error
@@ -1798,7 +1810,7 @@ public enum Components {
17981810
///
17991811
/// - Remark: Generated from `#/components/schemas/repository/allow_update_branch`.
18001812
public var allow_update_branch: Swift.Bool?
1801-
/// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
1813+
/// Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
18021814
///
18031815
/// - Remark: Generated from `#/components/schemas/repository/use_squash_pr_title_as_default`.
18041816
@available(*, deprecated)
@@ -1986,7 +1998,7 @@ public enum Components {
19861998
/// - allow_auto_merge: Whether to allow Auto-merge to be used on pull requests.
19871999
/// - delete_branch_on_merge: Whether to delete head branches when pull requests are merged
19882000
/// - allow_update_branch: Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
1989-
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
2001+
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
19902002
/// - squash_merge_commit_title: The default value for a squash merge commit title:
19912003
/// - squash_merge_commit_message: The default value for a squash merge commit message:
19922004
/// - merge_commit_title: The default value for a merge commit title.
@@ -3034,6 +3046,28 @@ public enum Components {
30343046
}
30353047
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_non_provider_patterns`.
30363048
public var secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload?
3049+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
3050+
public struct secret_scanning_ai_detectionPayload: Codable, Hashable, Sendable {
3051+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
3052+
@frozen public enum statusPayload: String, Codable, Hashable, Sendable {
3053+
case enabled = "enabled"
3054+
case disabled = "disabled"
3055+
}
3056+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
3057+
public var status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload?
3058+
/// Creates a new `secret_scanning_ai_detectionPayload`.
3059+
///
3060+
/// - Parameters:
3061+
/// - status:
3062+
public init(status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload? = nil) {
3063+
self.status = status
3064+
}
3065+
public enum CodingKeys: String, CodingKey {
3066+
case status
3067+
}
3068+
}
3069+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
3070+
public var secret_scanning_ai_detection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload?
30373071
/// Creates a new `security_hyphen_and_hyphen_analysis`.
30383072
///
30393073
/// - Parameters:
@@ -3042,25 +3076,29 @@ public enum Components {
30423076
/// - secret_scanning:
30433077
/// - secret_scanning_push_protection:
30443078
/// - secret_scanning_non_provider_patterns:
3079+
/// - secret_scanning_ai_detection:
30453080
public init(
30463081
advanced_security: Components.Schemas.security_hyphen_and_hyphen_analysis.advanced_securityPayload? = nil,
30473082
dependabot_security_updates: Components.Schemas.security_hyphen_and_hyphen_analysis.dependabot_security_updatesPayload? = nil,
30483083
secret_scanning: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanningPayload? = nil,
30493084
secret_scanning_push_protection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_push_protectionPayload? = nil,
3050-
secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload? = nil
3085+
secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload? = nil,
3086+
secret_scanning_ai_detection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload? = nil
30513087
) {
30523088
self.advanced_security = advanced_security
30533089
self.dependabot_security_updates = dependabot_security_updates
30543090
self.secret_scanning = secret_scanning
30553091
self.secret_scanning_push_protection = secret_scanning_push_protection
30563092
self.secret_scanning_non_provider_patterns = secret_scanning_non_provider_patterns
3093+
self.secret_scanning_ai_detection = secret_scanning_ai_detection
30573094
}
30583095
public enum CodingKeys: String, CodingKey {
30593096
case advanced_security
30603097
case dependabot_security_updates
30613098
case secret_scanning
30623099
case secret_scanning_push_protection
30633100
case secret_scanning_non_provider_patterns
3101+
case secret_scanning_ai_detection
30643102
}
30653103
}
30663104
/// A repository on GitHub.
@@ -3311,7 +3349,7 @@ public enum Components {
33113349
///
33123350
/// - Remark: Generated from `#/components/schemas/nullable-repository/allow_update_branch`.
33133351
public var allow_update_branch: Swift.Bool?
3314-
/// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
3352+
/// Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
33153353
///
33163354
/// - Remark: Generated from `#/components/schemas/nullable-repository/use_squash_pr_title_as_default`.
33173355
@available(*, deprecated)
@@ -3499,7 +3537,7 @@ public enum Components {
34993537
/// - allow_auto_merge: Whether to allow Auto-merge to be used on pull requests.
35003538
/// - delete_branch_on_merge: Whether to delete head branches when pull requests are merged
35013539
/// - allow_update_branch: Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
3502-
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
3540+
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
35033541
/// - squash_merge_commit_title: The default value for a squash merge commit title:
35043542
/// - squash_merge_commit_message: The default value for a squash merge commit message:
35053543
/// - merge_commit_title: The default value for a merge commit title.

0 commit comments

Comments
 (0)