Skip to content

Commit 7476cc9

Browse files
authored
Merge pull request #1462 from php-api-clients/GitHub/from-1.1.4-2fa68ef1401ab1f8ecec407bb7c5d77b-from-1.1.4-2fa68ef1401ab1f8ecec407bb7c5d77b
2 parents 277258b + 327d6ca commit 7476cc9

18 files changed

+59
-49
lines changed

clients/GitHub/etc/openapi-client-generator.state

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "529209138ca3f128f373739100dbd53c",
2+
"specHash": "2fa68ef1401ab1f8ecec407bb7c5d77b",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5528,7 +5528,7 @@
55285528
},
55295529
{
55305530
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Dependabot.php",
5531-
"hash": "ff3851915c45c72e4d418768664f8a29"
5531+
"hash": "3a6517c15d8d3fd5de6d517e971ef7cb"
55325532
},
55335533
{
55345534
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/SecretScanning.php",
@@ -12336,11 +12336,11 @@
1233612336
},
1233712337
{
1233812338
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForEnterprise.php",
12339-
"hash": "035dcd2b19df4bf05ed27dea99c47f43"
12339+
"hash": "71ff78f1fcc5211f990a057e6d5b5251"
1234012340
},
1234112341
{
1234212342
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForEnterprise.php",
12343-
"hash": "0dc27f93e93d8d947e6bef4c295c75d1"
12343+
"hash": "ea28c2098c6763092cb86b0fcb51c78f"
1234412344
},
1234512345
{
1234612346
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForEnterpriseTest.php",
@@ -13884,11 +13884,11 @@
1388413884
},
1388513885
{
1388613886
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForOrg.php",
13887-
"hash": "bb8788291d5eac5323cbf2a4da4907d6"
13887+
"hash": "171ecb7400b45fc4ae353e894abc79e5"
1388813888
},
1388913889
{
1389013890
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForOrg.php",
13891-
"hash": "e10c97c2b428a405c5a187d57e70b1c8"
13891+
"hash": "b20ebfd0ce6968c498688feebc0b52ab"
1389213892
},
1389313893
{
1389413894
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForOrgTest.php",
@@ -18264,23 +18264,23 @@
1826418264
},
1826518265
{
1826618266
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepo.php",
18267-
"hash": "dc4a5ffc44a88114630353349aa09257"
18267+
"hash": "08537d3cd7e1ad725f1c89af86c062a2"
1826818268
},
1826918269
{
1827018270
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForRepo.php",
18271-
"hash": "34f1cf4133d0b419f69bfebf5171849f"
18271+
"hash": "e436241a58d3e260c2eb58479031a779"
1827218272
},
1827318273
{
1827418274
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoTest.php",
1827518275
"hash": "6f70992f812ccf26cd3ffc21c7c725c8"
1827618276
},
1827718277
{
1827818278
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoListing.php",
18279-
"hash": "aa0892806b90897ba6a93ae7e1ee7dd8"
18279+
"hash": "a9894332e673eecc67594ac1de69c1d2"
1828018280
},
1828118281
{
1828218282
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForRepoListing.php",
18283-
"hash": "65ccb463e32963488866088a37df2b8e"
18283+
"hash": "f14486ffb902e553f3a43e87d84dd146"
1828418284
},
1828518285
{
1828618286
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoListingTest.php",
@@ -24400,7 +24400,7 @@
2440024400
},
2440124401
{
2440224402
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Dependabot.php",
24403-
"hash": "ed719cca92aedb500a230e5644360803"
24403+
"hash": "00f2aa971a06e56bfef9c6f4f3f2ddba"
2440424404
},
2440524405
{
2440624406
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecretScanning.php",
@@ -24668,7 +24668,7 @@
2466824668
},
2466924669
{
2467024670
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Dependabot.php",
24671-
"hash": "2904f5501d22f0bb18e658d6ae9e32e0"
24671+
"hash": "e4d10d3de6be6a6af650db49b2fc09cd"
2467224672
},
2467324673
{
2467424674
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Reactions.php",
@@ -24852,11 +24852,11 @@
2485224852
},
2485324853
{
2485424854
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
24855-
"hash": "6a5aa32846ccb2807283067d8708433c"
24855+
"hash": "ff68911366f33955b0478aadf2534fa6"
2485624856
},
2485724857
{
2485824858
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
24859-
"hash": "01d40f5a3f0322b086abaa90455a7ce3"
24859+
"hash": "9514e15f8163474624b106b01abd53e7"
2486024860
},
2486124861
{
2486224862
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -24960,7 +24960,7 @@
2496024960
},
2496124961
{
2496224962
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php",
24963-
"hash": "71625fca086e278619781593e380e8fb"
24963+
"hash": "ed11367ddbea9bae53fda7450797048c"
2496424964
},
2496524965
{
2496624966
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php",
@@ -27632,11 +27632,11 @@
2763227632
},
2763327633
{
2763427634
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27635-
"hash": "71c82692707697c48cd324651981430e"
27635+
"hash": "4bef484ec1c9bf2a694431cdc1527182"
2763627636
},
2763727637
{
2763827638
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27639-
"hash": "397be97be6943bb78495777ba0235cc1"
27639+
"hash": "c59b57641584d1c139b7020e591e92d2"
2764027640
},
2764127641
{
2764227642
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -31500,7 +31500,7 @@
3150031500
},
3150131501
{
3150231502
"name": "..\/..\/composer.lock",
31503-
"hash": "ba3412e727d85b330527d34ff8accb9e"
31503+
"hash": "2832b76b2c15745b362f2029f3d31cbf"
3150431504
}
3150531505
]
3150631506
}

