Skip to content

Commit 40ff7ca

Browse files
authored
Merge pull request #1385 from php-api-clients/GitHub/from-1.1.4-569ed36cc004e0f3ecba0e072fcfa984-from-1.1.4-569ed36cc004e0f3ecba0e072fcfa984
2 parents 0874d3d + 892fff2 commit 40ff7ca

File tree

22 files changed

+77
-71
lines changed

22 files changed

+77
-71
lines changed

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

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "893e2fb0b8fad9258f8b3396ebcda9b9",
2+
"specHash": "569ed36cc004e0f3ecba0e072fcfa984",
33
"generatedFiles": {
44
"files": [
55
{
@@ -11588,11 +11588,11 @@
1158811588
},
1158911589
{
1159011590
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotSeatDetails.php",
11591-
"hash": "616f4c840be095fb513494506420ddd7"
11591+
"hash": "d6f19f23cdc6fe5278d7c13040ebea56"
1159211592
},
1159311593
{
1159411594
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeats\/Response\/ApplicationJson\/Ok.php",
11595-
"hash": "389f72ea8ff7ba164085e75524ce47f7"
11595+
"hash": "5f65e0b6cd6d2af1cdd4dc734b2c02ba"
1159611596
},
1159711597
{
1159811598
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Copilot\/CancelCopilotSeatAssignmentForTeams\/Request\/ApplicationJson.php",
@@ -24856,15 +24856,15 @@
2485624856
},
2485724857
{
2485824858
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
24859-
"hash": "fe4eb4bfcd96dfe133a348a5dbe06d33"
24859+
"hash": "2efc037dceec2d934880567dac3d5fdb"
2486024860
},
2486124861
{
2486224862
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
24863-
"hash": "fba5bdfe2785c25d285ab05bafa48c0b"
24863+
"hash": "b1ab36693fa5c4c60f402c9e0349b1fd"
2486424864
},
2486524865
{
2486624866
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php",
24867-
"hash": "29247474ad451462da498194f867b3df"
24867+
"hash": "3dca95be52846097223409b2f9926606"
2486824868
},
2486924869
{
2487024870
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Nine.php",
@@ -24960,15 +24960,15 @@
2496024960
},
2496124961
{
2496224962
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php",
24963-
"hash": "9812269e81564353be3fc1d6da6f2fba"
24963+
"hash": "71625fca086e278619781593e380e8fb"
2496424964
},
2496524965
{
2496624966
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php",
24967-
"hash": "0ca46583c79954781dc0988a5669ab0d"
24967+
"hash": "81326c9e0e34933f9df6d7e397ac8782"
2496824968
},
2496924969
{
2497024970
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Eight.php",
24971-
"hash": "50b0aae5cf5d664d36f0080f508b4ac2"
24971+
"hash": "9aca9c730a1e32ff37bb817fb1db5454"
2497224972
},
2497324973
{
2497424974
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Ten.php",
@@ -27636,11 +27636,11 @@
2763627636
},
2763727637
{
2763827638
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27639-
"hash": "7a0cf9690dc301be83a1f5eb1001a5f7"
27639+
"hash": "526aac10512dc0d92689f985b41922b4"
2764027640
},
2764127641
{
2764227642
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27643-
"hash": "369433cd266ad8428bdbe179d75b18c5"
27643+
"hash": "e92ed3755800eb5eccdcb78430551361"
2764427644
},
2764527645
{
2764627646
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -29472,7 +29472,7 @@
2947229472
},
2947329473
{
2947429474
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeatsForEnterprise\/Response\/ApplicationJson\/Ok.php",
29475-
"hash": "5115dfe149295f326878c63da4118dda"
29475+
"hash": "20488bcbdae77f121b253e3844da7f05"
2947629476
},
2947729477
{
2947829478
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Copilot\/Billing\/Seats.php",
@@ -30800,7 +30800,7 @@
3080030800
},
3080130801
{
3080230802
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetRouteStatsByActor.php",
30803-
"hash": "9e2110c42f7f0dcfcf28ebf3ee9c72c9"
30803+
"hash": "e08117085cbf1b0040e70158ddeeb974"
3080430804
},
3080530805
{
3080630806
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActorTest.php",
@@ -30812,7 +30812,7 @@
3081230812
},
3081330813
{
3081430814
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetRouteStatsByActorListing.php",
30815-
"hash": "e9e573713799aaedbc78b21f1b23a341"
30815+
"hash": "5eab95ff542b85965532b4d72811b059"
3081630816
},
3081730817
{
3081830818
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActorListingTest.php",
@@ -30824,7 +30824,7 @@
3082430824
},
3082530825
{
3082630826
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSubjectStats.php",
30827-
"hash": "45b29e075ca7417d41606fe7b183dcad"
30827+
"hash": "55c4f193173a8cb0291a066645bcfe5e"
3082830828
},
3082930829
{
3083030830
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSubjectStatsTest.php",
@@ -30836,7 +30836,7 @@
3083630836
},
3083730837
{
3083830838
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSubjectStatsListing.php",
30839-
"hash": "097c6950b99b971f07bf4f85cf66278b"
30839+
"hash": "5bb01a5f9efc75a4ac2818ad923c2988"
3084030840
},
3084130841
{
3084230842
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSubjectStatsListingTest.php",
@@ -30920,7 +30920,7 @@
3092030920
},
3092130921
{
3092230922
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetUserStats.php",
30923-
"hash": "1e53ba9026d0cbdc5d64b7392e3961fe"
30923+
"hash": "2844fbfd07dc2dd64ca6fba047e63525"
3092430924
},
3092530925
{
3092630926
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetUserStatsTest.php",
@@ -30932,7 +30932,7 @@
3093230932
},
3093330933
{
3093430934
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetUserStatsListing.php",
30935-
"hash": "134f79396a0f58e5142f68d7747a8d0b"
30935+
"hash": "17d8da0952660efa08019eeaf7cbc674"
3093630936
},
3093730937
{
3093830938
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetUserStatsListingTest.php",
@@ -30960,15 +30960,15 @@
3096030960
},
3096130961
{
3096230962
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/ApiInsights.php",
30963-
"hash": "695f87d3736571d2ed30c489e5efd8d8"
30963+
"hash": "fca7ddf37d82170ae6098e24ccdb6532"
3096430964
},
3096530965
{
3096630966
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/ApiInsights.php",
30967-
"hash": "c0390ef48a0c990baf7937e77b2c6102"
30967+
"hash": "4953c555cc53b197cc4350b07178f36d"
3096830968
},
3096930969
{
3097030970
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/ApiInsights.php",
30971-
"hash": "dee9bddcbeb31b6a4083a80364816562"
30971+
"hash": "161e18259cd773755f3f35ea4ec76f89"
3097230972
},
3097330973
{
3097430974
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Insights\/Api\/SummaryStats.php",

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 iterable<int,Schema\ApiInsightsRouteStats> */
27+
/** @return Observable<Schema\ApiInsightsRouteStats> */
2828
public function call(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, string $apiRouteSubstring, 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, $apiRouteSubstring, $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 iterable<int,Schema\ApiInsightsRouteStats> */
27+
/** @return Observable<Schema\ApiInsightsRouteStats> */
2828
public function call(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, string $apiRouteSubstring, 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, $apiRouteSubstring, $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 iterable<int,Schema\ApiInsightsSubjectStats> */
27+
/** @return Observable<Schema\ApiInsightsSubjectStats> */
2828
public function call(string $org, string $minTimestamp, string $maxTimestamp, array $sort, string $subjectNameSubstring, 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, $subjectNameSubstring, $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 iterable<int,Schema\ApiInsightsSubjectStats> */
27+
/** @return Observable<Schema\ApiInsightsSubjectStats> */
2828
public function call(string $org, string $minTimestamp, string $maxTimestamp, array $sort, string $subjectNameSubstring, 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, $subjectNameSubstring, $page, $perPage, $direction);

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 iterable<int,Schema\ApiInsightsUserStats> */
27+
/** @return Observable<Schema\ApiInsightsUserStats> */
2828
public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, string $actorNameSubstring, 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, $actorNameSubstring, $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 iterable<int,Schema\ApiInsightsUserStats> */
27+
/** @return Observable<Schema\ApiInsightsUserStats> */
2828
public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, string $actorNameSubstring, 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, $actorNameSubstring, $page, $perPage, $direction);

clients/GitHub/src/Internal/Router/Get/ApiInsights.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri
2020
{
2121
}
2222

23-
/** @return iterable<int,Schema\ApiInsightsSubjectStats> */
23+
/** @return Observable<Schema\ApiInsightsSubjectStats> */
2424
public function getSubjectStats(array $params): iterable
2525
{
2626
$arguments = [];
@@ -137,7 +137,7 @@ public function getTimeStats(array $params): iterable
137137
return $operator->call($arguments['org'], $arguments['min_timestamp'], $arguments['max_timestamp'], $arguments['timestamp_increment']);
138138
}
139139

140-
/** @return iterable<int,Schema\ApiInsightsUserStats> */
140+
/** @return Observable<Schema\ApiInsightsUserStats> */
141141
public function getUserStats(array $params): iterable
142142
{
143143
$arguments = [];
@@ -200,7 +200,7 @@ public function getUserStats(array $params): iterable
200200
return $operator->call($arguments['org'], $arguments['user_id'], $arguments['min_timestamp'], $arguments['max_timestamp'], $arguments['sort'], $arguments['actor_name_substring'], $arguments['page'], $arguments['per_page'], $arguments['direction']);
201201
}
202202

203-
/** @return iterable<int,Schema\ApiInsightsRouteStats> */
203+
/** @return Observable<Schema\ApiInsightsRouteStats> */
204204
public function getRouteStatsByActor(array $params): iterable
205205
{
206206
$arguments = [];

clients/GitHub/src/Internal/Router/Get/Eight.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct(private Routers $routers)
3636
{
3737
}
3838

39-
/** @return iterable<int,Schema\ApiInsightsRouteStats>||Observable<Schema\ApiInsightsTimeStats>|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\EnvironmentApprovals>|Observable<Schema\PendingDeployment>|Observable<Schema\CodeScanningAlertInstance>|Observable<Schema\SecretScanningLocation>|WithoutBody */
39+
/** @return Observable<Schema\ApiInsightsRouteStats>||Observable<Schema\ApiInsightsTimeStats>|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\EnvironmentApprovals>|Observable<Schema\PendingDeployment>|Observable<Schema\CodeScanningAlertInstance>|Observable<Schema\SecretScanningLocation>|WithoutBody */
4040
public function call(string $call, array $params, array $pathChunks): iterable|ApiInsightsSummaryStats|PackageVersion|TeamRepository|WithoutBody|OidcCustomSubRepo|Ok|Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|WorkflowRunUsage|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|WorkflowUsage|ProtectedBranchAdminEnforced|ProtectedBranchPullRequestReview|StatusCheckPolicy|BranchRestrictionPolicy|CodeScanningCodeqlDatabase|CodeScanningVariantAnalysis|DeploymentStatus|DeploymentBranchPolicy|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\Response\ApplicationJson\Ok|DeploymentProtectionRule|ActionsPublicKey|ActionsSecret|ActionsVariable|HookDelivery|PullRequestReview
4141
{
4242
if ($pathChunks[0] === '') {

0 commit comments

Comments
 (0)