Skip to content

Commit 9ce85bd

Browse files
authored
Merge pull request #1209 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-f1693c4fe023412f22716f3034812b11-from-1.1.4-f1693c4fe023412f22716f3034812b11
2 parents f40c164 + 98e0566 commit 9ce85bd

File tree

21 files changed

+149
-45
lines changed

21 files changed

+149
-45
lines changed

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "1a530a6498e6aa969894cbe18e5bc2f3",
2+
"specHash": "f1693c4fe023412f22716f3034812b11",
33
"generatedFiles": {
44
"files": [
55
{
@@ -168,7 +168,7 @@
168168
},
169169
{
170170
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RunnerGroupsEnterprise.php",
171-
"hash": "ceb688f5a4e41e3f7a2a3a0a0e65ab03"
171+
"hash": "6395ab995ab57b4ad8a27cdd9fec502a"
172172
},
173173
{
174174
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RunnerLabel.php",
@@ -512,7 +512,7 @@
512512
},
513513
{
514514
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RunnerGroupsOrg.php",
515-
"hash": "a2c61d4a4e9f354de82ff86110d59a6e"
515+
"hash": "abab7f1eed3683036030350969616d65"
516516
},
517517
{
518518
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/OrganizationActionsSecret.php",
@@ -4624,7 +4624,7 @@
46244624
},
46254625
{
46264626
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/EnterpriseAdmin\/ListSelfHostedRunnerGroupsForEnterprise\/Response\/ApplicationJson\/Ok.php",
4627-
"hash": "ee3fafebf9ec3e59c3a6f83715b1a7e1"
4627+
"hash": "4f8e9a3d66d2b5f2211456e63373c8c4"
46284628
},
46294629
{
46304630
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/EnterpriseAdmin\/CreateSelfHostedRunnerGroupForEnterprise\/Request\/ApplicationJson.php",
@@ -4788,7 +4788,7 @@
47884788
},
47894789
{
47904790
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnerGroupsForOrg\/Response\/ApplicationJson\/Ok.php",
4791-
"hash": "60d78419c78e75be49fca83821abc808"
4791+
"hash": "3d85ee4537f8c84f5c3712104cea88d9"
47924792
},
47934793
{
47944794
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Actions\/CreateSelfHostedRunnerGroupForOrg\/Request\/ApplicationJson.php",
@@ -5948,7 +5948,7 @@
59485948
},
59495949
{
59505950
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Orgs.php",
5951-
"hash": "46fa83f5af496dd8490051f7b59cad68"
5951+
"hash": "ffabb58eddec95240a473bfaa81ceb2c"
59525952
},
59535953
{
59545954
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Oidc.php",
@@ -5980,7 +5980,7 @@
59805980
},
59815981
{
59825982
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php",
5983-
"hash": "5dd5c12b264858511db3338db61aa20d"
5983+
"hash": "ea53d5900ef20eeca40759702d1d7333"
59845984
},
59855985
{
59865986
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -26160,7 +26160,7 @@
2616026160
},
2616126161
{
2616226162
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php",
26163-
"hash": "f173a7f50bbb56822e2e2b59a149996d"
26163+
"hash": "12ea56f974ba7b46bff12d90c9dd02a1"
2616426164
},
2616526165
{
2616626166
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php",
@@ -26472,7 +26472,7 @@
2647226472
},
2647326473
{
2647426474
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Orgs.php",
26475-
"hash": "f342d93026c4fe007b0a04803e16c28a"
26475+
"hash": "36412ebcc57862f1982cc18393155068"
2647626476
},
2647726477
{
2647826478
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Packages.php",
@@ -26724,7 +26724,7 @@
2672426724
},
2672526725
{
2672626726
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
26727-
"hash": "f13be4e5c2ff5216add89c2fff5d6e7c"
26727+
"hash": "c0a8ff295b79f954d2b66e03f86833cd"
2672826728
},
2672926729
{
2673026730
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -26828,7 +26828,7 @@
2682826828
},
2682926829
{
2683026830
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php",
26831-
"hash": "49cb24105100d20d1cdbf6fffe6ba90c"
26831+
"hash": "2cc43ed3de040350a0aad4f187e57e9e"
2683226832
},
2683326833
{
2683426834
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php",
@@ -27028,11 +27028,11 @@
2702827028
},
2702927029
{
2703027030
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/RunnerGroups.php",
27031-
"hash": "2735b0dd5a097e47f700e3e0093bf7c6"
27031+
"hash": "e068bfa33991c92a0e5c5abda72540c5"
2703227032
},
2703327033
{
2703427034
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/RunnerGroups\/RunnerGroupId.php",
27035-
"hash": "05f68c25dc41e548296d06d90fa4fc43"
27035+
"hash": "585c908f1c590079bf86afccc202b8b9"
2703627036
},
2703727037
{
2703827038
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/RunnerGroups\/RunnerGroupId\/Organizations.php",
@@ -27256,11 +27256,11 @@
2725627256
},
2725727257
{
2725827258
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/RunnerGroups.php",
27259-
"hash": "df05b8c124fe07ebfe494199e0927b28"
27259+
"hash": "792a926826c85e1e64be6753fd82a270"
2726027260
},
2726127261
{
2726227262
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/RunnerGroups\/RunnerGroupId.php",
27263-
"hash": "34eac442397bd28e72c494a7475712f7"
27263+
"hash": "ba80f44340144ddced91d5c855d77fc8"
2726427264
},
2726527265
{
2726627266
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/RunnerGroups\/RunnerGroupId\/Repositories.php",
@@ -29944,11 +29944,11 @@
2994429944
},
2994529945
{
2994629946
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
29947-
"hash": "9d3511ac27f853771df19de578a0d71c"
29947+
"hash": "21996734642e0ad43c126281cd9d7001"
2994829948
},
2994929949
{
2995029950
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
29951-
"hash": "cb6304352154676876a943fdacc2de46"
29951+
"hash": "ed90787980c6876a1e3c70a75db461e0"
2995229952
},
2995329953
{
2995429954
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -30648,7 +30648,7 @@
3064830648
},
3064930649
{
3065030650
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleTeams.php",
30651-
"hash": "f9a8c3a582d7e11cc1321204340d9b7f"
30651+
"hash": "762c1dffcfd5cb9dcf082094df913e42"
3065230652
},
3065330653
{
3065430654
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleTeamsTest.php",
@@ -30660,7 +30660,7 @@
3066030660
},
3066130661
{
3066230662
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleTeamsListing.php",
30663-
"hash": "08518299af2c21ae754e0b82d91ed12f"
30663+
"hash": "0e1bc8dbe2b2b000090cc3e903ccd7d1"
3066430664
},
3066530665
{
3066630666
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleTeamsListingTest.php",
@@ -30672,7 +30672,7 @@
3067230672
},
3067330673
{
3067430674
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleUsers.php",
30675-
"hash": "13d39d1df9f19cfb3a24393d7572fe20"
30675+
"hash": "54190207dd9664f081bdf96d12a8648d"
3067630676
},
3067730677
{
3067830678
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleUsersTest.php",
@@ -30684,7 +30684,7 @@
3068430684
},
3068530685
{
3068630686
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleUsersListing.php",
30687-
"hash": "5cbd89f10aed734218c677fa96a2903e"
30687+
"hash": "c7595969ae6aa102b31d5572a364f8b6"
3068830688
},
3068930689
{
3069030690
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleUsersListingTest.php",

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/RunnerGroups.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
157157

158158
after_runnersUrl:
159159

160+
$value = $payload['hosted_runners_url'] ?? null;
161+
162+
if ($value === null) {
163+
$properties['hostedRunnersUrl'] = null;
164+
goto after_hostedRunnersUrl;
165+
}
166+
167+
$properties['hostedRunnersUrl'] = $value;
168+
169+
after_hostedRunnersUrl:
170+
160171
$value = $payload['allows_public_repositories'] ?? null;
161172

162173
if ($value === null) {
@@ -359,6 +370,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
359370
$runnersUrl = $object->runnersUrl;
360371
after_runnersUrl: $result['runners_url'] = $runnersUrl;
361372

373+
$hostedRunnersUrl = $object->hostedRunnersUrl;
374+
375+
if ($hostedRunnersUrl === null) {
376+
goto after_hostedRunnersUrl;
377+
}
378+
379+
after_hostedRunnersUrl: $result['hosted_runners_url'] = $hostedRunnersUrl;
380+
362381
$allowsPublicRepositories = $object->allowsPublicRepositories;
363382
after_allowsPublicRepositories: $result['allows_public_repositories'] = $allowsPublicRepositories;
364383

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/RunnerGroups/RunnerGroupId.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
114114

115115
after_runnersUrl:
116116

117+
$value = $payload['hosted_runners_url'] ?? null;
118+
119+
if ($value === null) {
120+
$properties['hostedRunnersUrl'] = null;
121+
goto after_hostedRunnersUrl;
122+
}
123+
124+
$properties['hostedRunnersUrl'] = $value;
125+
126+
after_hostedRunnersUrl:
127+
117128
$value = $payload['allows_public_repositories'] ?? null;
118129

119130
if ($value === null) {
@@ -294,6 +305,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
294305
$runnersUrl = $object->runnersUrl;
295306
after_runnersUrl: $result['runners_url'] = $runnersUrl;
296307

308+
$hostedRunnersUrl = $object->hostedRunnersUrl;
309+
310+
if ($hostedRunnersUrl === null) {
311+
goto after_hostedRunnersUrl;
312+
}
313+
314+
after_hostedRunnersUrl: $result['hosted_runners_url'] = $hostedRunnersUrl;
315+
297316
$allowsPublicRepositories = $object->allowsPublicRepositories;
298317
after_allowsPublicRepositories: $result['allows_public_repositories'] = $allowsPublicRepositories;
299318

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Orgs/Org/Actions/RunnerGroups.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
157157

158158
after_runnersUrl:
159159

160+
$value = $payload['hosted_runners_url'] ?? null;
161+
162+
if ($value === null) {
163+
$properties['hostedRunnersUrl'] = null;
164+
goto after_hostedRunnersUrl;
165+
}
166+
167+
$properties['hostedRunnersUrl'] = $value;
168+
169+
after_hostedRunnersUrl:
170+
160171
$value = $payload['inherited'] ?? null;
161172

162173
if ($value === null) {
@@ -381,6 +392,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
381392
$runnersUrl = $object->runnersUrl;
382393
after_runnersUrl: $result['runners_url'] = $runnersUrl;
383394

395+
$hostedRunnersUrl = $object->hostedRunnersUrl;
396+
397+
if ($hostedRunnersUrl === null) {
398+
goto after_hostedRunnersUrl;
399+
}
400+
401+
after_hostedRunnersUrl: $result['hosted_runners_url'] = $hostedRunnersUrl;
402+
384403
$inherited = $object->inherited;
385404
after_inherited: $result['inherited'] = $inherited;
386405

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Orgs/Org/Actions/RunnerGroups/RunnerGroupId.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
114114

115115
after_runnersUrl:
116116

117+
$value = $payload['hosted_runners_url'] ?? null;
118+
119+
if ($value === null) {
120+
$properties['hostedRunnersUrl'] = null;
121+
goto after_hostedRunnersUrl;
122+
}
123+
124+
$properties['hostedRunnersUrl'] = $value;
125+
126+
after_hostedRunnersUrl:
127+
117128
$value = $payload['inherited'] ?? null;
118129

119130
if ($value === null) {
@@ -316,6 +327,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
316327
$runnersUrl = $object->runnersUrl;
317328
after_runnersUrl: $result['runners_url'] = $runnersUrl;
318329

330+
$hostedRunnersUrl = $object->hostedRunnersUrl;
331+
332+
if ($hostedRunnersUrl === null) {
333+
goto after_hostedRunnersUrl;
334+
}
335+
336+
after_hostedRunnersUrl: $result['hosted_runners_url'] = $hostedRunnersUrl;
337+
319338
$inherited = $object->inherited;
320339
after_inherited: $result['inherited'] = $inherited;
321340

clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/ListOrgRoleTeams.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28-
/** @return iterable<int,Schema\TeamRoleAssignment>|WithoutBody */
28+
/** @return Observable<Schema\TeamRoleAssignment>|WithoutBody */
2929
public function call(string $org, int $roleId, int $perPage = 30, int $page = 1): iterable|WithoutBody
3030
{
3131
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Orgs\ListOrgRoleTeams($this->responseSchemaValidator, $this->hydrator, $org, $roleId, $perPage, $page);

clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/ListOrgRoleTeamsListing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28-
/** @return iterable<int,Schema\TeamRoleAssignment>|WithoutBody */
28+
/** @return Observable<Schema\TeamRoleAssignment>|WithoutBody */
2929
public function call(string $org, int $roleId, int $perPage = 30, int $page = 1): iterable|WithoutBody
3030
{
3131
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Orgs\ListOrgRoleTeamsListing($this->responseSchemaValidator, $this->hydrator, $org, $roleId, $perPage, $page);

clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/ListOrgRoleUsers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28-
/** @return iterable<int,Schema\UserRoleAssignment>|WithoutBody */
28+
/** @return Observable<Schema\UserRoleAssignment>|WithoutBody */
2929
public function call(string $org, int $roleId, int $perPage = 30, int $page = 1): iterable|WithoutBody
3030
{
3131
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Orgs\ListOrgRoleUsers($this->responseSchemaValidator, $this->hydrator, $org, $roleId, $perPage, $page);

clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/ListOrgRoleUsersListing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28-
/** @return iterable<int,Schema\UserRoleAssignment>|WithoutBody */
28+
/** @return Observable<Schema\UserRoleAssignment>|WithoutBody */
2929
public function call(string $org, int $roleId, int $perPage = 30, int $page = 1): iterable|WithoutBody
3030
{
3131
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Orgs\ListOrgRoleUsersListing($this->responseSchemaValidator, $this->hydrator, $org, $roleId, $perPage, $page);

clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Orgs.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ public function listInvitationTeams(array $params): iterable
10381038
return $operator->call($arguments['org'], $arguments['invitation_id'], $arguments['per_page'], $arguments['page']);
10391039
}
10401040

1041-
/** @return iterable<int,Schema\TeamRoleAssignment>|WithoutBody */
1041+
/** @return Observable<Schema\TeamRoleAssignment>|WithoutBody */
10421042
public function listOrgRoleTeams(array $params): iterable|WithoutBody
10431043
{
10441044
$arguments = [];
@@ -1071,7 +1071,7 @@ public function listOrgRoleTeams(array $params): iterable|WithoutBody
10711071
return $operator->call($arguments['org'], $arguments['role_id'], $arguments['per_page'], $arguments['page']);
10721072
}
10731073

1074-
/** @return iterable<int,Schema\UserRoleAssignment>|WithoutBody */
1074+
/** @return Observable<Schema\UserRoleAssignment>|WithoutBody */
10751075
public function listOrgRoleUsers(array $params): iterable|WithoutBody
10761076
{
10771077
$arguments = [];

0 commit comments

Comments
 (0)