clients/GitHub/src/Internal/Operation/Dependabot/ListAlertsForEnterprise.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ final class ListAlertsForEnterprise
5454
private int $last;
5555
/**The property by which to sort the results.
5656
`created` means when the alert was created.
57-
`updated` means when the alert's state last changed. **/
57+
`updated` means when the alert's state last changed.
58+
`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/
5859
private string $sort;
5960
/**The direction to sort the results by. **/
6061
private string $direction;

clients/GitHub/src/Internal/Operation/Dependabot/ListAlertsForOrg.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ final class ListAlertsForOrg
5454
private int $last;
5555
/**The property by which to sort the results.
5656
`created` means when the alert was created.
57-
`updated` means when the alert's state last changed. **/
57+
`updated` means when the alert's state last changed.
58+
`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/
5859
private string $sort;
5960
/**The direction to sort the results by. **/
6061
private string $direction;

clients/GitHub/src/Internal/Operation/Dependabot/ListAlertsForRepo.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ final class ListAlertsForRepo
5858
private int $last;
5959
/**The property by which to sort the results.
6060
`created` means when the alert was created.
61-
`updated` means when the alert's state last changed. **/
61+
`updated` means when the alert's state last changed.
62+
`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/
6263
private string $sort;
6364
/**The direction to sort the results by. **/
6465
private string $direction;

clients/GitHub/src/Internal/Operation/Dependabot/ListAlertsForRepoListing.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ final class ListAlertsForRepoListing
5858
private int $last;
5959
/**The property by which to sort the results.
6060
`created` means when the alert was created.
61-
`updated` means when the alert's state last changed. **/
61+
`updated` means when the alert's state last changed.
62+
`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/
6263
private string $sort;
6364
/**The direction to sort the results by. **/
6465
private string $direction;

