Skip to content

Commit 2f3cc97

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHubEnterpriseCloud] Update to 1.1.4-bb37eb0db0849b2ff829f8eaf9b136f3 from 1.1.4-a17f4264c506565e251516e5c4217ed8
Detected Schema changes: 2024-11-27 17:30:29 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-actions.yaml └ error: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory 2024-11-27 17:30:29 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-packages.yaml └ error: open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory 2024-11-27 17:30:29 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-advisory-db.yaml └ error: open /__w/github-root/github-root/server-statistics-advisory-db.yaml: no such file or directory 2024-11-27 17:30:31 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-actions.yaml └ error: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory 2024-11-27 17:30:31 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-packages.yaml └ error: open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory 2024-11-27 17:30:31 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-advisory-db.yaml └ error: open /__w/github-root/github-root/server-statistics-advisory-db.yaml: no such file or directory ERROR: component `server-statistics-actions.yaml` does not exist in the specification ERROR: component `server-statistics-packages.yaml` does not exist in the specification ERROR: component `server-statistics-advisory-db.yaml` does not exist in the specification ERROR: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [210029:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [210031:11] ERROR: cannot resolve reference `server-statistics-advisory-db.yaml`, it's missing: [210033:11] ERROR: component `server-statistics-actions.yaml` does not exist in the specification ERROR: component `server-statistics-packages.yaml` does not exist in the specification ERROR: component `server-statistics-advisory-db.yaml` does not exist in the specification ERROR: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [209920:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [209922:11] ERROR: cannot resolve reference `server-statistics-advisory-db.yaml`, it's missing: [209924:11]
1 parent beee8ea commit 2f3cc97

File tree

65 files changed

+1705
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1705
-144
lines changed

clients/GitHubEnterpriseCloud/README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10285,7 +10285,7 @@ Using the `call` method:
1028510285
$client->call('GET /orgs/{org}/rulesets/rule-suites', [
1028610286
'org' => 'generated',
1028710287
'ref' => 'generated',
10288-
'repository_name' => 15,
10288+
'repository_name' => 'generated',
1028910289
'actor_name' => 'generated',
1029010290
'time_period' => 'generated',
1029110291
'rule_suite_result' => 'generated',
@@ -10298,7 +10298,7 @@ Operations method:
1029810298
```php
1029910299
$client->operations()->repos()->getOrgRuleSuites( org: 'generated',
1030010300
ref: 'generated',
10301-
repository_name: 15,
10301+
repository_name: 'generated',
1030210302
actor_name: 'generated',
1030310303
time_period: 'generated',
1030410304
rule_suite_result: 'generated',
@@ -10319,7 +10319,7 @@ Using the `call` method:
1031910319
$client->call('LIST /orgs/{org}/rulesets/rule-suites', [
1032010320
'org' => 'generated',
1032110321
'ref' => 'generated',
10322-
'repository_name' => 15,
10322+
'repository_name' => 'generated',
1032310323
'actor_name' => 'generated',
1032410324
'time_period' => 'generated',
1032510325
'rule_suite_result' => 'generated',
@@ -10332,7 +10332,7 @@ Operations method:
1033210332
```php
1033310333
$client->operations()->repos()->getOrgRuleSuitesListing( org: 'generated',
1033410334
ref: 'generated',
10335-
repository_name: 15,
10335+
repository_name: 'generated',
1033610336
actor_name: 'generated',
1033710337
time_period: 'generated',
1033810338
rule_suite_result: 'generated',
@@ -24675,6 +24675,28 @@ $client->operations()->secretScanning()->createPushProtectionBypass( owne
2467524675
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass).
2467624676

2467724677

24678+
### secret-scanning/get-scan-history
24679+
24680+
Get secret scanning scan history for a repository
24681+
24682+
Using the `call` method:
24683+
```php
24684+
$client->call('GET /repos/{owner}/{repo}/secret-scanning/scan-history', [
24685+
'owner' => 'generated',
24686+
'repo' => 'generated',
24687+
]);
24688+
```
24689+
24690+
Operations method:
24691+
```php
24692+
$client->operations()->secretScanning()->getScanHistory( owner: 'generated',
24693+
repo: 'generated',
24694+
);
24695+
```
24696+
24697+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository).
24698+
24699+
2467824700
### security-advisories/list-repository-advisories
2467924701

2468024702
List repository security advisories

clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state

Lines changed: 85 additions & 61 deletions
Large diffs are not rendered by default.

clients/GitHubEnterpriseCloud/src/Client.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

clients/GitHubEnterpriseCloud/src/ClientInterface.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Branches/Branch.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
683683
$properties['signature'] = $value;
684684

685685
after_signature:
686+
687+
$value = $payload['verified_at'] ?? null;
688+
689+
if ($value === null) {
690+
$properties['verifiedAt'] = null;
691+
goto after_verifiedAt;
692+
}
693+
694+
$properties['verifiedAt'] = $value;
695+
696+
after_verifiedAt:
686697
} catch (Throwable $exception) {
687698
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\Verification', $exception, stack: $this->hydrationStack);
688699
}
@@ -2239,6 +2250,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
22392250

22402251
after_signature: $result['signature'] = $signature;
22412252

2253+
$verifiedAt = $object->verifiedAt;
2254+
2255+
if ($verifiedAt === null) {
2256+
goto after_verifiedAt;
2257+
}
2258+
2259+
after_verifiedAt: $result['verified_at'] = $verifiedAt;
2260+
22422261
return $result;
22432262
}
22442263

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Branches/Branch/Rename.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
685685
$properties['signature'] = $value;
686686

687687
after_signature:
688+
689+
$value = $payload['verified_at'] ?? null;
690+
691+
if ($value === null) {
692+
$properties['verifiedAt'] = null;
693+
goto after_verifiedAt;
694+
}
695+
696+
$properties['verifiedAt'] = $value;
697+
698+
after_verifiedAt:
688699
} catch (Throwable $exception) {
689700
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\Verification', $exception, stack: $this->hydrationStack);
690701
}
@@ -2294,6 +2305,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
22942305

