diff --git a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state index 7ac7a0c7619..c7a0c8c3507 100644 --- a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state +++ b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "aa7cf03b76111c81133ffd958eecbe23", + "specHash": "aa1162e8505efc555be8f6dd8c43e5bd", "generatedFiles": { "files": [ { @@ -308,7 +308,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningOrganizationAlertItems.php", - "hash": "9fb878fcdc3870c101565c89a28940e9" + "hash": "7e2dfe6802fd1ad3e788ada2e4a5debb" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/EnterpriseSecurityAnalysisSettings.php", @@ -352,7 +352,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/OrganizationSecretScanningAlert.php", - "hash": "33cdcf2c1609e93897164612445d12d3" + "hash": "530e2156b1feb81a8132219953bb097d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ActionsBillingUsage.php", @@ -952,11 +952,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertItems.php", - "hash": "23ff930d97763750a7c6b98878a1a81a" + "hash": "06381e71fc080eec8837c0f16ac3f475" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAlert.php", - "hash": "3442a484882398168decb0e5d7c49887" + "hash": "e9ef6d19db48ed200fed1524fec7e68f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertSetState.php", @@ -1432,7 +1432,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanningAlert.php", - "hash": "5d55614dd6ead0a4381b784f5313aa7a" + "hash": "11036a882cfe94d54b56769c8c2c87eb" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanningAlertResolutionComment.php", @@ -1744,11 +1744,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertClosedByUser.php", - "hash": "7b05e732b104e76f0b27c69615d8db8a" + "hash": "285d4a7c4400b11e35229a3d230b38aa" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertCreated.php", - "hash": "af37dab598509c3cdf02b3a704fc1eca" + "hash": "afd6ed1a3b6a898da3e989d0e5fd9f28" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertFixed.php", @@ -3588,7 +3588,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertClosedByUser\/Alert.php", - "hash": "3a5f56776d37230d5cf3f0e7f6322c72" + "hash": "d85abc72f47f47098ccadc935cfd52e5" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertClosedByUser\/Alert\/Rule.php", @@ -3600,7 +3600,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertCreated\/Alert.php", - "hash": "52d77e9f14382940f44feec13274cfc5" + "hash": "e52602f53228879049f9608f2c4246e3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertCreated\/Alert\/Tool.php", @@ -5880,7 +5880,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php", - "hash": "9439b94c5b329f4b59be49182c584a19" + "hash": "7337b63b40e43a7ab4fc91a22e161750" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Actions.php", @@ -5932,7 +5932,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Orgs.php", - "hash": "e30d55a00ecf3418c28e3c4f8573e21e" + "hash": "faae510999154371d5098311c2e9762c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Oidc.php", @@ -5964,7 +5964,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php", - "hash": "af1f9646b27b4d8c05e1e4bde589ccaf" + "hash": "cf030e3d54061adbb5c82811d325d8c8" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php", @@ -25972,7 +25972,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php", - "hash": "76f202baa3722a8d98d8f3b96e47ecad" + "hash": "f71875c0b108b4f111cd65d1fca82945" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php", @@ -25980,7 +25980,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php", - "hash": "a5633d6f8d98716a9fc9794089ee4627" + "hash": "d8af77ea716b21551300c74b1724336b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php", @@ -26020,7 +26020,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php", - "hash": "e395967ce8144ca7f655bb917a8526b1" + "hash": "aeaf8a8fbb276d98121d05e97a7acd1b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/AnnouncementBanners.php", @@ -26284,7 +26284,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Orgs.php", - "hash": "3474d47a17e72940bd51f34e31cd1dec" + "hash": "602ca7c19beb95ee9d85a6bd3f3bf9ef" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Packages.php", @@ -26292,7 +26292,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Repos.php", - "hash": "ef8d7e9b4a5cd7c6372a44186232ecf8" + "hash": "4764501e0be997a54b451d1711dedc71" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Activity.php", @@ -26304,7 +26304,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/EnterpriseAdmin.php", - "hash": "91cb5bda6625d6cfc25413c2bffefc10" + "hash": "b2f6277e9571206e87d1c91bb27c432f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Projects.php", @@ -26536,15 +26536,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "61cfc2ae8df58dd76851b9b0fcbd451d" + "hash": "d8f09dbc2342b125044e95e9973f6d52" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", - "hash": "5e6504f7ca1e86c9bae01a8605191601" + "hash": "ca07d7e5a86fa605d932e47f47a1b0a3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php", - "hash": "6d8342aed25b0c472d70740698d4b1ff" + "hash": "641ebfb03aea9e13f8158f704dfaa703" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Nine.php", @@ -26640,11 +26640,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php", - "hash": "e9821244fa503f6b16ab8da44962501e" + "hash": "eee4c2d95e5aed7eb4be7baa820e2cd3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php", - "hash": "95074350ba1f8bf836c35dba3928b030" + "hash": "249a14efbd3d3016346b3d66f8c9e605" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Eight.php", @@ -27840,7 +27840,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeScanning\/Alerts\/AlertNumber.php", - "hash": "337c6751c431784770293c4191a023de" + "hash": "1849cda5c13e3944a97a19b1a68379cc" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeScanning\/Alerts\/AlertNumber\/Instances.php", @@ -28424,7 +28424,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/SecretScanning\/Alerts\/AlertNumber.php", - "hash": "356e4b143f271148f77f1c51e0416c80" + "hash": "cd0c79a74423e46bf4889e0ad0c3f351" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/SecretScanning\/Alerts\/AlertNumber\/Locations.php", @@ -28912,15 +28912,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrators.php", - "hash": "36fa5a0a8e0c746d719cce78f93ac079" + "hash": "b618373a67c1b831d08ea5b2391b54f1" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php", - "hash": "6ed7cbb56acd951e625a35ff0d6b06b5" + "hash": "ee00e2d201fccc180e6d065686a8fc1c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php", - "hash": "8104a6828e36304a8f6b848a0eaa8394" + "hash": "1ec134803413b6c8f62f1dc5a15ee898" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php", @@ -28988,11 +28988,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php", - "hash": "9786b49d7151801d67a156391398d1fa" + "hash": "594247a5ff75b52f0b5ed0a8e386f7af" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php", - "hash": "0e8e3aace8e45c3fb630495772ecd317" + "hash": "fbe4dc8c4e89e0b8f483416c0b77ad1e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php", @@ -29708,11 +29708,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "d178036a4b092bb51d9e0cf6de9056f9" + "hash": "e9478f458cf8e2989ba95971657e46be" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "5ef7d6610ee97d570cf830e0bdd6d1d5" + "hash": "c7fdc33f1caa5ed1f6038aebbf6960af" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -30020,7 +30020,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/CodeScanningAlert.php", - "hash": "39488483d791cd0fad5806b0d4ddc491" + "hash": "cccad265c0559d92c659570fee0ba62b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/CommitComment.php", @@ -34908,7 +34908,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/GetEnterpriseRulesetHistory.php", - "hash": "070adedf79d26b090e30916722096795" + "hash": "d0b0c72429faaa2a3ec3f0141272dbf3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/GetEnterpriseRulesetHistoryTest.php", @@ -34920,7 +34920,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/GetEnterpriseRulesetHistoryListing.php", - "hash": "cfa4a70396e3e19e03d01d4ee592e41c" + "hash": "83d0276c914c7750a62f078a4306ff3e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/GetEnterpriseRulesetHistoryListingTest.php", @@ -34932,7 +34932,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/GetEnterpriseRulesetVersion.php", - "hash": "47c58d6abb699e7652852530e4727458" + "hash": "f007a30bd4f38115b5d61e4ebbeb3709" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/GetEnterpriseRulesetVersionTest.php", @@ -34944,7 +34944,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/GetOrgRulesetHistory.php", - "hash": "5a67b9e47402aea14e1e003a988e350a" + "hash": "5a3482c774bf3969346e6cdc4475eac6" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/GetOrgRulesetHistoryTest.php", @@ -34956,7 +34956,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/GetOrgRulesetHistoryListing.php", - "hash": "1bb06106627f4b901ac6264610f8d32a" + "hash": "6010c2c9c12a4710e341a378db6f0c91" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/GetOrgRulesetHistoryListingTest.php", @@ -34968,7 +34968,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/GetOrgRulesetVersion.php", - "hash": "dd48723b8ce3afb0eb8ebefc9175108c" + "hash": "bfd113ef567484f36b8d488ce88d39dd" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/GetOrgRulesetVersionTest.php", @@ -34980,7 +34980,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetRepoRulesetHistory.php", - "hash": "929465b120a42a2708b44ad800bdd2b4" + "hash": "22a032ec857ccf6b48d4e8732a57ad31" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetRepoRulesetHistoryTest.php", @@ -34992,7 +34992,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetRepoRulesetHistoryListing.php", - "hash": "3a12fbf11cb18407de799f7ef24994da" + "hash": "9c7125b6ec78e867ff4d8255eb1b98ba" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetRepoRulesetHistoryListingTest.php", @@ -35004,7 +35004,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetRepoRulesetVersion.php", - "hash": "06848a1768f95793f537c54263132904" + "hash": "05eaee5f4fdb1fc0d1f8bd8f19999a8a" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetRepoRulesetVersionTest.php", @@ -35053,6 +35053,10 @@ { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Rulesets\/RulesetId\/History\/VersionId.php", "hash": "af337cbb5763008f0e2089d6a882bb29" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertClosedByUser\/Alert\/DismissalApprovedBy.php", + "hash": "fc5d33769ec29362f22f3d2abc94e408" } ] }, diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/CodeScanning/Alerts/AlertNumber.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/CodeScanning/Alerts/AlertNumber.php index df61f467e1c..f8994fb0b58 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/CodeScanning/Alerts/AlertNumber.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/CodeScanning/Alerts/AlertNumber.php @@ -266,6 +266,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S $properties['mostRecentInstance'] = $value; after_mostRecentInstance: + + $value = $payload['dismissal_approved_by'] ?? null; + + if ($value === null) { + $properties['dismissalApprovedBy'] = null; + goto after_dismissalApprovedBy; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'dismissalApprovedBy'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['dismissalApprovedBy'] = $value; + + after_dismissalApprovedBy: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAlert', $exception, stack: $this->hydrationStack); } @@ -1269,6 +1289,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $mostRecentInstance = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️CodeScanningAlertInstance($mostRecentInstance); after_mostRecentInstance: $result['most_recent_instance'] = $mostRecentInstance; + $dismissalApprovedBy = $object->dismissalApprovedBy; + + if ($dismissalApprovedBy === null) { + goto after_dismissalApprovedBy; + } + + $dismissalApprovedBy = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($dismissalApprovedBy); + after_dismissalApprovedBy: $result['dismissal_approved_by'] = $dismissalApprovedBy; + return $result; } diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/SecretScanning/Alerts/AlertNumber.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/SecretScanning/Alerts/AlertNumber.php index a88240ffda3..e234bac86a0 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/SecretScanning/Alerts/AlertNumber.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/SecretScanning/Alerts/AlertNumber.php @@ -344,6 +344,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S $properties['multiRepo'] = $value; after_multiRepo: + + $value = $payload['is_base64_encoded'] ?? null; + + if ($value === null) { + $properties['isBaseSixtyFourEncoded'] = null; + goto after_isBaseSixtyFourEncoded; + } + + $properties['isBaseSixtyFourEncoded'] = $value; + + after_isBaseSixtyFourEncoded: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningAlert', $exception, stack: $this->hydrationStack); } @@ -968,6 +979,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_multiRepo: $result['multi_repo'] = $multiRepo; + $isBaseSixtyFourEncoded = $object->isBaseSixtyFourEncoded; + + if ($isBaseSixtyFourEncoded === null) { + goto after_isBaseSixtyFourEncoded; + } + + after_isBaseSixtyFourEncoded: $result['is_base64_encoded'] = $isBaseSixtyFourEncoded; + return $result; } diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/CodeScanningAlert.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/CodeScanningAlert.php index a2e5989f238..d80eef8b821 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/CodeScanningAlert.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/CodeScanningAlert.php @@ -23,6 +23,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertAppearedInBranch\Alert\Rule; use ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertAppearedInBranch\Alert\Tool; use ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\DismissalApprovedBy; use ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertCreated; use ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertFixed; use ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertReopened; @@ -88,6 +89,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\MostRecentInstance\Message' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️MostRecentInstance⚡️Message($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\Rule' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️Rule($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\Tool' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️Tool($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\DismissalApprovedBy' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️DismissalApprovedBy($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertCreated' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertCreated($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertCreated\Alert' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertCreated⚡️Alert($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertCreated\Alert\MostRecentInstance' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertCreated⚡️Alert⚡️MostRecentInstance($payload), @@ -4641,6 +4643,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S $properties['url'] = $value; after_url: + + $value = $payload['dismissal_approved_by'] ?? null; + + if ($value === null) { + $properties['dismissalApprovedBy'] = null; + goto after_dismissalApprovedBy; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'dismissalApprovedBy'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️DismissalApprovedBy($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['dismissalApprovedBy'] = $value; + + after_dismissalApprovedBy: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert', $exception, stack: $this->hydrationStack); } @@ -5316,6 +5338,267 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️DismissalApprovedBy(array $payload): DismissalApprovedBy + { + $properties = []; + $missingFields = []; + try { + $value = $payload['avatar_url'] ?? null; + + if ($value === null) { + $properties['avatarUrl'] = null; + goto after_avatarUrl; + } + + $properties['avatarUrl'] = $value; + + after_avatarUrl: + + $value = $payload['deleted'] ?? null; + + if ($value === null) { + $properties['deleted'] = null; + goto after_deleted; + } + + $properties['deleted'] = $value; + + after_deleted: + + $value = $payload['email'] ?? null; + + if ($value === null) { + $properties['email'] = null; + goto after_email; + } + + $properties['email'] = $value; + + after_email: + + $value = $payload['events_url'] ?? null; + + if ($value === null) { + $properties['eventsUrl'] = null; + goto after_eventsUrl; + } + + $properties['eventsUrl'] = $value; + + after_eventsUrl: + + $value = $payload['followers_url'] ?? null; + + if ($value === null) { + $properties['followersUrl'] = null; + goto after_followersUrl; + } + + $properties['followersUrl'] = $value; + + after_followersUrl: + + $value = $payload['following_url'] ?? null; + + if ($value === null) { + $properties['followingUrl'] = null; + goto after_followingUrl; + } + + $properties['followingUrl'] = $value; + + after_followingUrl: + + $value = $payload['gists_url'] ?? null; + + if ($value === null) { + $properties['gistsUrl'] = null; + goto after_gistsUrl; + } + + $properties['gistsUrl'] = $value; + + after_gistsUrl: + + $value = $payload['gravatar_id'] ?? null; + + if ($value === null) { + $properties['gravatarId'] = null; + goto after_gravatarId; + } + + $properties['gravatarId'] = $value; + + after_gravatarId: + + $value = $payload['html_url'] ?? null; + + if ($value === null) { + $properties['htmlUrl'] = null; + goto after_htmlUrl; + } + + $properties['htmlUrl'] = $value; + + after_htmlUrl: + + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['login'] ?? null; + + if ($value === null) { + $missingFields[] = 'login'; + goto after_login; + } + + $properties['login'] = $value; + + after_login: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $properties['name'] = null; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $properties['nodeId'] = null; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['organizations_url'] ?? null; + + if ($value === null) { + $properties['organizationsUrl'] = null; + goto after_organizationsUrl; + } + + $properties['organizationsUrl'] = $value; + + after_organizationsUrl: + + $value = $payload['received_events_url'] ?? null; + + if ($value === null) { + $properties['receivedEventsUrl'] = null; + goto after_receivedEventsUrl; + } + + $properties['receivedEventsUrl'] = $value; + + after_receivedEventsUrl: + + $value = $payload['repos_url'] ?? null; + + if ($value === null) { + $properties['reposUrl'] = null; + goto after_reposUrl; + } + + $properties['reposUrl'] = $value; + + after_reposUrl: + + $value = $payload['site_admin'] ?? null; + + if ($value === null) { + $properties['siteAdmin'] = null; + goto after_siteAdmin; + } + + $properties['siteAdmin'] = $value; + + after_siteAdmin: + + $value = $payload['starred_url'] ?? null; + + if ($value === null) { + $properties['starredUrl'] = null; + goto after_starredUrl; + } + + $properties['starredUrl'] = $value; + + after_starredUrl: + + $value = $payload['subscriptions_url'] ?? null; + + if ($value === null) { + $properties['subscriptionsUrl'] = null; + goto after_subscriptionsUrl; + } + + $properties['subscriptionsUrl'] = $value; + + after_subscriptionsUrl: + + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + $properties['type'] = $value; + + after_type: + + $value = $payload['url'] ?? null; + + if ($value === null) { + $properties['url'] = null; + goto after_url; + } + + $properties['url'] = $value; + + after_url: + + $value = $payload['user_view_type'] ?? null; + + if ($value === null) { + $properties['userViewType'] = null; + goto after_userViewType; + } + + $properties['userViewType'] = $value; + + after_userViewType: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\DismissalApprovedBy', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(DismissalApprovedBy::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new DismissalApprovedBy(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\DismissalApprovedBy', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertCreated(array $payload): WebhookCodeScanningAlertCreated { $properties = []; @@ -5684,6 +5967,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S $properties['url'] = $value; after_url: + + $value = $payload['dismissal_approved_by'] ?? null; + + if ($value === null) { + $missingFields[] = 'dismissal_approved_by'; + goto after_dismissalApprovedBy; + } + + $properties['dismissalApprovedBy'] = $value; + + after_dismissalApprovedBy: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertCreated\Alert', $exception, stack: $this->hydrationStack); } @@ -8699,6 +8993,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\MostRecentInstance\Message' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️MostRecentInstance⚡️Message($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\Rule' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️Rule($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\Tool' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️Tool($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertClosedByUser\Alert\DismissalApprovedBy' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️DismissalApprovedBy($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertCreated' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertCreated($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertCreated\Alert' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertCreated⚡️Alert($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookCodeScanningAlertCreated\Alert\MostRecentInstance' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertCreated⚡️Alert⚡️MostRecentInstance($object), @@ -11102,6 +11397,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $url = $object->url; after_url: $result['url'] = $url; + $dismissalApprovedBy = $object->dismissalApprovedBy; + + if ($dismissalApprovedBy === null) { + goto after_dismissalApprovedBy; + } + + $dismissalApprovedBy = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️DismissalApprovedBy($dismissalApprovedBy); + after_dismissalApprovedBy: $result['dismissal_approved_by'] = $dismissalApprovedBy; + return $result; } @@ -11508,6 +11812,180 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertClosedByUser⚡️Alert⚡️DismissalApprovedBy(mixed $object): mixed + { + assert($object instanceof DismissalApprovedBy); + $result = []; + + $avatarUrl = $object->avatarUrl; + + if ($avatarUrl === null) { + goto after_avatarUrl; + } + + after_avatarUrl: $result['avatar_url'] = $avatarUrl; + + $deleted = $object->deleted; + + if ($deleted === null) { + goto after_deleted; + } + + after_deleted: $result['deleted'] = $deleted; + + $email = $object->email; + + if ($email === null) { + goto after_email; + } + + after_email: $result['email'] = $email; + + $eventsUrl = $object->eventsUrl; + + if ($eventsUrl === null) { + goto after_eventsUrl; + } + + after_eventsUrl: $result['events_url'] = $eventsUrl; + + $followersUrl = $object->followersUrl; + + if ($followersUrl === null) { + goto after_followersUrl; + } + + after_followersUrl: $result['followers_url'] = $followersUrl; + + $followingUrl = $object->followingUrl; + + if ($followingUrl === null) { + goto after_followingUrl; + } + + after_followingUrl: $result['following_url'] = $followingUrl; + + $gistsUrl = $object->gistsUrl; + + if ($gistsUrl === null) { + goto after_gistsUrl; + } + + after_gistsUrl: $result['gists_url'] = $gistsUrl; + + $gravatarId = $object->gravatarId; + + if ($gravatarId === null) { + goto after_gravatarId; + } + + after_gravatarId: $result['gravatar_id'] = $gravatarId; + + $htmlUrl = $object->htmlUrl; + + if ($htmlUrl === null) { + goto after_htmlUrl; + } + + after_htmlUrl: $result['html_url'] = $htmlUrl; + + $id = $object->id; + after_id: $result['id'] = $id; + + $login = $object->login; + after_login: $result['login'] = $login; + + $name = $object->name; + + if ($name === null) { + goto after_name; + } + + after_name: $result['name'] = $name; + + $nodeId = $object->nodeId; + + if ($nodeId === null) { + goto after_nodeId; + } + + after_nodeId: $result['node_id'] = $nodeId; + + $organizationsUrl = $object->organizationsUrl; + + if ($organizationsUrl === null) { + goto after_organizationsUrl; + } + + after_organizationsUrl: $result['organizations_url'] = $organizationsUrl; + + $receivedEventsUrl = $object->receivedEventsUrl; + + if ($receivedEventsUrl === null) { + goto after_receivedEventsUrl; + } + + after_receivedEventsUrl: $result['received_events_url'] = $receivedEventsUrl; + + $reposUrl = $object->reposUrl; + + if ($reposUrl === null) { + goto after_reposUrl; + } + + after_reposUrl: $result['repos_url'] = $reposUrl; + + $siteAdmin = $object->siteAdmin; + + if ($siteAdmin === null) { + goto after_siteAdmin; + } + + after_siteAdmin: $result['site_admin'] = $siteAdmin; + + $starredUrl = $object->starredUrl; + + if ($starredUrl === null) { + goto after_starredUrl; + } + + after_starredUrl: $result['starred_url'] = $starredUrl; + + $subscriptionsUrl = $object->subscriptionsUrl; + + if ($subscriptionsUrl === null) { + goto after_subscriptionsUrl; + } + + after_subscriptionsUrl: $result['subscriptions_url'] = $subscriptionsUrl; + + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + after_type: $result['type'] = $type; + + $url = $object->url; + + if ($url === null) { + goto after_url; + } + + after_url: $result['url'] = $url; + + $userViewType = $object->userViewType; + + if ($userViewType === null) { + goto after_userViewType; + } + + after_userViewType: $result['user_view_type'] = $userViewType; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookCodeScanningAlertCreated(mixed $object): mixed { assert($object instanceof WebhookCodeScanningAlertCreated); @@ -11652,6 +12130,9 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $url = $object->url; after_url: $result['url'] = $url; + $dismissalApprovedBy = $object->dismissalApprovedBy; + after_dismissalApprovedBy: $result['dismissal_approved_by'] = $dismissalApprovedBy; + return $result; } diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrators.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrators.php index 32f141a0480..b03d6eae24f 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrators.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrators.php @@ -1175,7 +1175,7 @@ public function hydrateObject(string $className, array $payload): object '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookExemptionRequestCancelled', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\ExemptionRequest', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookExemptionRequestCompleted', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookExemptionRequestCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookExemptionRequestResponseDismissed', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\ExemptionResponse', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookExemptionRequestResponseSubmitted' => $this->getObjectMapperWebHook🪝ExemptionRequestPushRuleset()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunCompleted', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\CheckRunWithSimpleCheckSuite', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\SimpleCheckSuite', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\CheckRunWithSimpleCheckSuite\\Output', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunCompletedFormEncoded', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunCreatedFormEncoded', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunRequestedAction', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunRequestedAction\\RequestedAction', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunRequestedActionFormEncoded', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunRerequested', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunRerequestedFormEncoded' => $this->getObjectMapperWebHook🪝CheckRun()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\App', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\App\\Owner', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\App\\Permissions', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\HeadCommit', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\HeadCommit\\Author', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\HeadCommit\\Committer', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\App', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\App\\Owner', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\App\\Permissions', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\HeadCommit', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\HeadCommit\\Author', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\HeadCommit\\Committer', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\App', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\App\\Owner', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\App\\Permissions', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\HeadCommit', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\HeadCommit\\Author', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\HeadCommit\\Committer' => $this->getObjectMapperWebHook🪝CheckSuite()->hydrateObject($className, $payload), - '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\Tool' => $this->getObjectMapperWebHook🪝CodeScanningAlert()->hydrateObject($className, $payload), + '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\DismissalApprovedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\Tool' => $this->getObjectMapperWebHook🪝CodeScanningAlert()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCommitCommentCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCommitCommentCreated\\Comment', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCommitCommentCreated\\Comment\\Reactions', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCommitCommentCreated\\Comment\\User' => $this->getObjectMapperWebHook🪝CommitComment()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCreate' => $this->getObjectMapperWebHook🪝Create()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCustomPropertyCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCustomPropertyDeleted', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCustomPropertyDeleted\\Definition', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCustomPropertyUpdated' => $this->getObjectMapperWebHook🪝CustomProperty()->hydrateObject($className, $payload), @@ -1585,7 +1585,7 @@ public function serializeObjectOfType(object $object, string $className): mixed '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookExemptionRequestCancelled', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\ExemptionRequest', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookExemptionRequestCompleted', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookExemptionRequestCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookExemptionRequestResponseDismissed', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\ExemptionResponse', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookExemptionRequestResponseSubmitted' => $this->getObjectMapperWebHook🪝ExemptionRequestPushRuleset()->serializeObject($object), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunCompleted', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\CheckRunWithSimpleCheckSuite', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\SimpleCheckSuite', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\CheckRunWithSimpleCheckSuite\\Output', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunCompletedFormEncoded', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunCreatedFormEncoded', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunRequestedAction', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunRequestedAction\\RequestedAction', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunRequestedActionFormEncoded', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunRerequested', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckRunRerequestedFormEncoded' => $this->getObjectMapperWebHook🪝CheckRun()->serializeObject($object), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\App', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\App\\Owner', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\App\\Permissions', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\HeadCommit', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\HeadCommit\\Author', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteCompleted\\CheckSuite\\HeadCommit\\Committer', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\App', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\App\\Owner', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\App\\Permissions', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\HeadCommit', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\HeadCommit\\Author', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRequested\\CheckSuite\\HeadCommit\\Committer', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\App', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\App\\Owner', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\App\\Permissions', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\HeadCommit', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\HeadCommit\\Author', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCheckSuiteRerequested\\CheckSuite\\HeadCommit\\Committer' => $this->getObjectMapperWebHook🪝CheckSuite()->serializeObject($object), - '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\Tool' => $this->getObjectMapperWebHook🪝CodeScanningAlert()->serializeObject($object), + '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertAppearedInBranch\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertClosedByUser\\Alert\\DismissalApprovedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertCreated\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertFixed\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\DismissedBy', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopened\\Alert\\Tool', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance\\Location', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\MostRecentInstance\\Message', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\Rule', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCodeScanningAlertReopenedByUser\\Alert\\Tool' => $this->getObjectMapperWebHook🪝CodeScanningAlert()->serializeObject($object), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCommitCommentCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCommitCommentCreated\\Comment', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCommitCommentCreated\\Comment\\Reactions', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCommitCommentCreated\\Comment\\User' => $this->getObjectMapperWebHook🪝CommitComment()->serializeObject($object), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCreate' => $this->getObjectMapperWebHook🪝Create()->serializeObject($object), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCustomPropertyCreated', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCustomPropertyDeleted', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCustomPropertyDeleted\\Definition', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\WebhookCustomPropertyUpdated' => $this->getObjectMapperWebHook🪝CustomProperty()->serializeObject($object), diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php index 376f81cb115..8b3b2119567 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php @@ -23,7 +23,7 @@ final class ListProvisionedGroupsEnterprise { public const OPERATION_ID = 'enterprise-admin/list-provisioned-groups-enterprise'; public const OPERATION_MATCH = 'GET /scim/v2/enterprises/{enterprise}/Groups'; - /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `externalId`, `id`, and `displayName`. For example, `?filter='externalId eq "9138790-10932-109120392-12321"'`. **/ + /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `externalId`, `id`, and `displayName`. For example, `?filter=externalId eq "9138790-10932-109120392-12321"`. **/ private string $filter; /**Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. **/ private string $excludedAttributes; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php index e14c589b0bd..3b49e806e7d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php @@ -23,7 +23,7 @@ final class ListProvisionedIdentitiesEnterprise { public const OPERATION_ID = 'enterprise-admin/list-provisioned-identities-enterprise'; public const OPERATION_MATCH = 'GET /scim/v2/enterprises/{enterprise}/Users'; - /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `userName`, `externalId`, `id`, and `displayName`. For example, `?filter='externalId eq "9138790-10932-109120392-12321"'`. **/ + /**If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `userName`, `externalId`, `id`, and `displayName`. For example, `?filter=externalId eq "9138790-10932-109120392-12321"`. **/ private string $filter; /**The slug version of the enterprise name. You can also substitute this value with the enterprise id. **/ private string $enterprise; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetHistory.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetHistory.php index c0ed6873b87..c18b463ae2d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetHistory.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetHistory.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $enterprise, int $rulesetId, int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\GetEnterpriseRulesetHistory($this->responseSchemaValidator, $this->hydrator, $enterprise, $rulesetId, $perPage, $page); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetHistoryListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetHistoryListing.php index 4645179a449..af12b1a9d84 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetHistoryListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetHistoryListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $enterprise, int $rulesetId, int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\GetEnterpriseRulesetHistoryListing($this->responseSchemaValidator, $this->hydrator, $enterprise, $rulesetId, $perPage, $page); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetVersion.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetVersion.php index d3ffe21cce5..a6cc1f5781d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetVersion.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/GetEnterpriseRulesetVersion.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $enterprise, int $rulesetId, int $versionId): RulesetVersion { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\GetEnterpriseRulesetVersion($this->responseSchemaValidator, $this->hydrator, $enterprise, $rulesetId, $versionId); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php index 2bb3d5f84da..b98b60bf791 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php @@ -25,7 +25,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $filter, string $excludedAttributes, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseGroupList|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\ListProvisionedGroupsEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $excludedAttributes, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php index 9751f1925b8..c5c13e45185 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php @@ -25,7 +25,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $filter, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseUserList|WithoutBody { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\EnterpriseAdmin\ListProvisionedIdentitiesEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetHistory.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetHistory.php index bbca17f666f..76bfbff4b65 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetHistory.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetHistory.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, int $rulesetId, int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Orgs\GetOrgRulesetHistory($this->responseSchemaValidator, $this->hydrator, $org, $rulesetId, $perPage, $page); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetHistoryListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetHistoryListing.php index 10e2f7daf5d..2f463a5f9ce 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetHistoryListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetHistoryListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, int $rulesetId, int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Orgs\GetOrgRulesetHistoryListing($this->responseSchemaValidator, $this->hydrator, $org, $rulesetId, $perPage, $page); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetVersion.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetVersion.php index b61bc9230ed..d0c97d95ea4 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetVersion.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/GetOrgRulesetVersion.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $org, int $rulesetId, int $versionId): RulesetVersion { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Orgs\GetOrgRulesetVersion($this->responseSchemaValidator, $this->hydrator, $org, $rulesetId, $versionId); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetHistory.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetHistory.php index fedeacefaf8..b94412bad04 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetHistory.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetHistory.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $owner, string $repo, int $rulesetId, int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\GetRepoRulesetHistory($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $rulesetId, $perPage, $page); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetHistoryListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetHistoryListing.php index ca0c97f424e..f8d337b04d0 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetHistoryListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetHistoryListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $owner, string $repo, int $rulesetId, int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\GetRepoRulesetHistoryListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $rulesetId, $perPage, $page); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetVersion.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetVersion.php index 7cd20507361..6778c6845a2 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetVersion.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/GetRepoRulesetVersion.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, int $rulesetId, int $versionId): RulesetVersion { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\GetRepoRulesetVersion($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $rulesetId, $versionId); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php index 345fac4ab14..c9c6693397b 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php @@ -38,7 +38,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable||Observable|Observable|Observable|Observable|Observable|Observable|Schema\RulesetVersion|Observable|WithoutBody */ + /** @return Observable||Observable|Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody */ public function call(string $call, array $params, array $pathChunks): iterable|ApiInsightsSummaryStats|PackageVersion|TeamRepository|WithoutBody|OidcCustomSubRepo|Ok|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|WorkflowRunUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|WorkflowUsage|ProtectedBranchAdminEnforced|ProtectedBranchPullRequestReview|StatusCheckPolicy|BranchRestrictionPolicy|CodeScanningAutofix|CodeScanningCodeqlDatabase|CodeScanningVariantAnalysis|DeploymentStatus|DeploymentBranchPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\Response\ApplicationJson\Ok|DeploymentProtectionRule|ActionsPublicKey|ActionsSecret|ActionsVariable|HookDelivery|PullRequestReview|RulesetVersion { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php index f49680cfdbe..9363d02246b 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/EnterpriseAdmin.php @@ -484,7 +484,7 @@ public function getEnterpriseCustomProperty(array $params): CustomProperty return $operator->call($arguments['enterprise'], $arguments['custom_property_name']); } - /** @return iterable */ + /** @return Observable */ public function getEnterpriseRulesetHistory(array $params): iterable { $arguments = []; @@ -517,7 +517,6 @@ public function getEnterpriseRulesetHistory(array $params): iterable return $operator->call($arguments['enterprise'], $arguments['ruleset_id'], $arguments['per_page'], $arguments['page']); } - /** @return */ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGroupList|WithoutBody { $arguments = []; @@ -556,7 +555,6 @@ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGr return $operator->call($arguments['filter'], $arguments['excludedAttributes'], $arguments['enterprise'], $arguments['startIndex'], $arguments['count']); } - /** @return */ public function listProvisionedIdentitiesEnterprise(array $params): ScimEnterpriseUserList|WithoutBody { $arguments = []; @@ -676,6 +674,7 @@ public function listLabelsForSelfHostedRunnerForEnterprise(array $params): \ApiC return $operator->call($arguments['enterprise'], $arguments['runner_id']); } + /** @return */ public function getEnterpriseRulesetVersion(array $params): RulesetVersion { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Orgs.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Orgs.php index d9f847e5437..3b85fbe9245 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Orgs.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Orgs.php @@ -1282,7 +1282,7 @@ public function getCustomProperty(array $params): CustomProperty return $operator->call($arguments['org'], $arguments['custom_property_name']); } - /** @return iterable */ + /** @return Observable */ public function getOrgRulesetHistory(array $params): iterable { $arguments = []; @@ -1342,6 +1342,7 @@ public function getWebhookDelivery(array $params): HookDelivery return $operator->call($arguments['org'], $arguments['hook_id'], $arguments['delivery_id']); } + /** @return */ public function getOrgRulesetVersion(array $params): RulesetVersion { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Repos.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Repos.php index 2037eb663ed..b499b972d0c 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Repos.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Repos.php @@ -2909,7 +2909,7 @@ public function getRepoRuleSuite(array $params): RuleSuite return $operator->call($arguments['owner'], $arguments['repo'], $arguments['rule_suite_id']); } - /** @return iterable */ + /** @return Observable */ public function getRepoRulesetHistory(array $params): iterable { $arguments = []; @@ -3296,6 +3296,7 @@ public function getWebhookDelivery(array $params): HookDelivery return $operator->call($arguments['owner'], $arguments['repo'], $arguments['hook_id'], $arguments['delivery_id']); } + /** @return */ public function getRepoRulesetVersion(array $params): RulesetVersion { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php index bf2b7270aee..5a3ed5f892e 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Seven.php @@ -69,7 +69,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Schema\RulesetVersion|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\ConvertedNoteToIssueIssueEvent|Schema\TimelineCommentEvent|Schema\TimelineCrossReferencedEvent|Schema\TimelineCommittedEvent|Schema\TimelineReviewedEvent|Schema\TimelineLineCommentedEvent|Schema\TimelineCommitCommentedEvent|Schema\TimelineAssignedIssueEvent|Schema\TimelineUnassignedIssueEvent|Schema\StateChangeIssueEvent>|Observable|Observable|Observable|Observable|Observable|Observable|iterable|Observable|Observable */ + /** @return |Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\ConvertedNoteToIssueIssueEvent|Schema\TimelineCommentEvent|Schema\TimelineCrossReferencedEvent|Schema\TimelineCommittedEvent|Schema\TimelineReviewedEvent|Schema\TimelineLineCommentedEvent|Schema\TimelineCommitCommentedEvent|Schema\TimelineAssignedIssueEvent|Schema\TimelineUnassignedIssueEvent|Schema\StateChangeIssueEvent>|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): Ok|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListOrgAccessToSelfHostedRunnerGroupInEnterprise\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnersInGroupForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListLabelsForSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok|iterable|RulesetVersion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersGithubOwnedImagesForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPartnerImagesForOrg\Response\ApplicationJson\Ok\Application\Json|OidcCustomSub|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListGithubHostedRunnersInGroupForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoAccessToSelfHostedRunnerGroupInOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersInGroupForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|HookDelivery|TeamDiscussion|TeamMembership|TeamProject|GroupMapping|Artifact|ActionsCacheUsageByRepository|Job|ActionsWorkflowAccessToRepository|SelectedActions|ActionsGetDefaultWorkflowPermissions|Runner|WorkflowRun|ActionsPublicKey|ActionsSecret|ActionsVariable|Workflow|BranchProtection|PushRuleBypassRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|CodeScanningAlert|CodeScanningAnalysis|CodeScanningSarifsStatus|CodespacesPublicKey|RepoCodespacesSecret|RepositoryCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|CombinedCommitStatus|BasicError|DependabotAlert|DependabotPublicKey|DependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListEnvironmentSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListEnvironmentVariables\Response\ApplicationJson\Ok\Application\Json|Blob|GitCommit|GitRef|GitTag|GitTree|WebhookConfig|IssueComment|IssueEvent|PageBuild|PagesDeploymentStatus|PullRequestReviewComment|PullRequestReviewRequest|ReleaseAsset|Release|RuleSuite|SecretScanningAlert|GroupResponse|UserResponse|ScimUser|TeamDiscussionComment|PackageVersion { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php index 7b01cfc163d..a2bc43ce23e 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php @@ -90,7 +90,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|iterable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\ScimEnterpriseGroupList|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Schema\ScimEnterpriseUserList|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): ActionsCacheUsageOrgEnterprise|ActionsHostedRunnerLimits|Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForEnterprise\Response\ApplicationJson\Ok|ActionsHostedRunner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelectedOrganizationsEnabledGithubActionsEnterprise\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|RunnerGroupsEnterprise|iterable|Runner|GetAuditLogStreamConfig|CodeSecurityConfiguration|WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeatsForEnterprise\Response\ApplicationJson\Ok|CustomProperty|ActionsBillingUsage|AdvancedSecurityActiveCommitters|GetAllCostCenters|PackagesBillingUsage|CombinedBillingUsage|BillingUsageReport|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|RunnerGroupsOrg|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|ApiInsightsSummaryStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|CopilotSeatDetails|Package|RuleSuite|NetworkConfiguration|NetworkSettings|ExternalGroups|ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\PreFlightWithRepoForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|CommitComment|Commit|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|PagesHealthCheck|EmptyObject|PullRequest|Release|RepositoryRuleset|SecretScanningScanHistory|RepositoryAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|CloneTraffic|ViewTraffic|ScimEnterpriseGroupList|ScimEnterpriseUserList|ScimUserList|TeamRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceExportDetails { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/EnterpriseAdmin.php index 7d335bb4ebc..c3c1274b37f 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/EnterpriseAdmin.php @@ -146,7 +146,7 @@ public function listPushBypassRequestsListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function getEnterpriseRulesetHistoryListing(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Orgs.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Orgs.php index 7210fde16e9..13b0b6b5df1 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Orgs.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Orgs.php @@ -861,7 +861,7 @@ public function listPatGrantRepositoriesListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function getOrgRulesetHistoryListing(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Repos.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Repos.php index 7644ea88ba9..eea2c10473d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Repos.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Repos.php @@ -1405,7 +1405,7 @@ public function getBranchRulesListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function getRepoRulesetHistoryListing(array $params): iterable { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php index 32cd1f2d031..40aabee0a44 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Seven.php @@ -14,7 +14,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Schema\ConvertedNoteToIssueIssueEvent|Schema\TimelineCommentEvent|Schema\TimelineCrossReferencedEvent|Schema\TimelineCommittedEvent|Schema\TimelineReviewedEvent|Schema\TimelineLineCommentedEvent|Schema\TimelineCommitCommentedEvent|Schema\TimelineAssignedIssueEvent|Schema\TimelineUnassignedIssueEvent|Schema\StateChangeIssueEvent>|Observable|Observable|Observable|Observable|Observable|Observable|iterable */ + /** @return Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Schema\ConvertedNoteToIssueIssueEvent|Schema\TimelineCommentEvent|Schema\TimelineCrossReferencedEvent|Schema\TimelineCommittedEvent|Schema\TimelineReviewedEvent|Schema\TimelineLineCommentedEvent|Schema\TimelineCommitCommentedEvent|Schema\TimelineAssignedIssueEvent|Schema\TimelineUnassignedIssueEvent|Schema\StateChangeIssueEvent>|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): iterable|BasicError { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php index 7adf0ceb38c..385af30987b 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Six.php @@ -15,7 +15,7 @@ public function __construct(private Routers $routers) { } - /** @return iterable|Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): iterable|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php b/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php index 62237fbf95e..cf7964570c6 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/EnterpriseAdmin.php @@ -329,24 +329,24 @@ public function removeEnterpriseCustomProperty(string $enterprise, string $custo return $this->operators->enterpriseAdmin👷RemoveEnterpriseCustomProperty()->call($enterprise, $customPropertyName); } - /** @return iterable */ + /** @return Observable */ public function getEnterpriseRulesetHistory(string $enterprise, int $rulesetId, int $perPage, int $page): iterable { return $this->operators->enterpriseAdmin👷GetEnterpriseRulesetHistory()->call($enterprise, $rulesetId, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function getEnterpriseRulesetHistoryListing(string $enterprise, int $rulesetId, int $perPage, int $page): iterable { return $this->operators->enterpriseAdmin👷GetEnterpriseRulesetHistoryListing()->call($enterprise, $rulesetId, $perPage, $page); } + /** @return */ public function getEnterpriseRulesetVersion(string $enterprise, int $rulesetId, int $versionId): RulesetVersion { return $this->operators->enterpriseAdmin👷GetEnterpriseRulesetVersion()->call($enterprise, $rulesetId, $versionId); } - /** @return */ public function listProvisionedGroupsEnterprise(string $filter, string $excludedAttributes, string $enterprise, int $startIndex, int $count): ScimEnterpriseGroupList|WithoutBody { return $this->operators->enterpriseAdmin👷ListProvisionedGroupsEnterprise()->call($filter, $excludedAttributes, $enterprise, $startIndex, $count); @@ -382,7 +382,6 @@ public function updateAttributeForEnterpriseGroup(string $scimGroupId, string $e return $this->operators->enterpriseAdmin👷UpdateAttributeForEnterpriseGroup()->call($scimGroupId, $enterprise, $params); } - /** @return */ public function listProvisionedIdentitiesEnterprise(string $filter, string $enterprise, int $startIndex, int $count): ScimEnterpriseUserList|WithoutBody { return $this->operators->enterpriseAdmin👷ListProvisionedIdentitiesEnterprise()->call($filter, $enterprise, $startIndex, $count); diff --git a/clients/GitHubEnterpriseCloud/src/Operation/Orgs.php b/clients/GitHubEnterpriseCloud/src/Operation/Orgs.php index 8f2bca8cd42..36f68727934 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/Orgs.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/Orgs.php @@ -632,18 +632,19 @@ public function listRepoFineGrainedPermissions(string $org): iterable return $this->operators->orgs👷ListRepoFineGrainedPermissions()->call($org); } - /** @return iterable */ + /** @return Observable */ public function getOrgRulesetHistory(string $org, int $rulesetId, int $perPage, int $page): iterable { return $this->operators->orgs👷GetOrgRulesetHistory()->call($org, $rulesetId, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function getOrgRulesetHistoryListing(string $org, int $rulesetId, int $perPage, int $page): iterable { return $this->operators->orgs👷GetOrgRulesetHistoryListing()->call($org, $rulesetId, $perPage, $page); } + /** @return */ public function getOrgRulesetVersion(string $org, int $rulesetId, int $versionId): RulesetVersion { return $this->operators->orgs👷GetOrgRulesetVersion()->call($org, $rulesetId, $versionId); diff --git a/clients/GitHubEnterpriseCloud/src/Operation/Repos.php b/clients/GitHubEnterpriseCloud/src/Operation/Repos.php index a48a6ca8785..b2703aa3653 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/Repos.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/Repos.php @@ -1273,18 +1273,19 @@ public function deleteRepoRuleset(string $owner, string $repo, int $rulesetId): return $this->operators->repos👷DeleteRepoRuleset()->call($owner, $repo, $rulesetId); } - /** @return iterable */ + /** @return Observable */ public function getRepoRulesetHistory(string $owner, string $repo, int $rulesetId, int $perPage, int $page): iterable { return $this->operators->repos👷GetRepoRulesetHistory()->call($owner, $repo, $rulesetId, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function getRepoRulesetHistoryListing(string $owner, string $repo, int $rulesetId, int $perPage, int $page): iterable { return $this->operators->repos👷GetRepoRulesetHistoryListing()->call($owner, $repo, $rulesetId, $perPage, $page); } + /** @return */ public function getRepoRulesetVersion(string $owner, string $repo, int $rulesetId, int $versionId): RulesetVersion { return $this->operators->repos👷GetRepoRulesetVersion()->call($owner, $repo, $rulesetId, $versionId); diff --git a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php index df43e0c1613..b9c89771b11 100644 --- a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php @@ -580,15 +580,15 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /enterprises/{enterprise}/rulesets/{ruleset_id}/history') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}') { - return $this->typeResolver->resolve('Schema\\RulesetVersion'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /enterprises/{enterprise}/secret-scanning/alerts') { @@ -2040,15 +2040,15 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/rulesets/{ruleset_id}/history') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /orgs/{org}/rulesets/{ruleset_id}/history') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}') { - return $this->typeResolver->resolve('Schema\\RulesetVersion'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /orgs/{org}/secret-scanning/alerts') { @@ -4320,15 +4320,15 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /repos/{owner}/{repo}/rulesets/{ruleset_id}/history') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}') { - return $this->typeResolver->resolve('Schema\\RulesetVersion'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /repos/{owner}/{repo}/secret-scanning/alerts') { @@ -4532,7 +4532,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /scim/v2/enterprises/{enterprise}/Groups') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'POST /scim/v2/enterprises/{enterprise}/Groups') { @@ -4556,7 +4556,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /scim/v2/enterprises/{enterprise}/Users') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'POST /scim/v2/enterprises/{enterprise}/Users') { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningAlert.php b/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningAlert.php index 1b5d728b8f3..5a696286714 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningAlert.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningAlert.php @@ -473,6 +473,181 @@ "description": "Classifications that have been applied to the file that triggered the alert.\\nFor example identifying it as documentation, or a generated file." } } + }, + "dismissal_approved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/github.com\\/images\\/error\\/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/github.com\\/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/following{\\/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/gists{\\/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/starred{\\/owner}{\\/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/events{\\/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\\"2020-07-09T00:17:55Z\\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "description": "A GitHub user." + } + ] } } }'; @@ -552,6 +727,30 @@ "generated", "generated" ] + }, + "dismissal_approved_by": { + "name": "generated", + "email": "generated", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https:\\/\\/github.com\\/images\\/error\\/octocat_happy.gif", + "gravatar_id": "41d064eb2195891e12d0413f63227ea7", + "url": "https:\\/\\/api.github.com\\/users\\/octocat", + "html_url": "https:\\/\\/github.com\\/octocat", + "followers_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/followers", + "following_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/following{\\/other_user}", + "gists_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/gists{\\/gist_id}", + "starred_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/starred{\\/owner}{\\/repo}", + "subscriptions_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/subscriptions", + "organizations_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/orgs", + "repos_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/repos", + "events_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/events{\\/privacy}", + "received_events_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\\"2020-07-09T00:17:55Z\\"", + "user_view_type": "public" } }'; @@ -578,7 +777,8 @@ public function __construct(public int $number, #[MapFrom('created_at')] public string|null $dismissedAt, #[MapFrom('dismissed_reason')] public string|null $dismissedReason, #[MapFrom('dismissed_comment')] public string|null $dismissedComment, public Schema\CodeScanningAlertRule $rule, public Schema\CodeScanningAnalysisTool $tool, #[MapFrom('most_recent_instance')] - public Schema\CodeScanningAlertInstance $mostRecentInstance,) + public Schema\CodeScanningAlertInstance $mostRecentInstance, #[MapFrom('dismissal_approved_by')] + public Schema\SimpleUser|null $dismissalApprovedBy,) { } } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningAlertItems.php b/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningAlertItems.php index 426f4395b0c..3503d6ded40 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningAlertItems.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningAlertItems.php @@ -473,6 +473,181 @@ "description": "Classifications that have been applied to the file that triggered the alert.\\nFor example identifying it as documentation, or a generated file." } } + }, + "dismissal_approved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/github.com\\/images\\/error\\/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/github.com\\/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/following{\\/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/gists{\\/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/starred{\\/owner}{\\/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/events{\\/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\\"2020-07-09T00:17:55Z\\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "description": "A GitHub user." + } + ] } } }'; @@ -552,6 +727,30 @@ "generated", "generated" ] + }, + "dismissal_approved_by": { + "name": "generated", + "email": "generated", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https:\\/\\/github.com\\/images\\/error\\/octocat_happy.gif", + "gravatar_id": "41d064eb2195891e12d0413f63227ea7", + "url": "https:\\/\\/api.github.com\\/users\\/octocat", + "html_url": "https:\\/\\/github.com\\/octocat", + "followers_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/followers", + "following_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/following{\\/other_user}", + "gists_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/gists{\\/gist_id}", + "starred_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/starred{\\/owner}{\\/repo}", + "subscriptions_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/subscriptions", + "organizations_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/orgs", + "repos_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/repos", + "events_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/events{\\/privacy}", + "received_events_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\\"2020-07-09T00:17:55Z\\"", + "user_view_type": "public" } }'; @@ -578,7 +777,8 @@ public function __construct(public int $number, #[MapFrom('created_at')] public string|null $dismissedAt, #[MapFrom('dismissed_reason')] public string|null $dismissedReason, #[MapFrom('dismissed_comment')] public string|null $dismissedComment, public Schema\CodeScanningAlertRuleSummary $rule, public Schema\CodeScanningAnalysisTool $tool, #[MapFrom('most_recent_instance')] - public Schema\CodeScanningAlertInstance $mostRecentInstance,) + public Schema\CodeScanningAlertInstance $mostRecentInstance, #[MapFrom('dismissal_approved_by')] + public Schema\SimpleUser|null $dismissalApprovedBy,) { } } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningOrganizationAlertItems.php b/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningOrganizationAlertItems.php index 6b102c4af5c..7bf0d2c1d61 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningOrganizationAlertItems.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CodeScanningOrganizationAlertItems.php @@ -1025,6 +1025,181 @@ } }, "description": "A GitHub repository." + }, + "dismissal_approved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/github.com\\/images\\/error\\/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/github.com\\/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/following{\\/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/gists{\\/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/starred{\\/owner}{\\/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/events{\\/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https:\\/\\/api.github.com\\/users\\/octocat\\/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\\"2020-07-09T00:17:55Z\\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "description": "A GitHub user." + } + ] } } }'; @@ -1175,6 +1350,30 @@ "teams_url": "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/teams", "trees_url": "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/git\\/trees{\\/sha}", "hooks_url": "https:\\/\\/api.github.com\\/repos\\/octocat\\/Hello-World\\/hooks" + }, + "dismissal_approved_by": { + "name": "generated", + "email": "generated", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https:\\/\\/github.com\\/images\\/error\\/octocat_happy.gif", + "gravatar_id": "41d064eb2195891e12d0413f63227ea7", + "url": "https:\\/\\/api.github.com\\/users\\/octocat", + "html_url": "https:\\/\\/github.com\\/octocat", + "followers_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/followers", + "following_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/following{\\/other_user}", + "gists_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/gists{\\/gist_id}", + "starred_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/starred{\\/owner}{\\/repo}", + "subscriptions_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/subscriptions", + "organizations_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/orgs", + "repos_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/repos", + "events_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/events{\\/privacy}", + "received_events_url": "https:\\/\\/api.github.com\\/users\\/octocat\\/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\\"2020-07-09T00:17:55Z\\"", + "user_view_type": "public" } }'; @@ -1202,7 +1401,8 @@ public function __construct(public int $number, #[MapFrom('created_at')] public string|null $dismissedAt, #[MapFrom('dismissed_reason')] public string|null $dismissedReason, #[MapFrom('dismissed_comment')] public string|null $dismissedComment, public Schema\CodeScanningAlertRuleSummary $rule, public Schema\CodeScanningAnalysisTool $tool, #[MapFrom('most_recent_instance')] - public Schema\CodeScanningAlertInstance $mostRecentInstance, public Schema\SimpleRepository $repository,) + public Schema\CodeScanningAlertInstance $mostRecentInstance, public Schema\SimpleRepository $repository, #[MapFrom('dismissal_approved_by')] + public Schema\SimpleUser|null $dismissalApprovedBy,) { } } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/OrganizationSecretScanningAlert.php b/clients/GitHubEnterpriseCloud/src/Schema/OrganizationSecretScanningAlert.php index d75879ca3e4..3bec1b55d07 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/OrganizationSecretScanningAlert.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/OrganizationSecretScanningAlert.php @@ -1237,6 +1237,13 @@ "null" ], "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "null" + ], + "description": "A boolean value representing whether or not alert is base64 encoded" } } }'; @@ -1406,7 +1413,8 @@ "resolution_comment": "generated", "validity": "unknown", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false }'; /** @@ -1432,6 +1440,7 @@ * validity: The token status as of the latest validity check. * publiclyLeaked: Whether the secret was publicly leaked. * multiRepo: Whether the detected secret was found in multiple repositories in the same organization or enterprise. + * isBaseSixtyFourEncoded: A boolean value representing whether or not alert is base64 encoded */ public function __construct(public int|null $number, #[MapFrom('created_at')] public string|null $createdAt, #[MapFrom('updated_at')] @@ -1451,7 +1460,8 @@ public function __construct(public int|null $number, #[MapFrom('created_at')] public string|null $pushProtectionBypassRequestHtmlUrl, #[MapFrom('resolution_comment')] public string|null $resolutionComment, public string|null $validity, #[MapFrom('publicly_leaked')] public bool|null $publiclyLeaked, #[MapFrom('multi_repo')] - public bool|null $multiRepo,) + public bool|null $multiRepo, #[MapFrom('is_base64_encoded')] + public bool|null $isBaseSixtyFourEncoded,) { } } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/SecretScanningAlert.php b/clients/GitHubEnterpriseCloud/src/Schema/SecretScanningAlert.php index 92dd46cb2b3..e825a2ba0ab 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/SecretScanningAlert.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/SecretScanningAlert.php @@ -686,6 +686,13 @@ "null" ], "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "null" + ], + "description": "A boolean value representing whether or not alert is base64 encoded" } } }'; @@ -784,7 +791,8 @@ "push_protection_bypass_request_html_url": "https:\\/\\/example.com\\/", "validity": "unknown", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false }'; /** @@ -809,6 +817,7 @@ * validity: The token status as of the latest validity check. * publiclyLeaked: Whether the detected secret was publicly leaked. * multiRepo: Whether the detected secret was found in multiple repositories under the same organization or enterprise. + * isBaseSixtyFourEncoded: A boolean value representing whether or not alert is base64 encoded */ public function __construct(public int|null $number, #[MapFrom('created_at')] public string|null $createdAt, #[MapFrom('updated_at')] @@ -828,7 +837,8 @@ public function __construct(public int|null $number, #[MapFrom('created_at')] public string|null $pushProtectionBypassRequestComment, #[MapFrom('push_protection_bypass_request_html_url')] public string|null $pushProtectionBypassRequestHtmlUrl, public string|null $validity, #[MapFrom('publicly_leaked')] public bool|null $publiclyLeaked, #[MapFrom('multi_repo')] - public bool|null $multiRepo,) + public bool|null $multiRepo, #[MapFrom('is_base64_encoded')] + public bool|null $isBaseSixtyFourEncoded,) { } } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser.php b/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser.php index 6a4a8361227..92f5b6468de 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser.php @@ -361,6 +361,105 @@ "url": { "type": "string", "format": "uri" + }, + "dismissal_approved_by": { + "title": "User", + "required": [ + "login", + "id" + ], + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } } }, "description": "The code scanning alert involved in the event." @@ -2320,7 +2419,31 @@ "name": "generated", "version": "generated" }, - "url": "https:\\/\\/example.com\\/" + "url": "https:\\/\\/example.com\\/", + "dismissal_approved_by": { + "avatar_url": "https:\\/\\/example.com\\/", + "deleted": false, + "email": "generated", + "events_url": "generated", + "followers_url": "https:\\/\\/example.com\\/", + "following_url": "generated", + "gists_url": "generated", + "gravatar_id": "generated", + "html_url": "https:\\/\\/example.com\\/", + "id": 2, + "login": "generated", + "name": "generated", + "node_id": "generated", + "organizations_url": "https:\\/\\/example.com\\/", + "received_events_url": "https:\\/\\/example.com\\/", + "repos_url": "https:\\/\\/example.com\\/", + "site_admin": false, + "starred_url": "generated", + "subscriptions_url": "https:\\/\\/example.com\\/", + "type": "Organization", + "url": "https:\\/\\/example.com\\/", + "user_view_type": "generated" + } }, "commit_oid": "generated", "enterprise": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser/Alert.php b/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser/Alert.php index aa4321b0066..25d01e1b287 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser/Alert.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser/Alert.php @@ -343,6 +343,105 @@ "url": { "type": "string", "format": "uri" + }, + "dismissal_approved_by": { + "title": "User", + "required": [ + "login", + "id" + ], + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } } }, "description": "The code scanning alert involved in the event." @@ -419,7 +518,31 @@ "name": "generated", "version": "generated" }, - "url": "https:\\/\\/example.com\\/" + "url": "https:\\/\\/example.com\\/", + "dismissal_approved_by": { + "avatar_url": "https:\\/\\/example.com\\/", + "deleted": false, + "email": "generated", + "events_url": "generated", + "followers_url": "https:\\/\\/example.com\\/", + "following_url": "generated", + "gists_url": "generated", + "gravatar_id": "generated", + "html_url": "https:\\/\\/example.com\\/", + "id": 2, + "login": "generated", + "name": "generated", + "node_id": "generated", + "organizations_url": "https:\\/\\/example.com\\/", + "received_events_url": "https:\\/\\/example.com\\/", + "repos_url": "https:\\/\\/example.com\\/", + "site_admin": false, + "starred_url": "generated", + "subscriptions_url": "https:\\/\\/example.com\\/", + "type": "Organization", + "url": "https:\\/\\/example.com\\/", + "user_view_type": "generated" + } }'; /** @@ -440,7 +563,8 @@ public function __construct(#[MapFrom('created_at')] public string|null $dismissedReason, #[MapFrom('fixed_at')] public string $fixedAt, #[MapFrom('html_url')] public string $htmlUrl, #[MapFrom('most_recent_instance')] - public Schema\WebhookCodeScanningAlertClosedByUser\Alert\MostRecentInstance|null $mostRecentInstance, public int $number, public Schema\WebhookCodeScanningAlertClosedByUser\Alert\Rule $rule, public string $state, public Schema\WebhookCodeScanningAlertClosedByUser\Alert\Tool $tool, public string $url,) + public Schema\WebhookCodeScanningAlertClosedByUser\Alert\MostRecentInstance|null $mostRecentInstance, public int $number, public Schema\WebhookCodeScanningAlertClosedByUser\Alert\Rule $rule, public string $state, public Schema\WebhookCodeScanningAlertClosedByUser\Alert\Tool $tool, public string $url, #[MapFrom('dismissal_approved_by')] + public Schema\WebhookCodeScanningAlertClosedByUser\Alert\DismissalApprovedBy|null $dismissalApprovedBy,) { } } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser/Alert/DismissalApprovedBy.php b/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser/Alert/DismissalApprovedBy.php new file mode 100644 index 00000000000..2888e9e46ee --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Schema/WebhookCodeScanningAlertClosedByUser/Alert/DismissalApprovedBy.php @@ -0,0 +1,11 @@ +call('GET /enterprises/{enterprise}/rulesets/{ruleset_id}')); assertType('', $client->call('PUT /enterprises/{enterprise}/rulesets/{ruleset_id}')); assertType('', $client->call('DELETE /enterprises/{enterprise}/rulesets/{ruleset_id}')); -assertType('iterable', $client->call('GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history')); -assertType('iterable', $client->call('LIST /enterprises/{enterprise}/rulesets/{ruleset_id}/history')); -assertType('Schema\\RulesetVersion', $client->call('GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}')); +assertType('Observable', $client->call('GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history')); +assertType('Observable', $client->call('LIST /enterprises/{enterprise}/rulesets/{ruleset_id}/history')); +assertType('', $client->call('GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}')); assertType('Observable', $client->call('GET /enterprises/{enterprise}/secret-scanning/alerts')); assertType('', $client->call('GET /enterprises/{enterprise}/settings/billing/actions')); assertType('', $client->call('GET /enterprises/{enterprise}/settings/billing/advanced-security')); @@ -516,9 +516,9 @@ function authHeader(): string assertType('', $client->call('GET /orgs/{org}/rulesets/{ruleset_id}')); assertType('', $client->call('PUT /orgs/{org}/rulesets/{ruleset_id}')); assertType('', $client->call('DELETE /orgs/{org}/rulesets/{ruleset_id}')); -assertType('iterable', $client->call('GET /orgs/{org}/rulesets/{ruleset_id}/history')); -assertType('iterable', $client->call('LIST /orgs/{org}/rulesets/{ruleset_id}/history')); -assertType('Schema\\RulesetVersion', $client->call('GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}')); +assertType('Observable', $client->call('GET /orgs/{org}/rulesets/{ruleset_id}/history')); +assertType('Observable', $client->call('LIST /orgs/{org}/rulesets/{ruleset_id}/history')); +assertType('', $client->call('GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}')); assertType('Observable', $client->call('GET /orgs/{org}/secret-scanning/alerts')); assertType('Observable', $client->call('LIST /orgs/{org}/secret-scanning/alerts')); assertType('Observable', $client->call('GET /orgs/{org}/security-advisories')); @@ -1086,9 +1086,9 @@ function authHeader(): string assertType('', $client->call('GET /repos/{owner}/{repo}/rulesets/{ruleset_id}')); assertType('', $client->call('PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}')); assertType('', $client->call('DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}')); -assertType('iterable', $client->call('GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history')); -assertType('iterable', $client->call('LIST /repos/{owner}/{repo}/rulesets/{ruleset_id}/history')); -assertType('Schema\\RulesetVersion', $client->call('GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}')); +assertType('Observable', $client->call('GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history')); +assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/rulesets/{ruleset_id}/history')); +assertType('', $client->call('GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}')); assertType('Observable|WithoutBody', $client->call('GET /repos/{owner}/{repo}/secret-scanning/alerts')); assertType('Observable|WithoutBody', $client->call('LIST /repos/{owner}/{repo}/secret-scanning/alerts')); assertType('', $client->call('GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}')); @@ -1139,13 +1139,13 @@ function authHeader(): string assertType('Observable', $client->call('STREAM /repos/{owner}/{repo}/zipball/{ref}')); assertType('', $client->call('POST /repos/{template_owner}/{template_repo}/generate')); assertType('Observable|WithoutBody', $client->call('GET /repositories')); -assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups')); +assertType('Schema\\ScimEnterpriseGroupList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups')); assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Groups')); assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); assertType('', $client->call('DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); assertType('', $client->call('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}')); -assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users')); +assertType('Schema\\ScimEnterpriseUserList|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /scim/v2/enterprises/{enterprise}/Users')); assertType('', $client->call('POST /scim/v2/enterprises/{enterprise}/Users')); assertType('', $client->call('GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); assertType('', $client->call('PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}')); diff --git a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml index 67f757b9eee..2e409141949 100644 --- a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml +++ b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml @@ -48694,7 +48694,7 @@ paths: - name: filter description: If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `externalId`, - `id`, and `displayName`. For example, `?filter='externalId eq "9138790-10932-109120392-12321"'`. + `id`, and `displayName`. For example, `?filter=externalId eq "9138790-10932-109120392-12321"`. in: query required: false schema: @@ -49029,8 +49029,8 @@ paths: - name: filter description: If specified, only results that match the specified filter will be returned. Multiple filters are not supported. Possible filters are `userName`, - `externalId`, `id`, and `displayName`. For example, `?filter='externalId - eq "9138790-10932-109120392-12321"'`. + `externalId`, `id`, and `displayName`. For example, `?filter=externalId + eq "9138790-10932-109120392-12321"`. in: query required: false schema: @@ -80570,6 +80570,10 @@ components: "$ref": "#/components/schemas/code-scanning-alert-instance" repository: "$ref": "#/components/schemas/simple-repository" + dismissal_approved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" required: - number - created_at @@ -83338,6 +83342,12 @@ components: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded actions-billing-usage: type: object properties: @@ -94014,6 +94024,10 @@ components: "$ref": "#/components/schemas/code-scanning-analysis-tool" most_recent_instance: "$ref": "#/components/schemas/code-scanning-alert-instance" + dismissal_approved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" required: - number - created_at @@ -94119,6 +94133,10 @@ components: "$ref": "#/components/schemas/code-scanning-analysis-tool" most_recent_instance: "$ref": "#/components/schemas/code-scanning-alert-instance" + dismissal_approved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" required: - number - created_at @@ -101325,6 +101343,12 @@ components: - 'null' description: Whether the detected secret was found in multiple repositories under the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded secret-scanning-alert-resolution-comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -118186,6 +118210,77 @@ components: url: type: string format: uri + dismissal_approved_by: + title: User + type: + - object + - 'null' + properties: + avatar_url: + type: string + format: uri + deleted: + type: boolean + email: + type: + - string + - 'null' + events_url: + type: string + format: uri-template + followers_url: + type: string + format: uri + following_url: + type: string + format: uri-template + gists_url: + type: string + format: uri-template + gravatar_id: + type: string + html_url: + type: string + format: uri + id: + type: integer + login: + type: string + name: + type: string + node_id: + type: string + organizations_url: + type: string + format: uri + received_events_url: + type: string + format: uri + repos_url: + type: string + format: uri + site_admin: + type: boolean + starred_url: + type: string + format: uri-template + subscriptions_url: + type: string + format: uri + type: + type: string + enum: + - Bot + - User + - Organization + url: + type: string + format: uri + user_view_type: + type: string + required: + - login + - id required: - number - created_at @@ -118411,6 +118506,9 @@ components: url: type: string format: uri + dismissal_approved_by: + type: + - 'null' required: - number - created_at