Skip to content

Commit 2dfda7c

Browse files
authored
[GitHubEnterpriseCloud] Update to 1.1.4-4a0a41059a3c585a57e8633e0addf71b from 1.1.4-82076cc88147313a853af7a013c764f1
Detected Schema changes: {"time":"2023-11-29T16:33:40.013374337Z","level":"ERROR","msg":"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"} {"time":"2023-11-29T16:33:40.013666514Z","level":"ERROR","msg":"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"} {"time":"2023-11-29T16:33:41.054445291Z","level":"ERROR","msg":"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"} {"time":"2023-11-29T16:33:41.054545458Z","level":"ERROR","msg":"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"} ERROR: error: Error thrown when comparing: component 'server-statistics-actions.yaml' does not exist in the specification 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: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [219576:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [219578: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: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [219465:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [219467:11]
1 parent 7daf4c0 commit 2dfda7c

File tree

247 files changed

+20845
-2538
lines changed

Some content is hidden

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

247 files changed

+20845
-2538
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22847,6 +22847,30 @@ $client->operations()->securityAdvisories()->createRepositoryAdvisoryCveRequest(
2284722847
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory).
2284822848

2284922849

22850+
### security-advisories/create-fork
22851+
22852+
Create a temporary private fork
22853+
22854+
Using the `call` method:
22855+
```php
22856+
$client->call('POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks', [
22857+
'owner' => 'generated',
22858+
'repo' => 'generated',
22859+
'ghsa_id' => 'generated',
22860+
]);
22861+
```
22862+
22863+
Operations method:
22864+
```php
22865+
$client->operations()->securityAdvisories()->createFork( owner: 'generated',
22866+
repo: 'generated',
22867+
ghsa_id: 'generated',
22868+
);
22869+
```
22870+
22871+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork).
22872+
22873+
2285022874
### activity/list-stargazers-for-repo
2285122875

2285222876
List stargazers

etc/openapi-client-generator.state

Lines changed: 276 additions & 252 deletions
Large diffs are not rendered by default.

src/Client.php

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

src/ClientInterface.php

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

src/Internal/Hydrator/Operation/App/Installations/InstallationId.php

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
448448

449449
after_pullRequests:
450450

451+
$value = $payload['repository_custom_properties'] ?? null;
452+
453+
if ($value === null) {
454+
$properties['repositoryCustomProperties'] = null;
455+
goto after_repositoryCustomProperties;
456+
}
457+
458+
$properties['repositoryCustomProperties'] = $value;
459+
460+
after_repositoryCustomProperties:
461+
451462
$value = $payload['repository_hooks'] ?? null;
452463

453464
if ($value === null) {
@@ -580,6 +591,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
580591

581592
after_organizationCustomRoles:
582593

594+
$value = $payload['organization_custom_org_roles'] ?? null;
595+
596+
if ($value === null) {
597+
$properties['organizationCustomOrgRoles'] = null;
598+
goto after_organizationCustomOrgRoles;
599+
}
600+
601+
$properties['organizationCustomOrgRoles'] = $value;
602+
603+
after_organizationCustomOrgRoles:
604+
583605
$value = $payload['organization_custom_properties'] ?? null;
584606

585607
if ($value === null) {
@@ -591,6 +613,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
591613

592614
after_organizationCustomProperties:
593615

616+
$value = $payload['organization_copilot_seat_management'] ?? null;
617+
618+
if ($value === null) {
619+
$properties['organizationCopilotSeatManagement'] = null;
620+
goto after_organizationCopilotSeatManagement;
621+
}
622+
623+
$properties['organizationCopilotSeatManagement'] = $value;
624+
625+
after_organizationCopilotSeatManagement:
626+
594627
$value = $payload['organization_announcement_banners'] ?? null;
595628

596629
if ($value === null) {
@@ -1347,6 +1380,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
13471380

13481381
after_pullRequests: $result['pull_requests'] = $pullRequests;
13491382

1383+
$repositoryCustomProperties = $object->repositoryCustomProperties;
1384+
1385+
if ($repositoryCustomProperties === null) {
1386+
goto after_repositoryCustomProperties;
1387+
}
1388+
1389+
after_repositoryCustomProperties: $result['repository_custom_properties'] = $repositoryCustomProperties;
1390+
13501391
$repositoryHooks = $object->repositoryHooks;
13511392

13521393
if ($repositoryHooks === null) {
@@ -1443,6 +1484,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
14431484

14441485
after_organizationCustomRoles: $result['organization_custom_roles'] = $organizationCustomRoles;
14451486

1487+
$organizationCustomOrgRoles = $object->organizationCustomOrgRoles;
1488+
1489+
if ($organizationCustomOrgRoles === null) {
1490+
goto after_organizationCustomOrgRoles;
1491+
}
1492+
1493+
after_organizationCustomOrgRoles: $result['organization_custom_org_roles'] = $organizationCustomOrgRoles;
1494+
14461495
$organizationCustomProperties = $object->organizationCustomProperties;
14471496

14481497
if ($organizationCustomProperties === null) {
@@ -1451,6 +1500,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
14511500

14521501
after_organizationCustomProperties: $result['organization_custom_properties'] = $organizationCustomProperties;
14531502

1503+
$organizationCopilotSeatManagement = $object->organizationCopilotSeatManagement;
1504+
1505+
if ($organizationCopilotSeatManagement === null) {
1506+
goto after_organizationCopilotSeatManagement;
1507+
}
1508+
1509+
after_organizationCopilotSeatManagement: $result['organization_copilot_seat_management'] = $organizationCopilotSeatManagement;
1510+
14541511
$organizationAnnouncementBanners = $object->organizationAnnouncementBanners;
14551512

14561513
if ($organizationAnnouncementBanners === null) {

src/Internal/Hydrator/Operation/App/Installations/InstallationId/AccessTokens.php

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
293293

294294
after_pullRequests:
295295

296+
$value = $payload['repository_custom_properties'] ?? null;
297+
298+
if ($value === null) {
299+
$properties['repositoryCustomProperties'] = null;
300+
goto after_repositoryCustomProperties;
301+
}
302+
303+
$properties['repositoryCustomProperties'] = $value;
304+
305+
after_repositoryCustomProperties:
306+
296307
$value = $payload['repository_hooks'] ?? null;
297308

298309
if ($value === null) {
@@ -425,6 +436,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
425436

426437
after_organizationCustomRoles:
427438

439+
$value = $payload['organization_custom_org_roles'] ?? null;
440+
441+
if ($value === null) {
442+
$properties['organizationCustomOrgRoles'] = null;
443+
goto after_organizationCustomOrgRoles;
444+
}
445+
446+
$properties['organizationCustomOrgRoles'] = $value;
447+
448+
after_organizationCustomOrgRoles:
449+
428450
$value = $payload['organization_custom_properties'] ?? null;
429451

430452
if ($value === null) {
@@ -436,6 +458,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
436458

437459
after_organizationCustomProperties:
438460

461+
$value = $payload['organization_copilot_seat_management'] ?? null;
462+
463+
if ($value === null) {
464+
$properties['organizationCopilotSeatManagement'] = null;
465+
goto after_organizationCopilotSeatManagement;
466+
}
467+
468+
$properties['organizationCopilotSeatManagement'] = $value;
469+
470+
after_organizationCopilotSeatManagement:
471+
439472
$value = $payload['organization_announcement_banners'] ?? null;
440473

441474
if ($value === null) {
@@ -953,6 +986,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
953986

954987
after_pullRequests: $result['pull_requests'] = $pullRequests;
955988

989+
$repositoryCustomProperties = $object->repositoryCustomProperties;
990+
991+
if ($repositoryCustomProperties === null) {
992+
goto after_repositoryCustomProperties;
993+
}
994+
995+
after_repositoryCustomProperties: $result['repository_custom_properties'] = $repositoryCustomProperties;
996+
956997
$repositoryHooks = $object->repositoryHooks;
957998

958999
if ($repositoryHooks === null) {
@@ -1049,6 +1090,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
10491090

10501091
after_organizationCustomRoles: $result['organization_custom_roles'] = $organizationCustomRoles;
10511092

1093+
$organizationCustomOrgRoles = $object->organizationCustomOrgRoles;
1094+
1095+
if ($organizationCustomOrgRoles === null) {
1096+
goto after_organizationCustomOrgRoles;
1097+
}
1098+
1099+
after_organizationCustomOrgRoles: $result['organization_custom_org_roles'] = $organizationCustomOrgRoles;
1100+
10521101
$organizationCustomProperties = $object->organizationCustomProperties;
10531102

10541103
if ($organizationCustomProperties === null) {
@@ -1057,6 +1106,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
10571106

10581107
after_organizationCustomProperties: $result['organization_custom_properties'] = $organizationCustomProperties;
10591108

1109+
$organizationCopilotSeatManagement = $object->organizationCopilotSeatManagement;
1110+
1111+
if ($organizationCopilotSeatManagement === null) {
1112+
goto after_organizationCopilotSeatManagement;
1113+
}
1114+
1115+
after_organizationCopilotSeatManagement: $result['organization_copilot_seat_management'] = $organizationCopilotSeatManagement;
1116+
10601117
$organizationAnnouncementBanners = $object->organizationAnnouncementBanners;
10611118

10621119
if ($organizationAnnouncementBanners === null) {

src/Internal/Hydrator/Operation/Applications/ClientId/Token.php

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
810810

811811
after_pullRequests:
812812

813+
$value = $payload['repository_custom_properties'] ?? null;
814+
815+
if ($value === null) {
816+
$properties['repositoryCustomProperties'] = null;
817+
goto after_repositoryCustomProperties;
818+
}
819+
820+
$properties['repositoryCustomProperties'] = $value;
821+
822+
after_repositoryCustomProperties:
823+
813824
$value = $payload['repository_hooks'] ?? null;
814825

815826
if ($value === null) {
@@ -942,6 +953,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
942953

943954
after_organizationCustomRoles:
944955

956+
$value = $payload['organization_custom_org_roles'] ?? null;
957+
958+
if ($value === null) {
959+
$properties['organizationCustomOrgRoles'] = null;
960+
goto after_organizationCustomOrgRoles;
961+
}
962+
963+
$properties['organizationCustomOrgRoles'] = $value;
964+
965+
after_organizationCustomOrgRoles:
966+
945967
$value = $payload['organization_custom_properties'] ?? null;
946968

947969
if ($value === null) {
@@ -953,6 +975,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
953975

954976
after_organizationCustomProperties:
955977

978+
$value = $payload['organization_copilot_seat_management'] ?? null;
979+
980+
if ($value === null) {
981+
$properties['organizationCopilotSeatManagement'] = null;
982+
goto after_organizationCopilotSeatManagement;
983+
}
984+
985+
$properties['organizationCopilotSeatManagement'] = $value;
986+
987+
after_organizationCopilotSeatManagement:
988+
956989
$value = $payload['organization_announcement_banners'] ?? null;
957990

958991
if ($value === null) {
@@ -1665,6 +1698,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
16651698

16661699
after_pullRequests: $result['pull_requests'] = $pullRequests;
16671700

1701+
$repositoryCustomProperties = $object->repositoryCustomProperties;
1702+
1703+
if ($repositoryCustomProperties === null) {
1704+
goto after_repositoryCustomProperties;
1705+
}
1706+
1707+
after_repositoryCustomProperties: $result['repository_custom_properties'] = $repositoryCustomProperties;
1708+
16681709
$repositoryHooks = $object->repositoryHooks;
16691710

16701711
if ($repositoryHooks === null) {
@@ -1761,6 +1802,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
17611802

17621803
after_organizationCustomRoles: $result['organization_custom_roles'] = $organizationCustomRoles;
17631804

1805+
$organizationCustomOrgRoles = $object->organizationCustomOrgRoles;
1806+
1807+
if ($organizationCustomOrgRoles === null) {
1808+
goto after_organizationCustomOrgRoles;
1809+
}
1810+
1811+
after_organizationCustomOrgRoles: $result['organization_custom_org_roles'] = $organizationCustomOrgRoles;
1812+
17641813
$organizationCustomProperties = $object->organizationCustomProperties;
17651814

17661815
if ($organizationCustomProperties === null) {
@@ -1769,6 +1818,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
17691818

17701819
after_organizationCustomProperties: $result['organization_custom_properties'] = $organizationCustomProperties;
17711820

1821+
$organizationCopilotSeatManagement = $object->organizationCopilotSeatManagement;
1822+
1823+
if ($organizationCopilotSeatManagement === null) {
1824+
goto after_organizationCopilotSeatManagement;
1825+
}
1826+
1827+
after_organizationCopilotSeatManagement: $result['organization_copilot_seat_management'] = $organizationCopilotSeatManagement;
1828+
17721829
$organizationAnnouncementBanners = $object->organizationAnnouncementBanners;
17731830

17741831
if ($organizationAnnouncementBanners === null) {

0 commit comments

Comments
 (0)