22952306
after_signature: $result['signature'] = $signature;
22962307

2308+
$verifiedAt = $object->verifiedAt;
2309+
2310+
if ($verifiedAt === null) {
2311+
goto after_verifiedAt;
2312+
}
2313+
2314+
after_verifiedAt: $result['verified_at'] = $verifiedAt;
2315+
22972316
return $result;
22982317
}
22992318

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Commits/Ref.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
519519
$properties['signature'] = $value;
520520

521521
after_signature:
522+
523+
$value = $payload['verified_at'] ?? null;
524+
525+
if ($value === null) {
526+
$properties['verifiedAt'] = null;
527+
goto after_verifiedAt;
528+
}
529+
530+
$properties['verifiedAt'] = $value;
531+
532+
after_verifiedAt:
522533
} catch (Throwable $exception) {
523534
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\Verification', $exception, stack: $this->hydrationStack);
524535
}
@@ -1051,6 +1062,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
10511062

10521063
after_signature: $result['signature'] = $signature;
10531064

1065+
$verifiedAt = $object->verifiedAt;
1066+
1067+
if ($verifiedAt === null) {
1068+
goto after_verifiedAt;
1069+
}
1070+
1071+
after_verifiedAt: $result['verified_at'] = $verifiedAt;
1072+
10541073
return $result;
10551074
}
10561075

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Compare/Basehead.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
699699
$properties['signature'] = $value;
700700

701701
after_signature:
702+
703+
$value = $payload['verified_at'] ?? null;
704+
705+
if ($value === null) {
706+
$properties['verifiedAt'] = null;
707+
goto after_verifiedAt;
708+
}
709+
710+
$properties['verifiedAt'] = $value;
711+
712+
after_verifiedAt:
702713
} catch (Throwable $exception) {
703714
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\Verification', $exception, stack: $this->hydrationStack);
704715
}
@@ -1247,6 +1258,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
12471258

12481259
after_signature: $result['signature'] = $signature;
12491260

1261+
$verifiedAt = $object->verifiedAt;
1262+
1263+
if ($verifiedAt === null) {
1264+
goto after_verifiedAt;
1265+
}
1266+
1267+
after_verifiedAt: $result['verified_at'] = $verifiedAt;
1268+
12501269
return $result;
12511270
}
12521271

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Contents/Path.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
950950
$properties['payload'] = $value;
951951

952952
after_payload:
953+
954+
$value = $payload['verified_at'] ?? null;
955+
956+
if ($value === null) {
957+
$properties['verifiedAt'] = null;
958+
goto after_verifiedAt;
959+
}
960+
961+
$properties['verifiedAt'] = $value;
962+
963+
after_verifiedAt:
953964
} catch (Throwable $exception) {
954965
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\FileCommit\Commit\Verification', $exception, stack: $this->hydrationStack);
955966
}
@@ -1685,6 +1696,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
16851696

16861697
after_payload: $result['payload'] = $payload;
16871698

1699+
$verifiedAt = $object->verifiedAt;
1700+
1701+
if ($verifiedAt === null) {
1702+
goto after_verifiedAt;
1703+
}
1704+
1705+
after_verifiedAt: $result['verified_at'] = $verifiedAt;
1706+
16881707
return $result;
16891708
}
16901709

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Git/Commits.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
415415
$properties['payload'] = $value;
416416

