UNPKG

7.73 kBTypeScriptView Raw
1/**
2 * @deprecated Please use StatusCodes.ACCEPTED
3 *
4 * */
5export declare const ACCEPTED = 202;
6/**
7 * @deprecated Please use StatusCodes.BAD_GATEWAY
8 *
9 * */
10export declare const BAD_GATEWAY = 502;
11/**
12 * @deprecated Please use StatusCodes.BAD_REQUEST
13 *
14 * */
15export declare const BAD_REQUEST = 400;
16/**
17 * @deprecated Please use StatusCodes.CONFLICT
18 *
19 * */
20export declare const CONFLICT = 409;
21/**
22 * @deprecated Please use StatusCodes.CONTINUE
23 *
24 * */
25export declare const CONTINUE = 100;
26/**
27 * @deprecated Please use StatusCodes.CREATED
28 *
29 * */
30export declare const CREATED = 201;
31/**
32 * @deprecated Please use StatusCodes.EXPECTATION_FAILED
33 *
34 * */
35export declare const EXPECTATION_FAILED = 417;
36/**
37 * @deprecated Please use StatusCodes.FAILED_DEPENDENCY
38 *
39 * */
40export declare const FAILED_DEPENDENCY = 424;
41/**
42 * @deprecated Please use StatusCodes.FORBIDDEN
43 *
44 * */
45export declare const FORBIDDEN = 403;
46/**
47 * @deprecated Please use StatusCodes.GATEWAY_TIMEOUT
48 *
49 * */
50export declare const GATEWAY_TIMEOUT = 504;
51/**
52 * @deprecated Please use StatusCodes.GONE
53 *
54 * */
55export declare const GONE = 410;
56/**
57 * @deprecated Please use StatusCodes.HTTP_VERSION_NOT_SUPPORTED
58 *
59 * */
60export declare const HTTP_VERSION_NOT_SUPPORTED = 505;
61/**
62 * @deprecated Please use StatusCodes.IM_A_TEAPOT
63 *
64 * */
65export declare const IM_A_TEAPOT = 418;
66/**
67 * @deprecated Please use StatusCodes.INSUFFICIENT_SPACE_ON_RESOURCE
68 *
69 * */
70export declare const INSUFFICIENT_SPACE_ON_RESOURCE = 419;
71/**
72 * @deprecated Please use StatusCodes.INSUFFICIENT_STORAGE
73 *
74 * */
75export declare const INSUFFICIENT_STORAGE = 507;
76/**
77 * @deprecated Please use StatusCodes.INTERNAL_SERVER_ERROR
78 *
79 * */
80export declare const INTERNAL_SERVER_ERROR = 500;
81/**
82 * @deprecated Please use StatusCodes.LENGTH_REQUIRED
83 *
84 * */
85export declare const LENGTH_REQUIRED = 411;
86/**
87 * @deprecated Please use StatusCodes.LOCKED
88 *
89 * */
90export declare const LOCKED = 423;
91/**
92 * @deprecated Please use StatusCodes.METHOD_FAILURE
93 *
94 * */
95export declare const METHOD_FAILURE = 420;
96/**
97 * @deprecated Please use StatusCodes.METHOD_NOT_ALLOWED
98 *
99 * */
100export declare const METHOD_NOT_ALLOWED = 405;
101/**
102 * @deprecated Please use StatusCodes.MOVED_PERMANENTLY
103 *
104 * */
105export declare const MOVED_PERMANENTLY = 301;
106/**
107 * @deprecated Please use StatusCodes.MOVED_TEMPORARILY
108 *
109 * */
110export declare const MOVED_TEMPORARILY = 302;
111/**
112 * @deprecated Please use StatusCodes.MULTI_STATUS
113 *
114 * */
115export declare const MULTI_STATUS = 207;
116/**
117 * @deprecated Please use StatusCodes.MULTIPLE_CHOICES
118 *
119 * */
120export declare const MULTIPLE_CHOICES = 300;
121/**
122 * @deprecated Please use StatusCodes.NETWORK_AUTHENTICATION_REQUIRED
123 *
124 * */
125export declare const NETWORK_AUTHENTICATION_REQUIRED = 511;
126/**
127 * @deprecated Please use StatusCodes.NO_CONTENT
128 *
129 * */
130export declare const NO_CONTENT = 204;
131/**
132 * @deprecated Please use StatusCodes.NON_AUTHORITATIVE_INFORMATION
133 *
134 * */
135export declare const NON_AUTHORITATIVE_INFORMATION = 203;
136/**
137 * @deprecated Please use StatusCodes.NOT_ACCEPTABLE
138 *
139 * */
140export declare const NOT_ACCEPTABLE = 406;
141/**
142 * @deprecated Please use StatusCodes.NOT_FOUND
143 *
144 * */
145export declare const NOT_FOUND = 404;
146/**
147 * @deprecated Please use StatusCodes.NOT_IMPLEMENTED
148 *
149 * */
150export declare const NOT_IMPLEMENTED = 501;
151/**
152 * @deprecated Please use StatusCodes.NOT_MODIFIED
153 *
154 * */
155export declare const NOT_MODIFIED = 304;
156/**
157 * @deprecated Please use StatusCodes.OK
158 *
159 * */
160export declare const OK = 200;
161/**
162 * @deprecated Please use StatusCodes.PARTIAL_CONTENT
163 *
164 * */
165export declare const PARTIAL_CONTENT = 206;
166/**
167 * @deprecated Please use StatusCodes.PAYMENT_REQUIRED
168 *
169 * */
170export declare const PAYMENT_REQUIRED = 402;
171/**
172 * @deprecated Please use StatusCodes.PERMANENT_REDIRECT
173 *
174 * */
175export declare const PERMANENT_REDIRECT = 308;
176/**
177 * @deprecated Please use StatusCodes.PRECONDITION_FAILED
178 *
179 * */
180export declare const PRECONDITION_FAILED = 412;
181/**
182 * @deprecated Please use StatusCodes.PRECONDITION_REQUIRED
183 *
184 * */
185export declare const PRECONDITION_REQUIRED = 428;
186/**
187 * @deprecated Please use StatusCodes.PROCESSING
188 *
189 * */
190export declare const PROCESSING = 102;
191/**
192 * @deprecated Please use StatusCodes.PROXY_AUTHENTICATION_REQUIRED
193 *
194 * */
195export declare const PROXY_AUTHENTICATION_REQUIRED = 407;
196/**
197 * @deprecated Please use StatusCodes.REQUEST_HEADER_FIELDS_TOO_LARGE
198 *
199 * */
200export declare const REQUEST_HEADER_FIELDS_TOO_LARGE = 431;
201/**
202 * @deprecated Please use StatusCodes.REQUEST_TIMEOUT
203 *
204 * */
205export declare const REQUEST_TIMEOUT = 408;
206/**
207 * @deprecated Please use StatusCodes.REQUEST_TOO_LONG
208 *
209 * */
210export declare const REQUEST_TOO_LONG = 413;
211/**
212 * @deprecated Please use StatusCodes.REQUEST_URI_TOO_LONG
213 *
214 * */
215export declare const REQUEST_URI_TOO_LONG = 414;
216/**
217 * @deprecated Please use StatusCodes.REQUESTED_RANGE_NOT_SATISFIABLE
218 *
219 * */
220export declare const REQUESTED_RANGE_NOT_SATISFIABLE = 416;
221/**
222 * @deprecated Please use StatusCodes.RESET_CONTENT
223 *
224 * */
225export declare const RESET_CONTENT = 205;
226/**
227 * @deprecated Please use StatusCodes.SEE_OTHER
228 *
229 * */
230export declare const SEE_OTHER = 303;
231/**
232 * @deprecated Please use StatusCodes.SERVICE_UNAVAILABLE
233 *
234 * */
235export declare const SERVICE_UNAVAILABLE = 503;
236/**
237 * @deprecated Please use StatusCodes.SWITCHING_PROTOCOLS
238 *
239 * */
240export declare const SWITCHING_PROTOCOLS = 101;
241/**
242 * @deprecated Please use StatusCodes.TEMPORARY_REDIRECT
243 *
244 * */
245export declare const TEMPORARY_REDIRECT = 307;
246/**
247 * @deprecated Please use StatusCodes.TOO_MANY_REQUESTS
248 *
249 * */
250export declare const TOO_MANY_REQUESTS = 429;
251/**
252 * @deprecated Please use StatusCodes.UNAUTHORIZED
253 *
254 * */
255export declare const UNAUTHORIZED = 401;
256/**
257 * @deprecated Please use StatusCodes.UNPROCESSABLE_ENTITY
258 *
259 * */
260export declare const UNPROCESSABLE_ENTITY = 422;
261/**
262 * @deprecated Please use StatusCodes.UNSUPPORTED_MEDIA_TYPE
263 *
264 * */
265export declare const UNSUPPORTED_MEDIA_TYPE = 415;
266/**
267 * @deprecated Please use StatusCodes.USE_PROXY
268 *
269 * */
270export declare const USE_PROXY = 305;
271declare const _default: {
272 ACCEPTED: number;
273 BAD_GATEWAY: number;
274 BAD_REQUEST: number;
275 CONFLICT: number;
276 CONTINUE: number;
277 CREATED: number;
278 EXPECTATION_FAILED: number;
279 FORBIDDEN: number;
280 GATEWAY_TIMEOUT: number;
281 GONE: number;
282 HTTP_VERSION_NOT_SUPPORTED: number;
283 IM_A_TEAPOT: number;
284 INSUFFICIENT_SPACE_ON_RESOURCE: number;
285 INSUFFICIENT_STORAGE: number;
286 INTERNAL_SERVER_ERROR: number;
287 LENGTH_REQUIRED: number;
288 LOCKED: number;
289 METHOD_FAILURE: number;
290 METHOD_NOT_ALLOWED: number;
291 MOVED_PERMANENTLY: number;
292 MOVED_TEMPORARILY: number;
293 MULTI_STATUS: number;
294 MULTIPLE_CHOICES: number;
295 NETWORK_AUTHENTICATION_REQUIRED: number;
296 NO_CONTENT: number;
297 NON_AUTHORITATIVE_INFORMATION: number;
298 NOT_ACCEPTABLE: number;
299 NOT_FOUND: number;
300 NOT_IMPLEMENTED: number;
301 NOT_MODIFIED: number;
302 OK: number;
303 PARTIAL_CONTENT: number;
304 PAYMENT_REQUIRED: number;
305 PERMANENT_REDIRECT: number;
306 PRECONDITION_FAILED: number;
307 PRECONDITION_REQUIRED: number;
308 PROCESSING: number;
309 PROXY_AUTHENTICATION_REQUIRED: number;
310 REQUEST_HEADER_FIELDS_TOO_LARGE: number;
311 REQUEST_TIMEOUT: number;
312 REQUEST_TOO_LONG: number;
313 REQUEST_URI_TOO_LONG: number;
314 REQUESTED_RANGE_NOT_SATISFIABLE: number;
315 RESET_CONTENT: number;
316 SEE_OTHER: number;
317 SERVICE_UNAVAILABLE: number;
318 SWITCHING_PROTOCOLS: number;
319 TEMPORARY_REDIRECT: number;
320 TOO_MANY_REQUESTS: number;
321 UNAUTHORIZED: number;
322 UNPROCESSABLE_ENTITY: number;
323 UNSUPPORTED_MEDIA_TYPE: number;
324 USE_PROXY: number;
325};
326export default _default;