diff --git a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state index edf425544b6..d5efd7ab18b 100644 --- a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state +++ b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "32b56e406f1dadb0fc98a659a70af16f", + "specHash": "930e319d8aad19927a15abe0093eeda1", "generatedFiles": { "files": [ { @@ -5880,11 +5880,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php", - "hash": "b744b1847038dcd89f16c37a085690a2" + "hash": "2226099db929bdeaff856d97d2af0dac" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Actions.php", - "hash": "2ecd6e8ea6b594286dcf1047954df164" + "hash": "20a41cae7ffb706d35acf654ca9c2fbb" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/AnnouncementBanners.php", @@ -5904,7 +5904,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Billing.php", - "hash": "5540f84230b49c578cb95a1e7b90274a" + "hash": "19c24b508018b7205de85bf2b224f92a" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Activity.php", @@ -13076,7 +13076,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForEnterprise.php", - "hash": "97e6cd5d0b0fe4252e83014cf26a772d" + "hash": "5f5103470f51dfbc3f4c73fa4a67a620" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForEnterpriseTest.php", @@ -14488,7 +14488,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForOrg.php", - "hash": "3dc141d8803bfc045d95abe1f0bc16c4" + "hash": "ccdee9448ea053e5aa22831f91bd06fd" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForOrgTest.php", @@ -17796,7 +17796,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForRepo.php", - "hash": "417a391f279de3b8b871ff3535b8ceb0" + "hash": "09efca8dde13ddc8b0d030668054cdc9" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForRepoTest.php", @@ -26020,7 +26020,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php", - "hash": "22fc7ed6dc4e25a2cf42993cf2ff2a0d" + "hash": "c31d1c71316022d6619410c5332fe83e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/AnnouncementBanners.php", @@ -26108,7 +26108,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Actions.php", - "hash": "3fec48f4560f961f3f2b40b55e264ebe" + "hash": "7d5a2d31381ba4e806bc7a7e6df5c267" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/EnterpriseAdmin.php", @@ -26304,7 +26304,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/EnterpriseAdmin.php", - "hash": "86cb12631218924a32880aa514f18562" + "hash": "a33857e3cc658707c536e0dfcebee90b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Projects.php", @@ -26532,11 +26532,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", - "hash": "a91095edd68394452e693661ea645295" + "hash": "57ded608e938cdcda68cb8126ece8b48" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "37e6aa6f38b79bbc91caa2834520f676" + "hash": "ccc96105e144fc3bf6505c510b2bc3ae" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", @@ -26560,7 +26560,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php", - "hash": "f79e6131d891d6d385115cdbfccb3274" + "hash": "ffc46d6ba42e8136a9a6fbc14c0e6921" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Five.php", @@ -26568,7 +26568,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php", - "hash": "e15bceaa48df4ca500ff4c2b5bcade21" + "hash": "dbc47411d823cf657800ced04fa86bf5" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Two.php", @@ -26632,7 +26632,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php", - "hash": "3e4e5ecd1b7a91007ccbe67a3744f8f5" + "hash": "5a9cba86764db2425754ad3505d9db81" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Two.php", @@ -28916,11 +28916,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php", - "hash": "4e31d7cd6272a782d8ed8dd33c0b639f" + "hash": "6ed7cbb56acd951e625a35ff0d6b06b5" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php", - "hash": "8104a6828e36304a8f6b848a0eaa8394" + "hash": "1ec134803413b6c8f62f1dc5a15ee898" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php", @@ -28988,11 +28988,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php", - "hash": "def308f6914aa7b5a09b41b5e57996c4" + "hash": "9786b49d7151801d67a156391398d1fa" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php", - "hash": "0e8e3aace8e45c3fb630495772ecd317" + "hash": "fbe4dc8c4e89e0b8f483416c0b77ad1e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php", @@ -29708,11 +29708,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "480c123369052eb32ed5ad1e24e966f7" + "hash": "6748ac4a1f55151327ceb7727925bdb8" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "b9a716da95ac9f6846132e0f04d3781f" + "hash": "749b90a3e136fcab04503d12b32e89cd" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -34876,7 +34876,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListPushBypassRequests.php", - "hash": "3a2597ab70f055c679ab56bd4d0e050b" + "hash": "89d1849ca60ebc92b417663f9bb68f62" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListPushBypassRequestsTest.php", @@ -34888,7 +34888,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListPushBypassRequestsListing.php", - "hash": "58598359d86a45592cff510f11287dac" + "hash": "4509e9b0dc244c447602285dc350f3be" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListPushBypassRequestsListingTest.php", diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php index 33595736e08..376f81cb115 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php @@ -23,7 +23,7 @@ final class ListProvisionedGroupsEnterprise { public const OPERATION_ID = 'enterprise-admin/list-provisioned-groups-enterprise'; public const OPERATION_MATCH = 'GET /scim/v2/enterprises/{enterprise}/Groups'; - /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `externalId`, `id`, and `displayName`. For example, `?filter="externalId eq '9138790-10932-109120392-12321'"`. **/ + /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `externalId`, `id`, and `displayName`. For example, `?filter='externalId eq "9138790-10932-109120392-12321"'`. **/ private string $filter; /**Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. **/ private string $excludedAttributes; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php index 9c54e52634f..e14c589b0bd 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php @@ -23,7 +23,7 @@ final class ListProvisionedIdentitiesEnterprise { public const OPERATION_ID = 'enterprise-admin/list-provisioned-identities-enterprise'; public const OPERATION_MATCH = 'GET /scim/v2/enterprises/{enterprise}/Users'; - /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `userName`, `externalId`, `id`, and `displayName`. For example, `?filter="externalId eq '9138790-10932-109120392-12321'"`. **/ + /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `userName`, `externalId`, `id`, and `displayName`. For example, `?filter='externalId eq "9138790-10932-109120392-12321"'`. **/ private string $filter; /**The slug version of the enterprise name. You can also substitute this value with the enterprise id. **/ private string $enterprise; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php index 1f29fb001d9..8cedf4a0acd 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $enterprise, array $params): Created { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Actions\GenerateRunnerJitconfigForEnterprise($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php index ee8df9274cf..a6f0b4ef94f 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $org, array $params): Created { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Actions\GenerateRunnerJitconfigForOrg($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php index eeca0a04594..da9ddb30ca9 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, array $params): Created { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Actions\GenerateRunnerJitconfigForRepo($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php index 2bb3d5f84da..b98b60bf791 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php @@ -25,7 +25,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $filter, string $excludedAttributes, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseGroupList|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\ListProvisionedGroupsEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $excludedAttributes, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php index 9751f1925b8..c5c13e45185 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php @@ -25,7 +25,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $filter, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseUserList|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\ListProvisionedIdentitiesEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListPushBypassRequests.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListPushBypassRequests.php index 73922d47cf1..2265bd54b0d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListPushBypassRequests.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListPushBypassRequests.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $enterprise, string $organizationName, string $reviewer, string $requester, string $timePeriod = 'day', string $requestStatus = 'all', int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\ListPushBypassRequests($this->responseSchemaValidator, $this->hydrator, $enterprise, $organizationName, $reviewer, $requester, $timePeriod, $requestStatus, $perPage, $page); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListPushBypassRequestsListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListPushBypassRequestsListing.php index ce50160df2e..8cb001f5808 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListPushBypassRequestsListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListPushBypassRequestsListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $enterprise, string $organizationName, string $reviewer, string $requester, string $timePeriod = 'day', string $requestStatus = 'all', int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\ListPushBypassRequestsListing($this->responseSchemaValidator, $this->hydrator, $enterprise, $organizationName, $reviewer, $requester, $timePeriod, $requestStatus, $perPage, $page); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php index 495da1af215..c7f2f2fc754 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php @@ -270,7 +270,7 @@ public function getAuditLogStreams(array $params): iterable return $operator->call($arguments['enterprise']); } - /** @return iterable */ + /** @return Observable */ public function listPushBypassRequests(array $params): iterable { $arguments = []; @@ -483,7 +483,6 @@ public function getEnterpriseCustomProperty(array $params): CustomProperty return $operator->call($arguments['enterprise'], $arguments['custom_property_name']); } - /** @return */ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGroupList|WithoutBody { $arguments = []; @@ -522,7 +521,6 @@ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGr return $operator->call($arguments['filter'], $arguments['excludedAttributes'], $arguments['enterprise'], $arguments['startIndex'], $arguments['count']); } - /** @return */ public function listProvisionedIdentitiesEnterprise(array $params): ScimEnterpriseUserList|WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php index a3d52357f40..7ea767e37c0 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php @@ -59,7 +59,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|iterable|Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|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 */ + /** @return |Observable|Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|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 */ public function call(string $call, array $params, array $pathChunks): HookDelivery|Ok|ActionsEnterprisePermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnerGroupsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|AuditLogStreamKey|iterable|WithoutBody|NetworkConfiguration|NetworkSettings|RepositoryRuleset|GistComment|MarketplacePurchase|BasicError|ThreadSubscription|Json|ActionsOrganizationPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnerGroupsForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|CopilotOrganizationDetails|OrganizationCustomRepositoryRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|ExternalGroup|OrgHook|OrgMembership|Migration|OrganizationRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\GetOrgPublicKey\Response\ApplicationJson\Ok|OrgPrivateRegistryConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\HostedCompute\ListNetworkConfigurationsForOrg\Response\ApplicationJson\Ok\Application\Json|GroupMapping|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|CodeSecurityConfigurationForRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Import|Installation|InteractionLimitResponse|One|Language|LicenseContent|Page|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|ContentFile|SimpleUser|Stargazer|RepositorySubscription|Topic|TeamDiscussion|TeamMembership|TeamProject|CodespacesUserPublicKey|CodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|Package|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok|EmptyObject { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php index af677ad9cb2..da400ac288e 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php @@ -90,7 +90,7 @@ public function __construct(private Routers $routers) { } - /** @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|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|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|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\ScimEnterpriseGroupList|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Schema\ScimEnterpriseUserList|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): ActionsCacheUsageOrgEnterprise|ActionsHostedRunnerLimits|Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForEnterprise\Response\ApplicationJson\Ok|ActionsHostedRunner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelectedOrganizationsEnabledGithubActionsEnterprise\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|RunnerGroupsEnterprise|iterable|Runner|GetAuditLogStreamConfig|CodeSecurityConfiguration|WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeatsForEnterprise\Response\ApplicationJson\Ok|CustomProperty|ActionsBillingUsage|AdvancedSecurityActiveCommitters|GetAllCostCenters|PackagesBillingUsage|CombinedBillingUsage|BillingUsageReport|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|RunnerGroupsOrg|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|ApiInsightsSummaryStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|CopilotSeatDetails|Package|RuleSuite|NetworkConfiguration|NetworkSettings|ExternalGroups|ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\PreFlightWithRepoForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|CommitComment|Commit|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|PagesHealthCheck|EmptyObject|PullRequest|Release|RepositoryRuleset|SecretScanningScanHistory|RepositoryAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|CloneTraffic|ViewTraffic|ScimEnterpriseGroupList|ScimEnterpriseUserList|ScimUserList|TeamRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceExportDetails { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/EnterpriseAdmin.php index a1cbb016b03..70c4f8e11f0 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/EnterpriseAdmin.php @@ -83,7 +83,7 @@ public function getAuditLogListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function listPushBypassRequestsListing(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Five.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Five.php index 2304c5b184a..f5de7c9eef4 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Five.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Five.php @@ -16,7 +16,7 @@ public function __construct(private Routers $routers) { } - /** @return iterable|Observable|Observable|Observable|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 */ + /** @return Observable|Observable|Observable|Observable|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 */ public function call(string $call, array $params, array $pathChunks): iterable|BasicError|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Actions.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Actions.php index 25aec5bf9ce..9140e600c60 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Actions.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Actions.php @@ -26,6 +26,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri { } + /** @return */ public function generateRunnerJitconfigForEnterprise(array $params): Created { $arguments = []; @@ -40,6 +41,7 @@ public function generateRunnerJitconfigForEnterprise(array $params): Created return $operator->call($arguments['enterprise'], $params); } + /** @return */ public function generateRunnerJitconfigForOrg(array $params): Created { $arguments = []; @@ -186,6 +188,7 @@ public function addCustomLabelsToSelfHostedRunnerForOrg(array $params): Ok return $operator->call($arguments['org'], $arguments['runner_id'], $params); } + /** @return */ public function generateRunnerJitconfigForRepo(array $params): Created { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Seven.php index 78f740a2ec6..eae1f0c24ff 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Seven.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Seven.php @@ -35,7 +35,7 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created|Observable|Schema\BasicError */ + /** @return |Observable|Schema\BasicError */ public function call(string $call, array $params, array $pathChunks): Ok|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\AttachConfiguration\Response\ApplicationJson\Accepted\Application\Json|WithoutBody|Created|AuthenticationToken|BranchWithProtection|EmptyObject|CodeScanningVariantAnalysis|Reaction|CommitComment|DeploymentStatus|DeploymentBranchPolicy|DeploymentProtectionRule|Issue|IssueComment|iterable|BasicError|Codespace|PullRequestReviewComment|PullRequestSimple|PullRequestReview|ReleaseAsset|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest\Response\ApplicationJson\Accepted\Application\Json|FullRepository { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Six.php index 7cea1973a1d..88f53c6e4db 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Six.php @@ -37,7 +37,6 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created */ public function call(string $call, array $params, array $pathChunks): Json|Created|AuthenticationToken|WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForTeams\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForUsers\Response\ApplicationJson\Created|TeamDiscussion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|EmptyObject|CodeScanningSarifsReceipt|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|ShortBlob|GitCommit|GitRef|GitTag|GitTree|PageBuildStatus|PageDeployment|ReleaseNotesContent|SecretScanningPushProtectionBypass|RepositoryAdvisory|Status|TagProtection|GroupResponse|UserResponse|ScimUser|TeamDiscussionComment|Reaction { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Operation/Actions.php b/clients/GitHubEnterpriseCloud/src/Operation/Actions.php index 331b04e8ae4..05a027d898a 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/Actions.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/Actions.php @@ -127,6 +127,7 @@ public function setGithubActionsDefaultWorkflowPermissionsEnterprise(string $ent return $this->operators->actions👷SetGithubActionsDefaultWorkflowPermissionsEnterprise()->call($enterprise, $params); } + /** @return */ public function generateRunnerJitconfigForEnterprise(string $enterprise, array $params): Created { return $this->operators->actions👷GenerateRunnerJitconfigForEnterprise()->call($enterprise, $params); @@ -360,6 +361,7 @@ public function listRunnerApplicationsForOrg(string $org): iterable return $this->operators->actions👷ListRunnerApplicationsForOrg()->call($org); } + /** @return */ public function generateRunnerJitconfigForOrg(string $org, array $params): Created { return $this->operators->actions👷GenerateRunnerJitconfigForOrg()->call($org, $params); @@ -689,6 +691,7 @@ public function listRunnerApplicationsForRepo(string $owner, string $repo): iter return $this->operators->actions👷ListRunnerApplicationsForRepo()->call($owner, $repo); } + /** @return */ public function generateRunnerJitconfigForRepo(string $owner, string $repo, array $params): Created { return $this->operators->actions👷GenerateRunnerJitconfigForRepo()->call($owner, $repo, $params); diff --git a/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php index 0340ef0e4c0..49a2e5523ad 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php @@ -274,13 +274,13 @@ public function deleteAuditLogStream(string $enterprise, int $streamId): Without return $this->operators->enterpriseAdmin👷DeleteAuditLogStream()->call($enterprise, $streamId); } - /** @return iterable */ + /** @return Observable */ public function listPushBypassRequests(string $enterprise, string $organizationName, string $reviewer, string $requester, string $timePeriod, string $requestStatus, int $perPage, int $page): iterable { return $this->operators->enterpriseAdmin👷ListPushBypassRequests()->call($enterprise, $organizationName, $reviewer, $requester, $timePeriod, $requestStatus, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function listPushBypassRequestsListing(string $enterprise, string $organizationName, string $reviewer, string $requester, string $timePeriod, string $requestStatus, int $perPage, int $page): iterable { return $this->operators->enterpriseAdmin👷ListPushBypassRequestsListing()->call($enterprise, $organizationName, $reviewer, $requester, $timePeriod, $requestStatus, $perPage, $page); @@ -328,7 +328,6 @@ public function removeEnterpriseCustomProperty(string $enterprise, string $custo return $this->operators->enterpriseAdmin👷RemoveEnterpriseCustomProperty()->call($enterprise, $customPropertyName); } - /** @return */ public function listProvisionedGroupsEnterprise(string $filter, string $excludedAttributes, string $enterprise, int $startIndex, int $count): ScimEnterpriseGroupList|WithoutBody { return $this->operators->enterpriseAdmin👷ListProvisionedGroupsEnterprise()->call($filter, $excludedAttributes, $enterprise, $startIndex, $count); @@ -364,7 +363,6 @@ public function updateAttributeForEnterpriseGroup(string $scimGroupId, string $e return $this->operators->enterpriseAdmin👷UpdateAttributeForEnterpriseGroup()->call($scimGroupId, $enterprise, $params); } - /** @return */ public function listProvisionedIdentitiesEnterprise(string $filter, string $enterprise, int $startIndex, int $count): ScimEnterpriseUserList|WithoutBody { return $this->operators->enterpriseAdmin👷ListProvisionedIdentitiesEnterprise()->call($filter, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php index 5c6e2617699..71f57ed8df1 100644 --- a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php @@ -344,7 +344,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'POST /enterprises/{enterprise}/actions/runners/generate-jitconfig') { - return $this->typeResolver->resolve('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /enterprises/{enterprise}/actions/runners/registration-token') { @@ -428,11 +428,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /enterprises/{enterprise}/bypass-requests/push-rules') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /enterprises/{enterprise}/bypass-requests/push-rules') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /enterprises/{enterprise}/code-scanning/alerts') { @@ -1068,7 +1068,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'POST /orgs/{org}/actions/runners/generate-jitconfig') { - return $this->typeResolver->resolve('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /orgs/{org}/actions/runners/registration-token') { @@ -2528,7 +2528,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig') { - return $this->typeResolver->resolve('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /repos/{owner}/{repo}/actions/runners/registration-token') { @@ -4496,7 +4496,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /scim/v2/enterprises/{enterprise}/Groups') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'POST /scim/v2/enterprises/{enterprise}/Groups') { @@ -4520,7 +4520,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /scim/v2/enterprises/{enterprise}/Users') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'POST /scim/v2/enterprises/{enterprise}/Users') { diff --git a/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php index 721131903e5..894e9eb4e73 100644 --- a/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php @@ -92,7 +92,7 @@ function authHeader(): string assertType('', $client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}')); assertType('', $client->call('GET /enterprises/{enterprise}/actions/runners')); assertType('Observable', $client->call('GET /enterprises/{enterprise}/actions/runners/downloads')); -assertType('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created', $client->call('POST /enterprises/{enterprise}/actions/runners/generate-jitconfig')); +assertType('', $client->call('POST /enterprises/{enterprise}/actions/runners/generate-jitconfig')); assertType('', $client->call('POST /enterprises/{enterprise}/actions/runners/registration-token')); assertType('', $client->call('POST /enterprises/{enterprise}/actions/runners/remove-token')); assertType('', $client->call('GET /enterprises/{enterprise}/actions/runners/{runner_id}')); @@ -113,8 +113,8 @@ function authHeader(): string assertType('', $client->call('GET /enterprises/{enterprise}/audit-log/streams/{stream_id}')); assertType('', $client->call('PUT /enterprises/{enterprise}/audit-log/streams/{stream_id}')); assertType('', $client->call('DELETE /enterprises/{enterprise}/audit-log/streams/{stream_id}')); -assertType('iterable', $client->call('GET /enterprises/{enterprise}/bypass-requests/push-rules')); -assertType('iterable', $client->call('LIST /enterprises/{enterprise}/bypass-requests/push-rules')); +assertType('Observable', $client->call('GET /enterprises/{enterprise}/bypass-requests/push-rules')); +assertType('Observable', $client->call('LIST /enterprises/{enterprise}/bypass-requests/push-rules')); assertType('Observable', $client->call('GET /enterprises/{enterprise}/code-scanning/alerts')); assertType('Observable', $client->call('LIST /enterprises/{enterprise}/code-scanning/alerts')); assertType('Observable', $client->call('GET /enterprises/{enterprise}/code-security/configurations')); @@ -273,7 +273,7 @@ function authHeader(): string assertType('', $client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}')); assertType('', $client->call('GET /orgs/{org}/actions/runners')); assertType('Observable', $client->call('GET /orgs/{org}/actions/runners/downloads')); -assertType('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created', $client->call('POST /orgs/{org}/actions/runners/generate-jitconfig')); +assertType('', $client->call('POST /orgs/{org}/actions/runners/generate-jitconfig')); assertType('', $client->call('POST /orgs/{org}/actions/runners/registration-token')); assertType('', $client->call('POST /orgs/{org}/actions/runners/remove-token')); assertType('', $client->call('GET /orgs/{org}/actions/runners/{runner_id}')); @@ -638,7 +638,7 @@ function authHeader(): string assertType('', $client->call('PUT /repos/{owner}/{repo}/actions/permissions/workflow')); assertType('', $client->call('GET /repos/{owner}/{repo}/actions/runners')); assertType('Observable', $client->call('GET /repos/{owner}/{repo}/actions/runners/downloads')); -assertType('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created', $client->call('POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig')); +assertType('', $client->call('POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig')); assertType('', $client->call('POST /repos/{owner}/{repo}/actions/runners/registration-token')); assertType('', $client->call('POST /repos/{owner}/{repo}/actions/runners/remove-token')); assertType('', $client->call('GET /repos/{owner}/{repo}/actions/runners/{runner_id}')); @@ -1130,13 +1130,13 @@ function authHeader(): string assertType('Observable', $client->call('STREAM /repos/{owner}/{repo}/zipball/{ref}')); assertType('', $client->call('POST /repos/{template_owner}/{template_repo}/generate')); assertType('Observable|WithoutBody', $client->call('GET /repositories')); -assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups')); +assertType('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups')); assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Groups')); assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); assertType('', $client->call('DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); assertType('', $client->call('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); -assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users')); +assertType('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Users')); assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Users')); assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); diff --git a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml index a95a39c05a6..17d9db2beb3 100644 --- a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml +++ b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml @@ -4840,7 +4840,7 @@ paths: summary: Get a summary of Copilot usage for enterprise members description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, @@ -6166,7 +6166,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." + > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -14017,7 +14017,7 @@ paths: summary: Get a summary of Copilot usage for organization members description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -21116,7 +21116,7 @@ paths: summary: Get a summary of Copilot usage for a team description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -48423,7 +48423,7 @@ paths: - name: filter description: If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `externalId`, - `id`, and `displayName`. For example, `?filter="externalId eq '9138790-10932-109120392-12321'"`. + `id`, and `displayName`. For example, `?filter='externalId eq "9138790-10932-109120392-12321"'`. in: query required: false schema: @@ -48758,8 +48758,8 @@ paths: - name: filter description: If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `userName`, - `externalId`, `id`, and `displayName`. For example, `?filter="externalId - eq '9138790-10932-109120392-12321'"`. + `externalId`, `id`, and `displayName`. For example, `?filter='externalId + eq "9138790-10932-109120392-12321"'`. in: query required: false schema: