Skip to content

Commit 83a5f5c

Browse files
Commit via running ake Sources/dependabot
1 parent 11b2456 commit 83a5f5c

File tree

1 file changed

+43
-5
lines changed

1 file changed

+43
-5
lines changed

Sources/dependabot/Types.swift

Lines changed: 43 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,8 @@ public enum Components {
674674
public var site_admin: Swift.Bool
675675
/// - Remark: Generated from `#/components/schemas/simple-user/starred_at`.
676676
public var starred_at: Swift.String?
677+
/// - Remark: Generated from `#/components/schemas/simple-user/user_view_type`.
678+
public var user_view_type: Swift.String?
677679
/// Creates a new `simple_hyphen_user`.
678680
///
679681
/// - Parameters:
@@ -698,6 +700,7 @@ public enum Components {
698700
/// - _type:
699701
/// - site_admin:
700702
/// - starred_at:
703+
/// - user_view_type:
701704
public init(
702705
name: Swift.String? = nil,
703706
email: Swift.String? = nil,
@@ -719,7 +722,8 @@ public enum Components {
719722
received_events_url: Swift.String,
720723
_type: Swift.String,
721724
site_admin: Swift.Bool,
722-
starred_at: Swift.String? = nil
725+
starred_at: Swift.String? = nil,
726+
user_view_type: Swift.String? = nil
723727
) {
724728
self.name = name
725729
self.email = email
@@ -742,6 +746,7 @@ public enum Components {
742746
self._type = _type
743747
self.site_admin = site_admin
744748
self.starred_at = starred_at
749+
self.user_view_type = user_view_type
745750
}
746751
public enum CodingKeys: String, CodingKey {
747752
case name
@@ -765,6 +770,7 @@ public enum Components {
765770
case _type = "type"
766771
case site_admin
767772
case starred_at
773+
case user_view_type
768774
}
769775
}
770776
/// Basic Error
@@ -881,6 +887,8 @@ public enum Components {
881887
public var site_admin: Swift.Bool
882888
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/starred_at`.
883889
public var starred_at: Swift.String?
890+
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/user_view_type`.
891+
public var user_view_type: Swift.String?
884892
/// Creates a new `nullable_hyphen_simple_hyphen_user`.
885893
///
886894
/// - Parameters:
@@ -905,6 +913,7 @@ public enum Components {
905913
/// - _type:
906914
/// - site_admin:
907915
/// - starred_at:
916+
/// - user_view_type:
908917
public init(
909918
name: Swift.String? = nil,
910919
email: Swift.String? = nil,
@@ -926,7 +935,8 @@ public enum Components {
926935
received_events_url: Swift.String,
927936
_type: Swift.String,
928937
site_admin: Swift.Bool,
929-
starred_at: Swift.String? = nil
938+
starred_at: Swift.String? = nil,
939+
user_view_type: Swift.String? = nil
930940
) {
931941
self.name = name
932942
self.email = email
@@ -949,6 +959,7 @@ public enum Components {
949959
self._type = _type
950960
self.site_admin = site_admin
951961
self.starred_at = starred_at
962+
self.user_view_type = user_view_type
952963
}
953964
public enum CodingKeys: String, CodingKey {
954965
case name
@@ -972,6 +983,7 @@ public enum Components {
972983
case _type = "type"
973984
case site_admin
974985
case starred_at
986+
case user_view_type
975987
}
976988
}
977989
/// Scim Error
@@ -2397,6 +2409,28 @@ public enum Components {
23972409
}
23982410
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_non_provider_patterns`.
23992411
public var secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload?
2412+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
2413+
public struct secret_scanning_ai_detectionPayload: Codable, Hashable, Sendable {
2414+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
2415+
@frozen public enum statusPayload: String, Codable, Hashable, Sendable {
2416+
case enabled = "enabled"
2417+
case disabled = "disabled"
2418+
}
2419+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
2420+
public var status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload?
2421+
/// Creates a new `secret_scanning_ai_detectionPayload`.
2422+
///
2423+
/// - Parameters:
2424+
/// - status:
2425+
public init(status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload? = nil) {
2426+
self.status = status
2427+
}
2428+
public enum CodingKeys: String, CodingKey {
2429+
case status
2430+
}
2431+
}
2432+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
2433+
public var secret_scanning_ai_detection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload?
24002434
/// Creates a new `security_hyphen_and_hyphen_analysis`.
24012435
///
24022436
/// - Parameters:
@@ -2405,25 +2439,29 @@ public enum Components {
24052439
/// - secret_scanning:
24062440
/// - secret_scanning_push_protection:
24072441
/// - secret_scanning_non_provider_patterns:
2442+
/// - secret_scanning_ai_detection:
24082443
public init(
24092444
advanced_security: Components.Schemas.security_hyphen_and_hyphen_analysis.advanced_securityPayload? = nil,
24102445
dependabot_security_updates: Components.Schemas.security_hyphen_and_hyphen_analysis.dependabot_security_updatesPayload? = nil,
24112446
secret_scanning: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanningPayload? = nil,
24122447
secret_scanning_push_protection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_push_protectionPayload? = nil,
2413-
secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload? = nil
2448+
secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload? = nil,
2449+
secret_scanning_ai_detection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload? = nil
24142450
) {
24152451
self.advanced_security = advanced_security
24162452
self.dependabot_security_updates = dependabot_security_updates
24172453
self.secret_scanning = secret_scanning
24182454
self.secret_scanning_push_protection = secret_scanning_push_protection
24192455
self.secret_scanning_non_provider_patterns = secret_scanning_non_provider_patterns
2456+
self.secret_scanning_ai_detection = secret_scanning_ai_detection
24202457
}
24212458
public enum CodingKeys: String, CodingKey {
24222459
case advanced_security
24232460
case dependabot_security_updates
24242461
case secret_scanning
24252462
case secret_scanning_push_protection
24262463
case secret_scanning_non_provider_patterns
2464+
case secret_scanning_ai_detection
24272465
}
24282466
}
24292467
/// Minimal Repository
@@ -5852,7 +5890,7 @@ public enum Operations {
58525890
///
58535891
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/dependabot/alerts/GET/query/direction`.
58545892
public var direction: Components.Parameters.direction?
5855-
/// **Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.
5893+
/// **Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.
58565894
///
58575895
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/dependabot/alerts/GET/query/page`.
58585896
@available(*, deprecated)
@@ -5893,7 +5931,7 @@ public enum Operations {
58935931
/// - scope: The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.
58945932
/// - sort: The property by which to sort the results.
58955933
/// - direction: The direction to sort the results by.
5896-
/// - page: **Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.
5934+
/// - page: **Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.
58975935
/// - per_page: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
58985936
/// - before: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
58995937
/// - after: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

0 commit comments

Comments
 (0)