Skip to content

Commit

Permalink
Merge pull request #1505 from php-api-clients/GitHubEnterprise-3.14/f…
Browse files Browse the repository at this point in the history
…rom-1.1.4-82c0b03ba48cc7845ffb459ce00859eb-from-1.1.4-82c0b03ba48cc7845ffb459ce00859eb
  • Loading branch information
WyriHaximus authored Feb 7, 2025
2 parents 5ce3f65 + 1ce941c commit b29544b
Show file tree
Hide file tree
Showing 18 changed files with 43 additions and 41 deletions.
34 changes: 17 additions & 17 deletions clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "aeaedf4d332292bd7f909991602bd632",
"specHash": "82c0b03ba48cc7845ffb459ce00859eb",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -1408,7 +1408,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForEnterprise.php",
"hash": "9db39a84fee21257cc067d9bdf7a492e"
"hash": "9f8e11df86c6ade6de328ed0fc9281c5"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForEnterpriseTest.php",
Expand Down Expand Up @@ -2832,7 +2832,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForOrg.php",
"hash": "e6bade18c0d7ec70a21729d8f82f720a"
"hash": "9957e41b1b70e8ee20d13d7b2162add4"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForOrgTest.php",
Expand Down Expand Up @@ -5904,7 +5904,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForRepo.php",
"hash": "a918f5cd95dd5a35a68d4f453033b797"
"hash": "0a200eb07b9e0671f0956feaec4157b4"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForRepoTest.php",
Expand Down Expand Up @@ -10908,11 +10908,11 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
"hash": "db86281e2d49d13f66ac80328f72e29d"
"hash": "cd460736f3e3abe46d504126639546d7"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
"hash": "75b7740fb512adfb41a711553a784db0"
"hash": "5ebd59b377fa56da84093860b074238a"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php",
Expand Down Expand Up @@ -10980,11 +10980,11 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php",
"hash": "213ec05fd271504053bfe667c3b2f262"
"hash": "b90351000c7f39f737091d5d80284d4a"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php",
"hash": "613713434ca904649774a4361befc2fc"
"hash": "612cab6a7bf4459cf097650381dd5e75"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php",
Expand Down Expand Up @@ -26700,7 +26700,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php",
"hash": "801992ac075569c0e94b45dcad3b8b4e"
"hash": "e38ca79cf72a9ce8e17d8fd2b95704ca"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php",
Expand Down Expand Up @@ -26936,7 +26936,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Actions.php",
"hash": "1a870083e1219d7429319552fe91aeb4"
"hash": "154adb9b3b9ea89d158bad2677cd6260"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Orgs.php",
Expand Down Expand Up @@ -27232,7 +27232,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
"hash": "e2d6b10c43a46b1771acf2174be392b6"
"hash": "4cc115df9671221e51f3c220e9c964b0"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
Expand Down Expand Up @@ -27304,7 +27304,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php",
"hash": "cf3e6aeacd5937b5c021da5f0e8b282e"
"hash": "582e4f65708d890bcbaccfa125c8d5f6"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Four.php",
Expand All @@ -27316,7 +27316,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php",
"hash": "d8d45a5cba437a0eb24d6f7a368eceaf"
"hash": "b3d29fd4e2f31b05c7cf82e1bfa3709c"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Eight.php",
Expand Down Expand Up @@ -27444,11 +27444,11 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
"hash": "4b681e3c482394b8c75a067e09404871"
"hash": "7e27b5fb6dce8a6f956b8c3a7c91c3e8"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
"hash": "1fb5c1ccf9b5cbcb81bff41cb71677ff"
"hash": "99db7a0395e1f49c6a640c8387bfae64"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
Expand All @@ -27464,7 +27464,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php",
"hash": "3969d0c96e854589ccfd64812d38dcba"
"hash": "d0f6cc583f7b5b3c98ebbcc1a07a01b3"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
Expand All @@ -27488,7 +27488,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/Actions.php",
"hash": "c90b1629a8a9dc50fdb7f5403f2ccc83"
"hash": "8050fc86038d674e70b8dd2e511e644b"
},
{
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\GitHubEnterprise\Internal\Operation\Actions\GenerateRunnerJitconfigForEnterprise($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $enterprise);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\GitHubEnterprise\Internal\Operation\Actions\GenerateRunnerJitconfigForOrg($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\GitHubEnterprise\Internal\Operation\Actions\GenerateRunnerJitconfigForRepo($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\ListProvisionedGroupsEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $excludedAttributes, $enterprise, $startIndex, $count);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\ListProvisionedIdentitiesEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $enterprise, $startIndex, $count);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,6 @@ public function getPreReceiveHookForRepo(array $params): RepositoryPreReceiveHoo
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['pre_receive_hook_id']);
}

