You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/copilot/Client.swift
+16-17
Original file line number
Diff line number
Diff line change
@@ -235,12 +235,12 @@ public struct Client: APIProtocol {
235
235
/// **Note**: This endpoint is in beta and is subject to change.
236
236
///
237
237
/// Gets information about an organization's Copilot subscription, including seat breakdown
238
-
/// and code matching policies. To configure these settings, go to your organization's settings on GitHub.com.
238
+
/// and feature policies. To configure these settings, go to your organization's settings on GitHub.com.
239
239
/// For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)".
240
240
///
241
-
/// Only organization owners can configure and view details about the organization's Copilot Business subscription.
241
+
/// Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.
242
242
///
243
-
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
243
+
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/copilot/billing/get(copilot/get-copilot-organization-details)`.
@@ -396,11 +396,10 @@ public struct Client: APIProtocol {
396
396
///
397
397
/// **Note**: This endpoint is in beta and is subject to change.
398
398
///
399
-
/// Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).
399
+
/// Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription.
400
+
/// Only organization owners can view assigned seats.
400
401
///
401
-
/// Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.
402
-
///
403
-
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
402
+
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/copilot/billing/seats/get(copilot/list-copilot-seats)`.
@@ -579,13 +578,13 @@ public struct Client: APIProtocol {
579
578
/// Purchases a GitHub Copilot seat for all users within each specified team.
580
579
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
581
580
///
582
-
/// Only organization owners can configure GitHub Copilot in their organization.
581
+
/// Only organization owners can add Copilot seats for their organization members.
583
582
///
584
583
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
585
584
/// 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)".
586
585
/// 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)".
587
586
///
588
-
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
587
+
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/copilot/billing/selected_teams/post(copilot/add-copilot-seats-for-teams)`.
@@ -757,9 +756,9 @@ public struct Client: APIProtocol {
757
756
///
758
757
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
759
758
///
760
-
/// Only organization owners can configure GitHub Copilot in their organization.
759
+
/// Only organization owners can cancel Copilot seats for their organization members.
761
760
///
762
-
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
761
+
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/copilot/billing/selected_teams/delete(copilot/cancel-copilot-seat-assignment-for-teams)`.
@@ -927,13 +926,13 @@ public struct Client: APIProtocol {
927
926
/// Purchases a GitHub Copilot seat for each user specified.
928
927
/// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
929
928
///
930
-
/// Only organization owners can configure GitHub Copilot in their organization.
929
+
/// Only organization owners can add Copilot seats for their organization members.
931
930
///
932
931
/// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
933
932
/// 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)".
934
933
/// 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)".
935
934
///
936
-
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
935
+
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/copilot/billing/selected_users/post(copilot/add-copilot-seats-for-users)`.
@@ -1105,9 +1104,9 @@ public struct Client: APIProtocol {
1105
1104
///
1106
1105
/// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
1107
1106
///
1108
-
/// Only organization owners can configure GitHub Copilot in their organization.
1107
+
/// Only organization owners can cancel Copilot seats for their organization members.
1109
1108
///
1110
-
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
1109
+
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.
0 commit comments