diff --git a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state index 0df7bc46946..edfb25544c5 100644 --- a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state +++ b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "ffee00135b8cfe1bdeb443e21e172f6d", + "specHash": "c9dfbdafb6c9c747b891f7b5912601ef", "generatedFiles": { "files": [ { @@ -5880,7 +5880,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php", - "hash": "9de7d8e52ef903a0a407e3d01613d451" + "hash": "5039da45ed8ed055ca0e17a06654de78" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Actions.php", @@ -12060,11 +12060,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotSeatDetails.php", - "hash": "62fe1debec57d1ae51883f6c133b93bf" + "hash": "fb7a8e318fee15264ba8b52099c75f75" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeats\/Response\/ApplicationJson\/Ok.php", - "hash": "d54f08d39e7240c8d57ed5dc7d8e6d0b" + "hash": "d1207f8ef83ef55ee38ac3158cfaadb3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Copilot\/CancelCopilotSeatAssignmentForTeams\/Request\/ApplicationJson.php", @@ -26028,7 +26028,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php", - "hash": "2adb3194043f3cfb7a83678b5ed8b709" + "hash": "94b4f92460243920bd73c560484b12fe" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/AnnouncementBanners.php", @@ -26216,7 +26216,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/EnterpriseAdmin.php", - "hash": "d21a68e8619275d17947e6c2d5d92aad" + "hash": "9324e14902fb0a5abba3e3d46b9e2ea0" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Actions.php", @@ -26400,7 +26400,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/EnterpriseAdmin.php", - "hash": "ffe28604e9b79fcac6cf12cea3baa27e" + "hash": "dc3738d734829b385f155037e262bf80" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Actions.php", @@ -26444,7 +26444,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/EnterpriseAdmin.php", - "hash": "7ba256393d2f71c185b39f9b19138400" + "hash": "b576f7387db49ea1e451b1e8335d2343" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Activity.php", @@ -26540,19 +26540,19 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", - "hash": "c6911a95a82076d09a8b559ffc984143" + "hash": "c13035d24df5586496b46484696e5128" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "1a6faf61b1d249b354dfc74814b52e92" + "hash": "634fc2d288401a367fcf45a077e838a8" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", - "hash": "1b6632b562c8b22baee861e2211ac9e3" + "hash": "a692e3b2521738ca59df4bcc4aee1495" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php", - "hash": "c9c9e7eaecce97593e60cdb88606477f" + "hash": "1cf5790594bbb4d1413a9716c0f7dd0a" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Nine.php", @@ -26612,7 +26612,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Five.php", - "hash": "a9a9910eef34d8b28584e5ebf8d2426d" + "hash": "87a9cc79b7226be521d5d20fd5e6478b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Seven.php", @@ -26648,15 +26648,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php", - "hash": "34998afc94ac197e983ec923f86bfc84" + "hash": "fe00f124d0b03577835808f3c34eb6fd" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php", - "hash": "81b109e098e4985e1e65997c4e05b26f" + "hash": "89120109b1bc14b8060b0858ae50db7c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Eight.php", - "hash": "09a1392d402c7611e126132ee60570a2" + "hash": "2625e16d352263fdefc1eb05b50c3686" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Ten.php", @@ -26680,7 +26680,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Six.php", - "hash": "1d1004c6891a306223feef94d8607df3" + "hash": "6218526b67fc4d9a25a087637d40069a" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Eight.php", @@ -26708,7 +26708,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Six.php", - "hash": "d5607f5f916b91c6f46c9854641267be" + "hash": "e5aa282e5a2e28e298b739b408f36a5a" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Eight.php", @@ -29720,11 +29720,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "342235c3eee694b88a9f986ac3399954" + "hash": "e0f7efdc1036e58d1dc4032ffa803876" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "fc918b29e10a5863bbbdf89c23c3f54e" + "hash": "edb4496ea7df458e457598ba4eef5072" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -31816,7 +31816,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeatsForEnterprise\/Response\/ApplicationJson\/Ok.php", - "hash": "ccd74f78581d757b26e0fe3750b1296a" + "hash": "35d4b0e48251ed21d75e30d85376493a" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Copilot\/Billing\/Seats.php", @@ -32976,7 +32976,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetRouteStatsByActor.php", - "hash": "e2c4339e4915982743664ed2c53e93e4" + "hash": "c2d3217c506efbe639976a77d42399de" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActorTest.php", @@ -32988,7 +32988,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetRouteStatsByActorListing.php", - "hash": "0c2feda42e72055b19dbed58069222d9" + "hash": "48216cdb5a9cea79341a5cc6cafb6f45" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActorListingTest.php", @@ -33000,7 +33000,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSubjectStats.php", - "hash": "067431b4dfdc58c62197b0beb4df2411" + "hash": "1336dc278ac2094085a0e28ef99b2b96" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSubjectStatsTest.php", @@ -33012,7 +33012,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSubjectStatsListing.php", - "hash": "e0e39ae84b3996e89b43754aafe5d6d0" + "hash": "298f6d51e08cd0e5a40dbd8e353a60e7" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSubjectStatsListingTest.php", @@ -33096,7 +33096,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetUserStats.php", - "hash": "c161516da87efd00fc52591ee195b87a" + "hash": "b297506c94c974378f6444b56c914815" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetUserStatsTest.php", @@ -33108,7 +33108,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetUserStatsListing.php", - "hash": "cd278e7fdf9e1e4dc4b8d66ac028987b" + "hash": "e506dba5008f1396245241dc395e0de1" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetUserStatsListingTest.php", @@ -33136,15 +33136,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/ApiInsights.php", - "hash": "1d9b32488a3d55b34fb721b747618f16" + "hash": "15c0d37dad61acaf67101ecea87e8dea" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/ApiInsights.php", - "hash": "c433ddf12b3ef64c396dcab95608cee1" + "hash": "0442859c7e8f3194cc088bcd14fab6a2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/ApiInsights.php", - "hash": "214ed77baf707f723b848f79bb035f1b" + "hash": "4ab725bb5bf41e1fd4f1b2b7ac6570b2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Insights\/Api\/SummaryStats.php", @@ -33536,7 +33536,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/GetEnterpriseCustomProperties.php", - "hash": "f5de0b9f92f799ce12bbdc333b2b77df" + "hash": "e87dfaaf85eba8a4ec83782c7e6df57c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/GetEnterpriseCustomPropertiesTest.php", @@ -33548,7 +33548,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/CreateOrUpdateEnterpriseCustomProperties.php", - "hash": "9365f10de33bd458b096ed9aa84c2321" + "hash": "5da0dbbf973facbcfccb5d818d3ee54c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/CreateOrUpdateEnterpriseCustomPropertiesTest.php", @@ -33560,7 +33560,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/GetEnterpriseCustomProperty.php", - "hash": "538a2aaf9ec71c77aaad9a49516ea6d5" + "hash": "fae047b6e068310ba96da323449a9331" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/GetEnterpriseCustomPropertyTest.php", @@ -33572,7 +33572,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/CreateOrUpdateEnterpriseCustomProperty.php", - "hash": "d1793b6b8f7b235f369499d071f200b5" + "hash": "44831f3d41715774905f64c534e8804b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/CreateOrUpdateEnterpriseCustomPropertyTest.php", @@ -33584,7 +33584,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/RemoveEnterpriseCustomProperty.php", - "hash": "80185265ac1c2ba29f54cbae50423828" + "hash": "456304a4f0de3954470c858677fd876b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/RemoveEnterpriseCustomPropertyTest.php", diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php index 731cdf826f0..9c4b4e71a3c 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, string $apiRouteSubstring, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetRouteStatsByActor($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $apiRouteSubstring, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php index 100dbf343dc..73fc8195a57 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, string $apiRouteSubstring, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetRouteStatsByActorListing($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $apiRouteSubstring, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStats.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStats.php index 27d2993fec5..fe9e7485ccc 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStats.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStats.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, string $minTimestamp, string $maxTimestamp, array $sort, string $subjectNameSubstring, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetSubjectStats($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $sort, $subjectNameSubstring, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php index eba77a4ddc3..5d19caa38ec 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, string $minTimestamp, string $maxTimestamp, array $sort, string $subjectNameSubstring, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetSubjectStatsListing($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $sort, $subjectNameSubstring, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStats.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStats.php index f78845879fa..54b7df61fdc 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStats.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStats.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, string $actorNameSubstring, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetUserStats($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $sort, $actorNameSubstring, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStatsListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStatsListing.php index 07fb5ee3adb..a2efb5f79ae 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStatsListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStatsListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, string $actorNameSubstring, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetUserStatsListing($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $sort, $actorNameSubstring, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/CreateOrUpdateEnterpriseCustomProperties.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/CreateOrUpdateEnterpriseCustomProperties.php index c1122ba7b4b..56609d39c93 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/CreateOrUpdateEnterpriseCustomProperties.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/CreateOrUpdateEnterpriseCustomProperties.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $enterprise, array $params): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\CreateOrUpdateEnterpriseCustomProperties($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/CreateOrUpdateEnterpriseCustomProperty.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/CreateOrUpdateEnterpriseCustomProperty.php index 427710e7c9d..666a499ccb9 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/CreateOrUpdateEnterpriseCustomProperty.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/CreateOrUpdateEnterpriseCustomProperty.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $enterprise, string $customPropertyName): CustomProperty { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\CreateOrUpdateEnterpriseCustomProperty($this->responseSchemaValidator, $this->hydrator, $enterprise, $customPropertyName); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseCustomProperties.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseCustomProperties.php index 1d8607ed272..f403f5cea08 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseCustomProperties.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseCustomProperties.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $enterprise): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\GetEnterpriseCustomProperties($this->responseSchemaValidator, $this->hydrator, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseCustomProperty.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseCustomProperty.php index 982d1017bad..b831237bbeb 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseCustomProperty.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseCustomProperty.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $enterprise, string $customPropertyName): CustomProperty { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\GetEnterpriseCustomProperty($this->responseSchemaValidator, $this->hydrator, $enterprise, $customPropertyName); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/RemoveEnterpriseCustomProperty.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/RemoveEnterpriseCustomProperty.php index bd87be6b144..b1734692eab 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/RemoveEnterpriseCustomProperty.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/RemoveEnterpriseCustomProperty.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $enterprise, string $customPropertyName): WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\RemoveEnterpriseCustomProperty($this->responseSchemaValidator, $this->hydrator, $enterprise, $customPropertyName); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/EnterpriseAdmin.php index e5dc58abc1f..8b7911c7c6e 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/EnterpriseAdmin.php @@ -168,6 +168,7 @@ public function deleteAuditLogStream(array $params): WithoutBody return $operator->call($arguments['enterprise'], $arguments['stream_id']); } + /** @return */ public function removeEnterpriseCustomProperty(array $params): WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Six.php index d9710782b2e..221ad804e41 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Six.php @@ -17,7 +17,6 @@ public function __construct(private Routers $routers) { } - /** @return |\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */ public function call(string $call, array $params, array $pathChunks): WithoutBody|Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok|ActionsCacheList|FileCommit { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/ApiInsights.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/ApiInsights.php index dab8a0347f8..dd42d09c685 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/ApiInsights.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/ApiInsights.php @@ -20,7 +20,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri { } - /** @return iterable */ + /** @return Observable */ public function getSubjectStats(array $params): iterable { $arguments = []; @@ -137,7 +137,7 @@ public function getTimeStats(array $params): iterable return $operator->call($arguments['org'], $arguments['min_timestamp'], $arguments['max_timestamp'], $arguments['timestamp_increment']); } - /** @return iterable */ + /** @return Observable */ public function getUserStats(array $params): iterable { $arguments = []; @@ -200,7 +200,7 @@ public function getUserStats(array $params): iterable return $operator->call($arguments['org'], $arguments['user_id'], $arguments['min_timestamp'], $arguments['max_timestamp'], $arguments['sort'], $arguments['actor_name_substring'], $arguments['page'], $arguments['per_page'], $arguments['direction']); } - /** @return iterable */ + /** @return Observable */ public function getRouteStatsByActor(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php index a7e1ef6d4dc..34672c75023 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php @@ -36,7 +36,7 @@ public function __construct(private Routers $routers) { } - /** @return iterable||Observable|Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody */ + /** @return Observable||Observable|Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody */ public function call(string $call, array $params, array $pathChunks): iterable|ApiInsightsSummaryStats|PackageVersion|TeamRepository|WithoutBody|OidcCustomSubRepo|Ok|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|WorkflowRunUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|WorkflowUsage|ProtectedBranchAdminEnforced|ProtectedBranchPullRequestReview|StatusCheckPolicy|BranchRestrictionPolicy|CodeScanningCodeqlDatabase|CodeScanningVariantAnalysis|DeploymentStatus|DeploymentBranchPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\Response\ApplicationJson\Ok|DeploymentProtectionRule|ActionsPublicKey|ActionsSecret|ActionsVariable|HookDelivery|PullRequestReview { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php index 0734e3bae70..6f244a975bd 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 getEnterpriseCustomProperties(array $params): iterable { $arguments = []; @@ -405,6 +405,7 @@ public function getOneAuditLogStream(array $params): GetAuditLogStreamConfig return $operator->call($arguments['enterprise'], $arguments['stream_id']); } + /** @return */ public function getEnterpriseCustomProperty(array $params): CustomProperty { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php index dcd52a9d935..bebf8995e3c 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php @@ -56,7 +56,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|Observable|Observable|WithoutBody|iterable|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return |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 */ public function call(string $call, array $params, array $pathChunks): HookDelivery|ActionsEnterprisePermissions|Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|AuditLogStreamKey|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|CodeSecurityConfigurationForRepository|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/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php index dc974dbf2ac..7127fd0f0aa 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php @@ -67,7 +67,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\ConvertedNoteToIssueIssueEvent|Schema\TimelineCommentEvent|Schema\TimelineCrossReferencedEvent|Schema\TimelineCommittedEvent|Schema\TimelineReviewedEvent|Schema\TimelineLineCommentedEvent|Schema\TimelineCommitCommentedEvent|Schema\TimelineAssignedIssueEvent|Schema\TimelineUnassignedIssueEvent|Schema\StateChangeIssueEvent>|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\ConvertedNoteToIssueIssueEvent|Schema\TimelineCommentEvent|Schema\TimelineCrossReferencedEvent|Schema\TimelineCommittedEvent|Schema\TimelineReviewedEvent|Schema\TimelineLineCommentedEvent|Schema\TimelineCommitCommentedEvent|Schema\TimelineAssignedIssueEvent|Schema\TimelineUnassignedIssueEvent|Schema\StateChangeIssueEvent>|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): Json|Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListLabelsForSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok|iterable|OidcCustomSub|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoAccessToSelfHostedRunnerGroupInOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersInGroupForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|HookDelivery|TeamDiscussion|TeamMembership|TeamProject|GroupMapping|Artifact|ActionsCacheUsageByRepository|Job|ActionsWorkflowAccessToRepository|SelectedActions|ActionsGetDefaultWorkflowPermissions|Runner|WorkflowRun|ActionsPublicKey|ActionsSecret|ActionsVariable|Workflow|BranchProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|CodeScanningAlert|CodeScanningAnalysis|CodeScanningSarifsStatus|CodespacesPublicKey|RepoCodespacesSecret|RepositoryCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|CombinedCommitStatus|BasicError|DependabotAlert|DependabotPublicKey|DependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListEnvironmentSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListEnvironmentVariables\Response\ApplicationJson\Ok\Application\Json|Blob|GitCommit|GitRef|GitTag|GitTree|WebhookConfig|IssueComment|IssueEvent|PageBuild|PagesDeploymentStatus|PullRequestReviewComment|PullRequestReviewRequest|ReleaseAsset|Release|RuleSuite|SecretScanningAlert|GroupResponse|UserResponse|ScimUser|TeamDiscussionComment|PackageVersion { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php index 23cf0c04e48..50d2f6ca192 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php @@ -86,7 +86,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Schema\CustomProperty|Observable|Observable|WithoutBody|Observable|iterable|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|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 */ public function call(string $call, array $params, array $pathChunks): ActionsCacheUsageOrgEnterprise|Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|RunnerGroupsEnterprise|iterable|Runner|GetAuditLogStreamConfig|\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|RunnerGroupsOrg|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|WithoutBody|CodeSecurityConfiguration|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|ApiInsightsSummaryStats|Json|CopilotSeatDetails|Package|RuleSuite|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/ApiInsights.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/ApiInsights.php index 66b66fe9d67..7f39a49d8c3 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/ApiInsights.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/ApiInsights.php @@ -20,7 +20,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri { } - /** @return iterable */ + /** @return Observable */ public function getUserStatsListing(array $params): iterable { $arguments = []; @@ -89,7 +89,7 @@ public function getUserStatsListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function getSubjectStatsListing(array $params): iterable { $arguments = []; @@ -152,7 +152,7 @@ public function getSubjectStatsListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function getRouteStatsByActorListing(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Eight.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Eight.php index a6fb0352968..fad5f8f6d99 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Eight.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Eight.php @@ -15,7 +15,7 @@ public function __construct(private Routers $routers) { } - /** @return iterable|Observable|Observable|Observable|Observable|WithoutBody */ + /** @return Observable|Observable|Observable|Observable|Observable|WithoutBody */ public function call(string $call, array $params, array $pathChunks): iterable|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php index 17041c498d8..b0e702c2355 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php @@ -14,7 +14,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Schema\ConvertedNoteToIssueIssueEvent|Schema\TimelineCommentEvent|Schema\TimelineCrossReferencedEvent|Schema\TimelineCommittedEvent|Schema\TimelineReviewedEvent|Schema\TimelineLineCommentedEvent|Schema\TimelineCommitCommentedEvent|Schema\TimelineAssignedIssueEvent|Schema\TimelineUnassignedIssueEvent|Schema\StateChangeIssueEvent>|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Schema\ConvertedNoteToIssueIssueEvent|Schema\TimelineCommentEvent|Schema\TimelineCrossReferencedEvent|Schema\TimelineCommittedEvent|Schema\TimelineReviewedEvent|Schema\TimelineLineCommentedEvent|Schema\TimelineCommitCommentedEvent|Schema\TimelineAssignedIssueEvent|Schema\TimelineUnassignedIssueEvent|Schema\StateChangeIssueEvent>|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): iterable|BasicError { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php index c2ba86024a1..be9aeeda656 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php @@ -15,7 +15,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|iterable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): iterable|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/EnterpriseAdmin.php index db977ccd0c4..868f54755a9 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/EnterpriseAdmin.php @@ -44,7 +44,7 @@ public function updateSelfHostedRunnerGroupForEnterprise(array $params): RunnerG return $operator->call($arguments['enterprise'], $arguments['runner_group_id'], $params); } - /** @return iterable */ + /** @return Observable */ public function createOrUpdateEnterpriseCustomProperties(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Five.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Five.php index 1c955b8cb81..fa840c0e447 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Five.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Five.php @@ -24,7 +24,7 @@ public function __construct(private Routers $routers) { } - /** @return iterable||Observable */ + /** @return Observable| */ public function call(string $call, array $params, array $pathChunks): iterable|GistComment|OrganizationCustomRepositoryRole|OrgHook|OrganizationRole|WithoutBody|TeamFull|ProjectCard|Import|TeamDiscussion|GroupMapping|OrgMembership { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/EnterpriseAdmin.php index 7082d13d346..b39f0f9ab24 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/EnterpriseAdmin.php @@ -216,6 +216,7 @@ public function updateAuditLogStream(array $params): GetAuditLogStreamConfig return $operator->call($arguments['enterprise'], $arguments['stream_id'], $params); } + /** @return */ public function createOrUpdateEnterpriseCustomProperty(array $params): CustomProperty { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Six.php index c433cf64ec3..666abb9ee1e 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Six.php @@ -21,7 +21,6 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\CustomProperty */ public function call(string $call, array $params, array $pathChunks): WithoutBody|GetAuditLogStreamConfig|CustomProperty|EmptyObject|RepositoryInvitation|FileCommit|Environment|RepositoryRuleset { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Operation/ApiInsights.php b/clients/GitHubEnterpriseCloud/src/Operation/ApiInsights.php index 5eeda4e844b..b24287d48dc 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/ApiInsights.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/ApiInsights.php @@ -14,25 +14,25 @@ public function __construct(private Internal\Operators $operators) { } - /** @return iterable */ + /** @return Observable */ public function getRouteStatsByActor(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, string $apiRouteSubstring, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetRouteStatsByActor()->call($org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $apiRouteSubstring, $page, $perPage, $direction); } - /** @return iterable */ + /** @return Observable */ public function getRouteStatsByActorListing(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, string $apiRouteSubstring, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetRouteStatsByActorListing()->call($org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $apiRouteSubstring, $page, $perPage, $direction); } - /** @return iterable */ + /** @return Observable */ public function getSubjectStats(string $org, string $minTimestamp, string $maxTimestamp, array $sort, string $subjectNameSubstring, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetSubjectStats()->call($org, $minTimestamp, $maxTimestamp, $sort, $subjectNameSubstring, $page, $perPage, $direction); } - /** @return iterable */ + /** @return Observable */ public function getSubjectStatsListing(string $org, string $minTimestamp, string $maxTimestamp, array $sort, string $subjectNameSubstring, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetSubjectStatsListing()->call($org, $minTimestamp, $maxTimestamp, $sort, $subjectNameSubstring, $page, $perPage, $direction); @@ -74,13 +74,13 @@ public function getTimeStatsByActor(string $org, string $actorType, int $actorId return $this->operators->apiInsights👷GetTimeStatsByActor()->call($org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $timestampIncrement); } - /** @return iterable */ + /** @return Observable */ public function getUserStats(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, string $actorNameSubstring, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetUserStats()->call($org, $userId, $minTimestamp, $maxTimestamp, $sort, $actorNameSubstring, $page, $perPage, $direction); } - /** @return iterable */ + /** @return Observable */ public function getUserStatsListing(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, string $actorNameSubstring, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetUserStatsListing()->call($org, $userId, $minTimestamp, $maxTimestamp, $sort, $actorNameSubstring, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php index e42a715c9bc..8764b286d60 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php @@ -286,28 +286,31 @@ public function getLicenseSyncStatus(string $enterprise): string return $this->operators->enterpriseAdmin👷GetLicenseSyncStatus()->call($enterprise); } - /** @return iterable */ + /** @return Observable */ public function getEnterpriseCustomProperties(string $enterprise): iterable { return $this->operators->enterpriseAdmin👷GetEnterpriseCustomProperties()->call($enterprise); } - /** @return iterable */ + /** @return Observable */ public function createOrUpdateEnterpriseCustomProperties(string $enterprise, array $params): iterable { return $this->operators->enterpriseAdmin👷CreateOrUpdateEnterpriseCustomProperties()->call($enterprise, $params); } + /** @return */ public function getEnterpriseCustomProperty(string $enterprise, string $customPropertyName): CustomProperty { return $this->operators->enterpriseAdmin👷GetEnterpriseCustomProperty()->call($enterprise, $customPropertyName); } + /** @return */ public function createOrUpdateEnterpriseCustomProperty(string $enterprise, string $customPropertyName): CustomProperty { return $this->operators->enterpriseAdmin👷CreateOrUpdateEnterpriseCustomProperty()->call($enterprise, $customPropertyName); } + /** @return */ public function removeEnterpriseCustomProperty(string $enterprise, string $customPropertyName): WithoutBody { return $this->operators->enterpriseAdmin👷RemoveEnterpriseCustomProperty()->call($enterprise, $customPropertyName); diff --git a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php index f0c6edfc8cb..a3a1d2d86b4 100644 --- a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php @@ -436,23 +436,23 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /enterprises/{enterprise}/properties/schema') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'PATCH /enterprises/{enterprise}/properties/schema') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /enterprises/{enterprise}/properties/schema/{custom_property_name}') { - return $this->typeResolver->resolve('Schema\\CustomProperty'); + return $this->typeResolver->resolve(''); } if ($call === 'PUT /enterprises/{enterprise}/properties/schema/{custom_property_name}') { - return $this->typeResolver->resolve('Schema\\CustomProperty'); + return $this->typeResolver->resolve(''); } if ($call === 'DELETE /enterprises/{enterprise}/properties/schema/{custom_property_name}') { - return $this->typeResolver->resolve('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /enterprises/{enterprise}/secret-scanning/alerts') { @@ -1360,19 +1360,19 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /orgs/{org}/insights/api/subject-stats') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /orgs/{org}/insights/api/subject-stats') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /orgs/{org}/insights/api/summary-stats') { @@ -1400,11 +1400,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/insights/api/user-stats/{user_id}') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /orgs/{org}/insights/api/user-stats/{user_id}') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /orgs/{org}/installation') { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotSeatDetails.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotSeatDetails.php index 904ca35bc16..c5618c61730 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotSeatDetails.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotSeatDetails.php @@ -606,8 +606,9 @@ }, "updated_at": { "type": "string", - "description": "Timestamp of when the assignee\'s GitHub Copilot access was last updated, in ISO 8601 format.", - "format": "date-time" + "description": "**Closing down notice:** This field is no longer relevant and is closing down. Use the `created_at` field to determine when the assignee was last granted access to GitHub Copilot. Timestamp of when the assignee\'s GitHub Copilot access was last updated, in ISO 8601 format.", + "format": "date-time", + "deprecated": true }, "plan_type": { "enum": [ @@ -679,7 +680,7 @@ * lastActivityAt: Timestamp of user's last GitHub Copilot activity, in ISO 8601 format. * lastActivityEditor: Last editor that was used by the user for a GitHub Copilot completion. * createdAt: Timestamp of when the assignee was last granted access to GitHub Copilot, in ISO 8601 format. - * updatedAt: Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. + * updatedAt: **Closing down notice:** This field is no longer relevant and is closing down. Use the `created_at` field to determine when the assignee was last granted access to GitHub Copilot. Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. * planType: The Copilot plan of the organization, or the parent enterprise, when applicable. */ public function __construct(public Schema\SimpleUser $assignee, public Schema\OrganizationSimple|null $organization, #[MapFrom('assigning_team')] diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Operations/Copilot/ListCopilotSeats/Response/ApplicationJson/Ok.php b/clients/GitHubEnterpriseCloud/src/Schema/Operations/Copilot/ListCopilotSeats/Response/ApplicationJson/Ok.php index 582378a2e7e..32b9097c506 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Operations/Copilot/ListCopilotSeats/Response/ApplicationJson/Ok.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Operations/Copilot/ListCopilotSeats/Response/ApplicationJson/Ok.php @@ -613,8 +613,9 @@ }, "updated_at": { "type": "string", - "description": "Timestamp of when the assignee\'s GitHub Copilot access was last updated, in ISO 8601 format.", - "format": "date-time" + "description": "**Closing down notice:** This field is no longer relevant and is closing down. Use the `created_at` field to determine when the assignee was last granted access to GitHub Copilot. Timestamp of when the assignee\'s GitHub Copilot access was last updated, in ISO 8601 format.", + "format": "date-time", + "deprecated": true }, "plan_type": { "enum": [ diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Operations/Copilot/ListCopilotSeatsForEnterprise/Response/ApplicationJson/Ok.php b/clients/GitHubEnterpriseCloud/src/Schema/Operations/Copilot/ListCopilotSeatsForEnterprise/Response/ApplicationJson/Ok.php index 5fdc627bf55..46efa21a5a8 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Operations/Copilot/ListCopilotSeatsForEnterprise/Response/ApplicationJson/Ok.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Operations/Copilot/ListCopilotSeatsForEnterprise/Response/ApplicationJson/Ok.php @@ -613,8 +613,9 @@ }, "updated_at": { "type": "string", - "description": "Timestamp of when the assignee\'s GitHub Copilot access was last updated, in ISO 8601 format.", - "format": "date-time" + "description": "**Closing down notice:** This field is no longer relevant and is closing down. Use the `created_at` field to determine when the assignee was last granted access to GitHub Copilot. Timestamp of when the assignee\'s GitHub Copilot access was last updated, in ISO 8601 format.", + "format": "date-time", + "deprecated": true }, "plan_type": { "enum": [ diff --git a/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php index 283aebdb24b..7f0ac14bb4b 100644 --- a/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php @@ -115,11 +115,11 @@ function authHeader(): string assertType('Observable', $client->call('LIST /enterprises/{enterprise}/copilot/usage')); assertType('Observable|WithoutBody', $client->call('GET /enterprises/{enterprise}/dependabot/alerts')); assertType('', $client->call('GET /enterprises/{enterprise}/license-sync-status')); -assertType('iterable', $client->call('GET /enterprises/{enterprise}/properties/schema')); -assertType('iterable', $client->call('PATCH /enterprises/{enterprise}/properties/schema')); -assertType('Schema\\CustomProperty', $client->call('GET /enterprises/{enterprise}/properties/schema/{custom_property_name}')); -assertType('Schema\\CustomProperty', $client->call('PUT /enterprises/{enterprise}/properties/schema/{custom_property_name}')); -assertType('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('DELETE /enterprises/{enterprise}/properties/schema/{custom_property_name}')); +assertType('Observable', $client->call('GET /enterprises/{enterprise}/properties/schema')); +assertType('Observable', $client->call('PATCH /enterprises/{enterprise}/properties/schema')); +assertType('', $client->call('GET /enterprises/{enterprise}/properties/schema/{custom_property_name}')); +assertType('', $client->call('PUT /enterprises/{enterprise}/properties/schema/{custom_property_name}')); +assertType('', $client->call('DELETE /enterprises/{enterprise}/properties/schema/{custom_property_name}')); assertType('Observable', $client->call('GET /enterprises/{enterprise}/secret-scanning/alerts')); assertType('', $client->call('GET /enterprises/{enterprise}/settings/billing/actions')); assertType('', $client->call('GET /enterprises/{enterprise}/settings/billing/advanced-security')); @@ -346,18 +346,18 @@ function authHeader(): string assertType('', $client->call('GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}')); assertType('', $client->call('POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts')); assertType('', $client->call('POST /orgs/{org}/hooks/{hook_id}/pings')); -assertType('iterable', $client->call('GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}')); -assertType('iterable', $client->call('LIST /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}')); -assertType('iterable', $client->call('GET /orgs/{org}/insights/api/subject-stats')); -assertType('iterable', $client->call('LIST /orgs/{org}/insights/api/subject-stats')); +assertType('Observable', $client->call('GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}')); +assertType('Observable', $client->call('LIST /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}')); +assertType('Observable', $client->call('GET /orgs/{org}/insights/api/subject-stats')); +assertType('Observable', $client->call('LIST /orgs/{org}/insights/api/subject-stats')); assertType('', $client->call('GET /orgs/{org}/insights/api/summary-stats')); assertType('', $client->call('GET /orgs/{org}/insights/api/summary-stats/users/{user_id}')); assertType('', $client->call('GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}')); assertType('Observable', $client->call('GET /orgs/{org}/insights/api/time-stats')); assertType('Observable', $client->call('GET /orgs/{org}/insights/api/time-stats/users/{user_id}')); assertType('Observable', $client->call('GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}')); -assertType('iterable', $client->call('GET /orgs/{org}/insights/api/user-stats/{user_id}')); -assertType('iterable', $client->call('LIST /orgs/{org}/insights/api/user-stats/{user_id}')); +assertType('Observable', $client->call('GET /orgs/{org}/insights/api/user-stats/{user_id}')); +assertType('Observable', $client->call('LIST /orgs/{org}/insights/api/user-stats/{user_id}')); assertType('', $client->call('GET /orgs/{org}/installation')); assertType('', $client->call('GET /orgs/{org}/installations')); assertType('', $client->call('GET /orgs/{org}/interaction-limits')); diff --git a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml index 510cdb8fdf7..7c453e13838 100644 --- a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml +++ b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml @@ -77000,8 +77000,11 @@ components: updated_at: type: string format: date-time - description: Timestamp of when the assignee's GitHub Copilot access was - last updated, in ISO 8601 format. + deprecated: true + description: "**Closing down notice:** This field is no longer relevant + and is closing down. Use the `created_at` field to determine when the + assignee was last granted access to GitHub Copilot. Timestamp of when + the assignee's GitHub Copilot access was last updated, in ISO 8601 format." plan_type: type: string description: The Copilot plan of the organization, or the parent enterprise, @@ -236430,11 +236433,11 @@ components: schema: type: string enum: - - installations - - classic_pats - - fine_grained_pats - - oauth_apps - - github_apps_user_to_server + - installation + - classic_pat + - fine_grained_pat + - oauth_app + - github_app_user_to_server api-insights-actor-id: name: actor_id in: path