From 7e51655f7c89aad4f574e1eb7673d55d36633538 Mon Sep 17 00:00:00 2001 From: WyriHaximus <147145+WyriHaximus@users.noreply.github.com> Date: Thu, 20 Mar 2025 09:56:30 +0000 Subject: [PATCH] [GitHubEnterprise-3.14] Update to 1.1.4-8137cb0f7b4d2c9a7e11798086b95b2a from 1.1.4-104eead85eed7e03a026852edc095233 Detected Schema changes: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` ├─┬personal-access-token-request-created │ └─┬POST │ ├──[🔀] summary (56868:16) │ └─┬Extensions │ └──[🔀] x-github (56926:9) ├─┬personal-access-token-request-approved │ └─┬POST │ ├──[🔀] summary (56737:16) │ └─┬Extensions │ └──[🔀] x-github (56795:9) ├─┬personal-access-token-request-denied │ └─┬POST │ ├──[🔀] summary (56933:16) │ └─┬Extensions │ └──[🔀] x-github (56991:9) ├─┬personal-access-token-request-cancelled │ └─┬POST │ ├──[🔀] summary (56802:16) │ └─┬Extensions │ └──[🔀] x-github (56861:9) └─┬Components └─┬repository-rule-pull-request └─┬parameters └─┬allowed_merge_methods └─┬Schema ├──[➖] enum (76773:19)❌ ├──[➖] enum (76774:19)❌ └──[➖] enum (76775:19)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | components | 3 | 3 | | webhooks | 8 | 0 | Date: 03/20/25 | Commit: Original: etc/specs/GitHubEnterprise-3.14/current.spec.yaml, Modified: etc/specs/GitHubEnterprise-3.14/previous.spec.yaml, - ❌ **BREAKING Changes**: _3_ out of _11_ - **Modifications**: _8_ - **Removals**: _3_ - **Breaking Removals**: _3_ ERROR: breaking changes discovered --- .../etc/openapi-client-generator.state | 58 +++++++++---------- .../Internal/Operator/Issues/ListForOrg.php | 2 +- .../Operator/Issues/ListForOrgListing.php | 2 +- .../Internal/Operator/Issues/ListForRepo.php | 2 +- .../Operator/Issues/ListForRepoListing.php | 2 +- .../src/Internal/Router/Get/Five.php | 2 +- .../src/Internal/Router/Get/Four.php | 2 +- .../src/Internal/Router/Get/Issues.php | 4 +- .../src/Internal/Router/List/Five.php | 2 +- .../src/Internal/Router/List/Four.php | 2 +- .../src/Internal/Router/List/Issues.php | 4 +- .../src/Operation/Issues.php | 8 +-- .../src/PHPStan/ClientCallReturnTypes.php | 8 +-- .../Request/ApplicationJson.php | 5 ++ .../Request/ApplicationJson.php | 5 ++ .../Request/ApplicationJson.php | 5 ++ .../Request/ApplicationJson.php | 5 ++ .../src/Schema/RepositoryRule.php | 5 ++ .../src/Schema/RepositoryRuleDetailed.php | 5 ++ .../src/Schema/RepositoryRulePullRequest.php | 5 ++ .../RepositoryRulePullRequest/Parameters.php | 5 ++ .../src/Schema/RepositoryRuleset.php | 5 ++ .../WebhookRepositoryRulesetCreated.php | 5 ++ .../WebhookRepositoryRulesetDeleted.php | 5 ++ .../Schema/WebhookRepositoryRulesetEdited.php | 20 +++++++ .../Changes.php | 15 +++++ .../Changes/Rules.php | 15 +++++ .../Changes/Rules/Updated.php | 5 ++ .../tests/Types/ClientCallReturnTypes.php | 8 +-- .../GitHubEnterprise-3.14/current.spec.yaml | 20 +++---- 30 files changed, 171 insertions(+), 65 deletions(-) diff --git a/clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state b/clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state index 5776807727e..036ed095fd9 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": "104eead85eed7e03a026852edc095233", + "specHash": "8137cb0f7b4d2c9a7e11798086b95b2a", "generatedFiles": { "files": [ { @@ -3596,7 +3596,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForOrg.php", - "hash": "1c78b42ed0214ac9e9ce137336b56083" + "hash": "10311a7cfcbd379762a647249198a954" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForOrgTest.php", @@ -3608,7 +3608,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForOrgListing.php", - "hash": "33ffa7468cc64df668823de785e26fea" + "hash": "908f9565b5550840d3118b1fc720e8a3" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForOrgListingTest.php", @@ -8612,7 +8612,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForRepo.php", - "hash": "028b57086cd0ae8316bf74f1b85a6013" + "hash": "c4ff12b80160f0f294d37a2b93baab80" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForRepoTest.php", @@ -8624,7 +8624,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForRepoListing.php", - "hash": "55463e0ab338afd4f972ebf956f53fa3" + "hash": "66492db2f5877827fdc0332f079db462" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForRepoListingTest.php", @@ -14284,7 +14284,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest.php", - "hash": "3b6f0feaa2b80f3184d7af23771d135e" + "hash": "15bb1a04bb357d871d17cfa300df82a1" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsStatusCheckConfiguration.php", @@ -14336,7 +14336,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRule.php", - "hash": "799792a14cbfb06a4a9a419019b95895" + "hash": "9f0a0fa7d83fa33cafb05980add9e991" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/RepositoryRuleset\/Conditions.php", @@ -14344,7 +14344,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php", - "hash": "1e78eb4410fea597c19aca2d768a1758" + "hash": "2cbb915e89598340adf7f6d92664e6d5" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RuleSuites.php", @@ -15084,7 +15084,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRuleDetailed.php", - "hash": "a6162addc7a46f385770b8a98bcbf9c7" + "hash": "d3daf7bc723e92edb67043a2d08f9f31" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/SecretScanningAlert.php", @@ -17084,15 +17084,15 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php", - "hash": "14a1d6057f8c2a979604c1fd55aeb131" + "hash": "68568ff82a5ba2c8cdd1206bc10c0771" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php", - "hash": "4fd5bffe4f4939943315486429ab2bf8" + "hash": "52d9a98a63a2c6c3dd7775220a90bd76" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php", - "hash": "a03a153f4c99d2acf1aff8eb16e73988" + "hash": "0481b20b57c52fd3be4623699cc39a9d" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryTransferred.php", @@ -18304,7 +18304,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest\/Parameters.php", - "hash": "84beef7b2b631854126348169db3eada" + "hash": "7447d661647fc5f5025273387f92be1a" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRuleRequiredStatusChecks\/Parameters.php", @@ -24240,7 +24240,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes.php", - "hash": "415c396c3eb7c1c5f305ed22c194b38f" + "hash": "1fbcce95dfceaff2a73ef1e3366134e9" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Conditions.php", @@ -24268,7 +24268,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules.php", - "hash": "ea3acf3267248f509ffbe8dcdd07de1f" + "hash": "1581192400a67163b8f2eea5628f9ee9" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Rule.php", @@ -24276,7 +24276,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated.php", - "hash": "31387013547f52bf4d6b1985cf56f3e4" + "hash": "54be095f8d392b7b3da59da641b54ad9" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Changes.php", @@ -25444,7 +25444,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php", - "hash": "3ed65da2ae3fee8a156974b081530dbe" + "hash": "86736cdc3d679a6e1bcd951ae061e9ed" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson\/Conditions.php", @@ -25452,7 +25452,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php", - "hash": "8826c1ee5349f880f253215c079b2d20" + "hash": "2f08c9792734d2f94852ae7cac3789ae" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php", @@ -26480,11 +26480,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php", - "hash": "802eb06a2cbf6b38bed8e1d31a9b6d25" + "hash": "762d3e2879a240697f873acc7b50ceaf" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php", - "hash": "9f5828be1457c6f38e9e8a4c46dc8104" + "hash": "1f02a69475986e068b6c26f5c99578ea" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php", @@ -26736,7 +26736,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Issues.php", - "hash": "c7bc48cbc64206b961ed067c7fa812ad" + "hash": "5abd260455fd47ca64f6da35cccde09d" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Migrations.php", @@ -26832,7 +26832,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/List\/Issues.php", - "hash": "2aef2366862555bdd23a37fa7a54c8ad" + "hash": "aa1786fec2491cc233f592cf7202afb2" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/List\/Migrations.php", @@ -27212,7 +27212,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Four.php", - "hash": "5b28e5a2365026846e66705f198aa1fc" + "hash": "a8685313ab27af52ba2d770fad09c865" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", @@ -27224,7 +27224,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", - "hash": "490ed1d01eb5b8a454b70eabf5546b68" + "hash": "b07c3129c02039907ccb3a8d3d76e9cc" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", @@ -27252,11 +27252,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/List\/Four.php", - "hash": "eb1fd2b7b100ef0753d005fc97703337" + "hash": "04d7bebd979765b12c9ded734740a97c" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php", - "hash": "980b73b2bfe634a1328d81fbe86232f6" + "hash": "acd7909d2adc36a5541ecf4184f9e6ac" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php", @@ -27428,11 +27428,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "5a48c43f5e29d4b87d123e7c82980bd0" + "hash": "eb9acf050e7c53fe1a316472b8cdc81d" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "d16df4c77220b909a10f1cf33766f740" + "hash": "e5864aba0dd4de9cada7ede4eeee69c5" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -27504,7 +27504,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/Issues.php", - "hash": "8a3c4c0e40ac43e8cad7a6b7fc0b091c" + "hash": "2b1c01814ea22ab3511d57bfefb43f7f" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/Licenses.php", diff --git a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForOrg.php b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForOrg.php index a23731bbbd9..3e18ee14549 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForOrg.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForOrg.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, string $labels, string $type, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Issues\ListForOrg($this->responseSchemaValidator, $this->hydrator, $org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); diff --git a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForOrgListing.php b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForOrgListing.php index dffd8fdc5da..a604686a81b 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForOrgListing.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForOrgListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, string $labels, string $type, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Issues\ListForOrgListing($this->responseSchemaValidator, $this->hydrator, $org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); diff --git a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForRepo.php b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForRepo.php index 4f490ff95c1..687722161b1 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForRepo.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForRepo.php @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function call(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable|BasicError { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Issues\ListForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); diff --git a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForRepoListing.php b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForRepoListing.php index 2f959004c73..e20e0a73580 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForRepoListing.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Operator/Issues/ListForRepoListing.php @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function call(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable|BasicError { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Issues\ListForRepoListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); 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 628a508ea84..28626bccdcf 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|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @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 */ 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/Four.php b/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Four.php index 99611337e13..ae98c6bb096 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Four.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Four.php @@ -53,7 +53,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|iterable|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|Observable|Observable|WithoutBody|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): GlobalHook|PreReceiveEnvironment|PreReceiveHook|WebhookConfig|iterable|Installation|ApplicationGrant|WithoutBody|LicenseInfo|EnterpriseOverview|EnterpriseCommentOverview|EnterpriseGistOverview|EnterpriseHookOverview|EnterpriseIssueOverview|EnterpriseMilestoneOverview|EnterpriseOrganizationOverview|EnterprisePageOverview|EnterprisePullRequestOverview|EnterpriseRepositoryOverview|EnterpriseSecurityProductsOverview|EnterpriseUserOverview|EnterpriseSecurityAnalysisSettings|GistSimple|GitignoreTemplate|Thread|Ok|AnnouncementBanner|Json|ExternalGroups|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Orgs\ListAppInstallations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Orgs\ListOrgRoles\Response\ApplicationJson\Ok|ProjectColumn|FullRepository|BasicError|ConfigurationStatus|MaintenanceStatus|EnterpriseSettings|GpgKey|Key|SshSigningKey|Hovercard|StarredRepository|Repository { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Issues.php b/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Issues.php index 7dc7caf77d5..173722419de 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Issues.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Router/Get/Issues.php @@ -83,7 +83,7 @@ public function listForAuthenticatedUser(array $params): iterable|WithoutBody return $operator->call($arguments['labels'], $arguments['since'], $arguments['filter'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page']); } - /** @return iterable */ + /** @return Observable */ public function listForOrg(array $params): iterable { $arguments = []; @@ -458,7 +458,7 @@ public function listAssignees(array $params): iterable return $operator->call($arguments['owner'], $arguments['repo'], $arguments['per_page'], $arguments['page']); } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function listForRepo(array $params): iterable|BasicError { $arguments = []; diff --git a/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Five.php b/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Five.php index e9c10a87549..dda11c9dc13 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Five.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Five.php @@ -16,7 +16,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|Schema\BasicError|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return Observable|Observable|Schema\BasicError|WithoutBody|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): iterable|BasicError|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Four.php b/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Four.php index af812b45976..8306a8a22ae 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Four.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Four.php @@ -15,7 +15,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|iterable|Observable|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|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): iterable|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Issues.php b/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Issues.php index 0630df4c273..49160140a7b 100644 --- a/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Issues.php +++ b/clients/GitHubEnterprise-3.14/src/Internal/Router/List/Issues.php @@ -172,7 +172,7 @@ public function listListing(array $params): iterable|WithoutBody } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function listForOrgListing(array $params): iterable { $arguments = []; @@ -286,7 +286,7 @@ public function listAssigneesListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function listForRepoListing(array $params): iterable|BasicError { $arguments = []; diff --git a/clients/GitHubEnterprise-3.14/src/Operation/Issues.php b/clients/GitHubEnterprise-3.14/src/Operation/Issues.php index 32a12585a1b..99d9a4ab541 100644 --- a/clients/GitHubEnterprise-3.14/src/Operation/Issues.php +++ b/clients/GitHubEnterprise-3.14/src/Operation/Issues.php @@ -32,13 +32,13 @@ public function listListing(string $labels, string $since, bool $collab, bool $o return $this->operators->issues👷ListListing()->call($labels, $since, $collab, $orgs, $owned, $pulls, $filter, $state, $sort, $direction, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function listForOrg(string $org, string $labels, string $type, string $since, string $filter, string $state, string $sort, string $direction, int $perPage, int $page): iterable { return $this->operators->issues👷ListForOrg()->call($org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function listForOrgListing(string $org, string $labels, string $type, string $since, string $filter, string $state, string $sort, string $direction, int $perPage, int $page): iterable { return $this->operators->issues👷ListForOrgListing()->call($org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); @@ -62,13 +62,13 @@ public function checkUserCanBeAssigned(string $owner, string $repo, string $assi return $this->operators->issues👷CheckUserCanBeAssigned()->call($owner, $repo, $assignee); } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function listForRepo(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state, string $sort, string $direction, int $perPage, int $page): iterable|BasicError { return $this->operators->issues👷ListForRepo()->call($owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function listForRepoListing(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state, string $sort, string $direction, int $perPage, int $page): iterable|BasicError { return $this->operators->issues👷ListForRepoListing()->call($owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); diff --git a/clients/GitHubEnterprise-3.14/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.14/src/PHPStan/ClientCallReturnTypes.php index 31f7ddb81d9..bb6c23f2e35 100644 --- a/clients/GitHubEnterprise-3.14/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.14/src/PHPStan/ClientCallReturnTypes.php @@ -1316,11 +1316,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/issues') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /orgs/{org}/issues') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /orgs/{org}/members') { @@ -3064,11 +3064,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /repos/{owner}/{repo}/issues') { - return $this->typeResolver->resolve('iterable|Schema\\BasicError'); + return $this->typeResolver->resolve('Observable|Schema\\BasicError'); } if ($call === 'LIST /repos/{owner}/{repo}/issues') { - return $this->typeResolver->resolve('iterable|Schema\\BasicError'); + return $this->typeResolver->resolve('Observable|Schema\\BasicError'); } if ($call === 'POST /repos/{owner}/{repo}/issues') { diff --git a/clients/GitHubEnterprise-3.14/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.14/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php index 045617b68fd..04d817b9bcc 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php @@ -480,6 +480,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.14/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php index 2ceae3004f4..a2c47d1cfae 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php @@ -261,6 +261,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.14/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php index 3e97716aeac..b88d0802a1d 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php @@ -475,6 +475,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.14/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php index b33d8998e4d..f51311d6413 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php @@ -256,6 +256,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRule.php b/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRule.php index 406264325fd..0356afa6736 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRule.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRule.php @@ -159,6 +159,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRuleDetailed.php b/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRuleDetailed.php index 9af99489247..a0a16f12f86 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRuleDetailed.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRuleDetailed.php @@ -317,6 +317,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRulePullRequest.php b/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRulePullRequest.php index adf3238d118..c505a66de16 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRulePullRequest.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRulePullRequest.php @@ -34,6 +34,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRulePullRequest/Parameters.php b/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRulePullRequest/Parameters.php index de0d7c8346a..46a4addc516 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRulePullRequest/Parameters.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRulePullRequest/Parameters.php @@ -21,6 +21,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRuleset.php b/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRuleset.php index 8d8ec568875..47d98d1323f 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRuleset.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/RepositoryRuleset.php @@ -570,6 +570,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetCreated.php b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetCreated.php index 795105b4e8b..7c83cc77ebb 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetCreated.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetCreated.php @@ -2287,6 +2287,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetDeleted.php b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetDeleted.php index 2d3f2a16583..2bd3332ee53 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetDeleted.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetDeleted.php @@ -2287,6 +2287,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited.php b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited.php index b4ed3b7840a..fd3fc1bf954 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited.php @@ -2287,6 +2287,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -3080,6 +3085,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -3700,6 +3710,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -4323,6 +4338,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes.php b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes.php index 590c5042f41..83c4c437978 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes.php @@ -325,6 +325,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -945,6 +950,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -1568,6 +1578,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php index 14959341cab..9061d49bbf9 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php @@ -164,6 +164,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -784,6 +789,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -1407,6 +1417,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php index 67ec3feedeb..905931d3b2e 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php @@ -165,6 +165,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.14/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.14/tests/Types/ClientCallReturnTypes.php index 0732609a59c..4b3f93bace6 100644 --- a/clients/GitHubEnterprise-3.14/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.14/tests/Types/ClientCallReturnTypes.php @@ -335,8 +335,8 @@ function authHeader(): string assertType('', $client->call('POST /orgs/{org}/hooks/{hook_id}/pings')); assertType('', $client->call('GET /orgs/{org}/installation')); assertType('', $client->call('GET /orgs/{org}/installations')); -assertType('iterable', $client->call('GET /orgs/{org}/issues')); -assertType('iterable', $client->call('LIST /orgs/{org}/issues')); +assertType('Observable', $client->call('GET /orgs/{org}/issues')); +assertType('Observable', $client->call('LIST /orgs/{org}/issues')); assertType('Observable', $client->call('GET /orgs/{org}/members')); assertType('Observable', $client->call('LIST /orgs/{org}/members')); assertType('', $client->call('GET /orgs/{org}/members/{username}')); @@ -772,8 +772,8 @@ function authHeader(): string assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/invitations')); assertType('', $client->call('DELETE /repos/{owner}/{repo}/invitations/{invitation_id}')); assertType('', $client->call('PATCH /repos/{owner}/{repo}/invitations/{invitation_id}')); -assertType('iterable|Schema\\BasicError', $client->call('GET /repos/{owner}/{repo}/issues')); -assertType('iterable|Schema\\BasicError', $client->call('LIST /repos/{owner}/{repo}/issues')); +assertType('Observable|Schema\\BasicError', $client->call('GET /repos/{owner}/{repo}/issues')); +assertType('Observable|Schema\\BasicError', $client->call('LIST /repos/{owner}/{repo}/issues')); assertType('', $client->call('POST /repos/{owner}/{repo}/issues')); assertType('Observable', $client->call('GET /repos/{owner}/{repo}/issues/comments')); assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/issues/comments')); diff --git a/etc/specs/GitHubEnterprise-3.14/current.spec.yaml b/etc/specs/GitHubEnterprise-3.14/current.spec.yaml index 25114ad6cb8..2772a2f8630 100644 --- a/etc/specs/GitHubEnterprise-3.14/current.spec.yaml +++ b/etc/specs/GitHubEnterprise-3.14/current.spec.yaml @@ -56738,9 +56738,6 @@ webhooks: This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.14/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - - > [!NOTE] - > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was approved. operationId: personal-access-token-request/approved externalDocs: @@ -56797,15 +56794,13 @@ webhooks: subcategory: personal_access_token_request supported-webhook-types: - app + - organization personal-access-token-request-cancelled: post: summary: |- This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.14/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - - > [!NOTE] - > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was cancelled by the requester. operationId: personal-access-token-request/cancelled @@ -56863,15 +56858,13 @@ webhooks: subcategory: personal_access_token_request supported-webhook-types: - app + - organization personal-access-token-request-created: post: summary: |- This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.14/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - - > [!NOTE] - > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was created. operationId: personal-access-token-request/created externalDocs: @@ -56928,15 +56921,13 @@ webhooks: subcategory: personal_access_token_request supported-webhook-types: - app + - organization personal-access-token-request-denied: post: summary: |- This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.14/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - - > [!NOTE] - > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was denied. operationId: personal-access-token-request/denied externalDocs: @@ -56993,6 +56984,7 @@ webhooks: subcategory: personal_access_token_request supported-webhook-types: - app + - organization ping: post: summary: This event occurs when you create a new webhook. The ping event is @@ -76777,6 +76769,10 @@ components: `merge`, `squash`, and `rebase`. At least one option must be enabled. items: type: string + enum: + - merge + - squash + - rebase dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will dismiss previous pull