Skip to content

Commit 8160e96

Browse files
authored
Merge pull request #1509 from php-api-clients/GitHubEnterprise-3.13/from-1.1.4-5345cfceb2528e8e91c8d7a675d048be-from-1.1.4-5345cfceb2528e8e91c8d7a675d048be
2 parents 42dc8b8 + ba7ba0a commit 8160e96

File tree

9 files changed

+21
-15
lines changed

9 files changed

+21
-15
lines changed

clients/GitHubEnterprise-3.13/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": "8aaac40408fe90412b505511aa617071",
2+
"specHash": "5345cfceb2528e8e91c8d7a675d048be",
33
"generatedFiles": {
44
"files": [
55
{
@@ -10748,7 +10748,7 @@
1074810748
},
1074910749
{
1075010750
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
10751-
"hash": "5ebd59b377fa56da84093860b074238a"
10751+
"hash": "75b7740fb512adfb41a711553a784db0"
1075210752
},
1075310753
{
1075410754
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php",
@@ -10820,7 +10820,7 @@
1082010820
},
1082110821
{
1082210822
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php",
10823-
"hash": "612cab6a7bf4459cf097650381dd5e75"
10823+
"hash": "613713434ca904649774a4361befc2fc"
1082410824
},
1082510825
{
1082610826
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php",
@@ -26404,7 +26404,7 @@
2640426404
},
2640526405
{
2640626406
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php",
26407-
"hash": "e38ca79cf72a9ce8e17d8fd2b95704ca"
26407+
"hash": "801992ac075569c0e94b45dcad3b8b4e"
2640826408
},
2640926409
{
2641026410
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php",
@@ -26936,7 +26936,7 @@
2693626936
},
2693726937
{
2693826938
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
26939-
"hash": "50d790ea7d404c399793f46285dec6a4"
26939+
"hash": "fb8d914498dc8ddad6eaa4249ed98e34"
2694026940
},
2694126941
{
2694226942
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
@@ -27148,11 +27148,11 @@
2714827148
},
2714927149
{
2715027150
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27151-
"hash": "f324c61f921af29dd138e579e680742d"
27151+
"hash": "2fb5474325448bccbcb22bb7d1158ea1"
2715227152
},
2715327153
{
2715427154
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27155-
"hash": "ca7adf5daf67b5004f0909656cca8349"
27155+
"hash": "54beea339c8099994a522e19c9c55b8c"
2715627156
},
2715727157
{
2715827158
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -27168,7 +27168,7 @@
2716827168
},
2716927169
{
2717027170
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php",
27171-
"hash": "d0f6cc583f7b5b3c98ebbcc1a07a01b3"
27171+
"hash": "8e5ed19636edd3f61c268f23d3dba92d"
2717227172
},
2717327173
{
2717427174
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
@@ -27192,7 +27192,7 @@
2719227192
},
2719327193
{
2719427194
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Actions.php",
27195-
"hash": "8050fc86038d674e70b8dd2e511e644b"
27195+
"hash": "896b1f5c6516371d759abf61887a73b8"
2719627196
},
2719727197
{
2719827198
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",

clients/GitHubEnterprise-3.13/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.13/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.13/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.13/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\TeamDiscussion>|Observable<Schema\SimpleUser>|Observable<Schema\TeamProject>|Observable<Schema\Team>|Observable<Schema\CodeScanningAlertItems>|WithoutBody|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\TeamDiscussion>|Observable<Schema\SimpleUser>|Observable<Schema\TeamProject>|Observable<Schema\Team>|Observable<Schema\CodeScanningAlertItems>|WithoutBody|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.13/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.13/src/PHPStan/ClientCallReturnTypes.php

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

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

37983798
if ($call === 'POST /scim/v2/enterprises/{enterprise}/Groups') {
@@ -3816,7 +3816,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
38163816
}
38173817

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

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,13 +954,13 @@ function authHeader(): string
954954
assertType('Observable<string>', $client->call('STREAM /repos/{owner}/{repo}/zipball/{ref}'));
955955
assertType('', $client->call('POST /repos/{template_owner}/{template_repo}/generate'));
956956
assertType('Observable<Schema\\MinimalRepository>|WithoutBody', $client->call('GET /repositories'));
957-
assertType('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups'));
957+
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups'));
958958
assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Groups'));
959959
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
960960
assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
961961
assertType('', $client->call('DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
962962
assertType('', $client->call('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
963-
assertType('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Users'));
963+
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users'));
964964
assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Users'));
965965
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}'));
966966
assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}'));

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21150,7 +21150,7 @@ paths:
2115021150
value:
2115121151
x-github:
2115221152
githubCloudOnly: false
21153-
enabledForGitHubApps: false
21153+
enabledForGitHubApps: true
2115421154
category: actions
2115521155
subcategory: workflow-runs
2115621156
"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs":

0 commit comments

Comments
 (0)