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
+21-13Lines changed: 21 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,9 @@ public struct Client: APIProtocol {
46
46
/// and code matching policies. To configure these settings, go to your organization's settings on GitHub.com.
47
47
/// For more information, see "[Managing policies for Copilot Business in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization)".
48
48
///
49
-
/// Only organization owners can configure and view details about the organization's Copilot Business subscription. You must
50
-
/// authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
49
+
/// Only organization owners can configure and view details about the organization's Copilot Business subscription.
50
+
///
51
+
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/copilot/billing/get(copilot/get-copilot-organization-details)`.
@@ -203,8 +204,9 @@ public struct Client: APIProtocol {
203
204
///
204
205
/// Lists all Copilot Business seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).
205
206
///
206
-
/// Only organization owners can configure and view details about the organization's Copilot Business subscription. You must
207
-
/// authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
207
+
/// Only organization owners can configure and view details about the organization's Copilot Business subscription.
208
+
///
209
+
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/copilot/billing/seats/get(copilot/list-copilot-seats)`.
@@ -383,13 +385,14 @@ public struct Client: APIProtocol {
383
385
/// Purchases a GitHub Copilot Business seat for all users within each specified team.
384
386
/// The organization will be billed accordingly. For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)".
385
387
///
386
-
/// Only organization owners can configure GitHub Copilot in their organization. You must
387
-
/// authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
388
+
/// Only organization owners can configure GitHub Copilot in their organization.
388
389
///
389
390
/// In order for an admin to use this endpoint, the organization must have a Copilot Business subscription and a configured suggestion matching policy.
390
391
/// For more information about setting up a Copilot Business subscription, see "[Setting up a Copilot Business subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise#setting-up-a-copilot-business-subscription-for-your-organization)".
391
392
/// 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-business/managing-policies-for-copilot-business-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
392
393
///
394
+
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
@@ -560,8 +563,9 @@ public struct Client: APIProtocol {
560
563
///
561
564
/// For more information about disabling access to Copilot Business, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-access-for-copilot-business-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
562
565
///
563
-
/// Only organization owners can configure GitHub Copilot in their organization. You must
564
-
/// authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
566
+
/// Only organization owners can configure GitHub Copilot in their organization.
567
+
///
568
+
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/copilot/billing/selected_teams/delete(copilot/cancel-copilot-seat-assignment-for-teams)`.
@@ -729,13 +733,14 @@ public struct Client: APIProtocol {
729
733
/// Purchases a GitHub Copilot Business seat for each user specified.
730
734
/// The organization will be billed accordingly. For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)".
731
735
///
732
-
/// Only organization owners can configure GitHub Copilot in their organization. You must
733
-
/// authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
736
+
/// Only organization owners can configure GitHub Copilot in their organization.
734
737
///
735
738
/// In order for an admin to use this endpoint, the organization must have a Copilot Business subscription and a configured suggestion matching policy.
736
739
/// For more information about setting up a Copilot Business subscription, see "[Setting up a Copilot Business subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise#setting-up-a-copilot-business-subscription-for-your-organization)".
737
740
/// 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-business/managing-policies-for-copilot-business-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
738
741
///
742
+
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
@@ -906,8 +911,9 @@ public struct Client: APIProtocol {
906
911
///
907
912
/// For more information about disabling access to Copilot Business, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-access-for-copilot-business-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
908
913
///
909
-
/// Only organization owners can configure GitHub Copilot in their organization. You must
910
-
/// authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
914
+
/// Only organization owners can configure GitHub Copilot in their organization.
915
+
///
916
+
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/copilot/billing/selected_users/delete(copilot/cancel-copilot-seat-assignment-for-users)`.
@@ -1074,7 +1080,9 @@ public struct Client: APIProtocol {
1074
1080
///
1075
1081
/// Gets the GitHub Copilot Business seat assignment details for a member of an organization who currently has access to GitHub Copilot.
1076
1082
///
1077
-
/// Organization owners can view GitHub Copilot seat assignment details for members in their organization. You must authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
1083
+
/// Organization owners can view GitHub Copilot seat assignment details for members in their organization.
1084
+
///
1085
+
/// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.
0 commit comments