From 06a4e92a91c718f19b2dbe55da77e6c13d21d9ef Mon Sep 17 00:00:00 2001 From: WyriHaximus <147145+WyriHaximus@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:03:27 +0000 Subject: [PATCH] [GitHub] Update to 1.1.4-c03183a8896046a8cd867a6cab6116d9 from 1.1.4-7714c88ff6c09a4c649c225f5b2ccf5c Detected Schema changes: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` ├─┬Paths │ ├─┬/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id} │ │ └─┬GET │ │ ├─┬Parameters │ │ │ └──[🔀] description (226088:20) │ │ └─┬Parameters │ │ ├──[🔀] description (226095:20) │ │ └──[🔀] required (226097:17)❌ │ ├─┬/orgs/{org}/insights/api/summary-stats │ │ └─┬GET │ │ ├─┬Parameters │ │ │ ├──[🔀] description (226095:20) │ │ │ └──[🔀] required (226097:17)❌ │ │ └─┬Parameters │ │ └──[🔀] description (226088:20) │ ├─┬/orgs/{org}/insights/api/time-stats/users/{user_id} │ │ └─┬GET │ │ ├─┬Parameters │ │ │ └──[🔀] description (226088:20) │ │ └─┬Parameters │ │ ├──[🔀] description (226095:20) │ │ └──[🔀] required (226097:17)❌ │ ├─┬/orgs/{org}/insights/api/subject-stats │ │ └─┬GET │ │ ├─┬Parameters │ │ │ └──[🔀] description (226088:20) │ │ └─┬Parameters │ │ ├──[🔀] description (226095:20) │ │ └──[🔀] required (226097:17)❌ │ ├─┬/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id} │ │ └─┬GET │ │ ├─┬Parameters │ │ │ └──[🔀] description (226088:20) │ │ └─┬Parameters │ │ ├──[🔀] description (226095:20) │ │ └──[🔀] required (226097:17)❌ │ ├─┬/orgs/{org}/insights/api/summary-stats/users/{user_id} │ │ └─┬GET │ │ ├─┬Parameters │ │ │ ├──[🔀] description (226095:20) │ │ │ └──[🔀] required (226097:17)❌ │ │ └─┬Parameters │ │ └──[🔀] description (226088:20) │ ├─┬/orgs/{org}/insights/api/user-stats/{user_id} │ │ └─┬GET │ │ ├─┬Parameters │ │ │ └──[🔀] description (226088:20) │ │ └─┬Parameters │ │ ├──[🔀] description (226095:20) │ │ └──[🔀] required (226097:17)❌ │ ├─┬/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬default │ │ └──[🔀] value (219821:7) │ ├─┬/orgs/{org}/insights/api/time-stats │ │ └─┬GET │ │ ├─┬Parameters │ │ │ └──[🔀] description (226088:20) │ │ └─┬Parameters │ │ ├──[🔀] description (226095:20) │ │ └──[🔀] required (226097:17)❌ │ ├─┬/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id} │ │ └─┬GET │ │ ├─┬Parameters │ │ │ ├──[🔀] description (226095:20) │ │ │ └──[🔀] required (226097:17)❌ │ │ └─┬Parameters │ │ └──[🔀] description (226088:20) │ └─┬/repos/{owner}/{repo}/releases │ └─┬POST │ └─┬Requestbody │ └─┬application/json │ └─┬Schema │ └─┬make_latest │ └──[🔀] default (37740:28)❌ ├─┬custom-property-updated │ └─┬POST │ └─┬Extensions │ └──[🔀] x-github (50474:9) ├─┬custom-property-created │ └─┬POST │ └─┬Extensions │ └──[🔀] x-github (50344:9) ├─┬custom-property-deleted │ └─┬POST │ └─┬Extensions │ └──[🔀] x-github (50409:9) └─┬Components ├─┬secret-scanning-location-pull-request-title │ └─┬pull_request_title_url │ └──[🔀] examples (89082:13) ├─┬copilot-dotcom-chat │ └─┬models │ └─┬Schema │ └─┬name │ └──[🔀] description (69111:30) ├─┬secret-scanning-location-pull-request-body │ └─┬pull_request_body_url │ └──[🔀] examples (89096:13) ├─┬copilot-ide-code-completions │ └─┬editors │ └─┬Schema │ └─┬models │ └─┬Schema │ └─┬name │ └──[🔀] description (68979:36) ├─┬copilot-ide-chat │ └─┬editors │ └─┬Schema │ └─┬models │ └─┬Schema │ └─┬name │ └──[🔀] description (69064:36) └─┬copilot-dotcom-pull-requests └─┬repositories └─┬Schema └─┬models └─┬Schema └─┬name └──[🔀] description (69162:36) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 29 | 10 | | webhooks | 3 | 0 | | components | 6 | 0 | Date: 11/20/24 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml - ❌ **BREAKING Changes**: _10_ out of _38_ - **Modifications**: _38_ - **Breaking Modifications**: _10_ ERROR: breaking changes discovered --- .../GitHub/etc/openapi-client-generator.state | 106 +++++++++--------- .../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 +-- .../GitHub/src/Internal/Router/Get/Eight.php | 2 +- .../GitHub/src/Internal/Router/Get/Seven.php | 2 +- .../GitHub/src/Internal/Router/Get/Six.php | 2 +- .../src/Internal/Router/List/ApiInsights.php | 6 +- .../GitHub/src/Internal/Router/List/Eight.php | 2 +- .../GitHub/src/Internal/Router/List/Seven.php | 2 +- .../GitHub/src/Internal/Router/List/Six.php | 2 +- clients/GitHub/src/Operation/ApiInsights.php | 21 ++-- .../src/PHPStan/ClientCallReturnTypes.php | 24 ++-- .../GitHub/src/Schema/CopilotDotcomChat.php | 2 +- .../src/Schema/CopilotDotcomChat/Models.php | 4 +- .../src/Schema/CopilotDotcomPullRequests.php | 2 +- .../Repositories.php | 2 +- .../Repositories/Models.php | 4 +- clients/GitHub/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 +- .../CreateRelease/Request/ApplicationJson.php | 2 +- .../src/Schema/SecretScanningLocation.php | 4 +- .../SecretScanningLocationPullRequestBody.php | 4 +- ...SecretScanningLocationPullRequestTitle.php | 4 +- ...hookSecretScanningAlertLocationCreated.php | 4 +- .../tests/Types/ClientCallReturnTypes.php | 24 ++-- etc/specs/GitHub/current.spec.yaml | 36 +++--- 54 files changed, 183 insertions(+), 186 deletions(-) diff --git a/clients/GitHub/etc/openapi-client-generator.state b/clients/GitHub/etc/openapi-client-generator.state index 3d63d432e3e..513fd70577b 100644 --- a/clients/GitHub/etc/openapi-client-generator.state +++ b/clients/GitHub/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "7714c88ff6c09a4c649c225f5b2ccf5c", + "specHash": "c03183a8896046a8cd867a6cab6116d9", "generatedFiles": { "files": [ { @@ -1352,7 +1352,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanningLocation.php", - "hash": "1e47b6a5fac65805a970a60a6068b802" + "hash": "ca2cc14287c7400906d6bc6e97c922f9" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecurityAdvisoryEcosystems.php", @@ -2384,7 +2384,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertLocationCreated.php", - "hash": "3b3dc9976f6194aa462e67637e8f0948" + "hash": "40852605b8612314f1f1fee1a1fdfe6e" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertLocationCreatedFormEncoded.php", @@ -5296,7 +5296,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRelease\/Request\/ApplicationJson.php", - "hash": "8bbb44cd871936ff0f4e1eac903baac1" + "hash": "83d58b64dc6422acba92b7511725ae6d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateReleaseAsset\/Request\/ApplicationJson.php", @@ -24860,15 +24860,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "cad4365ea623b91d71b65377504095d1" + "hash": "7b1f441a44441c5bca596fd5f106d43c" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", - "hash": "025bbc0a0f6449b998880d880eb2fed5" + "hash": "9dc70596532354d31f415be62a81d61b" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php", - "hash": "3dca95be52846097223409b2f9926606" + "hash": "37094f76fdeaa04646bab6135a8f7bdb" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Nine.php", @@ -24964,15 +24964,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php", - "hash": "71625fca086e278619781593e380e8fb" + "hash": "9812269e81564353be3fc1d6da6f2fba" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php", - "hash": "8d182326244702f6bb410dd6fb0ac9b1" + "hash": "67751622c45a52cdc05fc38bc3fbb6fd" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Eight.php", - "hash": "9aca9c730a1e32ff37bb817fb1db5454" + "hash": "50b0aae5cf5d664d36f0080f508b4ac2" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Ten.php", @@ -27640,11 +27640,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "bd81aa4582ee720aa9dada541bc1ff66" + "hash": "f66de6508dabcdcdec382a8723650d09" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "a1d23a8f5baa19ef387a0224ea0f427e" + "hash": "bd1c4a74621567f3453a2495b7eac5fa" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -28388,11 +28388,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanningLocationPullRequestTitle.php", - "hash": "513f065fcd946b42ad3902afabf9efd3" + "hash": "6eebe1c7e4788bcc2370daf892c5d5db" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanningLocationPullRequestBody.php", - "hash": "aefddb6064102b909aa3f0a63c3c23bd" + "hash": "e3e1915015c8045f9688c1c63efb6f8b" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanningLocationPullRequestComment.php", @@ -30724,23 +30724,23 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotIdeCodeCompletions.php", - "hash": "cbb356d737bf5e0900da19ae566b9401" + "hash": "ee7e0aa235045fdfb9b46ab02c1edc44" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotIdeChat.php", - "hash": "07eae63bdb39afff7422c8d9010e1ef8" + "hash": "4f9d79cc028d8ff1a03cae0137355268" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotDotcomChat.php", - "hash": "e58931f4bfabd1ae146c0f87871984a1" + "hash": "376fb8e2768f8ca737564289a4daff10" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotDotcomPullRequests.php", - "hash": "3bb2dbca3c4f63c37f1d96fdc918c4d9" + "hash": "fb7a994373d1230e6f4aec1f962c1698" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotUsageMetricsDay.php", - "hash": "e67f119e5f1587a1bc59a36f5f6909e8" + "hash": "699a25a7d01ac976f72289325d79b193" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotIdeCodeCompletions\/Languages.php", @@ -30748,11 +30748,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotIdeCodeCompletions\/Editors.php", - "hash": "be6a98f5c5b59230fdc034d0360be4fd" + "hash": "f97e888a518f3e05b3d97cd93f4f7212" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotIdeCodeCompletions\/Editors\/Models.php", - "hash": "f7faf46d0e7dae726dc35247197af397" + "hash": "54693b2aa2b2d8522ed9b8921c31610d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotIdeCodeCompletions\/Editors\/Models\/Languages.php", @@ -30760,23 +30760,23 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotIdeChat\/Editors.php", - "hash": "4923208c1c44e07ccbeed505aa864bfc" + "hash": "d2c6357bd8ceb07566625d678d9841da" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotIdeChat\/Editors\/Models.php", - "hash": "4b4a355950e8f8a4ab22984faeb69d27" + "hash": "c553fdbb3c1a85cc6883dad3dddd47c2" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotDotcomChat\/Models.php", - "hash": "a90b60695d9ef3a953f17e075c904a4a" + "hash": "e3c243b711e539dc47dedac3f9818049" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotDotcomPullRequests\/Repositories.php", - "hash": "7793cded23c157f9b2e584efa72ffbef" + "hash": "8f004b77551d5fae6de86b8799fa30b6" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotDotcomPullRequests\/Repositories\/Models.php", - "hash": "382068e789c1d8685c7cd034ce61ff0c" + "hash": "30dd05590298e7bb152f9451d8801fd8" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Copilot\/Metrics.php", @@ -30808,11 +30808,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActor.php", - "hash": "b6749e4e332f0ae39e0bc8acb19cc594" + "hash": "180ee5c12a7f7a4f58763309c25cc523" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetRouteStatsByActor.php", - "hash": "9cd55e081f90294fa66bedc3a8e624af" + "hash": "d4c268f744b5ae9132327889ee93da57" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActorTest.php", @@ -30820,11 +30820,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActorListing.php", - "hash": "8d70c96384e2256609704c58915f38b8" + "hash": "9396ce173025dfabfc9957603fde165b" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetRouteStatsByActorListing.php", - "hash": "e55c6f8caeed3455d0e65d784742a9c2" + "hash": "81db61911d3da3073f923d5b0a8f01b0" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetRouteStatsByActorListingTest.php", @@ -30832,11 +30832,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetSubjectStats.php", - "hash": "3bb25c5f478e272f3624786904489370" + "hash": "ade4b32266e961bfa9bf623c9647dcc8" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSubjectStats.php", - "hash": "8f82f7bbdbd9c4d1c2c301f6b0f2fbe3" + "hash": "bb856ed9f9548dd1b047ed3366411ac3" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSubjectStatsTest.php", @@ -30844,11 +30844,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetSubjectStatsListing.php", - "hash": "c245170bf28b825df98ebb4e05c4e077" + "hash": "5ce0f66c46b508f861d426f460dfc602" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSubjectStatsListing.php", - "hash": "6e215466323d2e9913c6d1edcc43a819" + "hash": "4ff547c393a644a463ff6c00d034a23f" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSubjectStatsListingTest.php", @@ -30856,11 +30856,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetSummaryStats.php", - "hash": "c7ff531f6f644ed2fcb43985c4112cc3" + "hash": "18c3c5d995ec7a86ad20b07ba29f8766" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSummaryStats.php", - "hash": "ca9036b6f98f4e1a110f99f6aacfdd42" + "hash": "52f2accff993f35ee26675d0a80f2f92" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSummaryStatsTest.php", @@ -30868,11 +30868,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetSummaryStatsByUser.php", - "hash": "0dcfeaed97ccf1b2addb343c93ddf8ec" + "hash": "dea8c82bbce420900f2be89156c72dda" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSummaryStatsByUser.php", - "hash": "37a2c9808021f2ced7b540affd767b6e" + "hash": "d297ee62008f3108fd68b680a812ca5c" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSummaryStatsByUserTest.php", @@ -30880,11 +30880,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetSummaryStatsByActor.php", - "hash": "d29380b566ae009b450ce21bf34b2e4a" + "hash": "ab7ab5ab6d6a2a58cfed482497b462e7" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetSummaryStatsByActor.php", - "hash": "fb817fdf2f908d0a5d69bba62ac3df57" + "hash": "ba0ad561745834d9a78cedbc87c730ea" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetSummaryStatsByActorTest.php", @@ -30892,11 +30892,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetTimeStats.php", - "hash": "08917990450c1fc21e0a88d6f526370c" + "hash": "89f82698395ff389914992c0a4e85818" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetTimeStats.php", - "hash": "b46dcf0b1f9b1f0c5bc60d42eb1e2a24" + "hash": "de7c1babf39d22d3fd4f1555905fc960" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetTimeStatsTest.php", @@ -30904,11 +30904,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetTimeStatsByUser.php", - "hash": "2fbd03b6695c712c3a386fd9284e8e58" + "hash": "97f7267b2e28969281179e6a21d23488" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetTimeStatsByUser.php", - "hash": "84ae4564cefc8c1823d04b08e31abc28" + "hash": "8045d95d4024779268593210dcc838d7" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetTimeStatsByUserTest.php", @@ -30916,11 +30916,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetTimeStatsByActor.php", - "hash": "117497c2982a36f2268915156e220652" + "hash": "eb73da111604de09b05536e10c98af21" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetTimeStatsByActor.php", - "hash": "e5770136e9e0378f6e1c7cefc5b113e1" + "hash": "70377d40f16d66dd091b93395cb310a6" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetTimeStatsByActorTest.php", @@ -30928,11 +30928,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetUserStats.php", - "hash": "f9fedf2d41ba73c0556f86ad084c1ca0" + "hash": "e20039dc37837e21bb0ae2a34e998ef6" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetUserStats.php", - "hash": "34e57c1778587180890c7817c1777d33" + "hash": "133fcd00ebbe58d2379338f1e1bf2f6f" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetUserStatsTest.php", @@ -30940,11 +30940,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/ApiInsights\/GetUserStatsListing.php", - "hash": "36d2dba9115bf3d09b06f6de3b185571" + "hash": "1de972d403fbbe654d6e4188f30d57a9" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/ApiInsights\/GetUserStatsListing.php", - "hash": "a677f87cb5586815f71bb7e6ca33531a" + "hash": "bc3094654aa3f14ef788e6253d0172e6" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/ApiInsights\/GetUserStatsListingTest.php", @@ -30972,15 +30972,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/ApiInsights.php", - "hash": "6d5a962542daa2df7d7260c85a7a2d13" + "hash": "1fca596246826889b43466dfaa65ca5d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/ApiInsights.php", - "hash": "23a52212777a55d49faa33c1cbf8932e" + "hash": "133cab72347c3bcdd48daba79337dde6" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/ApiInsights.php", - "hash": "ac590892e3050454bca47ddcecd45298" + "hash": "abf376a1022c40e61b1a4156232f7680" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Insights\/Api\/SummaryStats.php", diff --git a/clients/GitHub/src/Internal/Operation/ApiInsights/GetRouteStatsByActor.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetRouteStatsByActor.php index b49b3665232..3ac7f413e79 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetRouteStatsByActor.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetRouteStatsByActorListing.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetRouteStatsByActorListing.php index 8cf5ffd3eab..86999cccc4f 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetRouteStatsByActorListing.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetSubjectStats.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetSubjectStats.php index 9e2aca9bb86..4889176735a 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetSubjectStats.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetSubjectStatsListing.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetSubjectStatsListing.php index 8ea9cc71f39..8f50b1459b8 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetSubjectStatsListing.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStats.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStats.php index 6c7a2077640..dd10dd9b3f0 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStats.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStatsByActor.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStatsByActor.php index 91153d612e9..947fbebf323 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStatsByActor.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStatsByUser.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStatsByUser.php index af53d8cbcb8..6b5d9109b6f 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetSummaryStatsByUser.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetTimeStats.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetTimeStats.php index 186f9f478b7..bed0fc15645 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetTimeStats.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetTimeStatsByActor.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetTimeStatsByActor.php index 7c021e887c1..8ba6e4fb07b 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetTimeStatsByActor.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetTimeStatsByUser.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetTimeStatsByUser.php index eca3f2262ea..f1abf5ae673 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetTimeStatsByUser.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetUserStats.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetUserStats.php index 1f35cc466c1..1faa3e4127b 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetUserStats.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operation/ApiInsights/GetUserStatsListing.php b/clients/GitHub/src/Internal/Operation/ApiInsights/GetUserStatsListing.php index 1a28efed5f2..ff5f0c6f26f 100644 --- a/clients/GitHub/src/Internal/Operation/ApiInsights/GetUserStatsListing.php +++ b/clients/GitHub/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/GitHub/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php index 7269b79d3c0..6895758d6f3 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetRouteStatsByActor.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetRouteStatsByActor($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php index 2815e0d203c..4f9d4c83f13 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetRouteStatsByActorListing.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetRouteStatsByActorListing($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetSubjectStats.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetSubjectStats.php index c89c02da68b..58a610bcd85 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetSubjectStats.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetSubjectStats($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php index f226ccddf15..32b12e4ad07 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetSubjectStatsListing.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetSubjectStatsListing($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStats.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStats.php index c966608250e..771d6bbe69a 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStats.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetSummaryStats($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStatsByActor.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStatsByActor.php index 09fc1163501..f980b3aa240 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStatsByActor.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetSummaryStatsByActor($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $actorType, $actorId); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStatsByUser.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStatsByUser.php index 36add2b82aa..ab9b5057fc8 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetSummaryStatsByUser.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetSummaryStatsByUser($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStats.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStats.php index 0f185c2be17..e667da11274 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStats.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetTimeStats($this->responseSchemaValidator, $this->hydrator, $org, $minTimestamp, $maxTimestamp, $timestampIncrement); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStatsByActor.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStatsByActor.php index c270d9f8de2..b3b2b36d739 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStatsByActor.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetTimeStatsByActor($this->responseSchemaValidator, $this->hydrator, $org, $actorType, $actorId, $minTimestamp, $maxTimestamp, $timestampIncrement); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStatsByUser.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStatsByUser.php index adf16bef235..2482b975da0 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetTimeStatsByUser.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetTimeStatsByUser($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $timestampIncrement); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetUserStats.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetUserStats.php index 41d83e08275..5e1f331b334 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetUserStats.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetUserStats($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHub/src/Internal/Operator/ApiInsights/GetUserStatsListing.php b/clients/GitHub/src/Internal/Operator/ApiInsights/GetUserStatsListing.php index 87ff53b8aae..3564910caa9 100644 --- a/clients/GitHub/src/Internal/Operator/ApiInsights/GetUserStatsListing.php +++ b/clients/GitHub/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\GitHub\Internal\Operation\ApiInsights\GetUserStatsListing($this->responseSchemaValidator, $this->hydrator, $org, $userId, $minTimestamp, $maxTimestamp, $sort, $page, $perPage, $direction); diff --git a/clients/GitHub/src/Internal/Router/Get/ApiInsights.php b/clients/GitHub/src/Internal/Router/Get/ApiInsights.php index 375cecc668c..27718c848bd 100644 --- a/clients/GitHub/src/Internal/Router/Get/ApiInsights.php +++ b/clients/GitHub/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/GitHub/src/Internal/Router/Get/Eight.php b/clients/GitHub/src/Internal/Router/Get/Eight.php index 5c5d697bcde..a627e6d28fc 100644 --- a/clients/GitHub/src/Internal/Router/Get/Eight.php +++ b/clients/GitHub/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\GitHub\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|WorkflowRunUsage|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|WorkflowUsage|ProtectedBranchAdminEnforced|ProtectedBranchPullRequestReview|StatusCheckPolicy|BranchRestrictionPolicy|CodeScanningCodeqlDatabase|CodeScanningVariantAnalysis|DeploymentStatus|DeploymentBranchPolicy|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\Response\ApplicationJson\Ok|DeploymentProtectionRule|ActionsPublicKey|ActionsSecret|ActionsVariable|HookDelivery|PullRequestReview { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Get/Seven.php b/clients/GitHub/src/Internal/Router/Get/Seven.php index a8637e9b33c..8bb82f2bfd1 100644 --- a/clients/GitHub/src/Internal/Router/Get/Seven.php +++ b/clients/GitHub/src/Internal/Router/Get/Seven.php @@ -63,7 +63,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): iterable|OidcCustomSub|Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersInGroupForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListLabelsForSelfHostedRunnerForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|Json|WithoutBody|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|HookDelivery|TeamDiscussion|TeamMembership|TeamProject|Artifact|ActionsCacheUsageByRepository|Job|ActionsWorkflowAccessToRepository|SelectedActions|ActionsGetDefaultWorkflowPermissions|Runner|WorkflowRun|ActionsPublicKey|ActionsSecret|ActionsVariable|Workflow|BranchProtection|\ApiClients\Client\GitHub\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|CodeScanningAlert|CodeScanningAnalysis|CodeScanningSarifsStatus|CodespacesPublicKey|RepoCodespacesSecret|RepositoryCollaboratorPermission|\ApiClients\Client\GitHub\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|CombinedCommitStatus|BasicError|DependabotAlert|DependabotPublicKey|DependabotSecret|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListEnvironmentSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\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|TeamDiscussionComment|PackageVersion { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Get/Six.php b/clients/GitHub/src/Internal/Router/Get/Six.php index 950df511505..81d30601de9 100644 --- a/clients/GitHub/src/Internal/Router/Get/Six.php +++ b/clients/GitHub/src/Internal/Router/Get/Six.php @@ -76,7 +76,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): Ok|iterable|ActionsCacheUsageOrgEnterprise|\ApiClients\Client\GitHub\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|RunnerGroupsOrg|Runner|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|WithoutBody|CodeSecurityConfiguration|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHub\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|ApiInsightsSummaryStats|Json|CopilotSeatDetails|Package|CustomProperty|RuleSuite|ActionsBillingUsage|PackagesBillingUsage|CombinedBillingUsage|ProjectCollaboratorPermission|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\PreFlightWithRepoForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|CommitComment|Commit|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|PagesHealthCheck|EmptyObject|PullRequest|Release|RepositoryRuleset|RepositoryAdvisory|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|CloneTraffic|ViewTraffic|TeamRepository|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceExportDetails { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/List/ApiInsights.php b/clients/GitHub/src/Internal/Router/List/ApiInsights.php index bdbbf8740f8..0fc8038500e 100644 --- a/clients/GitHub/src/Internal/Router/List/ApiInsights.php +++ b/clients/GitHub/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/GitHub/src/Internal/Router/List/Eight.php b/clients/GitHub/src/Internal/Router/List/Eight.php index 9292bfd92c4..5843a2ee94c 100644 --- a/clients/GitHub/src/Internal/Router/List/Eight.php +++ b/clients/GitHub/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/GitHub/src/Internal/Router/List/Seven.php b/clients/GitHub/src/Internal/Router/List/Seven.php index 4fe1f14988d..8077b5bec4a 100644 --- a/clients/GitHub/src/Internal/Router/List/Seven.php +++ b/clients/GitHub/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/GitHub/src/Internal/Router/List/Six.php b/clients/GitHub/src/Internal/Router/List/Six.php index 15771a2e3fb..ab1b6ca29b2 100644 --- a/clients/GitHub/src/Internal/Router/List/Six.php +++ b/clients/GitHub/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/GitHub/src/Operation/ApiInsights.php b/clients/GitHub/src/Operation/ApiInsights.php index 8244973b634..68ffed28f43 100644 --- a/clients/GitHub/src/Operation/ApiInsights.php +++ b/clients/GitHub/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/GitHub/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php index 159c478c298..6782e9c4a2f 100644 --- a/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php @@ -1000,51 +1000,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/GitHub/src/Schema/CopilotDotcomChat.php b/clients/GitHub/src/Schema/CopilotDotcomChat.php index 0974ee4e1aa..e0aa1c610d7 100644 --- a/clients/GitHub/src/Schema/CopilotDotcomChat.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotDotcomChat/Models.php b/clients/GitHub/src/Schema/CopilotDotcomChat/Models.php index 0a01694e9b8..4c2cf5efa33 100644 --- a/clients/GitHub/src/Schema/CopilotDotcomChat/Models.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotDotcomPullRequests.php b/clients/GitHub/src/Schema/CopilotDotcomPullRequests.php index b0b8993fe49..922a78d4895 100644 --- a/clients/GitHub/src/Schema/CopilotDotcomPullRequests.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotDotcomPullRequests/Repositories.php b/clients/GitHub/src/Schema/CopilotDotcomPullRequests/Repositories.php index 4105f225ff5..3c1da3f26a9 100644 --- a/clients/GitHub/src/Schema/CopilotDotcomPullRequests/Repositories.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotDotcomPullRequests/Repositories/Models.php b/clients/GitHub/src/Schema/CopilotDotcomPullRequests/Repositories/Models.php index 068aef63860..ebe065211d5 100644 --- a/clients/GitHub/src/Schema/CopilotDotcomPullRequests/Repositories/Models.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotIdeChat.php b/clients/GitHub/src/Schema/CopilotIdeChat.php index 04f10f85d96..597482a2900 100644 --- a/clients/GitHub/src/Schema/CopilotIdeChat.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotIdeChat/Editors.php b/clients/GitHub/src/Schema/CopilotIdeChat/Editors.php index c166dea7095..5eba4d92c66 100644 --- a/clients/GitHub/src/Schema/CopilotIdeChat/Editors.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotIdeChat/Editors/Models.php b/clients/GitHub/src/Schema/CopilotIdeChat/Editors/Models.php index 80eb55fd7a6..cb7a227b993 100644 --- a/clients/GitHub/src/Schema/CopilotIdeChat/Editors/Models.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotIdeCodeCompletions.php b/clients/GitHub/src/Schema/CopilotIdeCodeCompletions.php index 6199b107ac4..ab31f946309 100644 --- a/clients/GitHub/src/Schema/CopilotIdeCodeCompletions.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotIdeCodeCompletions/Editors.php b/clients/GitHub/src/Schema/CopilotIdeCodeCompletions/Editors.php index f4cd90f2b4e..01d0edbb962 100644 --- a/clients/GitHub/src/Schema/CopilotIdeCodeCompletions/Editors.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotIdeCodeCompletions/Editors/Models.php b/clients/GitHub/src/Schema/CopilotIdeCodeCompletions/Editors/Models.php index 04a9a89a9d1..127da08d7a4 100644 --- a/clients/GitHub/src/Schema/CopilotIdeCodeCompletions/Editors/Models.php +++ b/clients/GitHub/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/GitHub/src/Schema/CopilotUsageMetricsDay.php b/clients/GitHub/src/Schema/CopilotUsageMetricsDay.php index 3fd34399df0..2ea7781a1fc 100644 --- a/clients/GitHub/src/Schema/CopilotUsageMetricsDay.php +++ b/clients/GitHub/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/GitHub/src/Schema/Repos/CreateRelease/Request/ApplicationJson.php b/clients/GitHub/src/Schema/Repos/CreateRelease/Request/ApplicationJson.php index 8e3be6100f1..d13cb37d1ba 100644 --- a/clients/GitHub/src/Schema/Repos/CreateRelease/Request/ApplicationJson.php +++ b/clients/GitHub/src/Schema/Repos/CreateRelease/Request/ApplicationJson.php @@ -57,7 +57,7 @@ ], "type": "string", "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", - "default": true + "default": "true" } } }'; diff --git a/clients/GitHub/src/Schema/SecretScanningLocation.php b/clients/GitHub/src/Schema/SecretScanningLocation.php index ebd1917e2d1..cb93b3d676c 100644 --- a/clients/GitHub/src/Schema/SecretScanningLocation.php +++ b/clients/GitHub/src/Schema/SecretScanningLocation.php @@ -279,7 +279,7 @@ "description": "The API URL to get the pull request where the secret was detected.", "format": "uri", "examples": [ - "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pull\\/2846" + "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pulls\\/2846" ] } }, @@ -296,7 +296,7 @@ "description": "The API URL to get the pull request where the secret was detected.", "format": "uri", "examples": [ - "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pull\\/2846" + "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pulls\\/2846" ] } }, diff --git a/clients/GitHub/src/Schema/SecretScanningLocationPullRequestBody.php b/clients/GitHub/src/Schema/SecretScanningLocationPullRequestBody.php index e2016814a1d..2dab84a08a9 100644 --- a/clients/GitHub/src/Schema/SecretScanningLocationPullRequestBody.php +++ b/clients/GitHub/src/Schema/SecretScanningLocationPullRequestBody.php @@ -19,7 +19,7 @@ "description": "The API URL to get the pull request where the secret was detected.", "format": "uri", "examples": [ - "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pull\\/2846" + "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pulls\\/2846" ] } }, @@ -28,7 +28,7 @@ public const SCHEMA_TITLE = ''; public const SCHEMA_DESCRIPTION = 'Represents a \'pull_request_body\' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.'; public const SCHEMA_EXAMPLE_DATA = '{ - "pull_request_body_url": "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pull\\/2846" + "pull_request_body_url": "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pulls\\/2846" }'; /** diff --git a/clients/GitHub/src/Schema/SecretScanningLocationPullRequestTitle.php b/clients/GitHub/src/Schema/SecretScanningLocationPullRequestTitle.php index 0f37c452e9e..470580498d2 100644 --- a/clients/GitHub/src/Schema/SecretScanningLocationPullRequestTitle.php +++ b/clients/GitHub/src/Schema/SecretScanningLocationPullRequestTitle.php @@ -19,7 +19,7 @@ "description": "The API URL to get the pull request where the secret was detected.", "format": "uri", "examples": [ - "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pull\\/2846" + "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pulls\\/2846" ] } }, @@ -28,7 +28,7 @@ public const SCHEMA_TITLE = ''; public const SCHEMA_DESCRIPTION = 'Represents a \'pull_request_title\' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.'; public const SCHEMA_EXAMPLE_DATA = '{ - "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" }'; /** diff --git a/clients/GitHub/src/Schema/WebhookSecretScanningAlertLocationCreated.php b/clients/GitHub/src/Schema/WebhookSecretScanningAlertLocationCreated.php index dbb23584176..1e88ede3386 100644 --- a/clients/GitHub/src/Schema/WebhookSecretScanningAlertLocationCreated.php +++ b/clients/GitHub/src/Schema/WebhookSecretScanningAlertLocationCreated.php @@ -982,7 +982,7 @@ "description": "The API URL to get the pull request where the secret was detected.", "format": "uri", "examples": [ - "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pull\\/2846" + "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pulls\\/2846" ] } }, @@ -999,7 +999,7 @@ "description": "The API URL to get the pull request where the secret was detected.", "format": "uri", "examples": [ - "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pull\\/2846" + "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/pulls\\/2846" ] } }, diff --git a/clients/GitHub/tests/Types/ClientCallReturnTypes.php b/clients/GitHub/tests/Types/ClientCallReturnTypes.php index 1319ecd19f0..4428278e662 100644 --- a/clients/GitHub/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHub/tests/Types/ClientCallReturnTypes.php @@ -256,18 +256,18 @@ function authHeader(): string assertType('', $client->call('GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}')); assertType('', $client->call('POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts')); assertType('', $client->call('POST /orgs/{org}/hooks/{hook_id}/pings')); -assertType('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/GitHub/current.spec.yaml b/etc/specs/GitHub/current.spec.yaml index a47ddac69ae..96006d7f1bf 100644 --- a/etc/specs/GitHub/current.spec.yaml +++ b/etc/specs/GitHub/current.spec.yaml @@ -37737,7 +37737,7 @@ paths: - 'true' - 'false' - legacy - default: true + default: 'true' required: - tag_name examples: @@ -50345,6 +50345,7 @@ webhooks: category: webhooks subcategory: custom_property supported-webhook-types: + - business - organization - app custom-property-deleted: @@ -50410,6 +50411,7 @@ webhooks: category: webhooks subcategory: custom_property supported-webhook-types: + - business - organization - app custom-property-updated: @@ -50475,6 +50477,7 @@ webhooks: category: webhooks subcategory: custom_property supported-webhook-types: + - business - organization - app custom-property-values-updated: @@ -68976,8 +68979,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. @@ -69061,8 +69064,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. @@ -69108,8 +69111,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. @@ -69159,8 +69162,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. @@ -89079,7 +89082,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: @@ -89093,7 +89096,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: @@ -219860,7 +219863,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 @@ -226085,16 +226088,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: