From 8c23f64e2a78b349eb0f375f3a3d0e8ed4cb9a64 Mon Sep 17 00:00:00 2001 From: WyriHaximus <147145+WyriHaximus@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:57:30 +0000 Subject: [PATCH] =?UTF-8?q?[GitHubEnterpriseCloud]=20Update=20to=201.1.4-2?= =?UTF-8?q?8f60a7c508878e338d4b3b75488656f=20from=201.1.4-a1982b6682052852?= =?UTF-8?q?c1dfe87d8de1f4ed=20Detected=20Schema=20changes:=202024-11-20=20?= =?UTF-8?q?17:29:41=20ERROR=20unable=20to=20open=20the=20rolodex=20file,?= =?UTF-8?q?=20check=20specification=20references=20and=20base=20path=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?=E2=94=9C=20file:=20/=5F=5Fw/github-root/github-root/server-sta?= =?UTF-8?q?tistics-actions.yaml=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=E2=94=94=20error:=20open=20/=5F=5Fw?= =?UTF-8?q?/github-root/github-root/server-statistics-actions.yaml:=20no?= =?UTF-8?q?=20such=20file=20or=20directory=202024-11-20=2017:29:41=20ERROR?= =?UTF-8?q?=20unable=20to=20open=20the=20rolodex=20file,=20check=20specifi?= =?UTF-8?q?cation=20references=20and=20base=20path=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=E2=94=9C=20file:?= =?UTF-8?q?=20/=5F=5Fw/github-root/github-root/server-statistics-packages.?= =?UTF-8?q?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-11-20=2017:29:41=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-advisory-db.yaml=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?=E2=94=94=20error:=20open=20/=5F=5Fw/github-root/github-root/se?= =?UTF-8?q?rver-statistics-advisory-db.yaml:=20no=20such=20file=20or=20dir?= =?UTF-8?q?ectory=202024-11-20=2017:29:43=20ERROR=20unable=20to=20open=20t?= =?UTF-8?q?he=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-actions.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?-actions.yaml:=20no=20such=20file=20or=20directory=202024-11-20?= =?UTF-8?q?=2017:29:43=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=20error:=20open=20/=5F=5Fw/github-root/github-root?= =?UTF-8?q?/server-statistics-packages.yaml:=20no=20such=20file=20or=20dir?= =?UTF-8?q?ectory=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=20file:=20/=5F=5Fw/github-root/github-roo?= =?UTF-8?q?t/server-statistics-packages.yaml=202024-11-20=2017:29:43=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-advisor?= =?UTF-8?q?y-db.yaml=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=E2=94=94=20error:=20open=20/=5F=5Fw/github-root?= =?UTF-8?q?/github-root/server-statistics-advisory-db.yaml:=20no=20such=20?= =?UTF-8?q?file=20or=20directory=20ERROR:=20component=20`server-statistics?= =?UTF-8?q?-actions.yaml`=20does=20not=20exist=20in=20the=20specification?= =?UTF-8?q?=20ERROR:=20component=20`server-statistics-packages.yaml`=20doe?= =?UTF-8?q?s=20not=20exist=20in=20the=20specification=20ERROR:=20component?= =?UTF-8?q?=20`server-statistics-advisory-db.yaml`=20does=20not=20exist=20?= =?UTF-8?q?in=20the=20specification=20ERROR:=20cannot=20resolve=20referenc?= =?UTF-8?q?e=20`server-statistics-actions.yaml`,=20it's=20missing:=20=20[2?= =?UTF-8?q?09415:11]=20ERROR:=20cannot=20resolve=20reference=20`server-sta?= =?UTF-8?q?tistics-packages.yaml`,=20it's=20missing:=20=20[209417:11]=20ER?= =?UTF-8?q?ROR:=20cannot=20resolve=20reference=20`server-statistics-adviso?= =?UTF-8?q?ry-db.yaml`,=20it's=20missing:=20=20[209419:11]=20ERROR:=20comp?= =?UTF-8?q?onent=20`server-statistics-actions.yaml`=20does=20not=20exist?= =?UTF-8?q?=20in=20the=20specification=20ERROR:=20component=20`server-stat?= =?UTF-8?q?istics-packages.yaml`=20does=20not=20exist=20in=20the=20specifi?= =?UTF-8?q?cation=20ERROR:=20component=20`server-statistics-advisory-db.ya?= =?UTF-8?q?ml`=20does=20not=20exist=20in=20the=20specification=20ERROR:=20?= =?UTF-8?q?cannot=20resolve=20reference=20`server-statistics-actions.yaml`?= =?UTF-8?q?,=20it's=20missing:=20=20[209402:11]=20ERROR:=20cannot=20resolv?= =?UTF-8?q?e=20reference=20`server-statistics-packages.yaml`,=20it's=20mis?= =?UTF-8?q?sing:=20=20[209404:11]=20ERROR:=20cannot=20resolve=20reference?= =?UTF-8?q?=20`server-statistics-advisory-db.yaml`,=20it's=20missing:=20?= =?UTF-8?q?=20[209406:11]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../etc/openapi-client-generator.state | 126 +++++++++--------- .../ApiInsights/GetRouteStatsByActor.php | 4 +- .../GetRouteStatsByActorListing.php | 4 +- .../Operation/ApiInsights/GetSubjectStats.php | 4 +- .../ApiInsights/GetSubjectStatsListing.php | 4 +- .../Operation/ApiInsights/GetSummaryStats.php | 4 +- .../ApiInsights/GetSummaryStatsByActor.php | 4 +- .../ApiInsights/GetSummaryStatsByUser.php | 4 +- .../Operation/ApiInsights/GetTimeStats.php | 4 +- .../ApiInsights/GetTimeStatsByActor.php | 4 +- .../ApiInsights/GetTimeStatsByUser.php | 4 +- .../Operation/ApiInsights/GetUserStats.php | 4 +- .../ApiInsights/GetUserStatsListing.php | 4 +- .../ApiInsights/GetRouteStatsByActor.php | 2 +- .../GetRouteStatsByActorListing.php | 2 +- .../Operator/ApiInsights/GetSubjectStats.php | 2 +- .../ApiInsights/GetSubjectStatsListing.php | 2 +- .../Operator/ApiInsights/GetSummaryStats.php | 1 - .../ApiInsights/GetSummaryStatsByActor.php | 1 - .../ApiInsights/GetSummaryStatsByUser.php | 1 - .../Operator/ApiInsights/GetTimeStats.php | 2 +- .../ApiInsights/GetTimeStatsByActor.php | 2 +- .../ApiInsights/GetTimeStatsByUser.php | 2 +- .../Operator/ApiInsights/GetUserStats.php | 2 +- .../ApiInsights/GetUserStatsListing.php | 2 +- .../src/Internal/Router/Get/ApiInsights.php | 15 +-- .../src/Internal/Router/Get/Eight.php | 2 +- .../src/Internal/Router/Get/Seven.php | 2 +- .../src/Internal/Router/Get/Six.php | 2 +- .../src/Internal/Router/List/ApiInsights.php | 6 +- .../src/Internal/Router/List/Eight.php | 2 +- .../src/Internal/Router/List/Seven.php | 2 +- .../src/Internal/Router/List/Six.php | 2 +- .../src/Operation/ApiInsights.php | 21 ++- .../src/PHPStan/ClientCallReturnTypes.php | 24 ++-- .../src/Schema/CopilotDotcomChat.php | 2 +- .../src/Schema/CopilotDotcomChat/Models.php | 4 +- .../src/Schema/CopilotDotcomPullRequests.php | 2 +- .../Repositories.php | 2 +- .../Repositories/Models.php | 4 +- .../src/Schema/CopilotIdeChat.php | 2 +- .../src/Schema/CopilotIdeChat/Editors.php | 2 +- .../Schema/CopilotIdeChat/Editors/Models.php | 4 +- .../src/Schema/CopilotIdeCodeCompletions.php | 2 +- .../CopilotIdeCodeCompletions/Editors.php | 2 +- .../Editors/Models.php | 4 +- .../src/Schema/CopilotUsageMetricsDay.php | 8 +- .../src/Schema/ExemptionRequest.php | 20 ++- .../Schema/ExemptionRequestSecretScanning.php | 48 +++++-- .../ExemptionRequestSecretScanning/Data.php | 38 ++++-- .../Data/Locations.php | 42 ++++++ .../CreateRelease/Request/ApplicationJson.php | 2 +- .../src/Schema/SecretScanningLocation.php | 4 +- .../SecretScanningLocationPullRequestBody.php | 4 +- ...SecretScanningLocationPullRequestTitle.php | 4 +- .../WebhookExemptionRequestCancelled.php | 20 ++- .../WebhookExemptionRequestCompleted.php | 20 ++- .../Schema/WebhookExemptionRequestCreated.php | 20 ++- ...bhookExemptionRequestResponseDismissed.php | 20 ++- ...bhookExemptionRequestResponseSubmitted.php | 20 ++- ...hookSecretScanningAlertLocationCreated.php | 4 +- .../tests/Types/ClientCallReturnTypes.php | 24 ++-- .../GitHubEnterpriseCloud/current.spec.yaml | 52 +++++--- 63 files changed, 421 insertions(+), 232 deletions(-) create mode 100644 clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning/Data/Locations.php diff --git a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state index 76ac091e4d9..78c947d63ad 100644 --- a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state +++ b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "a1982b6682052852c1dfe87d8de1f4ed", + "specHash": "28f60a7c508878e338d4b3b75488656f", "generatedFiles": { "files": [ { @@ -1456,7 +1456,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanningLocation.php", - "hash": "e1ed8e834cd613b3ed198f8940a56b8c" + "hash": "0085d95ee39bcbc5f1e6a6747ebd7b6a" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecurityAdvisoryEcosystems.php", @@ -2504,7 +2504,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertLocationCreated.php", - "hash": "6d7e44537368ac8f6f42c9d0b6974e1e" + "hash": "2db2a04fbb64a3ea67104b17856605ed" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertLocationCreatedFormEncoded.php", @@ -5608,7 +5608,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRelease\/Request\/ApplicationJson.php", - "hash": "63ad98586b019fa59430676162af34e8" + "hash": "78ee56cbe50ddf6c2911f84a4d4e4925" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateReleaseAsset\/Request\/ApplicationJson.php", @@ -26548,15 +26548,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "0d399c08389b5a4ea5021a61a72dc039" + "hash": "350649f5be7fcfc87dcd57c927c1196f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", - "hash": "a599137abdcba30f7e73a7b74e31d2ea" + "hash": "4e332335c65b7e9432baebb9df9d1dba" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php", - "hash": "1cf5790594bbb4d1413a9716c0f7dd0a" + "hash": "da93f0500511efc6f5047a395e43d0c4" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Nine.php", @@ -26652,15 +26652,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php", - "hash": "fe00f124d0b03577835808f3c34eb6fd" + "hash": "34998afc94ac197e983ec923f86bfc84" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php", - "hash": "5ab86acbf8be965692b1d15336be32bd" + "hash": "17ab580da9720832051801428c83eb01" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Eight.php", - "hash": "2625e16d352263fdefc1eb05b50c3686" + "hash": "09a1392d402c7611e126132ee60570a2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Ten.php", @@ -29724,11 +29724,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "bdab7a8491adf5bb0e43c837c01afbac" + "hash": "fd6cb683e7bc05adbf7dec96a7ba1ade" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "483d9ba33395af67c30b9560fb0b346e" + "hash": "d35179053d0a8a786cfe468d4b3f7229" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -30532,11 +30532,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanningLocationPullRequestTitle.php", - "hash": "19b4b23ba485a4b28041dbc4900ae075" + "hash": "66404fab3046a54f0ddf068aba99a9eb" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanningLocationPullRequestBody.php", - "hash": "20aacd6ace52d56ccfe870bd1acc4684" + "hash": "5dc61d898fef2b5c2989f7ec4acb2efc" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanningLocationPullRequestComment.php", @@ -31704,7 +31704,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ExemptionRequestSecretScanning.php", - "hash": "70097b39e3d852d41a83054280415526" + "hash": "6ee7537cd8e5a04229a4e1f738b80b37" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ExemptionRequestSecretScanningMetadata.php", @@ -31724,27 +31724,27 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ExemptionRequest.php", - "hash": "8fc327e47aef16d4f679f9773096e9af" + "hash": "8ee0a2bf54bf103da16c655c5eebc74b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookExemptionRequestCancelled.php", - "hash": "01808f1c25a1ebe1e4bcaedf134510fc" + "hash": "621ac01a5581a7f39b1f6492ae512ace" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookExemptionRequestCompleted.php", - "hash": "02cf20770e31ec3b518f0a37c5863739" + "hash": "be1de939dddf87fba69d04bade3231c5" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookExemptionRequestCreated.php", - "hash": "e93f9daf363f513cb6ccceebd168de7a" + "hash": "1da6b6164c6e2b69bfc785313bc16fc9" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookExemptionRequestResponseDismissed.php", - "hash": "a872da35df1e7166c0ce18e831363230" + "hash": "f76ff6e34fc342903e90c9a5eb76a0ae" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookExemptionRequestResponseSubmitted.php", - "hash": "068ed78b5027f9f51aefce348cc76034" + "hash": "5705a39e0ad2466ee7a7c7f679f397d3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ExemptionRequestPushRulesetBypass\/Data.php", @@ -31752,7 +31752,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ExemptionRequestSecretScanning\/Data.php", - "hash": "7ea2b845d83a1d30647dec41347d2a14" + "hash": "285d7aa02056d4a2916f54596b0a878c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/WebHook\/ExemptionRequestSecretScanning.php", @@ -32900,23 +32900,23 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotIdeCodeCompletions.php", - "hash": "1382cff84516824a6c9fb60081c94c2c" + "hash": "ed7abb029af3e50e12aa20676297964f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotIdeChat.php", - "hash": "f12f4f1f09543eeb20d6f2c951666e6c" + "hash": "84fa4c23660e332b5a03459e114233d8" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotDotcomChat.php", - "hash": "f9043b3ac15640e1eb62c3d40e33bbca" + "hash": "71e7966d40c3d0cd98ed1358e370b293" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotDotcomPullRequests.php", - "hash": "b6aed412b882b1c45e54fb1f66ae5407" + "hash": "d4917afd7cc15a4c7623f5a8263c6791" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotUsageMetricsDay.php", - "hash": "d181f754551f8adcec069c84a4940947" + "hash": "646e2396057ca665c75688824ba29f82" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotIdeCodeCompletions\/Languages.php", @@ -32924,11 +32924,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotIdeCodeCompletions\/Editors.php", - "hash": "0b61aaa16f53bdbd59d02eb2811f92f4" + "hash": "19b02f6bc693d4e40226150a606b1b8d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotIdeCodeCompletions\/Editors\/Models.php", - "hash": "0b0f142bc8280c8de4780fbd36be7b38" + "hash": "7a7f8df85d35e1497601ffdd4e4180ee" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotIdeCodeCompletions\/Editors\/Models\/Languages.php", @@ -32936,23 +32936,23 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotIdeChat\/Editors.php", - "hash": "c776c612b4978e3e332682058963d829" + "hash": "acc4ac4717bcf5a974186719bad16e82" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotIdeChat\/Editors\/Models.php", - "hash": "5eeea478515978a3fc0ba8293a81a91c" + "hash": "4cb3204cd5078ebbd36d48e523b76761" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotDotcomChat\/Models.php", - "hash": "277504a47aa8d64eb72a075e496b6b27" + "hash": "3536f78ed6ae34afc55869f19c57fe3a" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotDotcomPullRequests\/Repositories.php", - "hash": "edbe3ab2a610a334a0b02091590c7ef6" + "hash": "15dcdc801626840373cdbdc4d1b79d74" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotDotcomPullRequests\/Repositories\/Models.php", - "hash": "173350447fe4875a5f1ee00ac5b2bb4b" + "hash": "47d6016ba5b6decfca7c0516d80ff0cb" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Copilot\/Metrics.php", @@ -32984,11 +32984,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActor.php", - "hash": "d8518633eea72d57caae92898b17dc97" + "hash": "a7cab8fe3d2b2dc25e3af6fab4e680a8" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetRouteStatsByActor.php", - "hash": "1db11c959b55a60444d87c54ab8c33d9" + "hash": "ba14c183059338bd948f1207886971ab" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActorTest.php", @@ -32996,11 +32996,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActorListing.php", - "hash": "a5f9cef4e3834242f1a41bfe0e94e4c0" + "hash": "d7f6beea8e02437fdd43ef55a8a346c2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetRouteStatsByActorListing.php", - "hash": "0cef8157e0350bff1462bf33d55e333e" + "hash": "614efa2552f4c5103f802b0375e691b6" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActorListingTest.php", @@ -33008,11 +33008,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetSubjectStats.php", - "hash": "76a25c624c1db82214824b3557d67df0" + "hash": "72a1f2c5ca8701b64492bab77f7a3119" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSubjectStats.php", - "hash": "c58727da9bed7e040dc4b0588a55a33f" + "hash": "e2997b2a7bd08da4584c1b9bd69f420b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSubjectStatsTest.php", @@ -33020,11 +33020,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetSubjectStatsListing.php", - "hash": "a2f658e399df21dfb16c798fc04b23ca" + "hash": "b53364f27c59ac5c190f4ca1f852e503" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSubjectStatsListing.php", - "hash": "1d0e78e7617f2d02a749b4195d99539f" + "hash": "c0f14e612dfe3076a27722463a8487ae" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSubjectStatsListingTest.php", @@ -33032,11 +33032,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetSummaryStats.php", - "hash": "f57a6dc11daf342a575c6f8929c3f400" + "hash": "d12a4c6a74f523abb50c1fc0f602aff4" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSummaryStats.php", - "hash": "f43c10528b0b1fe439f71c284908aa53" + "hash": "68c361c4c934da75a926d2503d6b795e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSummaryStatsTest.php", @@ -33044,11 +33044,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetSummaryStatsByUser.php", - "hash": "ddea09893f4acda4620b0b8b416d638d" + "hash": "d00dea3825fcad82facfd95fbbf8cfe8" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSummaryStatsByUser.php", - "hash": "5a8f57c5adbe96e7600078234e4e9c3b" + "hash": "ec4a689b020e8e4c0e8c4aea2ff2ae8d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSummaryStatsByUserTest.php", @@ -33056,11 +33056,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetSummaryStatsByActor.php", - "hash": "fdc41dec8a1df80defa411fcb29a72ff" + "hash": "1f8c0f6bd4690c8046824790073934f0" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSummaryStatsByActor.php", - "hash": "5391651213f7bdc2ae847ab1f37f0c0e" + "hash": "db4d7a5b71171650b1250ccbe52622bf" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSummaryStatsByActorTest.php", @@ -33068,11 +33068,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetTimeStats.php", - "hash": "bf19946d88421e168564434255810168" + "hash": "5680fcb28ebcdcd8b1866f3ebc1de35e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetTimeStats.php", - "hash": "9f2ff344f86cd893e686ec3c8243883a" + "hash": "eaa08bfa10f44cea4f1a0f0ea4d7b4ec" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetTimeStatsTest.php", @@ -33080,11 +33080,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetTimeStatsByUser.php", - "hash": "49fd22c57ae098d42018d59217564b7d" + "hash": "4087216414b3b4c8d2bb696973c190a0" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetTimeStatsByUser.php", - "hash": "f541db60f35b9918e472cfc0b0912e28" + "hash": "cf986fa1f3b729dd43e5ad60593f0035" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetTimeStatsByUserTest.php", @@ -33092,11 +33092,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetTimeStatsByActor.php", - "hash": "0f882a9144c4623c8bcc4375cb34f624" + "hash": "a2fd3ebcb91b25752e467e2f9cdd6f12" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetTimeStatsByActor.php", - "hash": "b3a0f1106d0fe479feb141d8ce7c3911" + "hash": "ef85b82563b5cde169ec91eecaf3002b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetTimeStatsByActorTest.php", @@ -33104,11 +33104,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetUserStats.php", - "hash": "f243daf1653767ee5fc158c622e3da9e" + "hash": "1ddfb19ee661905cef4293c5dff17c45" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetUserStats.php", - "hash": "52b1cccad043e5101763c980ad243a01" + "hash": "274cd1a9afc4bb3467066f188137d4c4" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetUserStatsTest.php", @@ -33116,11 +33116,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetUserStatsListing.php", - "hash": "0796cdb8aeba26d9b8664df110519085" + "hash": "0ba25ccd420302563469db2e4f841b86" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetUserStatsListing.php", - "hash": "dfed900d1deb57161f444b5196db4ad5" + "hash": "2e2f6f8025cba438518abf407237b2da" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetUserStatsListingTest.php", @@ -33148,15 +33148,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/ApiInsights.php", - "hash": "da81b79d93d10cb2ed1fc975db8e2b19" + "hash": "986b06c66242c060569555e1c11f99e1" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/ApiInsights.php", - "hash": "9518f902601ad41e505351ac8bf3f077" + "hash": "5e9bbd105a49b172c97f5e62f0615dd2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/ApiInsights.php", - "hash": "6bf9f7829121dba63588c95d05aaf1c3" + "hash": "1d45cb9237e4867197a9536e0479d90f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Insights\/Api\/SummaryStats.php", @@ -33177,6 +33177,10 @@ { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom\/Sbom\/Relationships.php", "hash": "c2222e07bf4718ff3f1c1385d05aeaba" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ExemptionRequestSecretScanning\/Data\/Locations.php", + "hash": "845bb128d8fa039ba9295a93c62cec45" } ] }, diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetRouteStatsByActor.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetRouteStatsByActor.php index 96c07f5aff8..1b5e3947475 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetRouteStatsByActor.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetRouteStatsByActor.php @@ -30,9 +30,9 @@ final class GetRouteStatsByActor private string $actorType; /**The ID of the actor **/ private int $actorId; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; /**The property to sort the results by. **/ private array $sort; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetRouteStatsByActorListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetRouteStatsByActorListing.php index 04c73ffec84..d9a0f1cf524 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetRouteStatsByActorListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetRouteStatsByActorListing.php @@ -30,9 +30,9 @@ final class GetRouteStatsByActorListing private string $actorType; /**The ID of the actor **/ private int $actorId; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; /**The property to sort the results by. **/ private array $sort; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSubjectStats.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSubjectStats.php index 126bf01af06..451d8906eec 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSubjectStats.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSubjectStats.php @@ -26,9 +26,9 @@ final class GetSubjectStats public const OPERATION_MATCH = 'GET /orgs/{org}/insights/api/subject-stats'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; /**The property to sort the results by. **/ private array $sort; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSubjectStatsListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSubjectStatsListing.php index 10caeced6b2..ab1efc0e248 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSubjectStatsListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSubjectStatsListing.php @@ -26,9 +26,9 @@ final class GetSubjectStatsListing public const OPERATION_MATCH = 'LIST /orgs/{org}/insights/api/subject-stats'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; /**The property to sort the results by. **/ private array $sort; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStats.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStats.php index 460e9fae09a..e4b789d5dfc 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStats.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStats.php @@ -23,9 +23,9 @@ final class GetSummaryStats public const OPERATION_MATCH = 'GET /orgs/{org}/insights/api/summary-stats'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Insights\Api\SummaryStats $hydrator, string $org, string $minTimestamp, string $maxTimestamp) diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStatsByActor.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStatsByActor.php index c8e3abcba4b..9fe960b641d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStatsByActor.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStatsByActor.php @@ -23,9 +23,9 @@ final class GetSummaryStatsByActor public const OPERATION_MATCH = 'GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; /**The type of the actor **/ private string $actorType; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStatsByUser.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStatsByUser.php index eff73d73050..97c3512b9ec 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStatsByUser.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetSummaryStatsByUser.php @@ -25,9 +25,9 @@ final class GetSummaryStatsByUser private string $org; /**The ID of the user to query for stats **/ private string $userId; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Insights\Api\SummaryStats\Users\UserId $hydrator, string $org, string $userId, string $minTimestamp, string $maxTimestamp) diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStats.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStats.php index e55a732e7b4..8b227ff233d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStats.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStats.php @@ -26,9 +26,9 @@ final class GetTimeStats public const OPERATION_MATCH = 'GET /orgs/{org}/insights/api/time-stats'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; /**The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) **/ private string $timestampIncrement; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStatsByActor.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStatsByActor.php index f6075fcda3f..793d783b0cc 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStatsByActor.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStatsByActor.php @@ -30,9 +30,9 @@ final class GetTimeStatsByActor private string $actorType; /**The ID of the actor **/ private int $actorId; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; /**The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) **/ private string $timestampIncrement; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStatsByUser.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStatsByUser.php index 05da0337e3a..b34ae3cd081 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStatsByUser.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetTimeStatsByUser.php @@ -28,9 +28,9 @@ final class GetTimeStatsByUser private string $org; /**The ID of the user to query for stats **/ private string $userId; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; /**The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) **/ private string $timestampIncrement; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetUserStats.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetUserStats.php index ce10fa84a62..aba2556bb30 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetUserStats.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetUserStats.php @@ -28,9 +28,9 @@ final class GetUserStats private string $org; /**The ID of the user to query for stats **/ private string $userId; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; /**The property to sort the results by. **/ private array $sort; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetUserStatsListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetUserStatsListing.php index baa8111f39a..b16882db3f0 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetUserStatsListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/ApiInsights/GetUserStatsListing.php @@ -28,9 +28,9 @@ final class GetUserStatsListing private string $org; /**The ID of the user to query for stats **/ private string $userId; - /**The minimum timestamp to query for stats **/ + /**The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $minTimestamp; - /**The maximum timestamp to query for stats **/ + /**The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $maxTimestamp; /**The property to sort the results by. **/ private array $sort; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php index 88cee403144..ca7bde6ac31 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetRouteStatsByActor($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php index bbd53b7eda4..13f86fe6012 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetRouteStatsByActorListing($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStats.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStats.php index 07746fcebe6..9d8c25a61f5 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStats.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStats.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $org, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetSubjectStats($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php index dbb16817d6a..db05a350710 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $org, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetSubjectStatsListing($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStats.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStats.php index 8dd6bd28ed0..139ead17d2a 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStats.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStats.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $org, string $minTimestamp, string $maxTimestamp): ApiInsightsSummaryStats { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetSummaryStats($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStatsByActor.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStatsByActor.php index 76910624436..5f8d2cfbf59 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStatsByActor.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStatsByActor.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $org, string $minTimestamp, string $maxTimestamp, string $actorType, int $actorId): ApiInsightsSummaryStats { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetSummaryStatsByActor($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $actorType, $actorId); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStatsByUser.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStatsByUser.php index 8cb2029bec3..9d03d7674e1 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStatsByUser.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetSummaryStatsByUser.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp): ApiInsightsSummaryStats { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetSummaryStatsByUser($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStats.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStats.php index f890af24471..ae32d5522ea 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStats.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStats.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $org, string $minTimestamp, string $maxTimestamp, string $timestampIncrement): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetTimeStats($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $timestampIncrement); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStatsByActor.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStatsByActor.php index f528c52c128..19f89132929 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStatsByActor.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStatsByActor.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, string $timestampIncrement): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetTimeStatsByActor($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $timestampIncrement); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStatsByUser.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStatsByUser.php index 0ac642d668f..56b25db850d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStatsByUser.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetTimeStatsByUser.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp, string $timestampIncrement): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetTimeStatsByUser($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $timestampIncrement); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStats.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStats.php index c2c307cf6c8..c1f4817ada3 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStats.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStats.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetUserStats($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStatsListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStatsListing.php index 88129f5ef96..44fffeace61 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStatsListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/ApiInsights/GetUserStatsListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, int $page = 1, int $perPage = 30, string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\ApiInsights\GetUserStatsListing($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/ApiInsights.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/ApiInsights.php index 0a4281ec04a..3aced49d9e6 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/ApiInsights.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/ApiInsights.php @@ -20,7 +20,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri { } - /** @return Observable */ + /** @return iterable */ public function getSubjectStats(array $params): iterable { $arguments = []; @@ -71,7 +71,6 @@ public function getSubjectStats(array $params): iterable return $operator->call($arguments['org'], $arguments['min_timestamp'], $arguments['max_timestamp'], $arguments['sort'], $arguments['page'], $arguments['per_page'], $arguments['direction']); } - /** @return */ public function getSummaryStats(array $params): ApiInsightsSummaryStats { $arguments = []; @@ -98,7 +97,7 @@ public function getSummaryStats(array $params): ApiInsightsSummaryStats return $operator->call($arguments['org'], $arguments['min_timestamp'], $arguments['max_timestamp']); } - /** @return Observable */ + /** @return iterable */ public function getTimeStats(array $params): iterable { $arguments = []; @@ -131,7 +130,7 @@ public function getTimeStats(array $params): iterable return $operator->call($arguments['org'], $arguments['min_timestamp'], $arguments['max_timestamp'], $arguments['timestamp_increment']); } - /** @return Observable */ + /** @return iterable */ public function getUserStats(array $params): iterable { $arguments = []; @@ -188,7 +187,7 @@ public function getUserStats(array $params): iterable return $operator->call($arguments['org'], $arguments['user_id'], $arguments['min_timestamp'], $arguments['max_timestamp'], $arguments['sort'], $arguments['page'], $arguments['per_page'], $arguments['direction']); } - /** @return Observable */ + /** @return iterable */ public function getRouteStatsByActor(array $params): iterable { $arguments = []; @@ -251,7 +250,6 @@ public function getRouteStatsByActor(array $params): iterable return $operator->call($arguments['org'], $arguments['actor_type'], $arguments['actor_id'], $arguments['min_timestamp'], $arguments['max_timestamp'], $arguments['sort'], $arguments['page'], $arguments['per_page'], $arguments['direction']); } - /** @return */ public function getSummaryStatsByUser(array $params): ApiInsightsSummaryStats { $arguments = []; @@ -284,7 +282,6 @@ public function getSummaryStatsByUser(array $params): ApiInsightsSummaryStats return $operator->call($arguments['org'], $arguments['user_id'], $arguments['min_timestamp'], $arguments['max_timestamp']); } - /** @return */ public function getSummaryStatsByActor(array $params): ApiInsightsSummaryStats { $arguments = []; @@ -323,7 +320,7 @@ public function getSummaryStatsByActor(array $params): ApiInsightsSummaryStats return $operator->call($arguments['org'], $arguments['min_timestamp'], $arguments['max_timestamp'], $arguments['actor_type'], $arguments['actor_id']); } - /** @return Observable */ + /** @return iterable */ public function getTimeStatsByUser(array $params): iterable { $arguments = []; @@ -362,7 +359,7 @@ public function getTimeStatsByUser(array $params): iterable return $operator->call($arguments['org'], $arguments['user_id'], $arguments['min_timestamp'], $arguments['max_timestamp'], $arguments['timestamp_increment']); } - /** @return Observable */ + /** @return iterable */ public function getTimeStatsByActor(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php index 34672c75023..f93f242eca8 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php @@ -36,7 +36,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable||Observable|Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody */ + /** @return iterable|Schema\ApiInsightsSummaryStats|iterable||Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody */ public function call(string $call, array $params, array $pathChunks): iterable|ApiInsightsSummaryStats|PackageVersion|TeamRepository|WithoutBody|OidcCustomSubRepo|Ok|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|WorkflowRunUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|WorkflowUsage|ProtectedBranchAdminEnforced|ProtectedBranchPullRequestReview|StatusCheckPolicy|BranchRestrictionPolicy|CodeScanningCodeqlDatabase|CodeScanningVariantAnalysis|DeploymentStatus|DeploymentBranchPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\Response\ApplicationJson\Ok|DeploymentProtectionRule|ActionsPublicKey|ActionsSecret|ActionsVariable|HookDelivery|PullRequestReview { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php index a294695d441..3296f58bee3 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|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 */ + /** @return |Observable|Observable|Observable|iterable|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|iterable|OidcCustomSub|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoAccessToSelfHostedRunnerGroupInOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersInGroupForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|HookDelivery|TeamDiscussion|TeamMembership|TeamProject|GroupMapping|Artifact|ActionsCacheUsageByRepository|Job|ActionsWorkflowAccessToRepository|SelectedActions|ActionsGetDefaultWorkflowPermissions|Runner|WorkflowRun|ActionsPublicKey|ActionsSecret|ActionsVariable|Workflow|BranchProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|CodeScanningAlert|CodeScanningAnalysis|CodeScanningSarifsStatus|CodespacesPublicKey|RepoCodespacesSecret|RepositoryCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|CombinedCommitStatus|BasicError|DependabotAlert|DependabotPublicKey|DependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListEnvironmentSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListEnvironmentVariables\Response\ApplicationJson\Ok\Application\Json|Blob|GitCommit|GitRef|GitTag|GitTree|WebhookConfig|IssueComment|IssueEvent|PageBuild|PagesDeploymentStatus|PullRequestReviewComment|PullRequestReviewRequest|ReleaseAsset|Release|RuleSuite|SecretScanningAlert|GroupResponse|UserResponse|ScimUser|TeamDiscussionComment|PackageVersion { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php index 9b5b11ed46e..e7c925add30 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php @@ -84,7 +84,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|Observable|WithoutBody|Observable|iterable|Schema\ApiInsightsSummaryStats|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): ActionsCacheUsageOrgEnterprise|Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|RunnerGroupsEnterprise|iterable|Runner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeatsForEnterprise\Response\ApplicationJson\Ok|ActionsBillingUsage|AdvancedSecurityActiveCommitters|GetAllCostCenters|PackagesBillingUsage|CombinedBillingUsage|BillingUsageReport|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|RunnerGroupsOrg|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|WithoutBody|CodeSecurityConfiguration|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|ApiInsightsSummaryStats|Json|CopilotSeatDetails|Package|CustomProperty|RuleSuite|ExternalGroups|ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\PreFlightWithRepoForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|CommitComment|Commit|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|PagesHealthCheck|EmptyObject|PullRequest|Release|RepositoryRuleset|RepositoryAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|CloneTraffic|ViewTraffic|ScimEnterpriseGroupList|ScimEnterpriseUserList|ScimUserList|TeamRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceExportDetails { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/ApiInsights.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/ApiInsights.php index 382751217ed..a19d6c95c99 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/ApiInsights.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/ApiInsights.php @@ -20,7 +20,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri { } - /** @return Observable */ + /** @return iterable */ public function getUserStatsListing(array $params): iterable { $arguments = []; @@ -83,7 +83,7 @@ public function getUserStatsListing(array $params): iterable } while (count($items) > 0); } - /** @return Observable */ + /** @return iterable */ public function getSubjectStatsListing(array $params): iterable { $arguments = []; @@ -140,7 +140,7 @@ public function getSubjectStatsListing(array $params): iterable } while (count($items) > 0); } - /** @return Observable */ + /** @return iterable */ public function getRouteStatsByActorListing(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Eight.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Eight.php index fad5f8f6d99..a6fb0352968 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Eight.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Eight.php @@ -15,7 +15,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|Observable|Observable|Observable|WithoutBody */ + /** @return iterable|Observable|Observable|Observable|Observable|WithoutBody */ public function call(string $call, array $params, array $pathChunks): iterable|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php index 5a14dca5b32..def20cf3fb9 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|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 */ + /** @return Observable|Observable|iterable|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/List/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php index be9aeeda656..c2ba86024a1 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php @@ -15,7 +15,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return Observable|iterable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): iterable|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Operation/ApiInsights.php b/clients/GitHubEnterpriseCloud/src/Operation/ApiInsights.php index 7f8736afea4..82d5992a0c1 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/ApiInsights.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/ApiInsights.php @@ -14,73 +14,70 @@ public function __construct(private Internal\Operators $operators) { } - /** @return Observable */ + /** @return iterable */ public function getRouteStatsByActor(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetRouteStatsByActor()->call($org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); } - /** @return Observable */ + /** @return iterable */ public function getRouteStatsByActorListing(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, array $sort, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetRouteStatsByActorListing()->call($org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); } - /** @return Observable */ + /** @return iterable */ public function getSubjectStats(string $org, string $minTimestamp, string $maxTimestamp, array $sort, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetSubjectStats()->call($org, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); } - /** @return Observable */ + /** @return iterable */ public function getSubjectStatsListing(string $org, string $minTimestamp, string $maxTimestamp, array $sort, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetSubjectStatsListing()->call($org, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); } - /** @return */ public function getSummaryStats(string $org, string $minTimestamp, string $maxTimestamp): ApiInsightsSummaryStats { return $this->operators->apiInsights👷GetSummaryStats()->call($org, $minTimestamp, $maxTimestamp); } - /** @return */ public function getSummaryStatsByUser(string $org, string $userId, string $minTimestamp, string $maxTimestamp): ApiInsightsSummaryStats { return $this->operators->apiInsights👷GetSummaryStatsByUser()->call($org, $userId, $minTimestamp, $maxTimestamp); } - /** @return */ public function getSummaryStatsByActor(string $org, string $minTimestamp, string $maxTimestamp, string $actorType, int $actorId): ApiInsightsSummaryStats { return $this->operators->apiInsights👷GetSummaryStatsByActor()->call($org, $minTimestamp, $maxTimestamp, $actorType, $actorId); } - /** @return Observable */ + /** @return iterable */ public function getTimeStats(string $org, string $minTimestamp, string $maxTimestamp, string $timestampIncrement): iterable { return $this->operators->apiInsights👷GetTimeStats()->call($org, $minTimestamp, $maxTimestamp, $timestampIncrement); } - /** @return Observable */ + /** @return iterable */ public function getTimeStatsByUser(string $org, string $userId, string $minTimestamp, string $maxTimestamp, string $timestampIncrement): iterable { return $this->operators->apiInsights👷GetTimeStatsByUser()->call($org, $userId, $minTimestamp, $maxTimestamp, $timestampIncrement); } - /** @return Observable */ + /** @return iterable */ public function getTimeStatsByActor(string $org, string $actorType, int $actorId, string $minTimestamp, string $maxTimestamp, string $timestampIncrement): iterable { return $this->operators->apiInsights👷GetTimeStatsByActor()->call($org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $timestampIncrement); } - /** @return Observable */ + /** @return iterable */ public function getUserStats(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetUserStats()->call($org, $userId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); } - /** @return Observable */ + /** @return iterable */ public function getUserStatsListing(string $org, string $userId, string $minTimestamp, string $maxTimestamp, array $sort, int $page, int $perPage, string $direction): iterable { return $this->operators->apiInsights👷GetUserStatsListing()->call($org, $userId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php index 4f6cb9c3da3..a1167ac8048 100644 --- a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php @@ -1312,51 +1312,51 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'LIST /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'GET /orgs/{org}/insights/api/subject-stats') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'LIST /orgs/{org}/insights/api/subject-stats') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'GET /orgs/{org}/insights/api/summary-stats') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\ApiInsightsSummaryStats'); } if ($call === 'GET /orgs/{org}/insights/api/summary-stats/users/{user_id}') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\ApiInsightsSummaryStats'); } if ($call === 'GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\ApiInsightsSummaryStats'); } if ($call === 'GET /orgs/{org}/insights/api/time-stats') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'GET /orgs/{org}/insights/api/time-stats/users/{user_id}') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'GET /orgs/{org}/insights/api/user-stats/{user_id}') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'LIST /orgs/{org}/insights/api/user-stats/{user_id}') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'GET /orgs/{org}/installation') { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomChat.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomChat.php index 1e05eb93e91..3d9a1f158bb 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomChat.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomChat.php @@ -25,7 +25,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomChat/Models.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomChat/Models.php index d9a6fee8518..fe9c0f6138a 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomChat/Models.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomChat/Models.php @@ -13,7 +13,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", @@ -47,7 +47,7 @@ }'; /** - * name: Name of the language used for Copilot code completion suggestions, for the given editor. + * name: Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'. * isCustomModel: Indicates whether a model is custom or default. * customModelTrainingDate: The training date for the custom model (if applicable). * totalEngagedUsers: Total number of users who prompted Copilot Chat on github.com at least once for each model. diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests.php index d0608e72380..88e7d0ab626 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests.php @@ -38,7 +38,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests/Repositories.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests/Repositories.php index bb8cdc81a4e..e538a325a54 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests/Repositories.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests/Repositories.php @@ -26,7 +26,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests/Repositories/Models.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests/Repositories/Models.php index fcab9bbcc29..58150dbb6c6 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests/Repositories/Models.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotDotcomPullRequests/Repositories/Models.php @@ -13,7 +13,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", @@ -47,7 +47,7 @@ }'; /** - * name: Name of the language used for Copilot code completion suggestions, for the given editor. + * name: Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'. * isCustomModel: Indicates whether a model is custom or default. * customModelTrainingDate: The training date for the custom model. * totalPrSummariesCreated: The number of pull request summaries generated using Copilot for Pull Requests in the given repository. diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat.php index 2482dfedf86..c70c4344f91 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat.php @@ -38,7 +38,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat/Editors.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat/Editors.php index 43b4467cd42..5893d382cc8 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat/Editors.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat/Editors.php @@ -26,7 +26,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat/Editors/Models.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat/Editors/Models.php index 4856120351f..9389a78d158 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat/Editors/Models.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeChat/Editors/Models.php @@ -13,7 +13,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", @@ -57,7 +57,7 @@ }'; /** - * name: Name of the language used for Copilot code completion suggestions, for the given editor. + * name: Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'. * isCustomModel: Indicates whether a model is custom or default. * customModelTrainingDate: The training date for the custom model. * totalEngagedUsers: The number of users who prompted Copilot Chat in the given editor and model. diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions.php index 8122ed693e9..5e00b92fade 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions.php @@ -56,7 +56,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions/Editors.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions/Editors.php index ef7879c0683..546b472eac7 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions/Editors.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions/Editors.php @@ -26,7 +26,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions/Editors/Models.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions/Editors/Models.php index a4cca0ccb13..4ad0da0ff4a 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions/Editors/Models.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotIdeCodeCompletions/Editors/Models.php @@ -13,7 +13,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", @@ -94,7 +94,7 @@ }'; /** - * name: Name of the language used for Copilot code completion suggestions, for the given editor. + * name: Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'. * isCustomModel: Indicates whether a model is custom or default. * customModelTrainingDate: The training date for the custom model. * totalEngagedUsers: Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances. diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CopilotUsageMetricsDay.php b/clients/GitHubEnterpriseCloud/src/Schema/CopilotUsageMetricsDay.php index 4907fedf0cf..8e6438a42e5 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CopilotUsageMetricsDay.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CopilotUsageMetricsDay.php @@ -77,7 +77,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", @@ -171,7 +171,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", @@ -229,7 +229,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", @@ -288,7 +288,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." + "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as \'default\'." }, "is_custom_model": { "type": "boolean", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequest.php b/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequest.php index 52f84338968..6ee94d58137 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequest.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequest.php @@ -104,12 +104,26 @@ "type": "string", "description": "The type of secret that was detected" }, - "commits": { + "locations": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "commit": { + "type": "string", + "description": "The commit SHA where the secret was detected" + }, + "branch": { + "type": "string", + "description": "The branch where the secret was detected" + }, + "path": { + "type": "string", + "description": "The path of the file where the secret was detected" + } + } }, - "description": "The commits that introduced the secret" + "description": "The location data of the secret that was detected" } } }, diff --git a/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning.php b/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning.php index ffadc04ab15..599fcf3c24e 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning.php @@ -26,12 +26,26 @@ "type": "string", "description": "The type of secret that was detected" }, - "commits": { + "locations": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "commit": { + "type": "string", + "description": "The commit SHA where the secret was detected" + }, + "branch": { + "type": "string", + "description": "The branch where the secret was detected" + }, + "path": { + "type": "string", + "description": "The path of the file where the secret was detected" + } + } }, - "description": "The commits that introduced the secret" + "description": "The location data of the secret that was detected" } } }, @@ -47,16 +61,32 @@ "data": [ { "secret_type": "generated", - "commits": [ - "generated", - "generated" + "locations": [ + { + "commit": "generated", + "branch": "generated", + "path": "generated" + }, + { + "commit": "generated", + "branch": "generated", + "path": "generated" + } ] }, { "secret_type": "generated", - "commits": [ - "generated", - "generated" + "locations": [ + { + "commit": "generated", + "branch": "generated", + "path": "generated" + }, + { + "commit": "generated", + "branch": "generated", + "path": "generated" + } ] } ] diff --git a/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning/Data.php b/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning/Data.php index 4ee8d33809f..e219aab9225 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning/Data.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning/Data.php @@ -15,12 +15,26 @@ "type": "string", "description": "The type of secret that was detected" }, - "commits": { + "locations": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "commit": { + "type": "string", + "description": "The commit SHA where the secret was detected" + }, + "branch": { + "type": "string", + "description": "The branch where the secret was detected" + }, + "path": { + "type": "string", + "description": "The path of the file where the secret was detected" + } + } }, - "description": "The commits that introduced the secret" + "description": "The location data of the secret that was detected" } } }'; @@ -28,18 +42,26 @@ public const SCHEMA_DESCRIPTION = ''; public const SCHEMA_EXAMPLE_DATA = '{ "secret_type": "generated", - "commits": [ - "generated", - "generated" + "locations": [ + { + "commit": "generated", + "branch": "generated", + "path": "generated" + }, + { + "commit": "generated", + "branch": "generated", + "path": "generated" + } ] }'; /** * secretType: The type of secret that was detected - * commits: The commits that introduced the secret + * locations: The location data of the secret that was detected */ public function __construct(#[MapFrom('secret_type')] - public string|null $secretType, public array|null $commits,) + public string|null $secretType, public array|null $locations,) { } } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning/Data/Locations.php b/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning/Data/Locations.php new file mode 100644 index 00000000000..16c1b17e35e --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Schema/ExemptionRequestSecretScanning/Data/Locations.php @@ -0,0 +1,42 @@ +call('GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}')); assertType('', $client->call('POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts')); assertType('', $client->call('POST /orgs/{org}/hooks/{hook_id}/pings')); -assertType('Observable', $client->call('GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}')); -assertType('Observable', $client->call('LIST /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}')); -assertType('Observable', $client->call('GET /orgs/{org}/insights/api/subject-stats')); -assertType('Observable', $client->call('LIST /orgs/{org}/insights/api/subject-stats')); -assertType('', $client->call('GET /orgs/{org}/insights/api/summary-stats')); -assertType('', $client->call('GET /orgs/{org}/insights/api/summary-stats/users/{user_id}')); -assertType('', $client->call('GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}')); -assertType('Observable', $client->call('GET /orgs/{org}/insights/api/time-stats')); -assertType('Observable', $client->call('GET /orgs/{org}/insights/api/time-stats/users/{user_id}')); -assertType('Observable', $client->call('GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}')); -assertType('Observable', $client->call('GET /orgs/{org}/insights/api/user-stats/{user_id}')); -assertType('Observable', $client->call('LIST /orgs/{org}/insights/api/user-stats/{user_id}')); +assertType('iterable', $client->call('GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}')); +assertType('iterable', $client->call('LIST /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}')); +assertType('iterable', $client->call('GET /orgs/{org}/insights/api/subject-stats')); +assertType('iterable', $client->call('LIST /orgs/{org}/insights/api/subject-stats')); +assertType('Schema\\ApiInsightsSummaryStats', $client->call('GET /orgs/{org}/insights/api/summary-stats')); +assertType('Schema\\ApiInsightsSummaryStats', $client->call('GET /orgs/{org}/insights/api/summary-stats/users/{user_id}')); +assertType('Schema\\ApiInsightsSummaryStats', $client->call('GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}')); +assertType('iterable', $client->call('GET /orgs/{org}/insights/api/time-stats')); +assertType('iterable', $client->call('GET /orgs/{org}/insights/api/time-stats/users/{user_id}')); +assertType('iterable', $client->call('GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}')); +assertType('iterable', $client->call('GET /orgs/{org}/insights/api/user-stats/{user_id}')); +assertType('iterable', $client->call('LIST /orgs/{org}/insights/api/user-stats/{user_id}')); assertType('', $client->call('GET /orgs/{org}/installation')); assertType('', $client->call('GET /orgs/{org}/installations')); assertType('', $client->call('GET /orgs/{org}/interaction-limits')); diff --git a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml index 4aac0987355..fd7c32a4eec 100644 --- a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml +++ b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml @@ -41335,7 +41335,7 @@ paths: - 'true' - 'false' - legacy - default: true + default: 'true' required: - tag_name examples: @@ -55992,6 +55992,7 @@ webhooks: category: webhooks subcategory: custom_property supported-webhook-types: + - business - organization - app custom-property-deleted: @@ -56057,6 +56058,7 @@ webhooks: category: webhooks subcategory: custom_property supported-webhook-types: + - business - organization - app custom-property-updated: @@ -56122,6 +56124,7 @@ webhooks: category: webhooks subcategory: custom_property supported-webhook-types: + - business - organization - app custom-property-values-updated: @@ -76047,8 +76050,8 @@ components: properties: name: type: string - description: Name of the language used for Copilot code completion - suggestions, for the given editor. + description: Name of the model used for Copilot code completion + suggestions. If the default model is used will appear as 'default'. is_custom_model: type: boolean description: Indicates whether a model is custom or default. @@ -76132,8 +76135,8 @@ components: properties: name: type: string - description: Name of the language used for Copilot code completion - suggestions, for the given editor. + description: Name of the model used for Copilot code completion + suggestions. If the default model is used will appear as 'default'. is_custom_model: type: boolean description: Indicates whether a model is custom or default. @@ -76179,8 +76182,8 @@ components: properties: name: type: string - description: Name of the language used for Copilot code completion - suggestions, for the given editor. + description: Name of the model used for Copilot code completion suggestions. + If the default model is used will appear as 'default'. is_custom_model: type: boolean description: Indicates whether a model is custom or default. @@ -76230,8 +76233,8 @@ components: properties: name: type: string - description: Name of the language used for Copilot code completion - suggestions, for the given editor. + description: Name of the model used for Copilot code completion + suggestions. If the default model is used will appear as 'default'. is_custom_model: type: boolean description: Indicates whether a model is custom or default. @@ -95986,7 +95989,7 @@ components: format: uri description: The API URL to get the pull request where the secret was detected. examples: - - https://api.github.com/repos/octocat/Hello-World/pull/2846 + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url secret-scanning-location-pull-request-body: @@ -96000,7 +96003,7 @@ components: format: uri description: The API URL to get the pull request where the secret was detected. examples: - - https://api.github.com/repos/octocat/Hello-World/pull/2846 + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url secret-scanning-location-pull-request-comment: @@ -100623,11 +100626,21 @@ components: secret_type: type: string description: The type of secret that was detected - commits: + locations: type: array - description: The commits that introduced the secret + description: The location data of the secret that was detected items: - type: string + type: object + properties: + commit: + type: string + description: The commit SHA where the secret was detected + branch: + type: string + description: The branch where the secret was detected + path: + type: string + description: The path of the file where the secret was detected exemption-request-secret-scanning-metadata: title: Secret Scanning Push Protection Exemption Request Metadata description: Metadata for a secret scanning push protection exemption request. @@ -228264,7 +228277,7 @@ components: discussion_comment_url: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - type: pull_request_title details: - pull_request_title_url: https://api.github.com/repos/octocat/Hello-World/pull/2846 + pull_request_title_url: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - type: pull_request_body details: pull_request_body_url: https://api.github.com/repos/octocat/Hello-World/pulls/2846 @@ -234913,16 +234926,19 @@ components: type: integer api-insights-min-timestamp: name: min_timestamp - description: The minimum timestamp to query for stats + description: 'The minimum timestamp to query for stats. This is a timestamp + in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' in: query required: true schema: type: string api-insights-max-timestamp: name: max_timestamp - description: The maximum timestamp to query for stats + description: 'The maximum timestamp to query for stats. Defaults to the time + 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) + format: `YYYY-MM-DDTHH:MM:SSZ`.' in: query - required: true + required: false schema: type: string api-insights-route-stats-sort: