diff --git a/clients/GitHub/README.md b/clients/GitHub/README.md index fcbc6c66b3e..ddd7c13b233 100644 --- a/clients/GitHub/README.md +++ b/clients/GitHub/README.md @@ -9715,6 +9715,30 @@ $client->operations()->actions()->reviewCustomGatesForRun( owner: 'genera You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run). +### actions/force-cancel-workflow-run + +Force cancel a workflow run + +Using the `call` method: +```php +$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel', [ + 'owner' => 'generated', + 'repo' => 'generated', + 'run_id' => 6, +]); +``` + +Operations method: +```php +$client->operations()->actions()->forceCancelWorkflowRun( owner: 'generated', + repo: 'generated', + run_id: 6, +); +``` + +You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run). + + ### actions/list-jobs-for-workflow-run List jobs for a workflow run diff --git a/clients/GitHub/etc/openapi-client-generator.state b/clients/GitHub/etc/openapi-client-generator.state index f3129fd11c9..940ec5c46b9 100644 --- a/clients/GitHub/etc/openapi-client-generator.state +++ b/clients/GitHub/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "89e57817e371230a5fc9246a770d5064", + "specHash": "3a65313f38dc50db9634434686a9f27d", "generatedFiles": { "files": [ { @@ -552,15 +552,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleRequiredLinearHistory.php", - "hash": "0ff48c1ee7fe8b42734cd73bd4a56f73" + "hash": "bb102a5626af451568eda9f1f8d40dcc" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleRequiredDeployments.php", - "hash": "c9e9d9aab9be2b1b177585000333b4fd" + "hash": "0d1e873edbe6019be373a2e71952c370" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleRequiredSignatures.php", - "hash": "3fd0e5c2af3d553066967c8cd356a8d0" + "hash": "b69cbf0503b4f5f83c3ed6bc2d97a038" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest.php", @@ -572,11 +572,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleRequiredStatusChecks.php", - "hash": "f78ca8e23061477d2fee5dffad070b0b" + "hash": "d07ad0ff0e8c940ca4d438478c074329" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleNonFastForward.php", - "hash": "bd4273c317a42e2992768794cb7f92ea" + "hash": "d4ea537f5a1444adfa3cab7581b9b39e" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleCommitMessagePattern.php", @@ -600,11 +600,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRule.php", - "hash": "99f3eb18191cd6c8c71ca6400298c957" + "hash": "5d691f3bb7f2303aa225bd81a76859bb" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php", - "hash": "00c537be6f5793ae749cc8661d875f13" + "hash": "3b27e25c792abff1a7aec468d9a93c1c" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ActionsBillingUsage.php", @@ -1052,7 +1052,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Environment.php", - "hash": "2da54b49958ce7ab1df5800c331b1d1d" + "hash": "0a21c63d905edc0c0f2700e83c9e0f54" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DeploymentBranchPolicy.php", @@ -3052,7 +3052,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Environment\/ProtectionRules\/One.php", - "hash": "15dfe8a72864d2c5a39eec4c22524cb8" + "hash": "184801d5db68857e7e452c6393e56a54" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Environment\/ProtectionRules\/Two.php", @@ -4832,11 +4832,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php", - "hash": "b42b727ddd680e06b7ded4467b7f56ec" + "hash": "fe1fef454928bc8e219c9b27113c9945" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php", - "hash": "f62b64cb461150951772234e731ef467" + "hash": "2ef1f322264ca07948f557e02554bdaa" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php", @@ -5244,7 +5244,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Repos\/GetAllEnvironments\/Response\/ApplicationJson\/Ok.php", - "hash": "a8bcc48776655cf44eea422734f6f429" + "hash": "71d6dde13acc7e44502c7df678acffe8" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrUpdateEnvironment\/Request\/ApplicationJson.php", @@ -5544,11 +5544,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php", - "hash": "4d8ebe920899180bbf875791c7afb196" + "hash": "a299d638a8621ae91f4ac059ddecd36e" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php", - "hash": "ae63b9cc5f076741c26a8d20ae90f733" + "hash": "3e734b662315a0cbbf3a6bc37bdc3dea" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php", @@ -5724,11 +5724,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/ClientInterface.php", - "hash": "5b5927bcf866f28f61e5f5eca9ea5aab" + "hash": "7f03638519633008def81306eac04528" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Client.php", - "hash": "e3b3d9e8794b5cb81d3754266d3943d2" + "hash": "4f91f4c1b5b4d445fabc065d68aa7ab4" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/OperationsInterface.php", @@ -5784,11 +5784,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Orgs.php", - "hash": "dfa7cd6180b0be5c0e76cef5f38ac666" + "hash": "8a439827b1c7f063bcddf05e01996207" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Actions.php", - "hash": "bab2e8c1e5b8f7d463eb5c62a3c523c6" + "hash": "bab406e3e3c6e2b5eb7b14b4ed33a708" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Oidc.php", @@ -5820,7 +5820,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php", - "hash": "5f7b337da116882133c6663c4de721df" + "hash": "5bb4de814b90356afdcc04730d782f71" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php", @@ -13512,7 +13512,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleDetailed.php", - "hash": "dd892965b71b92271b325304e29be8f1" + "hash": "c4a4751885274b0fad1668757fe3f273" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotSeatBreakdown.php", @@ -13684,15 +13684,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php", - "hash": "76e7d1abab35695c67fe4f788db8ccd9" + "hash": "db350a2d9dfcece4ffdc2ba1e17ce832" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php", - "hash": "11d23e0244a011dd1d189d72778615bc" + "hash": "8bcd3e9ff9d0311dc5e433fda64b7e86" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php", - "hash": "80c4435a53c7634d8330c734c3148444" + "hash": "adb6c1ae48e08282275726caa6b8b16f" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookDeploymentReviewApproved\/Reviewers\/Reviewer.php", @@ -13972,7 +13972,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes.php", - "hash": "cb0fdfba40331bf3f9b7995ce3824d0b" + "hash": "0e0f54ceb0f6568e3d4cdaa1c50b28ce" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Conditions.php", @@ -14000,11 +14000,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules.php", - "hash": "6d62ca9d08c846d4bd78187a9fa99539" + "hash": "fb1ecca859eedb4beb29e96020c1388d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated.php", - "hash": "c035a71351e012e9356a002ec7a0c558" + "hash": "d991a1d3f8a4fbf7a77a4483313f026a" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Changes.php", @@ -16172,11 +16172,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/GetWebhook.php", - "hash": "a29fb69a6a3718ca01d0b19144e0d288" + "hash": "51430174cfccdb8081f50c24b747b2f3" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/GetWebhook.php", - "hash": "d711e33d995b706028f989791959a591" + "hash": "b55f00420fcee5f85c2c9ee519efd9c7" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/GetWebhookTest.php", @@ -16184,7 +16184,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/DeleteWebhook.php", - "hash": "a7bee91028d7d0457f5ce632148e180a" + "hash": "8a45f3d8bd6ee5a838378b2208939b26" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/DeleteWebhook.php", @@ -16196,11 +16196,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/UpdateWebhook.php", - "hash": "10c44229b30f113e2a4c914c40d13dc2" + "hash": "8206e1e141b08bef2669c55727f71bec" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/UpdateWebhook.php", - "hash": "05b5ed967be3a135e0797c0db15d9279" + "hash": "e9b3615ef57a54648361c451561b30b0" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/UpdateWebhookTest.php", @@ -16208,11 +16208,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/GetWebhookConfigForOrg.php", - "hash": "6bd8f6e44d28654675ffe775dffdbe87" + "hash": "aaf0daf16288c34d15f1e4fc45bde06b" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/GetWebhookConfigForOrg.php", - "hash": "c4d14239d59473c0d2c8f6da6bdbaf9f" + "hash": "4acdfd9999b9e6b773d0dfbe5e75b321" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/GetWebhookConfigForOrgTest.php", @@ -16220,11 +16220,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/UpdateWebhookConfigForOrg.php", - "hash": "0f3402192ddf0ef346cd3dfd8b9cd838" + "hash": "cdfc5860098091293288ceccd4436de0" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/UpdateWebhookConfigForOrg.php", - "hash": "5846460b06b1d6f1fdc8706b8bb83061" + "hash": "ba975fa5d5c1765b53d51cb7965a97c6" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/UpdateWebhookConfigForOrgTest.php", @@ -16232,11 +16232,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/ListWebhookDeliveries.php", - "hash": "1da689b1155ea367c882443e7be95dd0" + "hash": "7346545c80ddb3731cd7c6c00588a31b" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListWebhookDeliveries.php", - "hash": "520d7744fba9a7cda3b42de0278490bf" + "hash": "73d2bb30460a571d31cd48d95f4997ac" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListWebhookDeliveriesTest.php", @@ -16244,11 +16244,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/GetWebhookDelivery.php", - "hash": "4f899dbe1fa8647951024a99f52b9324" + "hash": "4e3aafb67dbad2dd61ff49ec49532529" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/GetWebhookDelivery.php", - "hash": "cea12ebafa745b98de5a21fc8ae2719b" + "hash": "88b7dc4f696253591098a7bc675170d9" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/GetWebhookDeliveryTest.php", @@ -16256,11 +16256,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/RedeliverWebhookDelivery.php", - "hash": "9408b76e6da578525a264eaa968ae70a" + "hash": "9d6b2326a87031567ae222b18705f9da" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/RedeliverWebhookDelivery.php", - "hash": "ae152a77d86d53b5f3dd384dfcebf1a5" + "hash": "c4d42fa448152e48622c4e5e78654075" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/RedeliverWebhookDeliveryTest.php", @@ -16268,7 +16268,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/PingWebhook.php", - "hash": "cbfbed999cec8371c7f6c20cbcbae9ed" + "hash": "ed54b90e5da7ca7237440f9ff5ee7ee5" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/PingWebhook.php", @@ -21032,11 +21032,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/GetWebhook.php", - "hash": "608896a4d95f8a6f6605c77626a5380e" + "hash": "4a3339b614690ee74df7875de1b71776" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetWebhook.php", - "hash": "61879e892d317b464814f370b79323ac" + "hash": "cff0bc09019f248787da68d1fe7adf3e" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetWebhookTest.php", @@ -21044,7 +21044,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/DeleteWebhook.php", - "hash": "8fafeec86f752f5d888682fde218428f" + "hash": "c99455b4d6a63bb6d9bdca9bec8306a4" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/DeleteWebhook.php", @@ -21056,11 +21056,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/UpdateWebhook.php", - "hash": "fb9c9afb0e83fe8cb4dde69cf063f312" + "hash": "599ec928da65b31972f09a971428b2a1" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/UpdateWebhook.php", - "hash": "06e97bfb75d560c1b76186036cc461a2" + "hash": "5e64cf4c09f4689060c94d5c4749081b" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/UpdateWebhookTest.php", @@ -21068,11 +21068,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/GetWebhookConfigForRepo.php", - "hash": "81c287b7cce212426bc6dd813aae5848" + "hash": "d00854ae73737d53d37ff5c1772eec8f" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetWebhookConfigForRepo.php", - "hash": "29f3ca81dc271b08a071dd6437bb7928" + "hash": "a55113f6356faad626e503d0e71bd3de" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetWebhookConfigForRepoTest.php", @@ -21080,11 +21080,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/UpdateWebhookConfigForRepo.php", - "hash": "4fdd8bc5ad9b57cccc826a2bd36b3c91" + "hash": "c8519f63459d9bb3a424bc653166f62b" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/UpdateWebhookConfigForRepo.php", - "hash": "ca959f43a5a9a599e8a7b5b406696a30" + "hash": "baf01af3acf86c58010d43c3817d6b55" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/UpdateWebhookConfigForRepoTest.php", @@ -21092,11 +21092,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/ListWebhookDeliveries.php", - "hash": "a64ab06e928dc6de8a48257030a84c8f" + "hash": "4065c8453bcd4098d33b8c4098ec2550" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListWebhookDeliveries.php", - "hash": "51b6c42827e919c2edb87c5e375532a5" + "hash": "39db13b7599194592f230d0196835eee" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListWebhookDeliveriesTest.php", @@ -21104,11 +21104,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/GetWebhookDelivery.php", - "hash": "f882c54e28970f11e3d3d06d966ad4c0" + "hash": "98a5856a0299a1c496eb1024cae653ad" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetWebhookDelivery.php", - "hash": "11c781ba9923cc3f50720055a3dcf0d2" + "hash": "0873a4a5724fde2f196d1fa68a400ca8" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetWebhookDeliveryTest.php", @@ -21116,11 +21116,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/RedeliverWebhookDelivery.php", - "hash": "7097f290c27248cfddd241cf1a3d5716" + "hash": "b7cb2d621cbb68e1accd9ef991334bd2" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/RedeliverWebhookDelivery.php", - "hash": "6efb743a57e61d00e6a48291eea9ae75" + "hash": "9b4912dd86247e9dce24447f71bf77e5" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/RedeliverWebhookDeliveryTest.php", @@ -21128,7 +21128,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/PingWebhook.php", - "hash": "d4ef75ed763da31064b254e0761a14db" + "hash": "9459abd3fda076be7e4b5b15c34e1105" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/PingWebhook.php", @@ -21140,7 +21140,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/TestPushWebhook.php", - "hash": "f7821a96c5fce1cc6a019f6452d8c848" + "hash": "ead3a6e1a9c4fbba9bfea6981a716a14" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/TestPushWebhook.php", @@ -26452,7 +26452,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php", - "hash": "6942ee4a0ceda1ebd9e94a1c2a662270" + "hash": "365debcbf0ae34a720e000dd00ad633d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php", @@ -26460,7 +26460,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php", - "hash": "10b7857049ccefadf8b7b85ddf8c6c4c" + "hash": "8f91ed8420f2787dd1dbc3055920c31d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php", @@ -26556,7 +26556,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Orgs.php", - "hash": "fca5e6fe2414e507a9e39ed662902a96" + "hash": "3281729a29fabcec9a70c961b308b488" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Migrations.php", @@ -26568,7 +26568,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Repos.php", - "hash": "9d13dc191954dc7175ba5636e87ae9b2" + "hash": "69665b943046b4aa6f4ba594389db906" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Teams.php", @@ -26576,7 +26576,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Actions.php", - "hash": "ee58ea1cbf114be1ebd0a2b07e794fcf" + "hash": "31f6da8c7d3219b11c2d33698b3741fb" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Codespaces.php", @@ -26644,7 +26644,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Repos.php", - "hash": "5016ca29eb8936a9734298760719855a" + "hash": "7d0825f06c24c27a53ef15f5318f8a4d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Codespaces.php", @@ -26660,7 +26660,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Orgs.php", - "hash": "0b57f5d301505bb085bb576c68a4e0fd" + "hash": "9f2b078146c9a74ee6fb4da8331dd2d2" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Teams.php", @@ -26952,19 +26952,19 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", - "hash": "f3bb9e1d90f946e3448b0f85d8d87a06" + "hash": "0549cd0a2301c387705fe7482dbabd51" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "bd6650e3f05e5b0dc3a7c11bfa8577dd" + "hash": "f956f5bef48085649883713f219d4ded" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", - "hash": "992a9ba159bbda0565a60216f4d92b7b" + "hash": "14b568935e8cbcebb2cc8444deab7d7f" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php", - "hash": "ae384dd0bd2c4cb5edb487830ee10628" + "hash": "bfa7a569ab5fe63f92a74b7663cf1fb7" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Nine.php", @@ -27000,11 +27000,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Eight.php", - "hash": "f806048b48062782c1d45cb3de68acf7" + "hash": "bbeb45d963f10729e1db57cf74a11a80" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Nine.php", - "hash": "3e14112b53f408bbad6d212df0739c38" + "hash": "4bb585f9bdb4298a3dd5a81f6dc90840" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Ten.php", @@ -27020,15 +27020,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Five.php", - "hash": "68415735d7edca84709ba83b918c0fd0" + "hash": "693be6c749d965d115a357e945e27569" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Six.php", - "hash": "8e3cafa763930d11395c2a83e10e40b7" + "hash": "7df532ce0105c8177a8c23fbf30bb9a0" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Seven.php", - "hash": "62fc98bb05f40c23c2f3769c8b14faf0" + "hash": "f7e3c4568ba7b3193bccacfa979223d3" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Nine.php", @@ -27160,7 +27160,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operators.php", - "hash": "cf08118300598add31ee3823993465d4" + "hash": "ba5ca0e0ce9813b2b0969542dcd7f18a" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Root.php", @@ -29176,7 +29176,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrators.php", - "hash": "2e753918094c6364b1537ed9078b263d" + "hash": "df9f508f2f573293633748e37d4f30ee" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/OrganizationSimpleWebhooks.php", @@ -29389,6 +29389,22 @@ { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/EnterpriseWebhooks.php", "hash": "0478484140a136019bba7db68943e44d" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/ForceCancelWorkflowRun.php", + "hash": "860666016e62fb90dee1b3c1eabf5beb" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/ForceCancelWorkflowRun.php", + "hash": "99e723fba433e665c651d6f3e370601e" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/ForceCancelWorkflowRunTest.php", + "hash": "7f54be44f3311131c747478bf96da31c" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runs\/RunId\/ForceCancel.php", + "hash": "c93d028808fa57fb25494f95d17ac4d5" } ] }, diff --git a/clients/GitHub/src/Client.php b/clients/GitHub/src/Client.php index 40255924939..fd7ac830ee0 100644 --- a/clients/GitHub/src/Client.php +++ b/clients/GitHub/src/Client.php @@ -216,7 +216,7 @@ public function __construct(AuthenticationInterface $authentication, Browser $br // phpcs:disable /** - * @return ($call is Operation\Meta\Root::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\ListGlobalAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\GetGlobalAdvisory::OPERATION_MATCH ? : ($call is Operation\Apps\GetAuthenticated::OPERATION_MATCH ? : ($call is Operation\Apps\CreateFromManifest::OPERATION_MATCH ? : ($call is Operation\Apps\GetWebhookConfigForApp::OPERATION_MATCH ? : ($call is Operation\Apps\UpdateWebhookConfigForApp::OPERATION_MATCH ? : ($call is Operation\Apps\ListWebhookDeliveries::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Apps\RedeliverWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Apps\ListInstallationRequestsForAuthenticatedApp::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListInstallationRequestsForAuthenticatedAppListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListInstallations::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListInstallationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetInstallation::OPERATION_MATCH ? : ($call is Operation\Apps\DeleteInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\CreateInstallationAccessToken::OPERATION_MATCH ? : ($call is Operation\Apps\SuspendInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\UnsuspendInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\DeleteAuthorization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\CheckToken::OPERATION_MATCH ? : ($call is Operation\Apps\DeleteToken::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ResetToken::OPERATION_MATCH ? : ($call is Operation\Apps\ScopeToken::OPERATION_MATCH ? : ($call is Operation\Apps\GetBySlug::OPERATION_MATCH ? : ($call is Operation\Classroom\GetAnAssignment::OPERATION_MATCH ? : ($call is Operation\Classroom\ListAcceptedAssigmentsForAnAssignment::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListAcceptedAssigmentsForAnAssignmentListing::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\GetAssignmentGrades::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListClassrooms::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListClassroomsListing::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\GetAClassroom::OPERATION_MATCH ? : ($call is Operation\Classroom\ListAssignmentsForAClassroom::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListAssignmentsForAClassroomListing::OPERATION_MATCH ? Observable : ($call is Operation\CodesOfConduct\GetAllCodesOfConduct::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodesOfConduct\GetConductCode::OPERATION_MATCH ? Schema\CodeOfConduct|array{code:int} : ($call is Operation\Emojis\Get::OPERATION_MATCH ? Schema\Operations\Emojis\Get\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Dependabot\ListAlertsForEnterprise::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListAlertsForEnterprise::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEvents::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListPublicEventsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\GetFeeds::OPERATION_MATCH ? : ($call is Operation\Gists\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Create::OPERATION_MATCH ? Schema\GistSimple|array{code:int} : ($call is Operation\Gists\ListPublic::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListPublicListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListStarred::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListStarredListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Get::OPERATION_MATCH ? Schema\GistSimple|array{code:int} : ($call is Operation\Gists\Delete::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Update::OPERATION_MATCH ? : ($call is Operation\Gists\ListComments::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListCommentsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\CreateComment::OPERATION_MATCH ? Schema\GistComment|array{code:int} : ($call is Operation\Gists\GetComment::OPERATION_MATCH ? Schema\GistComment|array{code:int} : ($call is Operation\Gists\DeleteComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\UpdateComment::OPERATION_MATCH ? : ($call is Operation\Gists\ListCommits::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListCommitsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListForks::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListForksListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Fork::OPERATION_MATCH ? Schema\BaseGist|array{code:int} : ($call is Operation\Gists\CheckIsStarred::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Star::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Unstar::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\GetRevision::OPERATION_MATCH ? : ($call is Operation\Gitignore\GetAllTemplates::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gitignore\GetTemplate::OPERATION_MATCH ? Schema\GitignoreTemplate|array{code:int} : ($call is Operation\Apps\ListReposAccessibleToInstallation::OPERATION_MATCH ? Schema\Operations\Apps\ListReposAccessibleToInstallation\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Apps\RevokeInstallationAccessToken::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Issues\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\GetAllCommonlyUsed::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\GetAllCommonlyUsedListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\Get::OPERATION_MATCH ? Schema\License|array{code:int} : ($call is Operation\Markdown\Render::OPERATION_MATCH ? string|array{code:int} : ($call is Operation\Markdown\RenderRaw::OPERATION_MATCH ? string|array{code:int} : ($call is Operation\Apps\GetSubscriptionPlanForAccount::OPERATION_MATCH ? : ($call is Operation\Apps\ListPlans::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListPlansListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlan::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetSubscriptionPlanForAccountStubbed::OPERATION_MATCH ? Schema\MarketplacePurchase|array{code:int} : ($call is Operation\Apps\ListPlansStubbed::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListPlansStubbedListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanStubbed::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanStubbedListing::OPERATION_MATCH ? Observable : ($call is Operation\Meta\Get::OPERATION_MATCH ? Schema\ApiOverview|array{code:int} : ($call is Operation\Activity\ListPublicEventsForRepoNetwork::OPERATION_MATCH ? Observable|Schema\BasicError|array{code:int} : ($call is Operation\Activity\ListPublicEventsForRepoNetworkListing::OPERATION_MATCH ? Observable|Schema\BasicError|array{code:int} : ($call is Operation\Activity\ListNotificationsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListNotificationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\MarkNotificationsAsRead::OPERATION_MATCH ? Schema\Operations\Activity\MarkNotificationsAsRead\Response\ApplicationJson\Accepted|array{code:int} : ($call is Operation\Activity\GetThread::OPERATION_MATCH ? Schema\Thread|array{code:int} : ($call is Operation\Activity\MarkThreadAsRead::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\GetThreadSubscriptionForAuthenticatedUser::OPERATION_MATCH ? Schema\ThreadSubscription|array{code:int} : ($call is Operation\Activity\SetThreadSubscription::OPERATION_MATCH ? Schema\ThreadSubscription|array{code:int} : ($call is Operation\Activity\DeleteThreadSubscription::OPERATION_MATCH ? array{code:int} : ($call is Operation\Meta\GetOctocat::OPERATION_MATCH ? : ($call is Operation\Orgs\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\Get::OPERATION_MATCH ? : ($call is Operation\Orgs\Delete::OPERATION_MATCH ? : ($call is Operation\Orgs\Update::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheUsageForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheUsageByRepoForOrg::OPERATION_MATCH ? : ($call is Operation\Oidc\GetOidcCustomSubTemplateForOrg::OPERATION_MATCH ? : ($call is Operation\Oidc\UpdateOidcCustomSubTemplateForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetGithubActionsPermissionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsPermissionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetSelectedRepositoriesEnabledGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\EnableSelectedRepositoryGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\DisableSelectedRepositoryGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetAllowedActionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetAllowedActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetGithubActionsDefaultWorkflowPermissionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsDefaultWorkflowPermissionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelfHostedRunnersForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\ListRunnerApplicationsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GenerateRunnerJitconfigForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRegistrationTokenForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRemoveTokenForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteSelfHostedRunnerFromOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListLabelsForSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomLabelsForSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\AddCustomLabelsToSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveCustomLabelFromSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Actions\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListOrgVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrgVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedReposForOrgVariable::OPERATION_MATCH ? Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Actions\SetSelectedReposForOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\AddSelectedRepoToOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\RemoveSelectedRepoFromOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListBlockedUsers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListBlockedUsersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckBlockedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\BlockUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\UnblockUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\CodeScanning\ListAlertsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListAlertsForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Codespaces\ListInOrganization::OPERATION_MATCH ? Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Codespaces\SetCodespacesAccess::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\SetCodespacesAccessUsers::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\DeleteCodespacesAccessUsers::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Copilot\GetCopilotOrganizationDetails::OPERATION_MATCH ? : ($call is Operation\Copilot\ListCopilotSeats::OPERATION_MATCH ? : ($call is Operation\Copilot\AddCopilotForBusinessSeatsForTeams::OPERATION_MATCH ? Schema\Operations\Copilot\AddCopilotForBusinessSeatsForTeams\Response\ApplicationJson\Created|array{code:int} : ($call is Operation\Copilot\CancelCopilotSeatAssignmentForTeams::OPERATION_MATCH ? Schema\Operations\Copilot\CancelCopilotSeatAssignmentForTeams\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Copilot\AddCopilotForBusinessSeatsForUsers::OPERATION_MATCH ? Schema\Operations\Copilot\AddCopilotForBusinessSeatsForUsers\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Copilot\CancelCopilotSeatAssignmentForUsers::OPERATION_MATCH ? Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Dependabot\ListAlertsForOrg::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Dependabot\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForOrganization::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicOrgEvents::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicOrgEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListFailedInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListFailedInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListWebhooks::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListWebhooksListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CreateWebhook::OPERATION_MATCH ? : ($call is Operation\Orgs\GetWebhook::OPERATION_MATCH ? : ($call is Operation\Orgs\DeleteWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\UpdateWebhook::OPERATION_MATCH ? : ($call is Operation\Orgs\GetWebhookConfigForOrg::OPERATION_MATCH ? : ($call is Operation\Orgs\UpdateWebhookConfigForOrg::OPERATION_MATCH ? : ($call is Operation\Orgs\ListWebhookDeliveries::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\GetWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Orgs\RedeliverWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Orgs\PingWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\GetOrgInstallation::OPERATION_MATCH ? : ($call is Operation\Orgs\ListAppInstallations::OPERATION_MATCH ? : ($call is Operation\Interactions\GetRestrictionsForOrg::OPERATION_MATCH ? : ($call is Operation\Interactions\SetRestrictionsForOrg::OPERATION_MATCH ? : ($call is Operation\Interactions\RemoveRestrictionsForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPendingInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPendingInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CreateInvitation::OPERATION_MATCH ? : ($call is Operation\Orgs\CancelInvitation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListInvitationTeams::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListInvitationTeamsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListMembers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListMembersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckMembershipForUser::OPERATION_MATCH ? array{code:int}|array{code:int,location:string} : ($call is Operation\Orgs\RemoveMember::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\GetCodespacesForUserInOrg::OPERATION_MATCH ? Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\DeleteFromOrganization::OPERATION_MATCH ? Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Codespaces\StopInOrganization::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Copilot\GetCopilotSeatAssignmentDetailsForUser::OPERATION_MATCH ? Schema\CopilotSeatDetails|array{code:int} : ($call is Operation\Orgs\GetMembershipForUser::OPERATION_MATCH ? : ($call is Operation\Orgs\SetMembershipForUser::OPERATION_MATCH ? : ($call is Operation\Orgs\RemoveMembershipForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\StartForOrg::OPERATION_MATCH ? : ($call is Operation\Migrations\GetStatusForOrg::OPERATION_MATCH ? : ($call is Operation\Migrations\DownloadArchiveForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\DownloadArchiveForOrgStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\DeleteArchiveForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UnlockRepoForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListReposForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListReposForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListOutsideCollaborators::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListOutsideCollaboratorsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ConvertMemberToOutsideCollaborator::OPERATION_MATCH ? Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Orgs\RemoveOutsideCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\ListPackagesForOrganization::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForOrganizationListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForOrganization::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByOrg::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForOrganization::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRequests::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRequestsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ReviewPatGrantRequestsInBulk::OPERATION_MATCH ? : ($call is Operation\Orgs\ReviewPatGrantRequest::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRequestRepositories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRequestRepositoriesListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrants::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\UpdatePatAccesses::OPERATION_MATCH ? : ($call is Operation\Orgs\UpdatePatAccess::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRepositories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRepositoriesListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\CreateForOrg::OPERATION_MATCH ? : ($call is Operation\Orgs\ListPublicMembers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPublicMembersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckPublicMembershipForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\SetPublicMembershipForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\RemovePublicMembershipForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateInOrg::OPERATION_MATCH ? : ($call is Operation\Repos\GetOrgRulesets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetOrgRulesetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\GetOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteOrgRuleset::OPERATION_MATCH ? array{code:int} : ($call is Operation\SecretScanning\ListAlertsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\SecretScanning\ListAlertsForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\ListOrgRepositoryAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListSecurityManagerTeams::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\AddSecurityManagerTeam::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\RemoveSecurityManagerTeam::OPERATION_MATCH ? array{code:int} : ($call is Operation\Billing\GetGithubActionsBillingOrg::OPERATION_MATCH ? : ($call is Operation\Billing\GetGithubPackagesBillingOrg::OPERATION_MATCH ? : ($call is Operation\Billing\GetSharedStorageBillingOrg::OPERATION_MATCH ? : ($call is Operation\Teams\List_::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\Create::OPERATION_MATCH ? : ($call is Operation\Teams\GetByName::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionCommentsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionCommentsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionCommentInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionCommentInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionCommentInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForTeamDiscussionComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Reactions\ListForTeamDiscussionInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForTeamDiscussion::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListPendingInvitationsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListPendingInvitationsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\GetMembershipForUserInOrg::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\AddOrUpdateMembershipForUserInOrg::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\RemoveMembershipForUserInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListProjectsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListProjectsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForProjectInOrg::OPERATION_MATCH ? Schema\TeamProject|array{code:int} : ($call is Operation\Teams\AddOrUpdateProjectPermissionsInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveProjectInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListReposInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListReposInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForRepoInOrg::OPERATION_MATCH ? Schema\TeamRepository|array{code:int} : ($call is Operation\Teams\AddOrUpdateRepoPermissionsInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveRepoInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListChildInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListChildInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\EnableOrDisableSecurityProductOnAllOrgRepos::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\GetCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\DeleteCard::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\UpdateCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\MoveCard::OPERATION_MATCH ? Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Projects\GetColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\Projects\DeleteColumn::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\UpdateColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\Projects\ListCards::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListCardsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\CreateCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\MoveColumn::OPERATION_MATCH ? Schema\Operations\Projects\MoveColumn\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Projects\Get::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Projects\Delete::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\Update::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Projects\ListCollaborators::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListCollaboratorsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\AddCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\RemoveCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\GetPermissionForUser::OPERATION_MATCH ? Schema\ProjectCollaboratorPermission|array{code:int} : ($call is Operation\Projects\ListColumns::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListColumnsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\CreateColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\RateLimit\Get::OPERATION_MATCH ? Schema\RateLimitOverview|array{code:int} : ($call is Operation\Repos\Get::OPERATION_MATCH ? : ($call is Operation\Repos\Delete::OPERATION_MATCH ? Schema\BasicError|array{code:int} : ($call is Operation\Repos\Update::OPERATION_MATCH ? : ($call is Operation\Actions\ListArtifactsForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetArtifact::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteArtifact::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\DownloadArtifact::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadArtifactStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GetActionsCacheUsage::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheList::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteActionsCacheByKey::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteActionsCacheById::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetJobForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadJobLogsForWorkflowRun::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadJobLogsForWorkflowRunStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReRunJobForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\GetCustomOidcSubClaimForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomOidcSubClaimForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoOrganizationSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoOrganizationVariables::OPERATION_MATCH ? : ($call is Operation\Actions\GetGithubActionsPermissionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsPermissionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetWorkflowAccessToRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetWorkflowAccessToRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetAllowedActionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetAllowedActionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetGithubActionsDefaultWorkflowPermissionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsDefaultWorkflowPermissionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelfHostedRunnersForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListRunnerApplicationsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GenerateRunnerJitconfigForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRegistrationTokenForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRemoveTokenForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteSelfHostedRunnerFromRepo::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListLabelsForSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomLabelsForSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\AddCustomLabelsToSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveCustomLabelFromSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListWorkflowRunsForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteWorkflowRun::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetReviewsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ApproveWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\ListWorkflowRunArtifacts::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRunAttempt::OPERATION_MATCH ? : ($call is Operation\Actions\ListJobsForWorkflowRunAttempt::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadWorkflowRunAttemptLogs::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadWorkflowRunAttemptLogsStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\CancelWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\ReviewCustomGatesForRun::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListJobsForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadWorkflowRunLogs::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadWorkflowRunLogsStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\DeleteWorkflowRunLogs::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetPendingDeploymentsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReviewPendingDeploymentsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReRunWorkflow::OPERATION_MATCH ? : ($call is Operation\Actions\ReRunWorkflowFailedJobs::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRunUsage::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListRepoVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRepoVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteRepoVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateRepoVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListRepoWorkflows::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflow::OPERATION_MATCH ? : ($call is Operation\Actions\DisableWorkflow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\CreateWorkflowDispatch::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\EnableWorkflow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListWorkflowRuns::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowUsage::OPERATION_MATCH ? : ($call is Operation\Repos\ListActivities::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListAssignees::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListAssigneesListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CheckUserCanBeAssigned::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListAutolinks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateAutolink::OPERATION_MATCH ? : ($call is Operation\Repos\GetAutolink::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAutolink::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\CheckAutomatedSecurityFixes::OPERATION_MATCH ? Schema\CheckAutomatedSecurityFixes|array{code:int} : ($call is Operation\Repos\EnableAutomatedSecurityFixes::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisableAutomatedSecurityFixes::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListBranches::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListBranchesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetBranch::OPERATION_MATCH ? : ($call is Operation\Repos\GetBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteBranchProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAdminBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\SetAdminBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAdminBranchProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetPullRequestReviewProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeletePullRequestReviewProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdatePullRequestReviewProtection::OPERATION_MATCH ? : ($call is Operation\Repos\GetCommitSignatureProtection::OPERATION_MATCH ? : ($call is Operation\Repos\CreateCommitSignatureProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteCommitSignatureProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetStatusChecksProtection::OPERATION_MATCH ? : ($call is Operation\Repos\RemoveStatusCheckProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateStatusCheckProtection::OPERATION_MATCH ? : ($call is Operation\Repos\GetAllStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetAccessRestrictions::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAccessRestrictions::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAppsWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetTeamsWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetUsersWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RenameBranch::OPERATION_MATCH ? : ($call is Operation\Checks\Create::OPERATION_MATCH ? : ($call is Operation\Checks\Get::OPERATION_MATCH ? : ($call is Operation\Checks\Update::OPERATION_MATCH ? : ($call is Operation\Checks\ListAnnotations::OPERATION_MATCH ? Observable : ($call is Operation\Checks\ListAnnotationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Checks\RerequestRun::OPERATION_MATCH ? : ($call is Operation\Checks\CreateSuite::OPERATION_MATCH ? : ($call is Operation\Checks\SetSuitesPreferences::OPERATION_MATCH ? : ($call is Operation\Checks\GetSuite::OPERATION_MATCH ? : ($call is Operation\Checks\ListForSuite::OPERATION_MATCH ? : ($call is Operation\Checks\RerequestSuite::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodeScanning\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodeScanning\GetAlert::OPERATION_MATCH ? Schema\CodeScanningAlert|array{code:int} : ($call is Operation\CodeScanning\UpdateAlert::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListAlertInstances::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListAlertInstancesListing::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListRecentAnalyses::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListRecentAnalysesListing::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\GetAnalysis::OPERATION_MATCH ? : ($call is Operation\CodeScanning\DeleteAnalysis::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListCodeqlDatabases::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\GetCodeqlDatabase::OPERATION_MATCH ? Schema\CodeScanningCodeqlDatabase|array{code:int} : ($call is Operation\CodeScanning\GetDefaultSetup::OPERATION_MATCH ? : ($call is Operation\CodeScanning\UpdateDefaultSetup::OPERATION_MATCH ? : ($call is Operation\CodeScanning\UploadSarif::OPERATION_MATCH ? Schema\CodeScanningSarifsReceipt|array{code:int} : ($call is Operation\CodeScanning\GetSarif::OPERATION_MATCH ? Schema\CodeScanningSarifsStatus|array{code:int} : ($call is Operation\Repos\CodeownersErrors::OPERATION_MATCH ? Schema\CodeownersErrors|array{code:int} : ($call is Operation\Codespaces\ListInRepositoryForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateWithRepoForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\RepoMachinesForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Codespaces\PreFlightWithRepoForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListCollaborators::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCollaboratorsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CheckCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\AddCollaborator::OPERATION_MATCH ? Schema\RepositoryInvitation|array{code:int} : ($call is Operation\Repos\RemoveCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetCollaboratorPermissionLevel::OPERATION_MATCH ? : ($call is Operation\Repos\ListCommitCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommitCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetCommitComment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteCommitComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateCommitComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForCommitComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForCommitCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForCommitComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForCommitComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListCommits::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommitsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListBranchesForHeadCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommentsForCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommentsForCommitListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateCommitComment::OPERATION_MATCH ? : ($call is Operation\Repos\ListPullRequestsAssociatedWithCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListPullRequestsAssociatedWithCommitListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetCommit::OPERATION_MATCH ? : ($call is Operation\Checks\ListForRef::OPERATION_MATCH ? : ($call is Operation\Checks\ListSuitesForRef::OPERATION_MATCH ? : ($call is Operation\Repos\GetCombinedStatusForRef::OPERATION_MATCH ? : ($call is Operation\Repos\ListCommitStatusesForRef::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Repos\ListCommitStatusesForRefListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Repos\GetCommunityProfileMetrics::OPERATION_MATCH ? : ($call is Operation\Repos\CompareCommits::OPERATION_MATCH ? : ($call is Operation\Repos\GetContent::OPERATION_MATCH ? Schema\ContentDirectory|Schema\ContentFile|Schema\ContentSymlink|Schema\ContentSubmodule|array{code:int} : ($call is Operation\Repos\CreateOrUpdateFileContents::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteFile::OPERATION_MATCH ? : ($call is Operation\Repos\ListContributors::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListContributorsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\GetAlert::OPERATION_MATCH ? Schema\DependabotAlert|array{code:int} : ($call is Operation\Dependabot\UpdateAlert::OPERATION_MATCH ? : ($call is Operation\Dependabot\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Dependabot\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\DependencyGraph\DiffRange::OPERATION_MATCH ? Observable : ($call is Operation\DependencyGraph\ExportSbom::OPERATION_MATCH ? : ($call is Operation\DependencyGraph\CreateRepositorySnapshot::OPERATION_MATCH ? : ($call is Operation\Repos\ListDeployments::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeploymentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeployment::OPERATION_MATCH ? Schema\Deployment|Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetDeployment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeployment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListDeploymentStatuses::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeploymentStatusesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeploymentStatus::OPERATION_MATCH ? : ($call is Operation\Repos\GetDeploymentStatus::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDispatchEvent::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAllEnvironments::OPERATION_MATCH ? : ($call is Operation\Repos\GetEnvironment::OPERATION_MATCH ? : ($call is Operation\Repos\CreateOrUpdateEnvironment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAnEnvironment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListDeploymentBranchPolicies::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDeploymentBranchPolicy::OPERATION_MATCH ? Schema\DeploymentBranchPolicy|array{code:int} : ($call is Operation\Repos\GetDeploymentBranchPolicy::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateDeploymentBranchPolicy::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeploymentBranchPolicy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAllDeploymentProtectionRules::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDeploymentProtectionRule::OPERATION_MATCH ? : ($call is Operation\Repos\ListCustomDeploymentRuleIntegrations::OPERATION_MATCH ? : ($call is Operation\Repos\GetCustomDeploymentProtectionRule::OPERATION_MATCH ? : ($call is Operation\Repos\DisableDeploymentProtectionRule::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListRepoEvents::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForksListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateFork::OPERATION_MATCH ? : ($call is Operation\Git\CreateBlob::OPERATION_MATCH ? : ($call is Operation\Git\GetBlob::OPERATION_MATCH ? : ($call is Operation\Git\CreateCommit::OPERATION_MATCH ? : ($call is Operation\Git\GetCommit::OPERATION_MATCH ? : ($call is Operation\Git\ListMatchingRefs::OPERATION_MATCH ? Observable : ($call is Operation\Git\GetRef::OPERATION_MATCH ? : ($call is Operation\Git\CreateRef::OPERATION_MATCH ? : ($call is Operation\Git\DeleteRef::OPERATION_MATCH ? array{code:int} : ($call is Operation\Git\UpdateRef::OPERATION_MATCH ? : ($call is Operation\Git\CreateTag::OPERATION_MATCH ? : ($call is Operation\Git\GetTag::OPERATION_MATCH ? : ($call is Operation\Git\CreateTree::OPERATION_MATCH ? : ($call is Operation\Git\GetTree::OPERATION_MATCH ? : ($call is Operation\Repos\ListWebhooks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListWebhooksListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateWebhook::OPERATION_MATCH ? : ($call is Operation\Repos\GetWebhook::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateWebhook::OPERATION_MATCH ? : ($call is Operation\Repos\GetWebhookConfigForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateWebhookConfigForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\ListWebhookDeliveries::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Repos\RedeliverWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Repos\PingWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\TestPushWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\GetImportStatus::OPERATION_MATCH ? : ($call is Operation\Migrations\StartImport::OPERATION_MATCH ? : ($call is Operation\Migrations\CancelImport::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UpdateImport::OPERATION_MATCH ? : ($call is Operation\Migrations\GetCommitAuthors::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\MapCommitAuthor::OPERATION_MATCH ? : ($call is Operation\Migrations\GetLargeFiles::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\SetLfsPreference::OPERATION_MATCH ? : ($call is Operation\Apps\GetRepoInstallation::OPERATION_MATCH ? : ($call is Operation\Interactions\GetRestrictionsForRepo::OPERATION_MATCH ? : ($call is Operation\Interactions\SetRestrictionsForRepo::OPERATION_MATCH ? Schema\InteractionLimitResponse|array{code:int} : ($call is Operation\Interactions\RemoveRestrictionsForRepo::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\DeleteInvitation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateInvitation::OPERATION_MATCH ? : ($call is Operation\Issues\ListForRepo::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\ListForRepoListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\Create::OPERATION_MATCH ? : ($call is Operation\Issues\ListCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\GetComment::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForIssueComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForIssueCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForIssueComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForIssueComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListEventsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\GetEvent::OPERATION_MATCH ? : ($call is Operation\Issues\Get::OPERATION_MATCH ? Schema\Issue|Schema\BasicError|array{code:int} : ($call is Operation\Issues\Update::OPERATION_MATCH ? : ($call is Operation\Issues\AddAssignees::OPERATION_MATCH ? : ($call is Operation\Issues\RemoveAssignees::OPERATION_MATCH ? : ($call is Operation\Issues\CheckUserCanBeAssignedToIssue::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListComments::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListCommentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateComment::OPERATION_MATCH ? : ($call is Operation\Issues\ListEvents::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsOnIssue::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\ListLabelsOnIssueListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\SetLabels::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\AddLabels::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\RemoveAllLabels::OPERATION_MATCH ? Schema\BasicError|array{code:int} : ($call is Operation\Issues\RemoveLabel::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\Lock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\Unlock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Reactions\ListForIssue::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForIssueListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForIssue::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForIssue::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListEventsForTimeline::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsForTimelineListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeployKeys::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeployKeysListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeployKey::OPERATION_MATCH ? : ($call is Operation\Repos\GetDeployKey::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeployKey::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListLabelsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateLabel::OPERATION_MATCH ? : ($call is Operation\Issues\GetLabel::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteLabel::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateLabel::OPERATION_MATCH ? : ($call is Operation\Repos\ListLanguages::OPERATION_MATCH ? : ($call is Operation\Licenses\GetForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\MergeUpstream::OPERATION_MATCH ? Schema\MergedUpstream|array{code:int} : ($call is Operation\Repos\Merge::OPERATION_MATCH ? Schema\Commit|array{code:int} : ($call is Operation\Issues\ListMilestones::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListMilestonesListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\GetMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteMilestone::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\ListLabelsForMilestone::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsForMilestoneListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoNotificationsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoNotificationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\MarkRepoNotificationsAsRead::OPERATION_MATCH ? Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted|array{code:int} : ($call is Operation\Repos\GetPages::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateInformationAboutPagesSite::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\CreatePagesSite::OPERATION_MATCH ? : ($call is Operation\Repos\DeletePagesSite::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListPagesBuilds::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListPagesBuildsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RequestPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\GetLatestPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\GetPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\CreatePagesDeployment::OPERATION_MATCH ? : ($call is Operation\Repos\GetPagesHealthCheck::OPERATION_MATCH ? Schema\PagesHealthCheck|Schema\EmptyObject|array{code:int} : ($call is Operation\Repos\EnablePrivateVulnerabilityReporting::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisablePrivateVulnerabilityReporting::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\ListForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\CreateForRepo::OPERATION_MATCH ? : ($call is Operation\Pulls\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Pulls\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Pulls\Create::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviewCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\GetReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\DeleteReviewComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\UpdateReviewComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForPullRequestReviewComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForPullRequestReviewCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForPullRequestReviewComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForPullRequestComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\Get::OPERATION_MATCH ? Schema\PullRequest|array{code:int} : ($call is Operation\Pulls\Update::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateWithPrForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviewComments::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewCommentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CreateReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\CreateReplyForReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\ListCommits::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListCommitsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListFiles::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListFilesListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CheckIfMerged::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\Merge::OPERATION_MATCH ? : ($call is Operation\Pulls\ListRequestedReviewers::OPERATION_MATCH ? : ($call is Operation\Pulls\RequestReviewers::OPERATION_MATCH ? Schema\PullRequestSimple|array{code:int} : ($call is Operation\Pulls\RemoveRequestedReviewers::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviews::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CreateReview::OPERATION_MATCH ? : ($call is Operation\Pulls\GetReview::OPERATION_MATCH ? : ($call is Operation\Pulls\UpdateReview::OPERATION_MATCH ? : ($call is Operation\Pulls\DeletePendingReview::OPERATION_MATCH ? : ($call is Operation\Pulls\ListCommentsForReview::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListCommentsForReviewListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\DismissReview::OPERATION_MATCH ? : ($call is Operation\Pulls\SubmitReview::OPERATION_MATCH ? : ($call is Operation\Pulls\UpdateBranch::OPERATION_MATCH ? : ($call is Operation\Repos\GetReadme::OPERATION_MATCH ? : ($call is Operation\Repos\GetReadmeInDirectory::OPERATION_MATCH ? : ($call is Operation\Repos\ListReleases::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListReleasesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateRelease::OPERATION_MATCH ? : ($call is Operation\Repos\GetReleaseAsset::OPERATION_MATCH ? Schema\ReleaseAsset|array{code:int} : ($call is Operation\Repos\DeleteReleaseAsset::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateReleaseAsset::OPERATION_MATCH ? : ($call is Operation\Repos\GenerateReleaseNotes::OPERATION_MATCH ? : ($call is Operation\Repos\GetLatestRelease::OPERATION_MATCH ? : ($call is Operation\Repos\GetReleaseByTag::OPERATION_MATCH ? : ($call is Operation\Repos\GetRelease::OPERATION_MATCH ? Schema\Release|array{code:int} : ($call is Operation\Repos\DeleteRelease::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateRelease::OPERATION_MATCH ? : ($call is Operation\Repos\ListReleaseAssets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListReleaseAssetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\UploadReleaseAsset::OPERATION_MATCH ? Schema\ReleaseAsset|array{code:int} : ($call is Operation\Reactions\ListForRelease::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForReleaseListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForRelease::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForRelease::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetBranchRules::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetBranchRulesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetRepoRulesets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetRepoRulesetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\GetRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteRepoRuleset::OPERATION_MATCH ? array{code:int} : ($call is Operation\SecretScanning\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\GetAlert::OPERATION_MATCH ? Schema\SecretScanningAlert|array{code:int} : ($call is Operation\SecretScanning\UpdateAlert::OPERATION_MATCH ? Schema\SecretScanningAlert|array{code:int} : ($call is Operation\SecretScanning\ListLocationsForAlert::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListLocationsForAlertListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecurityAdvisories\ListRepositoryAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\CreateRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\CreatePrivateVulnerabilityReport::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\GetRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\UpdateRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest::OPERATION_MATCH ? : ($call is Operation\Activity\ListStargazersForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\GetCodeFrequencyStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetCommitActivityStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetContributorsStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetParticipationStats::OPERATION_MATCH ? : ($call is Operation\Repos\GetPunchCardStats::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\CreateCommitStatus::OPERATION_MATCH ? : ($call is Operation\Activity\ListWatchersForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListWatchersForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\GetRepoSubscription::OPERATION_MATCH ? Schema\RepositorySubscription|array{code:int} : ($call is Operation\Activity\SetRepoSubscription::OPERATION_MATCH ? : ($call is Operation\Activity\DeleteRepoSubscription::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListTags::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTagsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTagProtection::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateTagProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteTagProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DownloadTarballArchive::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Repos\DownloadTarballArchiveStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTeams::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTeamsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetAllTopics::OPERATION_MATCH ? : ($call is Operation\Repos\ReplaceAllTopics::OPERATION_MATCH ? : ($call is Operation\Repos\GetClones::OPERATION_MATCH ? : ($call is Operation\Repos\GetTopPaths::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetTopReferrers::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetViews::OPERATION_MATCH ? : ($call is Operation\Repos\Transfer::OPERATION_MATCH ? : ($call is Operation\Repos\CheckVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\EnableVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisableVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DownloadZipballArchive::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Repos\DownloadZipballArchiveStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateUsingTemplate::OPERATION_MATCH ? : ($call is Operation\Repos\ListPublic::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Actions\ListEnvironmentSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateEnvironmentSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteEnvironmentSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListEnvironmentVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateEnvironmentVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteEnvironmentVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateEnvironmentVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Search\Code::OPERATION_MATCH ? Schema\Operations\Search\Code\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Commits::OPERATION_MATCH ? Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\IssuesAndPullRequests::OPERATION_MATCH ? Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Labels::OPERATION_MATCH ? Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Repos::OPERATION_MATCH ? Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Topics::OPERATION_MATCH ? Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Users::OPERATION_MATCH ? Schema\Operations\Search\Users\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Teams\GetLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionCommentsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionCommentsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionCommentLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionCommentLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionCommentLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListPendingInvitationsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListPendingInvitationsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\GetMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\AddMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\GetMembershipForUserLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\AddOrUpdateMembershipForUserLegacy::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\RemoveMembershipForUserLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListProjectsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListProjectsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForProjectLegacy::OPERATION_MATCH ? Schema\TeamProject|array{code:int} : ($call is Operation\Teams\AddOrUpdateProjectPermissionsLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveProjectLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListReposLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListReposLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForRepoLegacy::OPERATION_MATCH ? Schema\TeamRepository|array{code:int} : ($call is Operation\Teams\AddOrUpdateRepoPermissionsLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveRepoLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListChildLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListChildLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\GetAuthenticated::OPERATION_MATCH ? Schema\PrivateUser|Schema\PublicUser|array{code:int} : ($call is Operation\Users\UpdateAuthenticated::OPERATION_MATCH ? Schema\PrivateUser|array{code:int} : ($call is Operation\Users\ListBlockedByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListBlockedByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CheckBlocked::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Block::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Unblock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\ListForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\CreateForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListSecretsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetPublicKeyForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetSecretForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateSecretForAuthenticatedUser::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListRepositoriesForSecretForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\SetRepositoriesForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\AddRepositoryForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\RemoveRepositoryForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\GetForAuthenticatedUser::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Codespaces\DeleteForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\DeleteForAuthenticatedUser\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Codespaces\UpdateForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ExportForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetExportDetailsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CodespaceMachinesForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\PublishForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\StartForAuthenticatedUser::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Codespaces\StopForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\SetPrimaryEmailVisibilityForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListEmailsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListEmailsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\AddEmailForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\DeleteEmailForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListFollowersForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowersForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowedByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowedByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CheckPersonIsFollowedByAuthenticated::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Follow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Unfollow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListGpgKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListGpgKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreateGpgKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\GpgKey|array{code:int} : ($call is Operation\Users\GetGpgKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\GpgKey|array{code:int} : ($call is Operation\Users\DeleteGpgKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ListInstallationsForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Apps\ListInstallationReposForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Apps\AddRepoToInstallationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\RemoveRepoFromInstallationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Interactions\GetRestrictionsForAuthenticatedUser::OPERATION_MATCH ? Schema\InteractionLimitResponse|Schema\Operations\Interactions\GetRestrictionsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json\One|array{code:int} : ($call is Operation\Interactions\SetRestrictionsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Interactions\RemoveRestrictionsForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Issues\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicSshKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicSshKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreatePublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\Key|array{code:int} : ($call is Operation\Users\GetPublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\Key|array{code:int} : ($call is Operation\Users\DeletePublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserStubbed::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserStubbedListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListMembershipsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListMembershipsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\GetMembershipForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Orgs\UpdateMembershipForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Migrations\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Migrations\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Migrations\StartForAuthenticatedUser::OPERATION_MATCH ? Schema\Migration|array{code:int} : ($call is Operation\Migrations\GetStatusForAuthenticatedUser::OPERATION_MATCH ? Schema\Migration|array{code:int} : ($call is Operation\Migrations\GetArchiveForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\DeleteArchiveForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UnlockRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListReposForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListReposForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\CreateForAuthenticatedUser::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Users\ListPublicEmailsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicEmailsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\CreateForAuthenticatedUser::OPERATION_MATCH ? Schema\Repository|array{code:int} : ($call is Operation\Repos\ListInvitationsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListInvitationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\DeclineInvitationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\AcceptInvitationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListSocialAccountsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListSocialAccountsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\AddSocialAccountForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\DeleteSocialAccountForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListSshSigningKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListSshSigningKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreateSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\SshSigningKey|array{code:int} : ($call is Operation\Users\GetSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\SshSigningKey|array{code:int} : ($call is Operation\Users\DeleteSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListReposStarredByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListReposStarredByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\CheckRepoIsStarredByAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\StarRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\UnstarRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListWatchedReposForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListWatchedReposForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Teams\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Teams\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\GetByUsername::OPERATION_MATCH ? : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListEventsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListEventsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListOrgEventsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListOrgEventsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowersForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowersForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowingForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowingForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\CheckFollowingForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Gists\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListGpgKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListGpgKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\GetContextForUser::OPERATION_MATCH ? : ($call is Operation\Apps\GetUserInstallation::OPERATION_MATCH ? : ($call is Operation\Users\ListPublicKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListPublicKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\ListPackagesForUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByUser::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedPublicEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedPublicEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Billing\GetGithubActionsBillingUser::OPERATION_MATCH ? : ($call is Operation\Billing\GetGithubPackagesBillingUser::OPERATION_MATCH ? : ($call is Operation\Billing\GetSharedStorageBillingUser::OPERATION_MATCH ? : ($call is Operation\Users\ListSocialAccountsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSocialAccountsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSshSigningKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSshSigningKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReposStarredByUser::OPERATION_MATCH ? : ($call is Operation\Activity\ListReposWatchedByUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReposWatchedByUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Meta\GetAllVersions::OPERATION_MATCH ? Observable : )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) + * @return ($call is Operation\Meta\Root::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\ListGlobalAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\GetGlobalAdvisory::OPERATION_MATCH ? : ($call is Operation\Apps\GetAuthenticated::OPERATION_MATCH ? : ($call is Operation\Apps\CreateFromManifest::OPERATION_MATCH ? : ($call is Operation\Apps\GetWebhookConfigForApp::OPERATION_MATCH ? : ($call is Operation\Apps\UpdateWebhookConfigForApp::OPERATION_MATCH ? : ($call is Operation\Apps\ListWebhookDeliveries::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Apps\RedeliverWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Apps\ListInstallationRequestsForAuthenticatedApp::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListInstallationRequestsForAuthenticatedAppListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListInstallations::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListInstallationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetInstallation::OPERATION_MATCH ? : ($call is Operation\Apps\DeleteInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\CreateInstallationAccessToken::OPERATION_MATCH ? : ($call is Operation\Apps\SuspendInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\UnsuspendInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\DeleteAuthorization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\CheckToken::OPERATION_MATCH ? : ($call is Operation\Apps\DeleteToken::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ResetToken::OPERATION_MATCH ? : ($call is Operation\Apps\ScopeToken::OPERATION_MATCH ? : ($call is Operation\Apps\GetBySlug::OPERATION_MATCH ? : ($call is Operation\Classroom\GetAnAssignment::OPERATION_MATCH ? : ($call is Operation\Classroom\ListAcceptedAssigmentsForAnAssignment::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListAcceptedAssigmentsForAnAssignmentListing::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\GetAssignmentGrades::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListClassrooms::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListClassroomsListing::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\GetAClassroom::OPERATION_MATCH ? : ($call is Operation\Classroom\ListAssignmentsForAClassroom::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListAssignmentsForAClassroomListing::OPERATION_MATCH ? Observable : ($call is Operation\CodesOfConduct\GetAllCodesOfConduct::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodesOfConduct\GetConductCode::OPERATION_MATCH ? Schema\CodeOfConduct|array{code:int} : ($call is Operation\Emojis\Get::OPERATION_MATCH ? Schema\Operations\Emojis\Get\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Dependabot\ListAlertsForEnterprise::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListAlertsForEnterprise::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEvents::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListPublicEventsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\GetFeeds::OPERATION_MATCH ? : ($call is Operation\Gists\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Create::OPERATION_MATCH ? Schema\GistSimple|array{code:int} : ($call is Operation\Gists\ListPublic::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListPublicListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListStarred::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListStarredListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Get::OPERATION_MATCH ? Schema\GistSimple|array{code:int} : ($call is Operation\Gists\Delete::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Update::OPERATION_MATCH ? : ($call is Operation\Gists\ListComments::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListCommentsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\CreateComment::OPERATION_MATCH ? Schema\GistComment|array{code:int} : ($call is Operation\Gists\GetComment::OPERATION_MATCH ? Schema\GistComment|array{code:int} : ($call is Operation\Gists\DeleteComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\UpdateComment::OPERATION_MATCH ? : ($call is Operation\Gists\ListCommits::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListCommitsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListForks::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListForksListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Fork::OPERATION_MATCH ? Schema\BaseGist|array{code:int} : ($call is Operation\Gists\CheckIsStarred::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Star::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Unstar::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\GetRevision::OPERATION_MATCH ? : ($call is Operation\Gitignore\GetAllTemplates::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gitignore\GetTemplate::OPERATION_MATCH ? Schema\GitignoreTemplate|array{code:int} : ($call is Operation\Apps\ListReposAccessibleToInstallation::OPERATION_MATCH ? Schema\Operations\Apps\ListReposAccessibleToInstallation\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Apps\RevokeInstallationAccessToken::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Issues\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\GetAllCommonlyUsed::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\GetAllCommonlyUsedListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\Get::OPERATION_MATCH ? Schema\License|array{code:int} : ($call is Operation\Markdown\Render::OPERATION_MATCH ? string|array{code:int} : ($call is Operation\Markdown\RenderRaw::OPERATION_MATCH ? string|array{code:int} : ($call is Operation\Apps\GetSubscriptionPlanForAccount::OPERATION_MATCH ? : ($call is Operation\Apps\ListPlans::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListPlansListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlan::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetSubscriptionPlanForAccountStubbed::OPERATION_MATCH ? Schema\MarketplacePurchase|array{code:int} : ($call is Operation\Apps\ListPlansStubbed::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListPlansStubbedListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanStubbed::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanStubbedListing::OPERATION_MATCH ? Observable : ($call is Operation\Meta\Get::OPERATION_MATCH ? Schema\ApiOverview|array{code:int} : ($call is Operation\Activity\ListPublicEventsForRepoNetwork::OPERATION_MATCH ? Observable|Schema\BasicError|array{code:int} : ($call is Operation\Activity\ListPublicEventsForRepoNetworkListing::OPERATION_MATCH ? Observable|Schema\BasicError|array{code:int} : ($call is Operation\Activity\ListNotificationsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListNotificationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\MarkNotificationsAsRead::OPERATION_MATCH ? Schema\Operations\Activity\MarkNotificationsAsRead\Response\ApplicationJson\Accepted|array{code:int} : ($call is Operation\Activity\GetThread::OPERATION_MATCH ? Schema\Thread|array{code:int} : ($call is Operation\Activity\MarkThreadAsRead::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\GetThreadSubscriptionForAuthenticatedUser::OPERATION_MATCH ? Schema\ThreadSubscription|array{code:int} : ($call is Operation\Activity\SetThreadSubscription::OPERATION_MATCH ? Schema\ThreadSubscription|array{code:int} : ($call is Operation\Activity\DeleteThreadSubscription::OPERATION_MATCH ? array{code:int} : ($call is Operation\Meta\GetOctocat::OPERATION_MATCH ? : ($call is Operation\Orgs\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\Get::OPERATION_MATCH ? : ($call is Operation\Orgs\Delete::OPERATION_MATCH ? : ($call is Operation\Orgs\Update::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheUsageForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheUsageByRepoForOrg::OPERATION_MATCH ? : ($call is Operation\Oidc\GetOidcCustomSubTemplateForOrg::OPERATION_MATCH ? : ($call is Operation\Oidc\UpdateOidcCustomSubTemplateForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetGithubActionsPermissionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsPermissionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetSelectedRepositoriesEnabledGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\EnableSelectedRepositoryGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\DisableSelectedRepositoryGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetAllowedActionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetAllowedActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetGithubActionsDefaultWorkflowPermissionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsDefaultWorkflowPermissionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelfHostedRunnersForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\ListRunnerApplicationsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GenerateRunnerJitconfigForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRegistrationTokenForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRemoveTokenForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteSelfHostedRunnerFromOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListLabelsForSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomLabelsForSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\AddCustomLabelsToSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveCustomLabelFromSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Actions\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListOrgVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrgVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedReposForOrgVariable::OPERATION_MATCH ? Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Actions\SetSelectedReposForOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\AddSelectedRepoToOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\RemoveSelectedRepoFromOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListBlockedUsers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListBlockedUsersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckBlockedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\BlockUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\UnblockUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\CodeScanning\ListAlertsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListAlertsForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Codespaces\ListInOrganization::OPERATION_MATCH ? Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Codespaces\SetCodespacesAccess::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\SetCodespacesAccessUsers::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\DeleteCodespacesAccessUsers::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Copilot\GetCopilotOrganizationDetails::OPERATION_MATCH ? : ($call is Operation\Copilot\ListCopilotSeats::OPERATION_MATCH ? : ($call is Operation\Copilot\AddCopilotForBusinessSeatsForTeams::OPERATION_MATCH ? Schema\Operations\Copilot\AddCopilotForBusinessSeatsForTeams\Response\ApplicationJson\Created|array{code:int} : ($call is Operation\Copilot\CancelCopilotSeatAssignmentForTeams::OPERATION_MATCH ? Schema\Operations\Copilot\CancelCopilotSeatAssignmentForTeams\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Copilot\AddCopilotForBusinessSeatsForUsers::OPERATION_MATCH ? Schema\Operations\Copilot\AddCopilotForBusinessSeatsForUsers\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Copilot\CancelCopilotSeatAssignmentForUsers::OPERATION_MATCH ? Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Dependabot\ListAlertsForOrg::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Dependabot\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForOrganization::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicOrgEvents::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicOrgEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListFailedInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListFailedInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListWebhooks::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListWebhooksListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CreateWebhook::OPERATION_MATCH ? : ($call is Operation\Orgs\GetWebhook::OPERATION_MATCH ? Schema\OrgHook : ($call is Operation\Orgs\DeleteWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\UpdateWebhook::OPERATION_MATCH ? Schema\OrgHook : ($call is Operation\Orgs\GetWebhookConfigForOrg::OPERATION_MATCH ? Schema\WebhookConfig : ($call is Operation\Orgs\UpdateWebhookConfigForOrg::OPERATION_MATCH ? Schema\WebhookConfig : ($call is Operation\Orgs\ListWebhookDeliveries::OPERATION_MATCH ? iterable : ($call is Operation\Orgs\GetWebhookDelivery::OPERATION_MATCH ? Schema\HookDelivery : ($call is Operation\Orgs\RedeliverWebhookDelivery::OPERATION_MATCH ? Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json : ($call is Operation\Orgs\PingWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\GetOrgInstallation::OPERATION_MATCH ? : ($call is Operation\Orgs\ListAppInstallations::OPERATION_MATCH ? : ($call is Operation\Interactions\GetRestrictionsForOrg::OPERATION_MATCH ? : ($call is Operation\Interactions\SetRestrictionsForOrg::OPERATION_MATCH ? : ($call is Operation\Interactions\RemoveRestrictionsForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPendingInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPendingInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CreateInvitation::OPERATION_MATCH ? : ($call is Operation\Orgs\CancelInvitation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListInvitationTeams::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListInvitationTeamsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListMembers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListMembersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckMembershipForUser::OPERATION_MATCH ? array{code:int}|array{code:int,location:string} : ($call is Operation\Orgs\RemoveMember::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\GetCodespacesForUserInOrg::OPERATION_MATCH ? Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\DeleteFromOrganization::OPERATION_MATCH ? Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Codespaces\StopInOrganization::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Copilot\GetCopilotSeatAssignmentDetailsForUser::OPERATION_MATCH ? Schema\CopilotSeatDetails|array{code:int} : ($call is Operation\Orgs\GetMembershipForUser::OPERATION_MATCH ? : ($call is Operation\Orgs\SetMembershipForUser::OPERATION_MATCH ? : ($call is Operation\Orgs\RemoveMembershipForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\StartForOrg::OPERATION_MATCH ? : ($call is Operation\Migrations\GetStatusForOrg::OPERATION_MATCH ? : ($call is Operation\Migrations\DownloadArchiveForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\DownloadArchiveForOrgStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\DeleteArchiveForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UnlockRepoForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListReposForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListReposForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListOutsideCollaborators::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListOutsideCollaboratorsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ConvertMemberToOutsideCollaborator::OPERATION_MATCH ? Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Orgs\RemoveOutsideCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\ListPackagesForOrganization::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForOrganizationListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForOrganization::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByOrg::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForOrganization::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRequests::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRequestsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ReviewPatGrantRequestsInBulk::OPERATION_MATCH ? : ($call is Operation\Orgs\ReviewPatGrantRequest::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRequestRepositories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRequestRepositoriesListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrants::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\UpdatePatAccesses::OPERATION_MATCH ? : ($call is Operation\Orgs\UpdatePatAccess::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRepositories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRepositoriesListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\CreateForOrg::OPERATION_MATCH ? : ($call is Operation\Orgs\ListPublicMembers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPublicMembersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckPublicMembershipForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\SetPublicMembershipForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\RemovePublicMembershipForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateInOrg::OPERATION_MATCH ? : ($call is Operation\Repos\GetOrgRulesets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetOrgRulesetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\GetOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteOrgRuleset::OPERATION_MATCH ? array{code:int} : ($call is Operation\SecretScanning\ListAlertsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\SecretScanning\ListAlertsForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\ListOrgRepositoryAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListSecurityManagerTeams::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\AddSecurityManagerTeam::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\RemoveSecurityManagerTeam::OPERATION_MATCH ? array{code:int} : ($call is Operation\Billing\GetGithubActionsBillingOrg::OPERATION_MATCH ? : ($call is Operation\Billing\GetGithubPackagesBillingOrg::OPERATION_MATCH ? : ($call is Operation\Billing\GetSharedStorageBillingOrg::OPERATION_MATCH ? : ($call is Operation\Teams\List_::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\Create::OPERATION_MATCH ? : ($call is Operation\Teams\GetByName::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionCommentsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionCommentsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionCommentInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionCommentInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionCommentInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForTeamDiscussionComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Reactions\ListForTeamDiscussionInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForTeamDiscussion::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListPendingInvitationsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListPendingInvitationsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\GetMembershipForUserInOrg::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\AddOrUpdateMembershipForUserInOrg::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\RemoveMembershipForUserInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListProjectsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListProjectsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForProjectInOrg::OPERATION_MATCH ? Schema\TeamProject|array{code:int} : ($call is Operation\Teams\AddOrUpdateProjectPermissionsInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveProjectInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListReposInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListReposInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForRepoInOrg::OPERATION_MATCH ? Schema\TeamRepository|array{code:int} : ($call is Operation\Teams\AddOrUpdateRepoPermissionsInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveRepoInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListChildInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListChildInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\EnableOrDisableSecurityProductOnAllOrgRepos::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\GetCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\DeleteCard::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\UpdateCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\MoveCard::OPERATION_MATCH ? Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Projects\GetColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\Projects\DeleteColumn::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\UpdateColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\Projects\ListCards::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListCardsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\CreateCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\MoveColumn::OPERATION_MATCH ? Schema\Operations\Projects\MoveColumn\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Projects\Get::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Projects\Delete::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\Update::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Projects\ListCollaborators::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListCollaboratorsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\AddCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\RemoveCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\GetPermissionForUser::OPERATION_MATCH ? Schema\ProjectCollaboratorPermission|array{code:int} : ($call is Operation\Projects\ListColumns::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListColumnsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\CreateColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\RateLimit\Get::OPERATION_MATCH ? Schema\RateLimitOverview|array{code:int} : ($call is Operation\Repos\Get::OPERATION_MATCH ? : ($call is Operation\Repos\Delete::OPERATION_MATCH ? Schema\BasicError|array{code:int} : ($call is Operation\Repos\Update::OPERATION_MATCH ? : ($call is Operation\Actions\ListArtifactsForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetArtifact::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteArtifact::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\DownloadArtifact::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadArtifactStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GetActionsCacheUsage::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheList::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteActionsCacheByKey::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteActionsCacheById::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetJobForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadJobLogsForWorkflowRun::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadJobLogsForWorkflowRunStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReRunJobForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\GetCustomOidcSubClaimForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomOidcSubClaimForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoOrganizationSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoOrganizationVariables::OPERATION_MATCH ? : ($call is Operation\Actions\GetGithubActionsPermissionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsPermissionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetWorkflowAccessToRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetWorkflowAccessToRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetAllowedActionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetAllowedActionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetGithubActionsDefaultWorkflowPermissionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsDefaultWorkflowPermissionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelfHostedRunnersForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListRunnerApplicationsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GenerateRunnerJitconfigForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRegistrationTokenForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRemoveTokenForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteSelfHostedRunnerFromRepo::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListLabelsForSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomLabelsForSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\AddCustomLabelsToSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveCustomLabelFromSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListWorkflowRunsForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteWorkflowRun::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetReviewsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ApproveWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\ListWorkflowRunArtifacts::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRunAttempt::OPERATION_MATCH ? : ($call is Operation\Actions\ListJobsForWorkflowRunAttempt::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadWorkflowRunAttemptLogs::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadWorkflowRunAttemptLogsStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\CancelWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\ReviewCustomGatesForRun::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ForceCancelWorkflowRun::OPERATION_MATCH ? Schema\EmptyObject : ($call is Operation\Actions\ListJobsForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadWorkflowRunLogs::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadWorkflowRunLogsStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\DeleteWorkflowRunLogs::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetPendingDeploymentsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReviewPendingDeploymentsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReRunWorkflow::OPERATION_MATCH ? : ($call is Operation\Actions\ReRunWorkflowFailedJobs::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRunUsage::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListRepoVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRepoVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteRepoVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateRepoVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListRepoWorkflows::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflow::OPERATION_MATCH ? : ($call is Operation\Actions\DisableWorkflow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\CreateWorkflowDispatch::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\EnableWorkflow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListWorkflowRuns::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowUsage::OPERATION_MATCH ? : ($call is Operation\Repos\ListActivities::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListAssignees::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListAssigneesListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CheckUserCanBeAssigned::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListAutolinks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateAutolink::OPERATION_MATCH ? : ($call is Operation\Repos\GetAutolink::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAutolink::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\CheckAutomatedSecurityFixes::OPERATION_MATCH ? Schema\CheckAutomatedSecurityFixes|array{code:int} : ($call is Operation\Repos\EnableAutomatedSecurityFixes::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisableAutomatedSecurityFixes::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListBranches::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListBranchesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetBranch::OPERATION_MATCH ? : ($call is Operation\Repos\GetBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteBranchProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAdminBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\SetAdminBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAdminBranchProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetPullRequestReviewProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeletePullRequestReviewProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdatePullRequestReviewProtection::OPERATION_MATCH ? : ($call is Operation\Repos\GetCommitSignatureProtection::OPERATION_MATCH ? : ($call is Operation\Repos\CreateCommitSignatureProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteCommitSignatureProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetStatusChecksProtection::OPERATION_MATCH ? : ($call is Operation\Repos\RemoveStatusCheckProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateStatusCheckProtection::OPERATION_MATCH ? : ($call is Operation\Repos\GetAllStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetAccessRestrictions::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAccessRestrictions::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAppsWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetTeamsWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetUsersWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RenameBranch::OPERATION_MATCH ? : ($call is Operation\Checks\Create::OPERATION_MATCH ? : ($call is Operation\Checks\Get::OPERATION_MATCH ? : ($call is Operation\Checks\Update::OPERATION_MATCH ? : ($call is Operation\Checks\ListAnnotations::OPERATION_MATCH ? Observable : ($call is Operation\Checks\ListAnnotationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Checks\RerequestRun::OPERATION_MATCH ? : ($call is Operation\Checks\CreateSuite::OPERATION_MATCH ? : ($call is Operation\Checks\SetSuitesPreferences::OPERATION_MATCH ? : ($call is Operation\Checks\GetSuite::OPERATION_MATCH ? : ($call is Operation\Checks\ListForSuite::OPERATION_MATCH ? : ($call is Operation\Checks\RerequestSuite::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodeScanning\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodeScanning\GetAlert::OPERATION_MATCH ? Schema\CodeScanningAlert|array{code:int} : ($call is Operation\CodeScanning\UpdateAlert::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListAlertInstances::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListAlertInstancesListing::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListRecentAnalyses::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListRecentAnalysesListing::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\GetAnalysis::OPERATION_MATCH ? : ($call is Operation\CodeScanning\DeleteAnalysis::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListCodeqlDatabases::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\GetCodeqlDatabase::OPERATION_MATCH ? Schema\CodeScanningCodeqlDatabase|array{code:int} : ($call is Operation\CodeScanning\GetDefaultSetup::OPERATION_MATCH ? : ($call is Operation\CodeScanning\UpdateDefaultSetup::OPERATION_MATCH ? : ($call is Operation\CodeScanning\UploadSarif::OPERATION_MATCH ? Schema\CodeScanningSarifsReceipt|array{code:int} : ($call is Operation\CodeScanning\GetSarif::OPERATION_MATCH ? Schema\CodeScanningSarifsStatus|array{code:int} : ($call is Operation\Repos\CodeownersErrors::OPERATION_MATCH ? Schema\CodeownersErrors|array{code:int} : ($call is Operation\Codespaces\ListInRepositoryForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateWithRepoForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\RepoMachinesForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Codespaces\PreFlightWithRepoForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListCollaborators::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCollaboratorsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CheckCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\AddCollaborator::OPERATION_MATCH ? Schema\RepositoryInvitation|array{code:int} : ($call is Operation\Repos\RemoveCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetCollaboratorPermissionLevel::OPERATION_MATCH ? : ($call is Operation\Repos\ListCommitCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommitCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetCommitComment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteCommitComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateCommitComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForCommitComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForCommitCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForCommitComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForCommitComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListCommits::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommitsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListBranchesForHeadCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommentsForCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommentsForCommitListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateCommitComment::OPERATION_MATCH ? : ($call is Operation\Repos\ListPullRequestsAssociatedWithCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListPullRequestsAssociatedWithCommitListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetCommit::OPERATION_MATCH ? : ($call is Operation\Checks\ListForRef::OPERATION_MATCH ? : ($call is Operation\Checks\ListSuitesForRef::OPERATION_MATCH ? : ($call is Operation\Repos\GetCombinedStatusForRef::OPERATION_MATCH ? : ($call is Operation\Repos\ListCommitStatusesForRef::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Repos\ListCommitStatusesForRefListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Repos\GetCommunityProfileMetrics::OPERATION_MATCH ? : ($call is Operation\Repos\CompareCommits::OPERATION_MATCH ? : ($call is Operation\Repos\GetContent::OPERATION_MATCH ? Schema\ContentDirectory|Schema\ContentFile|Schema\ContentSymlink|Schema\ContentSubmodule|array{code:int} : ($call is Operation\Repos\CreateOrUpdateFileContents::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteFile::OPERATION_MATCH ? : ($call is Operation\Repos\ListContributors::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListContributorsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\GetAlert::OPERATION_MATCH ? Schema\DependabotAlert|array{code:int} : ($call is Operation\Dependabot\UpdateAlert::OPERATION_MATCH ? : ($call is Operation\Dependabot\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Dependabot\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\DependencyGraph\DiffRange::OPERATION_MATCH ? Observable : ($call is Operation\DependencyGraph\ExportSbom::OPERATION_MATCH ? : ($call is Operation\DependencyGraph\CreateRepositorySnapshot::OPERATION_MATCH ? : ($call is Operation\Repos\ListDeployments::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeploymentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeployment::OPERATION_MATCH ? Schema\Deployment|Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetDeployment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeployment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListDeploymentStatuses::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeploymentStatusesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeploymentStatus::OPERATION_MATCH ? : ($call is Operation\Repos\GetDeploymentStatus::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDispatchEvent::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAllEnvironments::OPERATION_MATCH ? : ($call is Operation\Repos\GetEnvironment::OPERATION_MATCH ? : ($call is Operation\Repos\CreateOrUpdateEnvironment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAnEnvironment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListDeploymentBranchPolicies::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDeploymentBranchPolicy::OPERATION_MATCH ? Schema\DeploymentBranchPolicy|array{code:int} : ($call is Operation\Repos\GetDeploymentBranchPolicy::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateDeploymentBranchPolicy::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeploymentBranchPolicy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAllDeploymentProtectionRules::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDeploymentProtectionRule::OPERATION_MATCH ? : ($call is Operation\Repos\ListCustomDeploymentRuleIntegrations::OPERATION_MATCH ? : ($call is Operation\Repos\GetCustomDeploymentProtectionRule::OPERATION_MATCH ? : ($call is Operation\Repos\DisableDeploymentProtectionRule::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListRepoEvents::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForksListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateFork::OPERATION_MATCH ? : ($call is Operation\Git\CreateBlob::OPERATION_MATCH ? : ($call is Operation\Git\GetBlob::OPERATION_MATCH ? : ($call is Operation\Git\CreateCommit::OPERATION_MATCH ? : ($call is Operation\Git\GetCommit::OPERATION_MATCH ? : ($call is Operation\Git\ListMatchingRefs::OPERATION_MATCH ? Observable : ($call is Operation\Git\GetRef::OPERATION_MATCH ? : ($call is Operation\Git\CreateRef::OPERATION_MATCH ? : ($call is Operation\Git\DeleteRef::OPERATION_MATCH ? array{code:int} : ($call is Operation\Git\UpdateRef::OPERATION_MATCH ? : ($call is Operation\Git\CreateTag::OPERATION_MATCH ? : ($call is Operation\Git\GetTag::OPERATION_MATCH ? : ($call is Operation\Git\CreateTree::OPERATION_MATCH ? : ($call is Operation\Git\GetTree::OPERATION_MATCH ? : ($call is Operation\Repos\ListWebhooks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListWebhooksListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateWebhook::OPERATION_MATCH ? : ($call is Operation\Repos\GetWebhook::OPERATION_MATCH ? Schema\Hook : ($call is Operation\Repos\DeleteWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateWebhook::OPERATION_MATCH ? Schema\Hook : ($call is Operation\Repos\GetWebhookConfigForRepo::OPERATION_MATCH ? Schema\WebhookConfig : ($call is Operation\Repos\UpdateWebhookConfigForRepo::OPERATION_MATCH ? Schema\WebhookConfig : ($call is Operation\Repos\ListWebhookDeliveries::OPERATION_MATCH ? iterable : ($call is Operation\Repos\GetWebhookDelivery::OPERATION_MATCH ? Schema\HookDelivery : ($call is Operation\Repos\RedeliverWebhookDelivery::OPERATION_MATCH ? Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json : ($call is Operation\Repos\PingWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\TestPushWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\GetImportStatus::OPERATION_MATCH ? : ($call is Operation\Migrations\StartImport::OPERATION_MATCH ? : ($call is Operation\Migrations\CancelImport::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UpdateImport::OPERATION_MATCH ? : ($call is Operation\Migrations\GetCommitAuthors::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\MapCommitAuthor::OPERATION_MATCH ? : ($call is Operation\Migrations\GetLargeFiles::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\SetLfsPreference::OPERATION_MATCH ? : ($call is Operation\Apps\GetRepoInstallation::OPERATION_MATCH ? : ($call is Operation\Interactions\GetRestrictionsForRepo::OPERATION_MATCH ? : ($call is Operation\Interactions\SetRestrictionsForRepo::OPERATION_MATCH ? Schema\InteractionLimitResponse|array{code:int} : ($call is Operation\Interactions\RemoveRestrictionsForRepo::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\DeleteInvitation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateInvitation::OPERATION_MATCH ? : ($call is Operation\Issues\ListForRepo::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\ListForRepoListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\Create::OPERATION_MATCH ? : ($call is Operation\Issues\ListCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\GetComment::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForIssueComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForIssueCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForIssueComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForIssueComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListEventsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\GetEvent::OPERATION_MATCH ? : ($call is Operation\Issues\Get::OPERATION_MATCH ? Schema\Issue|Schema\BasicError|array{code:int} : ($call is Operation\Issues\Update::OPERATION_MATCH ? : ($call is Operation\Issues\AddAssignees::OPERATION_MATCH ? : ($call is Operation\Issues\RemoveAssignees::OPERATION_MATCH ? : ($call is Operation\Issues\CheckUserCanBeAssignedToIssue::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListComments::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListCommentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateComment::OPERATION_MATCH ? : ($call is Operation\Issues\ListEvents::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsOnIssue::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\ListLabelsOnIssueListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\SetLabels::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\AddLabels::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\RemoveAllLabels::OPERATION_MATCH ? Schema\BasicError|array{code:int} : ($call is Operation\Issues\RemoveLabel::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\Lock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\Unlock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Reactions\ListForIssue::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForIssueListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForIssue::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForIssue::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListEventsForTimeline::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsForTimelineListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeployKeys::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeployKeysListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeployKey::OPERATION_MATCH ? : ($call is Operation\Repos\GetDeployKey::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeployKey::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListLabelsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateLabel::OPERATION_MATCH ? : ($call is Operation\Issues\GetLabel::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteLabel::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateLabel::OPERATION_MATCH ? : ($call is Operation\Repos\ListLanguages::OPERATION_MATCH ? : ($call is Operation\Licenses\GetForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\MergeUpstream::OPERATION_MATCH ? Schema\MergedUpstream|array{code:int} : ($call is Operation\Repos\Merge::OPERATION_MATCH ? Schema\Commit|array{code:int} : ($call is Operation\Issues\ListMilestones::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListMilestonesListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\GetMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteMilestone::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\ListLabelsForMilestone::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsForMilestoneListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoNotificationsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoNotificationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\MarkRepoNotificationsAsRead::OPERATION_MATCH ? Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted|array{code:int} : ($call is Operation\Repos\GetPages::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateInformationAboutPagesSite::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\CreatePagesSite::OPERATION_MATCH ? : ($call is Operation\Repos\DeletePagesSite::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListPagesBuilds::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListPagesBuildsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RequestPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\GetLatestPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\GetPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\CreatePagesDeployment::OPERATION_MATCH ? : ($call is Operation\Repos\GetPagesHealthCheck::OPERATION_MATCH ? Schema\PagesHealthCheck|Schema\EmptyObject|array{code:int} : ($call is Operation\Repos\EnablePrivateVulnerabilityReporting::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisablePrivateVulnerabilityReporting::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\ListForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\CreateForRepo::OPERATION_MATCH ? : ($call is Operation\Pulls\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Pulls\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Pulls\Create::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviewCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\GetReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\DeleteReviewComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\UpdateReviewComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForPullRequestReviewComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForPullRequestReviewCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForPullRequestReviewComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForPullRequestComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\Get::OPERATION_MATCH ? Schema\PullRequest|array{code:int} : ($call is Operation\Pulls\Update::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateWithPrForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviewComments::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewCommentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CreateReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\CreateReplyForReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\ListCommits::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListCommitsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListFiles::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListFilesListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CheckIfMerged::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\Merge::OPERATION_MATCH ? : ($call is Operation\Pulls\ListRequestedReviewers::OPERATION_MATCH ? : ($call is Operation\Pulls\RequestReviewers::OPERATION_MATCH ? Schema\PullRequestSimple|array{code:int} : ($call is Operation\Pulls\RemoveRequestedReviewers::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviews::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CreateReview::OPERATION_MATCH ? : ($call is Operation\Pulls\GetReview::OPERATION_MATCH ? : ($call is Operation\Pulls\UpdateReview::OPERATION_MATCH ? : ($call is Operation\Pulls\DeletePendingReview::OPERATION_MATCH ? : ($call is Operation\Pulls\ListCommentsForReview::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListCommentsForReviewListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\DismissReview::OPERATION_MATCH ? : ($call is Operation\Pulls\SubmitReview::OPERATION_MATCH ? : ($call is Operation\Pulls\UpdateBranch::OPERATION_MATCH ? : ($call is Operation\Repos\GetReadme::OPERATION_MATCH ? : ($call is Operation\Repos\GetReadmeInDirectory::OPERATION_MATCH ? : ($call is Operation\Repos\ListReleases::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListReleasesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateRelease::OPERATION_MATCH ? : ($call is Operation\Repos\GetReleaseAsset::OPERATION_MATCH ? Schema\ReleaseAsset|array{code:int} : ($call is Operation\Repos\DeleteReleaseAsset::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateReleaseAsset::OPERATION_MATCH ? : ($call is Operation\Repos\GenerateReleaseNotes::OPERATION_MATCH ? : ($call is Operation\Repos\GetLatestRelease::OPERATION_MATCH ? : ($call is Operation\Repos\GetReleaseByTag::OPERATION_MATCH ? : ($call is Operation\Repos\GetRelease::OPERATION_MATCH ? Schema\Release|array{code:int} : ($call is Operation\Repos\DeleteRelease::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateRelease::OPERATION_MATCH ? : ($call is Operation\Repos\ListReleaseAssets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListReleaseAssetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\UploadReleaseAsset::OPERATION_MATCH ? Schema\ReleaseAsset|array{code:int} : ($call is Operation\Reactions\ListForRelease::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForReleaseListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForRelease::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForRelease::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetBranchRules::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetBranchRulesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetRepoRulesets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetRepoRulesetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\GetRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteRepoRuleset::OPERATION_MATCH ? array{code:int} : ($call is Operation\SecretScanning\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\GetAlert::OPERATION_MATCH ? Schema\SecretScanningAlert|array{code:int} : ($call is Operation\SecretScanning\UpdateAlert::OPERATION_MATCH ? Schema\SecretScanningAlert|array{code:int} : ($call is Operation\SecretScanning\ListLocationsForAlert::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListLocationsForAlertListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecurityAdvisories\ListRepositoryAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\CreateRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\CreatePrivateVulnerabilityReport::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\GetRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\UpdateRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest::OPERATION_MATCH ? : ($call is Operation\Activity\ListStargazersForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\GetCodeFrequencyStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetCommitActivityStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetContributorsStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetParticipationStats::OPERATION_MATCH ? : ($call is Operation\Repos\GetPunchCardStats::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\CreateCommitStatus::OPERATION_MATCH ? : ($call is Operation\Activity\ListWatchersForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListWatchersForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\GetRepoSubscription::OPERATION_MATCH ? Schema\RepositorySubscription|array{code:int} : ($call is Operation\Activity\SetRepoSubscription::OPERATION_MATCH ? : ($call is Operation\Activity\DeleteRepoSubscription::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListTags::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTagsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTagProtection::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateTagProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteTagProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DownloadTarballArchive::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Repos\DownloadTarballArchiveStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTeams::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTeamsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetAllTopics::OPERATION_MATCH ? : ($call is Operation\Repos\ReplaceAllTopics::OPERATION_MATCH ? : ($call is Operation\Repos\GetClones::OPERATION_MATCH ? : ($call is Operation\Repos\GetTopPaths::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetTopReferrers::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetViews::OPERATION_MATCH ? : ($call is Operation\Repos\Transfer::OPERATION_MATCH ? : ($call is Operation\Repos\CheckVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\EnableVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisableVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DownloadZipballArchive::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Repos\DownloadZipballArchiveStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateUsingTemplate::OPERATION_MATCH ? : ($call is Operation\Repos\ListPublic::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Actions\ListEnvironmentSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateEnvironmentSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteEnvironmentSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListEnvironmentVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateEnvironmentVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteEnvironmentVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateEnvironmentVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Search\Code::OPERATION_MATCH ? Schema\Operations\Search\Code\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Commits::OPERATION_MATCH ? Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\IssuesAndPullRequests::OPERATION_MATCH ? Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Labels::OPERATION_MATCH ? Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Repos::OPERATION_MATCH ? Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Topics::OPERATION_MATCH ? Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Users::OPERATION_MATCH ? Schema\Operations\Search\Users\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Teams\GetLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionCommentsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionCommentsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionCommentLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionCommentLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionCommentLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListPendingInvitationsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListPendingInvitationsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\GetMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\AddMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\GetMembershipForUserLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\AddOrUpdateMembershipForUserLegacy::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\RemoveMembershipForUserLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListProjectsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListProjectsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForProjectLegacy::OPERATION_MATCH ? Schema\TeamProject|array{code:int} : ($call is Operation\Teams\AddOrUpdateProjectPermissionsLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveProjectLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListReposLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListReposLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForRepoLegacy::OPERATION_MATCH ? Schema\TeamRepository|array{code:int} : ($call is Operation\Teams\AddOrUpdateRepoPermissionsLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveRepoLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListChildLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListChildLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\GetAuthenticated::OPERATION_MATCH ? Schema\PrivateUser|Schema\PublicUser|array{code:int} : ($call is Operation\Users\UpdateAuthenticated::OPERATION_MATCH ? Schema\PrivateUser|array{code:int} : ($call is Operation\Users\ListBlockedByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListBlockedByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CheckBlocked::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Block::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Unblock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\ListForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\CreateForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListSecretsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetPublicKeyForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetSecretForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateSecretForAuthenticatedUser::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListRepositoriesForSecretForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\SetRepositoriesForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\AddRepositoryForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\RemoveRepositoryForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\GetForAuthenticatedUser::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Codespaces\DeleteForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\DeleteForAuthenticatedUser\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Codespaces\UpdateForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ExportForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetExportDetailsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CodespaceMachinesForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\PublishForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\StartForAuthenticatedUser::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Codespaces\StopForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\SetPrimaryEmailVisibilityForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListEmailsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListEmailsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\AddEmailForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\DeleteEmailForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListFollowersForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowersForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowedByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowedByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CheckPersonIsFollowedByAuthenticated::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Follow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Unfollow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListGpgKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListGpgKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreateGpgKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\GpgKey|array{code:int} : ($call is Operation\Users\GetGpgKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\GpgKey|array{code:int} : ($call is Operation\Users\DeleteGpgKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ListInstallationsForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Apps\ListInstallationReposForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Apps\AddRepoToInstallationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\RemoveRepoFromInstallationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Interactions\GetRestrictionsForAuthenticatedUser::OPERATION_MATCH ? Schema\InteractionLimitResponse|Schema\Operations\Interactions\GetRestrictionsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json\One|array{code:int} : ($call is Operation\Interactions\SetRestrictionsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Interactions\RemoveRestrictionsForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Issues\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicSshKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicSshKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreatePublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\Key|array{code:int} : ($call is Operation\Users\GetPublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\Key|array{code:int} : ($call is Operation\Users\DeletePublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserStubbed::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserStubbedListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListMembershipsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListMembershipsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\GetMembershipForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Orgs\UpdateMembershipForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Migrations\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Migrations\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Migrations\StartForAuthenticatedUser::OPERATION_MATCH ? Schema\Migration|array{code:int} : ($call is Operation\Migrations\GetStatusForAuthenticatedUser::OPERATION_MATCH ? Schema\Migration|array{code:int} : ($call is Operation\Migrations\GetArchiveForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\DeleteArchiveForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UnlockRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListReposForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListReposForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\CreateForAuthenticatedUser::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Users\ListPublicEmailsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicEmailsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\CreateForAuthenticatedUser::OPERATION_MATCH ? Schema\Repository|array{code:int} : ($call is Operation\Repos\ListInvitationsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListInvitationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\DeclineInvitationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\AcceptInvitationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListSocialAccountsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListSocialAccountsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\AddSocialAccountForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\DeleteSocialAccountForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListSshSigningKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListSshSigningKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreateSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\SshSigningKey|array{code:int} : ($call is Operation\Users\GetSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\SshSigningKey|array{code:int} : ($call is Operation\Users\DeleteSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListReposStarredByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListReposStarredByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\CheckRepoIsStarredByAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\StarRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\UnstarRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListWatchedReposForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListWatchedReposForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Teams\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Teams\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\GetByUsername::OPERATION_MATCH ? : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListEventsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListEventsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListOrgEventsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListOrgEventsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowersForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowersForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowingForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowingForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\CheckFollowingForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Gists\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListGpgKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListGpgKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\GetContextForUser::OPERATION_MATCH ? : ($call is Operation\Apps\GetUserInstallation::OPERATION_MATCH ? : ($call is Operation\Users\ListPublicKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListPublicKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\ListPackagesForUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByUser::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedPublicEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedPublicEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Billing\GetGithubActionsBillingUser::OPERATION_MATCH ? : ($call is Operation\Billing\GetGithubPackagesBillingUser::OPERATION_MATCH ? : ($call is Operation\Billing\GetSharedStorageBillingUser::OPERATION_MATCH ? : ($call is Operation\Users\ListSocialAccountsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSocialAccountsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSshSigningKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSshSigningKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReposStarredByUser::OPERATION_MATCH ? : ($call is Operation\Activity\ListReposWatchedByUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReposWatchedByUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Meta\GetAllVersions::OPERATION_MATCH ? Observable : ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) */ // phpcs:enable public function call(string $call, array $params = []): Root|iterable|GlobalAdvisory|Integration|WebhookConfig|HookDelivery|Json|Installation|InstallationToken|Authorization|ClassroomAssignment|Classroom|CodeOfConduct|\ApiClients\Client\GitHub\Schema\Operations\Emojis\Get\Response\ApplicationJson\Ok\Application\Json|Feed|GistSimple|GistComment|BaseGist|GitignoreTemplate|Ok|License|string|MarketplacePurchase|ApiOverview|BasicError|Accepted|Thread|ThreadSubscription|ResponseInterface|OrganizationFull|\ApiClients\Client\GitHub\Schema\Operations\Orgs\Delete\Response\ApplicationJson\Accepted\Application\Json|ActionsCacheUsageOrgEnterprise|\ApiClients\Client\GitHub\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|OidcCustomSub|EmptyObject|ActionsOrganizationPermissions|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|Created|AuthenticationToken|Runner|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListLabelsForSelfHostedRunnerForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|ActionsPublicKey|OrganizationActionsSecret|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|OrganizationActionsVariable|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|CopilotOrganizationDetails|\ApiClients\Client\GitHub\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Copilot\AddCopilotForBusinessSeatsForTeams\Response\ApplicationJson\Created|\ApiClients\Client\GitHub\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForTeams\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Copilot\AddCopilotForBusinessSeatsForUsers\Response\ApplicationJson\Created\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|OrgHook|\ApiClients\Client\GitHub\Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ListAppInstallations\Response\ApplicationJson\Ok|InteractionLimitResponse|One|OrganizationInvitation|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|Codespace|CopilotSeatDetails|OrgMembership|Migration|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json|Package|PackageVersion|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ReviewPatGrantRequestsInBulk\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Orgs\UpdatePatAccesses\Response\ApplicationJson\Accepted\Application\Json|Project|Repository|RepositoryRuleset|ActionsBillingUsage|PackagesBillingUsage|CombinedBillingUsage|TeamFull|TeamDiscussion|TeamDiscussionComment|Reaction|TeamMembership|TeamProject|TeamRepository|ProjectCard|\ApiClients\Client\GitHub\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|ProjectColumn|\ApiClients\Client\GitHub\Schema\Operations\Projects\MoveColumn\Response\ApplicationJson\Created\Application\Json|ProjectCollaboratorPermission|RateLimitOverview|FullRepository|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|Artifact|ActionsCacheUsageByRepository|ActionsCacheList|Job|OidcCustomSubRepo|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|ActionsWorkflowAccessToRepository|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|WorkflowRun|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRunArtifacts\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListJobsForWorkflowRunAttempt\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|WorkflowRunUsage|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|ActionsSecret|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|ActionsVariable|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|Workflow|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|WorkflowUsage|Autolink|CheckAutomatedSecurityFixes|BranchWithProtection|BranchProtection|ProtectedBranch|ProtectedBranchAdminEnforced|ProtectedBranchPullRequestReview|StatusCheckPolicy|BranchRestrictionPolicy|CheckRun|CheckSuite|CheckSuitePreference|\ApiClients\Client\GitHub\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|CodeScanningAlert|CodeScanningAnalysis|CodeScanningAnalysisDeletion|CodeScanningCodeqlDatabase|CodeScanningDefaultSetup|CodeScanningDefaultSetupUpdateResponse|CodeScanningSarifsReceipt|CodeScanningSarifsStatus|CodeownersErrors|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\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|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|RepoCodespacesSecret|RepositoryInvitation|RepositoryCollaboratorPermission|CommitComment|Commit|\ApiClients\Client\GitHub\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|CombinedCommitStatus|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|FileCommit|DependabotAlert|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependabotSecret|DependencyGraphSpdxSbom|\ApiClients\Client\GitHub\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|Deployment|\ApiClients\Client\GitHub\Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|DeploymentStatus|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Environment|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|DeploymentBranchPolicy|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|DeploymentProtectionRule|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\Response\ApplicationJson\Ok|ShortBlob|Blob|GitCommit|GitRef|GitTag|GitTree|Hook|\ApiClients\Client\GitHub\Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|Import|PorterAuthor|\ApiClients\Client\GitHub\Schema\Operations\Interactions\GetRestrictionsForRepo\Response\ApplicationJson\Ok\Application\Json\One|Issue|IssueComment|IssueEvent|DeployKey|Label|Language|LicenseContent|MergedUpstream|Milestone|\ApiClients\Client\GitHub\Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted|Page|PageBuildStatus|PageBuild|PageDeployment|PagesHealthCheck|PullRequest|PullRequestReviewComment|PullRequestMergeResult|PullRequestReviewRequest|PullRequestSimple|PullRequestReview|\ApiClients\Client\GitHub\Schema\Operations\Pulls\UpdateBranch\Response\ApplicationJson\Accepted\Application\Json|Release|ReleaseAsset|ReleaseNotesContent|SecretScanningAlert|RepositoryAdvisory|\ApiClients\Client\GitHub\Schema\Operations\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest\Response\ApplicationJson\Accepted\Application\Json|SimpleUser|Stargazer|\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|Status|RepositorySubscription|TagProtection|Topic|CloneTraffic|ViewTraffic|MinimalRepository|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListEnvironmentSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListEnvironmentVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Search\Code\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Users\Response\ApplicationJson\Ok|PrivateUser|PublicUser|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListSecretsForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesUserPublicKey|CodespacesSecret|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\DeleteForAuthenticatedUser\Response\ApplicationJson\Accepted\Application\Json|CodespaceExportDetails|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceWithFullRepository|GpgKey|\ApiClients\Client\GitHub\Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Interactions\GetRestrictionsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json\One|Key|SshSigningKey|Hovercard|StarredRepository diff --git a/clients/GitHub/src/ClientInterface.php b/clients/GitHub/src/ClientInterface.php index 3265c83aff7..83dfa4dd5e7 100644 --- a/clients/GitHub/src/ClientInterface.php +++ b/clients/GitHub/src/ClientInterface.php @@ -192,7 +192,7 @@ interface ClientInterface { // phpcs:disable /** - * @return ($call is Operation\Meta\Root::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\ListGlobalAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\GetGlobalAdvisory::OPERATION_MATCH ? : ($call is Operation\Apps\GetAuthenticated::OPERATION_MATCH ? : ($call is Operation\Apps\CreateFromManifest::OPERATION_MATCH ? : ($call is Operation\Apps\GetWebhookConfigForApp::OPERATION_MATCH ? : ($call is Operation\Apps\UpdateWebhookConfigForApp::OPERATION_MATCH ? : ($call is Operation\Apps\ListWebhookDeliveries::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Apps\RedeliverWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Apps\ListInstallationRequestsForAuthenticatedApp::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListInstallationRequestsForAuthenticatedAppListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListInstallations::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListInstallationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetInstallation::OPERATION_MATCH ? : ($call is Operation\Apps\DeleteInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\CreateInstallationAccessToken::OPERATION_MATCH ? : ($call is Operation\Apps\SuspendInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\UnsuspendInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\DeleteAuthorization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\CheckToken::OPERATION_MATCH ? : ($call is Operation\Apps\DeleteToken::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ResetToken::OPERATION_MATCH ? : ($call is Operation\Apps\ScopeToken::OPERATION_MATCH ? : ($call is Operation\Apps\GetBySlug::OPERATION_MATCH ? : ($call is Operation\Classroom\GetAnAssignment::OPERATION_MATCH ? : ($call is Operation\Classroom\ListAcceptedAssigmentsForAnAssignment::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListAcceptedAssigmentsForAnAssignmentListing::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\GetAssignmentGrades::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListClassrooms::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListClassroomsListing::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\GetAClassroom::OPERATION_MATCH ? : ($call is Operation\Classroom\ListAssignmentsForAClassroom::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListAssignmentsForAClassroomListing::OPERATION_MATCH ? Observable : ($call is Operation\CodesOfConduct\GetAllCodesOfConduct::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodesOfConduct\GetConductCode::OPERATION_MATCH ? Schema\CodeOfConduct|array{code:int} : ($call is Operation\Emojis\Get::OPERATION_MATCH ? Schema\Operations\Emojis\Get\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Dependabot\ListAlertsForEnterprise::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListAlertsForEnterprise::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEvents::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListPublicEventsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\GetFeeds::OPERATION_MATCH ? : ($call is Operation\Gists\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Create::OPERATION_MATCH ? Schema\GistSimple|array{code:int} : ($call is Operation\Gists\ListPublic::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListPublicListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListStarred::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListStarredListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Get::OPERATION_MATCH ? Schema\GistSimple|array{code:int} : ($call is Operation\Gists\Delete::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Update::OPERATION_MATCH ? : ($call is Operation\Gists\ListComments::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListCommentsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\CreateComment::OPERATION_MATCH ? Schema\GistComment|array{code:int} : ($call is Operation\Gists\GetComment::OPERATION_MATCH ? Schema\GistComment|array{code:int} : ($call is Operation\Gists\DeleteComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\UpdateComment::OPERATION_MATCH ? : ($call is Operation\Gists\ListCommits::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListCommitsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListForks::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListForksListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Fork::OPERATION_MATCH ? Schema\BaseGist|array{code:int} : ($call is Operation\Gists\CheckIsStarred::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Star::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Unstar::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\GetRevision::OPERATION_MATCH ? : ($call is Operation\Gitignore\GetAllTemplates::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gitignore\GetTemplate::OPERATION_MATCH ? Schema\GitignoreTemplate|array{code:int} : ($call is Operation\Apps\ListReposAccessibleToInstallation::OPERATION_MATCH ? Schema\Operations\Apps\ListReposAccessibleToInstallation\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Apps\RevokeInstallationAccessToken::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Issues\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\GetAllCommonlyUsed::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\GetAllCommonlyUsedListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\Get::OPERATION_MATCH ? Schema\License|array{code:int} : ($call is Operation\Markdown\Render::OPERATION_MATCH ? string|array{code:int} : ($call is Operation\Markdown\RenderRaw::OPERATION_MATCH ? string|array{code:int} : ($call is Operation\Apps\GetSubscriptionPlanForAccount::OPERATION_MATCH ? : ($call is Operation\Apps\ListPlans::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListPlansListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlan::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetSubscriptionPlanForAccountStubbed::OPERATION_MATCH ? Schema\MarketplacePurchase|array{code:int} : ($call is Operation\Apps\ListPlansStubbed::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListPlansStubbedListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanStubbed::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanStubbedListing::OPERATION_MATCH ? Observable : ($call is Operation\Meta\Get::OPERATION_MATCH ? Schema\ApiOverview|array{code:int} : ($call is Operation\Activity\ListPublicEventsForRepoNetwork::OPERATION_MATCH ? Observable|Schema\BasicError|array{code:int} : ($call is Operation\Activity\ListPublicEventsForRepoNetworkListing::OPERATION_MATCH ? Observable|Schema\BasicError|array{code:int} : ($call is Operation\Activity\ListNotificationsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListNotificationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\MarkNotificationsAsRead::OPERATION_MATCH ? Schema\Operations\Activity\MarkNotificationsAsRead\Response\ApplicationJson\Accepted|array{code:int} : ($call is Operation\Activity\GetThread::OPERATION_MATCH ? Schema\Thread|array{code:int} : ($call is Operation\Activity\MarkThreadAsRead::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\GetThreadSubscriptionForAuthenticatedUser::OPERATION_MATCH ? Schema\ThreadSubscription|array{code:int} : ($call is Operation\Activity\SetThreadSubscription::OPERATION_MATCH ? Schema\ThreadSubscription|array{code:int} : ($call is Operation\Activity\DeleteThreadSubscription::OPERATION_MATCH ? array{code:int} : ($call is Operation\Meta\GetOctocat::OPERATION_MATCH ? : ($call is Operation\Orgs\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\Get::OPERATION_MATCH ? : ($call is Operation\Orgs\Delete::OPERATION_MATCH ? : ($call is Operation\Orgs\Update::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheUsageForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheUsageByRepoForOrg::OPERATION_MATCH ? : ($call is Operation\Oidc\GetOidcCustomSubTemplateForOrg::OPERATION_MATCH ? : ($call is Operation\Oidc\UpdateOidcCustomSubTemplateForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetGithubActionsPermissionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsPermissionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetSelectedRepositoriesEnabledGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\EnableSelectedRepositoryGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\DisableSelectedRepositoryGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetAllowedActionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetAllowedActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetGithubActionsDefaultWorkflowPermissionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsDefaultWorkflowPermissionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelfHostedRunnersForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\ListRunnerApplicationsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GenerateRunnerJitconfigForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRegistrationTokenForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRemoveTokenForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteSelfHostedRunnerFromOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListLabelsForSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomLabelsForSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\AddCustomLabelsToSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveCustomLabelFromSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Actions\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListOrgVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrgVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedReposForOrgVariable::OPERATION_MATCH ? Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Actions\SetSelectedReposForOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\AddSelectedRepoToOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\RemoveSelectedRepoFromOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListBlockedUsers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListBlockedUsersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckBlockedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\BlockUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\UnblockUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\CodeScanning\ListAlertsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListAlertsForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Codespaces\ListInOrganization::OPERATION_MATCH ? Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Codespaces\SetCodespacesAccess::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\SetCodespacesAccessUsers::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\DeleteCodespacesAccessUsers::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Copilot\GetCopilotOrganizationDetails::OPERATION_MATCH ? : ($call is Operation\Copilot\ListCopilotSeats::OPERATION_MATCH ? : ($call is Operation\Copilot\AddCopilotForBusinessSeatsForTeams::OPERATION_MATCH ? Schema\Operations\Copilot\AddCopilotForBusinessSeatsForTeams\Response\ApplicationJson\Created|array{code:int} : ($call is Operation\Copilot\CancelCopilotSeatAssignmentForTeams::OPERATION_MATCH ? Schema\Operations\Copilot\CancelCopilotSeatAssignmentForTeams\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Copilot\AddCopilotForBusinessSeatsForUsers::OPERATION_MATCH ? Schema\Operations\Copilot\AddCopilotForBusinessSeatsForUsers\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Copilot\CancelCopilotSeatAssignmentForUsers::OPERATION_MATCH ? Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Dependabot\ListAlertsForOrg::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Dependabot\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForOrganization::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicOrgEvents::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicOrgEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListFailedInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListFailedInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListWebhooks::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListWebhooksListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CreateWebhook::OPERATION_MATCH ? : ($call is Operation\Orgs\GetWebhook::OPERATION_MATCH ? : ($call is Operation\Orgs\DeleteWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\UpdateWebhook::OPERATION_MATCH ? : ($call is Operation\Orgs\GetWebhookConfigForOrg::OPERATION_MATCH ? : ($call is Operation\Orgs\UpdateWebhookConfigForOrg::OPERATION_MATCH ? : ($call is Operation\Orgs\ListWebhookDeliveries::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\GetWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Orgs\RedeliverWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Orgs\PingWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\GetOrgInstallation::OPERATION_MATCH ? : ($call is Operation\Orgs\ListAppInstallations::OPERATION_MATCH ? : ($call is Operation\Interactions\GetRestrictionsForOrg::OPERATION_MATCH ? : ($call is Operation\Interactions\SetRestrictionsForOrg::OPERATION_MATCH ? : ($call is Operation\Interactions\RemoveRestrictionsForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPendingInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPendingInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CreateInvitation::OPERATION_MATCH ? : ($call is Operation\Orgs\CancelInvitation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListInvitationTeams::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListInvitationTeamsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListMembers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListMembersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckMembershipForUser::OPERATION_MATCH ? array{code:int}|array{code:int,location:string} : ($call is Operation\Orgs\RemoveMember::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\GetCodespacesForUserInOrg::OPERATION_MATCH ? Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\DeleteFromOrganization::OPERATION_MATCH ? Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Codespaces\StopInOrganization::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Copilot\GetCopilotSeatAssignmentDetailsForUser::OPERATION_MATCH ? Schema\CopilotSeatDetails|array{code:int} : ($call is Operation\Orgs\GetMembershipForUser::OPERATION_MATCH ? : ($call is Operation\Orgs\SetMembershipForUser::OPERATION_MATCH ? : ($call is Operation\Orgs\RemoveMembershipForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\StartForOrg::OPERATION_MATCH ? : ($call is Operation\Migrations\GetStatusForOrg::OPERATION_MATCH ? : ($call is Operation\Migrations\DownloadArchiveForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\DownloadArchiveForOrgStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\DeleteArchiveForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UnlockRepoForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListReposForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListReposForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListOutsideCollaborators::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListOutsideCollaboratorsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ConvertMemberToOutsideCollaborator::OPERATION_MATCH ? Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Orgs\RemoveOutsideCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\ListPackagesForOrganization::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForOrganizationListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForOrganization::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByOrg::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForOrganization::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRequests::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRequestsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ReviewPatGrantRequestsInBulk::OPERATION_MATCH ? : ($call is Operation\Orgs\ReviewPatGrantRequest::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRequestRepositories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRequestRepositoriesListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrants::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\UpdatePatAccesses::OPERATION_MATCH ? : ($call is Operation\Orgs\UpdatePatAccess::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRepositories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRepositoriesListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\CreateForOrg::OPERATION_MATCH ? : ($call is Operation\Orgs\ListPublicMembers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPublicMembersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckPublicMembershipForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\SetPublicMembershipForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\RemovePublicMembershipForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateInOrg::OPERATION_MATCH ? : ($call is Operation\Repos\GetOrgRulesets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetOrgRulesetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\GetOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteOrgRuleset::OPERATION_MATCH ? array{code:int} : ($call is Operation\SecretScanning\ListAlertsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\SecretScanning\ListAlertsForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\ListOrgRepositoryAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListSecurityManagerTeams::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\AddSecurityManagerTeam::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\RemoveSecurityManagerTeam::OPERATION_MATCH ? array{code:int} : ($call is Operation\Billing\GetGithubActionsBillingOrg::OPERATION_MATCH ? : ($call is Operation\Billing\GetGithubPackagesBillingOrg::OPERATION_MATCH ? : ($call is Operation\Billing\GetSharedStorageBillingOrg::OPERATION_MATCH ? : ($call is Operation\Teams\List_::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\Create::OPERATION_MATCH ? : ($call is Operation\Teams\GetByName::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionCommentsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionCommentsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionCommentInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionCommentInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionCommentInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForTeamDiscussionComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Reactions\ListForTeamDiscussionInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForTeamDiscussion::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListPendingInvitationsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListPendingInvitationsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\GetMembershipForUserInOrg::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\AddOrUpdateMembershipForUserInOrg::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\RemoveMembershipForUserInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListProjectsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListProjectsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForProjectInOrg::OPERATION_MATCH ? Schema\TeamProject|array{code:int} : ($call is Operation\Teams\AddOrUpdateProjectPermissionsInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveProjectInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListReposInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListReposInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForRepoInOrg::OPERATION_MATCH ? Schema\TeamRepository|array{code:int} : ($call is Operation\Teams\AddOrUpdateRepoPermissionsInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveRepoInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListChildInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListChildInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\EnableOrDisableSecurityProductOnAllOrgRepos::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\GetCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\DeleteCard::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\UpdateCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\MoveCard::OPERATION_MATCH ? Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Projects\GetColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\Projects\DeleteColumn::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\UpdateColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\Projects\ListCards::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListCardsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\CreateCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\MoveColumn::OPERATION_MATCH ? Schema\Operations\Projects\MoveColumn\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Projects\Get::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Projects\Delete::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\Update::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Projects\ListCollaborators::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListCollaboratorsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\AddCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\RemoveCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\GetPermissionForUser::OPERATION_MATCH ? Schema\ProjectCollaboratorPermission|array{code:int} : ($call is Operation\Projects\ListColumns::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListColumnsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\CreateColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\RateLimit\Get::OPERATION_MATCH ? Schema\RateLimitOverview|array{code:int} : ($call is Operation\Repos\Get::OPERATION_MATCH ? : ($call is Operation\Repos\Delete::OPERATION_MATCH ? Schema\BasicError|array{code:int} : ($call is Operation\Repos\Update::OPERATION_MATCH ? : ($call is Operation\Actions\ListArtifactsForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetArtifact::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteArtifact::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\DownloadArtifact::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadArtifactStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GetActionsCacheUsage::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheList::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteActionsCacheByKey::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteActionsCacheById::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetJobForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadJobLogsForWorkflowRun::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadJobLogsForWorkflowRunStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReRunJobForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\GetCustomOidcSubClaimForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomOidcSubClaimForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoOrganizationSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoOrganizationVariables::OPERATION_MATCH ? : ($call is Operation\Actions\GetGithubActionsPermissionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsPermissionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetWorkflowAccessToRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetWorkflowAccessToRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetAllowedActionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetAllowedActionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetGithubActionsDefaultWorkflowPermissionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsDefaultWorkflowPermissionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelfHostedRunnersForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListRunnerApplicationsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GenerateRunnerJitconfigForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRegistrationTokenForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRemoveTokenForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteSelfHostedRunnerFromRepo::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListLabelsForSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomLabelsForSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\AddCustomLabelsToSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveCustomLabelFromSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListWorkflowRunsForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteWorkflowRun::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetReviewsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ApproveWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\ListWorkflowRunArtifacts::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRunAttempt::OPERATION_MATCH ? : ($call is Operation\Actions\ListJobsForWorkflowRunAttempt::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadWorkflowRunAttemptLogs::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadWorkflowRunAttemptLogsStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\CancelWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\ReviewCustomGatesForRun::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListJobsForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadWorkflowRunLogs::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadWorkflowRunLogsStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\DeleteWorkflowRunLogs::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetPendingDeploymentsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReviewPendingDeploymentsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReRunWorkflow::OPERATION_MATCH ? : ($call is Operation\Actions\ReRunWorkflowFailedJobs::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRunUsage::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListRepoVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRepoVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteRepoVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateRepoVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListRepoWorkflows::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflow::OPERATION_MATCH ? : ($call is Operation\Actions\DisableWorkflow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\CreateWorkflowDispatch::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\EnableWorkflow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListWorkflowRuns::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowUsage::OPERATION_MATCH ? : ($call is Operation\Repos\ListActivities::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListAssignees::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListAssigneesListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CheckUserCanBeAssigned::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListAutolinks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateAutolink::OPERATION_MATCH ? : ($call is Operation\Repos\GetAutolink::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAutolink::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\CheckAutomatedSecurityFixes::OPERATION_MATCH ? Schema\CheckAutomatedSecurityFixes|array{code:int} : ($call is Operation\Repos\EnableAutomatedSecurityFixes::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisableAutomatedSecurityFixes::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListBranches::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListBranchesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetBranch::OPERATION_MATCH ? : ($call is Operation\Repos\GetBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteBranchProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAdminBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\SetAdminBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAdminBranchProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetPullRequestReviewProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeletePullRequestReviewProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdatePullRequestReviewProtection::OPERATION_MATCH ? : ($call is Operation\Repos\GetCommitSignatureProtection::OPERATION_MATCH ? : ($call is Operation\Repos\CreateCommitSignatureProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteCommitSignatureProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetStatusChecksProtection::OPERATION_MATCH ? : ($call is Operation\Repos\RemoveStatusCheckProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateStatusCheckProtection::OPERATION_MATCH ? : ($call is Operation\Repos\GetAllStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetAccessRestrictions::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAccessRestrictions::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAppsWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetTeamsWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetUsersWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RenameBranch::OPERATION_MATCH ? : ($call is Operation\Checks\Create::OPERATION_MATCH ? : ($call is Operation\Checks\Get::OPERATION_MATCH ? : ($call is Operation\Checks\Update::OPERATION_MATCH ? : ($call is Operation\Checks\ListAnnotations::OPERATION_MATCH ? Observable : ($call is Operation\Checks\ListAnnotationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Checks\RerequestRun::OPERATION_MATCH ? : ($call is Operation\Checks\CreateSuite::OPERATION_MATCH ? : ($call is Operation\Checks\SetSuitesPreferences::OPERATION_MATCH ? : ($call is Operation\Checks\GetSuite::OPERATION_MATCH ? : ($call is Operation\Checks\ListForSuite::OPERATION_MATCH ? : ($call is Operation\Checks\RerequestSuite::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodeScanning\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodeScanning\GetAlert::OPERATION_MATCH ? Schema\CodeScanningAlert|array{code:int} : ($call is Operation\CodeScanning\UpdateAlert::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListAlertInstances::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListAlertInstancesListing::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListRecentAnalyses::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListRecentAnalysesListing::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\GetAnalysis::OPERATION_MATCH ? : ($call is Operation\CodeScanning\DeleteAnalysis::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListCodeqlDatabases::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\GetCodeqlDatabase::OPERATION_MATCH ? Schema\CodeScanningCodeqlDatabase|array{code:int} : ($call is Operation\CodeScanning\GetDefaultSetup::OPERATION_MATCH ? : ($call is Operation\CodeScanning\UpdateDefaultSetup::OPERATION_MATCH ? : ($call is Operation\CodeScanning\UploadSarif::OPERATION_MATCH ? Schema\CodeScanningSarifsReceipt|array{code:int} : ($call is Operation\CodeScanning\GetSarif::OPERATION_MATCH ? Schema\CodeScanningSarifsStatus|array{code:int} : ($call is Operation\Repos\CodeownersErrors::OPERATION_MATCH ? Schema\CodeownersErrors|array{code:int} : ($call is Operation\Codespaces\ListInRepositoryForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateWithRepoForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\RepoMachinesForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Codespaces\PreFlightWithRepoForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListCollaborators::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCollaboratorsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CheckCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\AddCollaborator::OPERATION_MATCH ? Schema\RepositoryInvitation|array{code:int} : ($call is Operation\Repos\RemoveCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetCollaboratorPermissionLevel::OPERATION_MATCH ? : ($call is Operation\Repos\ListCommitCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommitCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetCommitComment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteCommitComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateCommitComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForCommitComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForCommitCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForCommitComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForCommitComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListCommits::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommitsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListBranchesForHeadCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommentsForCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommentsForCommitListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateCommitComment::OPERATION_MATCH ? : ($call is Operation\Repos\ListPullRequestsAssociatedWithCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListPullRequestsAssociatedWithCommitListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetCommit::OPERATION_MATCH ? : ($call is Operation\Checks\ListForRef::OPERATION_MATCH ? : ($call is Operation\Checks\ListSuitesForRef::OPERATION_MATCH ? : ($call is Operation\Repos\GetCombinedStatusForRef::OPERATION_MATCH ? : ($call is Operation\Repos\ListCommitStatusesForRef::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Repos\ListCommitStatusesForRefListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Repos\GetCommunityProfileMetrics::OPERATION_MATCH ? : ($call is Operation\Repos\CompareCommits::OPERATION_MATCH ? : ($call is Operation\Repos\GetContent::OPERATION_MATCH ? Schema\ContentDirectory|Schema\ContentFile|Schema\ContentSymlink|Schema\ContentSubmodule|array{code:int} : ($call is Operation\Repos\CreateOrUpdateFileContents::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteFile::OPERATION_MATCH ? : ($call is Operation\Repos\ListContributors::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListContributorsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\GetAlert::OPERATION_MATCH ? Schema\DependabotAlert|array{code:int} : ($call is Operation\Dependabot\UpdateAlert::OPERATION_MATCH ? : ($call is Operation\Dependabot\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Dependabot\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\DependencyGraph\DiffRange::OPERATION_MATCH ? Observable : ($call is Operation\DependencyGraph\ExportSbom::OPERATION_MATCH ? : ($call is Operation\DependencyGraph\CreateRepositorySnapshot::OPERATION_MATCH ? : ($call is Operation\Repos\ListDeployments::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeploymentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeployment::OPERATION_MATCH ? Schema\Deployment|Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetDeployment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeployment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListDeploymentStatuses::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeploymentStatusesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeploymentStatus::OPERATION_MATCH ? : ($call is Operation\Repos\GetDeploymentStatus::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDispatchEvent::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAllEnvironments::OPERATION_MATCH ? : ($call is Operation\Repos\GetEnvironment::OPERATION_MATCH ? : ($call is Operation\Repos\CreateOrUpdateEnvironment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAnEnvironment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListDeploymentBranchPolicies::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDeploymentBranchPolicy::OPERATION_MATCH ? Schema\DeploymentBranchPolicy|array{code:int} : ($call is Operation\Repos\GetDeploymentBranchPolicy::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateDeploymentBranchPolicy::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeploymentBranchPolicy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAllDeploymentProtectionRules::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDeploymentProtectionRule::OPERATION_MATCH ? : ($call is Operation\Repos\ListCustomDeploymentRuleIntegrations::OPERATION_MATCH ? : ($call is Operation\Repos\GetCustomDeploymentProtectionRule::OPERATION_MATCH ? : ($call is Operation\Repos\DisableDeploymentProtectionRule::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListRepoEvents::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForksListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateFork::OPERATION_MATCH ? : ($call is Operation\Git\CreateBlob::OPERATION_MATCH ? : ($call is Operation\Git\GetBlob::OPERATION_MATCH ? : ($call is Operation\Git\CreateCommit::OPERATION_MATCH ? : ($call is Operation\Git\GetCommit::OPERATION_MATCH ? : ($call is Operation\Git\ListMatchingRefs::OPERATION_MATCH ? Observable : ($call is Operation\Git\GetRef::OPERATION_MATCH ? : ($call is Operation\Git\CreateRef::OPERATION_MATCH ? : ($call is Operation\Git\DeleteRef::OPERATION_MATCH ? array{code:int} : ($call is Operation\Git\UpdateRef::OPERATION_MATCH ? : ($call is Operation\Git\CreateTag::OPERATION_MATCH ? : ($call is Operation\Git\GetTag::OPERATION_MATCH ? : ($call is Operation\Git\CreateTree::OPERATION_MATCH ? : ($call is Operation\Git\GetTree::OPERATION_MATCH ? : ($call is Operation\Repos\ListWebhooks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListWebhooksListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateWebhook::OPERATION_MATCH ? : ($call is Operation\Repos\GetWebhook::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateWebhook::OPERATION_MATCH ? : ($call is Operation\Repos\GetWebhookConfigForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateWebhookConfigForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\ListWebhookDeliveries::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Repos\RedeliverWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Repos\PingWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\TestPushWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\GetImportStatus::OPERATION_MATCH ? : ($call is Operation\Migrations\StartImport::OPERATION_MATCH ? : ($call is Operation\Migrations\CancelImport::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UpdateImport::OPERATION_MATCH ? : ($call is Operation\Migrations\GetCommitAuthors::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\MapCommitAuthor::OPERATION_MATCH ? : ($call is Operation\Migrations\GetLargeFiles::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\SetLfsPreference::OPERATION_MATCH ? : ($call is Operation\Apps\GetRepoInstallation::OPERATION_MATCH ? : ($call is Operation\Interactions\GetRestrictionsForRepo::OPERATION_MATCH ? : ($call is Operation\Interactions\SetRestrictionsForRepo::OPERATION_MATCH ? Schema\InteractionLimitResponse|array{code:int} : ($call is Operation\Interactions\RemoveRestrictionsForRepo::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\DeleteInvitation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateInvitation::OPERATION_MATCH ? : ($call is Operation\Issues\ListForRepo::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\ListForRepoListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\Create::OPERATION_MATCH ? : ($call is Operation\Issues\ListCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\GetComment::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForIssueComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForIssueCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForIssueComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForIssueComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListEventsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\GetEvent::OPERATION_MATCH ? : ($call is Operation\Issues\Get::OPERATION_MATCH ? Schema\Issue|Schema\BasicError|array{code:int} : ($call is Operation\Issues\Update::OPERATION_MATCH ? : ($call is Operation\Issues\AddAssignees::OPERATION_MATCH ? : ($call is Operation\Issues\RemoveAssignees::OPERATION_MATCH ? : ($call is Operation\Issues\CheckUserCanBeAssignedToIssue::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListComments::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListCommentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateComment::OPERATION_MATCH ? : ($call is Operation\Issues\ListEvents::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsOnIssue::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\ListLabelsOnIssueListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\SetLabels::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\AddLabels::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\RemoveAllLabels::OPERATION_MATCH ? Schema\BasicError|array{code:int} : ($call is Operation\Issues\RemoveLabel::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\Lock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\Unlock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Reactions\ListForIssue::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForIssueListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForIssue::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForIssue::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListEventsForTimeline::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsForTimelineListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeployKeys::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeployKeysListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeployKey::OPERATION_MATCH ? : ($call is Operation\Repos\GetDeployKey::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeployKey::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListLabelsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateLabel::OPERATION_MATCH ? : ($call is Operation\Issues\GetLabel::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteLabel::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateLabel::OPERATION_MATCH ? : ($call is Operation\Repos\ListLanguages::OPERATION_MATCH ? : ($call is Operation\Licenses\GetForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\MergeUpstream::OPERATION_MATCH ? Schema\MergedUpstream|array{code:int} : ($call is Operation\Repos\Merge::OPERATION_MATCH ? Schema\Commit|array{code:int} : ($call is Operation\Issues\ListMilestones::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListMilestonesListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\GetMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteMilestone::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\ListLabelsForMilestone::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsForMilestoneListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoNotificationsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoNotificationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\MarkRepoNotificationsAsRead::OPERATION_MATCH ? Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted|array{code:int} : ($call is Operation\Repos\GetPages::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateInformationAboutPagesSite::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\CreatePagesSite::OPERATION_MATCH ? : ($call is Operation\Repos\DeletePagesSite::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListPagesBuilds::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListPagesBuildsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RequestPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\GetLatestPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\GetPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\CreatePagesDeployment::OPERATION_MATCH ? : ($call is Operation\Repos\GetPagesHealthCheck::OPERATION_MATCH ? Schema\PagesHealthCheck|Schema\EmptyObject|array{code:int} : ($call is Operation\Repos\EnablePrivateVulnerabilityReporting::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisablePrivateVulnerabilityReporting::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\ListForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\CreateForRepo::OPERATION_MATCH ? : ($call is Operation\Pulls\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Pulls\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Pulls\Create::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviewCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\GetReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\DeleteReviewComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\UpdateReviewComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForPullRequestReviewComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForPullRequestReviewCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForPullRequestReviewComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForPullRequestComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\Get::OPERATION_MATCH ? Schema\PullRequest|array{code:int} : ($call is Operation\Pulls\Update::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateWithPrForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviewComments::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewCommentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CreateReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\CreateReplyForReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\ListCommits::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListCommitsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListFiles::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListFilesListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CheckIfMerged::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\Merge::OPERATION_MATCH ? : ($call is Operation\Pulls\ListRequestedReviewers::OPERATION_MATCH ? : ($call is Operation\Pulls\RequestReviewers::OPERATION_MATCH ? Schema\PullRequestSimple|array{code:int} : ($call is Operation\Pulls\RemoveRequestedReviewers::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviews::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CreateReview::OPERATION_MATCH ? : ($call is Operation\Pulls\GetReview::OPERATION_MATCH ? : ($call is Operation\Pulls\UpdateReview::OPERATION_MATCH ? : ($call is Operation\Pulls\DeletePendingReview::OPERATION_MATCH ? : ($call is Operation\Pulls\ListCommentsForReview::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListCommentsForReviewListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\DismissReview::OPERATION_MATCH ? : ($call is Operation\Pulls\SubmitReview::OPERATION_MATCH ? : ($call is Operation\Pulls\UpdateBranch::OPERATION_MATCH ? : ($call is Operation\Repos\GetReadme::OPERATION_MATCH ? : ($call is Operation\Repos\GetReadmeInDirectory::OPERATION_MATCH ? : ($call is Operation\Repos\ListReleases::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListReleasesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateRelease::OPERATION_MATCH ? : ($call is Operation\Repos\GetReleaseAsset::OPERATION_MATCH ? Schema\ReleaseAsset|array{code:int} : ($call is Operation\Repos\DeleteReleaseAsset::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateReleaseAsset::OPERATION_MATCH ? : ($call is Operation\Repos\GenerateReleaseNotes::OPERATION_MATCH ? : ($call is Operation\Repos\GetLatestRelease::OPERATION_MATCH ? : ($call is Operation\Repos\GetReleaseByTag::OPERATION_MATCH ? : ($call is Operation\Repos\GetRelease::OPERATION_MATCH ? Schema\Release|array{code:int} : ($call is Operation\Repos\DeleteRelease::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateRelease::OPERATION_MATCH ? : ($call is Operation\Repos\ListReleaseAssets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListReleaseAssetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\UploadReleaseAsset::OPERATION_MATCH ? Schema\ReleaseAsset|array{code:int} : ($call is Operation\Reactions\ListForRelease::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForReleaseListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForRelease::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForRelease::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetBranchRules::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetBranchRulesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetRepoRulesets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetRepoRulesetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\GetRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteRepoRuleset::OPERATION_MATCH ? array{code:int} : ($call is Operation\SecretScanning\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\GetAlert::OPERATION_MATCH ? Schema\SecretScanningAlert|array{code:int} : ($call is Operation\SecretScanning\UpdateAlert::OPERATION_MATCH ? Schema\SecretScanningAlert|array{code:int} : ($call is Operation\SecretScanning\ListLocationsForAlert::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListLocationsForAlertListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecurityAdvisories\ListRepositoryAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\CreateRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\CreatePrivateVulnerabilityReport::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\GetRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\UpdateRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest::OPERATION_MATCH ? : ($call is Operation\Activity\ListStargazersForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\GetCodeFrequencyStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetCommitActivityStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetContributorsStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetParticipationStats::OPERATION_MATCH ? : ($call is Operation\Repos\GetPunchCardStats::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\CreateCommitStatus::OPERATION_MATCH ? : ($call is Operation\Activity\ListWatchersForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListWatchersForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\GetRepoSubscription::OPERATION_MATCH ? Schema\RepositorySubscription|array{code:int} : ($call is Operation\Activity\SetRepoSubscription::OPERATION_MATCH ? : ($call is Operation\Activity\DeleteRepoSubscription::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListTags::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTagsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTagProtection::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateTagProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteTagProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DownloadTarballArchive::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Repos\DownloadTarballArchiveStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTeams::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTeamsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetAllTopics::OPERATION_MATCH ? : ($call is Operation\Repos\ReplaceAllTopics::OPERATION_MATCH ? : ($call is Operation\Repos\GetClones::OPERATION_MATCH ? : ($call is Operation\Repos\GetTopPaths::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetTopReferrers::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetViews::OPERATION_MATCH ? : ($call is Operation\Repos\Transfer::OPERATION_MATCH ? : ($call is Operation\Repos\CheckVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\EnableVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisableVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DownloadZipballArchive::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Repos\DownloadZipballArchiveStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateUsingTemplate::OPERATION_MATCH ? : ($call is Operation\Repos\ListPublic::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Actions\ListEnvironmentSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateEnvironmentSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteEnvironmentSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListEnvironmentVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateEnvironmentVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteEnvironmentVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateEnvironmentVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Search\Code::OPERATION_MATCH ? Schema\Operations\Search\Code\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Commits::OPERATION_MATCH ? Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\IssuesAndPullRequests::OPERATION_MATCH ? Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Labels::OPERATION_MATCH ? Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Repos::OPERATION_MATCH ? Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Topics::OPERATION_MATCH ? Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Users::OPERATION_MATCH ? Schema\Operations\Search\Users\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Teams\GetLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionCommentsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionCommentsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionCommentLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionCommentLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionCommentLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListPendingInvitationsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListPendingInvitationsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\GetMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\AddMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\GetMembershipForUserLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\AddOrUpdateMembershipForUserLegacy::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\RemoveMembershipForUserLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListProjectsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListProjectsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForProjectLegacy::OPERATION_MATCH ? Schema\TeamProject|array{code:int} : ($call is Operation\Teams\AddOrUpdateProjectPermissionsLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveProjectLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListReposLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListReposLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForRepoLegacy::OPERATION_MATCH ? Schema\TeamRepository|array{code:int} : ($call is Operation\Teams\AddOrUpdateRepoPermissionsLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveRepoLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListChildLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListChildLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\GetAuthenticated::OPERATION_MATCH ? Schema\PrivateUser|Schema\PublicUser|array{code:int} : ($call is Operation\Users\UpdateAuthenticated::OPERATION_MATCH ? Schema\PrivateUser|array{code:int} : ($call is Operation\Users\ListBlockedByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListBlockedByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CheckBlocked::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Block::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Unblock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\ListForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\CreateForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListSecretsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetPublicKeyForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetSecretForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateSecretForAuthenticatedUser::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListRepositoriesForSecretForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\SetRepositoriesForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\AddRepositoryForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\RemoveRepositoryForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\GetForAuthenticatedUser::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Codespaces\DeleteForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\DeleteForAuthenticatedUser\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Codespaces\UpdateForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ExportForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetExportDetailsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CodespaceMachinesForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\PublishForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\StartForAuthenticatedUser::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Codespaces\StopForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\SetPrimaryEmailVisibilityForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListEmailsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListEmailsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\AddEmailForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\DeleteEmailForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListFollowersForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowersForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowedByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowedByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CheckPersonIsFollowedByAuthenticated::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Follow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Unfollow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListGpgKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListGpgKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreateGpgKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\GpgKey|array{code:int} : ($call is Operation\Users\GetGpgKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\GpgKey|array{code:int} : ($call is Operation\Users\DeleteGpgKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ListInstallationsForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Apps\ListInstallationReposForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Apps\AddRepoToInstallationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\RemoveRepoFromInstallationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Interactions\GetRestrictionsForAuthenticatedUser::OPERATION_MATCH ? Schema\InteractionLimitResponse|Schema\Operations\Interactions\GetRestrictionsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json\One|array{code:int} : ($call is Operation\Interactions\SetRestrictionsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Interactions\RemoveRestrictionsForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Issues\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicSshKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicSshKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreatePublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\Key|array{code:int} : ($call is Operation\Users\GetPublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\Key|array{code:int} : ($call is Operation\Users\DeletePublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserStubbed::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserStubbedListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListMembershipsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListMembershipsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\GetMembershipForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Orgs\UpdateMembershipForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Migrations\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Migrations\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Migrations\StartForAuthenticatedUser::OPERATION_MATCH ? Schema\Migration|array{code:int} : ($call is Operation\Migrations\GetStatusForAuthenticatedUser::OPERATION_MATCH ? Schema\Migration|array{code:int} : ($call is Operation\Migrations\GetArchiveForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\DeleteArchiveForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UnlockRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListReposForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListReposForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\CreateForAuthenticatedUser::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Users\ListPublicEmailsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicEmailsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\CreateForAuthenticatedUser::OPERATION_MATCH ? Schema\Repository|array{code:int} : ($call is Operation\Repos\ListInvitationsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListInvitationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\DeclineInvitationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\AcceptInvitationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListSocialAccountsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListSocialAccountsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\AddSocialAccountForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\DeleteSocialAccountForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListSshSigningKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListSshSigningKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreateSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\SshSigningKey|array{code:int} : ($call is Operation\Users\GetSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\SshSigningKey|array{code:int} : ($call is Operation\Users\DeleteSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListReposStarredByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListReposStarredByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\CheckRepoIsStarredByAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\StarRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\UnstarRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListWatchedReposForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListWatchedReposForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Teams\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Teams\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\GetByUsername::OPERATION_MATCH ? : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListEventsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListEventsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListOrgEventsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListOrgEventsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowersForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowersForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowingForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowingForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\CheckFollowingForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Gists\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListGpgKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListGpgKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\GetContextForUser::OPERATION_MATCH ? : ($call is Operation\Apps\GetUserInstallation::OPERATION_MATCH ? : ($call is Operation\Users\ListPublicKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListPublicKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\ListPackagesForUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByUser::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedPublicEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedPublicEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Billing\GetGithubActionsBillingUser::OPERATION_MATCH ? : ($call is Operation\Billing\GetGithubPackagesBillingUser::OPERATION_MATCH ? : ($call is Operation\Billing\GetSharedStorageBillingUser::OPERATION_MATCH ? : ($call is Operation\Users\ListSocialAccountsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSocialAccountsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSshSigningKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSshSigningKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReposStarredByUser::OPERATION_MATCH ? : ($call is Operation\Activity\ListReposWatchedByUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReposWatchedByUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Meta\GetAllVersions::OPERATION_MATCH ? Observable : )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) + * @return ($call is Operation\Meta\Root::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\ListGlobalAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\GetGlobalAdvisory::OPERATION_MATCH ? : ($call is Operation\Apps\GetAuthenticated::OPERATION_MATCH ? : ($call is Operation\Apps\CreateFromManifest::OPERATION_MATCH ? : ($call is Operation\Apps\GetWebhookConfigForApp::OPERATION_MATCH ? : ($call is Operation\Apps\UpdateWebhookConfigForApp::OPERATION_MATCH ? : ($call is Operation\Apps\ListWebhookDeliveries::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Apps\RedeliverWebhookDelivery::OPERATION_MATCH ? : ($call is Operation\Apps\ListInstallationRequestsForAuthenticatedApp::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListInstallationRequestsForAuthenticatedAppListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListInstallations::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListInstallationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetInstallation::OPERATION_MATCH ? : ($call is Operation\Apps\DeleteInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\CreateInstallationAccessToken::OPERATION_MATCH ? : ($call is Operation\Apps\SuspendInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\UnsuspendInstallation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\DeleteAuthorization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\CheckToken::OPERATION_MATCH ? : ($call is Operation\Apps\DeleteToken::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ResetToken::OPERATION_MATCH ? : ($call is Operation\Apps\ScopeToken::OPERATION_MATCH ? : ($call is Operation\Apps\GetBySlug::OPERATION_MATCH ? : ($call is Operation\Classroom\GetAnAssignment::OPERATION_MATCH ? : ($call is Operation\Classroom\ListAcceptedAssigmentsForAnAssignment::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListAcceptedAssigmentsForAnAssignmentListing::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\GetAssignmentGrades::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListClassrooms::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListClassroomsListing::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\GetAClassroom::OPERATION_MATCH ? : ($call is Operation\Classroom\ListAssignmentsForAClassroom::OPERATION_MATCH ? Observable : ($call is Operation\Classroom\ListAssignmentsForAClassroomListing::OPERATION_MATCH ? Observable : ($call is Operation\CodesOfConduct\GetAllCodesOfConduct::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodesOfConduct\GetConductCode::OPERATION_MATCH ? Schema\CodeOfConduct|array{code:int} : ($call is Operation\Emojis\Get::OPERATION_MATCH ? Schema\Operations\Emojis\Get\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Dependabot\ListAlertsForEnterprise::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListAlertsForEnterprise::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEvents::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListPublicEventsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\GetFeeds::OPERATION_MATCH ? : ($call is Operation\Gists\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Create::OPERATION_MATCH ? Schema\GistSimple|array{code:int} : ($call is Operation\Gists\ListPublic::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListPublicListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListStarred::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListStarredListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Get::OPERATION_MATCH ? Schema\GistSimple|array{code:int} : ($call is Operation\Gists\Delete::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Update::OPERATION_MATCH ? : ($call is Operation\Gists\ListComments::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListCommentsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\CreateComment::OPERATION_MATCH ? Schema\GistComment|array{code:int} : ($call is Operation\Gists\GetComment::OPERATION_MATCH ? Schema\GistComment|array{code:int} : ($call is Operation\Gists\DeleteComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\UpdateComment::OPERATION_MATCH ? : ($call is Operation\Gists\ListCommits::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListCommitsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListForks::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\ListForksListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gists\Fork::OPERATION_MATCH ? Schema\BaseGist|array{code:int} : ($call is Operation\Gists\CheckIsStarred::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Star::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\Unstar::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\GetRevision::OPERATION_MATCH ? : ($call is Operation\Gitignore\GetAllTemplates::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Gitignore\GetTemplate::OPERATION_MATCH ? Schema\GitignoreTemplate|array{code:int} : ($call is Operation\Apps\ListReposAccessibleToInstallation::OPERATION_MATCH ? Schema\Operations\Apps\ListReposAccessibleToInstallation\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Apps\RevokeInstallationAccessToken::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Issues\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\GetAllCommonlyUsed::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\GetAllCommonlyUsedListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Licenses\Get::OPERATION_MATCH ? Schema\License|array{code:int} : ($call is Operation\Markdown\Render::OPERATION_MATCH ? string|array{code:int} : ($call is Operation\Markdown\RenderRaw::OPERATION_MATCH ? string|array{code:int} : ($call is Operation\Apps\GetSubscriptionPlanForAccount::OPERATION_MATCH ? : ($call is Operation\Apps\ListPlans::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListPlansListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlan::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\GetSubscriptionPlanForAccountStubbed::OPERATION_MATCH ? Schema\MarketplacePurchase|array{code:int} : ($call is Operation\Apps\ListPlansStubbed::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListPlansStubbedListing::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanStubbed::OPERATION_MATCH ? Observable : ($call is Operation\Apps\ListAccountsForPlanStubbedListing::OPERATION_MATCH ? Observable : ($call is Operation\Meta\Get::OPERATION_MATCH ? Schema\ApiOverview|array{code:int} : ($call is Operation\Activity\ListPublicEventsForRepoNetwork::OPERATION_MATCH ? Observable|Schema\BasicError|array{code:int} : ($call is Operation\Activity\ListPublicEventsForRepoNetworkListing::OPERATION_MATCH ? Observable|Schema\BasicError|array{code:int} : ($call is Operation\Activity\ListNotificationsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListNotificationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\MarkNotificationsAsRead::OPERATION_MATCH ? Schema\Operations\Activity\MarkNotificationsAsRead\Response\ApplicationJson\Accepted|array{code:int} : ($call is Operation\Activity\GetThread::OPERATION_MATCH ? Schema\Thread|array{code:int} : ($call is Operation\Activity\MarkThreadAsRead::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\GetThreadSubscriptionForAuthenticatedUser::OPERATION_MATCH ? Schema\ThreadSubscription|array{code:int} : ($call is Operation\Activity\SetThreadSubscription::OPERATION_MATCH ? Schema\ThreadSubscription|array{code:int} : ($call is Operation\Activity\DeleteThreadSubscription::OPERATION_MATCH ? array{code:int} : ($call is Operation\Meta\GetOctocat::OPERATION_MATCH ? : ($call is Operation\Orgs\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\Get::OPERATION_MATCH ? : ($call is Operation\Orgs\Delete::OPERATION_MATCH ? : ($call is Operation\Orgs\Update::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheUsageForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheUsageByRepoForOrg::OPERATION_MATCH ? : ($call is Operation\Oidc\GetOidcCustomSubTemplateForOrg::OPERATION_MATCH ? : ($call is Operation\Oidc\UpdateOidcCustomSubTemplateForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetGithubActionsPermissionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsPermissionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetSelectedRepositoriesEnabledGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\EnableSelectedRepositoryGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\DisableSelectedRepositoryGithubActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetAllowedActionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetAllowedActionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetGithubActionsDefaultWorkflowPermissionsOrganization::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsDefaultWorkflowPermissionsOrganization::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelfHostedRunnersForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\ListRunnerApplicationsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GenerateRunnerJitconfigForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRegistrationTokenForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRemoveTokenForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\GetSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteSelfHostedRunnerFromOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListLabelsForSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomLabelsForSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\AddCustomLabelsToSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveCustomLabelFromSelfHostedRunnerForOrg::OPERATION_MATCH ? : ($call is Operation\Actions\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Actions\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListOrgVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrgVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetOrgVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelectedReposForOrgVariable::OPERATION_MATCH ? Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Actions\SetSelectedReposForOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\AddSelectedRepoToOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\RemoveSelectedRepoFromOrgVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListBlockedUsers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListBlockedUsersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckBlockedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\BlockUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\UnblockUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\CodeScanning\ListAlertsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListAlertsForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Codespaces\ListInOrganization::OPERATION_MATCH ? Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Codespaces\SetCodespacesAccess::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\SetCodespacesAccessUsers::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\DeleteCodespacesAccessUsers::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Copilot\GetCopilotOrganizationDetails::OPERATION_MATCH ? : ($call is Operation\Copilot\ListCopilotSeats::OPERATION_MATCH ? : ($call is Operation\Copilot\AddCopilotForBusinessSeatsForTeams::OPERATION_MATCH ? Schema\Operations\Copilot\AddCopilotForBusinessSeatsForTeams\Response\ApplicationJson\Created|array{code:int} : ($call is Operation\Copilot\CancelCopilotSeatAssignmentForTeams::OPERATION_MATCH ? Schema\Operations\Copilot\CancelCopilotSeatAssignmentForTeams\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Copilot\AddCopilotForBusinessSeatsForUsers::OPERATION_MATCH ? Schema\Operations\Copilot\AddCopilotForBusinessSeatsForUsers\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Copilot\CancelCopilotSeatAssignmentForUsers::OPERATION_MATCH ? Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Dependabot\ListAlertsForOrg::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListOrgSecrets::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetOrgPublicKey::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetOrgSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\CreateOrUpdateOrgSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Dependabot\DeleteOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\ListSelectedReposForOrgSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\SetSelectedReposForOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\AddSelectedRepoToOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Dependabot\RemoveSelectedRepoFromOrgSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForOrganization::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicOrgEvents::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicOrgEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListFailedInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListFailedInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListWebhooks::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListWebhooksListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CreateWebhook::OPERATION_MATCH ? : ($call is Operation\Orgs\GetWebhook::OPERATION_MATCH ? Schema\OrgHook : ($call is Operation\Orgs\DeleteWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\UpdateWebhook::OPERATION_MATCH ? Schema\OrgHook : ($call is Operation\Orgs\GetWebhookConfigForOrg::OPERATION_MATCH ? Schema\WebhookConfig : ($call is Operation\Orgs\UpdateWebhookConfigForOrg::OPERATION_MATCH ? Schema\WebhookConfig : ($call is Operation\Orgs\ListWebhookDeliveries::OPERATION_MATCH ? iterable : ($call is Operation\Orgs\GetWebhookDelivery::OPERATION_MATCH ? Schema\HookDelivery : ($call is Operation\Orgs\RedeliverWebhookDelivery::OPERATION_MATCH ? Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json : ($call is Operation\Orgs\PingWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\GetOrgInstallation::OPERATION_MATCH ? : ($call is Operation\Orgs\ListAppInstallations::OPERATION_MATCH ? : ($call is Operation\Interactions\GetRestrictionsForOrg::OPERATION_MATCH ? : ($call is Operation\Interactions\SetRestrictionsForOrg::OPERATION_MATCH ? : ($call is Operation\Interactions\RemoveRestrictionsForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPendingInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPendingInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CreateInvitation::OPERATION_MATCH ? : ($call is Operation\Orgs\CancelInvitation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListInvitationTeams::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListInvitationTeamsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListMembers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListMembersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckMembershipForUser::OPERATION_MATCH ? array{code:int}|array{code:int,location:string} : ($call is Operation\Orgs\RemoveMember::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\GetCodespacesForUserInOrg::OPERATION_MATCH ? Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\DeleteFromOrganization::OPERATION_MATCH ? Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Codespaces\StopInOrganization::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Copilot\GetCopilotSeatAssignmentDetailsForUser::OPERATION_MATCH ? Schema\CopilotSeatDetails|array{code:int} : ($call is Operation\Orgs\GetMembershipForUser::OPERATION_MATCH ? : ($call is Operation\Orgs\SetMembershipForUser::OPERATION_MATCH ? : ($call is Operation\Orgs\RemoveMembershipForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\StartForOrg::OPERATION_MATCH ? : ($call is Operation\Migrations\GetStatusForOrg::OPERATION_MATCH ? : ($call is Operation\Migrations\DownloadArchiveForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\DownloadArchiveForOrgStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\DeleteArchiveForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UnlockRepoForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListReposForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListReposForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListOutsideCollaborators::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListOutsideCollaboratorsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ConvertMemberToOutsideCollaborator::OPERATION_MATCH ? Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Orgs\RemoveOutsideCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\ListPackagesForOrganization::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForOrganizationListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForOrganization::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByOrg::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForOrganization::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRequests::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRequestsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ReviewPatGrantRequestsInBulk::OPERATION_MATCH ? : ($call is Operation\Orgs\ReviewPatGrantRequest::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRequestRepositories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRequestRepositoriesListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrants::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantsListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\UpdatePatAccesses::OPERATION_MATCH ? : ($call is Operation\Orgs\UpdatePatAccess::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\ListPatGrantRepositories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPatGrantRepositoriesListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\CreateForOrg::OPERATION_MATCH ? : ($call is Operation\Orgs\ListPublicMembers::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListPublicMembersListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\CheckPublicMembershipForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\SetPublicMembershipForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\RemovePublicMembershipForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListForOrg::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateInOrg::OPERATION_MATCH ? : ($call is Operation\Repos\GetOrgRulesets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetOrgRulesetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\GetOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateOrgRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteOrgRuleset::OPERATION_MATCH ? array{code:int} : ($call is Operation\SecretScanning\ListAlertsForOrg::OPERATION_MATCH ? Observable : ($call is Operation\SecretScanning\ListAlertsForOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\ListOrgRepositoryAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListSecurityManagerTeams::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\AddSecurityManagerTeam::OPERATION_MATCH ? array{code:int} : ($call is Operation\Orgs\RemoveSecurityManagerTeam::OPERATION_MATCH ? array{code:int} : ($call is Operation\Billing\GetGithubActionsBillingOrg::OPERATION_MATCH ? : ($call is Operation\Billing\GetGithubPackagesBillingOrg::OPERATION_MATCH ? : ($call is Operation\Billing\GetSharedStorageBillingOrg::OPERATION_MATCH ? : ($call is Operation\Teams\List_::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\Create::OPERATION_MATCH ? : ($call is Operation\Teams\GetByName::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionCommentsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionCommentsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionCommentInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionCommentInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionCommentInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionCommentInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForTeamDiscussionComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Reactions\ListForTeamDiscussionInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionInOrg::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForTeamDiscussion::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListPendingInvitationsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListPendingInvitationsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\GetMembershipForUserInOrg::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\AddOrUpdateMembershipForUserInOrg::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\RemoveMembershipForUserInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListProjectsInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListProjectsInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForProjectInOrg::OPERATION_MATCH ? Schema\TeamProject|array{code:int} : ($call is Operation\Teams\AddOrUpdateProjectPermissionsInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveProjectInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListReposInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListReposInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForRepoInOrg::OPERATION_MATCH ? Schema\TeamRepository|array{code:int} : ($call is Operation\Teams\AddOrUpdateRepoPermissionsInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveRepoInOrg::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListChildInOrg::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListChildInOrgListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\EnableOrDisableSecurityProductOnAllOrgRepos::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\GetCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\DeleteCard::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\UpdateCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\MoveCard::OPERATION_MATCH ? Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Projects\GetColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\Projects\DeleteColumn::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\UpdateColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\Projects\ListCards::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListCardsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\CreateCard::OPERATION_MATCH ? Schema\ProjectCard|array{code:int} : ($call is Operation\Projects\MoveColumn::OPERATION_MATCH ? Schema\Operations\Projects\MoveColumn\Response\ApplicationJson\Created\Application\Json|array{code:int} : ($call is Operation\Projects\Get::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Projects\Delete::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\Update::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Projects\ListCollaborators::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListCollaboratorsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\AddCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\RemoveCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\GetPermissionForUser::OPERATION_MATCH ? Schema\ProjectCollaboratorPermission|array{code:int} : ($call is Operation\Projects\ListColumns::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\ListColumnsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Projects\CreateColumn::OPERATION_MATCH ? Schema\ProjectColumn|array{code:int} : ($call is Operation\RateLimit\Get::OPERATION_MATCH ? Schema\RateLimitOverview|array{code:int} : ($call is Operation\Repos\Get::OPERATION_MATCH ? : ($call is Operation\Repos\Delete::OPERATION_MATCH ? Schema\BasicError|array{code:int} : ($call is Operation\Repos\Update::OPERATION_MATCH ? : ($call is Operation\Actions\ListArtifactsForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetArtifact::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteArtifact::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\DownloadArtifact::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadArtifactStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GetActionsCacheUsage::OPERATION_MATCH ? : ($call is Operation\Actions\GetActionsCacheList::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteActionsCacheByKey::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteActionsCacheById::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetJobForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadJobLogsForWorkflowRun::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadJobLogsForWorkflowRunStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReRunJobForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\GetCustomOidcSubClaimForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomOidcSubClaimForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoOrganizationSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoOrganizationVariables::OPERATION_MATCH ? : ($call is Operation\Actions\GetGithubActionsPermissionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsPermissionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetWorkflowAccessToRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetWorkflowAccessToRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetAllowedActionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetAllowedActionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetGithubActionsDefaultWorkflowPermissionsRepository::OPERATION_MATCH ? : ($call is Operation\Actions\SetGithubActionsDefaultWorkflowPermissionsRepository::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListSelfHostedRunnersForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListRunnerApplicationsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Actions\GenerateRunnerJitconfigForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRegistrationTokenForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRemoveTokenForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteSelfHostedRunnerFromRepo::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListLabelsForSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\SetCustomLabelsForSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\AddCustomLabelsToSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\RemoveCustomLabelFromSelfHostedRunnerForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\ListWorkflowRunsForRepo::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteWorkflowRun::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetReviewsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ApproveWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\ListWorkflowRunArtifacts::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRunAttempt::OPERATION_MATCH ? : ($call is Operation\Actions\ListJobsForWorkflowRunAttempt::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadWorkflowRunAttemptLogs::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadWorkflowRunAttemptLogsStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\CancelWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\ReviewCustomGatesForRun::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ForceCancelWorkflowRun::OPERATION_MATCH ? Schema\EmptyObject : ($call is Operation\Actions\ListJobsForWorkflowRun::OPERATION_MATCH ? : ($call is Operation\Actions\DownloadWorkflowRunLogs::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Actions\DownloadWorkflowRunLogsStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Actions\DeleteWorkflowRunLogs::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\GetPendingDeploymentsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReviewPendingDeploymentsForRun::OPERATION_MATCH ? Observable : ($call is Operation\Actions\ReRunWorkflow::OPERATION_MATCH ? : ($call is Operation\Actions\ReRunWorkflowFailedJobs::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowRunUsage::OPERATION_MATCH ? : ($call is Operation\Actions\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListRepoVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateRepoVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetRepoVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteRepoVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateRepoVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListRepoWorkflows::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflow::OPERATION_MATCH ? : ($call is Operation\Actions\DisableWorkflow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\CreateWorkflowDispatch::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\EnableWorkflow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListWorkflowRuns::OPERATION_MATCH ? : ($call is Operation\Actions\GetWorkflowUsage::OPERATION_MATCH ? : ($call is Operation\Repos\ListActivities::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListAssignees::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListAssigneesListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CheckUserCanBeAssigned::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListAutolinks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateAutolink::OPERATION_MATCH ? : ($call is Operation\Repos\GetAutolink::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAutolink::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\CheckAutomatedSecurityFixes::OPERATION_MATCH ? Schema\CheckAutomatedSecurityFixes|array{code:int} : ($call is Operation\Repos\EnableAutomatedSecurityFixes::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisableAutomatedSecurityFixes::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListBranches::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListBranchesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetBranch::OPERATION_MATCH ? : ($call is Operation\Repos\GetBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteBranchProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAdminBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\SetAdminBranchProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAdminBranchProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetPullRequestReviewProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeletePullRequestReviewProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdatePullRequestReviewProtection::OPERATION_MATCH ? : ($call is Operation\Repos\GetCommitSignatureProtection::OPERATION_MATCH ? : ($call is Operation\Repos\CreateCommitSignatureProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteCommitSignatureProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetStatusChecksProtection::OPERATION_MATCH ? : ($call is Operation\Repos\RemoveStatusCheckProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateStatusCheckProtection::OPERATION_MATCH ? : ($call is Operation\Repos\GetAllStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveStatusCheckContexts::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetAccessRestrictions::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAccessRestrictions::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAppsWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveAppAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetTeamsWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveTeamAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetUsersWithAccessToProtectedBranch::OPERATION_MATCH ? Observable : ($call is Operation\Repos\SetUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\AddUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RemoveUserAccessRestrictions::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RenameBranch::OPERATION_MATCH ? : ($call is Operation\Checks\Create::OPERATION_MATCH ? : ($call is Operation\Checks\Get::OPERATION_MATCH ? : ($call is Operation\Checks\Update::OPERATION_MATCH ? : ($call is Operation\Checks\ListAnnotations::OPERATION_MATCH ? Observable : ($call is Operation\Checks\ListAnnotationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Checks\RerequestRun::OPERATION_MATCH ? : ($call is Operation\Checks\CreateSuite::OPERATION_MATCH ? : ($call is Operation\Checks\SetSuitesPreferences::OPERATION_MATCH ? : ($call is Operation\Checks\GetSuite::OPERATION_MATCH ? : ($call is Operation\Checks\ListForSuite::OPERATION_MATCH ? : ($call is Operation\Checks\RerequestSuite::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodeScanning\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\CodeScanning\GetAlert::OPERATION_MATCH ? Schema\CodeScanningAlert|array{code:int} : ($call is Operation\CodeScanning\UpdateAlert::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListAlertInstances::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListAlertInstancesListing::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListRecentAnalyses::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\ListRecentAnalysesListing::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\GetAnalysis::OPERATION_MATCH ? : ($call is Operation\CodeScanning\DeleteAnalysis::OPERATION_MATCH ? : ($call is Operation\CodeScanning\ListCodeqlDatabases::OPERATION_MATCH ? Observable : ($call is Operation\CodeScanning\GetCodeqlDatabase::OPERATION_MATCH ? Schema\CodeScanningCodeqlDatabase|array{code:int} : ($call is Operation\CodeScanning\GetDefaultSetup::OPERATION_MATCH ? : ($call is Operation\CodeScanning\UpdateDefaultSetup::OPERATION_MATCH ? : ($call is Operation\CodeScanning\UploadSarif::OPERATION_MATCH ? Schema\CodeScanningSarifsReceipt|array{code:int} : ($call is Operation\CodeScanning\GetSarif::OPERATION_MATCH ? Schema\CodeScanningSarifsStatus|array{code:int} : ($call is Operation\Repos\CodeownersErrors::OPERATION_MATCH ? Schema\CodeownersErrors|array{code:int} : ($call is Operation\Codespaces\ListInRepositoryForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateWithRepoForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\RepoMachinesForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Codespaces\PreFlightWithRepoForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListCollaborators::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCollaboratorsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CheckCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\AddCollaborator::OPERATION_MATCH ? Schema\RepositoryInvitation|array{code:int} : ($call is Operation\Repos\RemoveCollaborator::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetCollaboratorPermissionLevel::OPERATION_MATCH ? : ($call is Operation\Repos\ListCommitCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommitCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetCommitComment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteCommitComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateCommitComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForCommitComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForCommitCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForCommitComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForCommitComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListCommits::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommitsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListBranchesForHeadCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommentsForCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListCommentsForCommitListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateCommitComment::OPERATION_MATCH ? : ($call is Operation\Repos\ListPullRequestsAssociatedWithCommit::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListPullRequestsAssociatedWithCommitListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetCommit::OPERATION_MATCH ? : ($call is Operation\Checks\ListForRef::OPERATION_MATCH ? : ($call is Operation\Checks\ListSuitesForRef::OPERATION_MATCH ? : ($call is Operation\Repos\GetCombinedStatusForRef::OPERATION_MATCH ? : ($call is Operation\Repos\ListCommitStatusesForRef::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Repos\ListCommitStatusesForRefListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Repos\GetCommunityProfileMetrics::OPERATION_MATCH ? : ($call is Operation\Repos\CompareCommits::OPERATION_MATCH ? : ($call is Operation\Repos\GetContent::OPERATION_MATCH ? Schema\ContentDirectory|Schema\ContentFile|Schema\ContentSymlink|Schema\ContentSubmodule|array{code:int} : ($call is Operation\Repos\CreateOrUpdateFileContents::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteFile::OPERATION_MATCH ? : ($call is Operation\Repos\ListContributors::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListContributorsListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Dependabot\GetAlert::OPERATION_MATCH ? Schema\DependabotAlert|array{code:int} : ($call is Operation\Dependabot\UpdateAlert::OPERATION_MATCH ? : ($call is Operation\Dependabot\ListRepoSecrets::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetRepoPublicKey::OPERATION_MATCH ? : ($call is Operation\Dependabot\GetRepoSecret::OPERATION_MATCH ? : ($call is Operation\Dependabot\CreateOrUpdateRepoSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Dependabot\DeleteRepoSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\DependencyGraph\DiffRange::OPERATION_MATCH ? Observable : ($call is Operation\DependencyGraph\ExportSbom::OPERATION_MATCH ? : ($call is Operation\DependencyGraph\CreateRepositorySnapshot::OPERATION_MATCH ? : ($call is Operation\Repos\ListDeployments::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeploymentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeployment::OPERATION_MATCH ? Schema\Deployment|Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetDeployment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeployment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListDeploymentStatuses::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeploymentStatusesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeploymentStatus::OPERATION_MATCH ? : ($call is Operation\Repos\GetDeploymentStatus::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDispatchEvent::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAllEnvironments::OPERATION_MATCH ? : ($call is Operation\Repos\GetEnvironment::OPERATION_MATCH ? : ($call is Operation\Repos\CreateOrUpdateEnvironment::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteAnEnvironment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListDeploymentBranchPolicies::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDeploymentBranchPolicy::OPERATION_MATCH ? Schema\DeploymentBranchPolicy|array{code:int} : ($call is Operation\Repos\GetDeploymentBranchPolicy::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateDeploymentBranchPolicy::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeploymentBranchPolicy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetAllDeploymentProtectionRules::OPERATION_MATCH ? : ($call is Operation\Repos\CreateDeploymentProtectionRule::OPERATION_MATCH ? : ($call is Operation\Repos\ListCustomDeploymentRuleIntegrations::OPERATION_MATCH ? : ($call is Operation\Repos\GetCustomDeploymentProtectionRule::OPERATION_MATCH ? : ($call is Operation\Repos\DisableDeploymentProtectionRule::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListRepoEvents::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForksListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateFork::OPERATION_MATCH ? : ($call is Operation\Git\CreateBlob::OPERATION_MATCH ? : ($call is Operation\Git\GetBlob::OPERATION_MATCH ? : ($call is Operation\Git\CreateCommit::OPERATION_MATCH ? : ($call is Operation\Git\GetCommit::OPERATION_MATCH ? : ($call is Operation\Git\ListMatchingRefs::OPERATION_MATCH ? Observable : ($call is Operation\Git\GetRef::OPERATION_MATCH ? : ($call is Operation\Git\CreateRef::OPERATION_MATCH ? : ($call is Operation\Git\DeleteRef::OPERATION_MATCH ? array{code:int} : ($call is Operation\Git\UpdateRef::OPERATION_MATCH ? : ($call is Operation\Git\CreateTag::OPERATION_MATCH ? : ($call is Operation\Git\GetTag::OPERATION_MATCH ? : ($call is Operation\Git\CreateTree::OPERATION_MATCH ? : ($call is Operation\Git\GetTree::OPERATION_MATCH ? : ($call is Operation\Repos\ListWebhooks::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListWebhooksListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateWebhook::OPERATION_MATCH ? : ($call is Operation\Repos\GetWebhook::OPERATION_MATCH ? Schema\Hook : ($call is Operation\Repos\DeleteWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateWebhook::OPERATION_MATCH ? Schema\Hook : ($call is Operation\Repos\GetWebhookConfigForRepo::OPERATION_MATCH ? Schema\WebhookConfig : ($call is Operation\Repos\UpdateWebhookConfigForRepo::OPERATION_MATCH ? Schema\WebhookConfig : ($call is Operation\Repos\ListWebhookDeliveries::OPERATION_MATCH ? iterable : ($call is Operation\Repos\GetWebhookDelivery::OPERATION_MATCH ? Schema\HookDelivery : ($call is Operation\Repos\RedeliverWebhookDelivery::OPERATION_MATCH ? Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json : ($call is Operation\Repos\PingWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\TestPushWebhook::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\GetImportStatus::OPERATION_MATCH ? : ($call is Operation\Migrations\StartImport::OPERATION_MATCH ? : ($call is Operation\Migrations\CancelImport::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UpdateImport::OPERATION_MATCH ? : ($call is Operation\Migrations\GetCommitAuthors::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\MapCommitAuthor::OPERATION_MATCH ? : ($call is Operation\Migrations\GetLargeFiles::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\SetLfsPreference::OPERATION_MATCH ? : ($call is Operation\Apps\GetRepoInstallation::OPERATION_MATCH ? : ($call is Operation\Interactions\GetRestrictionsForRepo::OPERATION_MATCH ? : ($call is Operation\Interactions\SetRestrictionsForRepo::OPERATION_MATCH ? Schema\InteractionLimitResponse|array{code:int} : ($call is Operation\Interactions\RemoveRestrictionsForRepo::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListInvitations::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListInvitationsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\DeleteInvitation::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateInvitation::OPERATION_MATCH ? : ($call is Operation\Issues\ListForRepo::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\ListForRepoListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\Create::OPERATION_MATCH ? : ($call is Operation\Issues\ListCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\GetComment::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForIssueComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForIssueCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForIssueComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForIssueComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListEventsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\GetEvent::OPERATION_MATCH ? : ($call is Operation\Issues\Get::OPERATION_MATCH ? Schema\Issue|Schema\BasicError|array{code:int} : ($call is Operation\Issues\Update::OPERATION_MATCH ? : ($call is Operation\Issues\AddAssignees::OPERATION_MATCH ? : ($call is Operation\Issues\RemoveAssignees::OPERATION_MATCH ? : ($call is Operation\Issues\CheckUserCanBeAssignedToIssue::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListComments::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListCommentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateComment::OPERATION_MATCH ? : ($call is Operation\Issues\ListEvents::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsOnIssue::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\ListLabelsOnIssueListing::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\SetLabels::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\AddLabels::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\RemoveAllLabels::OPERATION_MATCH ? Schema\BasicError|array{code:int} : ($call is Operation\Issues\RemoveLabel::OPERATION_MATCH ? Observable|Schema\BasicError : ($call is Operation\Issues\Lock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\Unlock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Reactions\ListForIssue::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForIssueListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForIssue::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForIssue::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListEventsForTimeline::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListEventsForTimelineListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeployKeys::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListDeployKeysListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateDeployKey::OPERATION_MATCH ? : ($call is Operation\Repos\GetDeployKey::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteDeployKey::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListLabelsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateLabel::OPERATION_MATCH ? : ($call is Operation\Issues\GetLabel::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteLabel::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateLabel::OPERATION_MATCH ? : ($call is Operation\Repos\ListLanguages::OPERATION_MATCH ? : ($call is Operation\Licenses\GetForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\MergeUpstream::OPERATION_MATCH ? Schema\MergedUpstream|array{code:int} : ($call is Operation\Repos\Merge::OPERATION_MATCH ? Schema\Commit|array{code:int} : ($call is Operation\Issues\ListMilestones::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListMilestonesListing::OPERATION_MATCH ? Observable : ($call is Operation\Issues\CreateMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\GetMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\DeleteMilestone::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\UpdateMilestone::OPERATION_MATCH ? : ($call is Operation\Issues\ListLabelsForMilestone::OPERATION_MATCH ? Observable : ($call is Operation\Issues\ListLabelsForMilestoneListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoNotificationsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListRepoNotificationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\MarkRepoNotificationsAsRead::OPERATION_MATCH ? Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted|array{code:int} : ($call is Operation\Repos\GetPages::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateInformationAboutPagesSite::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\CreatePagesSite::OPERATION_MATCH ? : ($call is Operation\Repos\DeletePagesSite::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListPagesBuilds::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListPagesBuildsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\RequestPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\GetLatestPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\GetPagesBuild::OPERATION_MATCH ? : ($call is Operation\Repos\CreatePagesDeployment::OPERATION_MATCH ? : ($call is Operation\Repos\GetPagesHealthCheck::OPERATION_MATCH ? Schema\PagesHealthCheck|Schema\EmptyObject|array{code:int} : ($call is Operation\Repos\EnablePrivateVulnerabilityReporting::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisablePrivateVulnerabilityReporting::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\ListForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Projects\CreateForRepo::OPERATION_MATCH ? : ($call is Operation\Pulls\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Pulls\ListListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Pulls\Create::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviewCommentsForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewCommentsForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\GetReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\DeleteReviewComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\UpdateReviewComment::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForPullRequestReviewComment::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForPullRequestReviewCommentListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForPullRequestReviewComment::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForPullRequestComment::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\Get::OPERATION_MATCH ? Schema\PullRequest|array{code:int} : ($call is Operation\Pulls\Update::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateWithPrForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviewComments::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewCommentsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CreateReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\CreateReplyForReviewComment::OPERATION_MATCH ? : ($call is Operation\Pulls\ListCommits::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListCommitsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListFiles::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListFilesListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CheckIfMerged::OPERATION_MATCH ? array{code:int} : ($call is Operation\Pulls\Merge::OPERATION_MATCH ? : ($call is Operation\Pulls\ListRequestedReviewers::OPERATION_MATCH ? : ($call is Operation\Pulls\RequestReviewers::OPERATION_MATCH ? Schema\PullRequestSimple|array{code:int} : ($call is Operation\Pulls\RemoveRequestedReviewers::OPERATION_MATCH ? : ($call is Operation\Pulls\ListReviews::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListReviewsListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\CreateReview::OPERATION_MATCH ? : ($call is Operation\Pulls\GetReview::OPERATION_MATCH ? : ($call is Operation\Pulls\UpdateReview::OPERATION_MATCH ? : ($call is Operation\Pulls\DeletePendingReview::OPERATION_MATCH ? : ($call is Operation\Pulls\ListCommentsForReview::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\ListCommentsForReviewListing::OPERATION_MATCH ? Observable : ($call is Operation\Pulls\DismissReview::OPERATION_MATCH ? : ($call is Operation\Pulls\SubmitReview::OPERATION_MATCH ? : ($call is Operation\Pulls\UpdateBranch::OPERATION_MATCH ? : ($call is Operation\Repos\GetReadme::OPERATION_MATCH ? : ($call is Operation\Repos\GetReadmeInDirectory::OPERATION_MATCH ? : ($call is Operation\Repos\ListReleases::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListReleasesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateRelease::OPERATION_MATCH ? : ($call is Operation\Repos\GetReleaseAsset::OPERATION_MATCH ? Schema\ReleaseAsset|array{code:int} : ($call is Operation\Repos\DeleteReleaseAsset::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateReleaseAsset::OPERATION_MATCH ? : ($call is Operation\Repos\GenerateReleaseNotes::OPERATION_MATCH ? : ($call is Operation\Repos\GetLatestRelease::OPERATION_MATCH ? : ($call is Operation\Repos\GetReleaseByTag::OPERATION_MATCH ? : ($call is Operation\Repos\GetRelease::OPERATION_MATCH ? Schema\Release|array{code:int} : ($call is Operation\Repos\DeleteRelease::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\UpdateRelease::OPERATION_MATCH ? : ($call is Operation\Repos\ListReleaseAssets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListReleaseAssetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\UploadReleaseAsset::OPERATION_MATCH ? Schema\ReleaseAsset|array{code:int} : ($call is Operation\Reactions\ListForRelease::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForReleaseListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForRelease::OPERATION_MATCH ? : ($call is Operation\Reactions\DeleteForRelease::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\GetBranchRules::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetBranchRulesListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetRepoRulesets::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetRepoRulesetsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\GetRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\UpdateRepoRuleset::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteRepoRuleset::OPERATION_MATCH ? array{code:int} : ($call is Operation\SecretScanning\ListAlertsForRepo::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListAlertsForRepoListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\GetAlert::OPERATION_MATCH ? Schema\SecretScanningAlert|array{code:int} : ($call is Operation\SecretScanning\UpdateAlert::OPERATION_MATCH ? Schema\SecretScanningAlert|array{code:int} : ($call is Operation\SecretScanning\ListLocationsForAlert::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecretScanning\ListLocationsForAlertListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\SecurityAdvisories\ListRepositoryAdvisories::OPERATION_MATCH ? Observable : ($call is Operation\SecurityAdvisories\CreateRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\CreatePrivateVulnerabilityReport::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\GetRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\UpdateRepositoryAdvisory::OPERATION_MATCH ? : ($call is Operation\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest::OPERATION_MATCH ? : ($call is Operation\Activity\ListStargazersForRepo::OPERATION_MATCH ? : ($call is Operation\Repos\GetCodeFrequencyStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetCommitActivityStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetContributorsStats::OPERATION_MATCH ? Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Repos\GetParticipationStats::OPERATION_MATCH ? : ($call is Operation\Repos\GetPunchCardStats::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\CreateCommitStatus::OPERATION_MATCH ? : ($call is Operation\Activity\ListWatchersForRepo::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListWatchersForRepoListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\GetRepoSubscription::OPERATION_MATCH ? Schema\RepositorySubscription|array{code:int} : ($call is Operation\Activity\SetRepoSubscription::OPERATION_MATCH ? : ($call is Operation\Activity\DeleteRepoSubscription::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\ListTags::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTagsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTagProtection::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateTagProtection::OPERATION_MATCH ? : ($call is Operation\Repos\DeleteTagProtection::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DownloadTarballArchive::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Repos\DownloadTarballArchiveStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTeams::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListTeamsListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetAllTopics::OPERATION_MATCH ? : ($call is Operation\Repos\ReplaceAllTopics::OPERATION_MATCH ? : ($call is Operation\Repos\GetClones::OPERATION_MATCH ? : ($call is Operation\Repos\GetTopPaths::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetTopReferrers::OPERATION_MATCH ? Observable : ($call is Operation\Repos\GetViews::OPERATION_MATCH ? : ($call is Operation\Repos\Transfer::OPERATION_MATCH ? : ($call is Operation\Repos\CheckVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\EnableVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DisableVulnerabilityAlerts::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\DownloadZipballArchive::OPERATION_MATCH ? array{code:int,location:string} : ($call is Operation\Repos\DownloadZipballArchiveStreaming::OPERATION_MATCH ? Observable : ($call is Operation\Repos\CreateUsingTemplate::OPERATION_MATCH ? : ($call is Operation\Repos\ListPublic::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Actions\ListEnvironmentSecrets::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentPublicKey::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentSecret::OPERATION_MATCH ? : ($call is Operation\Actions\CreateOrUpdateEnvironmentSecret::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Actions\DeleteEnvironmentSecret::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\ListEnvironmentVariables::OPERATION_MATCH ? : ($call is Operation\Actions\CreateEnvironmentVariable::OPERATION_MATCH ? : ($call is Operation\Actions\GetEnvironmentVariable::OPERATION_MATCH ? : ($call is Operation\Actions\DeleteEnvironmentVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Actions\UpdateEnvironmentVariable::OPERATION_MATCH ? array{code:int} : ($call is Operation\Search\Code::OPERATION_MATCH ? Schema\Operations\Search\Code\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Commits::OPERATION_MATCH ? Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\IssuesAndPullRequests::OPERATION_MATCH ? Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Labels::OPERATION_MATCH ? Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Repos::OPERATION_MATCH ? Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Topics::OPERATION_MATCH ? Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Search\Users::OPERATION_MATCH ? Schema\Operations\Search\Users\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Teams\GetLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListDiscussionCommentsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListDiscussionCommentsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CreateDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\GetDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\DeleteDiscussionCommentLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\UpdateDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionCommentLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionCommentLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionCommentLegacy::OPERATION_MATCH ? : ($call is Operation\Reactions\ListForTeamDiscussionLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\ListForTeamDiscussionLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Reactions\CreateForTeamDiscussionLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\ListPendingInvitationsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListPendingInvitationsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListMembersLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\GetMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\AddMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveMemberLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\GetMembershipForUserLegacy::OPERATION_MATCH ? : ($call is Operation\Teams\AddOrUpdateMembershipForUserLegacy::OPERATION_MATCH ? Schema\TeamMembership|array{code:int} : ($call is Operation\Teams\RemoveMembershipForUserLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListProjectsLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListProjectsLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForProjectLegacy::OPERATION_MATCH ? Schema\TeamProject|array{code:int} : ($call is Operation\Teams\AddOrUpdateProjectPermissionsLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveProjectLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListReposLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListReposLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Teams\CheckPermissionsForRepoLegacy::OPERATION_MATCH ? Schema\TeamRepository|array{code:int} : ($call is Operation\Teams\AddOrUpdateRepoPermissionsLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\RemoveRepoLegacy::OPERATION_MATCH ? array{code:int} : ($call is Operation\Teams\ListChildLegacy::OPERATION_MATCH ? Observable : ($call is Operation\Teams\ListChildLegacyListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\GetAuthenticated::OPERATION_MATCH ? Schema\PrivateUser|Schema\PublicUser|array{code:int} : ($call is Operation\Users\UpdateAuthenticated::OPERATION_MATCH ? Schema\PrivateUser|array{code:int} : ($call is Operation\Users\ListBlockedByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListBlockedByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CheckBlocked::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Block::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Unblock::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\ListForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\CreateForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ListSecretsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetPublicKeyForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetSecretForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CreateOrUpdateSecretForAuthenticatedUser::OPERATION_MATCH ? Schema\EmptyObject|array{code:int} : ($call is Operation\Codespaces\DeleteSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\ListRepositoriesForSecretForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\SetRepositoriesForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\AddRepositoryForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\RemoveRepositoryForSecretForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Codespaces\GetForAuthenticatedUser::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Codespaces\DeleteForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\DeleteForAuthenticatedUser\Response\ApplicationJson\Accepted\Application\Json|array{code:int} : ($call is Operation\Codespaces\UpdateForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\ExportForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\GetExportDetailsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\CodespaceMachinesForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Codespaces\PublishForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Codespaces\StartForAuthenticatedUser::OPERATION_MATCH ? Schema\Codespace|array{code:int} : ($call is Operation\Codespaces\StopForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\SetPrimaryEmailVisibilityForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListEmailsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListEmailsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\AddEmailForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\DeleteEmailForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListFollowersForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowersForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowedByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListFollowedByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CheckPersonIsFollowedByAuthenticated::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Follow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\Unfollow::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListGpgKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListGpgKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreateGpgKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\GpgKey|array{code:int} : ($call is Operation\Users\GetGpgKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\GpgKey|array{code:int} : ($call is Operation\Users\DeleteGpgKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ListInstallationsForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|array{code:int} : ($call is Operation\Apps\ListInstallationReposForAuthenticatedUser::OPERATION_MATCH ? Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|array{code:int} : ($call is Operation\Apps\AddRepoToInstallationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\RemoveRepoFromInstallationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Interactions\GetRestrictionsForAuthenticatedUser::OPERATION_MATCH ? Schema\InteractionLimitResponse|Schema\Operations\Interactions\GetRestrictionsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json\One|array{code:int} : ($call is Operation\Interactions\SetRestrictionsForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Interactions\RemoveRestrictionsForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Issues\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Issues\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicSshKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicSshKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreatePublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\Key|array{code:int} : ($call is Operation\Users\GetPublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\Key|array{code:int} : ($call is Operation\Users\DeletePublicSshKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserStubbed::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Apps\ListSubscriptionsForAuthenticatedUserStubbedListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListMembershipsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListMembershipsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\GetMembershipForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Orgs\UpdateMembershipForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Migrations\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Migrations\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Migrations\StartForAuthenticatedUser::OPERATION_MATCH ? Schema\Migration|array{code:int} : ($call is Operation\Migrations\GetStatusForAuthenticatedUser::OPERATION_MATCH ? Schema\Migration|array{code:int} : ($call is Operation\Migrations\GetArchiveForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\DeleteArchiveForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\UnlockRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Migrations\ListReposForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Migrations\ListReposForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Orgs\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForAuthenticatedUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\CreateForAuthenticatedUser::OPERATION_MATCH ? Schema\Project|array{code:int} : ($call is Operation\Users\ListPublicEmailsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListPublicEmailsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\CreateForAuthenticatedUser::OPERATION_MATCH ? Schema\Repository|array{code:int} : ($call is Operation\Repos\ListInvitationsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\ListInvitationsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Repos\DeclineInvitationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Repos\AcceptInvitationForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListSocialAccountsForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListSocialAccountsForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\AddSocialAccountForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\DeleteSocialAccountForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Users\ListSshSigningKeysForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\ListSshSigningKeysForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\CreateSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\SshSigningKey|array{code:int} : ($call is Operation\Users\GetSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? Schema\SshSigningKey|array{code:int} : ($call is Operation\Users\DeleteSshSigningKeyForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListReposStarredByAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListReposStarredByAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\CheckRepoIsStarredByAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\StarRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\UnstarRepoForAuthenticatedUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Activity\ListWatchedReposForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Activity\ListWatchedReposForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Teams\ListForAuthenticatedUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Teams\ListForAuthenticatedUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\List_::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Users\GetByUsername::OPERATION_MATCH ? : ($call is Operation\Packages\ListDockerMigrationConflictingPackagesForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListEventsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListEventsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListOrgEventsForAuthenticatedUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListOrgEventsForAuthenticatedUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListPublicEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowersForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowersForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowingForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListFollowingForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\CheckFollowingForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Gists\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Gists\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListGpgKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListGpgKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\GetContextForUser::OPERATION_MATCH ? : ($call is Operation\Apps\GetUserInstallation::OPERATION_MATCH ? : ($call is Operation\Users\ListPublicKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListPublicKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Orgs\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Packages\ListPackagesForUser::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\ListPackagesForUserListing::OPERATION_MATCH ? Observable|array{code:int} : ($call is Operation\Packages\GetPackageForUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\GetAllPackageVersionsForPackageOwnedByUser::OPERATION_MATCH ? Observable : ($call is Operation\Packages\GetPackageVersionForUser::OPERATION_MATCH ? : ($call is Operation\Packages\DeletePackageVersionForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Packages\RestorePackageVersionForUser::OPERATION_MATCH ? array{code:int} : ($call is Operation\Projects\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Projects\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedPublicEventsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReceivedPublicEventsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForUser::OPERATION_MATCH ? Observable : ($call is Operation\Repos\ListForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Billing\GetGithubActionsBillingUser::OPERATION_MATCH ? : ($call is Operation\Billing\GetGithubPackagesBillingUser::OPERATION_MATCH ? : ($call is Operation\Billing\GetSharedStorageBillingUser::OPERATION_MATCH ? : ($call is Operation\Users\ListSocialAccountsForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSocialAccountsForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSshSigningKeysForUser::OPERATION_MATCH ? Observable : ($call is Operation\Users\ListSshSigningKeysForUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReposStarredByUser::OPERATION_MATCH ? : ($call is Operation\Activity\ListReposWatchedByUser::OPERATION_MATCH ? Observable : ($call is Operation\Activity\ListReposWatchedByUserListing::OPERATION_MATCH ? Observable : ($call is Operation\Meta\GetAllVersions::OPERATION_MATCH ? Observable : ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) */ // phpcs:enable public function call(string $call, array $params = []): Root|iterable|GlobalAdvisory|Integration|WebhookConfig|HookDelivery|Json|Installation|InstallationToken|Authorization|ClassroomAssignment|Classroom|CodeOfConduct|\ApiClients\Client\GitHub\Schema\Operations\Emojis\Get\Response\ApplicationJson\Ok\Application\Json|Feed|GistSimple|GistComment|BaseGist|GitignoreTemplate|Ok|License|string|MarketplacePurchase|ApiOverview|BasicError|Accepted|Thread|ThreadSubscription|ResponseInterface|OrganizationFull|\ApiClients\Client\GitHub\Schema\Operations\Orgs\Delete\Response\ApplicationJson\Accepted\Application\Json|ActionsCacheUsageOrgEnterprise|\ApiClients\Client\GitHub\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|OidcCustomSub|EmptyObject|ActionsOrganizationPermissions|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|Created|AuthenticationToken|Runner|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListLabelsForSelfHostedRunnerForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|ActionsPublicKey|OrganizationActionsSecret|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|OrganizationActionsVariable|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|CopilotOrganizationDetails|\ApiClients\Client\GitHub\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Copilot\AddCopilotForBusinessSeatsForTeams\Response\ApplicationJson\Created|\ApiClients\Client\GitHub\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForTeams\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Copilot\AddCopilotForBusinessSeatsForUsers\Response\ApplicationJson\Created\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|OrgHook|\ApiClients\Client\GitHub\Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ListAppInstallations\Response\ApplicationJson\Ok|InteractionLimitResponse|One|OrganizationInvitation|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|Codespace|CopilotSeatDetails|OrgMembership|Migration|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json|Package|PackageVersion|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ReviewPatGrantRequestsInBulk\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Orgs\UpdatePatAccesses\Response\ApplicationJson\Accepted\Application\Json|Project|Repository|RepositoryRuleset|ActionsBillingUsage|PackagesBillingUsage|CombinedBillingUsage|TeamFull|TeamDiscussion|TeamDiscussionComment|Reaction|TeamMembership|TeamProject|TeamRepository|ProjectCard|\ApiClients\Client\GitHub\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|ProjectColumn|\ApiClients\Client\GitHub\Schema\Operations\Projects\MoveColumn\Response\ApplicationJson\Created\Application\Json|ProjectCollaboratorPermission|RateLimitOverview|FullRepository|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|Artifact|ActionsCacheUsageByRepository|ActionsCacheList|Job|OidcCustomSubRepo|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|ActionsWorkflowAccessToRepository|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|WorkflowRun|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRunArtifacts\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListJobsForWorkflowRunAttempt\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|WorkflowRunUsage|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|ActionsSecret|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|ActionsVariable|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|Workflow|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|WorkflowUsage|Autolink|CheckAutomatedSecurityFixes|BranchWithProtection|BranchProtection|ProtectedBranch|ProtectedBranchAdminEnforced|ProtectedBranchPullRequestReview|StatusCheckPolicy|BranchRestrictionPolicy|CheckRun|CheckSuite|CheckSuitePreference|\ApiClients\Client\GitHub\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|CodeScanningAlert|CodeScanningAnalysis|CodeScanningAnalysisDeletion|CodeScanningCodeqlDatabase|CodeScanningDefaultSetup|CodeScanningDefaultSetupUpdateResponse|CodeScanningSarifsReceipt|CodeScanningSarifsStatus|CodeownersErrors|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\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|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|RepoCodespacesSecret|RepositoryInvitation|RepositoryCollaboratorPermission|CommitComment|Commit|\ApiClients\Client\GitHub\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|CombinedCommitStatus|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|FileCommit|DependabotAlert|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependabotSecret|DependencyGraphSpdxSbom|\ApiClients\Client\GitHub\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|Deployment|\ApiClients\Client\GitHub\Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|DeploymentStatus|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Environment|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|DeploymentBranchPolicy|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|DeploymentProtectionRule|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\Response\ApplicationJson\Ok|ShortBlob|Blob|GitCommit|GitRef|GitTag|GitTree|Hook|\ApiClients\Client\GitHub\Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|Import|PorterAuthor|\ApiClients\Client\GitHub\Schema\Operations\Interactions\GetRestrictionsForRepo\Response\ApplicationJson\Ok\Application\Json\One|Issue|IssueComment|IssueEvent|DeployKey|Label|Language|LicenseContent|MergedUpstream|Milestone|\ApiClients\Client\GitHub\Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted|Page|PageBuildStatus|PageBuild|PageDeployment|PagesHealthCheck|PullRequest|PullRequestReviewComment|PullRequestMergeResult|PullRequestReviewRequest|PullRequestSimple|PullRequestReview|\ApiClients\Client\GitHub\Schema\Operations\Pulls\UpdateBranch\Response\ApplicationJson\Accepted\Application\Json|Release|ReleaseAsset|ReleaseNotesContent|SecretScanningAlert|RepositoryAdvisory|\ApiClients\Client\GitHub\Schema\Operations\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest\Response\ApplicationJson\Accepted\Application\Json|SimpleUser|Stargazer|\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|Status|RepositorySubscription|TagProtection|Topic|CloneTraffic|ViewTraffic|MinimalRepository|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListEnvironmentSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListEnvironmentVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Search\Code\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Users\Response\ApplicationJson\Ok|PrivateUser|PublicUser|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListSecretsForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesUserPublicKey|CodespacesSecret|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\DeleteForAuthenticatedUser\Response\ApplicationJson\Accepted\Application\Json|CodespaceExportDetails|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceWithFullRepository|GpgKey|\ApiClients\Client\GitHub\Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Interactions\GetRestrictionsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json\One|Key|SshSigningKey|Hovercard|StarredRepository; diff --git a/clients/GitHub/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runs/RunId/ForceCancel.php b/clients/GitHub/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runs/RunId/ForceCancel.php new file mode 100644 index 00000000000..75fc51b5fe6 --- /dev/null +++ b/clients/GitHub/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runs/RunId/ForceCancel.php @@ -0,0 +1,286 @@ + $className + * + * @return T + * + * @template T of object + */ + public function hydrateObject(string $className, array $payload): object + { + return match ($className) { + 'ApiClients\Client\GitHub\Schema\BasicError' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($payload), + default => throw UnableToHydrateObject::noHydrationDefined($className, $this->hydrationStack), + }; + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError(array $payload): BasicError + { + $properties = []; + $missingFields = []; + try { + $value = $payload['message'] ?? null; + + if ($value === null) { + $properties['message'] = null; + goto after_message; + } + + $properties['message'] = $value; + + after_message: + + $value = $payload['documentation_url'] ?? null; + + if ($value === null) { + $properties['documentationUrl'] = null; + goto after_documentationUrl; + } + + $properties['documentationUrl'] = $value; + + after_documentationUrl: + + $value = $payload['url'] ?? null; + + if ($value === null) { + $properties['url'] = null; + goto after_url; + } + + $properties['url'] = $value; + + after_url: + + $value = $payload['status'] ?? null; + + if ($value === null) { + $properties['status'] = null; + goto after_status; + } + + $properties['status'] = $value; + + after_status: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\BasicError', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(BasicError::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new BasicError(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\BasicError', $exception, stack: $this->hydrationStack); + } + } + + private function serializeViaTypeMap(string $accessor, object $object, array $payloadToTypeMap): array + { + foreach ($payloadToTypeMap as $payloadType => [$valueType, $method]) { + if (is_a($object, $valueType)) { + return [$accessor => $payloadType] + $this->{$method}($object); + } + } + + throw new LogicException('No type mapped for object of class: ' . $object::class); + } + + public function serializeObject(object $object): mixed + { + return $this->serializeObjectOfType($object, $object::class); + } + + /** + * @param T $object + * @param class-string $className + * + * @template T + */ + public function serializeObjectOfType(object $object, string $className): mixed + { + try { + return match ($className) { + 'array' => $this->serializeValuearray($object), + 'Ramsey\Uuid\UuidInterface' => $this->serializeValueRamsey⚡️Uuid⚡️UuidInterface($object), + 'DateTime' => $this->serializeValueDateTime($object), + 'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object), + 'DateTimeInterface' => $this->serializeValueDateTimeInterface($object), + 'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object), + default => throw new LogicException('No serialization defined for $className'), + }; + } catch (Throwable $exception) { + throw UnableToSerializeObject::dueToError($className, $exception); + } + } + + private function serializeValuearray(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeArrayItems(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueRamsey⚡️Uuid⚡️UuidInterface(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeUuidToString(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTime(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTimeImmutable(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTimeInterface(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError(mixed $object): mixed + { + assert($object instanceof BasicError); + $result = []; + + $message = $object->message; + + if ($message === null) { + goto after_message; + } + + after_message: $result['message'] = $message; + + $documentationUrl = $object->documentationUrl; + + if ($documentationUrl === null) { + goto after_documentationUrl; + } + + after_documentationUrl: $result['documentation_url'] = $documentationUrl; + + $url = $object->url; + + if ($url === null) { + goto after_url; + } + + after_url: $result['url'] = $url; + + $status = $object->status; + + if ($status === null) { + goto after_status; + } + + after_status: $result['status'] = $status; + + return $result; + } + + /** + * @param class-string $className + * @param iterable $payloads; + * + * @return IterableList + * + * @throws UnableToHydrateObject + * + * @template T + */ + public function hydrateObjects(string $className, iterable $payloads): IterableList + { + return new IterableList($this->doHydrateObjects($className, $payloads)); + } + + private function doHydrateObjects(string $className, iterable $payloads): Generator + { + foreach ($payloads as $index => $payload) { + yield $index => $this->hydrateObject($className, $payload); + } + } + + /** + * @param class-string $className + * @param iterable $payloads; + * + * @return IterableList + * + * @throws UnableToSerializeObject + * + * @template T + */ + public function serializeObjects(iterable $payloads): IterableList + { + return new IterableList($this->doSerializeObjects($payloads)); + } + + private function doSerializeObjects(iterable $objects): Generator + { + foreach ($objects as $index => $object) { + yield $index => $this->serializeObject($object); + } + } +} diff --git a/clients/GitHub/src/Internal/Hydrators.php b/clients/GitHub/src/Internal/Hydrators.php index f7e346a69ee..9a0268c30c6 100644 --- a/clients/GitHub/src/Internal/Hydrators.php +++ b/clients/GitHub/src/Internal/Hydrators.php @@ -242,6 +242,7 @@ final class Hydrators implements ObjectMapper private Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\Attempts\AttemptNumber\Logs|null $operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀Attempts🌀AttemptNumber🌀Logs = null; private Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\Cancel|null $operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀Cancel = null; private Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\DeploymentProtectionRule|null $operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀DeploymentProtectionRule = null; + private Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\ForceCancel|null $operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀ForceCancel = null; private Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\Jobs|null $operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀Jobs = null; private Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\Logs|null $operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀Logs = null; private Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\PendingDeployments|null $operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀PendingDeployments = null; @@ -3201,6 +3202,15 @@ public function getObjectMapperOperation🌀Repos🌀Owner🌀Repo🌀Actions return $this->operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀DeploymentProtectionRule; } + public function getObjectMapperOperation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀ForceCancel(): Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\ForceCancel + { + if ($this->operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀ForceCancel instanceof Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\ForceCancel === false) { + $this->operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀ForceCancel = new Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\ForceCancel(); + } + + return $this->operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀ForceCancel; + } + public function getObjectMapperOperation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀Jobs(): Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\Jobs { if ($this->operation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀Jobs instanceof Internal\Hydrator\Operation\Repos\Owner\Repo\Actions\Runs\RunId\Jobs === false) { diff --git a/clients/GitHub/src/Internal/Operation/Actions/ForceCancelWorkflowRun.php b/clients/GitHub/src/Internal/Operation/Actions/ForceCancelWorkflowRun.php new file mode 100644 index 00000000000..0e16f56cc73 --- /dev/null +++ b/clients/GitHub/src/Internal/Operation/Actions/ForceCancelWorkflowRun.php @@ -0,0 +1,76 @@ +owner = $owner; + $this->repo = $repo; + $this->runId = $runId; + } + + public function createRequest(): RequestInterface + { + return new Request(self::METHOD, str_replace(['{owner}', '{repo}', '{run_id}'], [$this->owner, $this->repo, $this->runId], self::PATH)); + } + + public function createResponse(ResponseInterface $response): Schema\EmptyObject + { + $code = $response->getStatusCode(); + [$contentType] = explode(';', $response->getHeaderLine('Content-Type')); + switch ($contentType) { + case 'application/json': + $body = json_decode($response->getBody()->getContents(), true); + switch ($code) { + /** + * Response + **/ + case 202: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\EmptyObject::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + return $this->hydrator->hydrateObject(Schema\EmptyObject::class, $body); + /** + * Conflict + **/ + + case 409: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\BasicError::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\BasicError(409, $this->hydrator->hydrateObject(Schema\BasicError::class, $body)); + } + + break; + } + + throw new RuntimeException('Unable to find matching response code and content type'); + } +} diff --git a/clients/GitHub/src/Internal/Operation/Orgs/DeleteWebhook.php b/clients/GitHub/src/Internal/Operation/Orgs/DeleteWebhook.php index dff603f7ef7..670d8bcaf1d 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/DeleteWebhook.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/DeleteWebhook.php @@ -26,7 +26,7 @@ final class DeleteWebhook private const PATH = '/orgs/{org}/hooks/{hook_id}'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Hooks\HookId $hydrator, string $org, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Orgs/GetWebhook.php b/clients/GitHub/src/Internal/Operation/Orgs/GetWebhook.php index 38ce58490ad..401289261b9 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/GetWebhook.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/GetWebhook.php @@ -26,7 +26,7 @@ final class GetWebhook private const PATH = '/orgs/{org}/hooks/{hook_id}'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Hooks\HookId $hydrator, string $org, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Orgs/GetWebhookConfigForOrg.php b/clients/GitHub/src/Internal/Operation/Orgs/GetWebhookConfigForOrg.php index 82d3ddb115c..b4dc1bb1b10 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/GetWebhookConfigForOrg.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/GetWebhookConfigForOrg.php @@ -25,7 +25,7 @@ final class GetWebhookConfigForOrg private const PATH = '/orgs/{org}/hooks/{hook_id}/config'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Hooks\HookId\Config $hydrator, string $org, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Orgs/GetWebhookDelivery.php b/clients/GitHub/src/Internal/Operation/Orgs/GetWebhookDelivery.php index 340bb9fe6f5..2707d3a5cff 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/GetWebhookDelivery.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/GetWebhookDelivery.php @@ -26,7 +26,7 @@ final class GetWebhookDelivery private const PATH = '/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Hooks\HookId\Deliveries\DeliveryId $hydrator, string $org, int $hookId, private int $deliveryId) diff --git a/clients/GitHub/src/Internal/Operation/Orgs/ListWebhookDeliveries.php b/clients/GitHub/src/Internal/Operation/Orgs/ListWebhookDeliveries.php index 2850c887ce5..57ae63b833b 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/ListWebhookDeliveries.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/ListWebhookDeliveries.php @@ -29,7 +29,7 @@ final class ListWebhookDeliveries private const PATH = '/orgs/{org}/hooks/{hook_id}/deliveries'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; /**Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors. **/ private string $cursor; diff --git a/clients/GitHub/src/Internal/Operation/Orgs/PingWebhook.php b/clients/GitHub/src/Internal/Operation/Orgs/PingWebhook.php index 888eef76e47..877c77bed46 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/PingWebhook.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/PingWebhook.php @@ -26,7 +26,7 @@ final class PingWebhook private const PATH = '/orgs/{org}/hooks/{hook_id}/pings'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Hooks\HookId\Pings $hydrator, string $org, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Orgs/RedeliverWebhookDelivery.php b/clients/GitHub/src/Internal/Operation/Orgs/RedeliverWebhookDelivery.php index de2d9755b33..7e1cfed4167 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/RedeliverWebhookDelivery.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/RedeliverWebhookDelivery.php @@ -26,7 +26,7 @@ final class RedeliverWebhookDelivery private const PATH = '/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Hooks\HookId\Deliveries\DeliveryId\Attempts $hydrator, string $org, int $hookId, private int $deliveryId) diff --git a/clients/GitHub/src/Internal/Operation/Orgs/UpdateWebhook.php b/clients/GitHub/src/Internal/Operation/Orgs/UpdateWebhook.php index 61db9acf6ab..2191d951735 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/UpdateWebhook.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/UpdateWebhook.php @@ -27,7 +27,7 @@ final class UpdateWebhook private const PATH = '/orgs/{org}/hooks/{hook_id}'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $requestSchemaValidator, private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Hooks\HookId $hydrator, string $org, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Orgs/UpdateWebhookConfigForOrg.php b/clients/GitHub/src/Internal/Operation/Orgs/UpdateWebhookConfigForOrg.php index cb72047fb27..063e7370fd4 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/UpdateWebhookConfigForOrg.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/UpdateWebhookConfigForOrg.php @@ -26,7 +26,7 @@ final class UpdateWebhookConfigForOrg private const PATH = '/orgs/{org}/hooks/{hook_id}/config'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $requestSchemaValidator, private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Hooks\HookId\Config $hydrator, string $org, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Repos/DeleteWebhook.php b/clients/GitHub/src/Internal/Operation/Repos/DeleteWebhook.php index 446f5bc4d3d..06c1a0d118c 100644 --- a/clients/GitHub/src/Internal/Operation/Repos/DeleteWebhook.php +++ b/clients/GitHub/src/Internal/Operation/Repos/DeleteWebhook.php @@ -28,7 +28,7 @@ final class DeleteWebhook private string $owner; /**The name of the repository without the `.git` extension. The name is not case sensitive. **/ private string $repo; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Hooks\HookId $hydrator, string $owner, string $repo, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Repos/GetWebhook.php b/clients/GitHub/src/Internal/Operation/Repos/GetWebhook.php index 0af3376f5b4..578227dd3a9 100644 --- a/clients/GitHub/src/Internal/Operation/Repos/GetWebhook.php +++ b/clients/GitHub/src/Internal/Operation/Repos/GetWebhook.php @@ -28,7 +28,7 @@ final class GetWebhook private string $owner; /**The name of the repository without the `.git` extension. The name is not case sensitive. **/ private string $repo; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Hooks\HookId $hydrator, string $owner, string $repo, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Repos/GetWebhookConfigForRepo.php b/clients/GitHub/src/Internal/Operation/Repos/GetWebhookConfigForRepo.php index 4c705d8a315..c9c25f0f97b 100644 --- a/clients/GitHub/src/Internal/Operation/Repos/GetWebhookConfigForRepo.php +++ b/clients/GitHub/src/Internal/Operation/Repos/GetWebhookConfigForRepo.php @@ -27,7 +27,7 @@ final class GetWebhookConfigForRepo private string $owner; /**The name of the repository without the `.git` extension. The name is not case sensitive. **/ private string $repo; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Hooks\HookId\Config $hydrator, string $owner, string $repo, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Repos/GetWebhookDelivery.php b/clients/GitHub/src/Internal/Operation/Repos/GetWebhookDelivery.php index 85cfe832aaa..c65eb651ac6 100644 --- a/clients/GitHub/src/Internal/Operation/Repos/GetWebhookDelivery.php +++ b/clients/GitHub/src/Internal/Operation/Repos/GetWebhookDelivery.php @@ -28,7 +28,7 @@ final class GetWebhookDelivery private string $owner; /**The name of the repository without the `.git` extension. The name is not case sensitive. **/ private string $repo; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Hooks\HookId\Deliveries\DeliveryId $hydrator, string $owner, string $repo, int $hookId, private int $deliveryId) diff --git a/clients/GitHub/src/Internal/Operation/Repos/ListWebhookDeliveries.php b/clients/GitHub/src/Internal/Operation/Repos/ListWebhookDeliveries.php index fe2e78c1fa4..3dd990bcba4 100644 --- a/clients/GitHub/src/Internal/Operation/Repos/ListWebhookDeliveries.php +++ b/clients/GitHub/src/Internal/Operation/Repos/ListWebhookDeliveries.php @@ -31,7 +31,7 @@ final class ListWebhookDeliveries private string $owner; /**The name of the repository without the `.git` extension. The name is not case sensitive. **/ private string $repo; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; /**Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors. **/ private string $cursor; diff --git a/clients/GitHub/src/Internal/Operation/Repos/PingWebhook.php b/clients/GitHub/src/Internal/Operation/Repos/PingWebhook.php index 5d93d6b4ce9..d47e9f7c473 100644 --- a/clients/GitHub/src/Internal/Operation/Repos/PingWebhook.php +++ b/clients/GitHub/src/Internal/Operation/Repos/PingWebhook.php @@ -28,7 +28,7 @@ final class PingWebhook private string $owner; /**The name of the repository without the `.git` extension. The name is not case sensitive. **/ private string $repo; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Hooks\HookId\Pings $hydrator, string $owner, string $repo, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Repos/RedeliverWebhookDelivery.php b/clients/GitHub/src/Internal/Operation/Repos/RedeliverWebhookDelivery.php index ec789022382..dd515871ba8 100644 --- a/clients/GitHub/src/Internal/Operation/Repos/RedeliverWebhookDelivery.php +++ b/clients/GitHub/src/Internal/Operation/Repos/RedeliverWebhookDelivery.php @@ -28,7 +28,7 @@ final class RedeliverWebhookDelivery private string $owner; /**The name of the repository without the `.git` extension. The name is not case sensitive. **/ private string $repo; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Hooks\HookId\Deliveries\DeliveryId\Attempts $hydrator, string $owner, string $repo, int $hookId, private int $deliveryId) diff --git a/clients/GitHub/src/Internal/Operation/Repos/TestPushWebhook.php b/clients/GitHub/src/Internal/Operation/Repos/TestPushWebhook.php index 9a05c8d7376..0a89b88c152 100644 --- a/clients/GitHub/src/Internal/Operation/Repos/TestPushWebhook.php +++ b/clients/GitHub/src/Internal/Operation/Repos/TestPushWebhook.php @@ -28,7 +28,7 @@ final class TestPushWebhook private string $owner; /**The name of the repository without the `.git` extension. The name is not case sensitive. **/ private string $repo; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Hooks\HookId\Tests $hydrator, string $owner, string $repo, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Repos/UpdateWebhook.php b/clients/GitHub/src/Internal/Operation/Repos/UpdateWebhook.php index 6c5f3a2a94f..ffb6c692e1a 100644 --- a/clients/GitHub/src/Internal/Operation/Repos/UpdateWebhook.php +++ b/clients/GitHub/src/Internal/Operation/Repos/UpdateWebhook.php @@ -29,7 +29,7 @@ final class UpdateWebhook private string $owner; /**The name of the repository without the `.git` extension. The name is not case sensitive. **/ private string $repo; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $requestSchemaValidator, private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Hooks\HookId $hydrator, string $owner, string $repo, int $hookId) diff --git a/clients/GitHub/src/Internal/Operation/Repos/UpdateWebhookConfigForRepo.php b/clients/GitHub/src/Internal/Operation/Repos/UpdateWebhookConfigForRepo.php index eccafb24956..090e654e9bc 100644 --- a/clients/GitHub/src/Internal/Operation/Repos/UpdateWebhookConfigForRepo.php +++ b/clients/GitHub/src/Internal/Operation/Repos/UpdateWebhookConfigForRepo.php @@ -28,7 +28,7 @@ final class UpdateWebhookConfigForRepo private string $owner; /**The name of the repository without the `.git` extension. The name is not case sensitive. **/ private string $repo; - /**The unique identifier of the hook. **/ + /**The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. **/ private int $hookId; public function __construct(private readonly SchemaValidator $requestSchemaValidator, private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Hooks\HookId\Config $hydrator, string $owner, string $repo, int $hookId) diff --git a/clients/GitHub/src/Internal/Operator/Actions/ForceCancelWorkflowRun.php b/clients/GitHub/src/Internal/Operator/Actions/ForceCancelWorkflowRun.php new file mode 100644 index 00000000000..25dffc10f79 --- /dev/null +++ b/clients/GitHub/src/Internal/Operator/Actions/ForceCancelWorkflowRun.php @@ -0,0 +1,42 @@ +responseSchemaValidator, $this->hydrator, $owner, $repo, $runId); + $request = $operation->createRequest(); + $result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): EmptyObject|array { + return $operation->createResponse($response); + })); + if ($result instanceof Observable) { + $result = awaitObservable($result); + } + + return $result; + } +} diff --git a/clients/GitHub/src/Internal/Operator/Orgs/GetWebhook.php b/clients/GitHub/src/Internal/Operator/Orgs/GetWebhook.php index c7782f41875..b51f4b88e3d 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/GetWebhook.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/GetWebhook.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Orgs; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\OrgHook; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\OrgHook */ public function call(string $org, int $hookId): OrgHook|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\GetWebhook($this->responseSchemaValidator, $this->hydrator, $org, $hookId); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/GetWebhookConfigForOrg.php b/clients/GitHub/src/Internal/Operator/Orgs/GetWebhookConfigForOrg.php index 900cdd4f34c..9a46c96ac3d 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/GetWebhookConfigForOrg.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/GetWebhookConfigForOrg.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Orgs; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\WebhookConfig; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\WebhookConfig */ public function call(string $org, int $hookId): WebhookConfig|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\GetWebhookConfigForOrg($this->responseSchemaValidator, $this->hydrator, $org, $hookId); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/GetWebhookDelivery.php b/clients/GitHub/src/Internal/Operator/Orgs/GetWebhookDelivery.php index 367f1334110..260876ffd5c 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/GetWebhookDelivery.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/GetWebhookDelivery.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Orgs; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\HookDelivery; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\HookDelivery */ public function call(string $org, int $hookId, int $deliveryId): HookDelivery|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\GetWebhookDelivery($this->responseSchemaValidator, $this->hydrator, $org, $hookId, $deliveryId); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/ListWebhookDeliveries.php b/clients/GitHub/src/Internal/Operator/Orgs/ListWebhookDeliveries.php index 75ed207194a..42b1b335849 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/ListWebhookDeliveries.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/ListWebhookDeliveries.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $org, int $hookId, string $cursor, bool $redelivery, int $perPage = 30): iterable { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\ListWebhookDeliveries($this->responseSchemaValidator, $this->hydrator, $org, $hookId, $cursor, $redelivery, $perPage); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/RedeliverWebhookDelivery.php b/clients/GitHub/src/Internal/Operator/Orgs/RedeliverWebhookDelivery.php index b79cf2ad438..919d0eebdba 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/RedeliverWebhookDelivery.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/RedeliverWebhookDelivery.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Orgs; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json */ public function call(string $org, int $hookId, int $deliveryId): Json|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\RedeliverWebhookDelivery($this->responseSchemaValidator, $this->hydrator, $org, $hookId, $deliveryId); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/UpdateWebhook.php b/clients/GitHub/src/Internal/Operator/Orgs/UpdateWebhook.php index 8663abc733d..c0bf6e76d0e 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/UpdateWebhook.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/UpdateWebhook.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Orgs; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\OrgHook; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\OrgHook */ public function call(string $org, int $hookId, array $params): OrgHook|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\UpdateWebhook($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org, $hookId); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/UpdateWebhookConfigForOrg.php b/clients/GitHub/src/Internal/Operator/Orgs/UpdateWebhookConfigForOrg.php index 8845e28b176..03ae5229384 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/UpdateWebhookConfigForOrg.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/UpdateWebhookConfigForOrg.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Orgs; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\WebhookConfig; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\WebhookConfig */ public function call(string $org, int $hookId, array $params): WebhookConfig|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\UpdateWebhookConfigForOrg($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org, $hookId); diff --git a/clients/GitHub/src/Internal/Operator/Repos/GetWebhook.php b/clients/GitHub/src/Internal/Operator/Repos/GetWebhook.php index 34bd9bc3fd2..62a07f8ac55 100644 --- a/clients/GitHub/src/Internal/Operator/Repos/GetWebhook.php +++ b/clients/GitHub/src/Internal/Operator/Repos/GetWebhook.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Repos; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\Hook; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\Hook */ public function call(string $owner, string $repo, int $hookId): Hook|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetWebhook($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $hookId); diff --git a/clients/GitHub/src/Internal/Operator/Repos/GetWebhookConfigForRepo.php b/clients/GitHub/src/Internal/Operator/Repos/GetWebhookConfigForRepo.php index 5a823da2534..afc7914b22c 100644 --- a/clients/GitHub/src/Internal/Operator/Repos/GetWebhookConfigForRepo.php +++ b/clients/GitHub/src/Internal/Operator/Repos/GetWebhookConfigForRepo.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Repos; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\WebhookConfig; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\WebhookConfig */ public function call(string $owner, string $repo, int $hookId): WebhookConfig|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetWebhookConfigForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $hookId); diff --git a/clients/GitHub/src/Internal/Operator/Repos/GetWebhookDelivery.php b/clients/GitHub/src/Internal/Operator/Repos/GetWebhookDelivery.php index 1d94db85f23..79ff608f96e 100644 --- a/clients/GitHub/src/Internal/Operator/Repos/GetWebhookDelivery.php +++ b/clients/GitHub/src/Internal/Operator/Repos/GetWebhookDelivery.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Repos; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\HookDelivery; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\HookDelivery */ public function call(string $owner, string $repo, int $hookId, int $deliveryId): HookDelivery|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetWebhookDelivery($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $hookId, $deliveryId); diff --git a/clients/GitHub/src/Internal/Operator/Repos/ListWebhookDeliveries.php b/clients/GitHub/src/Internal/Operator/Repos/ListWebhookDeliveries.php index 4b73c3617c7..47ca3421d22 100644 --- a/clients/GitHub/src/Internal/Operator/Repos/ListWebhookDeliveries.php +++ b/clients/GitHub/src/Internal/Operator/Repos/ListWebhookDeliveries.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ + /** @return iterable */ public function call(string $owner, string $repo, int $hookId, string $cursor, bool $redelivery, int $perPage = 30): iterable { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\ListWebhookDeliveries($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $hookId, $cursor, $redelivery, $perPage); diff --git a/clients/GitHub/src/Internal/Operator/Repos/RedeliverWebhookDelivery.php b/clients/GitHub/src/Internal/Operator/Repos/RedeliverWebhookDelivery.php index a83ddc33705..326b33ae5b1 100644 --- a/clients/GitHub/src/Internal/Operator/Repos/RedeliverWebhookDelivery.php +++ b/clients/GitHub/src/Internal/Operator/Repos/RedeliverWebhookDelivery.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Repos; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json */ public function call(string $owner, string $repo, int $hookId, int $deliveryId): Json|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\RedeliverWebhookDelivery($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $hookId, $deliveryId); diff --git a/clients/GitHub/src/Internal/Operator/Repos/UpdateWebhook.php b/clients/GitHub/src/Internal/Operator/Repos/UpdateWebhook.php index 2b843378d85..5cebf0ec745 100644 --- a/clients/GitHub/src/Internal/Operator/Repos/UpdateWebhook.php +++ b/clients/GitHub/src/Internal/Operator/Repos/UpdateWebhook.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Repos; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\Hook; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\Hook */ public function call(string $owner, string $repo, int $hookId, array $params): Hook|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\UpdateWebhook($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo, $hookId); diff --git a/clients/GitHub/src/Internal/Operator/Repos/UpdateWebhookConfigForRepo.php b/clients/GitHub/src/Internal/Operator/Repos/UpdateWebhookConfigForRepo.php index 3878b5e48a0..dca78d203f7 100644 --- a/clients/GitHub/src/Internal/Operator/Repos/UpdateWebhookConfigForRepo.php +++ b/clients/GitHub/src/Internal/Operator/Repos/UpdateWebhookConfigForRepo.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Operator\Repos; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\WebhookConfig; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; use League\OpenAPIValidation\Schema\SchemaValidator; @@ -24,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ + /** @return Schema\WebhookConfig */ public function call(string $owner, string $repo, int $hookId, array $params): WebhookConfig|array { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\UpdateWebhookConfigForRepo($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo, $hookId); diff --git a/clients/GitHub/src/Internal/Operators.php b/clients/GitHub/src/Internal/Operators.php index df15c9a8084..16eec0bd238 100644 --- a/clients/GitHub/src/Internal/Operators.php +++ b/clients/GitHub/src/Internal/Operators.php @@ -419,6 +419,7 @@ final class Operators private Internal\Operator\Actions\DownloadWorkflowRunAttemptLogsStreaming|null $actions👷DownloadWorkflowRunAttemptLogsStreaming = null; private Internal\Operator\Actions\CancelWorkflowRun|null $actions👷CancelWorkflowRun = null; private Internal\Operator\Actions\ReviewCustomGatesForRun|null $actions👷ReviewCustomGatesForRun = null; + private Internal\Operator\Actions\ForceCancelWorkflowRun|null $actions👷ForceCancelWorkflowRun = null; private Internal\Operator\Actions\ListJobsForWorkflowRun|null $actions👷ListJobsForWorkflowRun = null; private Internal\Operator\Actions\DownloadWorkflowRunLogs|null $actions👷DownloadWorkflowRunLogs = null; private Internal\Operator\Actions\DownloadWorkflowRunLogsStreaming|null $actions👷DownloadWorkflowRunLogsStreaming = null; @@ -4752,6 +4753,15 @@ public function actions👷ReviewCustomGatesForRun(): Internal\Operator\Actions\ return $this->actions👷ReviewCustomGatesForRun; } + public function actions👷ForceCancelWorkflowRun(): Internal\Operator\Actions\ForceCancelWorkflowRun + { + if ($this->actions👷ForceCancelWorkflowRun instanceof Internal\Operator\Actions\ForceCancelWorkflowRun === false) { + $this->actions👷ForceCancelWorkflowRun = new Internal\Operator\Actions\ForceCancelWorkflowRun($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀ForceCancel()); + } + + return $this->actions👷ForceCancelWorkflowRun; + } + public function actions👷ListJobsForWorkflowRun(): Internal\Operator\Actions\ListJobsForWorkflowRun { if ($this->actions👷ListJobsForWorkflowRun instanceof Internal\Operator\Actions\ListJobsForWorkflowRun === false) { diff --git a/clients/GitHub/src/Internal/Router/Get/Eight.php b/clients/GitHub/src/Internal/Router/Get/Eight.php index 85f061d1b6a..069db04053c 100644 --- a/clients/GitHub/src/Internal/Router/Get/Eight.php +++ b/clients/GitHub/src/Internal/Router/Get/Eight.php @@ -30,7 +30,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Schema\TeamRepository|array{code:int}|array{code:int,location:string}|Observable|Observable|Observable|Schema\CodeScanningCodeqlDatabase|Observable */ + /** @return |Observable|Observable|Schema\TeamRepository|array{code:int}|array{code:int,location:string}|Observable|Observable|Observable|Schema\CodeScanningCodeqlDatabase|Schema\HookDelivery|Observable */ public function call(string $call, array $params, array $pathChunks): PackageVersion|iterable|TeamRepository|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|DeploymentStatus|DeploymentBranchPolicy|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\Response\ApplicationJson\Ok|DeploymentProtectionRule|HookDelivery|PullRequestReview { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Get/Five.php b/clients/GitHub/src/Internal/Router/Get/Five.php index 6c6fbfa5378..160926441bc 100644 --- a/clients/GitHub/src/Internal/Router/Get/Five.php +++ b/clients/GitHub/src/Internal/Router/Get/Five.php @@ -47,7 +47,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|array{code:int}|Observable|Schema\GistComment|Observable|Schema\MarketplacePurchase|Observable|Schema\BasicError|Schema\ThreadSubscription|Observable|Observable|array{code:int,location:string}|Schema\ProjectCard|Observable|Observable|Observable|Observable|Schema\CheckAutomatedSecurityFixes|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\RepositorySubscription|Observable|Observable|Schema\TeamProject|Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok */ + /** @return |Observable|array{code:int}|Observable|Schema\GistComment|Observable|Schema\MarketplacePurchase|Observable|Schema\BasicError|Schema\ThreadSubscription|Observable|Observable|Schema\OrgHook|array{code:int,location:string}|Schema\ProjectCard|Observable|Observable|Observable|Observable|Schema\CheckAutomatedSecurityFixes|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\RepositorySubscription|Observable|Observable|Schema\TeamProject|Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok */ public function call(string $call, array $params, array $pathChunks): HookDelivery|iterable|GistComment|MarketplacePurchase|BasicError|ThreadSubscription|ActionsOrganizationPermissions|Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|CopilotOrganizationDetails|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|OrgHook|OrgMembership|Migration|RepositoryRuleset|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Import|Installation|InteractionLimitResponse|One|Language|LicenseContent|Page|ContentFile|SimpleUser|Stargazer|RepositorySubscription|Topic|TeamDiscussion|TeamMembership|TeamProject|CodespacesUserPublicKey|CodespacesSecret|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|Package { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Get/Orgs.php b/clients/GitHub/src/Internal/Router/Get/Orgs.php index 5a87937c77a..ae73ed25fc7 100644 --- a/clients/GitHub/src/Internal/Router/Get/Orgs.php +++ b/clients/GitHub/src/Internal/Router/Get/Orgs.php @@ -556,7 +556,7 @@ public function checkBlockedUser(array $params): array return $operator->call($arguments['org'], $arguments['username']); } - /** @return */ + /** @return Schema\OrgHook */ public function getWebhook(array $params): OrgHook|array { $arguments = []; @@ -655,7 +655,7 @@ public function getMembershipForAuthenticatedUser(array $params): OrgMembership| return $operator->call($arguments['org']); } - /** @return */ + /** @return Schema\WebhookConfig */ public function getWebhookConfigForOrg(array $params): WebhookConfig|array { $arguments = []; @@ -676,7 +676,7 @@ public function getWebhookConfigForOrg(array $params): WebhookConfig|array return $operator->call($arguments['org'], $arguments['hook_id']); } - /** @return Observable */ + /** @return iterable */ public function listWebhookDeliveries(array $params): iterable { $arguments = []; @@ -814,7 +814,7 @@ public function listPatGrantRepositories(array $params): iterable return $operator->call($arguments['org'], $arguments['pat_id'], $arguments['per_page'], $arguments['page']); } - /** @return */ + /** @return Schema\HookDelivery */ public function getWebhookDelivery(array $params): HookDelivery|array { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Get/Repos.php b/clients/GitHub/src/Internal/Router/Get/Repos.php index 924dc821aba..93e27752999 100644 --- a/clients/GitHub/src/Internal/Router/Get/Repos.php +++ b/clients/GitHub/src/Internal/Router/Get/Repos.php @@ -1473,7 +1473,7 @@ public function getEnvironment(array $params): Environment|array return $operator->call($arguments['owner'], $arguments['repo'], $arguments['environment_name']); } - /** @return */ + /** @return Schema\Hook */ public function getWebhook(array $params): Hook|array { $arguments = []; @@ -2271,7 +2271,7 @@ public function getAllDeploymentProtectionRules(array $params): \ApiClients\Clie return $operator->call($arguments['environment_name'], $arguments['repo'], $arguments['owner']); } - /** @return */ + /** @return Schema\WebhookConfig */ public function getWebhookConfigForRepo(array $params): WebhookConfig|array { $arguments = []; @@ -2298,7 +2298,7 @@ public function getWebhookConfigForRepo(array $params): WebhookConfig|array return $operator->call($arguments['owner'], $arguments['repo'], $arguments['hook_id']); } - /** @return Observable */ + /** @return iterable */ public function listWebhookDeliveries(array $params): iterable { $arguments = []; @@ -2838,7 +2838,7 @@ public function getCustomDeploymentProtectionRule(array $params): DeploymentProt return $operator->call($arguments['owner'], $arguments['repo'], $arguments['environment_name'], $arguments['protection_rule_id']); } - /** @return */ + /** @return Schema\HookDelivery */ public function getWebhookDelivery(array $params): HookDelivery|array { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Get/Seven.php b/clients/GitHub/src/Internal/Router/Get/Seven.php index 931be1e8d87..9ee3fb2539b 100644 --- a/clients/GitHub/src/Internal/Router/Get/Seven.php +++ b/clients/GitHub/src/Internal/Router/Get/Seven.php @@ -60,7 +60,7 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|array{code:int}|Observable|Schema\TeamMembership|Schema\TeamProject|Observable|Observable|Schema\CodeScanningAlert|Observable|Schema\CodeScanningSarifsStatus|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|Schema\DependabotAlert|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|Schema\ReleaseAsset|Observable|Observable|Schema\SecretScanningAlert|Observable|Observable */ + /** @return |Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|array{code:int}|Schema\HookDelivery|Observable|Schema\TeamMembership|Schema\TeamProject|Observable|Observable|Schema\CodeScanningAlert|Observable|Schema\CodeScanningSarifsStatus|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|Schema\DependabotAlert|Observable|Observable|Observable|Schema\WebhookConfig|iterable|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|Schema\ReleaseAsset|Observable|Observable|Schema\SecretScanningAlert|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): OidcCustomSub|Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|Json|\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|iterable|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|Blob|GitCommit|GitRef|GitTag|GitTree|WebhookConfig|IssueComment|IssueEvent|PageBuild|PullRequestReviewComment|PullRequestReviewRequest|ReleaseAsset|Release|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 9660c4109a0..206079f3169 100644 --- a/clients/GitHub/src/Internal/Router/Get/Six.php +++ b/clients/GitHub/src/Internal/Router/Get/Six.php @@ -69,7 +69,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable||Observable|Observable|Observable|Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|array{code:int}|Schema\CopilotSeatDetails|Observable|Observable|Observable|Observable|Observable|Schema\ProjectCollaboratorPermission|Observable|Observable|Schema\CodeownersErrors|Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|Schema\ContentDirectory|Schema\ContentFile|Schema\ContentSymlink|Schema\ContentSubmodule|Observable|Observable|Observable|Observable|Observable|Schema\Issue|Schema\BasicError|Observable|Schema\PagesHealthCheck|Schema\EmptyObject|Observable|Schema\PullRequest|Schema\Release|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|array{code:int,location:string}|Observable|Observable|Schema\TeamRepository|Observable|Observable */ + /** @return Observable||Observable|Schema\WebhookConfig|iterable|Observable|Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|array{code:int}|Schema\CopilotSeatDetails|Observable|Observable|Observable|Observable|Observable|Schema\ProjectCollaboratorPermission|Observable|Observable|Schema\CodeownersErrors|Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|Schema\ContentDirectory|Schema\ContentFile|Schema\ContentSymlink|Schema\ContentSubmodule|Observable|Schema\Hook|Observable|Observable|Observable|Observable|Schema\Issue|Schema\BasicError|Observable|Schema\PagesHealthCheck|Schema\EmptyObject|Observable|Schema\PullRequest|Schema\Release|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|array{code:int,location:string}|Observable|Observable|Schema\TeamRepository|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): iterable|ActionsCacheUsageOrgEnterprise|Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|Runner|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHub\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|Json|CopilotSeatDetails|Package|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|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|\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|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListEnvironmentSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListEnvironmentVariables\Response\ApplicationJson\Ok\Application\Json|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/Patch/Five.php b/clients/GitHub/src/Internal/Router/Patch/Five.php index d88d63d55c7..80cd5c1287e 100644 --- a/clients/GitHub/src/Internal/Router/Patch/Five.php +++ b/clients/GitHub/src/Internal/Router/Patch/Five.php @@ -20,7 +20,7 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\ProjectCard|array{code:int} */ + /** @return |Schema\OrgHook|Schema\ProjectCard|array{code:int} */ public function call(string $call, array $params, array $pathChunks): GistComment|OrgHook|TeamFull|ProjectCard|Import|TeamDiscussion|OrgMembership|array { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Patch/Orgs.php b/clients/GitHub/src/Internal/Router/Patch/Orgs.php index e124a095b2a..ed26d3b8a73 100644 --- a/clients/GitHub/src/Internal/Router/Patch/Orgs.php +++ b/clients/GitHub/src/Internal/Router/Patch/Orgs.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Router\Patch; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\OrganizationFull; use ApiClients\Client\GitHub\Schema\OrgHook; use ApiClients\Client\GitHub\Schema\OrgMembership; @@ -37,7 +38,7 @@ public function update(array $params): OrganizationFull|array return $operator->call($arguments['org'], $params); } - /** @return */ + /** @return Schema\OrgHook */ public function updateWebhook(array $params): OrgHook|array { $arguments = []; @@ -73,7 +74,7 @@ public function updateMembershipForAuthenticatedUser(array $params): OrgMembersh return $operator->call($arguments['org'], $params); } - /** @return */ + /** @return Schema\WebhookConfig */ public function updateWebhookConfigForOrg(array $params): WebhookConfig|array { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Patch/Repos.php b/clients/GitHub/src/Internal/Router/Patch/Repos.php index 7c91a7215ff..e997c5e2c15 100644 --- a/clients/GitHub/src/Internal/Router/Patch/Repos.php +++ b/clients/GitHub/src/Internal/Router/Patch/Repos.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Router\Patch; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\BasicError; use ApiClients\Client\GitHub\Schema\CommitComment; use ApiClients\Client\GitHub\Schema\FullRepository; @@ -91,7 +92,7 @@ public function updateCommitComment(array $params): CommitComment|array return $operator->call($arguments['owner'], $arguments['repo'], $arguments['comment_id'], $params); } - /** @return */ + /** @return Schema\Hook */ public function updateWebhook(array $params): Hook|array { $arguments = []; @@ -172,7 +173,7 @@ public function updateRelease(array $params): Release|array return $operator->call($arguments['owner'], $arguments['repo'], $arguments['release_id'], $params); } - /** @return */ + /** @return Schema\WebhookConfig */ public function updateWebhookConfigForRepo(array $params): WebhookConfig|array { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Patch/Seven.php b/clients/GitHub/src/Internal/Router/Patch/Seven.php index 2ee1a49f1c8..ab3fdd59e24 100644 --- a/clients/GitHub/src/Internal/Router/Patch/Seven.php +++ b/clients/GitHub/src/Internal/Router/Patch/Seven.php @@ -24,7 +24,7 @@ public function __construct(private Routers $routers) { } - /** @return |array{code:int}|Schema\SecretScanningAlert */ + /** @return |array{code:int}|Schema\WebhookConfig|Schema\SecretScanningAlert */ public function call(string $call, array $params, array $pathChunks): TeamDiscussion|CodeScanningAlert|DependabotAlert|GitRef|WebhookConfig|PorterAuthor|IssueComment|PullRequestReviewComment|ReleaseAsset|SecretScanningAlert|TeamDiscussionComment|array { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Patch/Six.php b/clients/GitHub/src/Internal/Router/Patch/Six.php index 4d74dcbe112..a1c171dfddc 100644 --- a/clients/GitHub/src/Internal/Router/Patch/Six.php +++ b/clients/GitHub/src/Internal/Router/Patch/Six.php @@ -29,7 +29,7 @@ public function __construct(private Routers $routers) { } - /** @return array{code:int}| */ + /** @return array{code:int}|Schema\WebhookConfig||Schema\Hook */ public function call(string $call, array $params, array $pathChunks): WebhookConfig|CheckRun|CheckSuitePreference|EmptyObject|CodeScanningDefaultSetupUpdateResponse|CommitComment|Hook|Import|RepositoryInvitation|Issue|BasicError|Label|Milestone|PullRequest|Release|RepositoryAdvisory|array { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Post/Actions.php b/clients/GitHub/src/Internal/Router/Post/Actions.php index 12bd35e8c79..c5cf0a53549 100644 --- a/clients/GitHub/src/Internal/Router/Post/Actions.php +++ b/clients/GitHub/src/Internal/Router/Post/Actions.php @@ -344,6 +344,33 @@ public function reviewCustomGatesForRun(array $params): array return $operator->call($arguments['owner'], $arguments['repo'], $arguments['run_id'], $params); } + /** @return Schema\EmptyObject */ + public function forceCancelWorkflowRun(array $params): EmptyObject|array + { + $arguments = []; + if (array_key_exists('owner', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: owner'); + } + + $arguments['owner'] = $params['owner']; + unset($params['owner']); + if (array_key_exists('repo', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: repo'); + } + + $arguments['repo'] = $params['repo']; + unset($params['repo']); + if (array_key_exists('run_id', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: run_id'); + } + + $arguments['run_id'] = $params['run_id']; + unset($params['run_id']); + $operator = new Internal\Operator\Actions\ForceCancelWorkflowRun($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Repos🌀Owner🌀Repo🌀Actions🌀Runs🌀RunId🌀ForceCancel()); + + return $operator->call($arguments['owner'], $arguments['repo'], $arguments['run_id']); + } + /** @return Observable */ public function reviewPendingDeploymentsForRun(array $params): iterable { diff --git a/clients/GitHub/src/Internal/Router/Post/Eight.php b/clients/GitHub/src/Internal/Router/Post/Eight.php index 1f646fe21c5..61372bc1cf1 100644 --- a/clients/GitHub/src/Internal/Router/Post/Eight.php +++ b/clients/GitHub/src/Internal/Router/Post/Eight.php @@ -20,7 +20,7 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\Codespace|array{code:int}|Observable */ + /** @return Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|Schema\Codespace|array{code:int}||Schema\EmptyObject|Observable */ public function call(string $call, array $params, array $pathChunks): Json|Codespace|TeamDiscussionComment|Reaction|EmptyObject|Ok|iterable|ProtectedBranchAdminEnforced { if ($pathChunks[0] === '') { @@ -102,6 +102,10 @@ public function call(string $call, array $params, array $pathChunks): Json|Codes if ($call === 'POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule') { return $this->routers->internal🔀Router🔀Post🔀Actions()->reviewCustomGatesForRun($params); } + } elseif ($pathChunks[7] === 'force-cancel') { + if ($call === 'POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel') { + return $this->routers->internal🔀Router🔀Post🔀Actions()->forceCancelWorkflowRun($params); + } } elseif ($pathChunks[7] === 'pending_deployments') { if ($call === 'POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments') { return $this->routers->internal🔀Router🔀Post🔀Actions()->reviewPendingDeploymentsForRun($params); diff --git a/clients/GitHub/src/Internal/Router/Post/Nine.php b/clients/GitHub/src/Internal/Router/Post/Nine.php index 6828fda5fe5..fe3a8dd6982 100644 --- a/clients/GitHub/src/Internal/Router/Post/Nine.php +++ b/clients/GitHub/src/Internal/Router/Post/Nine.php @@ -16,7 +16,7 @@ public function __construct(private Routers $routers) { } - /** @return array{code:int}|Observable|Observable|Observable|Observable| */ + /** @return array{code:int}|Observable|Observable|Observable|Observable|Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json| */ public function call(string $call, array $params, array $pathChunks): iterable|Json|PullRequestReviewComment|PullRequestReview { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Post/Orgs.php b/clients/GitHub/src/Internal/Router/Post/Orgs.php index 1763e0c6bfa..acfc0c9d806 100644 --- a/clients/GitHub/src/Internal/Router/Post/Orgs.php +++ b/clients/GitHub/src/Internal/Router/Post/Orgs.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHub\Internal\Router\Post; use ApiClients\Client\GitHub\Internal; +use ApiClients\Client\GitHub\Schema; use ApiClients\Client\GitHub\Schema\Operations\Orgs\ReviewPatGrantRequestsInBulk\Response\ApplicationJson\Accepted\Application\Json; use ApiClients\Client\GitHub\Schema\OrganizationInvitation; use ApiClients\Client\GitHub\Schema\OrgHook; @@ -171,7 +172,7 @@ public function enableOrDisableSecurityProductOnAllOrgRepos(array $params): arra return $operator->call($arguments['org'], $arguments['security_product'], $arguments['enablement'], $params); } - /** @return */ + /** @return Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json */ public function redeliverWebhookDelivery(array $params): \ApiClients\Client\GitHub\Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|array { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Post/Repos.php b/clients/GitHub/src/Internal/Router/Post/Repos.php index 64898b892a6..9d3df5ccdb1 100644 --- a/clients/GitHub/src/Internal/Router/Post/Repos.php +++ b/clients/GitHub/src/Internal/Router/Post/Repos.php @@ -856,7 +856,7 @@ public function addUserAccessRestrictions(array $params): iterable return $operator->call($arguments['owner'], $arguments['repo'], $arguments['branch'], $params); } - /** @return */ + /** @return Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json */ public function redeliverWebhookDelivery(array $params): \ApiClients\Client\GitHub\Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|array { $arguments = []; diff --git a/clients/GitHub/src/Operation/Actions.php b/clients/GitHub/src/Operation/Actions.php index 8ad92925d48..744b433094b 100644 --- a/clients/GitHub/src/Operation/Actions.php +++ b/clients/GitHub/src/Operation/Actions.php @@ -585,6 +585,12 @@ public function reviewCustomGatesForRun(string $owner, string $repo, int $runId, return $this->operators->actions👷ReviewCustomGatesForRun()->call($owner, $repo, $runId, $params); } + /** @return Schema\EmptyObject */ + public function forceCancelWorkflowRun(string $owner, string $repo, int $runId): EmptyObject|array + { + return $this->operators->actions👷ForceCancelWorkflowRun()->call($owner, $repo, $runId); + } + /** @return */ public function listJobsForWorkflowRun(string $owner, string $repo, int $runId, string $filter, int $perPage, int $page): \ApiClients\Client\GitHub\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|array { diff --git a/clients/GitHub/src/Operation/Orgs.php b/clients/GitHub/src/Operation/Orgs.php index f2452d5ea19..7a2164c064a 100644 --- a/clients/GitHub/src/Operation/Orgs.php +++ b/clients/GitHub/src/Operation/Orgs.php @@ -105,7 +105,7 @@ public function createWebhook(string $org, array $params): OrgHook|array return $this->operators->orgs👷CreateWebhook()->call($org, $params); } - /** @return */ + /** @return Schema\OrgHook */ public function getWebhook(string $org, int $hookId): OrgHook|array { return $this->operators->orgs👷GetWebhook()->call($org, $hookId); @@ -117,37 +117,37 @@ public function deleteWebhook(string $org, int $hookId): array return $this->operators->orgs👷DeleteWebhook()->call($org, $hookId); } - /** @return */ + /** @return Schema\OrgHook */ public function updateWebhook(string $org, int $hookId, array $params): OrgHook|array { return $this->operators->orgs👷UpdateWebhook()->call($org, $hookId, $params); } - /** @return */ + /** @return Schema\WebhookConfig */ public function getWebhookConfigForOrg(string $org, int $hookId): WebhookConfig|array { return $this->operators->orgs👷GetWebhookConfigForOrg()->call($org, $hookId); } - /** @return */ + /** @return Schema\WebhookConfig */ public function updateWebhookConfigForOrg(string $org, int $hookId, array $params): WebhookConfig|array { return $this->operators->orgs👷UpdateWebhookConfigForOrg()->call($org, $hookId, $params); } - /** @return Observable */ + /** @return iterable */ public function listWebhookDeliveries(string $org, int $hookId, string $cursor, bool $redelivery, int $perPage): iterable { return $this->operators->orgs👷ListWebhookDeliveries()->call($org, $hookId, $cursor, $redelivery, $perPage); } - /** @return */ + /** @return Schema\HookDelivery */ public function getWebhookDelivery(string $org, int $hookId, int $deliveryId): HookDelivery|array { return $this->operators->orgs👷GetWebhookDelivery()->call($org, $hookId, $deliveryId); } - /** @return */ + /** @return Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json */ public function redeliverWebhookDelivery(string $org, int $hookId, int $deliveryId): \ApiClients\Client\GitHub\Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|array { return $this->operators->orgs👷RedeliverWebhookDelivery()->call($org, $hookId, $deliveryId); diff --git a/clients/GitHub/src/Operation/Repos.php b/clients/GitHub/src/Operation/Repos.php index b794f38fb64..e859ec407da 100644 --- a/clients/GitHub/src/Operation/Repos.php +++ b/clients/GitHub/src/Operation/Repos.php @@ -776,7 +776,7 @@ public function createWebhook(string $owner, string $repo, array $params): Hook| return $this->operators->repos👷CreateWebhook()->call($owner, $repo, $params); } - /** @return */ + /** @return Schema\Hook */ public function getWebhook(string $owner, string $repo, int $hookId): Hook|array { return $this->operators->repos👷GetWebhook()->call($owner, $repo, $hookId); @@ -788,37 +788,37 @@ public function deleteWebhook(string $owner, string $repo, int $hookId): array return $this->operators->repos👷DeleteWebhook()->call($owner, $repo, $hookId); } - /** @return */ + /** @return Schema\Hook */ public function updateWebhook(string $owner, string $repo, int $hookId, array $params): Hook|array { return $this->operators->repos👷UpdateWebhook()->call($owner, $repo, $hookId, $params); } - /** @return */ + /** @return Schema\WebhookConfig */ public function getWebhookConfigForRepo(string $owner, string $repo, int $hookId): WebhookConfig|array { return $this->operators->repos👷GetWebhookConfigForRepo()->call($owner, $repo, $hookId); } - /** @return */ + /** @return Schema\WebhookConfig */ public function updateWebhookConfigForRepo(string $owner, string $repo, int $hookId, array $params): WebhookConfig|array { return $this->operators->repos👷UpdateWebhookConfigForRepo()->call($owner, $repo, $hookId, $params); } - /** @return Observable */ + /** @return iterable */ public function listWebhookDeliveries(string $owner, string $repo, int $hookId, string $cursor, bool $redelivery, int $perPage): iterable { return $this->operators->repos👷ListWebhookDeliveries()->call($owner, $repo, $hookId, $cursor, $redelivery, $perPage); } - /** @return */ + /** @return Schema\HookDelivery */ public function getWebhookDelivery(string $owner, string $repo, int $hookId, int $deliveryId): HookDelivery|array { return $this->operators->repos👷GetWebhookDelivery()->call($owner, $repo, $hookId, $deliveryId); } - /** @return */ + /** @return Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json */ public function redeliverWebhookDelivery(string $owner, string $repo, int $hookId, int $deliveryId): \ApiClients\Client\GitHub\Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|array { return $this->operators->repos👷RedeliverWebhookDelivery()->call($owner, $repo, $hookId, $deliveryId); diff --git a/clients/GitHub/src/Schema/Environment.php b/clients/GitHub/src/Schema/Environment.php index 808a30dc972..21ce456f91a 100644 --- a/clients/GitHub/src/Schema/Environment.php +++ b/clients/GitHub/src/Schema/Environment.php @@ -129,6 +129,13 @@ "MDQ6R2F0ZTM3NTU=" ] }, + "prevent_self_review": { + "type": "boolean", + "description": "Whether deployments to this environment can be approved by the user who created the deployment.", + "examples": [ + false + ] + }, "type": { "type": "string", "examples": [ diff --git a/clients/GitHub/src/Schema/Environment/ProtectionRules/One.php b/clients/GitHub/src/Schema/Environment/ProtectionRules/One.php index a61c21c4365..2ca24c9ef59 100644 --- a/clients/GitHub/src/Schema/Environment/ProtectionRules/One.php +++ b/clients/GitHub/src/Schema/Environment/ProtectionRules/One.php @@ -28,6 +28,13 @@ "MDQ6R2F0ZTM3NTU=" ] }, + "prevent_self_review": { + "type": "boolean", + "description": "Whether deployments to this environment can be approved by the user who created the deployment.", + "examples": [ + false + ] + }, "type": { "type": "string", "examples": [ @@ -436,6 +443,7 @@ public const SCHEMA_EXAMPLE_DATA = '{ "id": 3755, "node_id": "MDQ6R2F0ZTM3NTU=", + "prevent_self_review": false, "type": "required_reviewers", "reviewers": [ { @@ -450,10 +458,12 @@ }'; /** + * preventSelfReview: Whether deployments to this environment can be approved by the user who created the deployment. * reviewers: The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. */ public function __construct(public int $id, #[MapFrom('node_id')] - public string $nodeId, public string $type, public array|null $reviewers,) + public string $nodeId, #[MapFrom('prevent_self_review')] + public bool|null $preventSelfReview, public string $type, public array|null $reviewers,) { } } diff --git a/clients/GitHub/src/Schema/Operations/Repos/GetAllEnvironments/Response/ApplicationJson/Ok.php b/clients/GitHub/src/Schema/Operations/Repos/GetAllEnvironments/Response/ApplicationJson/Ok.php index 54ac738ca34..78f575baca7 100644 --- a/clients/GitHub/src/Schema/Operations/Repos/GetAllEnvironments/Response/ApplicationJson/Ok.php +++ b/clients/GitHub/src/Schema/Operations/Repos/GetAllEnvironments/Response/ApplicationJson/Ok.php @@ -140,6 +140,13 @@ "MDQ6R2F0ZTM3NTU=" ] }, + "prevent_self_review": { + "type": "boolean", + "description": "Whether deployments to this environment can be approved by the user who created the deployment.", + "examples": [ + false + ] + }, "type": { "type": "string", "examples": [ diff --git a/clients/GitHub/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php b/clients/GitHub/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php index 1b164499578..3d87f6b4a8d 100644 --- a/clients/GitHub/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php +++ b/clients/GitHub/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php @@ -284,7 +284,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -315,7 +315,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -331,7 +331,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -432,7 +432,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -448,7 +448,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php b/clients/GitHub/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php index c383e3e6e60..dab04aeecfc 100644 --- a/clients/GitHub/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php +++ b/clients/GitHub/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php @@ -181,7 +181,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -212,7 +212,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -228,7 +228,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -329,7 +329,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -345,7 +345,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php b/clients/GitHub/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php index bfc35d22093..99013584777 100644 --- a/clients/GitHub/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php +++ b/clients/GitHub/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php @@ -280,7 +280,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -311,7 +311,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -327,7 +327,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -428,7 +428,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -444,7 +444,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php b/clients/GitHub/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php index 502ec7ae83d..badb6e2f8d4 100644 --- a/clients/GitHub/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php +++ b/clients/GitHub/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php @@ -177,7 +177,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -208,7 +208,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -224,7 +224,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -325,7 +325,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -341,7 +341,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/RepositoryRule.php b/clients/GitHub/src/Schema/RepositoryRule.php index 3a526fe6cae..134118bd0c4 100644 --- a/clients/GitHub/src/Schema/RepositoryRule.php +++ b/clients/GitHub/src/Schema/RepositoryRule.php @@ -84,7 +84,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -115,7 +115,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -131,7 +131,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -232,7 +232,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -248,7 +248,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/RepositoryRuleDetailed.php b/clients/GitHub/src/Schema/RepositoryRuleDetailed.php index 47e298cb17a..def4994e305 100644 --- a/clients/GitHub/src/Schema/RepositoryRuleDetailed.php +++ b/clients/GitHub/src/Schema/RepositoryRuleDetailed.php @@ -164,7 +164,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "repository ruleset data for rule", @@ -221,7 +221,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "repository ruleset data for rule", @@ -263,7 +263,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "repository ruleset data for rule", @@ -416,7 +416,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "repository ruleset data for rule", @@ -458,7 +458,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "repository ruleset data for rule", diff --git a/clients/GitHub/src/Schema/RepositoryRuleNonFastForward.php b/clients/GitHub/src/Schema/RepositoryRuleNonFastForward.php index 304be80be17..62233019f1d 100644 --- a/clients/GitHub/src/Schema/RepositoryRuleNonFastForward.php +++ b/clients/GitHub/src/Schema/RepositoryRuleNonFastForward.php @@ -20,10 +20,10 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }'; public const SCHEMA_TITLE = 'non_fast_forward'; - public const SCHEMA_DESCRIPTION = 'Prevent users with push access from force pushing to branches.'; + public const SCHEMA_DESCRIPTION = 'Prevent users with push access from force pushing to refs.'; public const SCHEMA_EXAMPLE_DATA = '{ "type": "non_fast_forward" }'; diff --git a/clients/GitHub/src/Schema/RepositoryRuleRequiredDeployments.php b/clients/GitHub/src/Schema/RepositoryRuleRequiredDeployments.php index 66093c69621..69bf837e693 100644 --- a/clients/GitHub/src/Schema/RepositoryRuleRequiredDeployments.php +++ b/clients/GitHub/src/Schema/RepositoryRuleRequiredDeployments.php @@ -37,10 +37,10 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }'; public const SCHEMA_TITLE = 'required_deployments'; - public const SCHEMA_DESCRIPTION = 'Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule.'; + public const SCHEMA_DESCRIPTION = 'Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule.'; public const SCHEMA_EXAMPLE_DATA = '{ "type": "required_deployments", "parameters": { diff --git a/clients/GitHub/src/Schema/RepositoryRuleRequiredLinearHistory.php b/clients/GitHub/src/Schema/RepositoryRuleRequiredLinearHistory.php index af13395580d..e18f713d948 100644 --- a/clients/GitHub/src/Schema/RepositoryRuleRequiredLinearHistory.php +++ b/clients/GitHub/src/Schema/RepositoryRuleRequiredLinearHistory.php @@ -20,10 +20,10 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }'; public const SCHEMA_TITLE = 'required_linear_history'; - public const SCHEMA_DESCRIPTION = 'Prevent merge commits from being pushed to matching branches.'; + public const SCHEMA_DESCRIPTION = 'Prevent merge commits from being pushed to matching refs.'; public const SCHEMA_EXAMPLE_DATA = '{ "type": "required_linear_history" }'; diff --git a/clients/GitHub/src/Schema/RepositoryRuleRequiredSignatures.php b/clients/GitHub/src/Schema/RepositoryRuleRequiredSignatures.php index 1fe23723072..1a443c6e7ac 100644 --- a/clients/GitHub/src/Schema/RepositoryRuleRequiredSignatures.php +++ b/clients/GitHub/src/Schema/RepositoryRuleRequiredSignatures.php @@ -20,10 +20,10 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }'; public const SCHEMA_TITLE = 'required_signatures'; - public const SCHEMA_DESCRIPTION = 'Commits pushed to matching branches must have verified signatures.'; + public const SCHEMA_DESCRIPTION = 'Commits pushed to matching refs must have verified signatures.'; public const SCHEMA_EXAMPLE_DATA = '{ "type": "required_signatures" }'; diff --git a/clients/GitHub/src/Schema/RepositoryRuleRequiredStatusChecks.php b/clients/GitHub/src/Schema/RepositoryRuleRequiredStatusChecks.php index 3f35374d241..d4368fc4148 100644 --- a/clients/GitHub/src/Schema/RepositoryRuleRequiredStatusChecks.php +++ b/clients/GitHub/src/Schema/RepositoryRuleRequiredStatusChecks.php @@ -57,10 +57,10 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }'; public const SCHEMA_TITLE = 'required_status_checks'; - public const SCHEMA_DESCRIPTION = 'Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed.'; + public const SCHEMA_DESCRIPTION = 'Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed.'; public const SCHEMA_EXAMPLE_DATA = '{ "type": "required_status_checks", "parameters": { diff --git a/clients/GitHub/src/Schema/RepositoryRuleset.php b/clients/GitHub/src/Schema/RepositoryRuleset.php index 12c8e76dd93..81342b1b04e 100644 --- a/clients/GitHub/src/Schema/RepositoryRuleset.php +++ b/clients/GitHub/src/Schema/RepositoryRuleset.php @@ -368,7 +368,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -399,7 +399,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -415,7 +415,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -516,7 +516,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -532,7 +532,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/WebhookRepositoryRulesetCreated.php b/clients/GitHub/src/Schema/WebhookRepositoryRulesetCreated.php index 774161ca523..4019a4b9732 100644 --- a/clients/GitHub/src/Schema/WebhookRepositoryRulesetCreated.php +++ b/clients/GitHub/src/Schema/WebhookRepositoryRulesetCreated.php @@ -2065,7 +2065,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -2096,7 +2096,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -2112,7 +2112,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -2213,7 +2213,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -2229,7 +2229,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/WebhookRepositoryRulesetDeleted.php b/clients/GitHub/src/Schema/WebhookRepositoryRulesetDeleted.php index 5b57eb19bcf..6c4b25d8f63 100644 --- a/clients/GitHub/src/Schema/WebhookRepositoryRulesetDeleted.php +++ b/clients/GitHub/src/Schema/WebhookRepositoryRulesetDeleted.php @@ -2065,7 +2065,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -2096,7 +2096,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -2112,7 +2112,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -2213,7 +2213,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -2229,7 +2229,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited.php b/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited.php index 50f370e6019..f9970e51bc4 100644 --- a/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited.php +++ b/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited.php @@ -2065,7 +2065,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -2096,7 +2096,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -2112,7 +2112,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -2213,7 +2213,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -2229,7 +2229,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", @@ -2723,7 +2723,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -2754,7 +2754,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -2770,7 +2770,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -2871,7 +2871,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -2887,7 +2887,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", @@ -3208,7 +3208,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -3239,7 +3239,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -3255,7 +3255,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -3356,7 +3356,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -3372,7 +3372,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", @@ -3696,7 +3696,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -3727,7 +3727,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -3743,7 +3743,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -3844,7 +3844,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -3860,7 +3860,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes.php b/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes.php index b8e8884de47..6c365114ca8 100644 --- a/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes.php +++ b/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes.php @@ -250,7 +250,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -281,7 +281,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -297,7 +297,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -398,7 +398,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -414,7 +414,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", @@ -735,7 +735,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -766,7 +766,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -782,7 +782,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -883,7 +883,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -899,7 +899,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", @@ -1223,7 +1223,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -1254,7 +1254,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -1270,7 +1270,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -1371,7 +1371,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -1387,7 +1387,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php b/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php index 0a074ab50c9..e12302ee72c 100644 --- a/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php +++ b/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php @@ -89,7 +89,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -120,7 +120,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -136,7 +136,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -237,7 +237,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -253,7 +253,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", @@ -574,7 +574,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -605,7 +605,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -621,7 +621,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -722,7 +722,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -738,7 +738,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", @@ -1062,7 +1062,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -1093,7 +1093,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -1109,7 +1109,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -1210,7 +1210,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -1226,7 +1226,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php b/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php index d556d3a87fc..15edd3ce15d 100644 --- a/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php +++ b/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php @@ -90,7 +90,7 @@ "type": "string" } }, - "description": "Prevent merge commits from being pushed to matching branches." + "description": "Prevent merge commits from being pushed to matching refs." }, { "title": "required_deployments", @@ -121,7 +121,7 @@ } } }, - "description": "Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule." + "description": "Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule." }, { "title": "required_signatures", @@ -137,7 +137,7 @@ "type": "string" } }, - "description": "Commits pushed to matching branches must have verified signatures." + "description": "Commits pushed to matching refs must have verified signatures." }, { "title": "pull_request", @@ -238,7 +238,7 @@ } } }, - "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed." + "description": "Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed." }, { "title": "non_fast_forward", @@ -254,7 +254,7 @@ "type": "string" } }, - "description": "Prevent users with push access from force pushing to branches." + "description": "Prevent users with push access from force pushing to refs." }, { "title": "commit_message_pattern", diff --git a/clients/GitHub/tests/Internal/Operation/Actions/ForceCancelWorkflowRunTest.php b/clients/GitHub/tests/Internal/Operation/Actions/ForceCancelWorkflowRunTest.php new file mode 100644 index 00000000000..7d9e609881f --- /dev/null +++ b/clients/GitHub/tests/Internal/Operation/Actions/ForceCancelWorkflowRunTest.php @@ -0,0 +1,93 @@ + 'application/json'], json_encode(json_decode(Schema\EmptyObject::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/repos/generated/generated/actions/runs/6/force-cancel', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Actions\ForceCancelWorkflowRun::OPERATION_MATCH, (static function (array $data): array { + $data['owner'] = 'generated'; + $data['repo'] = 'generated'; + $data['run_id'] = 6; + + return $data; + })([])); + } + + /** @test */ + public function operations_httpCode_202_responseContentType_application_json_zero(): void + { + $response = new Response(202, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\EmptyObject::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/repos/generated/generated/actions/runs/6/force-cancel', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->actions()->forceCancelWorkflowRun('generated', 'generated', 6); + } + + /** @test */ + public function call_httpCode_409_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(409, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/repos/generated/generated/actions/runs/6/force-cancel', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Actions\ForceCancelWorkflowRun::OPERATION_MATCH, (static function (array $data): array { + $data['owner'] = 'generated'; + $data['repo'] = 'generated'; + $data['run_id'] = 6; + + return $data; + })([])); + } + + /** @test */ + public function operations_httpCode_409_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(409, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/repos/generated/generated/actions/runs/6/force-cancel', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->actions()->forceCancelWorkflowRun('generated', 'generated', 6); + } +} diff --git a/etc/specs/GitHub/current.spec.yaml b/etc/specs/GitHub/current.spec.yaml index 0b9ee61802c..faa8ac00909 100644 --- a/etc/specs/GitHub/current.spec.yaml +++ b/etc/specs/GitHub/current.spec.yaml @@ -14507,7 +14507,6 @@ paths: Re-run a job and its dependent jobs in a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use this endpoint. tags: - actions @@ -14707,7 +14706,6 @@ paths: Lists all organiation variables shared with a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions_variables:read` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -15032,7 +15030,6 @@ paths: Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. tags: @@ -15086,7 +15083,6 @@ paths: Lists binaries for the runner application that you can download and run. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. tags: @@ -15122,7 +15118,6 @@ paths: Generates a configuration that can be passed to the runner application at startup. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. tags: @@ -15190,17 +15185,20 @@ paths: "/repos/{owner}/{repo}/actions/runners/registration-token": post: summary: Create a registration token for a repository - description: "Returns a token that you can pass to the `config` script. The - token\nexpires after one hour.\n\nYou must authenticate using an access token - with the `repo` scope to use this endpoint.\nIf the repository is private, - you must use an access token with the `repo` scope.\nGitHub Apps must have - the `administration` permission for repositories and the `organization_self_hosted_runners` - permission for organizations.\nAuthenticated users must have admin access - to repositories or organizations, or the `manage_runners:enterprise` scope - for enterprises, to use these endpoints.\n\nExample using registration token: - \n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration - token provided\nby this endpoint.\n\n```config.sh --url https://github.com/octo-org/octo-repo-artifacts - --token TOKEN```" + description: |- + Returns a token that you can pass to the `config` script. The token + expires after one hour. + + You must authenticate using an access token with the `repo` scope to use this endpoint. + GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. + Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. + + Example using registration token: + + Configure your self-hosted runner, replacing `TOKEN` with the registration token provided + by this endpoint. + + ```config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN``` tags: - actions operationId: actions/create-registration-token-for-repo @@ -15233,7 +15231,6 @@ paths: a repository. The token expires after one hour. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. @@ -15274,7 +15271,6 @@ paths: Gets a specific self-hosted runner configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. tags: @@ -15308,7 +15304,6 @@ paths: Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. tags: @@ -15336,7 +15331,6 @@ paths: Lists all labels for a self-hosted runner configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. tags: @@ -15365,7 +15359,6 @@ paths: Add custom labels to a self-hosted runner configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. tags: @@ -15419,7 +15412,6 @@ paths: self-hosted runner configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. tags: @@ -15474,7 +15466,6 @@ paths: repository. Returns the remaining read-only labels from the runner. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. tags: @@ -15508,7 +15499,6 @@ paths: present on the runner. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. tags: @@ -15888,7 +15878,6 @@ paths: Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use this endpoint. tags: - actions @@ -15961,6 +15950,42 @@ paths: previews: [] category: actions subcategory: workflow-runs + "/repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel": + post: + summary: Force cancel a workflow run + description: |- + Cancels a workflow run and bypasses conditions that would otherwise cause a workflow execution to continue, such as an `always()` condition on a job. + You should only use this endpoint to cancel a workflow run when the workflow run is not responding to [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel`](/rest/actions/workflow-runs#cancel-a-workflow-run). + + You must authenticate using an access token with the `repo` scope to use this endpoint. + GitHub Apps must have the `actions:write` permission to use this endpoint. + tags: + - actions + operationId: actions/force-cancel-workflow-run + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/run-id" + responses: + '202': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflow-runs "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs": get: summary: List jobs for a workflow run @@ -16522,7 +16547,6 @@ paths: description: |- Lists all repository variables. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions_variables:read` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -16570,7 +16594,6 @@ paths: Creates a repository variable that you can reference in a GitHub Actions workflow. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions_variables:write` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -16625,7 +16648,6 @@ paths: Gets a specific variable in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions_variables:read` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -16659,7 +16681,6 @@ paths: Updates a repository variable that you can reference in a GitHub Actions workflow. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions_variables:write` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -16704,7 +16725,6 @@ paths: Deletes a repository variable using the variable name. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions_variables:write` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -19739,9 +19759,9 @@ paths: patch: summary: Update a check run description: |- - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - Updates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs. + + **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. tags: - checks operationId: checks/update @@ -20243,9 +20263,9 @@ paths: get: summary: List check runs in a check suite description: |- - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - Lists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth apps and authenticated users must have the `repo` scope to get check runs in a private repository. + + **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. tags: - checks operationId: checks/list-for-suite @@ -22713,9 +22733,11 @@ paths: get: summary: List check runs for a Git reference description: |- - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth apps and authenticated users must have the `repo` scope to get check runs in a private repository. + + **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + + If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint. tags: - checks operationId: checks/list-for-ref @@ -22778,9 +22800,9 @@ paths: get: summary: List check suites for a Git reference description: |- - **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth apps and authenticated users must have the `repo` scope to get check suites in a private repository. + + **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. tags: - checks operationId: checks/list-suites-for-ref @@ -22922,10 +22944,8 @@ paths: README, and CONTRIBUTING files. The `health_percentage` score is defined as a percentage of how many of - these four documents are present: README, CONTRIBUTING, LICENSE, and - CODE_OF_CONDUCT. For example, if all four documents are present, then - the `health_percentage` is `100`. If only one is present, then the - `health_percentage` is `25`. + the recommended community health files are present. For more information, see + "[About community profiles for public repositories](https://docs.github.com/communities/setting-up-your-project-for-healthy-contributions/about-community-profiles-for-public-repositories)." `content_reports_enabled` is only returned for organization-owned repositories. tags: @@ -35767,7 +35787,6 @@ paths: Lists all environment variables. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `environments:read` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -35815,7 +35834,6 @@ paths: Create an environment variable that you can reference in a GitHub Actions workflow. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `environment:write` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -35870,7 +35888,6 @@ paths: Gets a specific variable in an environment. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `environments:read` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -35904,7 +35921,6 @@ paths: Updates an environment variable that you can reference in a GitHub Actions workflow. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `environment:write` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -35949,7 +35965,6 @@ paths: Deletes an environment variable using the variable name. You must authenticate using an access token with the `repo` scope to use this endpoint. - If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `environment:write` repository permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. tags: @@ -68428,7 +68443,7 @@ components: - deletion repository-rule-required-linear-history: title: required_linear_history - description: Prevent merge commits from being pushed to matching branches. + description: Prevent merge commits from being pushed to matching refs. type: object required: - type @@ -68440,7 +68455,7 @@ components: repository-rule-required-deployments: title: required_deployments description: Choose which environments must be successfully deployed to before - branches can be merged into a branch that matches this rule. + refs can be merged into a branch that matches this rule. type: object required: - type @@ -68462,7 +68477,7 @@ components: - required_deployment_environments repository-rule-required-signatures: title: required_signatures - description: Commits pushed to matching branches must have verified signatures. + description: Commits pushed to matching refs must have verified signatures. type: object required: - type @@ -68532,8 +68547,8 @@ components: title: required_status_checks description: Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be - pushed to another branch, then merged or pushed directly to a branch that - matches this rule after status checks have passed. + pushed to another branch, then merged or pushed directly to a ref that matches + this rule after status checks have passed. type: object required: - type @@ -68560,7 +68575,7 @@ components: - strict_required_status_checks_policy repository-rule-non-fast-forward: title: non_fast_forward - description: Prevent users with push access from force pushing to branches. + description: Prevent users with push access from force pushing to refs. type: object required: - type @@ -76771,6 +76786,12 @@ components: type: string examples: - MDQ6R2F0ZTM3NTU= + prevent_self_review: + type: boolean + description: Whether deployments to this environment can be approved + by the user who created the deployment. + examples: + - false type: type: string examples: @@ -222545,6 +222566,7 @@ components: wait_timer: 30 - id: 3755 node_id: MDQ6R2F0ZTM3NTU= + prevent_self_review: false type: required_reviewers reviewers: - type: User @@ -222604,6 +222626,7 @@ components: wait_timer: 30 - id: 3755 node_id: MDQ6R2F0ZTM3NTU= + prevent_self_review: false type: required_reviewers reviewers: - type: User @@ -233619,7 +233642,8 @@ components: "$ref": "#/components/schemas/code-scanning-analysis-tool-guid" hook-id: name: hook_id - description: The unique identifier of the hook. + description: The unique identifier of the hook. You can find this value in the + `X-GitHub-Hook-ID` header of a webhook delivery. in: path required: true schema: