Skip to content

Commit aada6ee

Browse files
Commit via running ake Sources/repos
1 parent 22a3afb commit aada6ee

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed

Sources/repos/Client.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11479,7 +11479,9 @@ public struct Client: APIProtocol {
1147911479
}
1148011480
/// Delete a repository webhook
1148111481
///
11482+
/// Delete a webhook for an organization.
1148211483
///
11484+
/// The authenticated user must be a repository owner, or have admin access in the repository, to delete the webhook.
1148311485
///
1148411486
/// - Remark: HTTP `DELETE /repos/{owner}/{repo}/hooks/{hook_id}`.
1148511487
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/hooks/{hook_id}/delete(repos/delete-webhook)`.

Sources/repos/Types.swift

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,9 @@ public protocol APIProtocol: Sendable {
13021302
func repos_sol_update_hyphen_webhook(_ input: Operations.repos_sol_update_hyphen_webhook.Input) async throws -> Operations.repos_sol_update_hyphen_webhook.Output
13031303
/// Delete a repository webhook
13041304
///
1305+
/// Delete a webhook for an organization.
13051306
///
1307+
/// The authenticated user must be a repository owner, or have admin access in the repository, to delete the webhook.
13061308
///
13071309
/// - Remark: HTTP `DELETE /repos/{owner}/{repo}/hooks/{hook_id}`.
13081310
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/hooks/{hook_id}/delete(repos/delete-webhook)`.
@@ -4336,7 +4338,9 @@ extension APIProtocol {
43364338
}
43374339
/// Delete a repository webhook
43384340
///
4341+
/// Delete a webhook for an organization.
43394342
///
4343+
/// The authenticated user must be a repository owner, or have admin access in the repository, to delete the webhook.
43404344
///
43414345
/// - Remark: HTTP `DELETE /repos/{owner}/{repo}/hooks/{hook_id}`.
43424346
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/hooks/{hook_id}/delete(repos/delete-webhook)`.
@@ -15011,29 +15015,35 @@ public enum Components {
1501115015
public var payload: Swift.String?
1501215016
/// - Remark: Generated from `#/components/schemas/verification/signature`.
1501315017
public var signature: Swift.String?
15018+
/// - Remark: Generated from `#/components/schemas/verification/verified_at`.
15019+
public var verified_at: Swift.String?
1501415020
/// Creates a new `verification`.
1501515021
///
1501615022
/// - Parameters:
1501715023
/// - verified:
1501815024
/// - reason:
1501915025
/// - payload:
1502015026
/// - signature:
15027+
/// - verified_at:
1502115028
public init(
1502215029
verified: Swift.Bool,
1502315030
reason: Swift.String,
1502415031
payload: Swift.String? = nil,
15025-
signature: Swift.String? = nil
15032+
signature: Swift.String? = nil,
15033+
verified_at: Swift.String? = nil
1502615034
) {
1502715035
self.verified = verified
1502815036
self.reason = reason
1502915037
self.payload = payload
1503015038
self.signature = signature
15039+
self.verified_at = verified_at
1503115040
}
1503215041
public enum CodingKeys: String, CodingKey {
1503315042
case verified
1503415043
case reason
1503515044
case payload
1503615045
case signature
15046+
case verified_at
1503715047
}
1503815048
}
1503915049
/// Diff Entry
@@ -18672,29 +18682,35 @@ public enum Components {
1867218682
public var signature: Swift.String?
1867318683
/// - Remark: Generated from `#/components/schemas/file-commit/commit/verification/payload`.
1867418684
public var payload: Swift.String?
18685+
/// - Remark: Generated from `#/components/schemas/file-commit/commit/verification/verified_at`.
18686+
public var verified_at: Swift.String?
1867518687
/// Creates a new `verificationPayload`.
1867618688
///
1867718689
/// - Parameters:
1867818690
/// - verified:
1867918691
/// - reason:
1868018692
/// - signature:
1868118693
/// - payload:
18694+
/// - verified_at:
1868218695
public init(
1868318696
verified: Swift.Bool? = nil,
1868418697
reason: Swift.String? = nil,
1868518698
signature: Swift.String? = nil,
18686-
payload: Swift.String? = nil
18699+
payload: Swift.String? = nil,
18700+
verified_at: Swift.String? = nil
1868718701
) {
1868818702
self.verified = verified
1868918703
self.reason = reason
1869018704
self.signature = signature
1869118705
self.payload = payload
18706+
self.verified_at = verified_at
1869218707
}
1869318708
public enum CodingKeys: String, CodingKey {
1869418709
case verified
1869518710
case reason
1869618711
case signature
1869718712
case payload
18713+
case verified_at
1869818714
}
1869918715
}
1870018716
/// - Remark: Generated from `#/components/schemas/file-commit/commit/verification`.
@@ -22210,10 +22226,10 @@ public enum Components {
2221022226
///
2221122227
/// - Remark: Generated from `#/components/parameters/ref-in-query`.
2221222228
public typealias ref_hyphen_in_hyphen_query = Swift.String
22213-
/// The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned.
22229+
/// The name of the repository to filter on.
2221422230
///
2221522231
/// - Remark: Generated from `#/components/parameters/repository-name-in-query`.
22216-
public typealias repository_hyphen_name_hyphen_in_hyphen_query = Swift.Int
22232+
public typealias repository_hyphen_name_hyphen_in_hyphen_query = Swift.String
2221722233
/// The time period to filter by.
2221822234
///
2221922235
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).
@@ -23997,7 +24013,7 @@ public enum Operations {
2399724013
///
2399824014
/// - Remark: Generated from `#/paths/orgs/{org}/rulesets/rule-suites/GET/query/ref`.
2399924015
public var ref: Components.Parameters.ref_hyphen_in_hyphen_query?
24000-
/// The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned.
24016+
/// The name of the repository to filter on.
2400124017
///
2400224018
/// - Remark: Generated from `#/paths/orgs/{org}/rulesets/rule-suites/GET/query/repository_name`.
2400324019
public var repository_name: Components.Parameters.repository_hyphen_name_hyphen_in_hyphen_query?
@@ -24041,7 +24057,7 @@ public enum Operations {
2404124057
///
2404224058
/// - Parameters:
2404324059
/// - ref: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned.
24044-
/// - repository_name: The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned.
24060+
/// - repository_name: The name of the repository to filter on.
2404524061
/// - time_period: The time period to filter by.
2404624062
/// - actor_name: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned.
2404724063
/// - rule_suite_result: The rule results to filter on. When specified, only suites with this result will be returned.
@@ -46909,7 +46925,9 @@ public enum Operations {
4690946925
}
4691046926
/// Delete a repository webhook
4691146927
///
46928+
/// Delete a webhook for an organization.
4691246929
///
46930+
/// The authenticated user must be a repository owner, or have admin access in the repository, to delete the webhook.
4691346931
///
4691446932
/// - Remark: HTTP `DELETE /repos/{owner}/{repo}/hooks/{hook_id}`.
4691546933
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/hooks/{hook_id}/delete(repos/delete-webhook)`.

0 commit comments

Comments
 (0)