package org.kohsuke.github;

import java.util.Locale;

/**
 * Hook event type.
 *
 * @author Kohsuke Kawaguchi
 * @see GHEventInfo
 * @see <a href="https://developer.github.com/v3/activity/events/types/">Event type reference</a>
 */
public enum GHEvent {
    COMMIT_COMMENT,
    CREATE,
    DELETE,
    DEPLOYMENT,
    DEPLOYMENT_STATUS,
    DOWNLOAD,
    FOLLOW,
    FORK,
    FORK_APPLY,
    GIST,
    GOLLUM,
    ISSUE_COMMENT,
    ISSUES,
    MEMBER,
    PAGE_BUILD,
    PUBLIC,
    PULL_REQUEST,
    PULL_REQUEST_REVIEW_COMMENT,
    PUSH,
    RELEASE,
    REPOSITORY, // only valid for org hooks
    STATUS,
    TEAM_ADD,
    WATCH,
    PING,
    /**
     * Special event type that means "every possible event"
     */
    ALL;


    /**
     * Returns GitHub's internal representation of this event.
     */
    String symbol() {
        if (this==ALL)  return "*";
        return name().toLowerCase(Locale.ENGLISH);
    }
}

@@ -414,60 +414,261 @@
    I
-SSUE_COMMENT,%0A    ISSUES,%0A    MEMBER,%0A    PAGE_BUILD
+NSTALLATION,%0A    INSTALLATION_REPOSITORIES,%0A    ISSUE_COMMENT,%0A    ISSUES,%0A    LABEL,%0A    MARKETPLACE_PURCHASE,%0A    MEMBER,%0A    MEMBERSHIP,%0A    MILESTONE,%0A    ORGANIZATION,%0A    ORG_BLOCK,%0A    PAGE_BUILD,%0A    PROJECT_CARD,%0A    PROJECT_COLUMN,%0A    PROJECT
 ,%0A  
@@ -691,24 +691,49 @@
 LL_REQUEST,%0A
+    PULL_REQUEST_REVIEW,%0A
     PULL_REQ
@@ -828,24 +828,34 @@
     STATUS,%0A
+    TEAM,%0A
     TEAM_ADD

Add missing event types used by repository webhooks