/** @return */
public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGroupList|WithoutBody
{
$arguments = [];
Expand Down Expand Up @@ -729,7 +728,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 = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function __construct(private Routers $routers)
{
}

/** @return |Observable<Schema\RunnerApplication>|Observable<Schema\HookDeliveryItem>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamRoleAssignment>|WithoutBody|Observable<Schema\UserRoleAssignment>|Observable<Schema\TeamDiscussion>|Observable<Schema\SimpleUser>|Observable<Schema\TeamProject>|Observable<Schema\Team>|Observable<Schema\CodeScanningAlertItems>|Observable<Schema\CodeScanningAnalysis>|Observable<Schema\DependabotAlert>|Observable<Schema\IssueComment>|Observable<Schema\IssueEvent>|Observable<Schema\PageBuild>|Observable<Schema\CustomPropertyValue>|Observable<Schema\PullRequestReviewComment>|Observable<Schema\Operations\Repos\ListCacheInfo\Response\ApplicationJson\Ok>|Observable<Schema\RuleSuites>|Observable<Schema\SecretScanningAlert>|Observable<int>|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\CommitActivity>|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\ContributorActivity>|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\TagProtection>|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\PackageVersion>|Observable<Schema\Event> */
/** @return |Observable<Schema\RunnerApplication>|Observable<Schema\HookDeliveryItem>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamRoleAssignment>|WithoutBody|Observable<Schema\UserRoleAssignment>|Observable<Schema\TeamDiscussion>|Observable<Schema\SimpleUser>|Observable<Schema\TeamProject>|Observable<Schema\Team>|Observable<Schema\CodeScanningAlertItems>|Observable<Schema\CodeScanningAnalysis>|Observable<Schema\DependabotAlert>|Observable<Schema\IssueComment>|Observable<Schema\IssueEvent>|Observable<Schema\PageBuild>|Observable<Schema\CustomPropertyValue>|Observable<Schema\PullRequestReviewComment>|Observable<Schema\Operations\Repos\ListCacheInfo\Response\ApplicationJson\Ok>|Observable<Schema\RuleSuites>|Observable<Schema\SecretScanningAlert>|Observable<int>|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\CommitActivity>|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\ContributorActivity>|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\TagProtection>|Schema\ScimEnterpriseGroupList|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Schema\ScimEnterpriseUserList|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\PackageVersion>|Observable<Schema\Event> */
public function call(string $call, array $params, array $pathChunks): PreReceiveEnvironmentDownloadStatus|ActionsCacheUsageOrgEnterprise|ActionsCacheUsagePolicyEnterprise|Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|RunnerGroupsEnterprise|iterable|Runner|AdvancedSecurityActiveCommitters|\ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\GetManageConfigApplyEvents\Response\ApplicationJson\Ok|WithoutBody|GhesLicenseCheck|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|RunnerGroupsOrg|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|Package|CustomProperty|RuleSuite|ExternalGroups|ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|CommitComment|Commit|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|RepositoryPreReceiveHook|PullRequest|Release|RepositoryRuleset|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|ScimEnterpriseGroupList|ScimEnterpriseUserList|TeamRepository
{
if ($pathChunks[0] === '') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public function createOrgVariable(array $params): EmptyObject
return $operator->call($arguments['org'], $params);
}

/** @return */
public function generateRunnerJitconfigForEnterprise(array $params): Created
{
$arguments = [];
Expand All @@ -69,6 +70,7 @@ public function generateRunnerJitconfigForEnterprise(array $params): Created
return $operator->call($arguments['enterprise'], $params);
}

/** @return */
public function generateRunnerJitconfigForOrg(array $params): Created
{
$arguments = [];
Expand Down Expand Up @@ -155,6 +157,7 @@ public function addCustomLabelsToSelfHostedRunnerForOrg(array $params): Ok
return $operator->call($arguments['org'], $arguments['runner_id'], $params);
}

/** @return */
public function generateRunnerJitconfigForRepo(array $params): Created
{
$arguments = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __construct(private Routers $routers)
{
}

/** @return |Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created|Observable<Schema\Label>|Schema\BasicError */
/** @return |Observable<Schema\Label>|Schema\BasicError */
public function call(string $call, array $params, array $pathChunks): Ok|WithoutBody|Created|AuthenticationToken|BranchWithProtection|EmptyObject|Reaction|CommitComment|DeploymentStatus|DeploymentBranchPolicy|DeploymentProtectionRule|Issue|IssueComment|iterable|BasicError|PullRequestReviewComment|PullRequestSimple|PullRequestReview|ReleaseAsset
{
if ($pathChunks[0] === '') {
Expand Down
Loading

0 comments on commit b29544b

Please sign in to comment.