diff --git a/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state b/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state index 0a4edab9928..d6f866ad152 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": "137676a6235fb7b69c005e84a24e1466", + "specHash": "398d18348d48e9783363f49ed8fadd49", "generatedFiles": { "files": [ { @@ -1592,11 +1592,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForEnterprise.php", - "hash": "4ba8183f95b8c6643d8eb1d453c6348d" + "hash": "2de3effb482080214a6d7ff3eeac0ab1" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForEnterprise.php", - "hash": "1f68b2e0be822f1fe631c2ecbf33af29" + "hash": "f4d6f6268171e5bdac4c36bd524d933e" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForEnterpriseTest.php", @@ -3260,11 +3260,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForOrg.php", - "hash": "1f0c1a2a5a3c2ec3e34cc6656e25ff92" + "hash": "da393861d1742ff760808cebd5899d7c" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForOrg.php", - "hash": "eea752ff872e32ab676814f4711443ce" + "hash": "e19123d6c0aeecf27c8c9359cfa37d73" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForOrgTest.php", @@ -7504,11 +7504,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepo.php", - "hash": "f84cbbc244ca570513f37f7e98f97f1f" + "hash": "fa6d1539a600ead93d4a30a6ac794d34" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForRepo.php", - "hash": "8e6d6c30b30952cbf0c0a1812a9a20af" + "hash": "59ebd25ff38d6eb82f783c0fc1228b41" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoTest.php", @@ -7516,11 +7516,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoListing.php", - "hash": "9a3ece8374fdb63f3026b04aa170c91d" + "hash": "f6766a3eb85a4d529ded9d58f6f99787" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForRepoListing.php", - "hash": "ef770952171600f29eb947006685fe61" + "hash": "87ddd1630305fe04a436c97777744af0" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoListingTest.php", @@ -26520,7 +26520,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Dependabot.php", - "hash": "ca26062c508849ffeaf3e6115bd56cfd" + "hash": "f330e11663a3945bee87a975e4b41c9d" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Checks.php", @@ -26628,7 +26628,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Dependabot.php", - "hash": "a37ef0f86dd26e1735a1af6e096218d8" + "hash": "232f263d8ab1918d4d508a3073fbaee8" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Reactions.php", @@ -26968,7 +26968,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "fb8d914498dc8ddad6eaa4249ed98e34" + "hash": "0fad69374da0792d6207a7cc43f16ccb" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php", @@ -26976,7 +26976,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", - "hash": "944582af066e6fc6c831c4e7b872a838" + "hash": "6c162baaded82b4c6734e822b560ac43" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", @@ -27012,7 +27012,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php", - "hash": "79161555a3f660bbecc50e90624d8d81" + "hash": "d7d99d15f73d638902761511a9c667cf" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php", @@ -27180,11 +27180,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "39e16973e5fbac0a6d07c23b1696e407" + "hash": "3055ede8c2a908c7a7e9991fd9fc6a8c" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "183651a423a8ed3f5bc2b06d21115acd" + "hash": "456f20917dc6b88699e6eee65b14117b" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -27236,7 +27236,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Dependabot.php", - "hash": "6512e1520f8d0d54c26b8b494834c097" + "hash": "bef1eaa69ea76e7d6f6a0bb87ac6eedc" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Billing.php", diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForEnterprise.php b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForEnterprise.php index 2621b67cd89..d168c033b95 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForEnterprise.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForEnterprise.php @@ -54,7 +54,8 @@ final class ListAlertsForEnterprise private int $last; /**The property by which to sort the results. `created` means when the alert was created. - `updated` means when the alert's state last changed. **/ + `updated` means when the alert's state last changed. + `epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/ private string $sort; /**The direction to sort the results by. **/ private string $direction; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForOrg.php b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForOrg.php index 51108574f7b..c94a7a4f7b9 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForOrg.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForOrg.php @@ -54,7 +54,8 @@ final class ListAlertsForOrg private int $last; /**The property by which to sort the results. `created` means when the alert was created. - `updated` means when the alert's state last changed. **/ + `updated` means when the alert's state last changed. + `epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/ private string $sort; /**The direction to sort the results by. **/ private string $direction; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForRepo.php b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForRepo.php index 59de761f29b..57776ab5b8a 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForRepo.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForRepo.php @@ -58,7 +58,8 @@ final class ListAlertsForRepo private int $last; /**The property by which to sort the results. `created` means when the alert was created. - `updated` means when the alert's state last changed. **/ + `updated` means when the alert's state last changed. + `epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/ private string $sort; /**The direction to sort the results by. **/ private string $direction; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForRepoListing.php b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForRepoListing.php index f60e324979e..e4fa44aceda 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForRepoListing.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForRepoListing.php @@ -58,7 +58,8 @@ final class ListAlertsForRepoListing private int $last; /**The property by which to sort the results. `created` means when the alert was created. - `updated` means when the alert's state last changed. **/ + `updated` means when the alert's state last changed. + `epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/ private string $sort; /**The direction to sort the results by. **/ private string $direction; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForEnterprise.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForEnterprise.php index d9101ec8994..227fc3182be 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForEnterprise.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForEnterprise.php @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function call(string $enterprise, string $state, string $severity, string $ecosystem, string $package, string $scope, string $before, string $after, int $last, string $sort = 'created', string $direction = 'desc', int $first = 30, int $perPage = 30): iterable|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Dependabot\ListAlertsForEnterprise($this->responseSchemaValidator, $this->hydrator, $enterprise, $state, $severity, $ecosystem, $package, $scope, $before, $after, $last, $sort, $direction, $first, $perPage); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForOrg.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForOrg.php index d817e6253a6..a438ef1b926 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForOrg.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForOrg.php @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function call(string $org, string $state, string $severity, string $ecosystem, string $package, string $scope, string $before, string $after, int $last, string $sort = 'created', string $direction = 'desc', int $first = 30, int $perPage = 30): iterable|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Dependabot\ListAlertsForOrg($this->responseSchemaValidator, $this->hydrator, $org, $state, $severity, $ecosystem, $package, $scope, $before, $after, $last, $sort, $direction, $first, $perPage); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForRepo.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForRepo.php index aaa11a3a2ea..725c65c665a 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForRepo.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForRepo.php @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function call(string $owner, string $repo, string $state, string $severity, string $ecosystem, string $package, string $manifest, string $scope, string $before, string $after, int $last, string $sort = 'created', string $direction = 'desc', int $page = 1, int $perPage = 30, int $first = 30): iterable|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Dependabot\ListAlertsForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $state, $severity, $ecosystem, $package, $manifest, $scope, $before, $after, $last, $sort, $direction, $page, $perPage, $first); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForRepoListing.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForRepoListing.php index ce89b2216d4..5eb311a1cca 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForRepoListing.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Dependabot/ListAlertsForRepoListing.php @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function call(string $owner, string $repo, string $state, string $severity, string $ecosystem, string $package, string $manifest, string $scope, string $before, string $after, int $last, string $sort = 'created', string $direction = 'desc', int $page = 1, int $perPage = 30, int $first = 30): iterable|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Dependabot\ListAlertsForRepoListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $state, $severity, $ecosystem, $package, $manifest, $scope, $before, $after, $last, $sort, $direction, $page, $perPage, $first); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Dependabot.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Dependabot.php index dafe5af3b28..cfaf9ea5af0 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Dependabot.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Dependabot.php @@ -62,7 +62,7 @@ public function getOrgSecret(array $params): OrganizationDependabotSecret return $operator->call($arguments['org'], $arguments['secret_name']); } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function listAlertsForRepo(array $params): iterable|WithoutBody { $arguments = []; @@ -200,7 +200,7 @@ public function listRepoSecrets(array $params): Ok return $operator->call($arguments['owner'], $arguments['repo'], $arguments['per_page'], $arguments['page']); } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function listAlertsForEnterprise(array $params): iterable|WithoutBody { $arguments = []; @@ -287,7 +287,7 @@ public function listAlertsForEnterprise(array $params): iterable|WithoutBody return $operator->call($arguments['enterprise'], $arguments['state'], $arguments['severity'], $arguments['ecosystem'], $arguments['package'], $arguments['scope'], $arguments['before'], $arguments['after'], $arguments['last'], $arguments['sort'], $arguments['direction'], $arguments['first'], $arguments['per_page']); } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function listAlertsForOrg(array $params): iterable|WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Five.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Five.php index 71ce8678ba0..92e01c60555 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Five.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Five.php @@ -50,7 +50,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|WithoutBody|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|iterable|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Observable|Observable|WithoutBody|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): HookDelivery|ActionsEnterprisePermissions|Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|iterable|WithoutBody|GistComment|GhesChecksSystemRequirements|GhesClusterStatus|\ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\GetManageConfigApplyStatus\Response\ApplicationJson\Ok|GhesLicenseInfo|GhesConfigNodes|GhesGetSettings|GhesReplicationStatus|BasicError|ThreadSubscription|ActionsOrganizationPermissions|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListSelfHostedRunnerGroupsForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|OrganizationCustomRepositoryRole|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|ExternalGroup|OrgHook|OrgMembership|Migration|OrgPreReceiveHook|RepositoryRuleset|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Installation|Language|LicenseContent|Page|ContentFile|SimpleUser|Stargazer|RepositorySubscription|Topic|TeamDiscussion|TeamMembership|TeamProject|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|Package { if ($pathChunks[0] === '') { 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..ca623c7b09a 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|iterable|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|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 */ 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/List/Dependabot.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Dependabot.php index 4d9743cfcb2..dfd7cd9c4ae 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Dependabot.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Dependabot.php @@ -21,7 +21,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri { } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function listAlertsForRepoListing(array $params): iterable|WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Six.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Six.php index 90261ba2b17..35c92517d08 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Six.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Six.php @@ -15,7 +15,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|iterable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): iterable|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.13/src/Operation/Dependabot.php b/clients/GitHubEnterprise-3.13/src/Operation/Dependabot.php index aa25b692cb1..59d0efd4244 100644 --- a/clients/GitHubEnterprise-3.13/src/Operation/Dependabot.php +++ b/clients/GitHubEnterprise-3.13/src/Operation/Dependabot.php @@ -21,13 +21,13 @@ public function __construct(private Internal\Operators $operators) { } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function listAlertsForEnterprise(string $enterprise, string $state, string $severity, string $ecosystem, string $package, string $scope, string $before, string $after, int $last, string $sort, string $direction, int $first, int $perPage): iterable|WithoutBody { return $this->operators->dependabot👷ListAlertsForEnterprise()->call($enterprise, $state, $severity, $ecosystem, $package, $scope, $before, $after, $last, $sort, $direction, $first, $perPage); } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function listAlertsForOrg(string $org, string $state, string $severity, string $ecosystem, string $package, string $scope, string $before, string $after, int $last, string $sort, string $direction, int $first, int $perPage): iterable|WithoutBody { return $this->operators->dependabot👷ListAlertsForOrg()->call($org, $state, $severity, $ecosystem, $package, $scope, $before, $after, $last, $sort, $direction, $first, $perPage); @@ -87,13 +87,13 @@ public function removeSelectedRepoFromOrgSecret(string $org, string $secretName, return $this->operators->dependabot👷RemoveSelectedRepoFromOrgSecret()->call($org, $secretName, $repositoryId); } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function listAlertsForRepo(string $owner, string $repo, string $state, string $severity, string $ecosystem, string $package, string $manifest, string $scope, string $before, string $after, int $last, string $sort, string $direction, int $page, int $perPage, int $first): iterable|WithoutBody { return $this->operators->dependabot👷ListAlertsForRepo()->call($owner, $repo, $state, $severity, $ecosystem, $package, $manifest, $scope, $before, $after, $last, $sort, $direction, $page, $perPage, $first); } - /** @return Observable|WithoutBody */ + /** @return iterable|WithoutBody */ public function listAlertsForRepoListing(string $owner, string $repo, string $state, string $severity, string $ecosystem, string $package, string $manifest, string $scope, string $before, string $after, int $last, string $sort, string $direction, int $page, int $perPage, int $first): iterable|WithoutBody { return $this->operators->dependabot👷ListAlertsForRepoListing()->call($owner, $repo, $state, $severity, $ecosystem, $package, $manifest, $scope, $before, $after, $last, $sort, $direction, $page, $perPage, $first); diff --git a/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php index 484f55c39bc..194f90502a3 100644 --- a/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php @@ -604,7 +604,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /enterprises/{enterprise}/dependabot/alerts') { - return $this->typeResolver->resolve('Observable|WithoutBody'); + return $this->typeResolver->resolve('iterable|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'GET /enterprises/{enterprise}/secret-scanning/alerts') { @@ -1200,7 +1200,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/dependabot/alerts') { - return $this->typeResolver->resolve('Observable|WithoutBody'); + return $this->typeResolver->resolve('iterable|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'GET /orgs/{org}/dependabot/secrets') { @@ -2676,11 +2676,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /repos/{owner}/{repo}/dependabot/alerts') { - return $this->typeResolver->resolve('Observable|WithoutBody'); + return $this->typeResolver->resolve('iterable|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'LIST /repos/{owner}/{repo}/dependabot/alerts') { - return $this->typeResolver->resolve('Observable|WithoutBody'); + return $this->typeResolver->resolve('iterable|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}') { diff --git a/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php index 4824d7b1cf2..4aa352ce1f1 100644 --- a/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php @@ -157,7 +157,7 @@ function authHeader(): string assertType('Observable', $client->call('LIST /enterprises/{enterprise}/code-scanning/alerts')); assertType('', $client->call('GET /enterprises/{enterprise}/code_security_and_analysis')); assertType('', $client->call('PATCH /enterprises/{enterprise}/code_security_and_analysis')); -assertType('Observable|WithoutBody', $client->call('GET /enterprises/{enterprise}/dependabot/alerts')); +assertType('iterable|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /enterprises/{enterprise}/dependabot/alerts')); assertType('Observable', $client->call('GET /enterprises/{enterprise}/secret-scanning/alerts')); assertType('', $client->call('GET /enterprises/{enterprise}/settings/billing/advanced-security')); assertType('', $client->call('POST /enterprises/{enterprise}/{security_product}/{enablement}')); @@ -306,7 +306,7 @@ function authHeader(): string assertType('', $client->call('GET /orgs/{org}/custom-repository-roles/{role_id}')); assertType('', $client->call('DELETE /orgs/{org}/custom-repository-roles/{role_id}')); assertType('', $client->call('PATCH /orgs/{org}/custom-repository-roles/{role_id}')); -assertType('Observable|WithoutBody', $client->call('GET /orgs/{org}/dependabot/alerts')); +assertType('iterable|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /orgs/{org}/dependabot/alerts')); assertType('', $client->call('GET /orgs/{org}/dependabot/secrets')); assertType('', $client->call('GET /orgs/{org}/dependabot/secrets/public-key')); assertType('', $client->call('GET /orgs/{org}/dependabot/secrets/{secret_name}')); @@ -675,8 +675,8 @@ function authHeader(): string assertType('', $client->call('DELETE /repos/{owner}/{repo}/contents/{path}')); assertType('Observable|WithoutBody', $client->call('GET /repos/{owner}/{repo}/contributors')); assertType('Observable|WithoutBody', $client->call('LIST /repos/{owner}/{repo}/contributors')); -assertType('Observable|WithoutBody', $client->call('GET /repos/{owner}/{repo}/dependabot/alerts')); -assertType('Observable|WithoutBody', $client->call('LIST /repos/{owner}/{repo}/dependabot/alerts')); +assertType('iterable|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /repos/{owner}/{repo}/dependabot/alerts')); +assertType('iterable|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('LIST /repos/{owner}/{repo}/dependabot/alerts')); assertType('', $client->call('GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}')); assertType('', $client->call('PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}')); assertType('', $client->call('GET /repos/{owner}/{repo}/dependabot/secrets')); diff --git a/etc/specs/GitHubEnterprise-3.13/current.spec.yaml b/etc/specs/GitHubEnterprise-3.13/current.spec.yaml index 5bf40dc291e..bf97dec3f73 100644 --- a/etc/specs/GitHubEnterprise-3.13/current.spec.yaml +++ b/etc/specs/GitHubEnterprise-3.13/current.spec.yaml @@ -46008,9 +46008,9 @@ paths: description: |- Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time. - The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#authentication). + The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#authentication). - The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/enterprise-server@3.13/rest/users/emails)". + The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/enterprise-server@3.13/rest/users/emails). tags: - users operationId: users/get-by-id @@ -46091,9 +46091,9 @@ paths: description: |- Provides publicly available information about someone with a GitHub account. - The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#authentication). + The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#authentication). - The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/enterprise-server@3.13/rest/users/emails)". + The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/enterprise-server@3.13/rest/users/emails). tags: - users operationId: users/get-by-username @@ -214874,11 +214874,13 @@ components: The property by which to sort the results. `created` means when the alert was created. `updated` means when the alert's state last changed. + `epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. schema: type: string enum: - created - updated + - epss_percentage default: created pagination-first: name: first