Skip to content

Commit 0340506

Browse files
authored
[GitHubAE] Update to 1.1.4-74b23f69ab43292c32beada294158c1f from 1.1.4-c53bc143cee6ec8bc7d1aa26f4408ca5
Detected Schema changes: ├─┬create │ └─┬POST │ └──[M] summary (33697:16) └─┬Components ├──[-] schemas (64953:7)❌ ├─┬webhook-workflow-dispatch │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-milestone-closed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-ready-for-review │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-installation-target-renamed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-code-scanning-alert-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-card-converted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-code-scanning-alert-reopened │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-transferred │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-code-scanning-alert-reopened-by-user │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-deployment-status-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-organization-member-removed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-labeled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-registry-package-updated │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-organization-member-invited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-check-suite-rerequested │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-workflow-run-completed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-column-moved │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-label-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-comment-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-comment-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-deploy-key-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-milestone-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-pinned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-status │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-dependabot-alert-fixed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-milestone-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-auto-merge-enabled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-locked │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-deployment-review-rejected │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-team-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-github-app-authorization-revoked │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-public │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-gollum │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-anonymous-access-enabled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-unassigned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-demilestoned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-review-request-removed │ ├─┬ONEOF │ │ └─┬enterprise │ │ └──[M] $ref (47262:14)❌ │ └─┬ONEOF │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issue-comment-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-unpinned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-organization-renamed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-workflow-job-queued │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-team-add │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-team-removed-from-repository │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-team-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-review-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-column-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-column-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-sponsorship-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-workflow-job-completed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-locked │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-membership-added │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-review-thread-resolved │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-installation-unsuspend │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-branch-protection-rule-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-deployment-review-approved │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-check-suite-requested │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-dependabot-alert-auto-dismissed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-sponsorship-cancelled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-watch-started │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-check-suite-completed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-installation-suspend │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-auto-merge-disabled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-demilestoned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-opened │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-unlabeled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-push │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-unlocked │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-transferred │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-dependabot-alert-reopened │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-unpinned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-installation-repositories-added │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-create │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-unlabeled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-review-comment-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-unlabeled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-fork │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-meta-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-publicized │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-unassigned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-dependabot-alert-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-answered │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-renamed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-package-updated │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-deployment-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-reopened │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-commit-comment-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-delete │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-assigned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-sponsorship-tier-changed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-member-added │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-release-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-code-scanning-alert-appeared-in-branch │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-package-published │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-secret-scanning-alert-reopened │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-installation-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-dependabot-alert-auto-reopened │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issue-comment-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-sponsorship-pending-tier-change │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-security-and-analysis │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-member-removed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-milestoned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-closed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-member-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-unlocked │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-review-thread-unresolved │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-membership-removed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-anonymous-access-disabled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-release-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-review-dismissed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-user-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-review-submitted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-code-scanning-alert-fixed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-release-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-deployment-review-requested │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-closed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-closed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-assigned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-archived │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-reopened │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-review-requested │ ├─┬ONEOF │ │ ├──[+] required (148331:11)❌ │ │ ├──[-] required (145981:11)❌ │ │ ├──[+] properties (148226:11) │ │ ├──[-] properties (145908:11)❌ │ │ ├─┬enterprise │ │ │ └──[M] $ref (47262:14)❌ │ │ └─┬pull_request │ │ └─┬requested_reviewers │ │ └─┬Schema │ │ └─┬ONEOF │ │ ├──[-] required (145660:23)❌ │ │ ├──[-] required (145662:23)❌ │ │ ├──[-] required (145664:23)❌ │ │ ├──[-] required (145667:23)❌ │ │ ├──[-] required (145659:23)❌ │ │ ├──[-] required (145661:23)❌ │ │ ├──[-] required (145663:23)❌ │ │ ├──[-] required (145665:23)❌ │ │ └──[-] required (145666:23)❌ │ └─┬ONEOF │ ├──[+] required (145910:11)❌ │ ├──[-] required (148402:11)❌ │ ├──[+] properties (145837:11) │ ├──[-] properties (148297:11)❌ │ ├─┬pull_request │ │ └─┬requested_reviewers │ │ └─┬Schema │ │ └─┬ONEOF │ │ ├──[+] required (145590:23)❌ │ │ ├──[+] required (145596:23)❌ │ │ ├──[+] required (145588:23)❌ │ │ ├──[+] required (145591:23)❌ │ │ ├──[+] required (145592:23)❌ │ │ ├──[+] required (145593:23)❌ │ │ ├──[+] required (145594:23)❌ │ │ ├──[+] required (145595:23)❌ │ │ └──[+] required (145589:23)❌ │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-deploy-key-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-category-changed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-review-comment-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-secret-scanning-alert-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-team-added-to-repository │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-organization-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-label-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-star-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-discussion-comment-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-locked │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-unarchived │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-converted-to-draft │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-pinned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-dependabot-alert-reintroduced │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-secret-scanning-alert-resolved │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-installation-new-permissions-accepted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-column-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-opened │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-user-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-code-scanning-alert-closed-by-user │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-secret-scanning-alert-revoked │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-card-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-milestone-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-card-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-milestone-opened │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-labeled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-star-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-labeled │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-workflow-job-in-progress │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-card-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-label-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-sponsorship-pending-cancellation │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-workflow-run-requested │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issue-comment-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-release-prereleased │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-release-released │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-milestoned │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-workflow-run-in-progress │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-installation-repositories-removed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-sponsorship-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-installation-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-privatized │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-release-unpublished │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-transferred │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-review-comment-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-issues-unlocked │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-reopened │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-registry-package-published │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-team-edited │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-organization-member-added │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-repository-dispatch-sample │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-release-published │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-pull-request-synchronize │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-branch-protection-rule-created │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-dependabot-alert-dismissed │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-branch-protection-rule-deleted │ └─┬enterprise │ └──[M] $ref (47262:14)❌ ├─┬webhook-project-card-moved │ └─┬enterprise │ └──[M] $ref (47262:14)❌ └─┬webhook-page-build └─┬enterprise └──[M] $ref (47262:14)❌ Date: 09/19/23 | Commit: New: etc/specs/GitHubAE/previous.spec.yaml, Original: etc/specs/GitHubAE/current.spec.yaml Document Element | Total Changes | Breaking Changes webhooks | 1 | 0 components | 219 | 217 ❌ 217 Breaking changes out of 220 INFO: Modifications: 193 INFO: Removals: 14 INFO: Additions: 13 INFO: Breaking Removals: 14 INFO: Breaking Modifications: 192 INFO: Breaking Additions: 11 ERROR: breaking changes discovered
1 parent 9b2cc25 commit 0340506

