Skip to content

Commit 2656cbb

Browse files
authored
Merge pull request #1358 from php-api-clients/GitHub/from-1.1.4-c03183a8896046a8cd867a6cab6116d9-from-1.1.4-c03183a8896046a8cd867a6cab6116d9
2 parents e9ee0b2 + 06a4e92 commit 2656cbb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+183
-186
lines changed

clients/GitHub/etc/openapi-client-generator.state

+53-53
Large diffs are not rendered by default.

clients/GitHub/src/Internal/Operation/ApiInsights/GetRouteStatsByActor.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ final class GetRouteStatsByActor
3030
private string $actorType;
3131
/**The ID of the actor **/
3232
private int $actorId;
33-
/**The minimum timestamp to query for stats **/
33+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3434
private string $minTimestamp;
35-
/**The maximum timestamp to query for stats **/
35+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3636
private string $maxTimestamp;
3737
/**The property to sort the results by. **/
3838
private array $sort;

clients/GitHub/src/Internal/Operation/ApiInsights/GetRouteStatsByActorListing.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ final class GetRouteStatsByActorListing
3030
private string $actorType;
3131
/**The ID of the actor **/
3232
private int $actorId;
33-
/**The minimum timestamp to query for stats **/
33+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3434
private string $minTimestamp;
35-
/**The maximum timestamp to query for stats **/
35+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3636
private string $maxTimestamp;
3737
/**The property to sort the results by. **/
3838
private array $sort;

clients/GitHub/src/Internal/Operation/ApiInsights/GetSubjectStats.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ final class GetSubjectStats
2626
public const OPERATION_MATCH = 'GET /orgs/{org}/insights/api/subject-stats';
2727
/**The organization name. The name is not case sensitive. **/
2828
private string $org;
29-
/**The minimum timestamp to query for stats **/
29+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3030
private string $minTimestamp;
31-
/**The maximum timestamp to query for stats **/
31+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3232
private string $maxTimestamp;
3333
/**The property to sort the results by. **/
3434
private array $sort;

clients/GitHub/src/Internal/Operation/ApiInsights/GetSubjectStatsListing.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ final class GetSubjectStatsListing
2626
public const OPERATION_MATCH = 'LIST /orgs/{org}/insights/api/subject-stats';
2727
/**The organization name. The name is not case sensitive. **/
2828
private string $org;
29-
/**The minimum timestamp to query for stats **/
29+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3030
private string $minTimestamp;
31-
/**The maximum timestamp to query for stats **/
31+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3232
private string $maxTimestamp;
3333
/**The property to sort the results by. **/
3434
private array $sort;

clients/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStats.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ final class GetSummaryStats
2323
public const OPERATION_MATCH = 'GET /orgs/{org}/insights/api/summary-stats';
2424
/**The organization name. The name is not case sensitive. **/
2525
private string $org;
26-
/**The minimum timestamp to query for stats **/
26+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
2727
private string $minTimestamp;
28-
/**The maximum timestamp to query for stats **/
28+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
2929
private string $maxTimestamp;
3030

3131
public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Insights\Api\SummaryStats $hydrator, string $org, string $minTimestamp, string $maxTimestamp)

clients/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStatsByActor.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ final class GetSummaryStatsByActor
2323
public const OPERATION_MATCH = 'GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}';
2424
/**The organization name. The name is not case sensitive. **/
2525
private string $org;
26-
/**The minimum timestamp to query for stats **/
26+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
2727
private string $minTimestamp;
28-
/**The maximum timestamp to query for stats **/
28+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
2929
private string $maxTimestamp;
3030
/**The type of the actor **/
3131
private string $actorType;

clients/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStatsByUser.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ final class GetSummaryStatsByUser
2525
private string $org;
2626
/**The ID of the user to query for stats **/
2727
private string $userId;
28-
/**The minimum timestamp to query for stats **/
28+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
2929
private string $minTimestamp;
30-
/**The maximum timestamp to query for stats **/
30+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3131
private string $maxTimestamp;
3232

3333
public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Insights\Api\SummaryStats\Users\UserId $hydrator, string $org, string $userId, string $minTimestamp, string $maxTimestamp)

clients/GitHub/src/Internal/Operation/ApiInsights/GetTimeStats.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ final class GetTimeStats
2626
public const OPERATION_MATCH = 'GET /orgs/{org}/insights/api/time-stats';
2727
/**The organization name. The name is not case sensitive. **/
2828
private string $org;
29-
/**The minimum timestamp to query for stats **/
29+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3030
private string $minTimestamp;
31-
/**The maximum timestamp to query for stats **/
31+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3232
private string $maxTimestamp;
3333
/**The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) **/
3434
private string $timestampIncrement;

