Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 23 additions & 19 deletions clients/GitHubEnterprise-3.15/etc/openapi-client-generator.state
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "13765a979ded08b549109e71b65bcfcf",
"specHash": "3d1d0aa20a5ebee462aa16b1bf828099",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -11056,7 +11056,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
"hash": "5ebd59b377fa56da84093860b074238a"
"hash": "75b7740fb512adfb41a711553a784db0"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php",
Expand Down Expand Up @@ -11128,7 +11128,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php",
"hash": "612cab6a7bf4459cf097650381dd5e75"
"hash": "613713434ca904649774a4361befc2fc"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php",
Expand Down Expand Up @@ -14136,11 +14136,11 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurityConfiguration.php",
"hash": "77fe796fb9be30d76e9f7fb278cc7516"
"hash": "69f164f9a1e1334629fb710ef6c94620"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurityDefaultConfigurations.php",
"hash": "7c6a3796d7dc1eeb749770484c093fd8"
"hash": "5e84f90fbeaee5f94f552cefe4c98e8b"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurityConfigurationRepositories.php",
Expand Down Expand Up @@ -14324,7 +14324,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsRequiredReviewerConfiguration.php",
"hash": "47e0a5cbb3905406509b518cd447e517"
"hash": "8b7146363355a95c07cbf18c8466fc6c"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest.php",
Expand Down Expand Up @@ -14716,7 +14716,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurityConfigurationForRepository.php",
"hash": "6b0fcce4cd5c07953cf64ebe3369a205"
"hash": "7f8f314ff97dba2f58ef1371c5803b96"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeownersErrors.php",
Expand Down Expand Up @@ -25252,15 +25252,15 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/CreateConfiguration\/Request\/ApplicationJson.php",
"hash": "1108bfe82e79bd16d0b1ac26b7846ccf"
"hash": "a0d012dd8881066e4e16efd8b6916b26"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/DetachConfiguration\/Request\/ApplicationJson.php",
"hash": "03fe2f031531dc1c0dca2a4663712ec7"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/UpdateConfiguration\/Request\/ApplicationJson.php",
"hash": "7d4717de53d02f4366ef4643d9e0311e"
"hash": "ea9b2518eb520cd33fdceffed5ee9705"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/AttachConfiguration\/Request\/ApplicationJson.php",
Expand All @@ -25272,7 +25272,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Operations\/CodeSecurity\/SetConfigurationAsDefault\/Response\/ApplicationJson\/Ok.php",
"hash": "9e025b0882641a7a6b39873d1af3c2c0"
"hash": "472fee19c1f7e13540e9c54f0d2f7e79"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Operations\/Dependabot\/ListOrgSecrets\/Response\/ApplicationJson\/Ok.php",
Expand Down Expand Up @@ -26660,7 +26660,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php",
"hash": "3e9e34b8ec3f67e8458d4a00c2630835"
"hash": "9bd0fbc257fd34fe9c6661d7966a18cc"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php",
Expand Down Expand Up @@ -27212,7 +27212,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
"hash": "dcbf2b1bb7fb9cc9416745e8c13fcc14"
"hash": "03a78049cc14a10e8b8ad6bf8778c4ab"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
Expand Down Expand Up @@ -27424,11 +27424,11 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
"hash": "72c7f105d61896c8c4afa1b6a78f418b"
"hash": "057a0e66c0fac8be025f4333a6d16a9b"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
"hash": "31e0c425fc6d0e0eb3032545e05117c0"
"hash": "0afba759e55aef88b3e3a19ce1993b10"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
Expand All @@ -27444,7 +27444,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php",
"hash": "28fab98c49c28961e606d06041d34534"
"hash": "7283ab444baadbfc831c091e6cd63c0d"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
Expand Down Expand Up @@ -28416,7 +28416,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations.php",
"hash": "7da42ecae4cf3c76a2762f30d6b49c58"
"hash": "ea9ae900f54ec0fe8170f7d43e2f0745"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/Defaults.php",
Expand All @@ -28428,15 +28428,15 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId.php",
"hash": "cf7a6ff6f1f8c86201c4a3a48ec03ce1"
"hash": "12cbb19be2f4667f57a557e52a4f20f9"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId\/Attach.php",
"hash": "b94bfa36de710febfa2c9db6dd349708"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId\/Defaults.php",
"hash": "6fb830df7d6313b33ae5afd6b2e49d53"
"hash": "dbb03089b8ce31c9939450c8ed011af9"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId\/Repositories.php",
Expand Down Expand Up @@ -29072,7 +29072,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeSecurityConfiguration.php",
"hash": "f69d395e426965e1d93ecb15dd6f1265"
"hash": "56977c8dc7a99add3a2d545a908fd214"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Codeowners\/Errors.php",
Expand Down Expand Up @@ -30285,6 +30285,10 @@
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertClosedByUser\/Alert\/DismissalApprovedBy.php",
"hash": "b21a2b229d82f916d8ec095470db0021"
},
{
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsReviewer.php",
"hash": "9fb5f3613d9deee11da6ff5294c91b66"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema

after_secretScanningNonProviderPatterns:

$value = $payload['secret_scanning_delegated_alert_dismissal'] ?? null;

if ($value === null) {
$properties['secretScanningDelegatedAlertDismissal'] = null;
goto after_secretScanningDelegatedAlertDismissal;
}

$properties['secretScanningDelegatedAlertDismissal'] = $value;

after_secretScanningDelegatedAlertDismissal:

$value = $payload['enforcement'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -652,6 +663,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡

after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;

$secretScanningDelegatedAlertDismissal = $object->secretScanningDelegatedAlertDismissal;

if ($secretScanningDelegatedAlertDismissal === null) {
goto after_secretScanningDelegatedAlertDismissal;
}

after_secretScanningDelegatedAlertDismissal: $result['secret_scanning_delegated_alert_dismissal'] = $secretScanningDelegatedAlertDismissal;

$enforcement = $object->enforcement;

if ($enforcement === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema

after_secretScanningNonProviderPatterns:

$value = $payload['secret_scanning_delegated_alert_dismissal'] ?? null;

if ($value === null) {
$properties['secretScanningDelegatedAlertDismissal'] = null;
goto after_secretScanningDelegatedAlertDismissal;
}

$properties['secretScanningDelegatedAlertDismissal'] = $value;

after_secretScanningDelegatedAlertDismissal:

$value = $payload['enforcement'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -700,6 +711,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡

after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;

$secretScanningDelegatedAlertDismissal = $object->secretScanningDelegatedAlertDismissal;

if ($secretScanningDelegatedAlertDismissal === null) {
goto after_secretScanningDelegatedAlertDismissal;
}

after_secretScanningDelegatedAlertDismissal: $result['secret_scanning_delegated_alert_dismissal'] = $secretScanningDelegatedAlertDismissal;

$enforcement = $object->enforcement;

if ($enforcement === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema

after_secretScanningNonProviderPatterns:

$value = $payload['secret_scanning_delegated_alert_dismissal'] ?? null;

if ($value === null) {
$properties['secretScanningDelegatedAlertDismissal'] = null;
goto after_secretScanningDelegatedAlertDismissal;
}

$properties['secretScanningDelegatedAlertDismissal'] = $value;

after_secretScanningDelegatedAlertDismissal:

$value = $payload['enforcement'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -690,6 +701,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡

after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;

$secretScanningDelegatedAlertDismissal = $object->secretScanningDelegatedAlertDismissal;

if ($secretScanningDelegatedAlertDismissal === null) {
goto after_secretScanningDelegatedAlertDismissal;
}

after_secretScanningDelegatedAlertDismissal: $result['secret_scanning_delegated_alert_dismissal'] = $secretScanningDelegatedAlertDismissal;

$enforcement = $object->enforcement;

if ($enforcement === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema

after_secretScanningNonProviderPatterns:

$value = $payload['secret_scanning_delegated_alert_dismissal'] ?? null;

if ($value === null) {
$properties['secretScanningDelegatedAlertDismissal'] = null;
goto after_secretScanningDelegatedAlertDismissal;
}

$properties['secretScanningDelegatedAlertDismissal'] = $value;

after_secretScanningDelegatedAlertDismissal:

$value = $payload['enforcement'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -689,6 +700,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡

after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;

$secretScanningDelegatedAlertDismissal = $object->secretScanningDelegatedAlertDismissal;

if ($secretScanningDelegatedAlertDismissal === null) {
goto after_secretScanningDelegatedAlertDismissal;
}

after_secretScanningDelegatedAlertDismissal: $result['secret_scanning_delegated_alert_dismissal'] = $secretScanningDelegatedAlertDismissal;

$enforcement = $object->enforcement;

if ($enforcement === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $filter, string $excludedAttributes, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseGroupList|WithoutBody
{
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\ListProvisionedGroupsEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $excludedAttributes, $enterprise, $startIndex, $count);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $filter, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseUserList|WithoutBody
{
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\ListProvisionedIdentitiesEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $enterprise, $startIndex, $count);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ public function getPreReceiveHookForRepo(array $params): RepositoryPreReceiveHoo
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['pre_receive_hook_id']);
}

/** @return */
public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGroupList|WithoutBody
{
$arguments = [];
Expand Down Expand Up @@ -701,6 +702,7 @@ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGr
return $operator->call($arguments['filter'], $arguments['excludedAttributes'], $arguments['enterprise'], $arguments['startIndex'], $arguments['count']);
}

/** @return */
public function listProvisionedIdentitiesEnterprise(array $params): ScimEnterpriseUserList|WithoutBody
{
$arguments = [];
Expand Down
Loading
Loading