clients/GitHub/src/Internal/Operator/Dependabot/ListAlertsForEnterprise.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28-
/** @return Observable<Schema\DependabotAlertWithRepository>|WithoutBody */
28+
/** @return iterable<int,Schema\DependabotAlertWithRepository>|WithoutBody */
2929
public function call(string $enterprise, string $state, string $severity, string $ecosystem, string $package, string $scope, string $before, string $after, int $last, string $sort = 'created', string $direction = 'desc', int $first = 30, int $perPage = 30): iterable|WithoutBody
3030
{
3131
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Dependabot\ListAlertsForEnterprise($this->responseSchemaValidator, $this->hydrator, $enterprise, $state, $severity, $ecosystem, $package, $scope, $before, $after, $last, $sort, $direction, $first, $perPage);

clients/GitHub/src/Internal/Operator/Dependabot/ListAlertsForOrg.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28-
/** @return Observable<Schema\DependabotAlertWithRepository>|WithoutBody */
28+
/** @return iterable<int,Schema\DependabotAlertWithRepository>|WithoutBody */
2929
public function call(string $org, string $state, string $severity, string $ecosystem, string $package, string $scope, string $before, string $after, int $last, string $sort = 'created', string $direction = 'desc', int $first = 30, int $perPage = 30): iterable|WithoutBody
3030
{
3131
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Dependabot\ListAlertsForOrg($this->responseSchemaValidator, $this->hydrator, $org, $state, $severity, $ecosystem, $package, $scope, $before, $after, $last, $sort, $direction, $first, $perPage);

clients/GitHub/src/Internal/Operator/Dependabot/ListAlertsForRepo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28-
/** @return Observable<Schema\DependabotAlert>|WithoutBody */
28+
/** @return iterable<int,Schema\DependabotAlert>|WithoutBody */
2929
public function call(string $owner, string $repo, string $state, string $severity, string $ecosystem, string $package, string $manifest, string $scope, string $before, string $after, int $last, string $sort = 'created', string $direction = 'desc', int $page = 1, int $perPage = 30, int $first = 30): iterable|WithoutBody
3030
{
3131
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Dependabot\ListAlertsForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $state, $severity, $ecosystem, $package, $manifest, $scope, $before, $after, $last, $sort, $direction, $page, $perPage, $first);

clients/GitHub/src/Internal/Operator/Dependabot/ListAlertsForRepoListing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28-
/** @return Observable<Schema\DependabotAlert>|WithoutBody */
28+
/** @return iterable<int,Schema\DependabotAlert>|WithoutBody */
2929
public function call(string $owner, string $repo, string $state, string $severity, string $ecosystem, string $package, string $manifest, string $scope, string $before, string $after, int $last, string $sort = 'created', string $direction = 'desc', int $page = 1, int $perPage = 30, int $first = 30): iterable|WithoutBody
3030
{
3131
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Dependabot\ListAlertsForRepoListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $state, $severity, $ecosystem, $package, $manifest, $scope, $before, $after, $last, $sort, $direction, $page, $perPage, $first);

clients/GitHub/src/Internal/Router/Get/Dependabot.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri
2626
{
2727
}
2828

29-
/** @return Observable<Schema\DependabotAlertWithRepository>|WithoutBody */
29+
/** @return iterable<int,Schema\DependabotAlertWithRepository>|WithoutBody */
3030
public function listAlertsForEnterprise(array $params): iterable|WithoutBody
3131
{
3232
$arguments = [];
@@ -113,7 +113,7 @@ public function listAlertsForEnterprise(array $params): iterable|WithoutBody
113113
return $operator->call($arguments['enterprise'], $arguments['state'], $arguments['severity'], $arguments['ecosystem'], $arguments['package'], $arguments['scope'], $arguments['before'], $arguments['after'], $arguments['last'], $arguments['sort'], $arguments['direction'], $arguments['first'], $arguments['per_page']);
114114
}
115115

116-
/** @return Observable<Schema\DependabotAlertWithRepository>|WithoutBody */
116+
/** @return iterable<int,Schema\DependabotAlertWithRepository>|WithoutBody */
117117
public function listAlertsForOrg(array $params): iterable|WithoutBody
118118
{
119119
$arguments = [];
@@ -263,7 +263,7 @@ public function getOrgSecret(array $params): OrganizationDependabotSecret
263263
return $operator->call($arguments['org'], $arguments['secret_name']);
264264
}
265265

266-
/** @return Observable<Schema\DependabotAlert>|WithoutBody */
266+
/** @return iterable<int,Schema\DependabotAlert>|WithoutBody */
267267
public function listAlertsForRepo(array $params): iterable|WithoutBody
268268
{
269269
$arguments = [];

clients/GitHub/src/Internal/Router/Get/Five.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct(private Routers $routers)
5252
{
5353
}
5454

55-
/** @return |Observable<Schema\CodeSecurityConfiguration>|Observable<Schema\DependabotAlertWithRepository>|WithoutBody|Observable<Schema\OrganizationSecretScanningAlert>|Observable<Schema\MarketplacePurchase>|Observable<Schema\Event>|Schema\BasicError|Observable<Schema\CodeScanningOrganizationAlertItems>|Observable<Schema\CopilotUsageMetricsDay>|Observable<Schema\CopilotUsageMetrics>|Observable<Schema\Package>|Observable<Schema\CustomProperty>|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> */
55+
/** @return |Observable<Schema\CodeSecurityConfiguration>|iterable<int,Schema\DependabotAlertWithRepository>|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Observable<Schema\OrganizationSecretScanningAlert>|Observable<Schema\MarketplacePurchase>|Observable<Schema\Event>|Schema\BasicError|WithoutBody|Observable<Schema\CodeScanningOrganizationAlertItems>|Observable<Schema\CopilotUsageMetricsDay>|Observable<Schema\CopilotUsageMetrics>|Observable<Schema\Package>|Observable<Schema\CustomProperty>|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> */
5656
public function call(string $call, array $params, array $pathChunks): HookDelivery|iterable|WithoutBody|GistComment|MarketplacePurchase|BasicError|ThreadSubscription|ActionsOrganizationPermissions|Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|CopilotOrganizationDetails|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|OrgHook|OrgMembership|Migration|OrganizationRole|\ApiClients\Client\GitHub\Schema\Operations\PrivateRegistries\GetOrgPublicKey\Response\ApplicationJson\Ok|OrgPrivateRegistryConfiguration|RepositoryRuleset|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|CodeSecurityConfigurationForRepository|Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Import|Installation|InteractionLimitResponse|One|Language|LicenseContent|Page|\ApiClients\Client\GitHub\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|ContentFile|SimpleUser|Stargazer|RepositorySubscription|Topic|TeamDiscussion|TeamMembership|TeamProject|CodespacesUserPublicKey|CodespacesSecret|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|Package|\ApiClients\Client\GitHub\Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok|EmptyObject
5757
{
5858
if ($pathChunks[0] === '') {

0 commit comments

Comments
 (0)