File tree

192 files changed

+1462
-759
lines changed

Some content is hidden

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

192 files changed

+1462
-759
lines changed

etc/openapi-client-generator.state

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

src/Schema/EnterpriseWebhooks.php

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ApiClients\Client\GitHubAE\Schema;
6+
7+
use EventSauce\ObjectHydrator\MapFrom;
8+
9+
final readonly class EnterpriseWebhooks
10+
{
11+
public const SCHEMA_JSON = '{
12+
"title": "Enterprise",
13+
"required": [
14+
"id",
15+
"node_id",
16+
"name",
17+
"slug",
18+
"html_url",
19+
"created_at",
20+
"updated_at",
21+
"avatar_url"
22+
],
23+
"type": "object",
24+
"properties": {
25+
"description": {
26+
"type": [
27+
"string",
28+
"null"
29+
],
30+
"description": "A short description of the enterprise."
31+
},
32+
"html_url": {
33+
"type": "string",
34+
"format": "uri",
35+
"examples": [
36+
"https:\\/\\/github.com\\/enterprises\\/octo-business"
37+
]
38+
},
39+
"website_url": {
40+
"type": [
41+
"string",
42+
"null"
43+
],
44+
"description": "The enterprise\'s website URL.",
45+
"format": "uri"
46+
},
47+
"id": {
48+
"type": "integer",
49+
"description": "Unique identifier of the enterprise",
50+
"examples": [
51+
42
52+
]
53+
},
54+
"node_id": {
55+
"type": "string",
56+
"examples": [
57+
"MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
58+
]
59+
},
60+
"name": {
61+
"type": "string",
62+
"description": "The name of the enterprise.",
63+
"examples": [
64+
"Octo Business"
65+
]
66+
},
67+
"slug": {
68+
"type": "string",
69+
"description": "The slug url identifier for the enterprise.",
70+
"examples": [
71+
"octo-business"
72+
]
73+
},
74+
"created_at": {
75+
"type": [
76+
"string",
77+
"null"
78+
],
79+
"format": "date-time",
80+
"examples": [
81+
"2019-01-26T19:01:12Z"
82+
]
83+
},
84+
"updated_at": {
85+
"type": [
86+
"string",
87+
"null"
88+
],
89+
"format": "date-time",
90+
"examples": [
91+
"2019-01-26T19:14:43Z"
92+
]
93+
},
94+
"avatar_url": {
95+
"type": "string",
96+
"format": "uri"
97+
}
98+
},
99+
"description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\\non an enterprise account or an organization that\'s part of an enterprise account. For more information,\\nsee \\"[About enterprise accounts](https:\\/\\/docs.github.com\\/github-ae@latest\\/admin\\/overview\\/about-enterprise-accounts).\\"\\n"
100+
}';
101+
public const SCHEMA_TITLE = 'Enterprise';
102+
public const SCHEMA_DESCRIPTION = 'An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
103+
on an enterprise account or an organization that\'s part of an enterprise account. For more information,
104+
see "[About enterprise accounts](https://docs.github.com/github-ae@latest/admin/overview/about-enterprise-accounts)."
105+
';
106+
public const SCHEMA_EXAMPLE_DATA = '{
107+
"description": "generated",
108+
"html_url": "https:\\/\\/github.com\\/enterprises\\/octo-business",
109+
"website_url": "https:\\/\\/example.com\\/",
110+
"id": 42,
111+
"node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
112+
"name": "Octo Business",
113+
"slug": "octo-business",
114+
"created_at": "2019-01-26T19:01:12Z",
115+
"updated_at": "2019-01-26T19:14:43Z",
116+
"avatar_url": "https:\\/\\/example.com\\/"
117+
}';
118+
119+
/**
120+
* description: A short description of the enterprise.
121+
* websiteUrl: The enterprise's website URL.
122+
* id: Unique identifier of the enterprise
123+
* name: The name of the enterprise.
124+
* slug: The slug url identifier for the enterprise.
125+
*/
126+
public function __construct(public string|null $description, #[MapFrom('html_url')]
127+
public string $htmlUrl, #[MapFrom('website_url')]
128+
public string|null $websiteUrl, public int $id, #[MapFrom('node_id')]
129+
public string $nodeId, public string $name, public string $slug, #[MapFrom('created_at')]
130+
public string|null $createdAt, #[MapFrom('updated_at')]
131+
public string|null $updatedAt, #[MapFrom('avatar_url')]
132+
public string $avatarUrl,)
133+
{
134+
}
135+
}

