diff --git a/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state b/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state index e31fd5307d0..91799e57aed 100644 --- a/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state +++ b/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "3d4394c11aa41626a6e266db909dd9d7", + "specHash": "8aaac40408fe90412b505511aa617071", "generatedFiles": { "files": [ { @@ -1408,7 +1408,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForEnterprise.php", - "hash": "9db39a84fee21257cc067d9bdf7a492e" + "hash": "9f8e11df86c6ade6de328ed0fc9281c5" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForEnterpriseTest.php", @@ -2832,7 +2832,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForOrg.php", - "hash": "e6bade18c0d7ec70a21729d8f82f720a" + "hash": "9957e41b1b70e8ee20d13d7b2162add4" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForOrgTest.php", @@ -5740,7 +5740,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForRepo.php", - "hash": "a918f5cd95dd5a35a68d4f453033b797" + "hash": "0a200eb07b9e0671f0956feaec4157b4" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForRepoTest.php", @@ -10744,11 +10744,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php", - "hash": "db86281e2d49d13f66ac80328f72e29d" + "hash": "cd460736f3e3abe46d504126639546d7" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php", - "hash": "75b7740fb512adfb41a711553a784db0" + "hash": "5ebd59b377fa56da84093860b074238a" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php", @@ -10816,11 +10816,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php", - "hash": "213ec05fd271504053bfe667c3b2f262" + "hash": "b90351000c7f39f737091d5d80284d4a" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php", - "hash": "613713434ca904649774a4361befc2fc" + "hash": "612cab6a7bf4459cf097650381dd5e75" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php", @@ -26404,7 +26404,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php", - "hash": "801992ac075569c0e94b45dcad3b8b4e" + "hash": "e38ca79cf72a9ce8e17d8fd2b95704ca" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php", @@ -26640,7 +26640,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Actions.php", - "hash": "1a870083e1219d7429319552fe91aeb4" + "hash": "154adb9b3b9ea89d158bad2677cd6260" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Orgs.php", @@ -26936,7 +26936,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "fb8d914498dc8ddad6eaa4249ed98e34" + "hash": "50d790ea7d404c399793f46285dec6a4" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php", @@ -27008,7 +27008,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php", - "hash": "cf3e6aeacd5937b5c021da5f0e8b282e" + "hash": "582e4f65708d890bcbaccfa125c8d5f6" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Four.php", @@ -27020,7 +27020,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php", - "hash": "d8d45a5cba437a0eb24d6f7a368eceaf" + "hash": "b3d29fd4e2f31b05c7cf82e1bfa3709c" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Eight.php", @@ -27148,11 +27148,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "cdbef71efeedf74b94bf64896cf0996d" + "hash": "f324c61f921af29dd138e579e680742d" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "0e9b23e65accfc413f042577f8b8500d" + "hash": "ca7adf5daf67b5004f0909656cca8349" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -27168,7 +27168,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php", - "hash": "3969d0c96e854589ccfd64812d38dcba" + "hash": "d0f6cc583f7b5b3c98ebbcc1a07a01b3" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php", @@ -27192,7 +27192,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Actions.php", - "hash": "c90b1629a8a9dc50fdb7f5403f2ccc83" + "hash": "8050fc86038d674e70b8dd2e511e644b" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/CodeScanning.php", diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php b/clients/GitHubEnterprise-3.13/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php index 19469624cfa..47caae5b40c 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php +++ b/clients/GitHubEnterprise-3.13/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.13/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php b/clients/GitHubEnterprise-3.13/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php index ca3d914420c..48736e79ef5 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php +++ b/clients/GitHubEnterprise-3.13/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.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php index d54cb0eed18..f2c4133c769 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php +++ b/clients/GitHubEnterprise-3.13/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.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php index 8fb1bb489a7..7d879aaef25 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php +++ b/clients/GitHubEnterprise-3.13/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.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php index 7979d2f639a..10070501a81 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php +++ b/clients/GitHubEnterprise-3.13/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.13/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php index 0b938d14897..4eeb755ec5d 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php +++ b/clients/GitHubEnterprise-3.13/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.13/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php index 9d765474662..397fdf6ac2b 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php +++ b/clients/GitHubEnterprise-3.13/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.13/src/Internal/Router/Get/EnterpriseAdmin.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/EnterpriseAdmin.php index 73c3a6912d1..4b0e691adad 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/EnterpriseAdmin.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/EnterpriseAdmin.php @@ -690,7 +690,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 = []; @@ -729,7 +728,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.13/src/Internal/Router/Get/Six.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Six.php index eb0bdb15668..49b02da7eed 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Six.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Six.php @@ -69,7 +69,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody|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|Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody|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|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.13/src/Internal/Router/Post/Actions.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Actions.php index bc3ef4fe86e..91158d10b2a 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Actions.php +++ b/clients/GitHubEnterprise-3.13/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.13/src/Internal/Router/Post/Seven.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Seven.php index 9d6e91d9018..a5b195a8c69 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Seven.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Seven.php @@ -31,7 +31,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|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.13/src/Internal/Router/Post/Six.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Six.php index 7c94928f2ae..053c5904c9d 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Six.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Six.php @@ -34,7 +34,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|Status|TagProtection|GroupResponse|UserResponse|TeamDiscussionComment|Reaction { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.13/src/Operation/Actions.php b/clients/GitHubEnterprise-3.13/src/Operation/Actions.php index 7dccf55c018..c55c72b1ac0 100644 --- a/clients/GitHubEnterprise-3.13/src/Operation/Actions.php +++ b/clients/GitHubEnterprise-3.13/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.13/src/Operation/EnterpriseAdmin.php b/clients/GitHubEnterprise-3.13/src/Operation/EnterpriseAdmin.php index e6ec8e2cc49..6bb235b1340 100644 --- a/clients/GitHubEnterprise-3.13/src/Operation/EnterpriseAdmin.php +++ b/clients/GitHubEnterprise-3.13/src/Operation/EnterpriseAdmin.php @@ -777,7 +777,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); @@ -813,7 +812,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.13/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php index 73a0cb17afb..701c3faab12 100644 --- a/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.13/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') { @@ -2064,7 +2064,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') { @@ -3792,7 +3792,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') { @@ -3816,7 +3816,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.13/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php index 3746e0a2783..55095216fde 100644 --- a/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.13/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}')); @@ -522,7 +522,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}')); @@ -954,13 +954,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.13/current.spec.yaml b/etc/specs/GitHubEnterprise-3.13/current.spec.yaml index 4e52d7ad48e..fd5427ffa27 100644 --- a/etc/specs/GitHubEnterprise-3.13/current.spec.yaml +++ b/etc/specs/GitHubEnterprise-3.13/current.spec.yaml @@ -39647,7 +39647,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: @@ -39999,8 +39999,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: