Skip to content

Commit 8f91829

Browse files
authored
[GitHubEnterprise-3.9] Update to 1.1.4-68793563f5b3058c4114e4ca81510b06 from 1.1.4-01ecc0a12416efba06c34a65af99a699
Detected Schema changes: ├─┬Paths │ ├─┬/repositories/{repository_id}/environments/{environment_name}/secrets │ │ └─┬GET │ │ └─┬Parameters │ │ └──[M] description (222982:20) │ ├─┬/repositories/{repository_id}/environments/{environment_name}/secrets/public-key │ │ └─┬GET │ │ └─┬Parameters │ │ └──[M] description (222982:20) │ ├─┬/repositories/{repository_id}/environments/{environment_name}/variables │ │ ├─┬GET │ │ │ └─┬Parameters │ │ │ └──[M] description (222982:20) │ │ └─┬POST │ │ └─┬Parameters │ │ └──[M] description (222982:20) │ ├─┬/repos/{owner}/{repo}/environments/{environment_name} │ │ ├─┬GET │ │ │ └─┬Parameters │ │ │ └──[M] description (222982:20) │ │ ├─┬PUT │ │ │ └─┬Parameters │ │ │ └──[M] description (222982:20) │ │ └─┬DELETE │ │ └─┬Parameters │ │ └──[M] description (222982:20) │ ├─┬/repositories/{repository_id}/environments/{environment_name}/variables/{name} │ │ ├─┬GET │ │ │ └─┬Parameters │ │ │ └──[M] description (222982:20) │ │ ├─┬DELETE │ │ │ └─┬Parameters │ │ │ └──[M] description (222982:20) │ │ └─┬PATCH │ │ └─┬Parameters │ │ └──[M] description (222982:20) │ ├─┬/repos/{owner}/{repo}/issues/{issue_number} │ │ └─┬GET │ │ └──[M] description (28377:20) │ ├─┬/repos/{template_owner}/{template_repo}/generate │ │ └─┬POST │ │ └─┬Responses │ │ └─┬201 │ │ └─┬application/json │ │ ├─┬Schema │ │ │ └──[M] $ref (61750:14)❌ │ │ └─┬default │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[M] value (217605:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ └──[-] value (206007:9) │ ├─┬/app/installations/{installation_id}/access_tokens │ │ └─┬POST │ │ └─┬Requestbody │ │ └─┬application/json │ │ └─┬default │ │ └──[M] value (1976:19) │ ├─┬/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name} │ │ ├─┬GET │ │ │ └─┬Parameters │ │ │ └──[M] description (222982:20) │ │ ├─┬PUT │ │ │ └─┬Parameters │ │ │ └──[M] description (222982:20) │ │ └─┬DELETE │ │ └─┬Parameters │ │ └──[M] description (222982:20) │ ├─┬/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies │ │ ├─┬GET │ │ │ └─┬Parameters │ │ │ └──[M] description (222982:20) │ │ └─┬POST │ │ └─┬Parameters │ │ └──[M] description (222982:20) │ ├─┬/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} │ │ ├─┬GET │ │ │ └─┬Parameters │ │ │ └──[M] description (222982:20) │ │ ├─┬PUT │ │ │ └─┬Parameters │ │ │ └──[M] description (222982:20) │ │ └─┬DELETE │ │ └─┬Parameters │ │ └──[M] description (222982:20) │ ├─┬/user/repos │ │ └─┬POST │ │ └─┬Responses │ │ └─┬201 │ │ └─┬application/json │ │ ├─┬Schema │ │ │ └──[M] $ref (61750:14)❌ │ │ └─┬default │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ └──[-] value (206007:9) │ ├─┬/orgs/{org}/repos │ │ └─┬POST │ │ └─┬Responses │ │ └─┬201 │ │ └─┬application/json │ │ ├─┬Schema │ │ │ └──[M] $ref (61750:14)❌ │ │ └─┬default │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[M] value (206000:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ ├──[-] value (206007:9) │ │ └──[-] value (206007:9) │ └─┬/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} │ └─┬GET │ └──[M] description (14763:20) └─┬Components ├──[+] examples (217604:7) ├──[+] examples (205999:7) └─┬app-permissions ├──[-] properties (60818:9)❌ └─┬organization_custom_roles └──[M] description (60812:24) Date: 11/29/23 | Commit: New: etc/specs/GitHubEnterprise-3.9/previous.spec.yaml, Original: etc/specs/GitHubEnterprise-3.9/current.spec.yaml Document Element | Total Changes | Breaking Changes paths | 294 | 3 components | 4 | 1 ❌ 4 Breaking changes out of 298 INFO: Modifications: 275 INFO: Removals: 21 INFO: Additions: 2 INFO: Breaking Removals: 1 INFO: Breaking Modifications: 3 ERROR: breaking changes discovered
1 parent 436b60a commit 8f91829

File tree

113 files changed

+10464
-3821
lines changed

Some content is hidden

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

113 files changed

+10464
-3821
lines changed

clients/GitHubEnterprise-3.9/etc/openapi-client-generator.state

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

clients/GitHubEnterprise-3.9/src/Client.php

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

clients/GitHubEnterprise-3.9/src/ClientInterface.php

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

clients/GitHubEnterprise-3.9/src/Internal/Hydrator/Operation/Admin/Users/Username/Authorizations.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
938938

939939
after_organizationCustomRoles:
940940

941+
$value = $payload['organization_copilot_seat_management'] ?? null;
942+
943+
if ($value === null) {
944+
$properties['organizationCopilotSeatManagement'] = null;
945+
goto after_organizationCopilotSeatManagement;
946+
}
947+
948+
$properties['organizationCopilotSeatManagement'] = $value;
949+
950+
after_organizationCopilotSeatManagement:
951+
941952
$value = $payload['organization_announcement_banners'] ?? null;
942953

943954
if ($value === null) {
@@ -1629,6 +1640,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
16291640

16301641
after_organizationCustomRoles: $result['organization_custom_roles'] = $organizationCustomRoles;
16311642

1643+
$organizationCopilotSeatManagement = $object->organizationCopilotSeatManagement;
1644+
1645+
if ($organizationCopilotSeatManagement === null) {
1646+
goto after_organizationCopilotSeatManagement;
1647+
}
1648+
1649+
after_organizationCopilotSeatManagement: $result['organization_copilot_seat_management'] = $organizationCopilotSeatManagement;
1650+
16321651
$organizationAnnouncementBanners = $object->organizationAnnouncementBanners;
16331652

16341653
if ($organizationAnnouncementBanners === null) {

clients/GitHubEnterprise-3.9/src/Internal/Hydrator/Operation/App/Installations/InstallationId.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
580580

581581
after_organizationCustomRoles:
582582

583+
$value = $payload['organization_copilot_seat_management'] ?? null;
584+
585+
if ($value === null) {
586+
$properties['organizationCopilotSeatManagement'] = null;
587+
goto after_organizationCopilotSeatManagement;
588+
}
589+
590+
$properties['organizationCopilotSeatManagement'] = $value;
591+
592+
after_organizationCopilotSeatManagement:
593+
583594
$value = $payload['organization_announcement_banners'] ?? null;
584595

585596
if ($value === null) {
@@ -1432,6 +1443,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
14321443

14331444
after_organizationCustomRoles: $result['organization_custom_roles'] = $organizationCustomRoles;
14341445

1446+
$organizationCopilotSeatManagement = $object->organizationCopilotSeatManagement;
1447+
1448+
if ($organizationCopilotSeatManagement === null) {
1449+
goto after_organizationCopilotSeatManagement;
1450+
}
1451+
1452+
after_organizationCopilotSeatManagement: $result['organization_copilot_seat_management'] = $organizationCopilotSeatManagement;
1453+
14351454
$organizationAnnouncementBanners = $object->organizationAnnouncementBanners;
14361455

14371456
if ($organizationAnnouncementBanners === null) {

clients/GitHubEnterprise-3.9/src/Internal/Hydrator/Operation/App/Installations/InstallationId/AccessTokens.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
425425

426426
after_organizationCustomRoles:
427427

428+
$value = $payload['organization_copilot_seat_management'] ?? null;
429+
430+
if ($value === null) {
431+
$properties['organizationCopilotSeatManagement'] = null;
432+
goto after_organizationCopilotSeatManagement;
433+
}
434+
435+
$properties['organizationCopilotSeatManagement'] = $value;
436+
437+
after_organizationCopilotSeatManagement:
438+
428439
$value = $payload['organization_announcement_banners'] ?? null;
429440

430441
if ($value === null) {
@@ -1038,6 +1049,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
10381049

10391050
after_organizationCustomRoles: $result['organization_custom_roles'] = $organizationCustomRoles;
10401051

1052+
$organizationCopilotSeatManagement = $object->organizationCopilotSeatManagement;
1053+
1054+
if ($organizationCopilotSeatManagement === null) {
1055+
goto after_organizationCopilotSeatManagement;
1056+
}
1057+
1058+
after_organizationCopilotSeatManagement: $result['organization_copilot_seat_management'] = $organizationCopilotSeatManagement;
1059+
10411060
$organizationAnnouncementBanners = $object->organizationAnnouncementBanners;
10421061

10431062
if ($organizationAnnouncementBanners === null) {

clients/GitHubEnterprise-3.9/src/Internal/Hydrator/Operation/Applications/ClientId/Token.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
942942

943943
after_organizationCustomRoles:
944944

945+
$value = $payload['organization_copilot_seat_management'] ?? null;
946+
947+
if ($value === null) {
948+
$properties['organizationCopilotSeatManagement'] = null;
949+
goto after_organizationCopilotSeatManagement;
950+
}
951+
952+
$properties['organizationCopilotSeatManagement'] = $value;
953+
954+
after_organizationCopilotSeatManagement:
955+
945956
$value = $payload['organization_announcement_banners'] ?? null;
946957

947958
if ($value === null) {
@@ -1750,6 +1761,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
17501761

17511762
after_organizationCustomRoles: $result['organization_custom_roles'] = $organizationCustomRoles;
17521763

1764+
$organizationCopilotSeatManagement = $object->organizationCopilotSeatManagement;
1765+
1766+
if ($organizationCopilotSeatManagement === null) {
1767+
goto after_organizationCopilotSeatManagement;
1768+
}
1769+
1770+
after_organizationCopilotSeatManagement: $result['organization_copilot_seat_management'] = $organizationCopilotSeatManagement;
1771+
17531772
$organizationAnnouncementBanners = $object->organizationAnnouncementBanners;
17541773

17551774
if ($organizationAnnouncementBanners === null) {

clients/GitHubEnterprise-3.9/src/Internal/Hydrator/Operation/Applications/ClientId/Token/Scoped.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
942942

943943
after_organizationCustomRoles:
944944

945+
$value = $payload['organization_copilot_seat_management'] ?? null;
946+
947+
if ($value === null) {
948+
$properties['organizationCopilotSeatManagement'] = null;
949+
goto after_organizationCopilotSeatManagement;
950+
}
951+
952+
$properties['organizationCopilotSeatManagement'] = $value;
953+
954+
after_organizationCopilotSeatManagement:
955+
945956
$value = $payload['organization_announcement_banners'] ?? null;
946957

947958
if ($value === null) {
@@ -1750,6 +1761,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
17501761

17511762
after_organizationCustomRoles: $result['organization_custom_roles'] = $organizationCustomRoles;
17521763

1764+
$organizationCopilotSeatManagement = $object->organizationCopilotSeatManagement;
1765+
1766+
if ($organizationCopilotSeatManagement === null) {
1767+
goto after_organizationCopilotSeatManagement;
1768+
}
1769+
1770+
after_organizationCopilotSeatManagement: $result['organization_copilot_seat_management'] = $organizationCopilotSeatManagement;
1771+
17531772
$organizationAnnouncementBanners = $object->organizationAnnouncementBanners;
17541773

17551774
if ($organizationAnnouncementBanners === null) {

clients/GitHubEnterprise-3.9/src/Internal/Hydrator/Operation/Authorizations.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
10051005

10061006
after_organizationCustomRoles:
10071007

1008+
$value = $payload['organization_copilot_seat_management'] ?? null;
1009+
1010+
if ($value === null) {
1011+
$properties['organizationCopilotSeatManagement'] = null;
1012+
goto after_organizationCopilotSeatManagement;
1013+
}
1014+
1015+
$properties['organizationCopilotSeatManagement'] = $value;
1016+
1017+
after_organizationCopilotSeatManagement:
1018+
10081019
$value = $payload['organization_announcement_banners'] ?? null;
10091020

10101021
if ($value === null) {
@@ -1790,6 +1801,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
17901801

17911802
after_organizationCustomRoles: $result['organization_custom_roles'] = $organizationCustomRoles;
17921803

1804+
$organizationCopilotSeatManagement = $object->organizationCopilotSeatManagement;
1805+
1806+
if ($organizationCopilotSeatManagement === null) {
1807+
goto after_organizationCopilotSeatManagement;
1808+
}
1809+
1810+
after_organizationCopilotSeatManagement: $result['organization_copilot_seat_management'] = $organizationCopilotSeatManagement;
1811+
17931812
$organizationAnnouncementBanners = $object->organizationAnnouncementBanners;
17941813

17951814
if ($organizationAnnouncementBanners === null) {

clients/GitHubEnterprise-3.9/src/Internal/Hydrator/Operation/Authorizations/AuthorizationId.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
942942

943943
after_organizationCustomRoles:
944944

945+
$value = $payload['organization_copilot_seat_management'] ?? null;
946+
947+
if ($value === null) {
948+
$properties['organizationCopilotSeatManagement'] = null;
949+
goto after_organizationCopilotSeatManagement;
950+
}
951+
952+
$properties['organizationCopilotSeatManagement'] = $value;
953+
954+
after_organizationCopilotSeatManagement:
955+
945956
$value = $payload['organization_announcement_banners'] ?? null;
946957

947958
if ($value === null) {
@@ -1750,6 +1761,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
17501761

17511762
after_organizationCustomRoles: $result['organization_custom_roles'] = $organizationCustomRoles;
17521763

1764+
$organizationCopilotSeatManagement = $object->organizationCopilotSeatManagement;
1765+
1766+
if ($organizationCopilotSeatManagement === null) {
1767+
goto after_organizationCopilotSeatManagement;
1768+
}
1769+
1770+
after_organizationCopilotSeatManagement: $result['organization_copilot_seat_management'] = $organizationCopilotSeatManagement;
1771+
17531772
$organizationAnnouncementBanners = $object->organizationAnnouncementBanners;
17541773

17551774
if ($organizationAnnouncementBanners === null) {

0 commit comments

Comments
 (0)