src/Schema/WebhookBranchProtectionRuleCreated.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"format": "uri"
113113
}
114114
},
115-
"description": "An enterprise on GitHub."
115+
"description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\\non an enterprise account or an organization that\'s part of an enterprise account. For more information,\\nsee \\"[About enterprise accounts](https:\\/\\/docs.github.com\\/github-ae@latest\\/admin\\/overview\\/about-enterprise-accounts).\\"\\n"
116116
},
117117
"installation": {
118118
"title": "Simple Installation",
@@ -2310,7 +2310,10 @@
23102310
}';
23112311

23122312
/**
2313-
* enterprise: An enterprise on GitHub.
2313+
* enterprise: An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
2314+
on an enterprise account or an organization that's part of an enterprise account. For more information,
2315+
see "[About enterprise accounts](https://docs.github.com/github-ae@latest/admin/overview/about-enterprise-accounts)."
2316+
23142317
* installation: The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
23152318
for and sent to a GitHub App. For more information,
23162319
see "[Using webhooks with GitHub Apps](https://docs.github.com/github-ae@latest/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)."
@@ -2321,7 +2324,7 @@
23212324
* rule: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github-ae@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.
23222325
* sender: The GitHub user that triggered the event. This property is included in every webhook payload.
23232326
*/
2324-
public function __construct(public string $action, public Schema\Enterprise|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\WebhookBranchProtectionRuleCreated\Rule $rule, public Schema\SimpleUserWebhooks $sender)
2327+
public function __construct(public string $action, public Schema\EnterpriseWebhooks|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\WebhookBranchProtectionRuleCreated\Rule $rule, public Schema\SimpleUserWebhooks $sender)
23252328
{
23262329
}
23272330
}

src/Schema/WebhookBranchProtectionRuleDeleted.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"format": "uri"
113113
}
114114
},
115-
"description": "An enterprise on GitHub."
115+
"description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\\non an enterprise account or an organization that\'s part of an enterprise account. For more information,\\nsee \\"[About enterprise accounts](https:\\/\\/docs.github.com\\/github-ae@latest\\/admin\\/overview\\/about-enterprise-accounts).\\"\\n"
116116
},
117117
"installation": {
118118
"title": "Simple Installation",
@@ -2310,7 +2310,10 @@
23102310
}';
23112311

