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
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,7 @@ public struct Client: APIProtocol {
210
210
/// Only organization owners can view assigned seats.
211
211
///
212
212
/// Each seat object contains information about the assigned user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.
213
-
/// For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)."
213
+
/// For more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/copilot/reference/metrics-data).
214
214
///
215
215
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.
216
216
///
@@ -1282,7 +1282,7 @@ public struct Client: APIProtocol {
1282
1282
/// Gets the GitHub Copilot seat details for a member of an organization who currently has access to GitHub Copilot.
1283
1283
///
1284
1284
/// The seat object contains information about the user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.
1285
-
/// For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)."
1285
+
/// For more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/copilot/reference/metrics-data).
1286
1286
///
1287
1287
/// Only organization owners can view Copilot seat assignment details for members of their organization.
Copy file name to clipboardExpand all lines: Sources/copilot/Types.swift
+19-6Lines changed: 19 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ public protocol APIProtocol: Sendable {
36
36
/// Only organization owners can view assigned seats.
37
37
///
38
38
/// Each seat object contains information about the assigned user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.
39
-
/// For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)."
39
+
/// For more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/copilot/reference/metrics-data).
40
40
///
41
41
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.
42
42
///
@@ -144,7 +144,7 @@ public protocol APIProtocol: Sendable {
144
144
/// Gets the GitHub Copilot seat details for a member of an organization who currently has access to GitHub Copilot.
145
145
///
146
146
/// The seat object contains information about the user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.
147
-
/// For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)."
147
+
/// For more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/copilot/reference/metrics-data).
148
148
///
149
149
/// Only organization owners can view Copilot seat assignment details for members of their organization.
150
150
///
@@ -209,7 +209,7 @@ extension APIProtocol {
209
209
/// Only organization owners can view assigned seats.
210
210
///
211
211
/// Each seat object contains information about the assigned user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.
212
-
/// For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)."
212
+
/// For more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/copilot/reference/metrics-data).
213
213
///
214
214
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.
215
215
///
@@ -377,7 +377,7 @@ extension APIProtocol {
377
377
/// Gets the GitHub Copilot seat details for a member of an organization who currently has access to GitHub Copilot.
378
378
///
379
379
/// The seat object contains information about the user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.
380
-
/// For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)."
380
+
/// For more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/copilot/reference/metrics-data).
381
381
///
382
382
/// Only organization owners can view Copilot seat assignment details for members of their organization.
383
383
///
@@ -1365,6 +1365,10 @@ public enum Components {
1365
1365
///
1366
1366
/// - Remark: Generated from `#/components/schemas/copilot-seat-details/last_activity_editor`.
1367
1367
publicvarlastActivityEditor:Swift.String?
1368
+
/// Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format.
1369
+
///
1370
+
/// - Remark: Generated from `#/components/schemas/copilot-seat-details/last_authenticated_at`.
1371
+
publicvarlastAuthenticatedAt:Foundation.Date?
1368
1372
/// Timestamp of when the assignee was last granted access to GitHub Copilot, in ISO 8601 format.
1369
1373
///
1370
1374
/// - Remark: Generated from `#/components/schemas/copilot-seat-details/created_at`.
@@ -1395,6 +1399,7 @@ public enum Components {
1395
1399
/// - pendingCancellationDate: The pending cancellation date for the seat, in `YYYY-MM-DD` format. This will be null unless the assignee's Copilot access has been canceled during the current billing cycle. If the seat has been cancelled, this corresponds to the start of the organization's next billing cycle.
1396
1400
/// - lastActivityAt: Timestamp of user's last GitHub Copilot activity, in ISO 8601 format.
1397
1401
/// - lastActivityEditor: Last editor that was used by the user for a GitHub Copilot completion.
1402
+
/// - lastAuthenticatedAt: Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format.
1398
1403
/// - createdAt: Timestamp of when the assignee was last granted access to GitHub Copilot, in ISO 8601 format.
1399
1404
/// - updatedAt: **Closing down notice:** This field is no longer relevant and is closing down. Use the `created_at` field to determine when the assignee was last granted access to GitHub Copilot. Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format.
1400
1405
/// - planType: The Copilot plan of the organization, or the parent enterprise, when applicable.
/// Only organization owners can view assigned seats.
2820
2833
///
2821
2834
/// Each seat object contains information about the assigned user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.
2822
-
/// For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)."
2835
+
/// For more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/copilot/reference/metrics-data).
2823
2836
///
2824
2837
/// OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.
2825
2838
///
@@ -4653,7 +4666,7 @@ public enum Operations {
4653
4666
/// Gets the GitHub Copilot seat details for a member of an organization who currently has access to GitHub Copilot.
4654
4667
///
4655
4668
/// The seat object contains information about the user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.
4656
-
/// For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)."
4669
+
/// For more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/copilot/reference/metrics-data).
4657
4670
///
4658
4671
/// Only organization owners can view Copilot seat assignment details for members of their organization.
0 commit comments