From 4b10893c9ef1cdfb5851a1e23468af594a8f6af0 Mon Sep 17 00:00:00 2001 From: WyriHaximus <147145+WyriHaximus@users.noreply.github.com> Date: Fri, 7 Feb 2025 10:57:00 +0000 Subject: [PATCH] [GitHubEnterprise-3.15] Update to 1.1.4-8e70edec105746983b03daa8864a8df8 from 1.1.4-882141f1b59adcc27a5ddb1aac77be7c Detected Schema changes: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` └─┬Paths ├─┬/scim/v2/enterprises/{enterprise}/Groups │ └─┬GET │ └─┬Parameters │ └──[🔀] description (41193:22) └─┬/scim/v2/enterprises/{enterprise}/Users └─┬GET └─┬Parameters └──[🔀] description (41545:22) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 2 | 0 | Date: 02/07/25 | Commit: New: etc/specs/GitHubEnterprise-3.15/previous.spec.yaml, Original: etc/specs/GitHubEnterprise-3.15/current.spec.yaml - **Total Changes**: _2_ - **Modifications**: _2_ --- .../etc/openapi-client-generator.state | 34 +++++++++---------- .../ListProvisionedGroupsEnterprise.php | 2 +- .../ListProvisionedIdentitiesEnterprise.php | 2 +- .../GenerateRunnerJitconfigForEnterprise.php | 1 + .../Actions/GenerateRunnerJitconfigForOrg.php | 1 + .../GenerateRunnerJitconfigForRepo.php | 1 + .../ListProvisionedGroupsEnterprise.php | 1 - .../ListProvisionedIdentitiesEnterprise.php | 1 - .../Internal/Router/Get/EnterpriseAdmin.php | 2 -- .../src/Internal/Router/Get/Six.php | 2 +- .../src/Internal/Router/Post/Actions.php | 3 ++ .../src/Internal/Router/Post/Seven.php | 2 +- .../src/Internal/Router/Post/Six.php | 1 - .../src/Operation/Actions.php | 3 ++ .../src/Operation/EnterpriseAdmin.php | 2 -- .../src/PHPStan/ClientCallReturnTypes.php | 10 +++--- .../tests/Types/ClientCallReturnTypes.php | 10 +++--- .../GitHubEnterprise-3.15/current.spec.yaml | 6 ++-- 18 files changed, 43 insertions(+), 41 deletions(-) diff --git a/clients/GitHubEnterprise-3.15/etc/openapi-client-generator.state b/clients/GitHubEnterprise-3.15/etc/openapi-client-generator.state index 1b3b806f268..a6be9a5dd03 100644 --- a/clients/GitHubEnterprise-3.15/etc/openapi-client-generator.state +++ b/clients/GitHubEnterprise-3.15/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "882141f1b59adcc27a5ddb1aac77be7c", + "specHash": "8e70edec105746983b03daa8864a8df8", "generatedFiles": { "files": [ { @@ -1408,7 +1408,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForEnterprise.php", - "hash": "9db39a84fee21257cc067d9bdf7a492e" + "hash": "9f8e11df86c6ade6de328ed0fc9281c5" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForEnterpriseTest.php", @@ -2832,7 +2832,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForOrg.php", - "hash": "e6bade18c0d7ec70a21729d8f82f720a" + "hash": "9957e41b1b70e8ee20d13d7b2162add4" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForOrgTest.php", @@ -6024,7 +6024,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForRepo.php", - "hash": "a918f5cd95dd5a35a68d4f453033b797" + "hash": "0a200eb07b9e0671f0956feaec4157b4" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForRepoTest.php", @@ -11052,11 +11052,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php", - "hash": "db86281e2d49d13f66ac80328f72e29d" + "hash": "cd460736f3e3abe46d504126639546d7" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php", - "hash": "75b7740fb512adfb41a711553a784db0" + "hash": "5ebd59b377fa56da84093860b074238a" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php", @@ -11124,11 +11124,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php", - "hash": "213ec05fd271504053bfe667c3b2f262" + "hash": "b90351000c7f39f737091d5d80284d4a" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php", - "hash": "613713434ca904649774a4361befc2fc" + "hash": "612cab6a7bf4459cf097650381dd5e75" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php", @@ -26660,7 +26660,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php", - "hash": "9bd0fbc257fd34fe9c6661d7966a18cc" + "hash": "3e9e34b8ec3f67e8458d4a00c2630835" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php", @@ -26900,7 +26900,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Actions.php", - "hash": "1a870083e1219d7429319552fe91aeb4" + "hash": "154adb9b3b9ea89d158bad2677cd6260" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Post\/CodeSecurity.php", @@ -27212,7 +27212,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "03a78049cc14a10e8b8ad6bf8778c4ab" + "hash": "dcbf2b1bb7fb9cc9416745e8c13fcc14" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php", @@ -27284,7 +27284,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php", - "hash": "f1d800c0780e568c3a0ad71af42db608" + "hash": "d4a679aea5ac180f17901bd794e7972a" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Four.php", @@ -27296,7 +27296,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php", - "hash": "3bc2181b309181f118cb91f93306c6fc" + "hash": "9b8bd6542701beceab0be128c752d45e" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Eight.php", @@ -27424,11 +27424,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "387dec0cba40215340bf0c2428f5526a" + "hash": "72c7f105d61896c8c4afa1b6a78f418b" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "bbc543b295eeefeec096ab1f09988bc1" + "hash": "31e0c425fc6d0e0eb3032545e05117c0" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -27444,7 +27444,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php", - "hash": "c41e1e5ed253f0c166d3e55aeb3f84e0" + "hash": "28fab98c49c28961e606d06041d34534" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php", @@ -27468,7 +27468,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/Actions.php", - "hash": "c90b1629a8a9dc50fdb7f5403f2ccc83" + "hash": "8050fc86038d674e70b8dd2e511e644b" }, { "name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/CodeScanning.php", diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php b/clients/GitHubEnterprise-3.15/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php index 19469624cfa..47caae5b40c 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php @@ -23,7 +23,7 @@ final class ListProvisionedGroupsEnterprise { public const OPERATION_ID = 'enterprise-admin/list-provisioned-groups-enterprise'; public const OPERATION_MATCH = 'GET /scim/v2/enterprises/{enterprise}/Groups'; - /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `externalId`, `id`, and `displayName`. For example, `?filter="externalId eq '9138790-10932-109120392-12321'"`. **/ + /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `externalId`, `id`, and `displayName`. For example, `?filter='externalId eq "9138790-10932-109120392-12321"'`. **/ private string $filter; /**Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. **/ private string $excludedAttributes; diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php b/clients/GitHubEnterprise-3.15/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php index ca3d914420c..48736e79ef5 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php @@ -23,7 +23,7 @@ final class ListProvisionedIdentitiesEnterprise { public const OPERATION_ID = 'enterprise-admin/list-provisioned-identities-enterprise'; public const OPERATION_MATCH = 'GET /scim/v2/enterprises/{enterprise}/Users'; - /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `userName`, `externalId`, `id`, and `displayName`. For example, `?filter="externalId eq '9138790-10932-109120392-12321'"`. **/ + /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `userName`, `externalId`, `id`, and `displayName`. For example, `?filter='externalId eq "9138790-10932-109120392-12321"'`. **/ private string $filter; /**The slug version of the enterprise name. You can also substitute this value with the enterprise id. **/ private string $enterprise; diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php b/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php index d54cb0eed18..f2c4133c769 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $enterprise, array $params): Created { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\GenerateRunnerJitconfigForEnterprise($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $enterprise); diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php b/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php index 8fb1bb489a7..7d879aaef25 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $org, array $params): Created { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\GenerateRunnerJitconfigForOrg($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org); diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php b/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php index 7979d2f639a..10070501a81 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, array $params): Created { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\GenerateRunnerJitconfigForRepo($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo); diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php b/clients/GitHubEnterprise-3.15/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php index 0b938d14897..4eeb755ec5d 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php @@ -25,7 +25,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $filter, string $excludedAttributes, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseGroupList|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\ListProvisionedGroupsEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $excludedAttributes, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php b/clients/GitHubEnterprise-3.15/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php index 9d765474662..397fdf6ac2b 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php @@ -25,7 +25,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $filter, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseUserList|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\ListProvisionedIdentitiesEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Router/Get/EnterpriseAdmin.php b/clients/GitHubEnterprise-3.15/src/Internal/Router/Get/EnterpriseAdmin.php index 5e0899d9257..8aba02d7952 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Router/Get/EnterpriseAdmin.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Router/Get/EnterpriseAdmin.php @@ -663,7 +663,6 @@ public function getPreReceiveHookForRepo(array $params): RepositoryPreReceiveHoo return $operator->call($arguments['owner'], $arguments['repo'], $arguments['pre_receive_hook_id']); } - /** @return */ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGroupList|WithoutBody { $arguments = []; @@ -702,7 +701,6 @@ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGr return $operator->call($arguments['filter'], $arguments['excludedAttributes'], $arguments['enterprise'], $arguments['startIndex'], $arguments['count']); } - /** @return */ public function listProvisionedIdentitiesEnterprise(array $params): ScimEnterpriseUserList|WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Router/Get/Six.php b/clients/GitHubEnterprise-3.15/src/Internal/Router/Get/Six.php index d580d991783..5954018a00d 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Router/Get/Six.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Router/Get/Six.php @@ -70,7 +70,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\ScimEnterpriseGroupList|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Schema\ScimEnterpriseUserList|Observable|Observable|Observable|Observable */ 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 { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Actions.php b/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Actions.php index bc3ef4fe86e..91158d10b2a 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Actions.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Actions.php @@ -55,6 +55,7 @@ public function createOrgVariable(array $params): EmptyObject return $operator->call($arguments['org'], $params); } + /** @return */ public function generateRunnerJitconfigForEnterprise(array $params): Created { $arguments = []; @@ -69,6 +70,7 @@ public function generateRunnerJitconfigForEnterprise(array $params): Created return $operator->call($arguments['enterprise'], $params); } + /** @return */ public function generateRunnerJitconfigForOrg(array $params): Created { $arguments = []; @@ -155,6 +157,7 @@ public function addCustomLabelsToSelfHostedRunnerForOrg(array $params): Ok return $operator->call($arguments['org'], $arguments['runner_id'], $params); } + /** @return */ public function generateRunnerJitconfigForRepo(array $params): Created { $arguments = []; diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Seven.php b/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Seven.php index 99f5d5ac80f..153b26eeb13 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Seven.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Seven.php @@ -32,7 +32,7 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created|Observable|Schema\BasicError */ + /** @return |Observable|Schema\BasicError */ public function call(string $call, array $params, array $pathChunks): Ok|Json|WithoutBody|Created|AuthenticationToken|BranchWithProtection|EmptyObject|Reaction|CommitComment|DeploymentStatus|DeploymentBranchPolicy|DeploymentProtectionRule|Issue|IssueComment|iterable|BasicError|PullRequestReviewComment|PullRequestSimple|PullRequestReview|ReleaseAsset { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Six.php b/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Six.php index 6431ab9b877..221703c1b75 100644 --- a/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Six.php +++ b/clients/GitHubEnterprise-3.15/src/Internal/Router/Post/Six.php @@ -35,7 +35,6 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created */ public function call(string $call, array $params, array $pathChunks): Created|Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Apps\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created|AuthenticationToken|WithoutBody|TeamDiscussion|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|EmptyObject|CodeScanningSarifsReceipt|\ApiClients\Client\GitHubEnterprise\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|ShortBlob|GitCommit|GitRef|GitTag|GitTree|PageBuildStatus|PageDeployment|ReleaseNotesContent|SecretScanningPushProtectionBypass|Status|TagProtection|GroupResponse|UserResponse|TeamDiscussionComment|Reaction { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.15/src/Operation/Actions.php b/clients/GitHubEnterprise-3.15/src/Operation/Actions.php index 7dccf55c018..c55c72b1ac0 100644 --- a/clients/GitHubEnterprise-3.15/src/Operation/Actions.php +++ b/clients/GitHubEnterprise-3.15/src/Operation/Actions.php @@ -71,6 +71,7 @@ public function setGithubActionsDefaultWorkflowPermissionsEnterprise(string $ent return $this->operators->actions👷SetGithubActionsDefaultWorkflowPermissionsEnterprise()->call($enterprise, $params); } + /** @return */ public function generateRunnerJitconfigForEnterprise(string $enterprise, array $params): Created { return $this->operators->actions👷GenerateRunnerJitconfigForEnterprise()->call($enterprise, $params); @@ -238,6 +239,7 @@ public function listRunnerApplicationsForOrg(string $org): iterable return $this->operators->actions👷ListRunnerApplicationsForOrg()->call($org); } + /** @return */ public function generateRunnerJitconfigForOrg(string $org, array $params): Created { return $this->operators->actions👷GenerateRunnerJitconfigForOrg()->call($org, $params); @@ -579,6 +581,7 @@ public function listRunnerApplicationsForRepo(string $owner, string $repo): iter return $this->operators->actions👷ListRunnerApplicationsForRepo()->call($owner, $repo); } + /** @return */ public function generateRunnerJitconfigForRepo(string $owner, string $repo, array $params): Created { return $this->operators->actions👷GenerateRunnerJitconfigForRepo()->call($owner, $repo, $params); diff --git a/clients/GitHubEnterprise-3.15/src/Operation/EnterpriseAdmin.php b/clients/GitHubEnterprise-3.15/src/Operation/EnterpriseAdmin.php index 695719962cc..6c1705f572a 100644 --- a/clients/GitHubEnterprise-3.15/src/Operation/EnterpriseAdmin.php +++ b/clients/GitHubEnterprise-3.15/src/Operation/EnterpriseAdmin.php @@ -774,7 +774,6 @@ public function updatePreReceiveHookEnforcementForRepo(string $owner, string $re return $this->operators->enterpriseAdmin👷UpdatePreReceiveHookEnforcementForRepo()->call($owner, $repo, $preReceiveHookId, $params); } - /** @return */ public function listProvisionedGroupsEnterprise(string $filter, string $excludedAttributes, string $enterprise, int $startIndex, int $count): ScimEnterpriseGroupList|WithoutBody { return $this->operators->enterpriseAdmin👷ListProvisionedGroupsEnterprise()->call($filter, $excludedAttributes, $enterprise, $startIndex, $count); @@ -810,7 +809,6 @@ public function updateAttributeForEnterpriseGroup(string $scimGroupId, string $e return $this->operators->enterpriseAdmin👷UpdateAttributeForEnterpriseGroup()->call($scimGroupId, $enterprise, $params); } - /** @return */ public function listProvisionedIdentitiesEnterprise(string $filter, string $enterprise, int $startIndex, int $count): ScimEnterpriseUserList|WithoutBody { return $this->operators->enterpriseAdmin👷ListProvisionedIdentitiesEnterprise()->call($filter, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterprise-3.15/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.15/src/PHPStan/ClientCallReturnTypes.php index c425a81cd95..fde21772f77 100644 --- a/clients/GitHubEnterprise-3.15/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.15/src/PHPStan/ClientCallReturnTypes.php @@ -540,7 +540,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'POST /enterprises/{enterprise}/actions/runners/generate-jitconfig') { - return $this->typeResolver->resolve('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /enterprises/{enterprise}/actions/runners/registration-token') { @@ -1040,7 +1040,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'POST /orgs/{org}/actions/runners/generate-jitconfig') { - return $this->typeResolver->resolve('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /orgs/{org}/actions/runners/registration-token') { @@ -2168,7 +2168,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig') { - return $this->typeResolver->resolve('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /repos/{owner}/{repo}/actions/runners/registration-token') { @@ -3904,7 +3904,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /scim/v2/enterprises/{enterprise}/Groups') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'POST /scim/v2/enterprises/{enterprise}/Groups') { @@ -3928,7 +3928,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /scim/v2/enterprises/{enterprise}/Users') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'POST /scim/v2/enterprises/{enterprise}/Users') { diff --git a/clients/GitHubEnterprise-3.15/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.15/tests/Types/ClientCallReturnTypes.php index 84556a9d6dd..ac108031f49 100644 --- a/clients/GitHubEnterprise-3.15/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.15/tests/Types/ClientCallReturnTypes.php @@ -141,7 +141,7 @@ function authHeader(): string assertType('', $client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}')); assertType('', $client->call('GET /enterprises/{enterprise}/actions/runners')); assertType('Observable', $client->call('GET /enterprises/{enterprise}/actions/runners/downloads')); -assertType('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created', $client->call('POST /enterprises/{enterprise}/actions/runners/generate-jitconfig')); +assertType('', $client->call('POST /enterprises/{enterprise}/actions/runners/generate-jitconfig')); assertType('', $client->call('POST /enterprises/{enterprise}/actions/runners/registration-token')); assertType('', $client->call('POST /enterprises/{enterprise}/actions/runners/remove-token')); assertType('', $client->call('GET /enterprises/{enterprise}/actions/runners/{runner_id}')); @@ -266,7 +266,7 @@ function authHeader(): string assertType('', $client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}')); assertType('', $client->call('GET /orgs/{org}/actions/runners')); assertType('Observable', $client->call('GET /orgs/{org}/actions/runners/downloads')); -assertType('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created', $client->call('POST /orgs/{org}/actions/runners/generate-jitconfig')); +assertType('', $client->call('POST /orgs/{org}/actions/runners/generate-jitconfig')); assertType('', $client->call('POST /orgs/{org}/actions/runners/registration-token')); assertType('', $client->call('POST /orgs/{org}/actions/runners/remove-token')); assertType('', $client->call('GET /orgs/{org}/actions/runners/{runner_id}')); @@ -548,7 +548,7 @@ function authHeader(): string assertType('', $client->call('PUT /repos/{owner}/{repo}/actions/permissions/workflow')); assertType('', $client->call('GET /repos/{owner}/{repo}/actions/runners')); assertType('Observable', $client->call('GET /repos/{owner}/{repo}/actions/runners/downloads')); -assertType('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created', $client->call('POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig')); +assertType('', $client->call('POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig')); assertType('', $client->call('POST /repos/{owner}/{repo}/actions/runners/registration-token')); assertType('', $client->call('POST /repos/{owner}/{repo}/actions/runners/remove-token')); assertType('', $client->call('GET /repos/{owner}/{repo}/actions/runners/{runner_id}')); @@ -982,13 +982,13 @@ function authHeader(): string assertType('Observable', $client->call('STREAM /repos/{owner}/{repo}/zipball/{ref}')); assertType('', $client->call('POST /repos/{template_owner}/{template_repo}/generate')); assertType('Observable|WithoutBody', $client->call('GET /repositories')); -assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups')); +assertType('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups')); assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Groups')); assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); assertType('', $client->call('DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); assertType('', $client->call('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); -assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users')); +assertType('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Users')); assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Users')); assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); diff --git a/etc/specs/GitHubEnterprise-3.15/current.spec.yaml b/etc/specs/GitHubEnterprise-3.15/current.spec.yaml index 0464b50594f..ca8c48f77c1 100644 --- a/etc/specs/GitHubEnterprise-3.15/current.spec.yaml +++ b/etc/specs/GitHubEnterprise-3.15/current.spec.yaml @@ -41192,7 +41192,7 @@ paths: - name: filter description: If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `externalId`, - `id`, and `displayName`. For example, `?filter="externalId eq '9138790-10932-109120392-12321'"`. + `id`, and `displayName`. For example, `?filter='externalId eq "9138790-10932-109120392-12321"'`. in: query required: false schema: @@ -41544,8 +41544,8 @@ paths: - name: filter description: If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `userName`, - `externalId`, `id`, and `displayName`. For example, `?filter="externalId - eq '9138790-10932-109120392-12321'"`. + `externalId`, `id`, and `displayName`. For example, `?filter='externalId + eq "9138790-10932-109120392-12321"'`. in: query required: false schema: