Skip to content

Commit 412b497

Browse files
Commit via running ake Sources/copilot
1 parent 77a1df9 commit 412b497

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

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`.

Sources/copilot/Types.swift

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ public protocol APIProtocol: Sendable {
8787
/// 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)".
8888
/// 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)".
8989
///
90+
/// The response will contain the total number of new seats that were created and existing seats that were refreshed.
91+
///
9092
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
9193
///
9294
/// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_teams`.
@@ -123,6 +125,8 @@ public protocol APIProtocol: Sendable {
123125
/// 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)".
124126
/// 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)".
125127
///
128+
/// The response will contain the total number of new seats that were created and existing seats that were refreshed.
129+
///
126130
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
127131
///
128132
/// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_users`.
@@ -296,6 +300,8 @@ extension APIProtocol {
296300
/// 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)".
297301
/// 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)".
298302
///
303+
/// The response will contain the total number of new seats that were created and existing seats that were refreshed.
304+
///
299305
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
300306
///
301307
/// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_teams`.
@@ -352,6 +358,8 @@ extension APIProtocol {
352358
/// 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)".
353359
/// 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)".
354360
///
361+
/// The response will contain the total number of new seats that were created and existing seats that were refreshed.
362+
///
355363
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
356364
///
357365
/// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_users`.
@@ -1218,7 +1226,7 @@ public enum Components {
12181226
/// - Remark: Generated from `#/components/schemas/enterprise-team`.
12191227
public struct enterprise_hyphen_team: Codable, Hashable, Sendable {
12201228
/// - Remark: Generated from `#/components/schemas/enterprise-team/id`.
1221-
public var id: Swift.Int
1229+
public var id: Swift.Int64
12221230
/// - Remark: Generated from `#/components/schemas/enterprise-team/name`.
12231231
public var name: Swift.String
12241232
/// - Remark: Generated from `#/components/schemas/enterprise-team/slug`.
@@ -1251,7 +1259,7 @@ public enum Components {
12511259
/// - created_at:
12521260
/// - updated_at:
12531261
public init(
1254-
id: Swift.Int,
1262+
id: Swift.Int64,
12551263
name: Swift.String,
12561264
slug: Swift.String,
12571265
url: Swift.String,
@@ -3347,6 +3355,8 @@ public enum Operations {
33473355
/// 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)".
33483356
/// 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)".
33493357
///
3358+
/// The response will contain the total number of new seats that were created and existing seats that were refreshed.
3359+
///
33503360
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
33513361
///
33523362
/// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_teams`.
@@ -3957,6 +3967,8 @@ public enum Operations {
39573967
/// 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)".
39583968
/// 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)".
39593969
///
3970+
/// The response will contain the total number of new seats that were created and existing seats that were refreshed.
3971+
///
39603972
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
39613973
///
39623974
/// - Remark: HTTP `POST /orgs/{org}/copilot/billing/selected_users`.

0 commit comments

Comments
 (0)