From 1277b73e4026f5f1745562d9230ac91e78dfcbdc Mon Sep 17 00:00:00 2001 From: WyriHaximus <147145+WyriHaximus@users.noreply.github.com> Date: Tue, 18 Mar 2025 21:05:38 +0000 Subject: [PATCH] =?UTF-8?q?[GitHubEnterpriseCloud]=20Update=20to=201.1.4-1?= =?UTF-8?q?8d1649ae731235428cf7dff63fe488a=20from=201.1.4-ad7ffa61f67e4015?= =?UTF-8?q?ad76b20ec07feda6=20Detected=20Schema=20changes:=202025-03-18=20?= =?UTF-8?q?20:29:18=20ERROR=20unable=20to=20open=20the=20rolodex=20file,?= =?UTF-8?q?=20check=20specification=20references=20and=20base=20path=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=E2=94=9C=20file:=20/=5F=5Fw/github-root/github-root/server-sta?= =?UTF-8?q?tistics-advisory-db.yaml=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=E2=94=94=20error:=20open=20/=5F?= =?UTF-8?q?=5Fw/github-root/github-root/server-statistics-advisory-db.yaml?= =?UTF-8?q?:=20no=20such=20file=20or=20directory=202025-03-18=2020:29:18?= =?UTF-8?q?=20ERROR=20unable=20to=20open=20the=20rolodex=20file,=20check?= =?UTF-8?q?=20specification=20references=20and=20base=20path=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=E2=94=9C=20file:=20/=5F=5Fw/github-root/github-root/server-sta?= =?UTF-8?q?tistics-actions.yaml=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=E2=94=94=20error:=20open=20/=5F=5Fw?= =?UTF-8?q?/github-root/github-root/server-statistics-actions.yaml:=20no?= =?UTF-8?q?=20such=20file=20or=20directory=202025-03-18=2020:29:18=20ERROR?= =?UTF-8?q?=20unable=20to=20open=20the=20rolodex=20file,=20check=20specifi?= =?UTF-8?q?cation=20references=20and=20base=20path=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=E2=94=9C=20file:?= =?UTF-8?q?=20/=5F=5Fw/github-root/github-root/server-statistics-packages.?= =?UTF-8?q?yaml=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=E2=94=94=20error:=20open=20/=5F=5Fw/github-root/gi?= =?UTF-8?q?thub-root/server-statistics-packages.yaml:=20no=20such=20file?= =?UTF-8?q?=20or=20directory=202025-03-18=2020:29:20=20ERROR=20unable=20to?= =?UTF-8?q?=20open=20the=20rolodex=20file,=20check=20specification=20refer?= =?UTF-8?q?ences=20and=20base=20path=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=E2=94=9C=20file:=20/=5F=5Fw/g?= =?UTF-8?q?ithub-root/github-root/server-statistics-actions.yaml=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=E2=94=94=20error:=20open=20/=5F=5Fw/github-root/github-root/se?= =?UTF-8?q?rver-statistics-actions.yaml:=20no=20such=20file=20or=20directo?= =?UTF-8?q?ry=202025-03-18=2020:29:20=20ERROR=20unable=20to=20open=20the?= =?UTF-8?q?=20rolodex=20file,=20check=20specification=20references=20and?= =?UTF-8?q?=20base=20path=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=E2=94=9C=20error:=20open=20/=5F=5Fw/githu?= =?UTF-8?q?b-root/github-root/server-statistics-packages.yaml:=20no=20such?= =?UTF-8?q?=20file=20or=20directory=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=E2=94=94=20file:=20/=5F=5Fw/gith?= =?UTF-8?q?ub-root/github-root/server-statistics-packages.yaml=202025-03-1?= =?UTF-8?q?8=2020:29:20=20ERROR=20unable=20to=20open=20the=20rolodex=20fil?= =?UTF-8?q?e,=20check=20specification=20references=20and=20base=20path=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=E2=94=9C=20file:=20/=5F=5Fw/github-root/github-root/server-?= =?UTF-8?q?statistics-advisory-db.yaml=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=E2=94=94=20error:=20open=20/?= =?UTF-8?q?=5F=5Fw/github-root/github-root/server-statistics-advisory-db.y?= =?UTF-8?q?aml:=20no=20such=20file=20or=20directory=20ERROR:=20component?= =?UTF-8?q?=20`server-statistics-advisory-db.yaml`=20does=20not=20exist=20?= =?UTF-8?q?in=20the=20specification=20ERROR:=20component=20`server-statist?= =?UTF-8?q?ics-actions.yaml`=20does=20not=20exist=20in=20the=20specificati?= =?UTF-8?q?on=20ERROR:=20component=20`server-statistics-packages.yaml`=20d?= =?UTF-8?q?oes=20not=20exist=20in=20the=20specification=20ERROR:=20cannot?= =?UTF-8?q?=20resolve=20reference=20`server-statistics-actions.yaml`,=20it?= =?UTF-8?q?'s=20missing:=20$.['server-statistics-actions.yaml']=20[216966:?= =?UTF-8?q?11]=20ERROR:=20cannot=20resolve=20reference=20`server-statistic?= =?UTF-8?q?s-packages.yaml`,=20it's=20missing:=20$.['server-statistics-pac?= =?UTF-8?q?kages.yaml']=20[216968:11]=20ERROR:=20cannot=20resolve=20refere?= =?UTF-8?q?nce=20`server-statistics-advisory-db.yaml`,=20it's=20missing:?= =?UTF-8?q?=20$.['server-statistics-advisory-db.yaml']=20[216970:11]=20ERR?= =?UTF-8?q?OR:=20component=20`server-statistics-actions.yaml`=20does=20not?= =?UTF-8?q?=20exist=20in=20the=20specification=20ERROR:=20component=20`ser?= =?UTF-8?q?ver-statistics-packages.yaml`=20does=20not=20exist=20in=20the?= =?UTF-8?q?=20specification=20ERROR:=20component=20`server-statistics-advi?= =?UTF-8?q?sory-db.yaml`=20does=20not=20exist=20in=20the=20specification?= =?UTF-8?q?=20ERROR:=20cannot=20resolve=20reference=20`server-statistics-a?= =?UTF-8?q?ctions.yaml`,=20it's=20missing:=20$.['server-statistics-actions?= =?UTF-8?q?.yaml']=20[216602:11]=20ERROR:=20cannot=20resolve=20reference?= =?UTF-8?q?=20`server-statistics-packages.yaml`,=20it's=20missing:=20$.['s?= =?UTF-8?q?erver-statistics-packages.yaml']=20[216604:11]=20ERROR:=20canno?= =?UTF-8?q?t=20resolve=20reference=20`server-statistics-advisory-db.yaml`,?= =?UTF-8?q?=20it's=20missing:=20$.['server-statistics-advisory-db.yaml']?= =?UTF-8?q?=20[216606:11]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clients/GitHubEnterpriseCloud/README.md | 92 +++ .../etc/openapi-client-generator.state | 318 ++++++---- clients/GitHubEnterpriseCloud/src/Client.php | 2 +- .../src/ClientInterface.php | 2 +- .../Operation/Orgs/Org/IssueTypes.php | 537 +++++++++++++++++ .../Orgs/Org/IssueTypes/IssueTypeId.php | 537 +++++++++++++++++ .../Operation/Repos/Owner/Repo/Issues.php | 196 +++++++ .../Owner/Repo/Issues/Events/EventId.php | 196 +++++++ .../Repos/Owner/Repo/Issues/IssueNumber.php | 196 +++++++ .../Repo/Issues/IssueNumber/Assignees.php | 196 +++++++ .../Repo/Issues/IssueNumber/SubIssue.php | 196 +++++++ .../Repo/Issues/IssueNumber/SubIssues.php | 196 +++++++ .../Issues/IssueNumber/SubIssues/Priority.php | 196 +++++++ .../Hydrator/WebHook/IssueComment.php | 254 ++++++++ .../src/Internal/Hydrator/WebHook/Issues.php | 544 ++++++++++++++++++ .../Internal/Hydrator/WebHook/SubIssues.php | 196 +++++++ .../src/Internal/Hydrators.php | 22 + .../Internal/Operation/Issues/ListForOrg.php | 7 +- .../Operation/Issues/ListForOrgListing.php | 7 +- .../Internal/Operation/Issues/ListForRepo.php | 7 +- .../Operation/Issues/ListForRepoListing.php | 7 +- .../Operation/Orgs/CreateIssueType.php | 79 +++ .../Operation/Orgs/DeleteIssueType.php | 80 +++ .../Operation/Orgs/ListIssueTypes.php | 82 +++ .../Operation/Orgs/UpdateIssueType.php | 82 +++ .../Internal/Operator/Issues/ListForOrg.php | 6 +- .../Operator/Issues/ListForOrgListing.php | 6 +- .../Internal/Operator/Issues/ListForRepo.php | 6 +- .../Operator/Issues/ListForRepoListing.php | 6 +- .../Operator/Orgs/CreateIssueType.php | 40 ++ .../Operator/Orgs/DeleteIssueType.php | 40 ++ .../Internal/Operator/Orgs/ListIssueTypes.php | 41 ++ .../Operator/Orgs/UpdateIssueType.php | 40 ++ .../src/Internal/Operators.php | 40 ++ .../src/Internal/Router/Delete/Five.php | 7 + .../src/Internal/Router/Delete/Orgs.php | 20 + .../src/Internal/Router/Get/Five.php | 2 +- .../src/Internal/Router/Get/Four.php | 6 +- .../src/Internal/Router/Get/Issues.php | 20 +- .../src/Internal/Router/Get/Orgs.php | 15 + .../src/Internal/Router/List/Five.php | 2 +- .../src/Internal/Router/List/Four.php | 2 +- .../src/Internal/Router/List/Issues.php | 20 +- .../src/Internal/Router/Post/Four.php | 8 +- .../src/Internal/Router/Post/Orgs.php | 15 + .../src/Internal/Router/Put/Five.php | 10 +- .../src/Internal/Router/Put/Orgs.php | 21 + .../src/Operation/Issues.php | 24 +- .../src/Operation/Orgs.php | 22 + .../src/PHPStan/ClientCallReturnTypes.php | 24 +- .../Tiet9CA94C00/Tiet93662966.php} | 84 ++- .../Tiet4D165B48/TietE1DB3DED.php} | 6 +- .../TietC038C733/TietA4C8FBB4.php} | 84 ++- .../src/Schema/AppPermissions.php | 4 +- .../Request/ApplicationJson.php | 2 +- .../ScopeToken/Request/ApplicationJson.php | 2 +- .../src/Schema/Authorization.php | 2 +- .../src/Schema/CustomPropertySetPayload.php | 22 +- .../src/Schema/Event.php | 77 +++ .../src/Schema/Event/Payload.php | 77 +++ .../src/Schema/Installation.php | 2 +- .../src/Schema/InstallationToken.php | 2 +- .../src/Schema/Issue.php | 80 ++- .../src/Schema/IssueEvent.php | 77 +++ .../src/Schema/IssueSearchResultItem.php | 80 ++- .../src/Schema/IssueType.php | 108 ++++ .../Issues/Create/Request/ApplicationJson.php | 16 +- .../Issues/Update/Request/ApplicationJson.php | 16 +- .../Response/ApplicationJson/Ok.php | 2 +- .../ApplicationJson/Ok/Application/Json.php | 2 +- .../Response/ApplicationJson/Ok.php | 2 +- .../Response/ApplicationJson/Ok.php | 87 +++ .../Schema/OrganizationCreateIssueType.php | 79 +++ .../Schema/OrganizationUpdateIssueType.php | 79 +++ .../src/Schema/ScopedInstallation.php | 2 +- .../Schema/TimelineCrossReferencedEvent.php | 77 +++ .../TimelineCrossReferencedEvent/Source.php | 77 +++ .../src/Schema/TimelineIssueEvents.php | 67 +++ .../src/Schema/WebhookInstallationCreated.php | 2 +- .../src/Schema/WebhookInstallationDeleted.php | 2 +- ...hookInstallationNewPermissionsAccepted.php | 2 +- .../WebhookInstallationRepositoriesAdded.php | 2 +- ...WebhookInstallationRepositoriesRemoved.php | 2 +- .../src/Schema/WebhookInstallationSuspend.php | 2 +- .../Schema/WebhookInstallationUnsuspend.php | 2 +- .../src/Schema/WebhookIssueCommentCreated.php | 77 +++ .../WebhookIssueCommentCreated/Issue.php | 80 ++- .../src/Schema/WebhookIssueCommentDeleted.php | 77 +++ .../WebhookIssueCommentDeleted/Issue.php | 80 ++- .../src/Schema/WebhookIssueCommentEdited.php | 77 +++ .../WebhookIssueCommentEdited/Issue.php | 2 +- .../src/Schema/WebhookIssuesAssigned.php | 77 +++ .../src/Schema/WebhookIssuesClosed.php | 77 +++ .../src/Schema/WebhookIssuesClosed/Issue.php | 80 ++- .../src/Schema/WebhookIssuesDeleted.php | 77 +++ .../src/Schema/WebhookIssuesDeleted/Issue.php | 80 ++- .../src/Schema/WebhookIssuesDemilestoned.php | 77 +++ .../WebhookIssuesDemilestoned/Issue.php | 80 ++- .../src/Schema/WebhookIssuesEdited.php | 77 +++ .../src/Schema/WebhookIssuesEdited/Issue.php | 80 ++- .../src/Schema/WebhookIssuesLabeled.php | 77 +++ .../src/Schema/WebhookIssuesLabeled/Issue.php | 80 ++- .../src/Schema/WebhookIssuesLocked.php | 77 +++ .../src/Schema/WebhookIssuesLocked/Issue.php | 80 ++- .../src/Schema/WebhookIssuesMilestoned.php | 77 +++ .../Schema/WebhookIssuesMilestoned/Issue.php | 80 ++- .../src/Schema/WebhookIssuesOpened.php | 77 +++ .../src/Schema/WebhookIssuesOpened/Issue.php | 80 ++- .../src/Schema/WebhookIssuesPinned.php | 77 +++ .../src/Schema/WebhookIssuesReopened.php | 77 +++ .../Schema/WebhookIssuesReopened/Issue.php | 80 ++- .../src/Schema/WebhookIssuesTransferred.php | 154 +++++ .../WebhookIssuesTransferred/Changes.php | 77 +++ .../Changes/NewIssue.php | 2 +- .../src/Schema/WebhookIssuesUnassigned.php | 77 +++ .../src/Schema/WebhookIssuesUnlabeled.php | 77 +++ .../src/Schema/WebhookIssuesUnlocked.php | 77 +++ .../Schema/WebhookIssuesUnlocked/Issue.php | 80 ++- .../src/Schema/WebhookIssuesUnpinned.php | 77 +++ .../WebhookSubIssuesParentIssueAdded.php | 154 +++++ .../WebhookSubIssuesParentIssueRemoved.php | 154 +++++ .../Schema/WebhookSubIssuesSubIssueAdded.php | 154 +++++ .../WebhookSubIssuesSubIssueRemoved.php | 154 +++++ .../src/Schema/WebhooksIssue.php | 2 +- .../src/Schema/WebhooksIssue2.php | 2 +- .../Issues/ListForOrgListingTest.php | 7 +- .../Operation/Issues/ListForOrgTest.php | 7 +- .../Issues/ListForRepoListingTest.php | 21 +- .../Operation/Issues/ListForRepoTest.php | 21 +- .../Operation/Orgs/CreateIssueTypeTest.php | 123 ++++ .../Operation/Orgs/DeleteIssueTypeTest.php | 128 +++++ .../Operation/Orgs/ListIssueTypesTest.php | 57 ++ .../Operation/Orgs/UpdateIssueTypeTest.php | 126 ++++ .../tests/Types/ClientCallReturnTypes.php | 12 +- .../GitHubEnterpriseCloud/current.spec.yaml | 395 ++++++++++++- 135 files changed, 9740 insertions(+), 257 deletions(-) create mode 100644 clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Orgs/Org/IssueTypes.php create mode 100644 clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Orgs/Org/IssueTypes/IssueTypeId.php create mode 100644 clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/CreateIssueType.php create mode 100644 clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/DeleteIssueType.php create mode 100644 clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/ListIssueTypes.php create mode 100644 clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/UpdateIssueType.php create mode 100644 clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/CreateIssueType.php create mode 100644 clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/DeleteIssueType.php create mode 100644 clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/ListIssueTypes.php create mode 100644 clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/UpdateIssueType.php rename clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/{TietE95861A6/Tiet6F267F34/Tiet29FE7B1A/TietFE49DAD1.php => Tiet9EBC0D4B/TietC16E8FDD/Tiet9CA94C00/Tiet93662966.php} (95%) rename clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/{Tiet69A6FC90/TietEF30F65A/Tiet9798C033/Tiet5960D0A8.php => TietA6754E69/Tiet89E7A5A9/Tiet4D165B48/TietE1DB3DED.php} (99%) rename clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/{Tiet1C2726FB/TietF6272968/Tiet3A73798C/Tiet25DBF1C9.php => TietB36AF9FB/Tiet084E90A3/TietC038C733/TietA4C8FBB4.php} (95%) create mode 100644 clients/GitHubEnterpriseCloud/src/Schema/IssueType.php create mode 100644 clients/GitHubEnterpriseCloud/src/Schema/OrganizationCreateIssueType.php create mode 100644 clients/GitHubEnterpriseCloud/src/Schema/OrganizationUpdateIssueType.php create mode 100644 clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/CreateIssueTypeTest.php create mode 100644 clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/DeleteIssueTypeTest.php create mode 100644 clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/ListIssueTypesTest.php create mode 100644 clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/UpdateIssueTypeTest.php diff --git a/clients/GitHubEnterpriseCloud/README.md b/clients/GitHubEnterpriseCloud/README.md index 9ed1b5bc649..7ea9bff080f 100644 --- a/clients/GitHubEnterpriseCloud/README.md +++ b/clients/GitHubEnterpriseCloud/README.md @@ -9392,6 +9392,90 @@ $client->operations()->orgs()->listInvitationTeamsListing( org: 'generate You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams). +### orgs/list-issue-types + +List issue types for an organization + +Using the `call` method: +```php +$client->call('GET /orgs/{org}/issue-types', [ + 'org' => 'generated', +]); +``` + +Operations method: +```php +$client->operations()->orgs()->listIssueTypes( org: 'generated', +); +``` + +You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization). + + +### orgs/create-issue-type + +Create issue type for an organization + +Using the `call` method: +```php +$client->call('POST /orgs/{org}/issue-types', [ + 'org' => 'generated', +]); +``` + +Operations method: +```php +$client->operations()->orgs()->createIssueType( org: 'generated', +); +``` + +You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization). + + +### orgs/update-issue-type + +Update issue type for an organization + +Using the `call` method: +```php +$client->call('PUT /orgs/{org}/issue-types/{issue_type_id}', [ + 'org' => 'generated', + 'issue_type_id' => 13, +]); +``` + +Operations method: +```php +$client->operations()->orgs()->updateIssueType( org: 'generated', + issue_type_id: 13, +); +``` + +You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization). + + +### orgs/delete-issue-type + +Delete issue type for an organization + +Using the `call` method: +```php +$client->call('DELETE /orgs/{org}/issue-types/{issue_type_id}', [ + 'org' => 'generated', + 'issue_type_id' => 13, +]); +``` + +Operations method: +```php +$client->operations()->orgs()->deleteIssueType( org: 'generated', + issue_type_id: 13, +); +``` + +You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization). + + ### issues/list-for-org List organization issues assigned to the authenticated user @@ -9401,6 +9485,7 @@ Using the `call` method: $client->call('GET /orgs/{org}/issues', [ 'org' => 'generated', 'labels' => 'generated', + 'type' => 'generated', 'since' => '1970-01-01T00:00:00+00:00', 'filter' => 'generated', 'state' => 'generated', @@ -9415,6 +9500,7 @@ Operations method: ```php $client->operations()->issues()->listForOrg( org: 'generated', labels: 'generated', + type: 'generated', since: '1970-01-01T00:00:00+00:00', filter: 'generated', state: 'generated', @@ -9437,6 +9523,7 @@ Using the `call` method: $client->call('LIST /orgs/{org}/issues', [ 'org' => 'generated', 'labels' => 'generated', + 'type' => 'generated', 'since' => '1970-01-01T00:00:00+00:00', 'filter' => 'generated', 'state' => 'generated', @@ -9451,6 +9538,7 @@ Operations method: ```php $client->operations()->issues()->listForOrgListing( org: 'generated', labels: 'generated', + type: 'generated', since: '1970-01-01T00:00:00+00:00', filter: 'generated', state: 'generated', @@ -22276,6 +22364,7 @@ $client->call('GET /repos/{owner}/{repo}/issues', [ 'repo' => 'generated', 'milestone' => 'generated', 'assignee' => 'generated', + 'type' => 'generated', 'creator' => 'generated', 'mentioned' => 'generated', 'labels' => 'generated', @@ -22294,6 +22383,7 @@ $client->operations()->issues()->listForRepo( owner: 'generated', repo: 'generated', milestone: 'generated', assignee: 'generated', + type: 'generated', creator: 'generated', mentioned: 'generated', labels: 'generated', @@ -22320,6 +22410,7 @@ $client->call('LIST /repos/{owner}/{repo}/issues', [ 'repo' => 'generated', 'milestone' => 'generated', 'assignee' => 'generated', + 'type' => 'generated', 'creator' => 'generated', 'mentioned' => 'generated', 'labels' => 'generated', @@ -22338,6 +22429,7 @@ $client->operations()->issues()->listForRepoListing( owner: 'generated', repo: 'generated', milestone: 'generated', assignee: 'generated', + type: 'generated', creator: 'generated', mentioned: 'generated', labels: 'generated', diff --git a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state index 8b5bd137f84..c8e1d2d79ac 100644 --- a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state +++ b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "ad7ffa61f67e4015ad76b20ec07feda6", + "specHash": "18d1649ae731235428cf7dff63fe488a", "generatedFiles": { "files": [ { @@ -84,11 +84,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AppPermissions.php", - "hash": "f52311cdeb4b9a90810d455b7a6f5c0f" + "hash": "481deb3e78a529baa06c3b1b6044cbb7" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Installation.php", - "hash": "1f44bd2c0ac9d842732255c9ff6be9bc" + "hash": "54377100959f0866d4c20bbd1569d390" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/LicenseSimple.php", @@ -100,15 +100,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/InstallationToken.php", - "hash": "f19d42cbf670515515caf814c0e26544" + "hash": "f549540309e128094e4e3e0cd6312644" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ScopedInstallation.php", - "hash": "e4717ed3ff582613f62b1f4a34db858f" + "hash": "459ae78a7fd90bc11527d577af4b13c3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Authorization.php", - "hash": "5eed7be2c1c8e7c489236fa58484d496" + "hash": "a42c5d570cfdd142cef80cc29b0940fa" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeOfConduct.php", @@ -396,7 +396,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Issue.php", - "hash": "831b277d379974d4c0a9c95b29a4ed81" + "hash": "6997cf389a450705ecc07127f24fbeaa" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/IssueComment.php", @@ -404,7 +404,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Event.php", - "hash": "bdfc00fbec526928c144437851c5a12f" + "hash": "f4d2f8ac87bb1bb6f34d1337083ecbb3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/LinkWithType.php", @@ -1240,7 +1240,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/IssueEvent.php", - "hash": "053bb21def78b106b9316952b5e32312" + "hash": "c6d22af504e9610f066cbc357163ccde" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/LabeledIssueEvent.php", @@ -1316,7 +1316,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineCrossReferencedEvent.php", - "hash": "791e309490dcbf4c4716d3ba0eb2ed69" + "hash": "445a91481fe379cc52e709983b92e54c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineCommittedEvent.php", @@ -1352,7 +1352,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineIssueEvents.php", - "hash": "45d62d9c7cd3366bf1fc08de8362df6d" + "hash": "c9cde8ed5ebe68d6e61aa2afc60c5ca2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/DeployKey.php", @@ -1568,7 +1568,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/IssueSearchResultItem.php", - "hash": "f50ab6390c737bb731ef8a2baa971191" + "hash": "36300d7305286b691f5e38adea132cef" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/LabelSearchResultItem.php", @@ -1908,27 +1908,27 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookInstallationCreated.php", - "hash": "c342275968f0c403107783e1aeeccb24" + "hash": "3b70921285d4b80f42f1d5471578453d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookInstallationDeleted.php", - "hash": "daf6e8aaee51f728ae5387514a414c21" + "hash": "f8b9a803ae00aa38bcceb14e2104a563" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookInstallationNewPermissionsAccepted.php", - "hash": "a9deb34eb57cc7f45faa856f9a8b2f49" + "hash": "255f5ff6b00219827d186e8019f8e79f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookInstallationRepositoriesAdded.php", - "hash": "34edfc640f8a1bf4b085912d831e46c6" + "hash": "227516dfd6cea6189b2b5065643a5293" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookInstallationRepositoriesRemoved.php", - "hash": "edbcb39a01521bb83d2fd4ddf470f42e" + "hash": "b14e50c3dcb20664a5dacba26b1d59c7" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookInstallationSuspend.php", - "hash": "d92cd947802501832228467d8b9de67a" + "hash": "2689a90158fae248805c1bfaaf45cdc4" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookInstallationTargetRenamed.php", @@ -1936,83 +1936,83 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookInstallationUnsuspend.php", - "hash": "ace3fb290e6097ce0200112bc405c9b9" + "hash": "59250e1711a8fdc457ce32de918e5f0b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssueCommentCreated.php", - "hash": "2423cd737b61aa607e9cf37309fca59e" + "hash": "5e5ee5134016f27b50e0ff6717a8effb" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssueCommentDeleted.php", - "hash": "9f09f44fc822ec74849f45f2da0de842" + "hash": "82f4c239cb18eecdaebdae38b4707c3c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssueCommentEdited.php", - "hash": "b9c2bd1084f98e6499279a31c477a63e" + "hash": "cc6d0178df8fbcbe0156671b4ade8256" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesAssigned.php", - "hash": "c4110ee0efe42c24478724e3e2e422dc" + "hash": "42f21725a1ffbd7001c4faf95ee87853" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesClosed.php", - "hash": "6b3f60ef9197501abc1c4c6ec9f11f66" + "hash": "a30e10d1acddcd890460c623db7a7e77" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesDeleted.php", - "hash": "a1460dcec01b8e03944fe1bfdf005c39" + "hash": "40cb79c33e127c5e64a6c95c3d5125c6" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesDemilestoned.php", - "hash": "e68aa957cd829e566cc657d9f3b4febd" + "hash": "6f2a548c2ef672cf2b7d91b1dbcf84fc" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesEdited.php", - "hash": "a09fd2ea8aac4b438921425dfe3b6b06" + "hash": "86e8714b32ce18677be2429fe4300b22" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesLabeled.php", - "hash": "09130193ec462e013999016a79a416a7" + "hash": "b03a1baff75bf758f55e1de21cba5b45" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesLocked.php", - "hash": "b81d594113bee3544336aa5db634bdc8" + "hash": "ae67dc6f834fae32745969cbb127786b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesMilestoned.php", - "hash": "908ff4ed390fb254af9f33d87497bc66" + "hash": "35329172bb6b95385ac6b82bf4f6922c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesOpened.php", - "hash": "0317bf18f28c471dcc911996cf22757f" + "hash": "1446bd78aaed17abd872cb5eceb43e1c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesPinned.php", - "hash": "528c6595990d2c2c508b8b12350081d4" + "hash": "bc667171ca40fddab8cf80360a9167ea" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesReopened.php", - "hash": "db7c38585ee1122a3cf3e6d610b29eae" + "hash": "485dd4c8ce772aee18c059940ac786c4" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesTransferred.php", - "hash": "b9bd54289df5cbb070174d6cc2571fc0" + "hash": "4375bb396d59fd3b172c962d290d33ad" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesUnassigned.php", - "hash": "7cc0048314fc776d0e15f9b987846bbd" + "hash": "9d7bcd85fe78bb2067149b654e51827f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesUnlabeled.php", - "hash": "74ed7e8e68da4c5f04e3493a830ddf47" + "hash": "938ddeddb4521b175687cbe3838fab14" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesUnlocked.php", - "hash": "a7607a204112511201bcfcb69893cfac" + "hash": "c2817b1d38b037d1b5f8f864405de380" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesUnpinned.php", - "hash": "fc682f24a9dd2e9744bb4fa4cbf49a1a" + "hash": "258861a5646e4f1cf3b680437f44ca9e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookLabelCreated.php", @@ -2792,7 +2792,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Event\/Payload.php", - "hash": "93f39ad0c0a6a37c2aa9d01e4aabe57b" + "hash": "cec59982f4d62eab29a52e7852fccf32" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Event\/Payload\/Pages.php", @@ -3312,7 +3312,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineCrossReferencedEvent\/Source.php", - "hash": "e9ba570a80ca1ef1a03a8b3e558c27f3" + "hash": "6e1041e4ef0bc8f64e15ecf08c9f3724" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineReviewedEvent\/Links.php", @@ -3732,7 +3732,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssueCommentCreated\/Issue.php", - "hash": "64b90ba5e3d6a575a7b8061c8667b44f" + "hash": "6f320343b38db4f3eed76c68861a9d3f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssueCommentCreated\/Issue\/Assignee.php", @@ -3752,7 +3752,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssueCommentDeleted\/Issue.php", - "hash": "5bb598a16e5784b844ced7ada0102843" + "hash": "36876da53602a56a37dbe1f5053163dc" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssueCommentDeleted\/Issue\/PerformedViaGithubApp.php", @@ -3760,7 +3760,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssueCommentEdited\/Issue.php", - "hash": "ac0b6608ea6e5e42203b27a4a1f988db" + "hash": "726d13e5e6232a378f57bc421cfab4cc" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssueCommentEdited\/Issue\/PerformedViaGithubApp.php", @@ -3772,7 +3772,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesClosed\/Issue.php", - "hash": "796628b1e7219c126b3d808286bd1249" + "hash": "3942971beada952d4656be1ec0d67919" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesClosed\/Issue\/PerformedViaGithubApp.php", @@ -3780,7 +3780,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesDeleted\/Issue.php", - "hash": "95cea3f650f6d01714e5a0129a09d9e4" + "hash": "3048251d86f0427982a359ed81df455e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesDeleted\/Issue\/Milestone.php", @@ -3792,7 +3792,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesDemilestoned\/Issue.php", - "hash": "d00a788fe0fc0ef9bda58839434fcd44" + "hash": "1c1f5913d547235f18ef3333745d2b00" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesDemilestoned\/Issue\/PerformedViaGithubApp.php", @@ -3808,7 +3808,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesEdited\/Issue.php", - "hash": "72d053347bb3668188b333e386b3b424" + "hash": "366d8e51d3dbe57f0c812dfd22adc417" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesEdited\/Issue\/PerformedViaGithubApp.php", @@ -3816,7 +3816,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesLabeled\/Issue.php", - "hash": "9d4ea7653f4f7c6a30a09b6ce85659d8" + "hash": "c7470e2af7ad58c31ca2c0e88b8dd6f4" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesLabeled\/Issue\/PerformedViaGithubApp.php", @@ -3824,7 +3824,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesLocked\/Issue.php", - "hash": "6663d9ae9119b2b7218b3a3f4774ea75" + "hash": "312d514b812920ef158be8d2b50182b7" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesLocked\/Issue\/PerformedViaGithubApp.php", @@ -3832,7 +3832,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesMilestoned\/Issue.php", - "hash": "51f3c6c19304fd0888d0dfe9c6829dc8" + "hash": "5681def08bc3a590d1495b6cebb35c43" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesMilestoned\/Issue\/PerformedViaGithubApp.php", @@ -3852,11 +3852,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesOpened\/Issue.php", - "hash": "e057136b5c9811805bb6c9c1f77a2d74" + "hash": "e52b8fa7e1aa4cc45ea98d436638135d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesReopened\/Issue.php", - "hash": "7b3250fc3af8762bc1a6b8180b9da064" + "hash": "61a2ae84d61fcf580c352995aa20d301" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesReopened\/Issue\/PerformedViaGithubApp.php", @@ -3864,7 +3864,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesTransferred\/Changes.php", - "hash": "6681dca6b245a2093ddb027f15d7d965" + "hash": "058fc1c4a60859a1925714317f1393fb" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesTransferred\/Changes\/NewRepository.php", @@ -4580,7 +4580,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Apps\/CreateInstallationAccessToken\/Request\/ApplicationJson.php", - "hash": "5d434e2eb91b507be3f3d75d6d7db12e" + "hash": "8455a890a2918ccf05e91eb2b1295499" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Apps\/DeleteAuthorization\/Request\/ApplicationJson.php", @@ -4592,7 +4592,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Apps\/ScopeToken\/Request\/ApplicationJson.php", - "hash": "6e7d958586c82ba992237ab55d8b5f14" + "hash": "5d69c182fc42fa62aa9cdc66400d5c14" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/EnterpriseAdmin\/SetGithubActionsPermissionsEnterprise\/Request\/ApplicationJson.php", @@ -4872,7 +4872,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Orgs\/ListAppInstallations\/Response\/ApplicationJson\/Ok.php", - "hash": "e7de6d1aab74312fd2c85822b5c746c6" + "hash": "e0346619c43e844367335f1b6ea67c34" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Interactions\/GetRestrictionsForOrg\/Response\/ApplicationJson\/Ok.php", @@ -5444,7 +5444,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Issues\/Create\/Request\/ApplicationJson.php", - "hash": "84e2a714865f8ca0f12bb0c89a2d73f1" + "hash": "07580e388ceecc73471c1e88e00506ac" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Issues\/Create\/Request\/ApplicationJson\/Labels\/One.php", @@ -5460,7 +5460,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Issues\/Update\/Request\/ApplicationJson.php", - "hash": "575e5a93ebb26aa44489bfefd8366a4c" + "hash": "2288875012c72302d0e43b2a88cd1b55" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Issues\/AddAssignees\/Request\/ApplicationJson.php", @@ -5720,7 +5720,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Search\/IssuesAndPullRequests\/Response\/ApplicationJson\/Ok.php", - "hash": "b40192982cdd77723179adc111a8debf" + "hash": "f97e4d0d1d38db44d0cfe8988cd1fe9a" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Search\/Labels\/Response\/ApplicationJson\/Ok.php", @@ -5852,11 +5852,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/ClientInterface.php", - "hash": "86f633b0dfe7f8dd2ac523d9241f07cd" + "hash": "5bfbfdb532aa048e7e1c8450c06e32d3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Client.php", - "hash": "827082006de56b83d40dda3e8a68af6d" + "hash": "b5c2c8016771dc5e523c04100ac237a1" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/OperationsInterface.php", @@ -5920,7 +5920,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Issues.php", - "hash": "b4191035e2fce2587aa3fdae047b4d13" + "hash": "3270f7fa473fa6752de291306837c028" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Licenses.php", @@ -5932,7 +5932,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Orgs.php", - "hash": "8e0df58c86cb53ba8e29c144a10c18e6" + "hash": "cc6f5b9de1eb49eeac94652649efe5f5" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Oidc.php", @@ -9640,11 +9640,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesTransferred\/Changes\/NewIssue.php", - "hash": "368574e177d0fc2b450ba5a5eb38fbfb" + "hash": "f01d868574f980fa6965fcc0cc9cb5d3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookIssuesUnlocked\/Issue.php", - "hash": "51ede87aef3c7a164062d303f7b56624" + "hash": "4eef650239b04ee81545145341cae2eb" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookPullRequestReviewThreadResolved\/PullRequest\/Base\/Repo.php", @@ -11560,11 +11560,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Apps\/ListInstallationsForAuthenticatedUser\/Response\/ApplicationJson\/Ok.php", - "hash": "0359fc990f4bf3e022f8359cfd6d5fc0" + "hash": "9f43d348e84bf1cc31635469b24d9221" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Apps\/ListInstallationsForAuthenticatedUser\/Response\/ApplicationJson\/Ok\/Application\/Json.php", - "hash": "7c42b7847019b0b56939d1228e72cefc" + "hash": "22075bed9ce35610e38999f250483fd9" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietFA125E0A\/TietE31E9C15\/Tiet5F33BC89\/Tiet9EE2A17F.php", @@ -15700,27 +15700,27 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Issues\/ListForOrg.php", - "hash": "61f88835f0be8d86654c5273e8809a0d" + "hash": "518790e05935d3a60d84df1e95ad21eb" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForOrg.php", - "hash": "96bc6d46972096ec7046e29c2a54775d" + "hash": "eca2b81f40c9e235e16e47c28daf0df1" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForOrgTest.php", - "hash": "d36cd722963ed20cddfa88be74dc3cc6" + "hash": "8e9f1581a4e365dffe702603c3f6e0ce" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Issues\/ListForOrgListing.php", - "hash": "8bd3d5ece35d04232bf70912e3aab45c" + "hash": "e7a9016cadddccbcd3940e21f944e3f3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForOrgListing.php", - "hash": "49d3f876a9e24512285709b9e65eddfb" + "hash": "e69f9b0b563a4b298cf40f65c59a3bda" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForOrgListingTest.php", - "hash": "5336ebf607589dbd1ea9abbb5562bfd9" + "hash": "2827dd62e52d72ade8b5a68944714aae" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/ListMembers.php", @@ -20708,27 +20708,27 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Issues\/ListForRepo.php", - "hash": "c29d16fa537a7d151bd50dcb710dcf68" + "hash": "ab85e8844d5ecc895b92b4a2463c94a2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForRepo.php", - "hash": "14c745fb81ee66d927d3102f8a0bcef1" + "hash": "ff7dd241cb4d93662d37a3082bd8654b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForRepoTest.php", - "hash": "57ac5fea036be0c25b8dca5d259ad8fd" + "hash": "0ba7613fce5ea65fc18c5ffd901b1f65" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Issues\/ListForRepoListing.php", - "hash": "cc26ded628ab8cf6db8d70570f49648e" + "hash": "5f481d90fa7a7fbb6f5bd66705668841" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForRepoListing.php", - "hash": "386f1bc1366b57e2ed2530ea7271e136" + "hash": "8ecf8c422e321dfb446f677e06f9cce8" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForRepoListingTest.php", - "hash": "0264a06612b13de48eb0b83d3efc0161" + "hash": "3b19f349706be45cb276e4e2244cf550" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Issues\/Create.php", @@ -25948,7 +25948,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Issues.php", - "hash": "797bb76663c925fd838721381847cb08" + "hash": "dc41cf9029efa879e1016a7d0bbdf287" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Licenses.php", @@ -25956,7 +25956,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php", - "hash": "6d0070b7e209db7a5b686d7e4f6739ee" + "hash": "a1cdafae596ec967f1c710844b8273ad" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php", @@ -26072,7 +26072,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Orgs.php", - "hash": "b3e49a2bb6d97bdcf6329d78cc2b7093" + "hash": "967a2681f9e969d31637f624a78acf79" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Migrations.php", @@ -26260,7 +26260,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Issues.php", - "hash": "51b3b7fd2ce78144d3f76618568e2556" + "hash": "b614c51ae69605265caf3331d27bd257" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Migrations.php", @@ -26360,7 +26360,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Orgs.php", - "hash": "fb6a562275f0e8285708e59c364b0aa2" + "hash": "e699a98fcc7af6a18c815f698b436927" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Teams.php", @@ -26432,7 +26432,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Orgs.php", - "hash": "c4c6e36ecaf672e3b257dd0d85204bd8" + "hash": "45d19663972b683ec40c2a247f060156" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Codespaces.php", @@ -26512,11 +26512,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Four.php", - "hash": "d6567804fd9446c5594a3a7bb2be0cfb" + "hash": "531295d52f36356a7dea64d86080b61f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", - "hash": "f328c04c40d6e52bb27564ad7e5fe4dd" + "hash": "d234bd5be35dfd132687eac0c3a19879" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", @@ -26540,7 +26540,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Four.php", - "hash": "e9b2ce7a251c2d88723f8d54907429a1" + "hash": "70214c1aa503db75d40935c5b56b238d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php", @@ -26612,11 +26612,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Four.php", - "hash": "603ef2017db782aa7bb02ff55436588f" + "hash": "bda15b91cb864bf037f82fc1b5404b9b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php", - "hash": "cffa6649a4dfdaae443d62e1167029b3" + "hash": "ec0afc9b356751e04cec82954fa5f635" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Two.php", @@ -26648,7 +26648,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Five.php", - "hash": "ea683aac9ccdf4b965125256d50b13ff" + "hash": "5bc6d21952f3b14a6d89b282bec8f840" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Seven.php", @@ -26676,7 +26676,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Five.php", - "hash": "3e1dee7a6822aaf79bae4ee09ed0ca8c" + "hash": "4b03ac4f65264c0b97440477236edeec" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Seven.php", @@ -26724,7 +26724,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operators.php", - "hash": "25ef609cac26ea138b27e334b71b9c40" + "hash": "9892ddf856001c3a6609c80bd9122996" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Root.php", @@ -28152,7 +28152,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Issues.php", - "hash": "f0fc4ac80ad8d6be790df27dc4ed0764" + "hash": "23a970932f0303ee23670fb90f840725" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Issues\/Comments.php", @@ -28172,15 +28172,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Issues\/Events\/EventId.php", - "hash": "f7b6d3ab3f2a3447778573a3bafead00" + "hash": "548ecfda02c2c4559bf82f2bde24699c" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Issues\/IssueNumber.php", - "hash": "45b3efb1280385d23e364647cf5be5c9" + "hash": "8e7b050e606c56abd875a5e4fc5b6cb9" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Issues\/IssueNumber\/Assignees.php", - "hash": "1539156e462ca62264abf2e4b969ebf0" + "hash": "91fea949b414d4ffc2ed38316bbcc781" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Issues\/IssueNumber\/Assignees\/Assignee.php", @@ -28896,7 +28896,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrators.php", - "hash": "9ecae9b18242cdbfb18a96b77bfe6688" + "hash": "e95fa6ac4b12286c44af440c56e8d62b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php", @@ -29692,11 +29692,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "b19ba39894d40130c81f94c9110a7c2c" + "hash": "6cd15035b505ded8f37dc8331ca30018" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "74c78d54535006c4114ff7030ea4d609" + "hash": "d0fba86b8df6d4330bd56aee3f3c7a7d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -30084,11 +30084,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/IssueComment.php", - "hash": "14f09df22bad19c9109f78e9eac971cb" + "hash": "72c782100813b0e2a2c6af7445c6b9e9" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/Issues.php", - "hash": "ac247b1432bd75103b0e4d9282a2ffe9" + "hash": "c177cd5fc49b8e94e3ee4614707bdbbf" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/Label.php", @@ -31020,7 +31020,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhooksIssue.php", - "hash": "ca81f3ea531271db77070cc23597e12c" + "hash": "06c9422888c4612f3c260bf47074f09b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhooksMilestone.php", @@ -31028,7 +31028,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhooksIssue2.php", - "hash": "f39953ec1c5b261a09f329a33d6e75e4" + "hash": "d4bd6b74fe55355612e844df95fba47f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhooksIssueComment\/User.php", @@ -32436,19 +32436,19 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookSubIssuesParentIssueAdded.php", - "hash": "057bc7943eda84201a21ebf48d80d231" + "hash": "1ea743d770cc462d256579c05731328d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookSubIssuesParentIssueRemoved.php", - "hash": "1c41f96831038f65a0616e75f094ff36" + "hash": "ce4a7df6abf62765a0a2c389f71de837" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookSubIssuesSubIssueAdded.php", - "hash": "5e75c5fa817e4a6ca56da0949ed6df06" + "hash": "11f86876621d5aec4faf4d704ee8f315" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookSubIssuesSubIssueRemoved.php", - "hash": "4e04ffa9a918f3e29250377e7ae8c895" + "hash": "5e4180086cf56c9f53616cca41ea4881" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ApiOverview\/Domains\/ArtifactAttestations.php", @@ -32460,7 +32460,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/SubIssues.php", - "hash": "a23382fe5d4c7c5dc99213844d06a009" + "hash": "bf8de36b5341f1733aea1da5cce398e9" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/OrganizationCustomOrganizationRoleCreateSchema.php", @@ -32654,10 +32654,6 @@ "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet29079B92\/Tiet92F1916E\/TietBFF93EA5\/Tiet7B2A3E78.php", "hash": "f04b6ce00cf314e968479d6d8c1c0332" }, - { - "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet69A6FC90\/TietEF30F65A\/Tiet9798C033\/Tiet5960D0A8.php", - "hash": "868d658a27fc2653bdcc9d7d309878c7" - }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet85585ED2\/Tiet3C9F8BE1\/Tiet00D390FB\/TietB6D35F1D.php", "hash": "add1247ff1dfa0e788b47e2bbe3a7fbf" @@ -33402,14 +33398,6 @@ "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SubIssuesSummary.php", "hash": "c6b0bf74f2a1c1916be9985a954665df" }, - { - "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet1C2726FB\/TietF6272968\/Tiet3A73798C\/Tiet25DBF1C9.php", - "hash": "15dab8f6735263505c7f055303c96e98" - }, - { - "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietE95861A6\/Tiet6F267F34\/Tiet29FE7B1A\/TietFE49DAD1.php", - "hash": "b991d502c07b0b7a64816561fd8ab588" - }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Issues\/RemoveSubIssue\/Request\/ApplicationJson.php", "hash": "fdce9bf1fa43cb9f132e61e71e7d909c" @@ -33424,15 +33412,15 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Issues\/IssueNumber\/SubIssue.php", - "hash": "04a9d54f087a106b40dd0c5e1d99f57e" + "hash": "dbc2588b71746c473798aab033777acb" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Issues\/IssueNumber\/SubIssues.php", - "hash": "d7d23149a310ab6f34d91bc988c25a86" + "hash": "87db5bd872416de0d487eedb0ab91292" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Issues\/IssueNumber\/SubIssues\/Priority.php", - "hash": "e33d5022718744664697383f1f000b39" + "hash": "c6dc79e6c9a73c8b5331bfd382e9a73b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/GetEnterpriseCustomProperties.php", @@ -33568,7 +33556,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CustomPropertySetPayload.php", - "hash": "efd47d90d6bd4d923cd3e932c7c0726c" + "hash": "20c2c97db4b2570b305d08d9242e46de" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/EnterpriseRulesetConditionsOrganizationNameTarget.php", @@ -35237,6 +35225,86 @@ { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietE8D41C9A\/Tiet1255E585\/Tiet44FA9DEE\/Tiet93E2B36C.php", "hash": "473f2fc88d675f22c42d3956a341429d" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/ListIssueTypes.php", + "hash": "70c95fb82da091e53f64722a3b81895e" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListIssueTypes.php", + "hash": "1f238879f52bc59cba8460b95f707f6c" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListIssueTypesTest.php", + "hash": "b50704ef0621eef3cf1ce60015bb0643" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/CreateIssueType.php", + "hash": "ffa06a064085c27598899c66dfcd6545" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/CreateIssueType.php", + "hash": "28c0dfbae03429f1409a0f58f91eb030" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/CreateIssueTypeTest.php", + "hash": "e5a0b98dafb64f5b126a5626d4585d74" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/UpdateIssueType.php", + "hash": "34d3e418de534211df3ecac65640cb1a" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/UpdateIssueType.php", + "hash": "928901ba842376feb311e692e18f9701" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/UpdateIssueTypeTest.php", + "hash": "bde4745cb70b10abddea43c72e79d652" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/DeleteIssueType.php", + "hash": "f7c3599ed535ad291b4fc350531297f0" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/DeleteIssueType.php", + "hash": "f181aeb70ae07bfa68cf112f064eccb1" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/DeleteIssueTypeTest.php", + "hash": "88c89bd26d9c6051058fc72a562bbef9" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/IssueType.php", + "hash": "b8406da51cc123fcfaf8aacccf26e733" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/OrganizationCreateIssueType.php", + "hash": "c34c199214ae584ff64c6a7512905a5a" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/OrganizationUpdateIssueType.php", + "hash": "970f21e8d3de5b3723c8a206aa567fb3" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietB36AF9FB\/Tiet084E90A3\/TietC038C733\/TietA4C8FBB4.php", + "hash": "30eaa237c310f764408bf2158c18eb89" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet9EBC0D4B\/TietC16E8FDD\/Tiet9CA94C00\/Tiet93662966.php", + "hash": "635c686bb3ce525e82c7330f7d7002e9" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietA6754E69\/Tiet89E7A5A9\/Tiet4D165B48\/TietE1DB3DED.php", + "hash": "4fbb6b71d53df1ceb42c2d230155bcdd" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/IssueTypes.php", + "hash": "caa2e1a0b3c5533e455bc447eb53df68" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/IssueTypes\/IssueTypeId.php", + "hash": "ff25c7a1809d2639f9a89df7c17374c1" } ] }, diff --git a/clients/GitHubEnterpriseCloud/src/Client.php b/clients/GitHubEnterpriseCloud/src/Client.php index 6db4c65f259..4284ac2b500 100644 --- a/clients/GitHubEnterpriseCloud/src/Client.php +++ b/clients/GitHubEnterpriseCloud/src/Client.php @@ -27,7 +27,7 @@ public function __construct(AuthenticationInterface $authentication, Browser $br } // phpcs:disable - public function call(string $call, array $params = []): \ApiClients\Client\GitHubEnterpriseCloud\Schema\Root|iterable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GlobalAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookConfig|\ApiClients\Client\GitHubEnterpriseCloud\Schema\HookDelivery|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Installation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\InstallationToken|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Authorization|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ClassroomAssignment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Classroom|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeOfConduct|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Emojis\Get\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheUsageOrgEnterprise|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListHostedRunnersForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsHostedRunner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersGithubOwnedImagesForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPartnerImagesForEnterprise\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsHostedRunnerLimits|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersMachineSpecsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsEnterprisePermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelectedOrganizationsEnabledGithubActionsEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SelectedActions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsGetDefaultWorkflowPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnerGroupsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RunnerGroupsEnterprise|\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\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AuthenticationToken|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Runner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListLabelsForSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\RemoveAllCustomLabelsFromSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AnnouncementBanner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AuditLogStreamKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GetAuditLogStreamConfig|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeSecurityConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\AttachEnterpriseConfiguration\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\SetConfigurationAsDefaultForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\EnterpriseSecurityAnalysisSettings|string|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeatsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\HostedCompute\ListNetworkConfigurationsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\NetworkConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\NetworkSettings|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CustomProperty|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryRuleset|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RulesetVersion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AdvancedSecurityActiveCommitters|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GetAllCostCenters|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Billing\AddResourceToCostCenter\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Billing\RemoveResourceFromCostCenter\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PackagesBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CombinedBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BillingUsageReport|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Feed|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GistSimple|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GistComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BaseGist|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitignoreTemplate|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListReposAccessibleToInstallation\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\License|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MarketplacePurchase|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ApiOverview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Activity\MarkNotificationsAsRead\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Thread|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ThreadSubscription|\Psr\Http\Message\ResponseInterface|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListCustomRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationFull|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\Delete\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListHostedRunnersForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersGithubOwnedImagesForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPartnerImagesForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersMachineSpecsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OidcCustomSub|\ApiClients\Client\GitHubEnterpriseCloud\Schema\EmptyObject|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsOrganizationPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnerGroupsForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RunnerGroupsOrg|\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\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationActionsSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationActionsVariable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\AttachConfiguration\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\SetConfigurationAsDefault\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesOrgSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CopilotOrganizationDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForTeams\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForTeams\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForUsers\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListCustomRepoRoles\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationCustomRepositoryRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationDependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ExternalGroup|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ExternalGroups|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgHook|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ApiInsightsSummaryStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAppInstallations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\InteractionLimitResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForOrg\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationInvitation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Codespace|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CopilotSeatDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgMembership|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Migration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListOrgRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Package|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PackageVersion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ReviewPatGrantRequestsInBulk\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\UpdatePatAccesses\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\ListOrgPrivateRegistries\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgPrivateRegistryConfigurationWithSelectedRepositories|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\GetOrgPublicKey\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgPrivateRegistryConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Project|\ApiClients\Client\GitHubEnterpriseCloud\Schema\FullRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RuleSuite|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\HostedCompute\ListNetworkConfigurationsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GroupMapping|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamFull|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamDiscussion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamDiscussionComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Reaction|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamMembership|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamProject|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectCard|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectColumn|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveColumn\Response\ApplicationJson\Created\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RateLimitOverview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Artifact|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheUsageByRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Job|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OidcCustomSubRepo|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsRepositoryPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsWorkflowAccessToRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowRun|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunArtifacts\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRunAttempt\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowRunUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsVariable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Workflow|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CreateAttestation\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Autolink|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckAutomatedSecurityFixes|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchWithProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranch|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranchAdminEnforced|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranchPullRequestReview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\StatusCheckPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchRestrictionPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PushRuleBypassRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningBypassRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\SecretScanning\ReviewBypassRequest\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckRun|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckSuite|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckSuitePreference|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAutofix|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAutofixCommitsResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAnalysis|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAnalysisDeletion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningCodeqlDatabase|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningVariantAnalysis|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningVariantAnalysisRepoTask|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningDefaultSetup|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningDefaultSetupUpdateResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningSarifsReceipt|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningSarifsStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeSecurityConfigurationForRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeownersErrors|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepoCodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryInvitation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommitComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Commit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CombinedCommitStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommunityProfile|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommitComparison|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentDirectory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentFile|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentSymlink|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentSubmodule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\FileCommit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependencyGraphSpdxSbom|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Deployment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Environment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentBranchPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentProtectionRule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ShortBlob|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Blob|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitCommit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitRef|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitTag|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitTree|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Hook|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Import|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PorterAuthor|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForRepo\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue|\ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueEvent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeployKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Label|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Language|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\EnableLfsForRepo\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseContent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MergedUpstream|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Page|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageBuildStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageBuild|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageDeployment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PagesDeploymentStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PagesHealthCheck|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReviewComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestMergeResult|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReviewRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestSimple|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Pulls\UpdateBranch\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Release|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ReleaseAsset|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ReleaseNotesContent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningPushProtectionBypass|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningScanHistory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Stargazer|\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ParticipationStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Status|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositorySubscription|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TagProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Topic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CloneTraffic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ViewTraffic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MinimalRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimEnterpriseGroupList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GroupResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimEnterpriseUserList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\UserResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUserList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Code\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Users\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PrivateUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PublicUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSecretsForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesUserPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\DeleteForAuthenticatedUser\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespaceExportDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespaceWithFullRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GpgKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Key|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SshSigningKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Hovercard|\ApiClients\Client\GitHubEnterpriseCloud\Schema\StarredRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository + public function call(string $call, array $params = []): \ApiClients\Client\GitHubEnterpriseCloud\Schema\Root|iterable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GlobalAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookConfig|\ApiClients\Client\GitHubEnterpriseCloud\Schema\HookDelivery|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Installation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\InstallationToken|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Authorization|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ClassroomAssignment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Classroom|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeOfConduct|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Emojis\Get\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheUsageOrgEnterprise|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListHostedRunnersForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsHostedRunner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersGithubOwnedImagesForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPartnerImagesForEnterprise\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsHostedRunnerLimits|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersMachineSpecsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsEnterprisePermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelectedOrganizationsEnabledGithubActionsEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SelectedActions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsGetDefaultWorkflowPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnerGroupsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RunnerGroupsEnterprise|\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\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AuthenticationToken|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Runner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListLabelsForSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\RemoveAllCustomLabelsFromSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AnnouncementBanner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AuditLogStreamKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GetAuditLogStreamConfig|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeSecurityConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\AttachEnterpriseConfiguration\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\SetConfigurationAsDefaultForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\EnterpriseSecurityAnalysisSettings|string|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeatsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\HostedCompute\ListNetworkConfigurationsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\NetworkConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\NetworkSettings|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CustomProperty|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryRuleset|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RulesetVersion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AdvancedSecurityActiveCommitters|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GetAllCostCenters|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Billing\AddResourceToCostCenter\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Billing\RemoveResourceFromCostCenter\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PackagesBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CombinedBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BillingUsageReport|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Feed|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GistSimple|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GistComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BaseGist|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitignoreTemplate|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListReposAccessibleToInstallation\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\License|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MarketplacePurchase|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ApiOverview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Activity\MarkNotificationsAsRead\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Thread|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ThreadSubscription|\Psr\Http\Message\ResponseInterface|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListCustomRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationFull|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\Delete\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListHostedRunnersForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersGithubOwnedImagesForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPartnerImagesForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersMachineSpecsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OidcCustomSub|\ApiClients\Client\GitHubEnterpriseCloud\Schema\EmptyObject|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsOrganizationPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnerGroupsForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RunnerGroupsOrg|\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\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationActionsSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationActionsVariable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\AttachConfiguration\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\SetConfigurationAsDefault\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesOrgSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CopilotOrganizationDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForTeams\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForTeams\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForUsers\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListCustomRepoRoles\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationCustomRepositoryRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationDependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ExternalGroup|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ExternalGroups|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgHook|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ApiInsightsSummaryStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAppInstallations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\InteractionLimitResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForOrg\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationInvitation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Codespace|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CopilotSeatDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgMembership|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Migration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListOrgRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Package|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PackageVersion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ReviewPatGrantRequestsInBulk\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\UpdatePatAccesses\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\ListOrgPrivateRegistries\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgPrivateRegistryConfigurationWithSelectedRepositories|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\GetOrgPublicKey\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgPrivateRegistryConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Project|\ApiClients\Client\GitHubEnterpriseCloud\Schema\FullRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RuleSuite|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\HostedCompute\ListNetworkConfigurationsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GroupMapping|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamFull|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamDiscussion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamDiscussionComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Reaction|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamMembership|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamProject|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectCard|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectColumn|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveColumn\Response\ApplicationJson\Created\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RateLimitOverview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Artifact|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheUsageByRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Job|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OidcCustomSubRepo|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsRepositoryPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsWorkflowAccessToRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowRun|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunArtifacts\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRunAttempt\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowRunUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsVariable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Workflow|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CreateAttestation\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Autolink|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckAutomatedSecurityFixes|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchWithProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranch|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranchAdminEnforced|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranchPullRequestReview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\StatusCheckPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchRestrictionPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PushRuleBypassRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningBypassRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\SecretScanning\ReviewBypassRequest\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckRun|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckSuite|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckSuitePreference|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAutofix|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAutofixCommitsResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAnalysis|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAnalysisDeletion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningCodeqlDatabase|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningVariantAnalysis|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningVariantAnalysisRepoTask|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningDefaultSetup|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningDefaultSetupUpdateResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningSarifsReceipt|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningSarifsStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeSecurityConfigurationForRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeownersErrors|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepoCodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryInvitation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommitComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Commit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CombinedCommitStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommunityProfile|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommitComparison|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentDirectory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentFile|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentSymlink|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentSubmodule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\FileCommit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependencyGraphSpdxSbom|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Deployment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Environment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentBranchPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentProtectionRule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ShortBlob|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Blob|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitCommit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitRef|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitTag|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitTree|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Hook|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Import|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PorterAuthor|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForRepo\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue|\ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueEvent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeployKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Label|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Language|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\EnableLfsForRepo\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseContent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MergedUpstream|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Page|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageBuildStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageBuild|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageDeployment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PagesDeploymentStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PagesHealthCheck|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReviewComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestMergeResult|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReviewRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestSimple|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Pulls\UpdateBranch\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Release|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ReleaseAsset|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ReleaseNotesContent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningPushProtectionBypass|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningScanHistory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Stargazer|\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ParticipationStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Status|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositorySubscription|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TagProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Topic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CloneTraffic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ViewTraffic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MinimalRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimEnterpriseGroupList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GroupResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimEnterpriseUserList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\UserResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUserList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Code\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Users\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PrivateUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PublicUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSecretsForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesUserPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\DeleteForAuthenticatedUser\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespaceExportDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespaceWithFullRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GpgKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Key|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SshSigningKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Hovercard|\ApiClients\Client\GitHubEnterpriseCloud\Schema\StarredRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository { [$method, $path] = explode(' ', $call); $pathChunks = explode('/', $path); diff --git a/clients/GitHubEnterpriseCloud/src/ClientInterface.php b/clients/GitHubEnterpriseCloud/src/ClientInterface.php index b4513d2b426..6fb7ac4cab4 100644 --- a/clients/GitHubEnterpriseCloud/src/ClientInterface.php +++ b/clients/GitHubEnterpriseCloud/src/ClientInterface.php @@ -7,7 +7,7 @@ interface ClientInterface { // phpcs:disable - public function call(string $call, array $params = []): \ApiClients\Client\GitHubEnterpriseCloud\Schema\Root|iterable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GlobalAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookConfig|\ApiClients\Client\GitHubEnterpriseCloud\Schema\HookDelivery|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Installation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\InstallationToken|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Authorization|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ClassroomAssignment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Classroom|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeOfConduct|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Emojis\Get\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheUsageOrgEnterprise|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListHostedRunnersForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsHostedRunner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersGithubOwnedImagesForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPartnerImagesForEnterprise\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsHostedRunnerLimits|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersMachineSpecsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsEnterprisePermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelectedOrganizationsEnabledGithubActionsEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SelectedActions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsGetDefaultWorkflowPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnerGroupsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RunnerGroupsEnterprise|\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\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AuthenticationToken|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Runner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListLabelsForSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\RemoveAllCustomLabelsFromSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AnnouncementBanner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AuditLogStreamKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GetAuditLogStreamConfig|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeSecurityConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\AttachEnterpriseConfiguration\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\SetConfigurationAsDefaultForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\EnterpriseSecurityAnalysisSettings|string|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeatsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\HostedCompute\ListNetworkConfigurationsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\NetworkConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\NetworkSettings|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CustomProperty|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryRuleset|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RulesetVersion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AdvancedSecurityActiveCommitters|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GetAllCostCenters|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Billing\AddResourceToCostCenter\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Billing\RemoveResourceFromCostCenter\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PackagesBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CombinedBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BillingUsageReport|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Feed|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GistSimple|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GistComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BaseGist|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitignoreTemplate|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListReposAccessibleToInstallation\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\License|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MarketplacePurchase|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ApiOverview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Activity\MarkNotificationsAsRead\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Thread|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ThreadSubscription|\Psr\Http\Message\ResponseInterface|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListCustomRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationFull|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\Delete\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListHostedRunnersForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersGithubOwnedImagesForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPartnerImagesForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersMachineSpecsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OidcCustomSub|\ApiClients\Client\GitHubEnterpriseCloud\Schema\EmptyObject|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsOrganizationPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnerGroupsForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RunnerGroupsOrg|\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\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationActionsSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationActionsVariable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\AttachConfiguration\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\SetConfigurationAsDefault\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesOrgSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CopilotOrganizationDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForTeams\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForTeams\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForUsers\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListCustomRepoRoles\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationCustomRepositoryRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationDependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ExternalGroup|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ExternalGroups|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgHook|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ApiInsightsSummaryStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAppInstallations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\InteractionLimitResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForOrg\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationInvitation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Codespace|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CopilotSeatDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgMembership|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Migration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListOrgRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Package|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PackageVersion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ReviewPatGrantRequestsInBulk\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\UpdatePatAccesses\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\ListOrgPrivateRegistries\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgPrivateRegistryConfigurationWithSelectedRepositories|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\GetOrgPublicKey\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgPrivateRegistryConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Project|\ApiClients\Client\GitHubEnterpriseCloud\Schema\FullRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RuleSuite|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\HostedCompute\ListNetworkConfigurationsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GroupMapping|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamFull|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamDiscussion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamDiscussionComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Reaction|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamMembership|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamProject|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectCard|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectColumn|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveColumn\Response\ApplicationJson\Created\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RateLimitOverview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Artifact|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheUsageByRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Job|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OidcCustomSubRepo|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsRepositoryPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsWorkflowAccessToRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowRun|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunArtifacts\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRunAttempt\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowRunUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsVariable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Workflow|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CreateAttestation\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Autolink|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckAutomatedSecurityFixes|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchWithProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranch|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranchAdminEnforced|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranchPullRequestReview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\StatusCheckPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchRestrictionPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PushRuleBypassRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningBypassRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\SecretScanning\ReviewBypassRequest\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckRun|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckSuite|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckSuitePreference|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAutofix|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAutofixCommitsResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAnalysis|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAnalysisDeletion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningCodeqlDatabase|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningVariantAnalysis|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningVariantAnalysisRepoTask|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningDefaultSetup|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningDefaultSetupUpdateResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningSarifsReceipt|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningSarifsStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeSecurityConfigurationForRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeownersErrors|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepoCodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryInvitation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommitComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Commit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CombinedCommitStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommunityProfile|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommitComparison|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentDirectory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentFile|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentSymlink|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentSubmodule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\FileCommit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependencyGraphSpdxSbom|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Deployment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Environment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentBranchPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentProtectionRule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ShortBlob|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Blob|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitCommit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitRef|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitTag|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitTree|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Hook|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Import|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PorterAuthor|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForRepo\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue|\ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueEvent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeployKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Label|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Language|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\EnableLfsForRepo\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseContent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MergedUpstream|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Page|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageBuildStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageBuild|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageDeployment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PagesDeploymentStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PagesHealthCheck|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReviewComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestMergeResult|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReviewRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestSimple|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Pulls\UpdateBranch\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Release|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ReleaseAsset|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ReleaseNotesContent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningPushProtectionBypass|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningScanHistory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Stargazer|\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ParticipationStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Status|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositorySubscription|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TagProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Topic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CloneTraffic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ViewTraffic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MinimalRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimEnterpriseGroupList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GroupResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimEnterpriseUserList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\UserResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUserList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Code\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Users\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PrivateUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PublicUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSecretsForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesUserPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\DeleteForAuthenticatedUser\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespaceExportDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespaceWithFullRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GpgKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Key|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SshSigningKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Hovercard|\ApiClients\Client\GitHubEnterpriseCloud\Schema\StarredRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository; + public function call(string $call, array $params = []): \ApiClients\Client\GitHubEnterpriseCloud\Schema\Root|iterable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GlobalAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookConfig|\ApiClients\Client\GitHubEnterpriseCloud\Schema\HookDelivery|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Installation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\InstallationToken|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Authorization|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ClassroomAssignment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Classroom|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeOfConduct|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Emojis\Get\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheUsageOrgEnterprise|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListHostedRunnersForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsHostedRunner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersGithubOwnedImagesForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPartnerImagesForEnterprise\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsHostedRunnerLimits|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersMachineSpecsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsEnterprisePermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelectedOrganizationsEnabledGithubActionsEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SelectedActions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsGetDefaultWorkflowPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnerGroupsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RunnerGroupsEnterprise|\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\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AuthenticationToken|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Runner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListLabelsForSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\RemoveAllCustomLabelsFromSelfHostedRunnerForEnterprise\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AnnouncementBanner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AuditLogStreamKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GetAuditLogStreamConfig|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeSecurityConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\AttachEnterpriseConfiguration\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\SetConfigurationAsDefaultForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\EnterpriseSecurityAnalysisSettings|string|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeatsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\HostedCompute\ListNetworkConfigurationsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\NetworkConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\NetworkSettings|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CustomProperty|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryRuleset|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RulesetVersion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\AdvancedSecurityActiveCommitters|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GetAllCostCenters|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Billing\AddResourceToCostCenter\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Billing\RemoveResourceFromCostCenter\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PackagesBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CombinedBillingUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BillingUsageReport|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Feed|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GistSimple|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GistComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BaseGist|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitignoreTemplate|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListReposAccessibleToInstallation\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\License|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MarketplacePurchase|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ApiOverview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Activity\MarkNotificationsAsRead\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Thread|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ThreadSubscription|\Psr\Http\Message\ResponseInterface|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListCustomRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationFull|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\Delete\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListHostedRunnersForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersGithubOwnedImagesForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPartnerImagesForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersMachineSpecsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OidcCustomSub|\ApiClients\Client\GitHubEnterpriseCloud\Schema\EmptyObject|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsOrganizationPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnerGroupsForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RunnerGroupsOrg|\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\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationActionsSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationActionsVariable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedReposForOrgVariable\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\AttachConfiguration\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeSecurity\SetConfigurationAsDefault\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesOrgSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CopilotOrganizationDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForTeams\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForTeams\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\AddCopilotSeatsForUsers\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\CancelCopilotSeatAssignmentForUsers\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListCustomRepoRoles\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationCustomRepositoryRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationDependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListSelectedReposForOrgSecret\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ExternalGroup|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ExternalGroups|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgHook|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ApiInsightsSummaryStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAppInstallations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\InteractionLimitResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForOrg\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationInvitation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\DeleteFromOrganization\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Codespace|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CopilotSeatDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgMembership|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Migration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListOrgRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Package|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PackageVersion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ReviewPatGrantRequestsInBulk\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\UpdatePatAccesses\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\ListOrgPrivateRegistries\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgPrivateRegistryConfigurationWithSelectedRepositories|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\GetOrgPublicKey\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgPrivateRegistryConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Project|\ApiClients\Client\GitHubEnterpriseCloud\Schema\FullRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RuleSuite|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\HostedCompute\ListNetworkConfigurationsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GroupMapping|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamFull|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamDiscussion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamDiscussionComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Reaction|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamMembership|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamProject|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TeamRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectCard|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectColumn|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Projects\MoveColumn\Response\ApplicationJson\Created\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RateLimitOverview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Artifact|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheUsageByRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsCacheList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Job|\ApiClients\Client\GitHubEnterpriseCloud\Schema\OidcCustomSubRepo|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsRepositoryPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsWorkflowAccessToRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\RemoveAllCustomLabelsFromSelfHostedRunnerForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowRun|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunArtifacts\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRunAttempt\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowRunUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ActionsVariable|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Workflow|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\WorkflowUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CreateAttestation\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Autolink|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckAutomatedSecurityFixes|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchWithProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranch|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranchAdminEnforced|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ProtectedBranchPullRequestReview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\StatusCheckPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\BranchRestrictionPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PushRuleBypassRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningBypassRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\SecretScanning\ReviewBypassRequest\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckRun|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckSuite|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckSuitePreference|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForSuite\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAutofix|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAutofixCommitsResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAnalysis|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAnalysisDeletion|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningCodeqlDatabase|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningVariantAnalysis|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningVariantAnalysisRepoTask|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningDefaultSetup|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningDefaultSetupUpdateResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningSarifsReceipt|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningSarifsStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeSecurityConfigurationForRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeownersErrors|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepoCodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryInvitation|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommitComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Commit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListForRef\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Checks\ListSuitesForRef\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CombinedCommitStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommunityProfile|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CommitComparison|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentDirectory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentFile|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentSymlink|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentSubmodule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\FileCommit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependabotSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DependencyGraphSpdxSbom|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Deployment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Environment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListDeploymentBranchPolicies\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentBranchPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllDeploymentProtectionRules\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeploymentProtectionRule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ShortBlob|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Blob|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitCommit|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitRef|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitTag|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GitTree|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Hook|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Import|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PorterAuthor|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForRepo\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue|\ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueEvent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\DeployKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Label|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Language|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\EnableLfsForRepo\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseContent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MergedUpstream|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Page|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageBuildStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageBuild|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PageDeployment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PagesDeploymentStatus|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PagesHealthCheck|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReviewComment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestMergeResult|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReviewRequest|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestSimple|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PullRequestReview|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Pulls\UpdateBranch\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Release|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ReleaseAsset|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ReleaseNotesContent|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningAlert|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningPushProtectionBypass|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningScanHistory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\SecurityAdvisories\CreateRepositoryAdvisoryCveRequest\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Stargazer|\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ParticipationStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Status|\ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositorySubscription|\ApiClients\Client\GitHubEnterpriseCloud\Schema\TagProtection|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Topic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CloneTraffic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ViewTraffic|\ApiClients\Client\GitHubEnterpriseCloud\Schema\MinimalRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimEnterpriseGroupList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GroupResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimEnterpriseUserList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\UserResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUserList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Code\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Users\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PrivateUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\PublicUser|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSecretsForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesUserPublicKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\DeleteForAuthenticatedUser\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespaceExportDetails|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\CodespaceWithFullRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\GpgKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Interactions\GetRestrictionsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json\One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Key|\ApiClients\Client\GitHubEnterpriseCloud\Schema\SshSigningKey|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Hovercard|\ApiClients\Client\GitHubEnterpriseCloud\Schema\StarredRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository; public function operations(): OperationsInterface; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Orgs/Org/IssueTypes.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Orgs/Org/IssueTypes.php new file mode 100644 index 00000000000..779a9fc905c --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Orgs/Org/IssueTypes.php @@ -0,0 +1,537 @@ + $className + * + * @return T + * + * @template T of object + */ + public function hydrateObject(string $className, array $payload): object + { + return match ($className) { + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️BasicError($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\ValidationErrorSimple' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️ValidationErrorSimple($payload), + default => throw UnableToHydrateObject::noHydrationDefined($className, $this->hydrationStack), + }; + } + + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️BasicError(array $payload): BasicError + { + $properties = []; + $missingFields = []; + try { + $value = $payload['message'] ?? null; + + if ($value === null) { + $properties['message'] = null; + goto after_message; + } + + $properties['message'] = $value; + + after_message: + + $value = $payload['documentation_url'] ?? null; + + if ($value === null) { + $properties['documentationUrl'] = null; + goto after_documentationUrl; + } + + $properties['documentationUrl'] = $value; + + after_documentationUrl: + + $value = $payload['url'] ?? null; + + if ($value === null) { + $properties['url'] = null; + goto after_url; + } + + $properties['url'] = $value; + + after_url: + + $value = $payload['status'] ?? null; + + if ($value === null) { + $properties['status'] = null; + goto after_status; + } + + $properties['status'] = $value; + + after_status: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(BasicError::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new BasicError(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️ValidationErrorSimple(array $payload): ValidationErrorSimple + { + $properties = []; + $missingFields = []; + try { + $value = $payload['message'] ?? null; + + if ($value === null) { + $missingFields[] = 'message'; + goto after_message; + } + + $properties['message'] = $value; + + after_message: + + $value = $payload['documentation_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'documentation_url'; + goto after_documentationUrl; + } + + $properties['documentationUrl'] = $value; + + after_documentationUrl: + + $value = $payload['errors'] ?? null; + + if ($value === null) { + $properties['errors'] = null; + goto after_errors; + } + + $properties['errors'] = $value; + + after_errors: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\ValidationErrorSimple', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(ValidationErrorSimple::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new ValidationErrorSimple(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\ValidationErrorSimple', $exception, stack: $this->hydrationStack); + } + } + + private function serializeViaTypeMap(string $accessor, object $object, array $payloadToTypeMap): array + { + foreach ($payloadToTypeMap as $payloadType => [$valueType, $method]) { + if (is_a($object, $valueType)) { + return [$accessor => $payloadType] + $this->{$method}($object); + } + } + + throw new LogicException('No type mapped for object of class: ' . $object::class); + } + + public function serializeObject(object $object): mixed + { + return $this->serializeObjectOfType($object, $object::class); + } + + /** + * @param T $object + * @param class-string $className + * + * @template T + */ + public function serializeObjectOfType(object $object, string $className): mixed + { + try { + return match ($className) { + 'array' => $this->serializeValuearray($object), + 'Ramsey\Uuid\UuidInterface' => $this->serializeValueRamsey⚡️Uuid⚡️UuidInterface($object), + 'DateTime' => $this->serializeValueDateTime($object), + 'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object), + 'DateTimeInterface' => $this->serializeValueDateTimeInterface($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️BasicError($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\ValidationErrorSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️ValidationErrorSimple($object), + default => throw new LogicException("No serialization defined for $className"), + }; + } catch (Throwable $exception) { + throw UnableToSerializeObject::dueToError($className, $exception); + } + } + + private function serializeValuearray(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeArrayItems(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueRamsey⚡️Uuid⚡️UuidInterface(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeUuidToString(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTime(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTimeImmutable(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTimeInterface(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️BasicError(mixed $object): mixed + { + assert($object instanceof BasicError); + $result = []; + + $message = $object->message; + + if ($message === null) { + goto after_message; + } + + after_message: $result['message'] = $message; + + $documentationUrl = $object->documentationUrl; + + if ($documentationUrl === null) { + goto after_documentationUrl; + } + + after_documentationUrl: $result['documentation_url'] = $documentationUrl; + + $url = $object->url; + + if ($url === null) { + goto after_url; + } + + after_url: $result['url'] = $url; + + $status = $object->status; + + if ($status === null) { + goto after_status; + } + + after_status: $result['status'] = $status; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️ValidationErrorSimple(mixed $object): mixed + { + assert($object instanceof ValidationErrorSimple); + $result = []; + + $message = $object->message; + after_message: $result['message'] = $message; + + $documentationUrl = $object->documentationUrl; + after_documentationUrl: $result['documentation_url'] = $documentationUrl; + + $errors = $object->errors; + + if ($errors === null) { + goto after_errors; + } + + static $errorsSerializer0; + + if ($errorsSerializer0 === null) { + $errorsSerializer0 = new SerializeArrayItems(...[]); + } + + $errors = $errorsSerializer0->serialize($errors, $this); + after_errors: $result['errors'] = $errors; + + return $result; + } + + /** + * @param class-string $className + * @param iterable $payloads; + * + * @return IterableList + * + * @throws UnableToHydrateObject + * + * @template T + */ + public function hydrateObjects(string $className, iterable $payloads): IterableList + { + return new IterableList($this->doHydrateObjects($className, $payloads)); + } + + private function doHydrateObjects(string $className, iterable $payloads): Generator + { + foreach ($payloads as $index => $payload) { + yield $index => $this->hydrateObject($className, $payload); + } + } + + /** + * @param class-string $className + * @param iterable $payloads; + * + * @return IterableList + * + * @throws UnableToSerializeObject + * + * @template T + */ + public function serializeObjects(iterable $payloads): IterableList + { + return new IterableList($this->doSerializeObjects($payloads)); + } + + private function doSerializeObjects(iterable $objects): Generator + { + foreach ($objects as $index => $object) { + yield $index => $this->serializeObject($object); + } + } +} diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Orgs/Org/IssueTypes/IssueTypeId.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Orgs/Org/IssueTypes/IssueTypeId.php new file mode 100644 index 00000000000..e86cf7ef762 --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Orgs/Org/IssueTypes/IssueTypeId.php @@ -0,0 +1,537 @@ + $className + * + * @return T + * + * @template T of object + */ + public function hydrateObject(string $className, array $payload): object + { + return match ($className) { + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️BasicError($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\ValidationErrorSimple' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️ValidationErrorSimple($payload), + default => throw UnableToHydrateObject::noHydrationDefined($className, $this->hydrationStack), + }; + } + + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️BasicError(array $payload): BasicError + { + $properties = []; + $missingFields = []; + try { + $value = $payload['message'] ?? null; + + if ($value === null) { + $properties['message'] = null; + goto after_message; + } + + $properties['message'] = $value; + + after_message: + + $value = $payload['documentation_url'] ?? null; + + if ($value === null) { + $properties['documentationUrl'] = null; + goto after_documentationUrl; + } + + $properties['documentationUrl'] = $value; + + after_documentationUrl: + + $value = $payload['url'] ?? null; + + if ($value === null) { + $properties['url'] = null; + goto after_url; + } + + $properties['url'] = $value; + + after_url: + + $value = $payload['status'] ?? null; + + if ($value === null) { + $properties['status'] = null; + goto after_status; + } + + $properties['status'] = $value; + + after_status: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(BasicError::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new BasicError(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️ValidationErrorSimple(array $payload): ValidationErrorSimple + { + $properties = []; + $missingFields = []; + try { + $value = $payload['message'] ?? null; + + if ($value === null) { + $missingFields[] = 'message'; + goto after_message; + } + + $properties['message'] = $value; + + after_message: + + $value = $payload['documentation_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'documentation_url'; + goto after_documentationUrl; + } + + $properties['documentationUrl'] = $value; + + after_documentationUrl: + + $value = $payload['errors'] ?? null; + + if ($value === null) { + $properties['errors'] = null; + goto after_errors; + } + + $properties['errors'] = $value; + + after_errors: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\ValidationErrorSimple', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(ValidationErrorSimple::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new ValidationErrorSimple(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\ValidationErrorSimple', $exception, stack: $this->hydrationStack); + } + } + + private function serializeViaTypeMap(string $accessor, object $object, array $payloadToTypeMap): array + { + foreach ($payloadToTypeMap as $payloadType => [$valueType, $method]) { + if (is_a($object, $valueType)) { + return [$accessor => $payloadType] + $this->{$method}($object); + } + } + + throw new LogicException('No type mapped for object of class: ' . $object::class); + } + + public function serializeObject(object $object): mixed + { + return $this->serializeObjectOfType($object, $object::class); + } + + /** + * @param T $object + * @param class-string $className + * + * @template T + */ + public function serializeObjectOfType(object $object, string $className): mixed + { + try { + return match ($className) { + 'array' => $this->serializeValuearray($object), + 'Ramsey\Uuid\UuidInterface' => $this->serializeValueRamsey⚡️Uuid⚡️UuidInterface($object), + 'DateTime' => $this->serializeValueDateTime($object), + 'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object), + 'DateTimeInterface' => $this->serializeValueDateTimeInterface($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️BasicError($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\ValidationErrorSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️ValidationErrorSimple($object), + default => throw new LogicException("No serialization defined for $className"), + }; + } catch (Throwable $exception) { + throw UnableToSerializeObject::dueToError($className, $exception); + } + } + + private function serializeValuearray(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeArrayItems(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueRamsey⚡️Uuid⚡️UuidInterface(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeUuidToString(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTime(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTimeImmutable(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTimeInterface(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️BasicError(mixed $object): mixed + { + assert($object instanceof BasicError); + $result = []; + + $message = $object->message; + + if ($message === null) { + goto after_message; + } + + after_message: $result['message'] = $message; + + $documentationUrl = $object->documentationUrl; + + if ($documentationUrl === null) { + goto after_documentationUrl; + } + + after_documentationUrl: $result['documentation_url'] = $documentationUrl; + + $url = $object->url; + + if ($url === null) { + goto after_url; + } + + after_url: $result['url'] = $url; + + $status = $object->status; + + if ($status === null) { + goto after_status; + } + + after_status: $result['status'] = $status; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️ValidationErrorSimple(mixed $object): mixed + { + assert($object instanceof ValidationErrorSimple); + $result = []; + + $message = $object->message; + after_message: $result['message'] = $message; + + $documentationUrl = $object->documentationUrl; + after_documentationUrl: $result['documentation_url'] = $documentationUrl; + + $errors = $object->errors; + + if ($errors === null) { + goto after_errors; + } + + static $errorsSerializer0; + + if ($errorsSerializer0 === null) { + $errorsSerializer0 = new SerializeArrayItems(...[]); + } + + $errors = $errorsSerializer0->serialize($errors, $this); + after_errors: $result['errors'] = $errors; + + return $result; + } + + /** + * @param class-string $className + * @param iterable $payloads; + * + * @return IterableList + * + * @throws UnableToHydrateObject + * + * @template T + */ + public function hydrateObjects(string $className, iterable $payloads): IterableList + { + return new IterableList($this->doHydrateObjects($className, $payloads)); + } + + private function doHydrateObjects(string $className, iterable $payloads): Generator + { + foreach ($payloads as $index => $payload) { + yield $index => $this->hydrateObject($className, $payload); + } + } + + /** + * @param class-string $className + * @param iterable $payloads; + * + * @return IterableList + * + * @throws UnableToSerializeObject + * + * @template T + */ + public function serializeObjects(iterable $payloads): IterableList + { + return new IterableList($this->doSerializeObjects($payloads)); + } + + private function doSerializeObjects(iterable $objects): Generator + { + foreach ($objects as $index => $object) { + yield $index => $this->serializeObject($object); + } + } +} diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues.php index f2b9710eaa2..a3859663ac7 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues.php @@ -9,6 +9,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeScanning\ListAlertsForEnterprise\Response\ApplicationJson\ServiceUnavailable; @@ -60,6 +61,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($payload), @@ -568,6 +570,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['repository'] ?? null; if ($value === null) { @@ -1212,6 +1234,113 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(array $payload): Repository { $properties = []; @@ -3119,6 +3248,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($object), @@ -3443,6 +3573,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $repository = $object->repository; if ($repository === null) { @@ -3709,6 +3848,63 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(mixed $object): mixed { assert($object instanceof Repository); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/Events/EventId.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/Events/EventId.php index ce2239ac52d..37c6e489829 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/Events/EventId.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/Events/EventId.php @@ -15,6 +15,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueEventMilestone; use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueEventProjectCard; use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueEventRename; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone; use ApiClients\Client\GitHubEnterpriseCloud\Schema\ReactionRollup; @@ -64,6 +65,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($payload), @@ -1103,6 +1105,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['repository'] ?? null; if ($value === null) { @@ -1486,6 +1508,113 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(array $payload): Repository { $properties = []; @@ -4005,6 +4134,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($object), @@ -4538,6 +4668,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $repository = $object->repository; if ($repository === null) { @@ -4705,6 +4844,63 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(mixed $object): mixed { assert($object instanceof Repository); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber.php index ada91a25e26..75eb748a289 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber.php @@ -9,6 +9,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeScanning\ListAlertsForEnterprise\Response\ApplicationJson\ServiceUnavailable; @@ -57,6 +58,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($payload), @@ -451,6 +453,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['repository'] ?? null; if ($value === null) { @@ -1095,6 +1117,113 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(array $payload): Repository { $properties = []; @@ -3030,6 +3159,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($object), @@ -3286,6 +3416,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $repository = $object->repository; if ($repository === null) { @@ -3552,6 +3691,63 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(mixed $object): mixed { assert($object instanceof Repository); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/Assignees.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/Assignees.php index ad32adf52d3..9fb8b9fc557 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/Assignees.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/Assignees.php @@ -8,6 +8,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone; use ApiClients\Client\GitHubEnterpriseCloud\Schema\ReactionRollup; @@ -54,6 +55,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($payload), @@ -445,6 +447,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['repository'] ?? null; if ($value === null) { @@ -1089,6 +1111,113 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(array $payload): Repository { $properties = []; @@ -2857,6 +2986,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($object), @@ -3110,6 +3240,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $repository = $object->repository; if ($repository === null) { @@ -3376,6 +3515,63 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(mixed $object): mixed { assert($object instanceof Repository); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssue.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssue.php index d6d47816489..7d57d75c113 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssue.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssue.php @@ -9,6 +9,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone; use ApiClients\Client\GitHubEnterpriseCloud\Schema\ReactionRollup; @@ -56,6 +57,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($payload), @@ -449,6 +451,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['repository'] ?? null; if ($value === null) { @@ -1093,6 +1115,113 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(array $payload): Repository { $properties = []; @@ -3009,6 +3138,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($object), @@ -3264,6 +3394,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $repository = $object->repository; if ($repository === null) { @@ -3530,6 +3669,63 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(mixed $object): mixed { assert($object instanceof Repository); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssues.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssues.php index 1f6ede276e8..084402ca09c 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssues.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssues.php @@ -9,6 +9,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone; use ApiClients\Client\GitHubEnterpriseCloud\Schema\ReactionRollup; @@ -57,6 +58,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($payload), @@ -512,6 +514,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['repository'] ?? null; if ($value === null) { @@ -1156,6 +1178,113 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(array $payload): Repository { $properties = []; @@ -2977,6 +3106,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($object), @@ -3271,6 +3401,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $repository = $object->repository; if ($repository === null) { @@ -3537,6 +3676,63 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(mixed $object): mixed { assert($object instanceof Repository); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssues/Priority.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssues/Priority.php index 9a1bca94614..b80b9cee307 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssues/Priority.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Issues/IssueNumber/SubIssues/Priority.php @@ -9,6 +9,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\CodeScanning\ListAlertsForEnterprise\Response\ApplicationJson\ServiceUnavailable; @@ -57,6 +58,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($payload), @@ -451,6 +453,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['repository'] ?? null; if ($value === null) { @@ -1095,6 +1117,113 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(array $payload): Repository { $properties = []; @@ -3030,6 +3159,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($object), @@ -3286,6 +3416,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $repository = $object->repository; if ($repository === null) { @@ -3552,6 +3691,63 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(mixed $object): mixed { assert($object instanceof Repository); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/IssueComment.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/IssueComment.php index 57e9976e771..1f146a8763c 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/IssueComment.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/IssueComment.php @@ -8,6 +8,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\EnterpriseWebhooks; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration\Permissions; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple; use ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationSimpleWebhooks; use ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryWebhooks; @@ -84,6 +85,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssueCommentCreated\Issue\PullRequest' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssueCommentCreated⚡️Issue⚡️PullRequest($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssueCommentCreated\Issue\Reactions' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssueCommentCreated⚡️Issue⚡️Reactions($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssueCommentCreated\Issue\SubIssuesSummary' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssueCommentCreated⚡️Issue⚡️SubIssuesSummary($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssueCommentCreated\Issue\User' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssueCommentCreated⚡️Issue⚡️User($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationSimpleWebhooks' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️OrganizationSimpleWebhooks($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryWebhooks' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️RepositoryWebhooks($payload), @@ -1716,6 +1718,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -3587,6 +3609,113 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssueCommentCreated⚡️Issue⚡️User(array $payload): \ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssueCommentCreated\Issue\User { $properties = []; @@ -7982,6 +8111,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -10740,6 +10889,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -15682,6 +15851,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssueCommentCreated\Issue\PullRequest' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssueCommentCreated⚡️Issue⚡️PullRequest($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssueCommentCreated\Issue\Reactions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssueCommentCreated⚡️Issue⚡️Reactions($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssueCommentCreated\Issue\SubIssuesSummary' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssueCommentCreated⚡️Issue⚡️SubIssuesSummary($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssueCommentCreated\Issue\User' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssueCommentCreated⚡️Issue⚡️User($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationSimpleWebhooks' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️OrganizationSimpleWebhooks($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryWebhooks' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️RepositoryWebhooks($object), @@ -16510,6 +16680,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; @@ -17616,6 +17795,63 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssueCommentCreated⚡️Issue⚡️User(mixed $object): mixed { assert($object instanceof \ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssueCommentCreated\Issue\User); @@ -19923,6 +20159,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; @@ -21468,6 +21713,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/Issues.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/Issues.php index 4b78a82f61f..072766cacc8 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/Issues.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/Issues.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHubEnterpriseCloud\Internal\Hydrator\WebHook; use ApiClients\Client\GitHubEnterpriseCloud\Schema\EnterpriseWebhooks; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple; use ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationSimpleWebhooks; use ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryWebhooks; @@ -102,6 +103,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhooksIssue\PullRequest' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhooksIssue⚡️PullRequest($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhooksIssue\Reactions' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhooksIssue⚡️Reactions($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhooksIssue\SubIssuesSummary' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhooksIssue⚡️SubIssuesSummary($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhooksIssue\User' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhooksIssue⚡️User($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationSimpleWebhooks' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️OrganizationSimpleWebhooks($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryWebhooks' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️RepositoryWebhooks($payload), @@ -1261,6 +1263,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -3132,6 +3154,113 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhooksIssue⚡️User(array $payload): User { $properties = []; @@ -6939,6 +7068,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -9588,6 +9737,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -12257,6 +12426,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -15508,6 +15697,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['title'] ?? null; if ($value === null) { @@ -18273,6 +18482,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['title'] ?? null; if ($value === null) { @@ -20922,6 +21151,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['title'] ?? null; if ($value === null) { @@ -23602,6 +23851,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -30294,6 +30563,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -32943,6 +33232,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -35633,6 +35942,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S $properties['user'] = $value; after_user: + + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhookIssuesReopened\Issue', $exception, stack: $this->hydrationStack); } @@ -38309,6 +38638,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -43035,6 +43384,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_title: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['updated_at'] ?? null; if ($value === null) { @@ -45422,6 +45791,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhooksIssue\PullRequest' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhooksIssue⚡️PullRequest($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhooksIssue\Reactions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhooksIssue⚡️Reactions($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhooksIssue\SubIssuesSummary' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhooksIssue⚡️SubIssuesSummary($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\WebhooksIssue\User' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhooksIssue⚡️User($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationSimpleWebhooks' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️OrganizationSimpleWebhooks($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\RepositoryWebhooks' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️RepositoryWebhooks($object), @@ -46152,6 +46522,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; @@ -47258,6 +47637,63 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhooksIssue⚡️User(mixed $object): mixed { assert($object instanceof User); @@ -49292,6 +49728,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; @@ -50801,6 +51246,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; @@ -52319,6 +52773,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; @@ -54129,6 +54592,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $title = $object->title; after_title: $result['title'] = $title; @@ -55681,6 +56153,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $title = $object->title; after_title: $result['title'] = $title; @@ -57185,6 +57666,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $title = $object->title; after_title: $result['title'] = $title; @@ -58701,6 +59191,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; @@ -62341,6 +62840,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; @@ -63850,6 +64358,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; @@ -65369,6 +65886,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $user = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️WebhookIssuesReopened⚡️Issue⚡️User($user); after_user: $result['user'] = $user; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + return $result; } @@ -66875,6 +67401,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; @@ -69316,6 +69851,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou $title = $object->title; after_title: $result['title'] = $title; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $updatedAt = $object->updatedAt; after_updatedAt: $result['updated_at'] = $updatedAt; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/SubIssues.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/SubIssues.php index db44b556bf5..868dd2897a1 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/SubIssues.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/SubIssues.php @@ -8,6 +8,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone; use ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationSimpleWebhooks; @@ -64,6 +65,7 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($payload), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($payload), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($payload), @@ -658,6 +660,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S after_timelineUrl: + $value = $payload['type'] ?? null; + + if ($value === null) { + $properties['type'] = null; + goto after_type; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'type'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['type'] = $value; + + after_type: + $value = $payload['repository'] ?? null; if ($value === null) { @@ -1302,6 +1324,113 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S } } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(array $payload): IssueType + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['name'] ?? null; + + if ($value === null) { + $missingFields[] = 'name'; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + + $value = $payload['color'] ?? null; + + if ($value === null) { + $properties['color'] = null; + goto after_color; + } + + $properties['color'] = $value; + + after_color: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $properties['createdAt'] = null; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $properties['updatedAt'] = null; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['is_enabled'] ?? null; + + if ($value === null) { + $properties['isEnabled'] = null; + goto after_isEnabled; + } + + $properties['isEnabled'] = $value; + + after_isEnabled: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(IssueType::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new IssueType(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType', $exception, stack: $this->hydrationStack); + } + } + private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(array $payload): Repository { $properties = []; @@ -6391,6 +6520,7 @@ public function serializeObjectOfType(object $object, string $className): mixed 'ApiClients\Client\GitHubEnterpriseCloud\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SimpleUser($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Milestone' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Milestone($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Issue\PullRequest' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Issue⚡️PullRequest($object), + 'ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\LicenseSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️LicenseSimple($object), 'ApiClients\Client\GitHubEnterpriseCloud\Schema\Repository\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository⚡️Permissions($object), @@ -6719,6 +6849,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou after_timelineUrl: $result['timeline_url'] = $timelineUrl; + $type = $object->type; + + if ($type === null) { + goto after_type; + } + + $type = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType($type); + after_type: $result['type'] = $type; + $repository = $object->repository; if ($repository === null) { @@ -6985,6 +7124,63 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou return $result; } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️IssueType(mixed $object): mixed + { + assert($object instanceof IssueType); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $name = $object->name; + after_name: $result['name'] = $name; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + $color = $object->color; + + if ($color === null) { + goto after_color; + } + + after_color: $result['color'] = $color; + + $createdAt = $object->createdAt; + + if ($createdAt === null) { + goto after_createdAt; + } + + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + + if ($updatedAt === null) { + goto after_updatedAt; + } + + after_updatedAt: $result['updated_at'] = $updatedAt; + + $isEnabled = $object->isEnabled; + + if ($isEnabled === null) { + goto after_isEnabled; + } + + after_isEnabled: $result['is_enabled'] = $isEnabled; + + return $result; + } + private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️Repository(mixed $object): mixed { assert($object instanceof Repository); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Hydrators.php b/clients/GitHubEnterpriseCloud/src/Internal/Hydrators.php index f815decd206..bc83670a642 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Hydrators.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Hydrators.php @@ -253,6 +253,8 @@ final class Hydrators implements ObjectMapper private Internal\Hydrator\Operation\Orgs\Org\Invitations|null $operation🌀Orgs🌀Org🌀Invitations = null; private Internal\Hydrator\Operation\Orgs\Org\Invitations\InvitationId|null $operation🌀Orgs🌀Org🌀Invitations🌀InvitationId = null; private Internal\Hydrator\Operation\Orgs\Org\Invitations\InvitationId\Teams|null $operation🌀Orgs🌀Org🌀Invitations🌀InvitationId🌀Teams = null; + private Internal\Hydrator\Operation\Orgs\Org\IssueTypes|null $operation🌀Orgs🌀Org🌀IssueTypes = null; + private Internal\Hydrator\Operation\Orgs\Org\IssueTypes\IssueTypeId|null $operation🌀Orgs🌀Org🌀IssueTypes🌀IssueTypeId = null; private Internal\Hydrator\Operation\Orgs\Org\Issues|null $operation🌀Orgs🌀Org🌀Issues = null; private Internal\Hydrator\Operation\Orgs\Org\Members|null $operation🌀Orgs🌀Org🌀Members = null; private Internal\Hydrator\Operation\Orgs\Org\Members\Username|null $operation🌀Orgs🌀Org🌀Members🌀Username = null; @@ -982,6 +984,7 @@ public function hydrateObject(string $className, array $payload): object '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Operations\\Orgs\\ListAppInstallations\\Response\\ApplicationJson\\Ok' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀Installations()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\InteractionLimitResponse' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀InteractionLimits()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\OrganizationInvitation' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀Invitations()->hydrateObject($className, $payload), + '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\IssueType' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Operations\\Codespaces\\GetCodespacesForUserInOrg\\Response\\ApplicationJson\\Ok\\Application\\Json' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀Members🌀Username🌀Codespaces()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Operations\\Codespaces\\DeleteFromOrganization\\Response\\ApplicationJson\\Accepted\\Application\\Json' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀Members🌀Username🌀Codespaces🌀CodespaceName()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Codespace', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\CodespaceMachine', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Codespace\\GitStatus', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Codespace\\RuntimeConstraints' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀Members🌀Username🌀Codespaces🌀CodespaceName🌀Stop()->hydrateObject($className, $payload), @@ -1393,6 +1396,7 @@ public function serializeObjectOfType(object $object, string $className): mixed '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Operations\\Orgs\\ListAppInstallations\\Response\\ApplicationJson\\Ok' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀Installations()->serializeObject($object), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\InteractionLimitResponse' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀InteractionLimits()->serializeObject($object), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\OrganizationInvitation' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀Invitations()->serializeObject($object), + '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\IssueType' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes()->serializeObject($object), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Operations\\Codespaces\\GetCodespacesForUserInOrg\\Response\\ApplicationJson\\Ok\\Application\\Json' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀Members🌀Username🌀Codespaces()->serializeObject($object), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Operations\\Codespaces\\DeleteFromOrganization\\Response\\ApplicationJson\\Accepted\\Application\\Json' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀Members🌀Username🌀Codespaces🌀CodespaceName()->serializeObject($object), '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Codespace', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\CodespaceMachine', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Codespace\\GitStatus', '\\ApiClients\\Client\\GitHubEnterpriseCloud\\Schema\\Codespace\\RuntimeConstraints' => $this->getObjectMapperOperation🌀Orgs🌀Org🌀Members🌀Username🌀Codespaces🌀CodespaceName🌀Stop()->serializeObject($object), @@ -3857,6 +3861,24 @@ public function getObjectMapperOperation🌀Orgs🌀Org🌀Invitations🌀Invita return $this->operation🌀Orgs🌀Org🌀Invitations🌀InvitationId🌀Teams; } + public function getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes(): Internal\Hydrator\Operation\Orgs\Org\IssueTypes + { + if ($this->operation🌀Orgs🌀Org🌀IssueTypes instanceof Internal\Hydrator\Operation\Orgs\Org\IssueTypes === false) { + $this->operation🌀Orgs🌀Org🌀IssueTypes = new Internal\Hydrator\Operation\Orgs\Org\IssueTypes(); + } + + return $this->operation🌀Orgs🌀Org🌀IssueTypes; + } + + public function getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes🌀IssueTypeId(): Internal\Hydrator\Operation\Orgs\Org\IssueTypes\IssueTypeId + { + if ($this->operation🌀Orgs🌀Org🌀IssueTypes🌀IssueTypeId instanceof Internal\Hydrator\Operation\Orgs\Org\IssueTypes\IssueTypeId === false) { + $this->operation🌀Orgs🌀Org🌀IssueTypes🌀IssueTypeId = new Internal\Hydrator\Operation\Orgs\Org\IssueTypes\IssueTypeId(); + } + + return $this->operation🌀Orgs🌀Org🌀IssueTypes🌀IssueTypeId; + } + public function getObjectMapperOperation🌀Orgs🌀Org🌀Issues(): Internal\Hydrator\Operation\Orgs\Org\Issues { if ($this->operation🌀Orgs🌀Org🌀Issues instanceof Internal\Hydrator\Operation\Orgs\Org\Issues === false) { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForOrg.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForOrg.php index f727b8cf9b3..5c94df1f85b 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForOrg.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForOrg.php @@ -29,6 +29,8 @@ final class ListForOrg private string $org; /**A list of comma separated label names. Example: `bug,ui,@high` **/ private string $labels; + /**Can be the name of an issue type. **/ + private string $type; /**Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $since; /**Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation. **/ @@ -44,10 +46,11 @@ final class ListForOrg /**The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/ private int $page; - public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Issues $hydrator, string $org, string $labels, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1) + public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Issues $hydrator, string $org, string $labels, string $type, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1) { $this->org = $org; $this->labels = $labels; + $this->type = $type; $this->since = $since; $this->filter = $filter; $this->state = $state; @@ -59,7 +62,7 @@ public function __construct(private readonly SchemaValidator $responseSchemaVali public function createRequest(): RequestInterface { - return new Request('GET', str_replace(['{org}', '{labels}', '{since}', '{filter}', '{state}', '{sort}', '{direction}', '{per_page}', '{page}'], [$this->org, $this->labels, $this->since, $this->filter, $this->state, $this->sort, $this->direction, $this->perPage, $this->page], '/orgs/{org}/issues' . '?labels={labels}&since={since}&filter={filter}&state={state}&sort={sort}&direction={direction}&per_page={per_page}&page={page}')); + return new Request('GET', str_replace(['{org}', '{labels}', '{type}', '{since}', '{filter}', '{state}', '{sort}', '{direction}', '{per_page}', '{page}'], [$this->org, $this->labels, $this->type, $this->since, $this->filter, $this->state, $this->sort, $this->direction, $this->perPage, $this->page], '/orgs/{org}/issues' . '?labels={labels}&type={type}&since={since}&filter={filter}&state={state}&sort={sort}&direction={direction}&per_page={per_page}&page={page}')); } /** @return Observable */ diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForOrgListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForOrgListing.php index de16beb78b1..41d466b6be8 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForOrgListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForOrgListing.php @@ -29,6 +29,8 @@ final class ListForOrgListing private string $org; /**A list of comma separated label names. Example: `bug,ui,@high` **/ private string $labels; + /**Can be the name of an issue type. **/ + private string $type; /**Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. **/ private string $since; /**Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation. **/ @@ -44,10 +46,11 @@ final class ListForOrgListing /**The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/ private int $page; - public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Issues $hydrator, string $org, string $labels, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1) + public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Issues $hydrator, string $org, string $labels, string $type, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1) { $this->org = $org; $this->labels = $labels; + $this->type = $type; $this->since = $since; $this->filter = $filter; $this->state = $state; @@ -59,7 +62,7 @@ public function __construct(private readonly SchemaValidator $responseSchemaVali public function createRequest(): RequestInterface { - return new Request('GET', str_replace(['{org}', '{labels}', '{since}', '{filter}', '{state}', '{sort}', '{direction}', '{per_page}', '{page}'], [$this->org, $this->labels, $this->since, $this->filter, $this->state, $this->sort, $this->direction, $this->perPage, $this->page], '/orgs/{org}/issues' . '?labels={labels}&since={since}&filter={filter}&state={state}&sort={sort}&direction={direction}&per_page={per_page}&page={page}')); + return new Request('GET', str_replace(['{org}', '{labels}', '{type}', '{since}', '{filter}', '{state}', '{sort}', '{direction}', '{per_page}', '{page}'], [$this->org, $this->labels, $this->type, $this->since, $this->filter, $this->state, $this->sort, $this->direction, $this->perPage, $this->page], '/orgs/{org}/issues' . '?labels={labels}&type={type}&since={since}&filter={filter}&state={state}&sort={sort}&direction={direction}&per_page={per_page}&page={page}')); } /** @return Observable */ diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForRepo.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForRepo.php index f2179b6bf5c..ffc9ecf912f 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForRepo.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForRepo.php @@ -33,6 +33,8 @@ final class ListForRepo private string $milestone; /**Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. **/ private string $assignee; + /**Can be the name of an issue type. If the string `*` is passed, issues with any type are accepted. If the string `none` is passed, issues without type are returned. **/ + private string $type; /**The user that created the issue. **/ private string $creator; /**A user that's mentioned in the issue. **/ @@ -52,12 +54,13 @@ final class ListForRepo /**The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/ private int $page; - public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Issues $hydrator, string $owner, string $repo, string $milestone, string $assignee, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1) + public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Issues $hydrator, string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1) { $this->owner = $owner; $this->repo = $repo; $this->milestone = $milestone; $this->assignee = $assignee; + $this->type = $type; $this->creator = $creator; $this->mentioned = $mentioned; $this->labels = $labels; @@ -71,7 +74,7 @@ public function __construct(private readonly SchemaValidator $responseSchemaVali public function createRequest(): RequestInterface { - return new Request('GET', str_replace(['{owner}', '{repo}', '{milestone}', '{assignee}', '{creator}', '{mentioned}', '{labels}', '{since}', '{state}', '{sort}', '{direction}', '{per_page}', '{page}'], [$this->owner, $this->repo, $this->milestone, $this->assignee, $this->creator, $this->mentioned, $this->labels, $this->since, $this->state, $this->sort, $this->direction, $this->perPage, $this->page], '/repos/{owner}/{repo}/issues' . '?milestone={milestone}&assignee={assignee}&creator={creator}&mentioned={mentioned}&labels={labels}&since={since}&state={state}&sort={sort}&direction={direction}&per_page={per_page}&page={page}')); + return new Request('GET', str_replace(['{owner}', '{repo}', '{milestone}', '{assignee}', '{type}', '{creator}', '{mentioned}', '{labels}', '{since}', '{state}', '{sort}', '{direction}', '{per_page}', '{page}'], [$this->owner, $this->repo, $this->milestone, $this->assignee, $this->type, $this->creator, $this->mentioned, $this->labels, $this->since, $this->state, $this->sort, $this->direction, $this->perPage, $this->page], '/repos/{owner}/{repo}/issues' . '?milestone={milestone}&assignee={assignee}&type={type}&creator={creator}&mentioned={mentioned}&labels={labels}&since={since}&state={state}&sort={sort}&direction={direction}&per_page={per_page}&page={page}')); } /** @return Observable|Schema\BasicError */ diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForRepoListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForRepoListing.php index 88846eb5ae7..6cae56b881d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForRepoListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Issues/ListForRepoListing.php @@ -33,6 +33,8 @@ final class ListForRepoListing private string $milestone; /**Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. **/ private string $assignee; + /**Can be the name of an issue type. If the string `*` is passed, issues with any type are accepted. If the string `none` is passed, issues without type are returned. **/ + private string $type; /**The user that created the issue. **/ private string $creator; /**A user that's mentioned in the issue. **/ @@ -52,12 +54,13 @@ final class ListForRepoListing /**The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/ private int $page; - public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Issues $hydrator, string $owner, string $repo, string $milestone, string $assignee, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1) + public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Issues $hydrator, string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1) { $this->owner = $owner; $this->repo = $repo; $this->milestone = $milestone; $this->assignee = $assignee; + $this->type = $type; $this->creator = $creator; $this->mentioned = $mentioned; $this->labels = $labels; @@ -71,7 +74,7 @@ public function __construct(private readonly SchemaValidator $responseSchemaVali public function createRequest(): RequestInterface { - return new Request('GET', str_replace(['{owner}', '{repo}', '{milestone}', '{assignee}', '{creator}', '{mentioned}', '{labels}', '{since}', '{state}', '{sort}', '{direction}', '{per_page}', '{page}'], [$this->owner, $this->repo, $this->milestone, $this->assignee, $this->creator, $this->mentioned, $this->labels, $this->since, $this->state, $this->sort, $this->direction, $this->perPage, $this->page], '/repos/{owner}/{repo}/issues' . '?milestone={milestone}&assignee={assignee}&creator={creator}&mentioned={mentioned}&labels={labels}&since={since}&state={state}&sort={sort}&direction={direction}&per_page={per_page}&page={page}')); + return new Request('GET', str_replace(['{owner}', '{repo}', '{milestone}', '{assignee}', '{type}', '{creator}', '{mentioned}', '{labels}', '{since}', '{state}', '{sort}', '{direction}', '{per_page}', '{page}'], [$this->owner, $this->repo, $this->milestone, $this->assignee, $this->type, $this->creator, $this->mentioned, $this->labels, $this->since, $this->state, $this->sort, $this->direction, $this->perPage, $this->page], '/repos/{owner}/{repo}/issues' . '?milestone={milestone}&assignee={assignee}&type={type}&creator={creator}&mentioned={mentioned}&labels={labels}&since={since}&state={state}&sort={sort}&direction={direction}&per_page={per_page}&page={page}')); } /** @return Observable|Schema\BasicError */ diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/CreateIssueType.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/CreateIssueType.php new file mode 100644 index 00000000000..256a7c79fcd --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/CreateIssueType.php @@ -0,0 +1,79 @@ +org = $org; + } + + public function createRequest(array $data): RequestInterface + { + $this->requestSchemaValidator->validate($data, Reader::readFromJson(Schema\OrganizationCreateIssueType::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + return new Request('POST', str_replace(['{org}'], [$this->org], '/orgs/{org}/issue-types'), ['Content-Type' => 'application/json'], json_encode($data)); + } + + public function createResponse(ResponseInterface $response): Schema\IssueType + { + $code = $response->getStatusCode(); + [$contentType] = explode(';', $response->getHeaderLine('Content-Type')); + switch ($contentType) { + case 'application/json': + $body = json_decode($response->getBody()->getContents(), true); + switch ($code) { + /** + * Response + **/ + case 200: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\IssueType::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + return $this->hydrator->hydrateObject(Schema\IssueType::class, $body); + /** + * Resource not found + **/ + + case 404: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\BasicError::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\BasicError(404, $this->hydrator->hydrateObject(Schema\BasicError::class, $body)); + /** + * Validation failed, or the endpoint has been spammed. + **/ + + case 422: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\ValidationErrorSimple::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\ValidationErrorSimple(422, $this->hydrator->hydrateObject(Schema\ValidationErrorSimple::class, $body)); + } + + break; + } + + throw new RuntimeException('Unable to find matching response code and content type'); + } +} diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/DeleteIssueType.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/DeleteIssueType.php new file mode 100644 index 00000000000..b9e87797413 --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/DeleteIssueType.php @@ -0,0 +1,80 @@ +org = $org; + $this->issueTypeId = $issueTypeId; + } + + public function createRequest(): RequestInterface + { + return new Request('DELETE', str_replace(['{org}', '{issue_type_id}'], [$this->org, $this->issueTypeId], '/orgs/{org}/issue-types/{issue_type_id}')); + } + + public function createResponse(ResponseInterface $response): WithoutBody + { + $code = $response->getStatusCode(); + [$contentType] = explode(';', $response->getHeaderLine('Content-Type')); + switch ($contentType) { + case 'application/json': + $body = json_decode($response->getBody()->getContents(), true); + switch ($code) { + /** + * Validation failed, or the endpoint has been spammed. + **/ + case 422: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\ValidationErrorSimple::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\ValidationErrorSimple(422, $this->hydrator->hydrateObject(Schema\ValidationErrorSimple::class, $body)); + /** + * Resource not found + **/ + + case 404: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\BasicError::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\BasicError(404, $this->hydrator->hydrateObject(Schema\BasicError::class, $body)); + } + + break; + } + + switch ($code) { + /** + * Response + **/ + case 204: + return new WithoutBody(204, []); + } + + throw new RuntimeException('Unable to find matching response code and content type'); + } +} diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/ListIssueTypes.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/ListIssueTypes.php new file mode 100644 index 00000000000..eb7b99383f1 --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/ListIssueTypes.php @@ -0,0 +1,82 @@ +org = $org; + } + + public function createRequest(): RequestInterface + { + return new Request('GET', str_replace(['{org}'], [$this->org], '/orgs/{org}/issue-types')); + } + + /** @return Observable */ + public function createResponse(ResponseInterface $response): Observable + { + $code = $response->getStatusCode(); + [$contentType] = explode(';', $response->getHeaderLine('Content-Type')); + switch ($contentType) { + case 'application/json': + $body = json_decode($response->getBody()->getContents(), true); + switch ($code) { + /** + * Response + **/ + case 200: + return Observable::fromArray($body, new ImmediateScheduler())->map(function (array $body): Schema\IssueType { + $error = new RuntimeException(); + try { + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\IssueType::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + + return $this->hydrator->hydrateObject(Schema\IssueType::class, $body); + } catch (Throwable $error) { + goto items_application_json_two_hundred_aaaaa; + } + + items_application_json_two_hundred_aaaaa: + throw $error; + }); + /** + * Resource not found + **/ + + case 404: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\BasicError::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\BasicError(404, $this->hydrator->hydrateObject(Schema\BasicError::class, $body)); + } + + break; + } + + throw new RuntimeException('Unable to find matching response code and content type'); + } +} diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/UpdateIssueType.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/UpdateIssueType.php new file mode 100644 index 00000000000..55d40196dc9 --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Orgs/UpdateIssueType.php @@ -0,0 +1,82 @@ +org = $org; + $this->issueTypeId = $issueTypeId; + } + + public function createRequest(array $data): RequestInterface + { + $this->requestSchemaValidator->validate($data, Reader::readFromJson(Schema\OrganizationUpdateIssueType::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + return new Request('PUT', str_replace(['{org}', '{issue_type_id}'], [$this->org, $this->issueTypeId], '/orgs/{org}/issue-types/{issue_type_id}'), ['Content-Type' => 'application/json'], json_encode($data)); + } + + public function createResponse(ResponseInterface $response): Schema\IssueType + { + $code = $response->getStatusCode(); + [$contentType] = explode(';', $response->getHeaderLine('Content-Type')); + switch ($contentType) { + case 'application/json': + $body = json_decode($response->getBody()->getContents(), true); + switch ($code) { + /** + * Response + **/ + case 200: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\IssueType::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + return $this->hydrator->hydrateObject(Schema\IssueType::class, $body); + /** + * Resource not found + **/ + + case 404: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\BasicError::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\BasicError(404, $this->hydrator->hydrateObject(Schema\BasicError::class, $body)); + /** + * Validation failed, or the endpoint has been spammed. + **/ + + case 422: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\ValidationErrorSimple::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\ValidationErrorSimple(422, $this->hydrator->hydrateObject(Schema\ValidationErrorSimple::class, $body)); + } + + break; + } + + throw new RuntimeException('Unable to find matching response code and content type'); + } +} diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForOrg.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForOrg.php index fe52cc26960..8bba8fd6ddc 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForOrg.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForOrg.php @@ -24,10 +24,10 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ - public function call(string $org, string $labels, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable + /** @return iterable */ + public function call(string $org, string $labels, string $type, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable { - $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Issues\ListForOrg($this->responseSchemaValidator, $this->hydrator, $org, $labels, $since, $filter, $state, $sort, $direction, $perPage, $page); + $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Issues\ListForOrg($this->responseSchemaValidator, $this->hydrator, $org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); $request = $operation->createRequest(); $result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): Observable { return $operation->createResponse($response); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForOrgListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForOrgListing.php index 2e22ee7c52b..4bf03323a1f 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForOrgListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForOrgListing.php @@ -24,10 +24,10 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable */ - public function call(string $org, string $labels, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable + /** @return iterable */ + public function call(string $org, string $labels, string $type, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable { - $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Issues\ListForOrgListing($this->responseSchemaValidator, $this->hydrator, $org, $labels, $since, $filter, $state, $sort, $direction, $perPage, $page); + $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Issues\ListForOrgListing($this->responseSchemaValidator, $this->hydrator, $org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); $request = $operation->createRequest(); $result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): Observable { return $operation->createResponse($response); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForRepo.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForRepo.php index f9adebf9752..2f42c4ad3bd 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForRepo.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForRepo.php @@ -25,10 +25,10 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable|Schema\BasicError */ - public function call(string $owner, string $repo, string $milestone, string $assignee, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable|BasicError + /** @return iterable|Schema\BasicError */ + public function call(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable|BasicError { - $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Issues\ListForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $milestone, $assignee, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); + $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Issues\ListForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); $request = $operation->createRequest(); $result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): Observable|BasicError { return $operation->createResponse($response); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForRepoListing.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForRepoListing.php index bc197835a6d..704d73af4d1 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForRepoListing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Issues/ListForRepoListing.php @@ -25,10 +25,10 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return Observable|Schema\BasicError */ - public function call(string $owner, string $repo, string $milestone, string $assignee, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable|BasicError + /** @return iterable|Schema\BasicError */ + public function call(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable|BasicError { - $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Issues\ListForRepoListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $milestone, $assignee, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); + $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Issues\ListForRepoListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); $request = $operation->createRequest(); $result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): Observable|BasicError { return $operation->createResponse($response); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/CreateIssueType.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/CreateIssueType.php new file mode 100644 index 00000000000..7adaf439ab4 --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/CreateIssueType.php @@ -0,0 +1,40 @@ +requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org); + $request = $operation->createRequest($params); + $result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): IssueType { + return $operation->createResponse($response); + })); + if ($result instanceof Observable) { + $result = awaitObservable($result); + } + + return $result; + } +} diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/DeleteIssueType.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/DeleteIssueType.php new file mode 100644 index 00000000000..cfa134a10ff --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/DeleteIssueType.php @@ -0,0 +1,40 @@ +responseSchemaValidator, $this->hydrator, $org, $issueTypeId); + $request = $operation->createRequest(); + $result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): WithoutBody { + return $operation->createResponse($response); + })); + if ($result instanceof Observable) { + $result = awaitObservable($result); + } + + return $result; + } +} diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/ListIssueTypes.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/ListIssueTypes.php new file mode 100644 index 00000000000..40cb79ad6d5 --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/ListIssueTypes.php @@ -0,0 +1,41 @@ + */ + public function call(string $org): iterable + { + $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Orgs\ListIssueTypes($this->responseSchemaValidator, $this->hydrator, $org); + $request = $operation->createRequest(); + $result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): Observable { + return $operation->createResponse($response); + })); + if ($result instanceof Observable) { + $result = awaitObservable($result); + } + + return $result; + } +} diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/UpdateIssueType.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/UpdateIssueType.php new file mode 100644 index 00000000000..7829aee6932 --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Orgs/UpdateIssueType.php @@ -0,0 +1,40 @@ +requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org, $issueTypeId); + $request = $operation->createRequest($params); + $result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): IssueType { + return $operation->createResponse($response); + })); + if ($result instanceof Observable) { + $result = awaitObservable($result); + } + + return $result; + } +} diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operators.php b/clients/GitHubEnterpriseCloud/src/Internal/Operators.php index 2e7d9ec3dce..3ca72fe4091 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operators.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operators.php @@ -413,6 +413,10 @@ final class Operators private Internal\Operator\Orgs\CancelInvitation|null $orgs👷CancelInvitation = null; private Internal\Operator\Orgs\ListInvitationTeams|null $orgs👷ListInvitationTeams = null; private Internal\Operator\Orgs\ListInvitationTeamsListing|null $orgs👷ListInvitationTeamsListing = null; + private Internal\Operator\Orgs\ListIssueTypes|null $orgs👷ListIssueTypes = null; + private Internal\Operator\Orgs\CreateIssueType|null $orgs👷CreateIssueType = null; + private Internal\Operator\Orgs\UpdateIssueType|null $orgs👷UpdateIssueType = null; + private Internal\Operator\Orgs\DeleteIssueType|null $orgs👷DeleteIssueType = null; private Internal\Operator\Issues\ListForOrg|null $issues👷ListForOrg = null; private Internal\Operator\Issues\ListForOrgListing|null $issues👷ListForOrgListing = null; private Internal\Operator\Orgs\ListMembers|null $orgs👷ListMembers = null; @@ -5005,6 +5009,42 @@ public function orgs👷ListInvitationTeamsListing(): Internal\Operator\Orgs\Lis return $this->orgs👷ListInvitationTeamsListing; } + public function orgs👷ListIssueTypes(): Internal\Operator\Orgs\ListIssueTypes + { + if ($this->orgs👷ListIssueTypes instanceof Internal\Operator\Orgs\ListIssueTypes === false) { + $this->orgs👷ListIssueTypes = new Internal\Operator\Orgs\ListIssueTypes($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes()); + } + + return $this->orgs👷ListIssueTypes; + } + + public function orgs👷CreateIssueType(): Internal\Operator\Orgs\CreateIssueType + { + if ($this->orgs👷CreateIssueType instanceof Internal\Operator\Orgs\CreateIssueType === false) { + $this->orgs👷CreateIssueType = new Internal\Operator\Orgs\CreateIssueType($this->browser, $this->authentication, $this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes()); + } + + return $this->orgs👷CreateIssueType; + } + + public function orgs👷UpdateIssueType(): Internal\Operator\Orgs\UpdateIssueType + { + if ($this->orgs👷UpdateIssueType instanceof Internal\Operator\Orgs\UpdateIssueType === false) { + $this->orgs👷UpdateIssueType = new Internal\Operator\Orgs\UpdateIssueType($this->browser, $this->authentication, $this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes🌀IssueTypeId()); + } + + return $this->orgs👷UpdateIssueType; + } + + public function orgs👷DeleteIssueType(): Internal\Operator\Orgs\DeleteIssueType + { + if ($this->orgs👷DeleteIssueType instanceof Internal\Operator\Orgs\DeleteIssueType === false) { + $this->orgs👷DeleteIssueType = new Internal\Operator\Orgs\DeleteIssueType($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes🌀IssueTypeId()); + } + + return $this->orgs👷DeleteIssueType; + } + public function issues👷ListForOrg(): Internal\Operator\Issues\ListForOrg { if ($this->issues👷ListForOrg instanceof Internal\Operator\Issues\ListForOrg === false) { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Five.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Five.php index 5332a4333ab..b13b459b1e5 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Five.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Five.php @@ -14,6 +14,7 @@ public function __construct(private Routers $routers) { } + /** @return |\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */ public function call(string $call, array $params, array $pathChunks): WithoutBody { if ($pathChunks[0] === '') { @@ -101,6 +102,12 @@ public function call(string $call, array $params, array $pathChunks): WithoutBod return $this->routers->internal🔀Router🔀Delete🔀Orgs()->cancelInvitation($params); } } + } elseif ($pathChunks[3] === 'issue-types') { + if ($pathChunks[4] === '{issue_type_id}') { + if ($call === 'DELETE /orgs/{org}/issue-types/{issue_type_id}') { + return $this->routers->internal🔀Router🔀Delete🔀Orgs()->deleteIssueType($params); + } + } } elseif ($pathChunks[3] === 'members') { if ($pathChunks[4] === '{username}') { if ($call === 'DELETE /orgs/{org}/members/{username}') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Orgs.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Orgs.php index 4bf6410d77d..4b4705df5fd 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Orgs.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Orgs.php @@ -146,6 +146,26 @@ public function cancelInvitation(array $params): WithoutBody return $operator->call($arguments['org'], $arguments['invitation_id']); } + public function deleteIssueType(array $params): WithoutBody + { + $arguments = []; + if (array_key_exists('org', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: org'); + } + + $arguments['org'] = $params['org']; + unset($params['org']); + if (array_key_exists('issue_type_id', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: issue_type_id'); + } + + $arguments['issue_type_id'] = $params['issue_type_id']; + unset($params['issue_type_id']); + $operator = new Internal\Operator\Orgs\DeleteIssueType($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes🌀IssueTypeId()); + + return $operator->call($arguments['org'], $arguments['issue_type_id']); + } + /** @return */ public function removeMember(array $params): WithoutBody { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php index 7b9584ff7b0..11844cd4850 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Five.php @@ -59,7 +59,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Schema\BasicError|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|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): HookDelivery|Ok|ActionsEnterprisePermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnerGroupsForEnterprise\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|AuditLogStreamKey|iterable|WithoutBody|NetworkConfiguration|NetworkSettings|RepositoryRuleset|GistComment|MarketplacePurchase|BasicError|ThreadSubscription|Json|ActionsOrganizationPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnerGroupsForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|CopilotOrganizationDetails|OrganizationCustomRepositoryRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|ExternalGroup|OrgHook|OrgMembership|Migration|OrganizationRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\GetOrgPublicKey\Response\ApplicationJson\Ok|OrgPrivateRegistryConfiguration|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\HostedCompute\ListNetworkConfigurationsForOrg\Response\ApplicationJson\Ok\Application\Json|GroupMapping|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|CodeSecurityConfigurationForRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Import|Installation|InteractionLimitResponse|One|Language|LicenseContent|Page|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|ContentFile|SimpleUser|Stargazer|RepositorySubscription|Topic|TeamDiscussion|TeamMembership|TeamProject|CodespacesUserPublicKey|CodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|Package|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok\Application\Json|EmptyObject { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Four.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Four.php index e324625257a..9ea87c1f644 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Four.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Four.php @@ -38,7 +38,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|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|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|iterable|iterable|Observable|Observable|Observable|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): WebhookConfig|iterable|Installation|AnnouncementBanner|EnterpriseSecurityAnalysisSettings|string|Ok|WithoutBody|GistSimple|GitignoreTemplate|MarketplacePurchase|Thread|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListCustomRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListInOrganization\Response\ApplicationJson\Ok|Json|ExternalGroups|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListAppInstallations\Response\ApplicationJson\Ok|InteractionLimitResponse|One|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListOrgRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\PrivateRegistries\ListOrgPrivateRegistries\Response\ApplicationJson\Ok|ProjectColumn|FullRepository|BasicError|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListSecretsForAuthenticatedUser\Response\ApplicationJson\Ok|Codespace|GpgKey|Key|Migration|SshSigningKey|Hovercard|StarredRepository|Repository { if ($pathChunks[0] === '') { @@ -240,6 +240,10 @@ public function call(string $call, array $params, array $pathChunks): WebhookCon if ($call === 'GET /orgs/{org}/invitations') { return $this->routers->internal🔀Router🔀Get🔀Orgs()->listPendingInvitations($params); } + } elseif ($pathChunks[3] === 'issue-types') { + if ($call === 'GET /orgs/{org}/issue-types') { + return $this->routers->internal🔀Router🔀Get🔀Orgs()->listIssueTypes($params); + } } elseif ($pathChunks[3] === 'issues') { if ($call === 'GET /orgs/{org}/issues') { return $this->routers->internal🔀Router🔀Get🔀Issues()->listForOrg($params); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Issues.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Issues.php index 8d9f5097734..b3ddc3c7977 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Issues.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Issues.php @@ -164,7 +164,7 @@ public function listForAuthenticatedUser(array $params): iterable|WithoutBody return $operator->call($arguments['labels'], $arguments['since'], $arguments['filter'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page']); } - /** @return Observable */ + /** @return iterable */ public function listForOrg(array $params): iterable { $arguments = []; @@ -180,6 +180,12 @@ public function listForOrg(array $params): iterable $arguments['labels'] = $params['labels']; unset($params['labels']); + if (array_key_exists('type', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: type'); + } + + $arguments['type'] = $params['type']; + unset($params['type']); if (array_key_exists('since', $params) === false) { throw new InvalidArgumentException('Missing mandatory field: since'); } @@ -224,7 +230,7 @@ public function listForOrg(array $params): iterable unset($params['page']); $operator = new Internal\Operator\Issues\ListForOrg($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀Issues()); - return $operator->call($arguments['org'], $arguments['labels'], $arguments['since'], $arguments['filter'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page']); + return $operator->call($arguments['org'], $arguments['labels'], $arguments['type'], $arguments['since'], $arguments['filter'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page']); } /** @return Observable */ @@ -260,7 +266,7 @@ public function listAssignees(array $params): iterable return $operator->call($arguments['owner'], $arguments['repo'], $arguments['per_page'], $arguments['page']); } - /** @return Observable|Schema\BasicError */ + /** @return iterable|Schema\BasicError */ public function listForRepo(array $params): iterable|BasicError { $arguments = []; @@ -288,6 +294,12 @@ public function listForRepo(array $params): iterable|BasicError $arguments['assignee'] = $params['assignee']; unset($params['assignee']); + if (array_key_exists('type', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: type'); + } + + $arguments['type'] = $params['type']; + unset($params['type']); if (array_key_exists('creator', $params) === false) { throw new InvalidArgumentException('Missing mandatory field: creator'); } @@ -344,7 +356,7 @@ public function listForRepo(array $params): iterable|BasicError unset($params['page']); $operator = new Internal\Operator\Issues\ListForRepo($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Repos🌀Owner🌀Repo🌀Issues()); - return $operator->call($arguments['owner'], $arguments['repo'], $arguments['milestone'], $arguments['assignee'], $arguments['creator'], $arguments['mentioned'], $arguments['labels'], $arguments['since'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page']); + return $operator->call($arguments['owner'], $arguments['repo'], $arguments['milestone'], $arguments['assignee'], $arguments['type'], $arguments['creator'], $arguments['mentioned'], $arguments['labels'], $arguments['since'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page']); } /** @return Observable */ diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Orgs.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Orgs.php index bc56574cc1a..d179d575650 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Orgs.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Orgs.php @@ -364,6 +364,21 @@ public function listPendingInvitations(array $params): iterable return $operator->call($arguments['org'], $arguments['per_page'], $arguments['page'], $arguments['role'], $arguments['invitation_source']); } + /** @return iterable */ + public function listIssueTypes(array $params): iterable + { + $arguments = []; + if (array_key_exists('org', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: org'); + } + + $arguments['org'] = $params['org']; + unset($params['org']); + $operator = new Internal\Operator\Orgs\ListIssueTypes($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes()); + + return $operator->call($arguments['org']); + } + /** @return Observable */ public function listMembers(array $params): iterable { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Five.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Five.php index 153516eac9c..378bde0eab7 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Five.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Five.php @@ -16,7 +16,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|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|Observable */ + /** @return Observable|Observable|Observable|Observable|Observable|Observable|Schema\BasicError|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): iterable|BasicError|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Four.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Four.php index a3a50dea675..af2aa3b6e5b 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Four.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Four.php @@ -15,7 +15,7 @@ public function __construct(private Routers $routers) { } - /** @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|Observable|Observable|Observable */ + /** @return Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|iterable|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/Internal/Router/List/Issues.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Issues.php index 2671dc1377f..5111aea20cc 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Issues.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/List/Issues.php @@ -85,7 +85,7 @@ public function listForAuthenticatedUserListing(array $params): iterable|Without } while (count($items) > 0); } - /** @return Observable */ + /** @return iterable */ public function listForOrgListing(array $params): iterable { $arguments = []; @@ -101,6 +101,12 @@ public function listForOrgListing(array $params): iterable $arguments['labels'] = $params['labels']; unset($params['labels']); + if (array_key_exists('type', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: type'); + } + + $arguments['type'] = $params['type']; + unset($params['type']); if (array_key_exists('since', $params) === false) { throw new InvalidArgumentException('Missing mandatory field: since'); } @@ -146,7 +152,7 @@ public function listForOrgListing(array $params): iterable $arguments['page'] = 1; do { $operator = new Internal\Operator\Issues\ListForOrgListing($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀Issues()); - $items = [...$operator->call($arguments['org'], $arguments['labels'], $arguments['since'], $arguments['filter'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page'])]; + $items = [...$operator->call($arguments['org'], $arguments['labels'], $arguments['type'], $arguments['since'], $arguments['filter'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page'])]; yield from $items; @@ -280,7 +286,7 @@ public function listAssigneesListing(array $params): iterable } while (count($items) > 0); } - /** @return Observable|Schema\BasicError */ + /** @return iterable|Schema\BasicError */ public function listForRepoListing(array $params): iterable|BasicError { $arguments = []; @@ -308,6 +314,12 @@ public function listForRepoListing(array $params): iterable|BasicError $arguments['assignee'] = $params['assignee']; unset($params['assignee']); + if (array_key_exists('type', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: type'); + } + + $arguments['type'] = $params['type']; + unset($params['type']); if (array_key_exists('creator', $params) === false) { throw new InvalidArgumentException('Missing mandatory field: creator'); } @@ -365,7 +377,7 @@ public function listForRepoListing(array $params): iterable|BasicError $arguments['page'] = 1; do { $operator = new Internal\Operator\Issues\ListForRepoListing($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Repos🌀Owner🌀Repo🌀Issues()); - $items = [...$operator->call($arguments['owner'], $arguments['repo'], $arguments['milestone'], $arguments['assignee'], $arguments['creator'], $arguments['mentioned'], $arguments['labels'], $arguments['since'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page'])]; + $items = [...$operator->call($arguments['owner'], $arguments['repo'], $arguments['milestone'], $arguments['assignee'], $arguments['type'], $arguments['creator'], $arguments['mentioned'], $arguments['labels'], $arguments['since'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page'])]; yield from $items; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Four.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Four.php index 0bed67006ae..bd39da4b5ef 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Four.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Four.php @@ -10,6 +10,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\FullRepository; use ApiClients\Client\GitHubEnterpriseCloud\Schema\GistComment; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Integration; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Migration; use ApiClients\Client\GitHubEnterpriseCloud\Schema\NetworkConfiguration; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ReviewPatGrantRequestsInBulk\Response\ApplicationJson\Accepted\Application\Json; @@ -32,7 +33,8 @@ public function __construct(private Routers $routers) { } - public function call(string $call, array $params, array $pathChunks): Integration|Authorization|NetworkConfiguration|RepositoryRuleset|GistComment|WithoutBody|BaseGist|OrganizationCustomRepositoryRole|OrgHook|OrganizationInvitation|Migration|OrganizationRole|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\UpdatePatAccesses\Response\ApplicationJson\Accepted\Application\Json|OrgPrivateRegistryConfigurationWithSelectedRepositories|Project|FullRepository|TeamFull|ProjectColumn|TeamDiscussion + /** @return |Schema\IssueType */ + public function call(string $call, array $params, array $pathChunks): Integration|Authorization|NetworkConfiguration|RepositoryRuleset|GistComment|WithoutBody|BaseGist|OrganizationCustomRepositoryRole|OrgHook|OrganizationInvitation|IssueType|Migration|OrganizationRole|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\UpdatePatAccesses\Response\ApplicationJson\Accepted\Application\Json|OrgPrivateRegistryConfigurationWithSelectedRepositories|Project|FullRepository|TeamFull|ProjectColumn|TeamDiscussion { if ($pathChunks[0] === '') { if ($pathChunks[1] === 'app-manifests') { @@ -93,6 +95,10 @@ public function call(string $call, array $params, array $pathChunks): Integratio if ($call === 'POST /orgs/{org}/invitations') { return $this->routers->internal🔀Router🔀Post🔀Orgs()->createInvitation($params); } + } elseif ($pathChunks[3] === 'issue-types') { + if ($call === 'POST /orgs/{org}/issue-types') { + return $this->routers->internal🔀Router🔀Post🔀Orgs()->createIssueType($params); + } } elseif ($pathChunks[3] === 'migrations') { if ($call === 'POST /orgs/{org}/migrations') { return $this->routers->internal🔀Router🔀Post🔀Migrations()->startForOrg($params); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Orgs.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Orgs.php index ef326f5449f..5e77d7dbd5b 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Orgs.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Post/Orgs.php @@ -5,6 +5,7 @@ namespace ApiClients\Client\GitHubEnterpriseCloud\Internal\Router\Post; use ApiClients\Client\GitHubEnterpriseCloud\Internal; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ReviewPatGrantRequestsInBulk\Response\ApplicationJson\Accepted\Application\Json; use ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationCustomRepositoryRole; use ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationInvitation; @@ -84,6 +85,20 @@ public function createInvitation(array $params): OrganizationInvitation return $operator->call($arguments['org'], $params); } + public function createIssueType(array $params): IssueType + { + $arguments = []; + if (array_key_exists('org', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: org'); + } + + $arguments['org'] = $params['org']; + unset($params['org']); + $operator = new Internal\Operator\Orgs\CreateIssueType($this->browser, $this->authentication, $this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes()); + + return $operator->call($arguments['org'], $params); + } + /** @return */ public function createCustomOrganizationRole(array $params): OrganizationRole { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Five.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Five.php index 58b1cab3be9..3d6b89f9558 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Five.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Five.php @@ -8,6 +8,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema\EmptyObject; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Import; use ApiClients\Client\GitHubEnterpriseCloud\Schema\InteractionLimitResponse; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Activity\MarkRepoNotificationsAsRead\Response\ApplicationJson\Accepted; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json; use ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgMembership; @@ -25,7 +26,8 @@ public function __construct(private Routers $routers) { } - public function call(string $call, array $params, array $pathChunks): WithoutBody|RepositoryRuleset|ThreadSubscription|OrgMembership|Json|Import|InteractionLimitResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\EnableLfsForRepo\Response\ApplicationJson\Accepted\Application\Json|Accepted|RepositorySubscription|Topic|TeamMembership|EmptyObject + /** @return |Schema\IssueType */ + public function call(string $call, array $params, array $pathChunks): WithoutBody|RepositoryRuleset|ThreadSubscription|IssueType|OrgMembership|Json|Import|InteractionLimitResponse|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\EnableLfsForRepo\Response\ApplicationJson\Accepted\Application\Json|Accepted|RepositorySubscription|Topic|TeamMembership|EmptyObject { if ($pathChunks[0] === '') { if ($pathChunks[1] === 'app') { @@ -84,6 +86,12 @@ public function call(string $call, array $params, array $pathChunks): WithoutBod return $this->routers->internal🔀Router🔀Put🔀Codespaces()->setCodespacesAccess($params); } } + } elseif ($pathChunks[3] === 'issue-types') { + if ($pathChunks[4] === '{issue_type_id}') { + if ($call === 'PUT /orgs/{org}/issue-types/{issue_type_id}') { + return $this->routers->internal🔀Router🔀Put🔀Orgs()->updateIssueType($params); + } + } } elseif ($pathChunks[3] === 'memberships') { if ($pathChunks[4] === '{username}') { if ($call === 'PUT /orgs/{org}/memberships/{username}') { diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Orgs.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Orgs.php index 5af585084c0..47ee2e5c41b 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Orgs.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Put/Orgs.php @@ -6,6 +6,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Internal; use ApiClients\Client\GitHubEnterpriseCloud\Schema\CustomProperty; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ConvertMemberToOutsideCollaborator\Response\ApplicationJson\Accepted\Application\Json; use ApiClients\Client\GitHubEnterpriseCloud\Schema\OrgMembership; use ApiClients\Contracts\HTTP\Headers\AuthenticationInterface; @@ -43,6 +44,26 @@ public function blockUser(array $params): WithoutBody return $operator->call($arguments['org'], $arguments['username']); } + public function updateIssueType(array $params): IssueType + { + $arguments = []; + if (array_key_exists('org', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: org'); + } + + $arguments['org'] = $params['org']; + unset($params['org']); + if (array_key_exists('issue_type_id', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: issue_type_id'); + } + + $arguments['issue_type_id'] = $params['issue_type_id']; + unset($params['issue_type_id']); + $operator = new Internal\Operator\Orgs\UpdateIssueType($this->browser, $this->authentication, $this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀IssueTypes🌀IssueTypeId()); + + return $operator->call($arguments['org'], $arguments['issue_type_id'], $params); + } + /** @return */ public function setMembershipForUser(array $params): OrgMembership { diff --git a/clients/GitHubEnterpriseCloud/src/Operation/Issues.php b/clients/GitHubEnterpriseCloud/src/Operation/Issues.php index 454e6b03c9e..11dce7802c7 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/Issues.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/Issues.php @@ -32,16 +32,16 @@ public function listListing(string $labels, string $since, bool $collab, bool $o return $this->operators->issues👷ListListing()->call($labels, $since, $collab, $orgs, $owned, $pulls, $filter, $state, $sort, $direction, $perPage, $page); } - /** @return Observable */ - public function listForOrg(string $org, string $labels, string $since, string $filter, string $state, string $sort, string $direction, int $perPage, int $page): iterable + /** @return iterable */ + public function listForOrg(string $org, string $labels, string $type, string $since, string $filter, string $state, string $sort, string $direction, int $perPage, int $page): iterable { - return $this->operators->issues👷ListForOrg()->call($org, $labels, $since, $filter, $state, $sort, $direction, $perPage, $page); + return $this->operators->issues👷ListForOrg()->call($org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); } - /** @return Observable */ - public function listForOrgListing(string $org, string $labels, string $since, string $filter, string $state, string $sort, string $direction, int $perPage, int $page): iterable + /** @return iterable */ + public function listForOrgListing(string $org, string $labels, string $type, string $since, string $filter, string $state, string $sort, string $direction, int $perPage, int $page): iterable { - return $this->operators->issues👷ListForOrgListing()->call($org, $labels, $since, $filter, $state, $sort, $direction, $perPage, $page); + return $this->operators->issues👷ListForOrgListing()->call($org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); } /** @return Observable */ @@ -62,16 +62,16 @@ public function checkUserCanBeAssigned(string $owner, string $repo, string $assi return $this->operators->issues👷CheckUserCanBeAssigned()->call($owner, $repo, $assignee); } - /** @return Observable|Schema\BasicError */ - public function listForRepo(string $owner, string $repo, string $milestone, string $assignee, string $creator, string $mentioned, string $labels, string $since, string $state, string $sort, string $direction, int $perPage, int $page): iterable|BasicError + /** @return iterable|Schema\BasicError */ + public function listForRepo(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state, string $sort, string $direction, int $perPage, int $page): iterable|BasicError { - return $this->operators->issues👷ListForRepo()->call($owner, $repo, $milestone, $assignee, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); + return $this->operators->issues👷ListForRepo()->call($owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); } - /** @return Observable|Schema\BasicError */ - public function listForRepoListing(string $owner, string $repo, string $milestone, string $assignee, string $creator, string $mentioned, string $labels, string $since, string $state, string $sort, string $direction, int $perPage, int $page): iterable|BasicError + /** @return iterable|Schema\BasicError */ + public function listForRepoListing(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state, string $sort, string $direction, int $perPage, int $page): iterable|BasicError { - return $this->operators->issues👷ListForRepoListing()->call($owner, $repo, $milestone, $assignee, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); + return $this->operators->issues👷ListForRepoListing()->call($owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); } /** @return */ diff --git a/clients/GitHubEnterpriseCloud/src/Operation/Orgs.php b/clients/GitHubEnterpriseCloud/src/Operation/Orgs.php index 753fd2468e1..7ede1c315ab 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/Orgs.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/Orgs.php @@ -8,6 +8,7 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema; use ApiClients\Client\GitHubEnterpriseCloud\Schema\CustomProperty; use ApiClients\Client\GitHubEnterpriseCloud\Schema\HookDelivery; +use ApiClients\Client\GitHubEnterpriseCloud\Schema\IssueType; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\Delete\Response\ApplicationJson\Accepted\Application\Json; use ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Orgs\ListCustomRoles\Response\ApplicationJson\Ok; use ApiClients\Client\GitHubEnterpriseCloud\Schema\OrganizationCustomRepositoryRole; @@ -314,6 +315,27 @@ public function listInvitationTeamsListing(string $org, int $invitationId, int $ return $this->operators->orgs👷ListInvitationTeamsListing()->call($org, $invitationId, $perPage, $page); } + /** @return iterable */ + public function listIssueTypes(string $org): iterable + { + return $this->operators->orgs👷ListIssueTypes()->call($org); + } + + public function createIssueType(string $org, array $params): IssueType + { + return $this->operators->orgs👷CreateIssueType()->call($org, $params); + } + + public function updateIssueType(string $org, int $issueTypeId, array $params): IssueType + { + return $this->operators->orgs👷UpdateIssueType()->call($org, $issueTypeId, $params); + } + + public function deleteIssueType(string $org, int $issueTypeId): WithoutBody + { + return $this->operators->orgs👷DeleteIssueType()->call($org, $issueTypeId); + } + /** @return Observable */ public function listMembers(string $org, string $filter, string $role, int $perPage, int $page): iterable { diff --git a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php index bfe4a9d13e8..146125dfec4 100644 --- a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php @@ -1651,12 +1651,28 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method return $this->typeResolver->resolve('Observable'); } + if ($call === 'GET /orgs/{org}/issue-types') { + return $this->typeResolver->resolve('iterable'); + } + + if ($call === 'POST /orgs/{org}/issue-types') { + return $this->typeResolver->resolve('Schema\\IssueType'); + } + + if ($call === 'PUT /orgs/{org}/issue-types/{issue_type_id}') { + return $this->typeResolver->resolve('Schema\\IssueType'); + } + + if ($call === 'DELETE /orgs/{org}/issue-types/{issue_type_id}') { + return $this->typeResolver->resolve('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + } + if ($call === 'GET /orgs/{org}/issues') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'LIST /orgs/{org}/issues') { - return $this->typeResolver->resolve('Observable'); + return $this->typeResolver->resolve('iterable'); } if ($call === 'GET /orgs/{org}/members') { @@ -3696,11 +3712,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /repos/{owner}/{repo}/issues') { - return $this->typeResolver->resolve('Observable|Schema\\BasicError'); + return $this->typeResolver->resolve('iterable|Schema\\BasicError'); } if ($call === 'LIST /repos/{owner}/{repo}/issues') { - return $this->typeResolver->resolve('Observable|Schema\\BasicError'); + return $this->typeResolver->resolve('iterable|Schema\\BasicError'); } if ($call === 'POST /repos/{owner}/{repo}/issues') { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietE95861A6/Tiet6F267F34/Tiet29FE7B1A/TietFE49DAD1.php b/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/Tiet9EBC0D4B/TietC16E8FDD/Tiet9CA94C00/Tiet93662966.php similarity index 95% rename from clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietE95861A6/Tiet6F267F34/Tiet29FE7B1A/TietFE49DAD1.php rename to clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/Tiet9EBC0D4B/TietC16E8FDD/Tiet9CA94C00/Tiet93662966.php index 18b893d1f32..04e3aeb10b9 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietE95861A6/Tiet6F267F34/Tiet29FE7B1A/TietFE49DAD1.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/Tiet9EBC0D4B/TietC16E8FDD/Tiet9CA94C00/Tiet93662966.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\TietE95861A6\Tiet6F267F34\Tiet29FE7B1A; +namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet9EBC0D4B\TietC16E8FDD\Tiet9CA94C00; use ApiClients\Client\GitHubEnterpriseCloud\Schema; use EventSauce\ObjectHydrator\MapFrom; -abstract readonly class TietFE49DAD1 +abstract readonly class Tiet93662966 { public const SCHEMA_JSON = '{ "title": "Issue", @@ -1156,6 +1156,73 @@ "type": "string", "description": "Title of the issue" }, + "type": { + "title": "Issue Type", + "required": [ + "id", + "node_id", + "name", + "description" + ], + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ], + "type": [ + "string", + "null" + ], + "description": "The color of the issue type." + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "description": "The type of issue." + }, "updated_at": { "type": "string", "format": "date-time" @@ -1526,6 +1593,16 @@ "state_reason": "generated", "timeline_url": "https:\\/\\/example.com\\/", "title": "generated", + "type": { + "id": 2, + "node_id": "generated", + "name": "generated", + "description": "generated", + "color": "gray", + "created_at": "1970-01-01T00:00:00+00:00", + "updated_at": "1970-01-01T00:00:00+00:00", + "is_enabled": false + }, "updated_at": "1970-01-01T00:00:00+00:00", "url": "https:\\/\\/example.com\\/", "user": { @@ -1561,6 +1638,7 @@ * performedViaGithubApp: GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. * state: State of the issue; either 'open' or 'closed' * title: Title of the issue + * type: The type of issue. * url: URL for the issue */ public function __construct(#[MapFrom('active_lock_reason')] @@ -1578,7 +1656,7 @@ public function __construct(#[MapFrom('active_lock_reason')] public string $repositoryUrl, #[MapFrom('sub_issues_summary')] public Schema\WebhooksIssue2\SubIssuesSummary|null $subIssuesSummary, public string|null $state, #[MapFrom('state_reason')] public string|null $stateReason, #[MapFrom('timeline_url')] - public string|null $timelineUrl, public string $title, #[MapFrom('updated_at')] + public string|null $timelineUrl, public string $title, public Schema\IssueType|null $type, #[MapFrom('updated_at')] public string $updatedAt, public string $url, public Schema\WebhooksIssue2\User|null $user,) { } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/Tiet69A6FC90/TietEF30F65A/Tiet9798C033/Tiet5960D0A8.php b/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietA6754E69/Tiet89E7A5A9/Tiet4D165B48/TietE1DB3DED.php similarity index 99% rename from clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/Tiet69A6FC90/TietEF30F65A/Tiet9798C033/Tiet5960D0A8.php rename to clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietA6754E69/Tiet89E7A5A9/Tiet4D165B48/TietE1DB3DED.php index 58dc4fdd26d..80f4d1c8227 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/Tiet69A6FC90/TietEF30F65A/Tiet9798C033/Tiet5960D0A8.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietA6754E69/Tiet89E7A5A9/Tiet4D165B48/TietE1DB3DED.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet69A6FC90\TietEF30F65A\Tiet9798C033; +namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\TietA6754E69\Tiet89E7A5A9\Tiet4D165B48; use EventSauce\ObjectHydrator\MapFrom; -abstract readonly class Tiet5960D0A8 +abstract readonly class TietE1DB3DED { public const SCHEMA_JSON = '{ "required": [ @@ -411,7 +411,7 @@ "write" ], "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets." + "description": "The level of permission to grant the access token to manage Dependabot secrets." }, "deployments": { "enum": [ diff --git a/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/Tiet1C2726FB/TietF6272968/Tiet3A73798C/Tiet25DBF1C9.php b/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietB36AF9FB/Tiet084E90A3/TietC038C733/TietA4C8FBB4.php similarity index 95% rename from clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/Tiet1C2726FB/TietF6272968/Tiet3A73798C/Tiet25DBF1C9.php rename to clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietB36AF9FB/Tiet084E90A3/TietC038C733/TietA4C8FBB4.php index e95f910f450..e7abaf109e4 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/Tiet1C2726FB/TietF6272968/Tiet3A73798C/Tiet25DBF1C9.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietB36AF9FB/Tiet084E90A3/TietC038C733/TietA4C8FBB4.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet1C2726FB\TietF6272968\Tiet3A73798C; +namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\TietB36AF9FB\Tiet084E90A3\TietC038C733; use ApiClients\Client\GitHubEnterpriseCloud\Schema; use EventSauce\ObjectHydrator\MapFrom; -abstract readonly class Tiet25DBF1C9 +abstract readonly class TietA4C8FBB4 { public const SCHEMA_JSON = '{ "title": "Issue", @@ -1162,6 +1162,73 @@ "type": "string", "description": "Title of the issue" }, + "type": { + "title": "Issue Type", + "required": [ + "id", + "node_id", + "name", + "description" + ], + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ], + "type": [ + "string", + "null" + ], + "description": "The color of the issue type." + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "description": "The type of issue." + }, "updated_at": { "type": "string", "format": "date-time" @@ -1533,6 +1600,16 @@ "state_reason": "generated", "timeline_url": "https:\\/\\/example.com\\/", "title": "generated", + "type": { + "id": 2, + "node_id": "generated", + "name": "generated", + "description": "generated", + "color": "gray", + "created_at": "1970-01-01T00:00:00+00:00", + "updated_at": "1970-01-01T00:00:00+00:00", + "is_enabled": false + }, "updated_at": "1970-01-01T00:00:00+00:00", "url": "https:\\/\\/example.com\\/", "user": { @@ -1568,6 +1645,7 @@ * performedViaGithubApp: GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. * state: State of the issue; either 'open' or 'closed' * title: Title of the issue + * type: The type of issue. * url: URL for the issue */ public function __construct(#[MapFrom('active_lock_reason')] @@ -1585,7 +1663,7 @@ public function __construct(#[MapFrom('active_lock_reason')] public string $repositoryUrl, #[MapFrom('sub_issues_summary')] public Schema\WebhooksIssue\SubIssuesSummary|null $subIssuesSummary, public string|null $state, #[MapFrom('state_reason')] public string|null $stateReason, #[MapFrom('timeline_url')] - public string|null $timelineUrl, public string $title, #[MapFrom('updated_at')] + public string|null $timelineUrl, public string $title, public Schema\IssueType|null $type, #[MapFrom('updated_at')] public string $updatedAt, public string $url, public Schema\WebhooksIssue\User|null $user,) { } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/AppPermissions.php b/clients/GitHubEnterpriseCloud/src/Schema/AppPermissions.php index e1a8e69d92d..105b75ed834 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/AppPermissions.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/AppPermissions.php @@ -58,7 +58,7 @@ "write" ], "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets." + "description": "The level of permission to grant the access token to manage Dependabot secrets." }, "deployments": { "enum": [ @@ -462,7 +462,7 @@ * checks: The level of permission to grant the access token for checks on code. * codespaces: The level of permission to grant the access token to create, edit, delete, and list Codespaces. * contents: The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. - * dependabotSecrets: The leve of permission to grant the access token to manage Dependabot secrets. + * dependabotSecrets: The level of permission to grant the access token to manage Dependabot secrets. * deployments: The level of permission to grant the access token for deployments and deployment statuses. * environments: The level of permission to grant the access token for managing repository environments. * issues: The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Apps/CreateInstallationAccessToken/Request/ApplicationJson.php b/clients/GitHubEnterpriseCloud/src/Schema/Apps/CreateInstallationAccessToken/Request/ApplicationJson.php index 83d3ea40c6f..01ad14f90e7 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Apps/CreateInstallationAccessToken/Request/ApplicationJson.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Apps/CreateInstallationAccessToken/Request/ApplicationJson.php @@ -82,7 +82,7 @@ "write" ], "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets." + "description": "The level of permission to grant the access token to manage Dependabot secrets." }, "deployments": { "enum": [ diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Apps/ScopeToken/Request/ApplicationJson.php b/clients/GitHubEnterpriseCloud/src/Schema/Apps/ScopeToken/Request/ApplicationJson.php index f63e48031e8..71780f9189f 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Apps/ScopeToken/Request/ApplicationJson.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Apps/ScopeToken/Request/ApplicationJson.php @@ -106,7 +106,7 @@ "write" ], "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets." + "description": "The level of permission to grant the access token to manage Dependabot secrets." }, "deployments": { "enum": [ diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Authorization.php b/clients/GitHubEnterpriseCloud/src/Schema/Authorization.php index ebcccdf87b0..239b7e47033 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Authorization.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Authorization.php @@ -349,7 +349,7 @@ "write" ], "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets." + "description": "The level of permission to grant the access token to manage Dependabot secrets." }, "deployments": { "enum": [ diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CustomPropertySetPayload.php b/clients/GitHubEnterpriseCloud/src/Schema/CustomPropertySetPayload.php index c531845b0c2..801aee01236 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CustomPropertySetPayload.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CustomPropertySetPayload.php @@ -69,6 +69,21 @@ "type": "string" }, "description": "An ordered list of the allowed values of the property.\\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "type": [ + "string", + "null" + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] } }, "description": "Custom property set payload" @@ -80,7 +95,8 @@ "required": false, "default_value": null, "description": "generated", - "allowed_values": null + "allowed_values": null, + "values_editable_by": "org_actors" }'; /** @@ -90,11 +106,13 @@ * description: Short description of the property * allowedValues: An ordered list of the allowed values of the property. The property can have up to 200 allowed values. + * valuesEditableBy: Who can edit the values of the property */ public function __construct(#[MapFrom('value_type')] public string $valueType, public bool|null $required, #[MapFrom('default_value')] public string|array|null $defaultValue, public string|null $description, #[MapFrom('allowed_values')] - public array|null $allowedValues,) + public array|null $allowedValues, #[MapFrom('values_editable_by')] + public string|null $valuesEditableBy,) { } } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Event.php b/clients/GitHubEnterpriseCloud/src/Schema/Event.php index 5afb3967a4b..d58adf35e32 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Event.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Event.php @@ -1394,6 +1394,73 @@ "type": "string", "format": "uri" }, + "type": { + "title": "Issue Type", + "required": [ + "id", + "node_id", + "name", + "description" + ], + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ], + "type": [ + "string", + "null" + ], + "description": "The color of the issue type." + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "description": "The type of issue." + }, "repository": { "title": "Repository", "required": [ @@ -3814,6 +3881,16 @@ "body_html": "generated", "body_text": "generated", "timeline_url": "https:\\/\\/example.com\\/", + "type": { + "id": 2, + "node_id": "generated", + "name": "generated", + "description": "generated", + "color": "gray", + "created_at": "1970-01-01T00:00:00+00:00", + "updated_at": "1970-01-01T00:00:00+00:00", + "is_enabled": false + }, "repository": { "id": 42, "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Event/Payload.php b/clients/GitHubEnterpriseCloud/src/Schema/Event/Payload.php index f0489d0fec5..b89fa353c79 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Event/Payload.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Event/Payload.php @@ -1277,6 +1277,73 @@ "type": "string", "format": "uri" }, + "type": { + "title": "Issue Type", + "required": [ + "id", + "node_id", + "name", + "description" + ], + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ], + "type": [ + "string", + "null" + ], + "description": "The color of the issue type." + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "description": "The type of issue." + }, "repository": { "title": "Repository", "required": [ @@ -3660,6 +3727,16 @@ "body_html": "generated", "body_text": "generated", "timeline_url": "https:\\/\\/example.com\\/", + "type": { + "id": 2, + "node_id": "generated", + "name": "generated", + "description": "generated", + "color": "gray", + "created_at": "1970-01-01T00:00:00+00:00", + "updated_at": "1970-01-01T00:00:00+00:00", + "is_enabled": false + }, "repository": { "id": 42, "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Installation.php b/clients/GitHubEnterpriseCloud/src/Schema/Installation.php index 47ebedf812e..89a814f64f9 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Installation.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Installation.php @@ -401,7 +401,7 @@ "write" ], "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets." + "description": "The level of permission to grant the access token to manage Dependabot secrets." }, "deployments": { "enum": [ diff --git a/clients/GitHubEnterpriseCloud/src/Schema/InstallationToken.php b/clients/GitHubEnterpriseCloud/src/Schema/InstallationToken.php index 637c5d247e3..be183969658 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/InstallationToken.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/InstallationToken.php @@ -73,7 +73,7 @@ "write" ], "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets." + "description": "The level of permission to grant the access token to manage Dependabot secrets." }, "deployments": { "enum": [ diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Issue.php b/clients/GitHubEnterpriseCloud/src/Schema/Issue.php index 3b539232787..cbbe7372cc3 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Issue.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Issue.php @@ -1272,6 +1272,73 @@ "type": "string", "format": "uri" }, + "type": { + "title": "Issue Type", + "required": [ + "id", + "node_id", + "name", + "description" + ], + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ], + "type": [ + "string", + "null" + ], + "description": "The color of the issue type." + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "description": "The type of issue." + }, "repository": { "title": "Repository", "required": [ @@ -2879,6 +2946,16 @@ "body_html": "generated", "body_text": "generated", "timeline_url": "https:\\/\\/example.com\\/", + "type": { + "id": 2, + "node_id": "generated", + "name": "generated", + "description": "generated", + "color": "gray", + "created_at": "1970-01-01T00:00:00+00:00", + "updated_at": "1970-01-01T00:00:00+00:00", + "is_enabled": false + }, "repository": { "id": 42, "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", @@ -3071,6 +3148,7 @@ * title: Title of the issue * body: Contents of the issue * labels: Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository + * type: The type of issue. * repository: A repository on GitHub. * authorAssociation: How the author is associated with the repository. */ @@ -3090,7 +3168,7 @@ public function __construct(public int $id, #[MapFrom('node_id')] public Schema\SimpleUser|null $closedBy, #[MapFrom('body_html')] public string|null $bodyHtml, #[MapFrom('body_text')] public string|null $bodyText, #[MapFrom('timeline_url')] - public string|null $timelineUrl, public Schema\Repository|null $repository, #[MapFrom('performed_via_github_app')] + public string|null $timelineUrl, public Schema\IssueType|null $type, public Schema\Repository|null $repository, #[MapFrom('performed_via_github_app')] public Schema\Integration|null $performedViaGithubApp, #[MapFrom('author_association')] public string $authorAssociation, public Schema\ReactionRollup|null $reactions, #[MapFrom('sub_issues_summary')] public Schema\SubIssuesSummary|null $subIssuesSummary,) diff --git a/clients/GitHubEnterpriseCloud/src/Schema/IssueEvent.php b/clients/GitHubEnterpriseCloud/src/Schema/IssueEvent.php index f9311113863..7a8c45b9adc 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/IssueEvent.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/IssueEvent.php @@ -1517,6 +1517,73 @@ "type": "string", "format": "uri" }, + "type": { + "title": "Issue Type", + "required": [ + "id", + "node_id", + "name", + "description" + ], + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ], + "type": [ + "string", + "null" + ], + "description": "The color of the issue type." + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "description": "The type of issue." + }, "repository": { "title": "Repository", "required": [ @@ -4640,6 +4707,16 @@ "body_html": "generated", "body_text": "generated", "timeline_url": "https:\\/\\/example.com\\/", + "type": { + "id": 2, + "node_id": "generated", + "name": "generated", + "description": "generated", + "color": "gray", + "created_at": "1970-01-01T00:00:00+00:00", + "updated_at": "1970-01-01T00:00:00+00:00", + "is_enabled": false + }, "repository": { "id": 42, "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", diff --git a/clients/GitHubEnterpriseCloud/src/Schema/IssueSearchResultItem.php b/clients/GitHubEnterpriseCloud/src/Schema/IssueSearchResultItem.php index b35c32b449f..9aa3c9a475e 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/IssueSearchResultItem.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/IssueSearchResultItem.php @@ -2068,6 +2068,73 @@ "type": "string", "format": "uri" }, + "type": { + "title": "Issue Type", + "required": [ + "id", + "node_id", + "name", + "description" + ], + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ], + "type": [ + "string", + "null" + ], + "description": "The color of the issue type." + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "description": "The type of issue." + }, "performed_via_github_app": { "anyOf": [ { @@ -2881,6 +2948,16 @@ "body_html": "generated", "body_text": "generated", "timeline_url": "https:\\/\\/example.com\\/", + "type": { + "id": 2, + "node_id": "generated", + "name": "generated", + "description": "generated", + "color": "gray", + "created_at": "1970-01-01T00:00:00+00:00", + "updated_at": "1970-01-01T00:00:00+00:00", + "is_enabled": false + }, "performed_via_github_app": { "id": 37, "slug": "probot-owners", @@ -2926,6 +3003,7 @@ /** * authorAssociation: How the author is associated with the repository. * repository: A repository on GitHub. + * type: The type of issue. */ public function __construct(public string $url, #[MapFrom('repository_url')] public string $repositoryUrl, #[MapFrom('labels_url')] @@ -2945,7 +3023,7 @@ public function __construct(public string $url, #[MapFrom('repository_url')] public string $authorAssociation, public bool|null $draft, public Schema\Repository|null $repository, #[MapFrom('body_html')] public string|null $bodyHtml, #[MapFrom('body_text')] public string|null $bodyText, #[MapFrom('timeline_url')] - public string|null $timelineUrl, #[MapFrom('performed_via_github_app')] + public string|null $timelineUrl, public Schema\IssueType|null $type, #[MapFrom('performed_via_github_app')] public Schema\Integration|null $performedViaGithubApp, public Schema\ReactionRollup|null $reactions,) { } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/IssueType.php b/clients/GitHubEnterpriseCloud/src/Schema/IssueType.php new file mode 100644 index 00000000000..cd100d97626 --- /dev/null +++ b/clients/GitHubEnterpriseCloud/src/Schema/IssueType.php @@ -0,0 +1,108 @@ +prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/orgs/generated/issues?labels=generated&since=1970-01-01T00:00:00+00:00&filter=generated&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/orgs/generated/issues?labels=generated&type=generated&since=1970-01-01T00:00:00+00:00&filter=generated&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->call(Internal\Operation\Issues\ListForOrgListing::OPERATION_MATCH, (static function (array $data): array { $data['org'] = 'generated'; $data['labels'] = 'generated'; + $data['type'] = 'generated'; $data['since'] = '1970-01-01T00:00:00+00:00'; $data['filter'] = 'generated'; $data['state'] = 'generated'; @@ -60,9 +61,9 @@ public function operations_httpCode_404_responseContentType_application_json_zer $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/orgs/generated/issues?labels=generated&since=1970-01-01T00:00:00+00:00&filter=generated&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/orgs/generated/issues?labels=generated&type=generated&since=1970-01-01T00:00:00+00:00&filter=generated&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); - $result = $client->operations()->issues()->listForOrgListing('generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 'generated', 8, 1); + $result = $client->operations()->issues()->listForOrgListing('generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 'generated', 8, 1); foreach ($result as $item) { } } diff --git a/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForOrgTest.php b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForOrgTest.php index ac41c8a8248..c536960d248 100644 --- a/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForOrgTest.php +++ b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForOrgTest.php @@ -31,11 +31,12 @@ public function call_httpCode_404_responseContentType_application_json_zero(): v $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/orgs/generated/issues?labels=generated&since=1970-01-01T00:00:00+00:00&filter=generated&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/orgs/generated/issues?labels=generated&type=generated&since=1970-01-01T00:00:00+00:00&filter=generated&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->call(Internal\Operation\Issues\ListForOrg::OPERATION_MATCH, (static function (array $data): array { $data['org'] = 'generated'; $data['labels'] = 'generated'; + $data['type'] = 'generated'; $data['since'] = '1970-01-01T00:00:00+00:00'; $data['filter'] = 'generated'; $data['state'] = 'generated'; @@ -58,8 +59,8 @@ public function operations_httpCode_404_responseContentType_application_json_zer $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/orgs/generated/issues?labels=generated&since=1970-01-01T00:00:00+00:00&filter=generated&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/orgs/generated/issues?labels=generated&type=generated&since=1970-01-01T00:00:00+00:00&filter=generated&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); - $result = $client->operations()->issues()->listForOrg('generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 'generated', 8, 1); + $result = $client->operations()->issues()->listForOrg('generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 'generated', 8, 1); } } diff --git a/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForRepoListingTest.php b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForRepoListingTest.php index 4413ad21cd6..79505018387 100644 --- a/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForRepoListingTest.php +++ b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForRepoListingTest.php @@ -30,13 +30,14 @@ public function call_httpCode_301_responseContentType_application_json_zero(): v $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->call(Internal\Operation\Issues\ListForRepoListing::OPERATION_MATCH, (static function (array $data): array { $data['owner'] = 'generated'; $data['repo'] = 'generated'; $data['milestone'] = 'generated'; $data['assignee'] = 'generated'; + $data['type'] = 'generated'; $data['creator'] = 'generated'; $data['mentioned'] = 'generated'; $data['labels'] = 'generated'; @@ -62,9 +63,9 @@ public function operations_httpCode_301_responseContentType_application_json_zer $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); - $result = $client->operations()->issues()->listForRepoListing('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); + $result = $client->operations()->issues()->listForRepoListing('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); foreach ($result as $item) { } } @@ -79,13 +80,14 @@ public function call_httpCode_422_responseContentType_application_json_zero(): v $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->call(Internal\Operation\Issues\ListForRepoListing::OPERATION_MATCH, (static function (array $data): array { $data['owner'] = 'generated'; $data['repo'] = 'generated'; $data['milestone'] = 'generated'; $data['assignee'] = 'generated'; + $data['type'] = 'generated'; $data['creator'] = 'generated'; $data['mentioned'] = 'generated'; $data['labels'] = 'generated'; @@ -112,9 +114,9 @@ public function operations_httpCode_422_responseContentType_application_json_zer $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); - $result = $client->operations()->issues()->listForRepoListing('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); + $result = $client->operations()->issues()->listForRepoListing('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); foreach ($result as $item) { } } @@ -129,13 +131,14 @@ public function call_httpCode_404_responseContentType_application_json_zero(): v $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->call(Internal\Operation\Issues\ListForRepoListing::OPERATION_MATCH, (static function (array $data): array { $data['owner'] = 'generated'; $data['repo'] = 'generated'; $data['milestone'] = 'generated'; $data['assignee'] = 'generated'; + $data['type'] = 'generated'; $data['creator'] = 'generated'; $data['mentioned'] = 'generated'; $data['labels'] = 'generated'; @@ -162,9 +165,9 @@ public function operations_httpCode_404_responseContentType_application_json_zer $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); - $result = $client->operations()->issues()->listForRepoListing('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); + $result = $client->operations()->issues()->listForRepoListing('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); foreach ($result as $item) { } } diff --git a/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForRepoTest.php b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForRepoTest.php index c5f36fd1826..a02a379a6a2 100644 --- a/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForRepoTest.php +++ b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Issues/ListForRepoTest.php @@ -30,13 +30,14 @@ public function call_httpCode_301_responseContentType_application_json_zero(): v $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->call(Internal\Operation\Issues\ListForRepo::OPERATION_MATCH, (static function (array $data): array { $data['owner'] = 'generated'; $data['repo'] = 'generated'; $data['milestone'] = 'generated'; $data['assignee'] = 'generated'; + $data['type'] = 'generated'; $data['creator'] = 'generated'; $data['mentioned'] = 'generated'; $data['labels'] = 'generated'; @@ -60,9 +61,9 @@ public function operations_httpCode_301_responseContentType_application_json_zer $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); - $result = $client->operations()->issues()->listForRepo('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); + $result = $client->operations()->issues()->listForRepo('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); } /** @test */ @@ -75,13 +76,14 @@ public function call_httpCode_422_responseContentType_application_json_zero(): v $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->call(Internal\Operation\Issues\ListForRepo::OPERATION_MATCH, (static function (array $data): array { $data['owner'] = 'generated'; $data['repo'] = 'generated'; $data['milestone'] = 'generated'; $data['assignee'] = 'generated'; + $data['type'] = 'generated'; $data['creator'] = 'generated'; $data['mentioned'] = 'generated'; $data['labels'] = 'generated'; @@ -106,9 +108,9 @@ public function operations_httpCode_422_responseContentType_application_json_zer $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); - $result = $client->operations()->issues()->listForRepo('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); + $result = $client->operations()->issues()->listForRepo('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); } /** @test */ @@ -121,13 +123,14 @@ public function call_httpCode_404_responseContentType_application_json_zero(): v $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->call(Internal\Operation\Issues\ListForRepo::OPERATION_MATCH, (static function (array $data): array { $data['owner'] = 'generated'; $data['repo'] = 'generated'; $data['milestone'] = 'generated'; $data['assignee'] = 'generated'; + $data['type'] = 'generated'; $data['creator'] = 'generated'; $data['mentioned'] = 'generated'; $data['labels'] = 'generated'; @@ -152,8 +155,8 @@ public function operations_httpCode_404_responseContentType_application_json_zer $browser = $this->prophesize(Browser::class); $browser->withBase(Argument::any())->willReturn($browser->reveal()); $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); - $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $browser->request('GET', '/repos/generated/generated/issues?milestone=generated&assignee=generated&type=generated&creator=generated&mentioned=generated&labels=generated&since=1970-01-01T00:00:00+00:00&state=generated&sort=generated&direction=generated&per_page=8&page=1', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); $client = new Client($auth->reveal(), $browser->reveal()); - $result = $client->operations()->issues()->listForRepo('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); + $result = $client->operations()->issues()->listForRepo('generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', 'generated', '1970-01-01T00:00:00+00:00', 'generated', 'generated', 'generated', 8, 1); } } diff --git a/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/CreateIssueTypeTest.php b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/CreateIssueTypeTest.php new file mode 100644 index 00000000000..dfc2b06ef1b --- /dev/null +++ b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/CreateIssueTypeTest.php @@ -0,0 +1,123 @@ + 'application/json'], json_encode(json_decode(Schema\IssueType::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/orgs/generated/issue-types', Argument::type('array'), json_encode(json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Orgs\CreateIssueType::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + + return $data; + })(json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true))); + } + + /** @test */ + public function operations_httpCode_200_requestContentType_application_json_responseContentType_application_json_zero(): void + { + $response = new Response(200, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\IssueType::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/orgs/generated/issue-types', Argument::type('array'), json_encode(json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->orgs()->createIssueType('generated', json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true)); + } + + /** @test */ + public function call_httpCode_404_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(404, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/orgs/generated/issue-types', Argument::type('array'), json_encode(json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Orgs\CreateIssueType::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + + return $data; + })(json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true))); + } + + /** @test */ + public function operations_httpCode_404_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(404, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/orgs/generated/issue-types', Argument::type('array'), json_encode(json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->orgs()->createIssueType('generated', json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true)); + } + + /** @test */ + public function call_httpCode_422_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\ValidationErrorSimple::class); + $response = new Response(422, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\ValidationErrorSimple::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/orgs/generated/issue-types', Argument::type('array'), json_encode(json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Orgs\CreateIssueType::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + + return $data; + })(json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true))); + } + + /** @test */ + public function operations_httpCode_422_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\ValidationErrorSimple::class); + $response = new Response(422, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\ValidationErrorSimple::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/orgs/generated/issue-types', Argument::type('array'), json_encode(json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->orgs()->createIssueType('generated', json_decode(Schema\OrganizationCreateIssueType::SCHEMA_EXAMPLE_DATA, true)); + } +} diff --git a/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/DeleteIssueTypeTest.php b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/DeleteIssueTypeTest.php new file mode 100644 index 00000000000..2df9e59a38c --- /dev/null +++ b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/DeleteIssueTypeTest.php @@ -0,0 +1,128 @@ + 'application/json'], json_encode(json_decode(Schema\ValidationErrorSimple::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('DELETE', '/orgs/generated/issue-types/13', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Orgs\DeleteIssueType::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + $data['issue_type_id'] = 13; + + return $data; + })([])); + } + + /** @test */ + public function operations_httpCode_422_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\ValidationErrorSimple::class); + $response = new Response(422, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\ValidationErrorSimple::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('DELETE', '/orgs/generated/issue-types/13', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->orgs()->deleteIssueType('generated', 13); + } + + /** @test */ + public function call_httpCode_404_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(404, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('DELETE', '/orgs/generated/issue-types/13', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Orgs\DeleteIssueType::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + $data['issue_type_id'] = 13; + + return $data; + })([])); + } + + /** @test */ + public function operations_httpCode_404_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(404, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('DELETE', '/orgs/generated/issue-types/13', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->orgs()->deleteIssueType('generated', 13); + } + + /** @test */ + public function call_httpCode_204_empty(): void + { + $response = new Response(204, []); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('DELETE', '/orgs/generated/issue-types/13', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Orgs\DeleteIssueType::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + $data['issue_type_id'] = 13; + + return $data; + })([])); + } + + /** @test */ + public function operations_httpCode_204_empty(): void + { + $response = new Response(204, []); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('DELETE', '/orgs/generated/issue-types/13', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->orgs()->deleteIssueType('generated', 13); + self::assertArrayHasKey('code', $result); + self::assertSame(204, $result['code']); + } +} diff --git a/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/ListIssueTypesTest.php b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/ListIssueTypesTest.php new file mode 100644 index 00000000000..12fa7fc0418 --- /dev/null +++ b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/ListIssueTypesTest.php @@ -0,0 +1,57 @@ + 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('GET', '/orgs/generated/issue-types', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Orgs\ListIssueTypes::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + + return $data; + })([])); + } + + /** @test */ + public function operations_httpCode_404_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(404, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('GET', '/orgs/generated/issue-types', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->orgs()->listIssueTypes('generated'); + } +} diff --git a/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/UpdateIssueTypeTest.php b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/UpdateIssueTypeTest.php new file mode 100644 index 00000000000..7ca0274d975 --- /dev/null +++ b/clients/GitHubEnterpriseCloud/tests/Internal/Operation/Orgs/UpdateIssueTypeTest.php @@ -0,0 +1,126 @@ + 'application/json'], json_encode(json_decode(Schema\IssueType::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('PUT', '/orgs/generated/issue-types/13', Argument::type('array'), json_encode(json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Orgs\UpdateIssueType::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + $data['issue_type_id'] = 13; + + return $data; + })(json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true))); + } + + /** @test */ + public function operations_httpCode_200_requestContentType_application_json_responseContentType_application_json_zero(): void + { + $response = new Response(200, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\IssueType::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('PUT', '/orgs/generated/issue-types/13', Argument::type('array'), json_encode(json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->orgs()->updateIssueType('generated', 13, json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true)); + } + + /** @test */ + public function call_httpCode_404_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(404, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('PUT', '/orgs/generated/issue-types/13', Argument::type('array'), json_encode(json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Orgs\UpdateIssueType::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + $data['issue_type_id'] = 13; + + return $data; + })(json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true))); + } + + /** @test */ + public function operations_httpCode_404_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(404, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('PUT', '/orgs/generated/issue-types/13', Argument::type('array'), json_encode(json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->orgs()->updateIssueType('generated', 13, json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true)); + } + + /** @test */ + public function call_httpCode_422_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\ValidationErrorSimple::class); + $response = new Response(422, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\ValidationErrorSimple::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('PUT', '/orgs/generated/issue-types/13', Argument::type('array'), json_encode(json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Orgs\UpdateIssueType::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + $data['issue_type_id'] = 13; + + return $data; + })(json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true))); + } + + /** @test */ + public function operations_httpCode_422_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\ValidationErrorSimple::class); + $response = new Response(422, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\ValidationErrorSimple::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('PUT', '/orgs/generated/issue-types/13', Argument::type('array'), json_encode(json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->orgs()->updateIssueType('generated', 13, json_decode(Schema\OrganizationUpdateIssueType::SCHEMA_EXAMPLE_DATA, true)); + } +} diff --git a/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php index 860129d0ef9..18f2f88e092 100644 --- a/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php @@ -419,8 +419,12 @@ function authHeader(): string assertType('', $client->call('DELETE /orgs/{org}/invitations/{invitation_id}')); assertType('Observable', $client->call('GET /orgs/{org}/invitations/{invitation_id}/teams')); assertType('Observable', $client->call('LIST /orgs/{org}/invitations/{invitation_id}/teams')); -assertType('Observable', $client->call('GET /orgs/{org}/issues')); -assertType('Observable', $client->call('LIST /orgs/{org}/issues')); +assertType('iterable', $client->call('GET /orgs/{org}/issue-types')); +assertType('Schema\\IssueType', $client->call('POST /orgs/{org}/issue-types')); +assertType('Schema\\IssueType', $client->call('PUT /orgs/{org}/issue-types/{issue_type_id}')); +assertType('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('DELETE /orgs/{org}/issue-types/{issue_type_id}')); +assertType('iterable', $client->call('GET /orgs/{org}/issues')); +assertType('iterable', $client->call('LIST /orgs/{org}/issues')); assertType('Observable', $client->call('GET /orgs/{org}/members')); assertType('Observable', $client->call('LIST /orgs/{org}/members')); assertType('', $client->call('GET /orgs/{org}/members/{username}')); @@ -930,8 +934,8 @@ function authHeader(): string assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/invitations')); assertType('', $client->call('DELETE /repos/{owner}/{repo}/invitations/{invitation_id}')); assertType('', $client->call('PATCH /repos/{owner}/{repo}/invitations/{invitation_id}')); -assertType('Observable|Schema\\BasicError', $client->call('GET /repos/{owner}/{repo}/issues')); -assertType('Observable|Schema\\BasicError', $client->call('LIST /repos/{owner}/{repo}/issues')); +assertType('iterable|Schema\\BasicError', $client->call('GET /repos/{owner}/{repo}/issues')); +assertType('iterable|Schema\\BasicError', $client->call('LIST /repos/{owner}/{repo}/issues')); assertType('', $client->call('POST /repos/{owner}/{repo}/issues')); assertType('Observable', $client->call('GET /repos/{owner}/{repo}/issues/comments')); assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/issues/comments')); diff --git a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml index 2d879d23d76..8a28f870554 100644 --- a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml +++ b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml @@ -5343,6 +5343,10 @@ paths: Creates new or updates existing custom properties defined for an enterprise in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be an administrator for the enterprise. tags: - enterprise-admin @@ -16644,6 +16648,160 @@ paths: enabledForGitHubApps: true category: orgs subcategory: members + "/orgs/{org}/issue-types": + get: + summary: List issue types for an organization + description: Lists all issue types for an organization. + tags: + - orgs + operationId: orgs/list-issue-types + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/issue-type" + examples: + default: + "$ref": "#/components/examples/issue-type-items" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: issue-types + post: + summary: Create issue type for an organization + description: |- + Create a new issue type for an organization. + + You can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization). + tags: + - orgs + operationId: orgs/create-issue-type + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-create-issue-type" + examples: + default: + value: + name: Epic + description: An issue type for a multi-week tracking of work + is_enabled: true + color: green + is_private: true + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue-type" + examples: + default: + "$ref": "#/components/examples/issue-type" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed_simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: issue-types + "/orgs/{org}/issue-types/{issue_type_id}": + put: + summary: Update issue type for an organization + description: |- + Updates an issue type for an organization. + + You can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization). + tags: + - orgs + operationId: orgs/update-issue-type + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/issue-type-id" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-update-issue-type" + examples: + default: + value: + name: Epic + description: An issue type for a multi-week tracking of work + is_enabled: true + color: green + is_private: true + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue-type" + examples: + default: + "$ref": "#/components/examples/issue-type" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed_simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: issue-types + delete: + summary: Delete issue type for an organization + description: |- + Deletes an issue type for an organization. + + You can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization). + tags: + - orgs + operationId: orgs/delete-issue-type + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/issue-type-id" + responses: + '204': + description: Response + '422': + "$ref": "#/components/responses/validation_failed_simple" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: issue-types "/orgs/{org}/issues": get: summary: List organization issues assigned to the authenticated user @@ -16697,6 +16855,12 @@ paths: - all default: open - "$ref": "#/components/parameters/labels" + - name: type + description: Can be the name of an issue type. + in: query + required: false + schema: + type: string - name: sort description: What to sort results by. in: query @@ -19533,6 +19697,10 @@ paths: description: |- Creates new or updates existing custom properties defined for an organization in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. @@ -39878,6 +40046,14 @@ paths: required: false schema: type: string + - name: type + description: Can be the name of an issue type. If the string `*` is passed, + issues with any type are accepted. If the string `none` is passed, issues + without type are returned. + in: query + required: false + schema: + type: string - name: creator description: The user that created the issue. in: query @@ -40018,6 +40194,13 @@ paths: are silently dropped otherwise._' items: type: string + type: + type: + - string + - 'null' + description: The name of the issue type to associate with this issue. + examples: + - Epic required: - title examples: @@ -40627,6 +40810,14 @@ paths: push access to the repository, assignee changes are silently dropped. items: type: string + type: + type: + - string + - 'null' + description: The name of the issue type to associate with this issue + or use `null` to remove the current issue type. + examples: + - Epic examples: default: value: @@ -77667,7 +77858,7 @@ components: - write dependabot_secrets: type: string - description: The leve of permission to grant the access token to manage + description: The level of permission to grant the access token to manage Dependabot secrets. enum: - read @@ -83069,6 +83260,17 @@ components: description: |- An ordered list of the allowed values of the property. The property can have up to 200 allowed values. + values_editable_by: + type: + - string + - 'null' + enum: + - org_actors + - org_and_repo_actors + - + description: Who can edit the values of the property + examples: + - org_actors required: - value_type repository-rule-enforcement: @@ -84656,6 +84858,58 @@ components: - url - created_at - updated_at + issue-type: + title: Issue Type + description: The type of issue. + type: + - object + - 'null' + properties: + id: + type: integer + description: The unique identifier of the issue type. + node_id: + type: string + description: The node identifier of the issue type. + name: + type: string + description: The name of the issue type. + description: + type: + - string + - 'null' + description: The description of the issue type. + color: + type: + - string + - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + created_at: + type: string + description: The time the issue type created. + format: date-time + updated_at: + type: string + description: The time the issue type last updated. + format: date-time + is_enabled: + type: boolean + description: The enabled state of the issue type. + required: + - id + - node_id + - name + - description author-association: title: author_association type: string @@ -84905,6 +85159,8 @@ components: timeline_url: type: string format: uri + type: + "$ref": "#/components/schemas/issue-type" repository: "$ref": "#/components/schemas/repository" performed_via_github_app: @@ -88735,6 +88991,80 @@ components: "$ref": "#/components/schemas/interaction-expiry" required: - limit + organization-create-issue-type: + type: object + properties: + name: + description: Name of the issue type. + type: string + is_enabled: + description: Whether or not the issue type is enabled at the organization + level. + type: boolean + is_private: + description: Whether or not the issue type is restricted to issues in private + repositories. + type: boolean + description: + description: Description of the issue type. + type: + - string + - 'null' + color: + description: Color for the issue type. + type: + - string + - 'null' + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + required: + - name + - is_enabled + organization-update-issue-type: + type: object + properties: + name: + description: Name of the issue type. + type: string + is_enabled: + description: Whether or not the issue type is enabled at the organization + level. + type: boolean + is_private: + description: Whether or not the issue type is restricted to issues in private + repositories. + type: boolean + description: + description: Description of the issue type. + type: + - string + - 'null' + color: + description: Color for the issue type. + type: + - string + - 'null' + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + required: + - name + - is_enabled org-membership: title: Org Membership description: Org Membership @@ -104505,6 +104835,8 @@ components: timeline_url: type: string format: uri + type: + "$ref": "#/components/schemas/issue-type" performed_via_github_app: anyOf: - type: 'null' @@ -109769,6 +110101,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -110849,6 +111183,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -128617,6 +128953,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -129828,6 +130166,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -131046,6 +131386,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -132289,6 +132631,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -133391,6 +133735,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -134374,6 +134720,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -135336,6 +135684,8 @@ components: timeline_url: type: string format: uri + type: + "$ref": "#/components/schemas/issue-type" title: description: Title of the issue type: string @@ -136303,6 +136653,8 @@ components: timeline_url: type: string format: uri + type: + "$ref": "#/components/schemas/issue-type" title: description: Title of the issue type: string @@ -137294,6 +137646,8 @@ components: timeline_url: type: string format: uri + type: + "$ref": "#/components/schemas/issue-type" title: description: Title of the issue type: string @@ -138257,6 +138611,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -140621,6 +140977,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -141712,6 +142070,8 @@ components: format: uri user_view_type: type: string + type: + "$ref": "#/components/schemas/issue-type" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -142570,6 +142930,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -144098,6 +144460,8 @@ components: title: description: Title of the issue type: string + type: + "$ref": "#/components/schemas/issue-type" updated_at: type: string format: date-time @@ -221959,6 +222323,28 @@ components: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: + issue-type-items: + value: + - id: 410 + node_id: IT_kwDNAd3NAZo + name: Task + description: A specific piece of work + created_at: '2024-12-11T14:39:09Z' + updated_at: '2024-12-11T14:39:09Z' + - id: 411 + node_id: IT_kwDNAd3NAZs + name: Bug + description: An unexpected problem or behavior + created_at: '2024-12-11T14:39:09Z' + updated_at: '2024-12-11T14:39:09Z' + issue-type: + value: + id: 410 + node_id: IT_kwDNAd3NAZo + name: Task + description: A specific piece of work + created_at: '2024-12-11T14:39:09Z' + updated_at: '2024-12-11T14:39:09Z' codespace: value: id: 1 @@ -243040,6 +243426,13 @@ components: required: true schema: type: integer + issue-type-id: + name: issue_type_id + description: The unique identifier of the issue type. + in: path + required: true + schema: + type: integer codespace-name: name: codespace_name in: path