From af65c69cf38be2f2216dbfa8a703fd103a134ce1 Mon Sep 17 00:00:00 2001 From: WyriHaximus <147145+WyriHaximus@users.noreply.github.com> Date: Thu, 14 Mar 2024 17:54:16 +0000 Subject: [PATCH] =?UTF-8?q?[GitHubEnterpriseCloud]=20Update=20to=201.1.4-5?= =?UTF-8?q?454c84db7f0d9465e015f639fd1bbf7=20from=201.1.4-e94471971bfa2899?= =?UTF-8?q?2c6936318620b852=20Detected=20Schema=20changes:=20=0D=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=0Dstarting=20work.?= =?UTF-8?q?=20=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=0DBui?= =?UTF-8?q?lding=20original=20model=20for=20commit=20f168fe=202024-03-14?= =?UTF-8?q?=2017:24:22=20ERROR=20unable=20to=20open=20the=20rolodex=20file?= =?UTF-8?q?,=20check=20specification=20references=20and=20base=20path=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=E2=94=9C=20file:=20/=5F=5Fw/github-root/github-root/server-?= =?UTF-8?q?statistics-actions.yaml=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=E2=94=94=20error:=20open=20/=5F?= =?UTF-8?q?=5Fw/github-root/github-root/server-statistics-actions.yaml:=20?= =?UTF-8?q?no=20such=20file=20or=20directory=202024-03-14=2017:24:22=20ERR?= =?UTF-8?q?OR=20unable=20to=20open=20the=20rolodex=20file,=20check=20speci?= =?UTF-8?q?fication=20references=20and=20base=20path=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=E2=94=9C=20fil?= =?UTF-8?q?e:=20/=5F=5Fw/github-root/github-root/server-statistics-package?= =?UTF-8?q?s.yaml=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=E2=94=94=20error:=20open=20/=5F=5Fw/github-root/gi?= =?UTF-8?q?thub-root/server-statistics-packages.yaml:=20no=20such=20file?= =?UTF-8?q?=20or=20directory=202024-03-14=2017:24:25=20ERROR=20unable=20to?= =?UTF-8?q?=20open=20the=20rolodex=20file,=20check=20specification=20refer?= =?UTF-8?q?ences=20and=20base=20path=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=E2=94=9C=20file:=20/=5F=5Fw/g?= =?UTF-8?q?ithub-root/github-root/server-statistics-actions.yaml=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=E2=94=94=20error:=20open=20/=5F=5Fw/github-root/github-root/se?= =?UTF-8?q?rver-statistics-actions.yaml:=20no=20such=20file=20or=20directo?= =?UTF-8?q?ry=202024-03-14=2017:24:25=20ERROR=20unable=20to=20open=20the?= =?UTF-8?q?=20rolodex=20file,=20check=20specification=20references=20and?= =?UTF-8?q?=20base=20path=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=E2=94=9C=20file:=20/=5F=5Fw/github-root/g?= =?UTF-8?q?ithub-root/server-statistics-packages.yaml=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=E2=94=94=20err?= =?UTF-8?q?or:=20open=20/=5F=5Fw/github-root/github-root/server-statistics?= =?UTF-8?q?-packages.yaml:=20no=20such=20file=20or=20directory=20=0D=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=0DSPEC:=20extract?= =?UTF-8?q?ed=201=20commits=20from=20history?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DONE: completed WARNING: warnings reported during processing ⚠️ Error thrown when comparing: component 'server-statistics-actions.yaml' does not exist in the specification --- .../etc/openapi-client-generator.state | 112 +++++++++--------- .../Copilot/GetCopilotOrganizationDetails.php | 1 + .../DeleteScimGroupFromEnterprise.php | 1 + .../DeleteUserFromEnterprise.php | 1 + ...visioningInformationForEnterpriseGroup.php | 1 + ...ovisioningInformationForEnterpriseUser.php | 1 + .../ListProvisionedGroupsEnterprise.php | 1 + .../ListProvisionedIdentitiesEnterprise.php | 1 + .../ProvisionEnterpriseGroup.php | 1 + .../ProvisionEnterpriseUser.php | 1 + ...formationForProvisionedEnterpriseGroup.php | 1 + ...nformationForProvisionedEnterpriseUser.php | 1 + .../UpdateAttributeForEnterpriseGroup.php | 1 + .../UpdateAttributeForEnterpriseUser.php | 1 + .../Internal/Operator/Git/CreateCommit.php | 1 + .../src/Internal/Operator/Git/CreateRef.php | 1 + .../src/Internal/Operator/Git/CreateTag.php | 1 + .../src/Internal/Operator/Git/CreateTree.php | 1 + .../src/Internal/Operator/Git/DeleteRef.php | 1 + .../src/Internal/Operator/Git/GetBlob.php | 1 + .../src/Internal/Operator/Git/GetCommit.php | 1 + .../src/Internal/Operator/Git/GetRef.php | 1 + .../src/Internal/Operator/Git/GetTag.php | 1 + .../src/Internal/Operator/Git/GetTree.php | 1 + .../Operator/Git/ListMatchingRefs.php | 2 +- .../src/Internal/Operator/Git/UpdateRef.php | 1 + .../src/Internal/Operator/Repos/GetCommit.php | 1 + .../Repos/ListBranchesForHeadCommit.php | 2 +- .../ListPullRequestsAssociatedWithCommit.php | 2 +- ...ullRequestsAssociatedWithCommitListing.php | 2 +- .../Router/Delete/EnterpriseAdmin.php | 2 + .../src/Internal/Router/Delete/Git.php | 1 + .../src/Internal/Router/Delete/Seven.php | 1 - .../src/Internal/Router/Get/Copilot.php | 1 + .../Internal/Router/Get/EnterpriseAdmin.php | 4 + .../src/Internal/Router/Get/Five.php | 2 +- .../src/Internal/Router/Get/Git.php | 7 +- .../src/Internal/Router/Get/Repos.php | 5 +- .../src/Internal/Router/Get/Seven.php | 2 +- .../src/Internal/Router/Get/Six.php | 2 +- .../src/Internal/Router/List/Repos.php | 2 +- .../src/Internal/Router/List/Seven.php | 2 +- .../Internal/Router/Patch/EnterpriseAdmin.php | 2 + .../src/Internal/Router/Patch/Git.php | 1 + .../src/Internal/Router/Patch/Seven.php | 1 - .../Internal/Router/Post/EnterpriseAdmin.php | 2 + .../src/Internal/Router/Post/Git.php | 4 + .../src/Internal/Router/Post/Six.php | 1 - .../Internal/Router/Put/EnterpriseAdmin.php | 2 + .../src/Internal/Router/Put/Seven.php | 2 +- .../src/Operation/Copilot.php | 1 + .../src/Operation/EnterpriseAdmin.php | 12 ++ .../src/Operation/Git.php | 13 +- .../src/Operation/Repos.php | 7 +- .../src/PHPStan/ClientCallReturnTypes.php | 58 ++++----- .../tests/Types/ClientCallReturnTypes.php | 58 ++++----- .../GitHubEnterpriseCloud/current.spec.yaml | 11 +- 57 files changed, 210 insertions(+), 141 deletions(-) diff --git a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state index e9d90419422..8713acedd0d 100644 --- a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state +++ b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "e94471971bfa28992c6936318620b852", + "specHash": "5454c84db7f0d9465e015f639fd1bbf7", "generatedFiles": { "files": [ { @@ -6084,7 +6084,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php", - "hash": "5cfecd0fcc937ebe94f8c0bdae0f3f44" + "hash": "b7682423e9568b80047e7a53fd637a03" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Actions.php", @@ -6168,7 +6168,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php", - "hash": "2b1a12be81fdb1591f36ba7e90efb82a" + "hash": "4e6b7824d449a7608a27845b187bd341" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php", @@ -6188,7 +6188,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Git.php", - "hash": "9bb48bcf60ee1d60111cab9c1925f7c0" + "hash": "b90f00bc08bc869756b6fef350c81585" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Pulls.php", @@ -14004,7 +14004,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Copilot.php", - "hash": "488e87f528f543cae5f44c15011b0a86" + "hash": "ff28c7b8b950a07cadd49abe1af64065" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php", @@ -17072,7 +17072,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/GetCopilotOrganizationDetails.php", - "hash": "44ba53826cf6dc31be30972aabac8ed1" + "hash": "7ac261e23bc75e645960a6306bfb8271" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/GetCopilotOrganizationDetailsTest.php", @@ -21536,7 +21536,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListBranchesForHeadCommit.php", - "hash": "a16303634792f53f337bf0e33da1cb2f" + "hash": "c2213f61a7143500f3b357f0a3f6970c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListBranchesForHeadCommitTest.php", @@ -21584,7 +21584,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListPullRequestsAssociatedWithCommit.php", - "hash": "8e6d83f065ea69ad2352dd782ee002e5" + "hash": "59e6c815f2a5bcc988fec233d37d9f45" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListPullRequestsAssociatedWithCommitTest.php", @@ -21596,7 +21596,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListPullRequestsAssociatedWithCommitListing.php", - "hash": "00fb6244af1447ba27b9e15d350f9959" + "hash": "5718009697f98a72b764bdaebd0dc149" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListPullRequestsAssociatedWithCommitListingTest.php", @@ -21608,7 +21608,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetCommit.php", - "hash": "0fbfd9cc0a52116c6cf31c8be21363b3" + "hash": "0223db1eecef5792aef78e1c0dcb5f64" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetCommitTest.php", @@ -22252,7 +22252,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/GetBlob.php", - "hash": "af6ef67ba7b60da01639887bb4ba8a5f" + "hash": "674d3d291ffd39dbe635a570fa501d49" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/GetBlobTest.php", @@ -22264,7 +22264,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/CreateCommit.php", - "hash": "b1f02ab6dc5193556214bd85b866265c" + "hash": "e0e4c5c5a0603c452d12e767c5318a73" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/CreateCommitTest.php", @@ -22276,7 +22276,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/GetCommit.php", - "hash": "ca1d3288dae0313acdf76c3237ab22f8" + "hash": "76aa6946f2df3567b11b95a2956aa0e0" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/GetCommitTest.php", @@ -22288,7 +22288,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/ListMatchingRefs.php", - "hash": "96c9ee97dc9e6c6d72f73c3cfb6e4083" + "hash": "e01dc6435ac595bedc5f722ac8642541" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/ListMatchingRefsTest.php", @@ -22300,7 +22300,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/GetRef.php", - "hash": "d50a7a99a85706ed2f5782f20b54204a" + "hash": "932bb5c07d5b3e691e0c13c328e8e0af" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/GetRefTest.php", @@ -22312,7 +22312,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/CreateRef.php", - "hash": "325447b12c27b4eea43d6f628603c0aa" + "hash": "987af95f8816005c47bc24300e7de1e8" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/CreateRefTest.php", @@ -22324,7 +22324,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/DeleteRef.php", - "hash": "fdcfa7e13f59a4427c9305841a3f4db7" + "hash": "f624119ca02ae3eddd61f102210afd96" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/DeleteRefTest.php", @@ -22336,7 +22336,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/UpdateRef.php", - "hash": "a4d4b2ec2550b4383bc5bad0d061bd02" + "hash": "af7ec138d1002437a1c919d590336207" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/UpdateRefTest.php", @@ -22348,7 +22348,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/CreateTag.php", - "hash": "f462b5a5845674034ef7cdfbd6976196" + "hash": "a324cb55441b2d5b09ec93018c88e6c3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/CreateTagTest.php", @@ -22360,7 +22360,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/GetTag.php", - "hash": "412e777cae216d2fe60ff4da57a032e9" + "hash": "5669428cafdd8541560936f12e549d6e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/GetTagTest.php", @@ -22372,7 +22372,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/CreateTree.php", - "hash": "c78f3c7b0ffa3613fa306d7425ef2619" + "hash": "3a8ff5ac592273c1bde81672860d51be" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/CreateTreeTest.php", @@ -22384,7 +22384,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Git\/GetTree.php", - "hash": "af53cfd5840282f65f212ea56ce10d5c" + "hash": "0f5cd3ac986f477ac0a43a8cde726bed" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Git\/GetTreeTest.php", @@ -27988,7 +27988,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php", - "hash": "58e633bde1a0aa3f73633550629a7fac" + "hash": "16f2552689e255719c1cf72b68f9725d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php", @@ -28028,7 +28028,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php", - "hash": "5467b4f40ccb87f8bdcfc877f54d8528" + "hash": "eb30b349e2062786b85ab396d75eab81" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/AnnouncementBanners.php", @@ -28052,7 +28052,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Copilot.php", - "hash": "2c504b83e057bbb9f31628554f2e2edc" + "hash": "ac8df6c70fb93ca552a9477c3873f30f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Pulls.php", @@ -28084,7 +28084,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Git.php", - "hash": "c1836b6c6013ccb40eb36d6ec7c246a0" + "hash": "9f0c69481fe97587544a1adc90774ab3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Apps.php", @@ -28120,7 +28120,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/EnterpriseAdmin.php", - "hash": "f8cb2d57ef84ce1cdb95dc1b013343f6" + "hash": "e791d42567a8995b27bd2937736dacf2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Codespaces.php", @@ -28140,7 +28140,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Git.php", - "hash": "8337704beaeea3f3d9adc9b41cc2a09c" + "hash": "6b9cbe4ab1a2f0098335bfd6920f2dcd" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/SecurityAdvisories.php", @@ -28216,7 +28216,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/EnterpriseAdmin.php", - "hash": "aad2c9b56bb76c46d3b4b6b778c9ab82" + "hash": "113b9992278d05e4e5eb8612152ac2b3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Actions.php", @@ -28264,7 +28264,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Git.php", - "hash": "eef565287fe024eca0c0905d4188db33" + "hash": "1585fe244ad15d8b317cbfa5bf21fe09" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Scim.php", @@ -28300,7 +28300,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Repos.php", - "hash": "9286fdf2d2762b4858caf1ac86c9b8a7" + "hash": "dc66f915aea8fb4d1bf222b2061a9802" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Activity.php", @@ -28400,7 +28400,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/EnterpriseAdmin.php", - "hash": "b1a4d6189642eb520c212175d9e3b8ed" + "hash": "cfabac8de7e808dbcb89d6816d425883" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Actions.php", @@ -28416,7 +28416,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Git.php", - "hash": "0f5ad197191514b2d0bb24745212158e" + "hash": "05ba7ca50b093ee53062180af560d8fd" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Issues.php", @@ -28444,7 +28444,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/EnterpriseAdmin.php", - "hash": "1a8ec90de821673e126aa12f647da97c" + "hash": "400ed5b4e05d87af6b20e1477dbee9e4" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Activity.php", @@ -28540,15 +28540,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", - "hash": "f85728866ad2ed51233c2c9cc6bd9230" + "hash": "50761a8941cdfcdcd63588f582aac536" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "5d1e475267d5264758d8bb1aa7339f9d" + "hash": "28c7d64a38f9ae61536e5ff3af0ea112" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", - "hash": "84109c0308ed5c272b79b214cef10c3a" + "hash": "35e6002e6d6ed95b3084ba5c554e2ba8" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php", @@ -28568,7 +28568,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php", - "hash": "3dce5872b4c337bfcb7272787dc558be" + "hash": "23ce653a79be996f0f1f99b1ca456909" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Five.php", @@ -28616,7 +28616,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Seven.php", - "hash": "5d0054223460f93352cabcefec9a09a1" + "hash": "59dba89340683e33ac181ad78eb7e5cd" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Nine.php", @@ -28652,7 +28652,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php", - "hash": "e5878bee9006b552f5cda32705962db3" + "hash": "6517a418152f648bd934d5e747f4da43" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Eight.php", @@ -28676,7 +28676,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Seven.php", - "hash": "9c07939bc6c3dc9d22ddf3fac663e2ca" + "hash": "3635e8ce7600e056694cfac418ffb429" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Six.php", @@ -28704,7 +28704,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Seven.php", - "hash": "ef37a42a393ae58e94bc4723d7d0e3ca" + "hash": "c05b6ca82a42af6863ea64b590ae6f91" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Six.php", @@ -30928,7 +30928,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php", - "hash": "1ec134803413b6c8f62f1dc5a15ee898" + "hash": "8104a6828e36304a8f6b848a0eaa8394" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php", @@ -30940,7 +30940,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ProvisionEnterpriseGroup.php", - "hash": "72b6706f4ad6221f30ebd2e4cae5eeda" + "hash": "bd5bad7cc61d37d2de4f1c23724501f2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ProvisionEnterpriseGroupTest.php", @@ -30952,7 +30952,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/GetProvisioningInformationForEnterpriseGroup.php", - "hash": "63932d9ceda8fce3cf9b2d03020dd821" + "hash": "a57cf777bdc9a08c3068c696dc712c62" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/GetProvisioningInformationForEnterpriseGroupTest.php", @@ -30964,7 +30964,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/SetInformationForProvisionedEnterpriseGroup.php", - "hash": "2aea562a346e2dabef51b9b539e9a6dd" + "hash": "6b531632d20190ddbdb91ad53c567825" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/SetInformationForProvisionedEnterpriseGroupTest.php", @@ -30976,7 +30976,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/DeleteScimGroupFromEnterprise.php", - "hash": "3515c2eaece2a44c92b168addc69e850" + "hash": "26274ac5d9556ed9dddc27082d6af706" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/DeleteScimGroupFromEnterpriseTest.php", @@ -30988,7 +30988,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/UpdateAttributeForEnterpriseGroup.php", - "hash": "38de446da946767f518c709dfdcdcc56" + "hash": "043060e452e69aafd9d189ea32f2437a" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/UpdateAttributeForEnterpriseGroupTest.php", @@ -31000,7 +31000,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php", - "hash": "fbe4dc8c4e89e0b8f483416c0b77ad1e" + "hash": "0e8e3aace8e45c3fb630495772ecd317" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php", @@ -31012,7 +31012,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ProvisionEnterpriseUser.php", - "hash": "4daef70a6106fa8d99ba5a3a7c90eb89" + "hash": "5caa2ee09f685de39ffd86b0cf0eb744" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ProvisionEnterpriseUserTest.php", @@ -31024,7 +31024,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/GetProvisioningInformationForEnterpriseUser.php", - "hash": "0c9d61a31aacc51e7af2b7f7c0de091b" + "hash": "cd81eadb715aeef5c292c9208d65a70b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/GetProvisioningInformationForEnterpriseUserTest.php", @@ -31036,7 +31036,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/SetInformationForProvisionedEnterpriseUser.php", - "hash": "b2fb6546efb90a5cb114c4adc4e12361" + "hash": "d84e3eba8f0ea1e9b7cba010e838c700" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/SetInformationForProvisionedEnterpriseUserTest.php", @@ -31048,7 +31048,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/DeleteUserFromEnterprise.php", - "hash": "f35f861941dfaca409e9583a8d860b6b" + "hash": "62bcb4aa118f99cbc99fc30e35f9d5b7" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/DeleteUserFromEnterpriseTest.php", @@ -31060,7 +31060,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/UpdateAttributeForEnterpriseUser.php", - "hash": "4df37c1a6f0af9ca09901aebfb056e57" + "hash": "2d27f415affe73050ec150bf3802a3d2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/UpdateAttributeForEnterpriseUserTest.php", @@ -31772,11 +31772,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "fce289aa5282dc61663d87a7b64e2fd9" + "hash": "07dce6d993e8e758f65263e14189a184" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "2f314ce427d5df250fd03062920f96e9" + "hash": "c5cad5bf2eb60abf904c718fa610bce3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Copilot/GetCopilotOrganizationDetails.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Copilot/GetCopilotOrganizationDetails.php index 508fd9f8148..47ac2a8d81c 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Copilot/GetCopilotOrganizationDetails.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Copilot/GetCopilotOrganizationDetails.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $org): CopilotOrganizationDetails|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Copilot\GetCopilotOrganizationDetails($this->responseSchemaValidator, $this->hydrator, $org); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/DeleteScimGroupFromEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/DeleteScimGroupFromEnterprise.php index e903331a10c..26a89516453 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/DeleteScimGroupFromEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/DeleteScimGroupFromEnterprise.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $scimGroupId, string $enterprise): WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\DeleteScimGroupFromEnterprise($this->responseSchemaValidator, $this->hydrator, $scimGroupId, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/DeleteUserFromEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/DeleteUserFromEnterprise.php index fada176141e..9599a9271ab 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/DeleteUserFromEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/DeleteUserFromEnterprise.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $scimUserId, string $enterprise): WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\DeleteUserFromEnterprise($this->responseSchemaValidator, $this->hydrator, $scimUserId, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetProvisioningInformationForEnterpriseGroup.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetProvisioningInformationForEnterpriseGroup.php index 38b1d945dcb..95ed65ecffc 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetProvisioningInformationForEnterpriseGroup.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetProvisioningInformationForEnterpriseGroup.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $scimGroupId, string $excludedAttributes, string $enterprise): GroupResponse|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\GetProvisioningInformationForEnterpriseGroup($this->responseSchemaValidator, $this->hydrator, $scimGroupId, $excludedAttributes, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetProvisioningInformationForEnterpriseUser.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetProvisioningInformationForEnterpriseUser.php index 562e756c685..f9ad256233c 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetProvisioningInformationForEnterpriseUser.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetProvisioningInformationForEnterpriseUser.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $scimUserId, string $enterprise): UserResponse|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\GetProvisioningInformationForEnterpriseUser($this->responseSchemaValidator, $this->hydrator, $scimUserId, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php index b98b60bf791..2bb3d5f84da 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $filter, string $excludedAttributes, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseGroupList|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\ListProvisionedGroupsEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $excludedAttributes, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php index c5c13e45185..9751f1925b8 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $filter, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseUserList|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\ListProvisionedIdentitiesEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ProvisionEnterpriseGroup.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ProvisionEnterpriseGroup.php index d2e22be6d42..44815b2f4ca 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ProvisionEnterpriseGroup.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ProvisionEnterpriseGroup.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $enterprise, array $params): GroupResponse|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\ProvisionEnterpriseGroup($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ProvisionEnterpriseUser.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ProvisionEnterpriseUser.php index 9d8c1210f9a..e24b4cb3fbf 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ProvisionEnterpriseUser.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ProvisionEnterpriseUser.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $enterprise, array $params): UserResponse|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\ProvisionEnterpriseUser($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/SetInformationForProvisionedEnterpriseGroup.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/SetInformationForProvisionedEnterpriseGroup.php index 8f88f43655e..d2b93563409 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/SetInformationForProvisionedEnterpriseGroup.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/SetInformationForProvisionedEnterpriseGroup.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $scimGroupId, string $enterprise, array $params): GroupResponse|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\SetInformationForProvisionedEnterpriseGroup($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $scimGroupId, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/SetInformationForProvisionedEnterpriseUser.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/SetInformationForProvisionedEnterpriseUser.php index 29300b5209c..eae585a5781 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/SetInformationForProvisionedEnterpriseUser.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/SetInformationForProvisionedEnterpriseUser.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $scimUserId, string $enterprise, array $params): UserResponse|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\SetInformationForProvisionedEnterpriseUser($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $scimUserId, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/UpdateAttributeForEnterpriseGroup.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/UpdateAttributeForEnterpriseGroup.php index 73ec097ee7b..486c984a647 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/UpdateAttributeForEnterpriseGroup.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/UpdateAttributeForEnterpriseGroup.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $scimGroupId, string $enterprise, array $params): GroupResponse|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\UpdateAttributeForEnterpriseGroup($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $scimGroupId, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/UpdateAttributeForEnterpriseUser.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/UpdateAttributeForEnterpriseUser.php index 3b6b409ca85..a00a772e988 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/UpdateAttributeForEnterpriseUser.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/UpdateAttributeForEnterpriseUser.php @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $scimUserId, string $enterprise, array $params): UserResponse|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\UpdateAttributeForEnterpriseUser($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $scimUserId, $enterprise); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateCommit.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateCommit.php index 8871a4de3e1..2cc0f81e3cf 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateCommit.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateCommit.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, array $params): GitCommit { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\CreateCommit($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateRef.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateRef.php index d8a355545d0..84eaab2a251 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateRef.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateRef.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, array $params): GitRef { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\CreateRef($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateTag.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateTag.php index bcfcb7433bf..b46f4f21e43 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateTag.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateTag.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, array $params): GitTag { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\CreateTag($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateTree.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateTree.php index c4bd46d32b9..fa86594954c 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateTree.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/CreateTree.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, array $params): GitTree { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\CreateTree($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/DeleteRef.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/DeleteRef.php index fc051fda67c..66223570b06 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/DeleteRef.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/DeleteRef.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, string $ref): WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\DeleteRef($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $ref); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetBlob.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetBlob.php index 43b44c83831..1b3254960b0 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetBlob.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetBlob.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, string $fileSha): Blob { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\GetBlob($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $fileSha); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetCommit.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetCommit.php index a4c098df103..c0050ca4fb2 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetCommit.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetCommit.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, string $commitSha): GitCommit { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\GetCommit($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $commitSha); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetRef.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetRef.php index bbb2ed3b6e5..e312eae86ca 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetRef.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetRef.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, string $ref): GitRef { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\GetRef($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $ref); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetTag.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetTag.php index 57146096d13..16401f6fceb 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetTag.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetTag.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, string $tagSha): GitTag { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\GetTag($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $tagSha); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetTree.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetTree.php index d0672766293..7ea3d5566e4 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetTree.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/GetTree.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, string $treeSha, string $recursive): GitTree { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\GetTree($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $treeSha, $recursive); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/ListMatchingRefs.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/ListMatchingRefs.php index 34a3bfc8380..c7f3d6494fc 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/ListMatchingRefs.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/ListMatchingRefs.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $owner, string $repo, string $ref): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\ListMatchingRefs($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $ref); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/UpdateRef.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/UpdateRef.php index 8b277020237..d39f07ebe38 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/UpdateRef.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Git/UpdateRef.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, string $ref, array $params): GitRef { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Git\UpdateRef($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo, $ref); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetCommit.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetCommit.php index de2228d3beb..3535f0953a5 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetCommit.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetCommit.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, string $ref, int $page = 1, int $perPage = 30): Commit { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\GetCommit($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $ref, $page, $perPage); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListBranchesForHeadCommit.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListBranchesForHeadCommit.php index 207410fe977..3cc59786f41 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListBranchesForHeadCommit.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListBranchesForHeadCommit.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $owner, string $repo, string $commitSha): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\ListBranchesForHeadCommit($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $commitSha); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListPullRequestsAssociatedWithCommit.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListPullRequestsAssociatedWithCommit.php index f4b57f08cb9..1676e73933d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListPullRequestsAssociatedWithCommit.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListPullRequestsAssociatedWithCommit.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $owner, string $repo, string $commitSha, int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\ListPullRequestsAssociatedWithCommit($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $commitSha, $perPage, $page); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListPullRequestsAssociatedWithCommitListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListPullRequestsAssociatedWithCommitListing.php index aae4ea5514e..94a1562f0de 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListPullRequestsAssociatedWithCommitListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListPullRequestsAssociatedWithCommitListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $owner, string $repo, string $commitSha, int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\ListPullRequestsAssociatedWithCommitListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $commitSha, $perPage, $page); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/EnterpriseAdmin.php index c56950dc185..a16ec639ac5 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/EnterpriseAdmin.php @@ -63,6 +63,7 @@ public function removeAllCustomLabelsFromSelfHostedRunnerForEnterprise(array $pa return $operator->call($arguments['enterprise'], $arguments['runner_id']); } + /** @return */ public function deleteScimGroupFromEnterprise(array $params): WithoutBody { $arguments = []; @@ -83,6 +84,7 @@ public function deleteScimGroupFromEnterprise(array $params): WithoutBody return $operator->call($arguments['scim_group_id'], $arguments['enterprise']); } + /** @return */ public function deleteUserFromEnterprise(array $params): WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Git.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Git.php index 9ce32283864..14ea3e08ad7 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Git.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Git.php @@ -19,6 +19,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri { } + /** @return */ public function deleteRef(array $params): WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Seven.php index d32f212c633..fe29235dab7 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Seven.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Seven.php @@ -19,7 +19,6 @@ public function __construct(private Routers $routers) { } - /** @return |\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */ public function call(string $call, array $params, array $pathChunks): WithoutBody|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|CodeScanningAnalysisDeletion|Issue|BasicError|PullRequestSimple { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Copilot.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Copilot.php index bb55b57892e..91082180fa0 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Copilot.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Copilot.php @@ -22,6 +22,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri { } + /** @return */ public function getCopilotOrganizationDetails(array $params): CopilotOrganizationDetails|WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php index 1bcd0528872..ce05b6eaa9e 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php @@ -336,6 +336,7 @@ public function getSelfHostedRunnerForEnterprise(array $params): Runner return $operator->call($arguments['enterprise'], $arguments['runner_id']); } + /** @return */ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGroupList|WithoutBody { $arguments = []; @@ -374,6 +375,7 @@ 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 = []; @@ -493,6 +495,7 @@ public function listLabelsForSelfHostedRunnerForEnterprise(array $params): \ApiC return $operator->call($arguments['enterprise'], $arguments['runner_id']); } + /** @return */ public function getProvisioningInformationForEnterpriseGroup(array $params): GroupResponse|WithoutBody { $arguments = []; @@ -519,6 +522,7 @@ public function getProvisioningInformationForEnterpriseGroup(array $params): Gro return $operator->call($arguments['scim_group_id'], $arguments['excludedAttributes'], $arguments['enterprise']); } + /** @return */ public function getProvisioningInformationForEnterpriseUser(array $params): UserResponse|WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php index 8a1c5404ee2..80e38efc32b 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php @@ -53,7 +53,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|WithoutBody|Observable|Observable|Observable|Schema\BasicError|Schema\CopilotOrganizationDetails|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|WithoutBody|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|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\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|CopilotOrganizationDetails|OrganizationCustomRepositoryRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|ExternalGroup|OrgHook|OrgMembership|Migration|OrganizationRole|RepositoryRuleset|GroupMapping|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Import|Installation|InteractionLimitResponse|One|Language|LicenseContent|Page|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|ContentFile|SimpleUser|Stargazer|RepositorySubscription|Topic|TeamDiscussion|TeamMembership|TeamProject|CodespacesUserPublicKey|CodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|Package { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Git.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Git.php index 1f4cf6c1bdd..88f9853bfb3 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Git.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Git.php @@ -24,6 +24,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri { } + /** @return */ public function getBlob(array $params): Blob { $arguments = []; @@ -50,6 +51,7 @@ public function getBlob(array $params): Blob return $operator->call($arguments['owner'], $arguments['repo'], $arguments['file_sha']); } + /** @return */ public function getCommit(array $params): GitCommit { $arguments = []; @@ -76,7 +78,7 @@ public function getCommit(array $params): GitCommit return $operator->call($arguments['owner'], $arguments['repo'], $arguments['commit_sha']); } - /** @return iterable */ + /** @return Observable */ public function listMatchingRefs(array $params): iterable { $arguments = []; @@ -103,6 +105,7 @@ public function listMatchingRefs(array $params): iterable return $operator->call($arguments['owner'], $arguments['repo'], $arguments['ref']); } + /** @return */ public function getRef(array $params): GitRef { $arguments = []; @@ -129,6 +132,7 @@ public function getRef(array $params): GitRef return $operator->call($arguments['owner'], $arguments['repo'], $arguments['ref']); } + /** @return */ public function getTag(array $params): GitTag { $arguments = []; @@ -155,6 +159,7 @@ public function getTag(array $params): GitTag return $operator->call($arguments['owner'], $arguments['repo'], $arguments['tag_sha']); } + /** @return */ public function getTree(array $params): GitTree { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Repos.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Repos.php index 567129d81e4..b180a44e020 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Repos.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Repos.php @@ -1377,6 +1377,7 @@ public function getCommitComment(array $params): CommitComment return $operator->call($arguments['owner'], $arguments['repo'], $arguments['comment_id']); } + /** @return */ public function getCommit(array $params): Commit { $arguments = []; @@ -2150,7 +2151,7 @@ public function getCollaboratorPermissionLevel(array $params): RepositoryCollabo return $operator->call($arguments['owner'], $arguments['repo'], $arguments['username']); } - /** @return iterable */ + /** @return Observable */ public function listBranchesForHeadCommit(array $params): iterable { $arguments = []; @@ -2216,7 +2217,7 @@ public function listCommentsForCommit(array $params): iterable return $operator->call($arguments['owner'], $arguments['repo'], $arguments['commit_sha'], $arguments['per_page'], $arguments['page']); } - /** @return iterable */ + /** @return Observable */ public function listPullRequestsAssociatedWithCommit(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php index fe37d3cc674..b151dfbdd51 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|Observable|Observable|iterable|Observable|iterable|Observable|Schema\BasicError|Observable|Observable|Schema\Blob|Schema\GitCommit|iterable|Schema\GitRef|Schema\GitTag|Schema\GitTree|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|Schema\GroupResponse|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Schema\UserResponse */ + /** @return |Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|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|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|iterable|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 9a9cfb00ea8..899576160cc 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php @@ -80,7 +80,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Commit|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\ScimEnterpriseGroupList|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Schema\ScimEnterpriseUserList|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|Observable|Observable|Observable|WithoutBody|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|ActionsBillingUsage|AdvancedSecurityActiveCommitters|PackagesBillingUsage|CombinedBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|RunnerGroupsOrg|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|Json|WithoutBody|CopilotSeatDetails|Package|OrgCustomProperty|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|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|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/Repos.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Repos.php index 98f66e29e65..738d1b43cdf 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Repos.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Repos.php @@ -1099,7 +1099,7 @@ public function listCommentsForCommitListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function listPullRequestsAssociatedWithCommitListing(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php index e21c9a2083c..5ddb081f201 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|Observable|Observable|iterable|Observable|Schema\BasicError|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|Schema\BasicError|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/Patch/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/EnterpriseAdmin.php index ffb2bd4edfd..4164da58448 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/EnterpriseAdmin.php @@ -43,6 +43,7 @@ public function updateSelfHostedRunnerGroupForEnterprise(array $params): RunnerG return $operator->call($arguments['enterprise'], $arguments['runner_group_id'], $params); } + /** @return */ public function updateAttributeForEnterpriseGroup(array $params): GroupResponse|WithoutBody { $arguments = []; @@ -63,6 +64,7 @@ public function updateAttributeForEnterpriseGroup(array $params): GroupResponse| return $operator->call($arguments['scim_group_id'], $arguments['enterprise'], $params); } + /** @return */ public function updateAttributeForEnterpriseUser(array $params): UserResponse|WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Git.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Git.php index e9c6bf22e58..9963b2f6e37 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Git.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Git.php @@ -19,6 +19,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri { } + /** @return */ public function updateRef(array $params): GitRef { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Seven.php index cf3561822d6..da0917855e1 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Seven.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Patch/Seven.php @@ -29,7 +29,6 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\GitRef|Schema\GroupResponse|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Schema\UserResponse */ public function call(string $call, array $params, array $pathChunks): TeamDiscussion|GroupMapping|WithoutBody|CodeScanningAlert|DependabotAlert|GitRef|WebhookConfig|PorterAuthor|IssueComment|PullRequestReviewComment|ReleaseAsset|SecretScanningAlert|GroupResponse|UserResponse|ScimUser|TeamDiscussionComment { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/EnterpriseAdmin.php index f753145433b..afaa1a13a2a 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/EnterpriseAdmin.php @@ -54,6 +54,7 @@ public function createRemoveTokenForEnterprise(array $params): AuthenticationTok return $operator->call($arguments['enterprise']); } + /** @return */ public function provisionEnterpriseGroup(array $params): GroupResponse|WithoutBody { $arguments = []; @@ -68,6 +69,7 @@ public function provisionEnterpriseGroup(array $params): GroupResponse|WithoutBo return $operator->call($arguments['enterprise'], $params); } + /** @return */ public function provisionEnterpriseUser(array $params): UserResponse|WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Git.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Git.php index 6638252ae2d..a568533621c 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Git.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Git.php @@ -44,6 +44,7 @@ public function createBlob(array $params): ShortBlob return $operator->call($arguments['owner'], $arguments['repo'], $params); } + /** @return */ public function createCommit(array $params): GitCommit { $arguments = []; @@ -64,6 +65,7 @@ public function createCommit(array $params): GitCommit return $operator->call($arguments['owner'], $arguments['repo'], $params); } + /** @return */ public function createRef(array $params): GitRef { $arguments = []; @@ -84,6 +86,7 @@ public function createRef(array $params): GitRef return $operator->call($arguments['owner'], $arguments['repo'], $params); } + /** @return */ public function createTag(array $params): GitTag { $arguments = []; @@ -104,6 +107,7 @@ public function createTag(array $params): GitTag return $operator->call($arguments['owner'], $arguments['repo'], $params); } + /** @return */ public function createTree(array $params): GitTree { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Six.php index 6b1c13e4f96..8ab43a9178d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Six.php @@ -36,7 +36,6 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\GitCommit|Schema\GitRef|Schema\GitTag|Schema\GitTree|Schema\GroupResponse|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Schema\UserResponse */ public function call(string $call, array $params, array $pathChunks): Json|Created|AuthenticationToken|WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForTeams\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForUsers\Response\ApplicationJson\Created\Application\Json|TeamDiscussion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|EmptyObject|CodeScanningSarifsReceipt|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|ShortBlob|GitCommit|GitRef|GitTag|GitTree|PageBuildStatus|PageDeployment|ReleaseNotesContent|RepositoryAdvisory|Status|TagProtection|GroupResponse|UserResponse|ScimUser|TeamDiscussionComment|Reaction { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/EnterpriseAdmin.php index ca040dfb64b..8bede7a8d99 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/EnterpriseAdmin.php @@ -121,6 +121,7 @@ public function setCustomLabelsForSelfHostedRunnerForEnterprise(array $params): return $operator->call($arguments['enterprise'], $arguments['runner_id'], $params); } + /** @return */ public function setInformationForProvisionedEnterpriseGroup(array $params): GroupResponse|WithoutBody { $arguments = []; @@ -141,6 +142,7 @@ public function setInformationForProvisionedEnterpriseGroup(array $params): Grou return $operator->call($arguments['scim_group_id'], $arguments['enterprise'], $params); } + /** @return */ public function setInformationForProvisionedEnterpriseUser(array $params): UserResponse|WithoutBody { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Seven.php index 2e2c1966b06..15a64e12bf5 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Seven.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Seven.php @@ -24,7 +24,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Schema\BasicError|Schema\GroupResponse|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Schema\UserResponse */ + /** @return |Observable|Schema\BasicError */ public function call(string $call, array $params, array $pathChunks): WithoutBody|Ok|EmptyObject|TeamMembership|ProtectedBranch|iterable|BasicError|PullRequestMergeResult|Json|GroupResponse|UserResponse|ScimUser { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Operation/Copilot.php b/clients/GitHubEnterpriseCloud/src/Operation/Copilot.php index 83a6bafc6d3..1ee473932a8 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/Copilot.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/Copilot.php @@ -18,6 +18,7 @@ public function __construct(private Internal\Operators $operators) { } + /** @return */ public function getCopilotOrganizationDetails(string $org): CopilotOrganizationDetails|WithoutBody { return $this->operators->copilot👷GetCopilotOrganizationDetails()->call($org); diff --git a/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php index c8508bd3d16..a3a4e6be60f 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php @@ -247,61 +247,73 @@ public function getLicenseSyncStatus(string $enterprise): string return $this->operators->enterpriseAdmin👷GetLicenseSyncStatus()->call($enterprise); } + /** @return */ public function listProvisionedGroupsEnterprise(string $filter, string $excludedAttributes, string $enterprise, int $startIndex, int $count): ScimEnterpriseGroupList|WithoutBody { return $this->operators->enterpriseAdmin👷ListProvisionedGroupsEnterprise()->call($filter, $excludedAttributes, $enterprise, $startIndex, $count); } + /** @return */ public function provisionEnterpriseGroup(string $enterprise, array $params): GroupResponse|WithoutBody { return $this->operators->enterpriseAdmin👷ProvisionEnterpriseGroup()->call($enterprise, $params); } + /** @return */ public function getProvisioningInformationForEnterpriseGroup(string $scimGroupId, string $excludedAttributes, string $enterprise): GroupResponse|WithoutBody { return $this->operators->enterpriseAdmin👷GetProvisioningInformationForEnterpriseGroup()->call($scimGroupId, $excludedAttributes, $enterprise); } + /** @return */ public function setInformationForProvisionedEnterpriseGroup(string $scimGroupId, string $enterprise, array $params): GroupResponse|WithoutBody { return $this->operators->enterpriseAdmin👷SetInformationForProvisionedEnterpriseGroup()->call($scimGroupId, $enterprise, $params); } + /** @return */ public function deleteScimGroupFromEnterprise(string $scimGroupId, string $enterprise): WithoutBody { return $this->operators->enterpriseAdmin👷DeleteScimGroupFromEnterprise()->call($scimGroupId, $enterprise); } + /** @return */ public function updateAttributeForEnterpriseGroup(string $scimGroupId, string $enterprise, array $params): GroupResponse|WithoutBody { return $this->operators->enterpriseAdmin👷UpdateAttributeForEnterpriseGroup()->call($scimGroupId, $enterprise, $params); } + /** @return */ public function listProvisionedIdentitiesEnterprise(string $filter, string $enterprise, int $startIndex, int $count): ScimEnterpriseUserList|WithoutBody { return $this->operators->enterpriseAdmin👷ListProvisionedIdentitiesEnterprise()->call($filter, $enterprise, $startIndex, $count); } + /** @return */ public function provisionEnterpriseUser(string $enterprise, array $params): UserResponse|WithoutBody { return $this->operators->enterpriseAdmin👷ProvisionEnterpriseUser()->call($enterprise, $params); } + /** @return */ public function getProvisioningInformationForEnterpriseUser(string $scimUserId, string $enterprise): UserResponse|WithoutBody { return $this->operators->enterpriseAdmin👷GetProvisioningInformationForEnterpriseUser()->call($scimUserId, $enterprise); } + /** @return */ public function setInformationForProvisionedEnterpriseUser(string $scimUserId, string $enterprise, array $params): UserResponse|WithoutBody { return $this->operators->enterpriseAdmin👷SetInformationForProvisionedEnterpriseUser()->call($scimUserId, $enterprise, $params); } + /** @return */ public function deleteUserFromEnterprise(string $scimUserId, string $enterprise): WithoutBody { return $this->operators->enterpriseAdmin👷DeleteUserFromEnterprise()->call($scimUserId, $enterprise); } + /** @return */ public function updateAttributeForEnterpriseUser(string $scimUserId, string $enterprise, array $params): UserResponse|WithoutBody { return $this->operators->enterpriseAdmin👷UpdateAttributeForEnterpriseUser()->call($scimUserId, $enterprise, $params); diff --git a/clients/GitHubEnterpriseCloud/src/Operation/Git.php b/clients/GitHubEnterpriseCloud/src/Operation/Git.php index fce0603c39a..278a33e914c 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/Git.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/Git.php @@ -26,62 +26,73 @@ public function createBlob(string $owner, string $repo, array $params): ShortBlo return $this->operators->git👷CreateBlob()->call($owner, $repo, $params); } + /** @return */ public function getBlob(string $owner, string $repo, string $fileSha): Blob { return $this->operators->git👷GetBlob()->call($owner, $repo, $fileSha); } + /** @return */ public function createCommit(string $owner, string $repo, array $params): GitCommit { return $this->operators->git👷CreateCommit()->call($owner, $repo, $params); } + /** @return */ public function getCommit(string $owner, string $repo, string $commitSha): GitCommit { return $this->operators->git👷GetCommit()->call($owner, $repo, $commitSha); } - /** @return iterable */ + /** @return Observable */ public function listMatchingRefs(string $owner, string $repo, string $ref): iterable { return $this->operators->git👷ListMatchingRefs()->call($owner, $repo, $ref); } + /** @return */ public function getRef(string $owner, string $repo, string $ref): GitRef { return $this->operators->git👷GetRef()->call($owner, $repo, $ref); } + /** @return */ public function createRef(string $owner, string $repo, array $params): GitRef { return $this->operators->git👷CreateRef()->call($owner, $repo, $params); } + /** @return */ public function deleteRef(string $owner, string $repo, string $ref): WithoutBody { return $this->operators->git👷DeleteRef()->call($owner, $repo, $ref); } + /** @return */ public function updateRef(string $owner, string $repo, string $ref, array $params): GitRef { return $this->operators->git👷UpdateRef()->call($owner, $repo, $ref, $params); } + /** @return */ public function createTag(string $owner, string $repo, array $params): GitTag { return $this->operators->git👷CreateTag()->call($owner, $repo, $params); } + /** @return */ public function getTag(string $owner, string $repo, string $tagSha): GitTag { return $this->operators->git👷GetTag()->call($owner, $repo, $tagSha); } + /** @return */ public function createTree(string $owner, string $repo, array $params): GitTree { return $this->operators->git👷CreateTree()->call($owner, $repo, $params); } + /** @return */ public function getTree(string $owner, string $repo, string $treeSha, string $recursive): GitTree { return $this->operators->git👷GetTree()->call($owner, $repo, $treeSha, $recursive); diff --git a/clients/GitHubEnterpriseCloud/src/Operation/Repos.php b/clients/GitHubEnterpriseCloud/src/Operation/Repos.php index 86023530ad7..79143b189f8 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/Repos.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/Repos.php @@ -514,7 +514,7 @@ public function listCommitsListing(string $owner, string $repo, string $sha, str return $this->operators->repos👷ListCommitsListing()->call($owner, $repo, $sha, $path, $author, $committer, $since, $until, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function listBranchesForHeadCommit(string $owner, string $repo, string $commitSha): iterable { return $this->operators->repos👷ListBranchesForHeadCommit()->call($owner, $repo, $commitSha); @@ -538,18 +538,19 @@ public function createCommitComment(string $owner, string $repo, string $commitS return $this->operators->repos👷CreateCommitComment()->call($owner, $repo, $commitSha, $params); } - /** @return iterable */ + /** @return Observable */ public function listPullRequestsAssociatedWithCommit(string $owner, string $repo, string $commitSha, int $perPage, int $page): iterable { return $this->operators->repos👷ListPullRequestsAssociatedWithCommit()->call($owner, $repo, $commitSha, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function listPullRequestsAssociatedWithCommitListing(string $owner, string $repo, string $commitSha, int $perPage, int $page): iterable { return $this->operators->repos👷ListPullRequestsAssociatedWithCommitListing()->call($owner, $repo, $commitSha, $perPage, $page); } + /** @return */ public function getCommit(string $owner, string $repo, string $ref, int $page, int $perPage): Commit { return $this->operators->repos👷GetCommit()->call($owner, $repo, $ref, $page, $perPage); diff --git a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php index 49ccf52ca68..6ba53d8fde9 100644 --- a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php @@ -1008,7 +1008,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/copilot/billing') { - return $this->typeResolver->resolve('Schema\\CopilotOrganizationDetails|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /orgs/{org}/copilot/billing/seats') { @@ -2692,7 +2692,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /repos/{owner}/{repo}/commits/{commit_sha}/comments') { @@ -2708,15 +2708,15 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /repos/{owner}/{repo}/commits/{commit_sha}/pulls') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /repos/{owner}/{repo}/commits/{ref}') { - return $this->typeResolver->resolve('Schema\\Commit'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /repos/{owner}/{repo}/commits/{ref}/check-runs') { @@ -2976,51 +2976,51 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /repos/{owner}/{repo}/git/blobs/{file_sha}') { - return $this->typeResolver->resolve('Schema\\Blob'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /repos/{owner}/{repo}/git/commits') { - return $this->typeResolver->resolve('Schema\\GitCommit'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /repos/{owner}/{repo}/git/commits/{commit_sha}') { - return $this->typeResolver->resolve('Schema\\GitCommit'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /repos/{owner}/{repo}/git/matching-refs/{ref}') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /repos/{owner}/{repo}/git/ref/{ref}') { - return $this->typeResolver->resolve('Schema\\GitRef'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /repos/{owner}/{repo}/git/refs') { - return $this->typeResolver->resolve('Schema\\GitRef'); + return $this->typeResolver->resolve(''); } if ($call === 'DELETE /repos/{owner}/{repo}/git/refs/{ref}') { - return $this->typeResolver->resolve('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'PATCH /repos/{owner}/{repo}/git/refs/{ref}') { - return $this->typeResolver->resolve('Schema\\GitRef'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /repos/{owner}/{repo}/git/tags') { - return $this->typeResolver->resolve('Schema\\GitTag'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /repos/{owner}/{repo}/git/tags/{tag_sha}') { - return $this->typeResolver->resolve('Schema\\GitTag'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /repos/{owner}/{repo}/git/trees') { - return $this->typeResolver->resolve('Schema\\GitTree'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /repos/{owner}/{repo}/git/trees/{tree_sha}') { - return $this->typeResolver->resolve('Schema\\GitTree'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /repos/{owner}/{repo}/hooks') { @@ -3968,51 +3968,51 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /scim/v2/enterprises/{enterprise}/Groups') { - return $this->typeResolver->resolve('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /scim/v2/enterprises/{enterprise}/Groups') { - return $this->typeResolver->resolve('Schema\\GroupResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}') { - return $this->typeResolver->resolve('Schema\\GroupResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}') { - return $this->typeResolver->resolve('Schema\\GroupResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}') { - return $this->typeResolver->resolve('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}') { - return $this->typeResolver->resolve('Schema\\GroupResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /scim/v2/enterprises/{enterprise}/Users') { - return $this->typeResolver->resolve('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'POST /scim/v2/enterprises/{enterprise}/Users') { - return $this->typeResolver->resolve('Schema\\UserResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}') { - return $this->typeResolver->resolve('Schema\\UserResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}') { - return $this->typeResolver->resolve('Schema\\UserResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'DELETE /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}') { - return $this->typeResolver->resolve('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'PATCH /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}') { - return $this->typeResolver->resolve('Schema\\UserResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /scim/v2/organizations/{org}/Users') { diff --git a/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php index 54ef0746309..119887ae4fd 100644 --- a/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php @@ -258,7 +258,7 @@ function authHeader(): string assertType('', $client->call('PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories')); assertType('', $client->call('PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}')); assertType('', $client->call('DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}')); -assertType('Schema\\CopilotOrganizationDetails|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /orgs/{org}/copilot/billing')); +assertType('', $client->call('GET /orgs/{org}/copilot/billing')); assertType('', $client->call('GET /orgs/{org}/copilot/billing/seats')); assertType('', $client->call('POST /orgs/{org}/copilot/billing/selected_teams')); assertType('', $client->call('DELETE /orgs/{org}/copilot/billing/selected_teams')); @@ -679,13 +679,13 @@ function authHeader(): string assertType('', $client->call('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}')); assertType('Observable', $client->call('GET /repos/{owner}/{repo}/commits')); assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/commits')); -assertType('iterable', $client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head')); +assertType('Observable', $client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head')); assertType('Observable', $client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/comments')); assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/commits/{commit_sha}/comments')); assertType('', $client->call('POST /repos/{owner}/{repo}/commits/{commit_sha}/comments')); -assertType('iterable', $client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls')); -assertType('iterable', $client->call('LIST /repos/{owner}/{repo}/commits/{commit_sha}/pulls')); -assertType('Schema\\Commit', $client->call('GET /repos/{owner}/{repo}/commits/{ref}')); +assertType('Observable', $client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls')); +assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/commits/{commit_sha}/pulls')); +assertType('', $client->call('GET /repos/{owner}/{repo}/commits/{ref}')); assertType('', $client->call('GET /repos/{owner}/{repo}/commits/{ref}/check-runs')); assertType('', $client->call('GET /repos/{owner}/{repo}/commits/{ref}/check-suites')); assertType('', $client->call('GET /repos/{owner}/{repo}/commits/{ref}/status')); @@ -750,18 +750,18 @@ function authHeader(): string assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/forks')); assertType('', $client->call('POST /repos/{owner}/{repo}/forks')); assertType('', $client->call('POST /repos/{owner}/{repo}/git/blobs')); -assertType('Schema\\Blob', $client->call('GET /repos/{owner}/{repo}/git/blobs/{file_sha}')); -assertType('Schema\\GitCommit', $client->call('POST /repos/{owner}/{repo}/git/commits')); -assertType('Schema\\GitCommit', $client->call('GET /repos/{owner}/{repo}/git/commits/{commit_sha}')); -assertType('iterable', $client->call('GET /repos/{owner}/{repo}/git/matching-refs/{ref}')); -assertType('Schema\\GitRef', $client->call('GET /repos/{owner}/{repo}/git/ref/{ref}')); -assertType('Schema\\GitRef', $client->call('POST /repos/{owner}/{repo}/git/refs')); -assertType('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('DELETE /repos/{owner}/{repo}/git/refs/{ref}')); -assertType('Schema\\GitRef', $client->call('PATCH /repos/{owner}/{repo}/git/refs/{ref}')); -assertType('Schema\\GitTag', $client->call('POST /repos/{owner}/{repo}/git/tags')); -assertType('Schema\\GitTag', $client->call('GET /repos/{owner}/{repo}/git/tags/{tag_sha}')); -assertType('Schema\\GitTree', $client->call('POST /repos/{owner}/{repo}/git/trees')); -assertType('Schema\\GitTree', $client->call('GET /repos/{owner}/{repo}/git/trees/{tree_sha}')); +assertType('', $client->call('GET /repos/{owner}/{repo}/git/blobs/{file_sha}')); +assertType('', $client->call('POST /repos/{owner}/{repo}/git/commits')); +assertType('', $client->call('GET /repos/{owner}/{repo}/git/commits/{commit_sha}')); +assertType('Observable', $client->call('GET /repos/{owner}/{repo}/git/matching-refs/{ref}')); +assertType('', $client->call('GET /repos/{owner}/{repo}/git/ref/{ref}')); +assertType('', $client->call('POST /repos/{owner}/{repo}/git/refs')); +assertType('', $client->call('DELETE /repos/{owner}/{repo}/git/refs/{ref}')); +assertType('', $client->call('PATCH /repos/{owner}/{repo}/git/refs/{ref}')); +assertType('', $client->call('POST /repos/{owner}/{repo}/git/tags')); +assertType('', $client->call('GET /repos/{owner}/{repo}/git/tags/{tag_sha}')); +assertType('', $client->call('POST /repos/{owner}/{repo}/git/trees')); +assertType('', $client->call('GET /repos/{owner}/{repo}/git/trees/{tree_sha}')); assertType('Observable', $client->call('GET /repos/{owner}/{repo}/hooks')); assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/hooks')); assertType('', $client->call('POST /repos/{owner}/{repo}/hooks')); @@ -998,18 +998,18 @@ function authHeader(): string assertType('Observable', $client->call('STREAM /repos/{owner}/{repo}/zipball/{ref}')); assertType('', $client->call('POST /repos/{template_owner}/{template_repo}/generate')); assertType('Observable|WithoutBody', $client->call('GET /repositories')); -assertType('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups')); -assertType('Schema\\GroupResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('POST /scim/v2/enterprises/{enterprise}/Groups')); -assertType('Schema\\GroupResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); -assertType('Schema\\GroupResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); -assertType('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); -assertType('Schema\\GroupResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); -assertType('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Users')); -assertType('Schema\\UserResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('POST /scim/v2/enterprises/{enterprise}/Users')); -assertType('Schema\\UserResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); -assertType('Schema\\UserResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); -assertType('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('DELETE /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); -assertType('Schema\\UserResponse|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('PATCH /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); +assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups')); +assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Groups')); +assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); +assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); +assertType('', $client->call('DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); +assertType('', $client->call('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); +assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users')); +assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Users')); +assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); +assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); +assertType('', $client->call('DELETE /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); +assertType('', $client->call('PATCH /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); assertType('', $client->call('GET /scim/v2/organizations/{org}/Users')); assertType('', $client->call('POST /scim/v2/organizations/{org}/Users')); assertType('', $client->call('GET /scim/v2/organizations/{org}/Users/{scim_user_id}')); diff --git a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml index 1b4d62c1407..5fd789223ff 100644 --- a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml +++ b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml @@ -3593,7 +3593,7 @@ paths: get: summary: Get feeds description: |- - GitHub Enterprise Cloud provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user: + Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs. * **Timeline**: The GitHub Enterprise Cloud global public timeline * **User**: The public timeline for any user, using `uri_template`. For more information, see "[Hypermedia](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." @@ -3603,6 +3603,8 @@ paths: * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of. * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Cloud. + By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-cloud@latest//rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. tags: - activity @@ -49943,12 +49945,7 @@ paths: description: |- Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations. - The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this: - - ```shell - curl -u username:token - https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192 - ``` + The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository). OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: