Skip to content

Commit 23bfeaa

Browse files
Commit via running: make Sources/copilot
1 parent 735928c commit 23bfeaa

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

Sources/copilot/Client.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ public struct Client: APIProtocol {
10891089
/// > [!NOTE]
10901090
/// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
10911091
///
1092-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
1092+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
10931093
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
10941094
/// they must have telemetry enabled in their IDE.
10951095
///
@@ -1446,7 +1446,7 @@ public struct Client: APIProtocol {
14461446
/// > [!NOTE]
14471447
/// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
14481448
///
1449-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
1449+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
14501450
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
14511451
/// they must have telemetry enabled in their IDE.
14521452
///

Sources/copilot/Types.swift

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public protocol APIProtocol: Sendable {
124124
/// > [!NOTE]
125125
/// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
126126
///
127-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
127+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
128128
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
129129
/// they must have telemetry enabled in their IDE.
130130
///
@@ -160,7 +160,7 @@ public protocol APIProtocol: Sendable {
160160
/// > [!NOTE]
161161
/// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
162162
///
163-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
163+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
164164
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
165165
/// they must have telemetry enabled in their IDE.
166166
///
@@ -347,7 +347,7 @@ extension APIProtocol {
347347
/// > [!NOTE]
348348
/// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
349349
///
350-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
350+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
351351
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
352352
/// they must have telemetry enabled in their IDE.
353353
///
@@ -401,7 +401,7 @@ extension APIProtocol {
401401
/// > [!NOTE]
402402
/// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
403403
///
404-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
404+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
405405
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
406406
/// they must have telemetry enabled in their IDE.
407407
///
@@ -4388,7 +4388,7 @@ public enum Operations {
43884388
/// > [!NOTE]
43894389
/// > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
43904390
///
4391-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
4391+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
43924392
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
43934393
/// they must have telemetry enabled in their IDE.
43944394
///
@@ -4419,7 +4419,7 @@ public enum Operations {
44194419
public var path: Operations.CopilotCopilotMetricsForOrganization.Input.Path
44204420
/// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query`.
44214421
public struct Query: Sendable, Hashable {
4422-
/// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.
4422+
/// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago.
44234423
///
44244424
/// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query/since`.
44254425
public var since: Swift.String?
@@ -4431,17 +4431,17 @@ public enum Operations {
44314431
///
44324432
/// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query/page`.
44334433
public var page: Components.Parameters.Page?
4434-
/// The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4434+
/// The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
44354435
///
44364436
/// - Remark: Generated from `#/paths/orgs/{org}/copilot/metrics/GET/query/per_page`.
44374437
public var perPage: Swift.Int?
44384438
/// Creates a new `Query`.
44394439
///
44404440
/// - Parameters:
4441-
/// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.
4441+
/// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago.
44424442
/// - until: Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.
44434443
/// - page: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4444-
/// - perPage: The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4444+
/// - perPage: The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
44454445
public init(
44464446
since: Swift.String? = nil,
44474447
until: Swift.String? = nil,
@@ -4943,7 +4943,7 @@ public enum Operations {
49434943
/// > [!NOTE]
49444944
/// > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.
49454945
///
4946-
/// The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,
4946+
/// The response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,
49474947
/// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
49484948
/// they must have telemetry enabled in their IDE.
49494949
///
@@ -4983,7 +4983,7 @@ public enum Operations {
49834983
public var path: Operations.CopilotCopilotMetricsForTeam.Input.Path
49844984
/// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query`.
49854985
public struct Query: Sendable, Hashable {
4986-
/// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.
4986+
/// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago.
49874987
///
49884988
/// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query/since`.
49894989
public var since: Swift.String?
@@ -4995,17 +4995,17 @@ public enum Operations {
49954995
///
49964996
/// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query/page`.
49974997
public var page: Components.Parameters.Page?
4998-
/// The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
4998+
/// The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
49994999
///
50005000
/// - Remark: Generated from `#/paths/orgs/{org}/team/{team_slug}/copilot/metrics/GET/query/per_page`.
50015001
public var perPage: Swift.Int?
50025002
/// Creates a new `Query`.
50035003
///
50045004
/// - Parameters:
5005-
/// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.
5005+
/// - since: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 100 days ago.
50065006
/// - until: Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.
50075007
/// - page: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
5008-
/// - perPage: The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
5008+
/// - perPage: The number of days of metrics to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
50095009
public init(
50105010
since: Swift.String? = nil,
50115011
until: Swift.String? = nil,

0 commit comments

Comments
 (0)