Skip to content

Commit 697fa3d

Browse files
authored
Merge pull request #1510 from php-api-clients/GitHubEnterprise-3.14/from-1.1.4-dc977c8003154234e7a787ec7b8ad5db-from-1.1.4-dc977c8003154234e7a787ec7b8ad5db
2 parents 8160e96 + a32314c commit 697fa3d

File tree

9 files changed

+21
-15
lines changed

9 files changed

+21
-15
lines changed

clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "82c0b03ba48cc7845ffb459ce00859eb",
2+
"specHash": "dc977c8003154234e7a787ec7b8ad5db",
33
"generatedFiles": {
44
"files": [
55
{
@@ -10912,7 +10912,7 @@
1091210912
},
1091310913
{
1091410914
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
10915-
"hash": "5ebd59b377fa56da84093860b074238a"
10915+
"hash": "75b7740fb512adfb41a711553a784db0"
1091610916
},
1091710917
{
1091810918
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php",
@@ -10984,7 +10984,7 @@
1098410984
},
1098510985
{
1098610986
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php",
10987-
"hash": "612cab6a7bf4459cf097650381dd5e75"
10987+
"hash": "613713434ca904649774a4361befc2fc"
1098810988
},
1098910989
{
1099010990
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php",
@@ -26700,7 +26700,7 @@
2670026700
},
2670126701
{
2670226702
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php",
26703-
"hash": "e38ca79cf72a9ce8e17d8fd2b95704ca"
26703+
"hash": "801992ac075569c0e94b45dcad3b8b4e"
2670426704
},
2670526705
{
2670626706
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php",
@@ -27232,7 +27232,7 @@
2723227232
},
2723327233
{
2723427234
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
27235-
"hash": "4cc115df9671221e51f3c220e9c964b0"
27235+
"hash": "e2d6b10c43a46b1771acf2174be392b6"
2723627236
},
2723727237
{
2723827238
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
@@ -27444,11 +27444,11 @@
2744427444
},
2744527445
{
2744627446
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27447-
"hash": "7e27b5fb6dce8a6f956b8c3a7c91c3e8"
27447+
"hash": "eb9acf050e7c53fe1a316472b8cdc81d"
2744827448
},
2744927449
{
2745027450
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27451-
"hash": "99db7a0395e1f49c6a640c8387bfae64"
27451+
"hash": "e5864aba0dd4de9cada7ede4eeee69c5"
2745227452
},
2745327453
{
2745427454
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -27464,7 +27464,7 @@
2746427464
},
2746527465
{
2746627466
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php",
27467-
"hash": "d0f6cc583f7b5b3c98ebbcc1a07a01b3"
27467+
"hash": "8e5ed19636edd3f61c268f23d3dba92d"
2746827468
},
2746927469
{
2747027470
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
@@ -27488,7 +27488,7 @@
2748827488
},
2748927489
{
2749027490
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/Actions.php",
27491-
"hash": "8050fc86038d674e70b8dd2e511e644b"
27491+
"hash": "896b1f5c6516371d759abf61887a73b8"
2749227492
},
2749327493
{
2749427494
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",

clients/GitHubEnterprise-3.14/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php

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

28+
/** @return */
2829
public function call(string $filter, string $excludedAttributes, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseGroupList|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\ListProvisionedGroupsEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $excludedAttributes, $enterprise, $startIndex, $count);

clients/GitHubEnterprise-3.14/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php

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

28+
/** @return */
2829
public function call(string $filter, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseUserList|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\ListProvisionedIdentitiesEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $enterprise, $startIndex, $count);

clients/GitHubEnterprise-3.14/src/Internal/Router/Get/EnterpriseAdmin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,7 @@ public function getPreReceiveHookForRepo(array $params): RepositoryPreReceiveHoo
690690
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['pre_receive_hook_id']);
691691
}
692692

693+
/** @return */
693694
public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGroupList|WithoutBody
694695
{
695696
$arguments = [];
@@ -728,6 +729,7 @@ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGr
728729
return $operator->call($arguments['filter'], $arguments['excludedAttributes'], $arguments['enterprise'], $arguments['startIndex'], $arguments['count']);
729730
}
730731

732+
/** @return */
731733
public function listProvisionedIdentitiesEnterprise(array $params): ScimEnterpriseUserList|WithoutBody
732734
{
733735
$arguments = [];

clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Six.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function __construct(private Routers $routers)
6969
{
7070
}
7171

72-
/** @return |Observable<Schema\RunnerApplication>|Observable<Schema\HookDeliveryItem>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamRoleAssignment>|WithoutBody|Observable<Schema\UserRoleAssignment>|Observable<Schema\TeamDiscussion>|Observable<Schema\SimpleUser>|Observable<Schema\TeamProject>|Observable<Schema\Team>|Observable<Schema\CodeScanningAlertItems>|Observable<Schema\CodeScanningAnalysis>|Observable<Schema\DependabotAlert>|Observable<Schema\IssueComment>|Observable<Schema\IssueEvent>|Observable<Schema\PageBuild>|Observable<Schema\CustomPropertyValue>|Observable<Schema\PullRequestReviewComment>|Observable<Schema\Operations\Repos\ListCacheInfo\Response\ApplicationJson\Ok>|Observable<Schema\RuleSuites>|Observable<Schema\SecretScanningAlert>|Observable<int>|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\CommitActivity>|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\ContributorActivity>|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\TagProtection>|Schema\ScimEnterpriseGroupList|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Schema\ScimEnterpriseUserList|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\PackageVersion>|Observable<Schema\Event> */
72+
/** @return |Observable<Schema\RunnerApplication>|Observable<Schema\HookDeliveryItem>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamRoleAssignment>|WithoutBody|Observable<Schema\UserRoleAssignment>|Observable<Schema\TeamDiscussion>|Observable<Schema\SimpleUser>|Observable<Schema\TeamProject>|Observable<Schema\Team>|Observable<Schema\CodeScanningAlertItems>|Observable<Schema\CodeScanningAnalysis>|Observable<Schema\DependabotAlert>|Observable<Schema\IssueComment>|Observable<Schema\IssueEvent>|Observable<Schema\PageBuild>|Observable<Schema\CustomPropertyValue>|Observable<Schema\PullRequestReviewComment>|Observable<Schema\Operations\Repos\ListCacheInfo\Response\ApplicationJson\Ok>|Observable<Schema\RuleSuites>|Observable<Schema\SecretScanningAlert>|Observable<int>|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\CommitActivity>|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\ContributorActivity>|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\TagProtection>|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\PackageVersion>|Observable<Schema\Event> */
7373
public function call(string $call, array $params, array $pathChunks): PreReceiveEnvironmentDownloadStatus|ActionsCacheUsageOrgEnterprise|ActionsCacheUsagePolicyEnterprise|Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|RunnerGroupsEnterprise|iterable|Runner|AdvancedSecurityActiveCommitters|\ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\GetManageConfigApplyEvents\Response\ApplicationJson\Ok|WithoutBody|GhesLicenseCheck|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|RunnerGroupsOrg|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|Package|CustomProperty|RuleSuite|ExternalGroups|ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|CommitComment|Commit|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|RepositoryPreReceiveHook|PullRequest|Release|RepositoryRuleset|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|ScimEnterpriseGroupList|ScimEnterpriseUserList|TeamRepository
7474
{
7575
if ($pathChunks[0] === '') {

clients/GitHubEnterprise-3.14/src/Operation/EnterpriseAdmin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,7 @@ public function updatePreReceiveHookEnforcementForRepo(string $owner, string $re
777777
return $this->operators->enterpriseAdmin👷UpdatePreReceiveHookEnforcementForRepo()->call($owner, $repo, $preReceiveHookId, $params);
778778
}
779779

780+
/** @return */
780781
public function listProvisionedGroupsEnterprise(string $filter, string $excludedAttributes, string $enterprise, int $startIndex, int $count): ScimEnterpriseGroupList|WithoutBody
781782
{
782783
return $this->operators->enterpriseAdmin👷ListProvisionedGroupsEnterprise()->call($filter, $excludedAttributes, $enterprise, $startIndex, $count);
@@ -812,6 +813,7 @@ public function updateAttributeForEnterpriseGroup(string $scimGroupId, string $e
812813
return $this->operators->enterpriseAdmin👷UpdateAttributeForEnterpriseGroup()->call($scimGroupId, $enterprise, $params);
813814
}
814815

816+
/** @return */
815817
public function listProvisionedIdentitiesEnterprise(string $filter, string $enterprise, int $startIndex, int $count): ScimEnterpriseUserList|WithoutBody
816818
{
817819
return $this->operators->enterpriseAdmin👷ListProvisionedIdentitiesEnterprise()->call($filter, $enterprise, $startIndex, $count);

clients/GitHubEnterprise-3.14/src/PHPStan/ClientCallReturnTypes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3856,7 +3856,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
38563856
}
38573857

38583858
if ($call === 'GET /scim/v2/enterprises/{enterprise}/Groups') {
3859-
return $this->typeResolver->resolve('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody');
3859+
return $this->typeResolver->resolve('');
38603860
}
38613861

38623862
if ($call === 'POST /scim/v2/enterprises/{enterprise}/Groups') {
@@ -3880,7 +3880,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
38803880
}
38813881

38823882
if ($call === 'GET /scim/v2/enterprises/{enterprise}/Users') {
3883-
return $this->typeResolver->resolve('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody');
3883+
return $this->typeResolver->resolve('');
38843884
}
38853885

38863886
if ($call === 'POST /scim/v2/enterprises/{enterprise}/Users') {

clients/GitHubEnterprise-3.14/tests/Types/ClientCallReturnTypes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -970,13 +970,13 @@ function authHeader(): string
970970
assertType('Observable<string>', $client->call('STREAM /repos/{owner}/{repo}/zipball/{ref}'));
971971
assertType('', $client->call('POST /repos/{template_owner}/{template_repo}/generate'));
972972
assertType('Observable<Schema\\MinimalRepository>|WithoutBody', $client->call('GET /repositories'));
973-
assertType('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups'));
973+
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups'));
974974
assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Groups'));
975975
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
976976
assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
977977
assertType('', $client->call('DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
978978
assertType('', $client->call('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
979-
assertType('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Users'));
979+
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users'));
980980
assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Users'));
981981
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}'));
982982
assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}'));

etc/specs/GitHubEnterprise-3.14/current.spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21769,7 +21769,7 @@ paths:
2176921769
value:
2177021770
x-github:
2177121771
githubCloudOnly: false
21772-
enabledForGitHubApps: false
21772+
enabledForGitHubApps: true
2177321773
category: actions
2177421774
subcategory: workflow-runs
2177521775
"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs":

0 commit comments

Comments
 (0)