23122312
/**
2313-
* enterprise: An enterprise on GitHub.
2313+
* enterprise: An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
2314+
on an enterprise account or an organization that's part of an enterprise account. For more information,
2315+
see "[About enterprise accounts](https://docs.github.com/github-ae@latest/admin/overview/about-enterprise-accounts)."
2316+
23142317
* installation: The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
23152318
for and sent to a GitHub App. For more information,
23162319
see "[Using webhooks with GitHub Apps](https://docs.github.com/github-ae@latest/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)."
@@ -2321,7 +2324,7 @@
23212324
* rule: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github-ae@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.
23222325
* sender: The GitHub user that triggered the event. This property is included in every webhook payload.
23232326
*/
2324-
public function __construct(public string $action, public Schema\Enterprise|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\WebhookBranchProtectionRuleDeleted\Rule $rule, public Schema\SimpleUserWebhooks $sender)
2327+
public function __construct(public string $action, public Schema\EnterpriseWebhooks|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\WebhookBranchProtectionRuleDeleted\Rule $rule, public Schema\SimpleUserWebhooks $sender)
23252328
{
23262329
}
23272330
}

src/Schema/WebhookBranchProtectionRuleEdited.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
"format": "uri"
221221
}
222222
},
223-
"description": "An enterprise on GitHub."
223+
"description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\\non an enterprise account or an organization that\'s part of an enterprise account. For more information,\\nsee \\"[About enterprise accounts](https:\\/\\/docs.github.com\\/github-ae@latest\\/admin\\/overview\\/about-enterprise-accounts).\\"\\n"
224224
},
225225
"installation": {
226226
"title": "Simple Installation",
@@ -2448,7 +2448,10 @@
24482448

24492449
/**
24502450
* changes: If the action was `edited`, the changes to the rule.
2451-
* enterprise: An enterprise on GitHub.
2451+
* enterprise: An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
2452+
on an enterprise account or an organization that's part of an enterprise account. For more information,
2453+
see "[About enterprise accounts](https://docs.github.com/github-ae@latest/admin/overview/about-enterprise-accounts)."
2454+
24522455
* installation: The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
24532456
for and sent to a GitHub App. For more information,
24542457
see "[Using webhooks with GitHub Apps](https://docs.github.com/github-ae@latest/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)."
@@ -2459,7 +2462,7 @@
24592462
* rule: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github-ae@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.
24602463
* sender: The GitHub user that triggered the event. This property is included in every webhook payload.
24612464
*/
2462-
public function __construct(public string $action, public Schema\WebhookBranchProtectionRuleEdited\Changes|null $changes, public Schema\Enterprise|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\WebhookBranchProtectionRuleEdited\Rule $rule, public Schema\SimpleUserWebhooks $sender)
2465+
public function __construct(public string $action, public Schema\WebhookBranchProtectionRuleEdited\Changes|null $changes, public Schema\EnterpriseWebhooks|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\WebhookBranchProtectionRuleEdited\Rule $rule, public Schema\SimpleUserWebhooks $sender)
24632466
{
24642467
}
24652468
}

src/Schema/WebhookCheckSuiteCompleted.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@
888888
"format": "uri"
889889
}
890890
},
891-
"description": "An enterprise on GitHub."
891+
"description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\\non an enterprise account or an organization that\'s part of an enterprise account. For more information,\\nsee \\"[About enterprise accounts](https:\\/\\/docs.github.com\\/github-ae@latest\\/admin\\/overview\\/about-enterprise-accounts).\\"\\n"
892892
},
893893
"installation": {
894894
"title": "Simple Installation",
@@ -3046,7 +3046,10 @@
30463046

30473047
/**
30483048
* checkSuite: The [check_suite](https://docs.github.com/github-ae@latest/rest/checks/suites#get-a-check-suite).
3049-
* enterprise: An enterprise on GitHub.
3049+
* enterprise: An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
3050+
on an enterprise account or an organization that's part of an enterprise account. For more information,
3051+
see "[About enterprise accounts](https://docs.github.com/github-ae@latest/admin/overview/about-enterprise-accounts)."
3052+
30503053
* installation: The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
30513054
for and sent to a GitHub App. For more information,
30523055
see "[Using webhooks with GitHub Apps](https://docs.github.com/github-ae@latest/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)."
@@ -3057,7 +3060,7 @@
30573060
* sender: The GitHub user that triggered the event. This property is included in every webhook payload.
30583061
*/
30593062
public function __construct(public string $action, #[MapFrom('check_suite')]
3060-
public Schema\WebhookCheckSuiteCompleted\CheckSuite $checkSuite, public Schema\Enterprise|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\SimpleUserWebhooks $sender,)
3063+
public Schema\WebhookCheckSuiteCompleted\CheckSuite $checkSuite, public Schema\EnterpriseWebhooks|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\SimpleUserWebhooks $sender,)
30613064
{
30623065
}
30633066
}

