Skip to content

Commit 7ec21b5

Browse files
Merge pull request #61 from Wei18/dependabot/submodules/Submodule/github/rest-api-description-fd544c2
Bump Submodule/github/rest-api-description from `5af586d` to `fd544c2`
2 parents 7b113ea + 8ad4b63 commit 7ec21b5

File tree

25 files changed

+113
-126
lines changed

25 files changed

+113
-126
lines changed

Sources/actions/Types.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4180,7 +4180,7 @@ public enum Components {
41804180
/// Unique identifier of the repository
41814181
///
41824182
/// - Remark: Generated from `#/components/schemas/repository/id`.
4183-
public var id: Swift.Int
4183+
public var id: Swift.Int64
41844184
/// - Remark: Generated from `#/components/schemas/repository/node_id`.
41854185
public var node_id: Swift.String
41864186
/// The name of the repository.
@@ -4623,7 +4623,7 @@ public enum Components {
46234623
/// - starred_at:
46244624
/// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository
46254625
public init(
4626-
id: Swift.Int,
4626+
id: Swift.Int64,
46274627
node_id: Swift.String,
46284628
name: Swift.String,
46294629
full_name: Swift.String,
@@ -5558,7 +5558,7 @@ public enum Components {
55585558
/// - Remark: Generated from `#/components/schemas/minimal-repository`.
55595559
public struct minimal_hyphen_repository: Codable, Hashable, Sendable {
55605560
/// - Remark: Generated from `#/components/schemas/minimal-repository/id`.
5561-
public var id: Swift.Int
5561+
public var id: Swift.Int64
55625562
/// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`.
55635563
public var node_id: Swift.String
55645564
/// - Remark: Generated from `#/components/schemas/minimal-repository/name`.
@@ -5906,7 +5906,7 @@ public enum Components {
59065906
/// - web_commit_signoff_required:
59075907
/// - security_and_analysis:
59085908
public init(
5909-
id: Swift.Int,
5909+
id: Swift.Int64,
59105910
node_id: Swift.String,
59115911
name: Swift.String,
59125912
full_name: Swift.String,

Sources/activity/Types.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ public enum Components {
13071307
/// Unique identifier of the repository
13081308
///
13091309
/// - Remark: Generated from `#/components/schemas/repository/id`.
1310-
public var id: Swift.Int
1310+
public var id: Swift.Int64
13111311
/// - Remark: Generated from `#/components/schemas/repository/node_id`.
13121312
public var node_id: Swift.String
13131313
/// The name of the repository.
@@ -1750,7 +1750,7 @@ public enum Components {
17501750
/// - starred_at:
17511751
/// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository
17521752
public init(
1753-
id: Swift.Int,
1753+
id: Swift.Int64,
17541754
node_id: Swift.String,
17551755
name: Swift.String,
17561756
full_name: Swift.String,
@@ -3523,7 +3523,7 @@ public enum Components {
35233523
/// - Remark: Generated from `#/components/schemas/minimal-repository`.
35243524
public struct minimal_hyphen_repository: Codable, Hashable, Sendable {
35253525
/// - Remark: Generated from `#/components/schemas/minimal-repository/id`.
3526-
public var id: Swift.Int
3526+
public var id: Swift.Int64
35273527
/// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`.
35283528
public var node_id: Swift.String
35293529
/// - Remark: Generated from `#/components/schemas/minimal-repository/name`.
@@ -3871,7 +3871,7 @@ public enum Components {
38713871
/// - web_commit_signoff_required:
38723872
/// - security_and_analysis:
38733873
public init(
3874-
id: Swift.Int,
3874+
id: Swift.Int64,
38753875
node_id: Swift.String,
38763876
name: Swift.String,
38773877
full_name: Swift.String,

Sources/apps/Types.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3317,7 +3317,7 @@ public enum Components {
33173317
/// Unique identifier of the repository
33183318
///
33193319
/// - Remark: Generated from `#/components/schemas/repository/id`.
3320-
public var id: Swift.Int
3320+
public var id: Swift.Int64
33213321
/// - Remark: Generated from `#/components/schemas/repository/node_id`.
33223322
public var node_id: Swift.String
33233323
/// The name of the repository.
@@ -3760,7 +3760,7 @@ public enum Components {
37603760
/// - starred_at:
37613761
/// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository
37623762
public init(
3763-
id: Swift.Int,
3763+
id: Swift.Int64,
37643764
node_id: Swift.String,
37653765
name: Swift.String,
37663766
full_name: Swift.String,

Sources/checks/Types.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ public enum Components {
11161116
/// - Remark: Generated from `#/components/schemas/minimal-repository`.
11171117
public struct minimal_hyphen_repository: Codable, Hashable, Sendable {
11181118
/// - Remark: Generated from `#/components/schemas/minimal-repository/id`.
1119-
public var id: Swift.Int
1119+
public var id: Swift.Int64
11201120
/// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`.
11211121
public var node_id: Swift.String
11221122
/// - Remark: Generated from `#/components/schemas/minimal-repository/name`.
@@ -1464,7 +1464,7 @@ public enum Components {
14641464
/// - web_commit_signoff_required:
14651465
/// - security_and_analysis:
14661466
public init(
1467-
id: Swift.Int,
1467+
id: Swift.Int64,
14681468
node_id: Swift.String,
14691469
name: Swift.String,
14701470
full_name: Swift.String,

Sources/code-scanning/Types.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ public enum Components {
11561156
/// A unique identifier of the repository.
11571157
///
11581158
/// - Remark: Generated from `#/components/schemas/simple-repository/id`.
1159-
public var id: Swift.Int
1159+
public var id: Swift.Int64
11601160
/// The GraphQL identifier of the repository.
11611161
///
11621162
/// - Remark: Generated from `#/components/schemas/simple-repository/node_id`.
@@ -1385,7 +1385,7 @@ public enum Components {
13851385
/// - trees_url: A template for the API URL to create or retrieve a raw Git tree of the repository.
13861386
/// - hooks_url: The API URL to list the hooks on the repository.
13871387
public init(
1388-
id: Swift.Int,
1388+
id: Swift.Int64,
13891389
node_id: Swift.String,
13901390
name: Swift.String,
13911391
full_name: Swift.String,

Sources/code-security/Types.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public enum Components {
557557
/// A unique identifier of the repository.
558558
///
559559
/// - Remark: Generated from `#/components/schemas/simple-repository/id`.
560-
public var id: Swift.Int
560+
public var id: Swift.Int64
561561
/// The GraphQL identifier of the repository.
562562
///
563563
/// - Remark: Generated from `#/components/schemas/simple-repository/node_id`.
@@ -786,7 +786,7 @@ public enum Components {
786786
/// - trees_url: A template for the API URL to create or retrieve a raw Git tree of the repository.
787787
/// - hooks_url: The API URL to list the hooks on the repository.
788788
public init(
789-
id: Swift.Int,
789+
id: Swift.Int64,
790790
node_id: Swift.String,
791791
name: Swift.String,
792792
full_name: Swift.String,

Sources/codespaces/Types.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,7 @@ public enum Components {
19481948
/// Unique identifier of the repository
19491949
///
19501950
/// - Remark: Generated from `#/components/schemas/repository/id`.
1951-
public var id: Swift.Int
1951+
public var id: Swift.Int64
19521952
/// - Remark: Generated from `#/components/schemas/repository/node_id`.
19531953
public var node_id: Swift.String
19541954
/// The name of the repository.
@@ -2391,7 +2391,7 @@ public enum Components {
23912391
/// - starred_at:
23922392
/// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository
23932393
public init(
2394-
id: Swift.Int,
2394+
id: Swift.Int64,
23952395
node_id: Swift.String,
23962396
name: Swift.String,
23972397
full_name: Swift.String,
@@ -2852,7 +2852,7 @@ public enum Components {
28522852
/// - Remark: Generated from `#/components/schemas/minimal-repository`.
28532853
public struct minimal_hyphen_repository: Codable, Hashable, Sendable {
28542854
/// - Remark: Generated from `#/components/schemas/minimal-repository/id`.
2855-
public var id: Swift.Int
2855+
public var id: Swift.Int64
28562856
/// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`.
28572857
public var node_id: Swift.String
28582858
/// - Remark: Generated from `#/components/schemas/minimal-repository/name`.
@@ -3200,7 +3200,7 @@ public enum Components {
32003200
/// - web_commit_signoff_required:
32013201
/// - security_and_analysis:
32023202
public init(
3203-
id: Swift.Int,
3203+
id: Swift.Int64,
32043204
node_id: Swift.String,
32053205
name: Swift.String,
32063206
full_name: Swift.String,
@@ -3558,7 +3558,7 @@ public enum Components {
35583558
/// - Remark: Generated from `#/components/schemas/codespace`.
35593559
public struct codespace: Codable, Hashable, Sendable {
35603560
/// - Remark: Generated from `#/components/schemas/codespace/id`.
3561-
public var id: Swift.Int
3561+
public var id: Swift.Int64
35623562
/// Automatically generated name of this codespace.
35633563
///
35643564
/// - Remark: Generated from `#/components/schemas/codespace/name`.
@@ -3804,7 +3804,7 @@ public enum Components {
38043804
/// - retention_expires_at: When a codespace will be auto-deleted based on the "retention_period_minutes" and "last_used_at"
38053805
/// - last_known_stop_notice: The text to display to a user when a codespace has been stopped for a potentially actionable reason.
38063806
public init(
3807-
id: Swift.Int,
3807+
id: Swift.Int64,
38083808
name: Swift.String,
38093809
display_name: Swift.String? = nil,
38103810
environment_id: Swift.String? = nil,
@@ -4026,7 +4026,7 @@ public enum Components {
40264026
/// Unique identifier of the repository
40274027
///
40284028
/// - Remark: Generated from `#/components/schemas/nullable-repository/id`.
4029-
public var id: Swift.Int
4029+
public var id: Swift.Int64
40304030
/// - Remark: Generated from `#/components/schemas/nullable-repository/node_id`.
40314031
public var node_id: Swift.String
40324032
/// The name of the repository.
@@ -4469,7 +4469,7 @@ public enum Components {
44694469
/// - starred_at:
44704470
/// - anonymous_access_enabled: Whether anonymous git access is enabled for this repository
44714471
public init(
4472-
id: Swift.Int,
4472+
id: Swift.Int64,
44734473
node_id: Swift.String,
44744474
name: Swift.String,
44754475
full_name: Swift.String,
@@ -4801,7 +4801,7 @@ public enum Components {
48014801
/// - Remark: Generated from `#/components/schemas/full-repository`.
48024802
public struct full_hyphen_repository: Codable, Hashable, Sendable {
48034803
/// - Remark: Generated from `#/components/schemas/full-repository/id`.
4804-
public var id: Swift.Int
4804+
public var id: Swift.Int64
48054805
/// - Remark: Generated from `#/components/schemas/full-repository/node_id`.
48064806
public var node_id: Swift.String
48074807
/// - Remark: Generated from `#/components/schemas/full-repository/name`.
@@ -5250,7 +5250,7 @@ public enum Components {
52505250
/// - security_and_analysis:
52515251
/// - custom_properties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
52525252
public init(
5253-
id: Swift.Int,
5253+
id: Swift.Int64,
52545254
node_id: Swift.String,
52555255
name: Swift.String,
52565256
full_name: Swift.String,
@@ -5857,7 +5857,7 @@ public enum Components {
58575857
/// - Remark: Generated from `#/components/schemas/codespace-with-full-repository`.
58585858
public struct codespace_hyphen_with_hyphen_full_hyphen_repository: Codable, Hashable, Sendable {
58595859
/// - Remark: Generated from `#/components/schemas/codespace-with-full-repository/id`.
5860-
public var id: Swift.Int
5860+
public var id: Swift.Int64
58615861
/// Automatically generated name of this codespace.
58625862
///
58635863
/// - Remark: Generated from `#/components/schemas/codespace-with-full-repository/name`.
@@ -6098,7 +6098,7 @@ public enum Components {
60986098
/// - retention_period_minutes: Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days).
60996099
/// - retention_expires_at: When a codespace will be auto-deleted based on the "retention_period_minutes" and "last_used_at"
61006100
public init(
6101-
id: Swift.Int,
6101+
id: Swift.Int64,
61026102
name: Swift.String,
61036103
display_name: Swift.String? = nil,
61046104
environment_id: Swift.String? = nil,

Sources/copilot/Client.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,8 @@ public struct Client: APIProtocol {
768768
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
769769
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
770770
///
771+
/// The response will contain the total number of new seats that were created and existing seats that were refreshed.
772+
///
771773
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
772774
///
773775
/// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_teams`.
@@ -1116,6 +1118,8 @@ public struct Client: APIProtocol {
11161118
/// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
11171119
/// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
11181120
///
1121+
/// The response will contain the total number of new seats that were created and existing seats that were refreshed.
1122+
///
11191123
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
11201124
///
11211125
/// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_users`.

0 commit comments

Comments
 (0)