diff --git a/Sources/apps/Types.swift b/Sources/apps/Types.swift index 5715f7a2a14..3cf04b1188e 100644 --- a/Sources/apps/Types.swift +++ b/Sources/apps/Types.swift @@ -1688,6 +1688,10 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/hook-delivery-item/repository_id`. public var repository_id: Swift.Int? + /// Time when the webhook delivery was throttled. + /// + /// - Remark: Generated from `#/components/schemas/hook-delivery-item/throttled_at`. + public var throttled_at: Foundation.Date? /// Creates a new `hook_hyphen_delivery_hyphen_item`. /// /// - Parameters: @@ -1702,6 +1706,7 @@ public enum Components { /// - action: The type of activity for the event that triggered the delivery. /// - installation_id: The id of the GitHub App installation associated with this event. /// - repository_id: The id of the repository associated with this event. + /// - throttled_at: Time when the webhook delivery was throttled. public init( id: Swift.Int, guid: Swift.String, @@ -1713,7 +1718,8 @@ public enum Components { event: Swift.String, action: Swift.String? = nil, installation_id: Swift.Int? = nil, - repository_id: Swift.Int? = nil + repository_id: Swift.Int? = nil, + throttled_at: Foundation.Date? = nil ) { self.id = id self.guid = guid @@ -1726,6 +1732,7 @@ public enum Components { self.action = action self.installation_id = installation_id self.repository_id = repository_id + self.throttled_at = throttled_at } public enum CodingKeys: String, CodingKey { case id @@ -1739,6 +1746,7 @@ public enum Components { case action case installation_id case repository_id + case throttled_at } } /// Scim Error @@ -1963,6 +1971,10 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/hook-delivery/repository_id`. public var repository_id: Swift.Int? + /// Time when the webhook delivery was throttled. + /// + /// - Remark: Generated from `#/components/schemas/hook-delivery/throttled_at`. + public var throttled_at: Foundation.Date? /// The URL target of the delivery. /// /// - Remark: Generated from `#/components/schemas/hook-delivery/url`. @@ -2099,6 +2111,7 @@ public enum Components { /// - action: The type of activity for the event that triggered the delivery. /// - installation_id: The id of the GitHub App installation associated with this event. /// - repository_id: The id of the repository associated with this event. + /// - throttled_at: Time when the webhook delivery was throttled. /// - url: The URL target of the delivery. /// - request: /// - response: @@ -2114,6 +2127,7 @@ public enum Components { action: Swift.String? = nil, installation_id: Swift.Int? = nil, repository_id: Swift.Int? = nil, + throttled_at: Foundation.Date? = nil, url: Swift.String? = nil, request: Components.Schemas.hook_hyphen_delivery.requestPayload, response: Components.Schemas.hook_hyphen_delivery.responsePayload @@ -2129,6 +2143,7 @@ public enum Components { self.action = action self.installation_id = installation_id self.repository_id = repository_id + self.throttled_at = throttled_at self.url = url self.request = request self.response = response @@ -2145,6 +2160,7 @@ public enum Components { case action case installation_id case repository_id + case throttled_at case url case request case response diff --git a/Sources/orgs/Types.swift b/Sources/orgs/Types.swift index 58af8999593..9cb950ed27f 100644 --- a/Sources/orgs/Types.swift +++ b/Sources/orgs/Types.swift @@ -2695,6 +2695,10 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/hook-delivery-item/repository_id`. public var repository_id: Swift.Int? + /// Time when the webhook delivery was throttled. + /// + /// - Remark: Generated from `#/components/schemas/hook-delivery-item/throttled_at`. + public var throttled_at: Foundation.Date? /// Creates a new `hook_hyphen_delivery_hyphen_item`. /// /// - Parameters: @@ -2709,6 +2713,7 @@ public enum Components { /// - action: The type of activity for the event that triggered the delivery. /// - installation_id: The id of the GitHub App installation associated with this event. /// - repository_id: The id of the repository associated with this event. + /// - throttled_at: Time when the webhook delivery was throttled. public init( id: Swift.Int, guid: Swift.String, @@ -2720,7 +2725,8 @@ public enum Components { event: Swift.String, action: Swift.String? = nil, installation_id: Swift.Int? = nil, - repository_id: Swift.Int? = nil + repository_id: Swift.Int? = nil, + throttled_at: Foundation.Date? = nil ) { self.id = id self.guid = guid @@ -2733,6 +2739,7 @@ public enum Components { self.action = action self.installation_id = installation_id self.repository_id = repository_id + self.throttled_at = throttled_at } public enum CodingKeys: String, CodingKey { case id @@ -2746,6 +2753,7 @@ public enum Components { case action case installation_id case repository_id + case throttled_at } } /// Scim Error @@ -2970,6 +2978,10 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/hook-delivery/repository_id`. public var repository_id: Swift.Int? + /// Time when the webhook delivery was throttled. + /// + /// - Remark: Generated from `#/components/schemas/hook-delivery/throttled_at`. + public var throttled_at: Foundation.Date? /// The URL target of the delivery. /// /// - Remark: Generated from `#/components/schemas/hook-delivery/url`. @@ -3106,6 +3118,7 @@ public enum Components { /// - action: The type of activity for the event that triggered the delivery. /// - installation_id: The id of the GitHub App installation associated with this event. /// - repository_id: The id of the repository associated with this event. + /// - throttled_at: Time when the webhook delivery was throttled. /// - url: The URL target of the delivery. /// - request: /// - response: @@ -3121,6 +3134,7 @@ public enum Components { action: Swift.String? = nil, installation_id: Swift.Int? = nil, repository_id: Swift.Int? = nil, + throttled_at: Foundation.Date? = nil, url: Swift.String? = nil, request: Components.Schemas.hook_hyphen_delivery.requestPayload, response: Components.Schemas.hook_hyphen_delivery.responsePayload @@ -3136,6 +3150,7 @@ public enum Components { self.action = action self.installation_id = installation_id self.repository_id = repository_id + self.throttled_at = throttled_at self.url = url self.request = request self.response = response @@ -3152,6 +3167,7 @@ public enum Components { case action case installation_id case repository_id + case throttled_at case url case request case response diff --git a/Sources/repos/Types.swift b/Sources/repos/Types.swift index ffa9a4c2c16..f135162c848 100644 --- a/Sources/repos/Types.swift +++ b/Sources/repos/Types.swift @@ -6428,6 +6428,10 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/hook-delivery-item/repository_id`. public var repository_id: Swift.Int? + /// Time when the webhook delivery was throttled. + /// + /// - Remark: Generated from `#/components/schemas/hook-delivery-item/throttled_at`. + public var throttled_at: Foundation.Date? /// Creates a new `hook_hyphen_delivery_hyphen_item`. /// /// - Parameters: @@ -6442,6 +6446,7 @@ public enum Components { /// - action: The type of activity for the event that triggered the delivery. /// - installation_id: The id of the GitHub App installation associated with this event. /// - repository_id: The id of the repository associated with this event. + /// - throttled_at: Time when the webhook delivery was throttled. public init( id: Swift.Int, guid: Swift.String, @@ -6453,7 +6458,8 @@ public enum Components { event: Swift.String, action: Swift.String? = nil, installation_id: Swift.Int? = nil, - repository_id: Swift.Int? = nil + repository_id: Swift.Int? = nil, + throttled_at: Foundation.Date? = nil ) { self.id = id self.guid = guid @@ -6466,6 +6472,7 @@ public enum Components { self.action = action self.installation_id = installation_id self.repository_id = repository_id + self.throttled_at = throttled_at } public enum CodingKeys: String, CodingKey { case id @@ -6479,6 +6486,7 @@ public enum Components { case action case installation_id case repository_id + case throttled_at } } /// Scim Error @@ -6703,6 +6711,10 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/hook-delivery/repository_id`. public var repository_id: Swift.Int? + /// Time when the webhook delivery was throttled. + /// + /// - Remark: Generated from `#/components/schemas/hook-delivery/throttled_at`. + public var throttled_at: Foundation.Date? /// The URL target of the delivery. /// /// - Remark: Generated from `#/components/schemas/hook-delivery/url`. @@ -6839,6 +6851,7 @@ public enum Components { /// - action: The type of activity for the event that triggered the delivery. /// - installation_id: The id of the GitHub App installation associated with this event. /// - repository_id: The id of the repository associated with this event. + /// - throttled_at: Time when the webhook delivery was throttled. /// - url: The URL target of the delivery. /// - request: /// - response: @@ -6854,6 +6867,7 @@ public enum Components { action: Swift.String? = nil, installation_id: Swift.Int? = nil, repository_id: Swift.Int? = nil, + throttled_at: Foundation.Date? = nil, url: Swift.String? = nil, request: Components.Schemas.hook_hyphen_delivery.requestPayload, response: Components.Schemas.hook_hyphen_delivery.responsePayload @@ -6869,6 +6883,7 @@ public enum Components { self.action = action self.installation_id = installation_id self.repository_id = repository_id + self.throttled_at = throttled_at self.url = url self.request = request self.response = response @@ -6885,6 +6900,7 @@ public enum Components { case action case installation_id case repository_id + case throttled_at case url case request case response diff --git a/Submodule/github/rest-api-description b/Submodule/github/rest-api-description index 5b52d7fa226..e04c0a4453f 160000 --- a/Submodule/github/rest-api-description +++ b/Submodule/github/rest-api-description @@ -1 +1 @@ -Subproject commit 5b52d7fa2263095845f4c42fbb54d6d725b0e32f +Subproject commit e04c0a4453fdbc5f21f5b3275a7d480e90174875