src/Schema/WebhookCheckSuiteRequested.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@
887887
"format": "uri"
888888
}
889889
},
890-
"description": "An enterprise on GitHub."
890+
"description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\\non an enterprise account or an organization that\'s part of an enterprise account. For more information,\\nsee \\"[About enterprise accounts](https:\\/\\/docs.github.com\\/github-ae@latest\\/admin\\/overview\\/about-enterprise-accounts).\\"\\n"
891891
},
892892
"installation": {
893893
"title": "Simple Installation",
@@ -3045,7 +3045,10 @@
30453045

30463046
/**
30473047
* checkSuite: The [check_suite](https://docs.github.com/github-ae@latest/rest/checks/suites#get-a-check-suite).
3048-
* enterprise: An enterprise on GitHub.
3048+
* enterprise: An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
3049+
on an enterprise account or an organization that's part of an enterprise account. For more information,
3050+
see "[About enterprise accounts](https://docs.github.com/github-ae@latest/admin/overview/about-enterprise-accounts)."
3051+
30493052
* installation: The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
30503053
for and sent to a GitHub App. For more information,
30513054
see "[Using webhooks with GitHub Apps](https://docs.github.com/github-ae@latest/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)."
@@ -3056,7 +3059,7 @@
30563059
* sender: The GitHub user that triggered the event. This property is included in every webhook payload.
30573060
*/
30583061
public function __construct(public string $action, #[MapFrom('check_suite')]
3059-
public Schema\WebhookCheckSuiteRequested\CheckSuite $checkSuite, public Schema\Enterprise|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\SimpleUserWebhooks $sender,)
3062+
public Schema\WebhookCheckSuiteRequested\CheckSuite $checkSuite, public Schema\EnterpriseWebhooks|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\SimpleUserWebhooks $sender,)
30603063
{
30613064
}
30623065
}

src/Schema/WebhookCheckSuiteRerequested.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@
881881
"format": "uri"
882882
}
883883
},
884-
"description": "An enterprise on GitHub."
884+
"description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\\non an enterprise account or an organization that\'s part of an enterprise account. For more information,\\nsee \\"[About enterprise accounts](https:\\/\\/docs.github.com\\/github-ae@latest\\/admin\\/overview\\/about-enterprise-accounts).\\"\\n"
885885
},
886886
"installation": {
887887
"title": "Simple Installation",
@@ -3039,7 +3039,10 @@
30393039

30403040
/**
30413041
* checkSuite: The [check_suite](https://docs.github.com/github-ae@latest/rest/checks/suites#get-a-check-suite).
3042-
* enterprise: An enterprise on GitHub.
3042+
* enterprise: An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
3043+
on an enterprise account or an organization that's part of an enterprise account. For more information,
3044+
see "[About enterprise accounts](https://docs.github.com/github-ae@latest/admin/overview/about-enterprise-accounts)."
3045+
30433046
* installation: The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
30443047
for and sent to a GitHub App. For more information,
30453048
see "[Using webhooks with GitHub Apps](https://docs.github.com/github-ae@latest/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)."
@@ -3050,7 +3053,7 @@
30503053
* sender: The GitHub user that triggered the event. This property is included in every webhook payload.
30513054
*/
30523055
public function __construct(public string $action, #[MapFrom('check_suite')]
3053-
public Schema\WebhookCheckSuiteRerequested\CheckSuite $checkSuite, public Schema\Enterprise|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\SimpleUserWebhooks $sender,)
3056+
public Schema\WebhookCheckSuiteRerequested\CheckSuite $checkSuite, public Schema\EnterpriseWebhooks|null $enterprise, public Schema\SimpleInstallation|null $installation, public Schema\OrganizationSimpleWebhooks|null $organization, public Schema\RepositoryWebhooks $repository, public Schema\SimpleUserWebhooks $sender,)
30543057
{
30553058
}
30563059
}

0 commit comments

Comments
 (0)