@@ -180,10 +180,12 @@ extension APIProtocol {
180180 /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/get(secret-scanning/get-alert)`.
181181 public func secretScanningGetAlert(
182182 path: Operations . SecretScanningGetAlert . Input . Path ,
183+ query: Operations . SecretScanningGetAlert . Input . Query = . init( ) ,
183184 headers: Operations . SecretScanningGetAlert . Input . Headers = . init( )
184185 ) async throws -> Operations . SecretScanningGetAlert . Output {
185186 try await secretScanningGetAlert ( Operations . SecretScanningGetAlert. Input (
186187 path: path,
188+ query: query,
187189 headers: headers
188190 ) )
189191 }
@@ -2256,6 +2258,10 @@ public enum Components {
22562258 ///
22572259 /// - Remark: Generated from `#/components/parameters/secret-scanning-alert-multi-repo`.
22582260 public typealias SecretScanningAlertMultiRepo = Swift . Bool
2261+ /// A boolean value representing whether or not to hide literal secrets in the results.
2262+ ///
2263+ /// - Remark: Generated from `#/components/parameters/secret-scanning-alert-hide-secret`.
2264+ public typealias SecretScanningAlertHideSecret = Swift . Bool
22592265 /// The account owner of the repository. The name is not case sensitive.
22602266 ///
22612267 /// - Remark: Generated from `#/components/parameters/owner`.
@@ -2475,6 +2481,10 @@ public enum Operations {
24752481 ///
24762482 /// - Remark: Generated from `#/paths/enterprises/{enterprise}/secret-scanning/alerts/GET/query/is_multi_repo`.
24772483 public var isMultiRepo : Components . Parameters . SecretScanningAlertMultiRepo ?
2484+ /// A boolean value representing whether or not to hide literal secrets in the results.
2485+ ///
2486+ /// - Remark: Generated from `#/paths/enterprises/{enterprise}/secret-scanning/alerts/GET/query/hide_secret`.
2487+ public var hideSecret : Components . Parameters . SecretScanningAlertHideSecret ?
24782488 /// Creates a new `Query`.
24792489 ///
24802490 /// - Parameters:
@@ -2489,6 +2499,7 @@ public enum Operations {
24892499 /// - validity: A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.
24902500 /// - isPubliclyLeaked: A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.
24912501 /// - isMultiRepo: A boolean value representing whether or not to filter alerts by the multi-repo tag being present.
2502+ /// - hideSecret: A boolean value representing whether or not to hide literal secrets in the results.
24922503 public init (
24932504 state: Components . Parameters . SecretScanningAlertState ? = nil ,
24942505 secretType: Components . Parameters . SecretScanningAlertSecretType ? = nil ,
@@ -2500,7 +2511,8 @@ public enum Operations {
25002511 after: Components . Parameters . PaginationAfter ? = nil ,
25012512 validity: Components . Parameters . SecretScanningAlertValidity ? = nil ,
25022513 isPubliclyLeaked: Components . Parameters . SecretScanningAlertPubliclyLeaked ? = nil ,
2503- isMultiRepo: Components . Parameters . SecretScanningAlertMultiRepo ? = nil
2514+ isMultiRepo: Components . Parameters . SecretScanningAlertMultiRepo ? = nil ,
2515+ hideSecret: Components . Parameters . SecretScanningAlertHideSecret ? = nil
25042516 ) {
25052517 self . state = state
25062518 self . secretType = secretType
@@ -2513,6 +2525,7 @@ public enum Operations {
25132525 self . validity = validity
25142526 self . isPubliclyLeaked = isPubliclyLeaked
25152527 self . isMultiRepo = isMultiRepo
2528+ self . hideSecret = hideSecret
25162529 }
25172530 }
25182531 public var query : Operations . SecretScanningListAlertsForEnterprise . Input . Query
@@ -2785,6 +2798,10 @@ public enum Operations {
27852798 ///
27862799 /// - Remark: Generated from `#/paths/orgs/{org}/secret-scanning/alerts/GET/query/is_multi_repo`.
27872800 public var isMultiRepo : Components . Parameters . SecretScanningAlertMultiRepo ?
2801+ /// A boolean value representing whether or not to hide literal secrets in the results.
2802+ ///
2803+ /// - Remark: Generated from `#/paths/orgs/{org}/secret-scanning/alerts/GET/query/hide_secret`.
2804+ public var hideSecret : Components . Parameters . SecretScanningAlertHideSecret ?
27882805 /// Creates a new `Query`.
27892806 ///
27902807 /// - Parameters:
@@ -2800,6 +2817,7 @@ public enum Operations {
28002817 /// - validity: A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.
28012818 /// - isPubliclyLeaked: A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.
28022819 /// - isMultiRepo: A boolean value representing whether or not to filter alerts by the multi-repo tag being present.
2820+ /// - hideSecret: A boolean value representing whether or not to hide literal secrets in the results.
28032821 public init (
28042822 state: Components . Parameters . SecretScanningAlertState ? = nil ,
28052823 secretType: Components . Parameters . SecretScanningAlertSecretType ? = nil ,
@@ -2812,7 +2830,8 @@ public enum Operations {
28122830 after: Components . Parameters . SecretScanningPaginationAfterOrgRepo ? = nil ,
28132831 validity: Components . Parameters . SecretScanningAlertValidity ? = nil ,
28142832 isPubliclyLeaked: Components . Parameters . SecretScanningAlertPubliclyLeaked ? = nil ,
2815- isMultiRepo: Components . Parameters . SecretScanningAlertMultiRepo ? = nil
2833+ isMultiRepo: Components . Parameters . SecretScanningAlertMultiRepo ? = nil ,
2834+ hideSecret: Components . Parameters . SecretScanningAlertHideSecret ? = nil
28162835 ) {
28172836 self . state = state
28182837 self . secretType = secretType
@@ -2826,6 +2845,7 @@ public enum Operations {
28262845 self . validity = validity
28272846 self . isPubliclyLeaked = isPubliclyLeaked
28282847 self . isMultiRepo = isMultiRepo
2848+ self . hideSecret = hideSecret
28292849 }
28302850 }
28312851 public var query : Operations . SecretScanningListAlertsForOrg . Input . Query
@@ -3107,6 +3127,10 @@ public enum Operations {
31073127 ///
31083128 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/secret-scanning/alerts/GET/query/is_multi_repo`.
31093129 public var isMultiRepo : Components . Parameters . SecretScanningAlertMultiRepo ?
3130+ /// A boolean value representing whether or not to hide literal secrets in the results.
3131+ ///
3132+ /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/secret-scanning/alerts/GET/query/hide_secret`.
3133+ public var hideSecret : Components . Parameters . SecretScanningAlertHideSecret ?
31103134 /// Creates a new `Query`.
31113135 ///
31123136 /// - Parameters:
@@ -3122,6 +3146,7 @@ public enum Operations {
31223146 /// - validity: A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.
31233147 /// - isPubliclyLeaked: A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.
31243148 /// - isMultiRepo: A boolean value representing whether or not to filter alerts by the multi-repo tag being present.
3149+ /// - hideSecret: A boolean value representing whether or not to hide literal secrets in the results.
31253150 public init (
31263151 state: Components . Parameters . SecretScanningAlertState ? = nil ,
31273152 secretType: Components . Parameters . SecretScanningAlertSecretType ? = nil ,
@@ -3134,7 +3159,8 @@ public enum Operations {
31343159 after: Components . Parameters . SecretScanningPaginationAfterOrgRepo ? = nil ,
31353160 validity: Components . Parameters . SecretScanningAlertValidity ? = nil ,
31363161 isPubliclyLeaked: Components . Parameters . SecretScanningAlertPubliclyLeaked ? = nil ,
3137- isMultiRepo: Components . Parameters . SecretScanningAlertMultiRepo ? = nil
3162+ isMultiRepo: Components . Parameters . SecretScanningAlertMultiRepo ? = nil ,
3163+ hideSecret: Components . Parameters . SecretScanningAlertHideSecret ? = nil
31383164 ) {
31393165 self . state = state
31403166 self . secretType = secretType
@@ -3148,6 +3174,7 @@ public enum Operations {
31483174 self . validity = validity
31493175 self . isPubliclyLeaked = isPubliclyLeaked
31503176 self . isMultiRepo = isMultiRepo
3177+ self . hideSecret = hideSecret
31513178 }
31523179 }
31533180 public var query : Operations . SecretScanningListAlertsForRepo . Input . Query
@@ -3364,6 +3391,21 @@ public enum Operations {
33643391 }
33653392 }
33663393 public var path : Operations . SecretScanningGetAlert . Input . Path
3394+ /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/GET/query`.
3395+ public struct Query : Sendable , Hashable {
3396+ /// A boolean value representing whether or not to hide literal secrets in the results.
3397+ ///
3398+ /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/GET/query/hide_secret`.
3399+ public var hideSecret : Components . Parameters . SecretScanningAlertHideSecret ?
3400+ /// Creates a new `Query`.
3401+ ///
3402+ /// - Parameters:
3403+ /// - hideSecret: A boolean value representing whether or not to hide literal secrets in the results.
3404+ public init ( hideSecret: Components . Parameters . SecretScanningAlertHideSecret ? = nil ) {
3405+ self . hideSecret = hideSecret
3406+ }
3407+ }
3408+ public var query : Operations . SecretScanningGetAlert . Input . Query
33673409 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/GET/header`.
33683410 public struct Headers : Sendable , Hashable {
33693411 public var accept : [ OpenAPIRuntime . AcceptHeaderContentType < Operations . SecretScanningGetAlert . AcceptableContentType > ]
@@ -3380,12 +3422,15 @@ public enum Operations {
33803422 ///
33813423 /// - Parameters:
33823424 /// - path:
3425+ /// - query:
33833426 /// - headers:
33843427 public init (
33853428 path: Operations . SecretScanningGetAlert . Input . Path ,
3429+ query: Operations . SecretScanningGetAlert . Input . Query = . init( ) ,
33863430 headers: Operations . SecretScanningGetAlert . Input . Headers = . init( )
33873431 ) {
33883432 self . path = path
3433+ self . query = query
33893434 self . headers = headers
33903435 }
33913436 }
0 commit comments