declare enum StatusCodes { OK = 200, Created = 201, Accepted = 202, "Non-Authoritative Information" = 203, "No Content" = 204, "Reset Content" = 205, "Partial Content" = 206, "Multi-Status (WebDAV)" = 207, "Already Reported (WebDAV)" = 208, "IM Used" = 226, "Bad Request" = 400, Unauthorized = 401, "Payment Required (Experimental)" = 402, Forbidden = 403, "Not Found" = 404, "Method Not Allowed" = 405, "Not Acceptable" = 406, "Proxy Authentication Required" = 407, "Request Timeout" = 408, Conflict = 409, Gone = 410, "Length Required" = 411, "Precondition Failed" = 412, "Request Entity Too Large" = 413, "Request-URI Too Long" = 414, "Unsupported Media Type" = 415, "Requested Range Not Satisfiable" = 416, "Expectation Failed" = 417, "I’m a teapot (RFC 2324)" = 418, "Enhance Your Calm (Twitter)" = 420, "Unprocessable Entity (WebDAV)" = 422, "Locked (WebDAV)" = 423, "Failed Dependency (WebDAV)" = 424, "Too Early (WebDAV)" = 425, "Upgrade Required" = 426, "Precondition Required" = 428, "Too Many Requests" = 429, "Request Header Fields Too Large" = 431, "No Response (Nginx)" = 444, "Retry With (Microsoft)" = 449, "Blocked by Windows Parental Controls (Microsoft)" = 450, "Unavailable For Legal Reasons" = 451, "Client Closed Request (Nginx)" = 499, "Internal Server Error" = 500, "Not Implemented" = 501, "Bad Gateway" = 502, "Service Unavailable" = 503, "Gateway Timeout" = 504, "HTTP Version Not Supported (Experimental)" = 505, "Variant Also Negotiates (Experimental)" = 506, "Insufficient Storage (WebDAV)" = 507, "Loop Detected (WebDAV)" = 508, "Not Extended" = 510, "Network Authentication Required" = 511, Continue = 100, "Switching Protocol" = 101, "Processing (WebDAV)" = 102, "Early Hints" = 103, "Multiple Choices" = 300, "Moved Permanently" = 301, Found = 302, "See Other" = 303, "Not Modified" = 304, "Use Proxy (Deprecated)" = 305, "(Unused)" = 306, "Temporary Redirect" = 307, "Permanent Redirect (experimental)" = 308 } export default StatusCodes;