clients/GitHub/src/Internal/Operation/ApiInsights/GetTimeStatsByActor.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ final class GetTimeStatsByActor
3030
private string $actorType;
3131
/**The ID of the actor **/
3232
private int $actorId;
33-
/**The minimum timestamp to query for stats **/
33+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3434
private string $minTimestamp;
35-
/**The maximum timestamp to query for stats **/
35+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3636
private string $maxTimestamp;
3737
/**The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) **/
3838
private string $timestampIncrement;

clients/GitHub/src/Internal/Operation/ApiInsights/GetTimeStatsByUser.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ final class GetTimeStatsByUser
2828
private string $org;
2929
/**The ID of the user to query for stats **/
3030
private string $userId;
31-
/**The minimum timestamp to query for stats **/
31+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3232
private string $minTimestamp;
33-
/**The maximum timestamp to query for stats **/
33+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3434
private string $maxTimestamp;
3535
/**The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) **/
3636
private string $timestampIncrement;

clients/GitHub/src/Internal/Operation/ApiInsights/GetUserStats.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ final class GetUserStats
2828
private string $org;
2929
/**The ID of the user to query for stats **/
3030
private string $userId;
31-
/**The minimum timestamp to query for stats **/
31+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3232
private string $minTimestamp;
33-
/**The maximum timestamp to query for stats **/
33+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3434
private string $maxTimestamp;
3535
/**The property to sort the results by. **/
3636
private array $sort;

clients/GitHub/src/Internal/Operation/ApiInsights/GetUserStatsListing.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ final class GetUserStatsListing
2828
private string $org;
2929
/**The ID of the user to query for stats **/
3030
private string $userId;
31-
/**The minimum timestamp to query for stats **/
31+
/**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3232
private string $minTimestamp;
33-
/**The maximum timestamp to query for stats **/
33+
/**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/
3434
private string $maxTimestamp;
3535
/**The property to sort the results by. **/
3636
private array $sort;

clients/GitHub/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ApiInsightsRouteStats> */
27+
/** @return iterable<int,Schema\ApiInsightsRouteStats> */
2828
public function call(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetRouteStatsByActor($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction);

clients/GitHub/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ApiInsightsRouteStats> */
27+
/** @return iterable<int,Schema\ApiInsightsRouteStats> */
2828
public function call(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetRouteStatsByActorListing($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction);

clients/GitHub/src/Internal/Operator/ApiInsights/GetSubjectStats.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ApiInsightsSubjectStats> */
27+
/** @return iterable<int,Schema\ApiInsightsSubjectStats> */
2828
public function call(string $org, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetSubjectStats($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction);

clients/GitHub/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ApiInsightsSubjectStats> */
27+
/** @return iterable<int,Schema\ApiInsightsSubjectStats> */
2828
public function call(string $org, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetSubjectStatsListing($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction);

clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStats.php

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return */
2827
public function call(string $org, string $minTimestamp, string $maxTimestamp): ApiInsightsSummaryStats
2928
{
3029
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetSummaryStats($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp);

clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStatsByActor.php

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return */
2827
public function call(string $org, string $minTimestamp, string $maxTimestamp, string $actorType, int $actorId): ApiInsightsSummaryStats
2928
{
3029
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetSummaryStatsByActor($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $actorType, $actorId);

clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStatsByUser.php

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return */
2827
public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp): ApiInsightsSummaryStats
2928
{
3029
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetSummaryStatsByUser($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp);

clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStats.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ApiInsightsTimeStats> */
27+
/** @return iterable<int,Schema\ApiInsightsTimeStats> */
2828
public function call(string $org, string $minTimestamp, string $maxTimestamp, string $timestampIncrement): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetTimeStats($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $timestampIncrement);

clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStatsByActor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ApiInsightsTimeStats> */
27+
/** @return iterable<int,Schema\ApiInsightsTimeStats> */
2828
public function call(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, string $timestampIncrement): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetTimeStatsByActor($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $timestampIncrement);

clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStatsByUser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ApiInsightsTimeStats> */
27+
/** @return iterable<int,Schema\ApiInsightsTimeStats> */
2828
public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp, string $timestampIncrement): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetTimeStatsByUser($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $timestampIncrement);

clients/GitHub/src/Internal/Operator/ApiInsights/GetUserStats.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ApiInsightsUserStats> */
27+
/** @return iterable<int,Schema\ApiInsightsUserStats> */
2828
public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetUserStats($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction);

clients/GitHub/src/Internal/Operator/ApiInsights/GetUserStatsListing.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ApiInsightsUserStats> */
27+
/** @return iterable<int,Schema\ApiInsightsUserStats> */
2828
public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\ApiInsights\GetUserStatsListing($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction);

0 commit comments

Comments
 (0)