diff --git a/clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state b/clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state index 09e5cd921d9..7234b4b6686 100644 --- a/clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state +++ b/clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "9e7e4db41342903bf3c77344139c3a4e", + "specHash": "92f924d1a2fb4647ad6d28e98d13ef05", "generatedFiles": { "files": [ { @@ -1592,11 +1592,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForEnterprise.php", - "hash": "3b3270adefe5ec75942a4ccd79e610af" + "hash": "a768a289485825395c09008cac606c28" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForEnterprise.php", - "hash": "1f68b2e0be822f1fe631c2ecbf33af29" + "hash": "f4d6f6268171e5bdac4c36bd524d933e" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForEnterpriseTest.php", @@ -3260,11 +3260,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForOrg.php", - "hash": "d39273a24ccf4b20e295969b3a9f33fc" + "hash": "0d3bffea1ed7fb85cfabf1b975525a9c" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForOrg.php", - "hash": "eea752ff872e32ab676814f4711443ce" + "hash": "e19123d6c0aeecf27c8c9359cfa37d73" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForOrgTest.php", @@ -7668,11 +7668,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepo.php", - "hash": "1e9a2cba04041404e3894225bbe63b68" + "hash": "b4dd50c08bd2051e9552c30ad118029d" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForRepo.php", - "hash": "8e6d6c30b30952cbf0c0a1812a9a20af" + "hash": "59ebd25ff38d6eb82f783c0fc1228b41" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoTest.php", @@ -7680,11 +7680,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoListing.php", - "hash": "e150c92656ab168eff297494cd76f8f6" + "hash": "1e78ee02ccfeb20692dbae587c1d4c2e" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForRepoListing.php", - "hash": "ef770952171600f29eb947006685fe61" + "hash": "87ddd1630305fe04a436c97777744af0" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoListingTest.php", @@ -26816,7 +26816,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Dependabot.php", - "hash": "ca26062c508849ffeaf3e6115bd56cfd" + "hash": "f330e11663a3945bee87a975e4b41c9d" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Checks.php", @@ -26924,7 +26924,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/List\/Dependabot.php", - "hash": "a37ef0f86dd26e1735a1af6e096218d8" + "hash": "232f263d8ab1918d4d508a3073fbaee8" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/List\/Reactions.php", @@ -27264,7 +27264,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "e2d6b10c43a46b1771acf2174be392b6" + "hash": "d1a40c69474af4bf4be5a44e87865a51" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php", @@ -27272,7 +27272,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", - "hash": "b07c3129c02039907ccb3a8d3d76e9cc" + "hash": "7b395922549e62b93ca3308420eac933" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", @@ -27308,7 +27308,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php", - "hash": "ff138dca37b30debc9205e3aaf48f5bd" + "hash": "5dbc4574427c165264213e811fa56311" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php", @@ -27476,11 +27476,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "11720efddd41579fcb646649ce2f9122" + "hash": "16df040589bdd26f5221d4e39a696ad0" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "e1928270ac731557c8b43a0849a3bdff" + "hash": "bd72323c1721a17e9c2e268e5375a5fe" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -27532,7 +27532,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/Dependabot.php", - "hash": "6512e1520f8d0d54c26b8b494834c097" + "hash": "bef1eaa69ea76e7d6f6a0bb87ac6eedc" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/Billing.php", diff --git a/clients/GitHubEnterprise-3.14/src/Internal/Operation/Dependabot/ListAlertsForEnterprise.php b/clients/GitHubEnterprise-3.14/src/Internal/Operation/Dependabot/ListAlertsForEnterprise.php index 1408e7628a8..61a31ca8a48 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operation/Dependabot/ListAlertsForEnterprise.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/Internal/Operation/Dependabot/ListAlertsForOrg.php b/clients/GitHubEnterprise-3.14/src/Internal/Operation/Dependabot/ListAlertsForOrg.php index 92ffe69d6c1..a443a188203 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operation/Dependabot/ListAlertsForOrg.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/Internal/Operation/Dependabot/ListAlertsForRepo.php b/clients/GitHubEnterprise-3.14/src/Internal/Operation/Dependabot/ListAlertsForRepo.php index f37cdfee58d..cabbafae2e5 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operation/Dependabot/ListAlertsForRepo.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/Internal/Operation/Dependabot/ListAlertsForRepoListing.php b/clients/GitHubEnterprise-3.14/src/Internal/Operation/Dependabot/ListAlertsForRepoListing.php index a4031ab2c32..bb81a8dbd61 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operation/Dependabot/ListAlertsForRepoListing.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/Internal/Operator/Dependabot/ListAlertsForEnterprise.php b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Dependabot/ListAlertsForEnterprise.php index d9101ec8994..227fc3182be 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Dependabot/ListAlertsForEnterprise.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/Internal/Operator/Dependabot/ListAlertsForOrg.php b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Dependabot/ListAlertsForOrg.php index d817e6253a6..a438ef1b926 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Dependabot/ListAlertsForOrg.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/Internal/Operator/Dependabot/ListAlertsForRepo.php b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Dependabot/ListAlertsForRepo.php index aaa11a3a2ea..725c65c665a 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Dependabot/ListAlertsForRepo.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/Internal/Operator/Dependabot/ListAlertsForRepoListing.php b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Dependabot/ListAlertsForRepoListing.php index ce89b2216d4..5eb311a1cca 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Dependabot/ListAlertsForRepoListing.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/Internal/Router/Get/Dependabot.php b/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Dependabot.php index dafe5af3b28..cfaf9ea5af0 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Dependabot.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/Internal/Router/Get/Five.php b/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Five.php index 28626bccdcf..98e2b2177ef 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Five.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Five.php @@ -51,7 +51,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|OrganizationRole|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.14/src/Internal/Router/Get/Six.php b/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Six.php index a257acf00fe..5960c44891c 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Six.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Six.php @@ -69,7 +69,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|Observable|WithoutBody|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|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|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.14/src/Internal/Router/List/Dependabot.php b/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Dependabot.php index 4d9743cfcb2..dfd7cd9c4ae 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Dependabot.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/Internal/Router/List/Six.php b/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Six.php index 3549d003d09..c5ed78883cb 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Six.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Six.php @@ -15,7 +15,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 */ + /** @return Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|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.14/src/Operation/Dependabot.php b/clients/GitHubEnterprise-3.14/src/Operation/Dependabot.php index aa25b692cb1..59d0efd4244 100644 --- a/clients/GitHubEnterprise-3.14/src/Operation/Dependabot.php +++ b/clients/GitHubEnterprise-3.14/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.14/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.14/src/PHPStan/ClientCallReturnTypes.php index 552b3343083..4613011228c 100644 --- a/clients/GitHubEnterprise-3.14/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.14/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') { @@ -2740,11 +2740,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.14/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.14/tests/Types/ClientCallReturnTypes.php index 1b33496f174..4664d88e171 100644 --- a/clients/GitHubEnterprise-3.14/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.14/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}')); @@ -691,8 +691,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.14/current.spec.yaml b/etc/specs/GitHubEnterprise-3.14/current.spec.yaml index 3a711cce488..5c927ff12a9 100644 --- a/etc/specs/GitHubEnterprise-3.14/current.spec.yaml +++ b/etc/specs/GitHubEnterprise-3.14/current.spec.yaml @@ -46627,9 +46627,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.14/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.14/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.14/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.14/rest/users/emails). tags: - users operationId: users/get-by-id @@ -46710,9 +46710,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.14/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.14/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.14/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.14/rest/users/emails). tags: - users operationId: users/get-by-username @@ -216786,11 +216786,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