417417
after_payload:
418+
419+
$value = $payload['verified_at'] ?? null;
420+
421+
if ($value === null) {
422+
$properties['verifiedAt'] = null;
423+
goto after_verifiedAt;
424+
}
425+
426+
$properties['verifiedAt'] = $value;
427+
428+
after_verifiedAt:
418429
} catch (Throwable $exception) {
419430
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\GitCommit\Verification', $exception, stack: $this->hydrationStack);
420431
}
@@ -769,6 +780,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
769780

770781
after_payload: $result['payload'] = $payload;
771782

783+
$verifiedAt = $object->verifiedAt;
784+
785+
if ($verifiedAt === null) {
786+
goto after_verifiedAt;
787+
}
788+
789+
after_verifiedAt: $result['verified_at'] = $verifiedAt;
790+
772791
return $result;
773792
}
774793

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Git/Commits/CommitSha.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
413413
$properties['payload'] = $value;
414414

415415
after_payload:
416+
417+
$value = $payload['verified_at'] ?? null;
418+
419+
if ($value === null) {
420+
$properties['verifiedAt'] = null;
421+
goto after_verifiedAt;
422+
}
423+
424+
$properties['verifiedAt'] = $value;
425+
426+
after_verifiedAt:
416427
} catch (Throwable $exception) {
417428
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\GitCommit\Verification', $exception, stack: $this->hydrationStack);
418429
}
@@ -714,6 +725,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
714725

715726
after_payload: $result['payload'] = $payload;
716727

728+
$verifiedAt = $object->verifiedAt;
729+
730+
if ($verifiedAt === null) {
731+
goto after_verifiedAt;
732+
}
733+
734+
after_verifiedAt: $result['verified_at'] = $verifiedAt;
735+
717736
return $result;
718737
}
719738

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Git/Tags.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
341341
$properties['signature'] = $value;
342342

343343
after_signature:
344+
345+
$value = $payload['verified_at'] ?? null;
346+
347+
if ($value === null) {
348+
$properties['verifiedAt'] = null;
349+
goto after_verifiedAt;
350+
}
351+
352+
$properties['verifiedAt'] = $value;
353+
354+
after_verifiedAt:
344355
} catch (Throwable $exception) {
345356
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\Verification', $exception, stack: $this->hydrationStack);
346357
}
@@ -671,6 +682,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
671682

672683
after_signature: $result['signature'] = $signature;
673684

685+
$verifiedAt = $object->verifiedAt;
686+
687+
if ($verifiedAt === null) {
688+
goto after_verifiedAt;
689+
}
690+
691+
after_verifiedAt: $result['verified_at'] = $verifiedAt;
692+
674693
return $result;
675694
}
676695

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Git/Tags/TagSha.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
339339
$properties['signature'] = $value;
340340

341341
after_signature:
342+
343+
$value = $payload['verified_at'] ?? null;
344+
345+
if ($value === null) {
346+
$properties['verifiedAt'] = null;
347+
goto after_verifiedAt;
348+
}
349+
350+
$properties['verifiedAt'] = $value;
351+
352+
after_verifiedAt:
342353
} catch (Throwable $exception) {
343354
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\Verification', $exception, stack: $this->hydrationStack);
344355
}
@@ -616,6 +627,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
616627

617628
after_signature: $result['signature'] = $signature;
618629

630+
$verifiedAt = $object->verifiedAt;
631+
632+
if ($verifiedAt === null) {
633+
goto after_verifiedAt;
634+
}
635+
636+
after_verifiedAt: $result['verified_at'] = $verifiedAt;
637+
619638
return $result;
620639
}
621640

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Merges.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
517517
$properties['signature'] = $value;
518518

519519
after_signature:
520+
521+
$value = $payload['verified_at'] ?? null;
522+
523+
if ($value === null) {
524+
$properties['verifiedAt'] = null;
525+
goto after_verifiedAt;
526+
}
527+
528+
$properties['verifiedAt'] = $value;
529+
530+
after_verifiedAt:
520531
} catch (Throwable $exception) {
521532
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\Verification', $exception, stack: $this->hydrationStack);
522533
}
@@ -996,6 +1007,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
9961007

9971008
after_signature: $result['signature'] = $signature;
9981009

1010+
$verifiedAt = $object->verifiedAt;
1011+
1012+
if ($verifiedAt === null) {
1013+
goto after_verifiedAt;
1014+
}
1015+
1016+
after_verifiedAt: $result['verified_at'] = $verifiedAt;
1017+
9991018
return $result;
10001019
}
10011020

0 commit comments

Comments
 (0)