Skip to content

Commit 67bd209

Browse files
authored
Merge pull request #1511 from php-api-clients/GitHubEnterprise-3.15/from-1.1.4-b323588c4cb3168432ec55824c9b764c-from-1.1.4-b323588c4cb3168432ec55824c9b764c
2 parents 697fa3d + 2912b5b commit 67bd209

File tree

9 files changed

+21
-15
lines changed

9 files changed

+21
-15
lines changed

clients/GitHubEnterprise-3.15/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": "8e70edec105746983b03daa8864a8df8",
2+
"specHash": "b323588c4cb3168432ec55824c9b764c",
33
"generatedFiles": {
44
"files": [
55
{
@@ -11056,7 +11056,7 @@
1105611056
},
1105711057
{
1105811058
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
11059-
"hash": "5ebd59b377fa56da84093860b074238a"
11059+
"hash": "75b7740fb512adfb41a711553a784db0"
1106011060
},
1106111061
{
1106211062
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php",
@@ -11128,7 +11128,7 @@
1112811128
},
1112911129
{
1113011130
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php",
11131-
"hash": "612cab6a7bf4459cf097650381dd5e75"
11131+
"hash": "613713434ca904649774a4361befc2fc"
1113211132
},
1113311133
{
1113411134
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php",
@@ -26660,7 +26660,7 @@
2666026660
},
2666126661
{
2666226662
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php",
26663-
"hash": "3e9e34b8ec3f67e8458d4a00c2630835"
26663+
"hash": "9bd0fbc257fd34fe9c6661d7966a18cc"
2666426664
},
2666526665
{
2666626666
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php",
@@ -27212,7 +27212,7 @@
2721227212
},
2721327213
{
2721427214
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
27215-
"hash": "dcbf2b1bb7fb9cc9416745e8c13fcc14"
27215+
"hash": "03a78049cc14a10e8b8ad6bf8778c4ab"
2721627216
},
2721727217
{
2721827218
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
@@ -27424,11 +27424,11 @@
2742427424
},
2742527425
{
2742627426
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27427-
"hash": "72c7f105d61896c8c4afa1b6a78f418b"
27427+
"hash": "057a0e66c0fac8be025f4333a6d16a9b"
2742827428
},
2742927429
{
2743027430
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27431-
"hash": "31e0c425fc6d0e0eb3032545e05117c0"
27431+
"hash": "0afba759e55aef88b3e3a19ce1993b10"
2743227432
},
2743327433
{
2743427434
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -27444,7 +27444,7 @@
2744427444
},
2744527445
{
2744627446
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php",
27447-
"hash": "28fab98c49c28961e606d06041d34534"
27447+
"hash": "7283ab444baadbfc831c091e6cd63c0d"
2744827448
},
2744927449
{
2745027450
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
@@ -27468,7 +27468,7 @@
2746827468
},
2746927469
{
2747027470
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/Actions.php",
27471-
"hash": "8050fc86038d674e70b8dd2e511e644b"
27471+
"hash": "896b1f5c6516371d759abf61887a73b8"
2747227472
},
2747327473
{
2747427474
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",

clients/GitHubEnterprise-3.15/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.15/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.15/src/Internal/Router/Get/EnterpriseAdmin.php

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

666+
/** @return */
666667
public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGroupList|WithoutBody
667668
{
668669
$arguments = [];
@@ -701,6 +702,7 @@ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGr
701702
return $operator->call($arguments['filter'], $arguments['excludedAttributes'], $arguments['enterprise'], $arguments['startIndex'], $arguments['count']);
702703
}
703704

705+
/** @return */
704706
public function listProvisionedIdentitiesEnterprise(array $params): ScimEnterpriseUserList|WithoutBody
705707
{
706708
$arguments = [];

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

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

73-
/** @return |Observable<Schema\RunnerApplication>|Observable<Schema\CodeSecurityDefaultConfigurations>|WithoutBody|Observable<Schema\HookDeliveryItem>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamRoleAssignment>|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> */
73+
/** @return |Observable<Schema\RunnerApplication>|Observable<Schema\CodeSecurityDefaultConfigurations>|WithoutBody|Observable<Schema\HookDeliveryItem>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamRoleAssignment>|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> */
7474
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|CodeSecurityConfiguration|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
7575
{
7676
if ($pathChunks[0] === '') {

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

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

777+
/** @return */
777778
public function listProvisionedGroupsEnterprise(string $filter, string $excludedAttributes, string $enterprise, int $startIndex, int $count): ScimEnterpriseGroupList|WithoutBody
778779
{
779780
return $this->operators->enterpriseAdmin👷ListProvisionedGroupsEnterprise()->call($filter, $excludedAttributes, $enterprise, $startIndex, $count);
@@ -809,6 +810,7 @@ public function updateAttributeForEnterpriseGroup(string $scimGroupId, string $e
809810
return $this->operators->enterpriseAdmin👷UpdateAttributeForEnterpriseGroup()->call($scimGroupId, $enterprise, $params);
810811
}
811812

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

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

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

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

39103910
if ($call === 'POST /scim/v2/enterprises/{enterprise}/Groups') {
@@ -3928,7 +3928,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
39283928
}
39293929

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

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -982,13 +982,13 @@ function authHeader(): string
982982
assertType('Observable<string>', $client->call('STREAM /repos/{owner}/{repo}/zipball/{ref}'));
983983
assertType('', $client->call('POST /repos/{template_owner}/{template_repo}/generate'));
984984
assertType('Observable<Schema\\MinimalRepository>|WithoutBody', $client->call('GET /repositories'));
985-
assertType('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups'));
985+
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups'));
986986
assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Groups'));
987987
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
988988
assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
989989
assertType('', $client->call('DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
990990
assertType('', $client->call('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'));
991-
assertType('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Users'));
991+
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users'));
992992
assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Users'));
993993
assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}'));
994994
assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}'));

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22593,7 +22593,7 @@ paths:
2259322593
value:
2259422594
x-github:
2259522595
githubCloudOnly: false
22596-
enabledForGitHubApps: false
22596+
enabledForGitHubApps: true
2259722597
category: actions
2259822598
subcategory: workflow-runs
2259922599
"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs":

0 commit comments

Comments
 (0)