Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "0336551e2d2d85984cfed5879256ad77",
"specHash": "aa24377344d6471ce1e177feecf11db1",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -5980,7 +5980,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php",
"hash": "96b31d4c40906b02470147e884b42c1d"
"hash": "2c9fe4d18721a8d690513913bccff5f6"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
Expand Down Expand Up @@ -26656,7 +26656,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
"hash": "99927f0e128d4c6b795535f65647e2b1"
"hash": "e4ece915c3acb049dcaeb3656b2fcd3c"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
Expand Down Expand Up @@ -29872,11 +29872,11 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
"hash": "aaea273be42848e493de9ebe038a1125"
"hash": "49546035c0a7670ec430f965eafae199"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
"hash": "e0aec114ac554ca1977de1d0664c7d30"
"hash": "040c8ce72f7c03b1243c63c2b5fa4b6f"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
Expand Down Expand Up @@ -32004,7 +32004,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/CodeSecurity\/GetConfigurationsForOrg.php",
"hash": "a97708e1cdf7f307b45dce0f264503ac"
"hash": "e93ce4ac0870638894dee921b22c0cb3"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/CodeSecurity\/GetConfigurationsForOrgTest.php",
Expand Down Expand Up @@ -32116,7 +32116,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeSecurityConfigurationRepositories.php",
"hash": "e3e3b7f123884a547783634baa2efaa6"
"hash": "f22f1d882dc584c3cbd6d5a83fa0dcb3"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/CodeSecurity\/AttachConfiguration\/Response\/ApplicationJson\/Accepted.php",
Expand Down Expand Up @@ -32148,7 +32148,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/CodeSecurity.php",
"hash": "bfdfd1fd7882be2f4032dea8964cd9be"
"hash": "8cdb43384293a93b36ca25b86d0ea079"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/CodeSecurity.php",
Expand All @@ -32168,7 +32168,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/CodeSecurity.php",
"hash": "42230af5a24a2c3e6585330c0c65d504"
"hash": "ae5e71a9ec99c1095424a14d080d4fd4"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations.php",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\CodeSecurityConfiguration> */
/** @return Observable<Schema\CodeSecurityConfiguration> */
public function call(string $org, string $before, string $after, string $targetType = 'all', int $perPage = 30): iterable
{
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\CodeSecurity\GetConfigurationsForOrg($this->responseSchemaValidator, $this->hydrator, $org, $before, $after, $targetType, $perPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri
{
}

/** @return iterable<int,Schema\CodeSecurityConfiguration> */
/** @return Observable<Schema\CodeSecurityConfiguration> */
public function getConfigurationsForOrg(array $params): iterable
{
$arguments = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __construct(private Routers $routers)
{
}

/** @return |Observable<Schema\CodeScanningOrganizationAlertItems>|Observable<Schema\CopilotUsageMetrics>|Observable<Schema\DependabotAlertWithRepository>|WithoutBody|Observable<Schema\OrganizationSecretScanningAlert>|Observable<Schema\MarketplacePurchase>|Observable<Schema\Event>|Schema\BasicError|iterable<int,Schema\CodeSecurityConfiguration>|Observable<Schema\Package>|Observable<Schema\OrgCustomProperty>|Observable<Schema\OrgRepoCustomPropertyValues>|Observable<Schema\RuleSuites>|Observable<Schema\ProjectCard>|Observable<Schema\Activity>|Observable<Schema\SimpleUser>|Observable<Schema\Autolink>|Observable<Schema\ShortBranch>|Observable<Schema\Collaborator>|Observable<Schema\CommitComment>|Observable<Schema\Commit>|Observable<Schema\Contributor>|Observable<Schema\Deployment>|Observable<Schema\MinimalRepository>|Observable<Schema\Hook>|Observable<Schema\RepositoryInvitation>|Observable<Schema\Issue>|Observable<Schema\DeployKey>|Observable<Schema\Label>|Observable<Schema\Milestone>|Observable<Schema\Thread>|Observable<Schema\Project>|Observable<Schema\PullRequestSimple>|Observable<Schema\Release>|Observable<Schema\RepositoryRuleset>|Observable<Schema\RepositoryAdvisory>|Observable<Schema\Tag>|Observable<Schema\Team> */
/** @return |Observable<Schema\CodeScanningOrganizationAlertItems>|Observable<Schema\CopilotUsageMetrics>|Observable<Schema\DependabotAlertWithRepository>|WithoutBody|Observable<Schema\OrganizationSecretScanningAlert>|Observable<Schema\MarketplacePurchase>|Observable<Schema\Event>|Schema\BasicError|Observable<Schema\CodeSecurityConfiguration>|Observable<Schema\Package>|Observable<Schema\OrgCustomProperty>|Observable<Schema\OrgRepoCustomPropertyValues>|Observable<Schema\RuleSuites>|Observable<Schema\ProjectCard>|Observable<Schema\Activity>|Observable<Schema\SimpleUser>|Observable<Schema\Autolink>|Observable<Schema\ShortBranch>|Observable<Schema\Collaborator>|Observable<Schema\CommitComment>|Observable<Schema\Commit>|Observable<Schema\Contributor>|Observable<Schema\Deployment>|Observable<Schema\MinimalRepository>|Observable<Schema\Hook>|Observable<Schema\RepositoryInvitation>|Observable<Schema\Issue>|Observable<Schema\DeployKey>|Observable<Schema\Label>|Observable<Schema\Milestone>|Observable<Schema\Thread>|Observable<Schema\Project>|Observable<Schema\PullRequestSimple>|Observable<Schema\Release>|Observable<Schema\RepositoryRuleset>|Observable<Schema\RepositoryAdvisory>|Observable<Schema\Tag>|Observable<Schema\Team> */
public function call(string $call, array $params, array $pathChunks): HookDelivery|ActionsEnterprisePermissions|Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|iterable|WithoutBody|GistComment|MarketplacePurchase|BasicError|ThreadSubscription|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|RepositoryRuleset|GroupMapping|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|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] === '') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct(private Internal\Operators $operators)
{
}

/** @return iterable<int,Schema\CodeSecurityConfiguration> */
/** @return Observable<Schema\CodeSecurityConfiguration> */
public function getConfigurationsForOrg(string $org, string $before, string $after, string $targetType, int $perPage): iterable
{
return $this->operators->codeSecurity👷GetConfigurationsForOrg()->call($org, $before, $after, $targetType, $perPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
}

if ($call === 'GET /orgs/{org}/code-security/configurations') {
return $this->typeResolver->resolve('iterable<int,Schema\\CodeSecurityConfiguration>');
return $this->typeResolver->resolve('Observable<Schema\\CodeSecurityConfiguration>');
}

if ($call === 'POST /orgs/{org}/code-security/configurations') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
"attached",
"attaching",
"detached",
"removed",
"enforced",
"failed",
"updating"
"updating",
"removed_by_enterprise"
],
"type": "string",
"description": "The attachment status of the code security configuration on the repository."
Expand Down Expand Up @@ -574,7 +576,7 @@
public const SCHEMA_TITLE = '';
public const SCHEMA_DESCRIPTION = 'Repositories associated with a code security configuration and attachment status';
public const SCHEMA_EXAMPLE_DATA = '{
"status": "updating",
"status": "removed_by_enterprise",
"repository": {
"id": 1296269,
"node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function authHeader(): string
assertType('', $client->call('DELETE /orgs/{org}/blocks/{username}'));
assertType('Observable<Schema\\CodeScanningOrganizationAlertItems>', $client->call('GET /orgs/{org}/code-scanning/alerts'));
assertType('Observable<Schema\\CodeScanningOrganizationAlertItems>', $client->call('LIST /orgs/{org}/code-scanning/alerts'));
assertType('iterable<int,Schema\\CodeSecurityConfiguration>', $client->call('GET /orgs/{org}/code-security/configurations'));
assertType('Observable<Schema\\CodeSecurityConfiguration>', $client->call('GET /orgs/{org}/code-security/configurations'));
assertType('', $client->call('POST /orgs/{org}/code-security/configurations'));
assertType('Observable<Schema\\CodeSecurityDefaultConfigurations>|WithoutBody', $client->call('GET /orgs/{org}/code-security/configurations/defaults'));
assertType('', $client->call('DELETE /orgs/{org}/code-security/configurations/detach'));
Expand Down
Loading
Loading