Skip to content

Commit fc4c441

Browse files
Merge pull request #83 from Wei18/dependabot/submodules/Submodule/github/rest-api-description-531ec66
Bump Submodule/github/rest-api-description from `cf0948f` to `531ec66`
2 parents 3abf939 + 5e2b972 commit fc4c441

File tree

11 files changed

+437
-1696
lines changed

11 files changed

+437
-1696
lines changed

Sources/activity/Client.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2616,7 +2616,7 @@ public struct Client: APIProtocol {
26162616
}
26172617
/// List events for the authenticated user
26182618
///
2619-
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
2619+
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read).
26202620
///
26212621
/// > [!NOTE]
26222622
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.

Sources/activity/Types.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public protocol APIProtocol: Sendable {
219219
func activity_sol_list_hyphen_watched_hyphen_repos_hyphen_for_hyphen_authenticated_hyphen_user(_ input: Operations.activity_sol_list_hyphen_watched_hyphen_repos_hyphen_for_hyphen_authenticated_hyphen_user.Input) async throws -> Operations.activity_sol_list_hyphen_watched_hyphen_repos_hyphen_for_hyphen_authenticated_hyphen_user.Output
220220
/// List events for the authenticated user
221221
///
222-
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
222+
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read).
223223
///
224224
/// > [!NOTE]
225225
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
@@ -694,7 +694,7 @@ extension APIProtocol {
694694
}
695695
/// List events for the authenticated user
696696
///
697-
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
697+
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read).
698698
///
699699
/// > [!NOTE]
700700
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
@@ -9765,7 +9765,7 @@ public enum Operations {
97659765
}
97669766
/// List events for the authenticated user
97679767
///
9768-
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
9768+
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read).
97699769
///
97709770
/// > [!NOTE]
97719771
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.

Sources/code-scanning/Types.swift

+6-6
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,7 @@ public enum Components {
19101910
/// - Remark: Generated from `#/components/schemas/code-scanning-organization-alert-items/instances_url`.
19111911
public var instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url
19121912
/// - Remark: Generated from `#/components/schemas/code-scanning-organization-alert-items/state`.
1913-
public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state
1913+
public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state?
19141914
/// - Remark: Generated from `#/components/schemas/code-scanning-organization-alert-items/fixed_at`.
19151915
public var fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at?
19161916
/// - Remark: Generated from `#/components/schemas/code-scanning-organization-alert-items/dismissed_by`.
@@ -1955,7 +1955,7 @@ public enum Components {
19551955
url: Components.Schemas.alert_hyphen_url,
19561956
html_url: Components.Schemas.alert_hyphen_html_hyphen_url,
19571957
instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url,
1958-
state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state,
1958+
state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state? = nil,
19591959
fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at? = nil,
19601960
dismissed_by: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil,
19611961
dismissed_at: Components.Schemas.alert_hyphen_dismissed_hyphen_at? = nil,
@@ -2017,7 +2017,7 @@ public enum Components {
20172017
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-items/instances_url`.
20182018
public var instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url
20192019
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-items/state`.
2020-
public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state
2020+
public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state?
20212021
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-items/fixed_at`.
20222022
public var fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at?
20232023
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-items/dismissed_by`.
@@ -2059,7 +2059,7 @@ public enum Components {
20592059
url: Components.Schemas.alert_hyphen_url,
20602060
html_url: Components.Schemas.alert_hyphen_html_hyphen_url,
20612061
instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url,
2062-
state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state,
2062+
state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state? = nil,
20632063
fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at? = nil,
20642064
dismissed_by: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil,
20652065
dismissed_at: Components.Schemas.alert_hyphen_dismissed_hyphen_at? = nil,
@@ -2219,7 +2219,7 @@ public enum Components {
22192219
/// - Remark: Generated from `#/components/schemas/code-scanning-alert/instances_url`.
22202220
public var instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url
22212221
/// - Remark: Generated from `#/components/schemas/code-scanning-alert/state`.
2222-
public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state
2222+
public var state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state?
22232223
/// - Remark: Generated from `#/components/schemas/code-scanning-alert/fixed_at`.
22242224
public var fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at?
22252225
/// - Remark: Generated from `#/components/schemas/code-scanning-alert/dismissed_by`.
@@ -2261,7 +2261,7 @@ public enum Components {
22612261
url: Components.Schemas.alert_hyphen_url,
22622262
html_url: Components.Schemas.alert_hyphen_html_hyphen_url,
22632263
instances_url: Components.Schemas.alert_hyphen_instances_hyphen_url,
2264-
state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state,
2264+
state: Components.Schemas.code_hyphen_scanning_hyphen_alert_hyphen_state? = nil,
22652265
fixed_at: Components.Schemas.alert_hyphen_fixed_hyphen_at? = nil,
22662266
dismissed_by: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil,
22672267
dismissed_at: Components.Schemas.alert_hyphen_dismissed_hyphen_at? = nil,

0 commit comments

Comments
 (0)