autosync_backend2 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.ts +369 -549
  2. package/dist/index.js +17409 -16132
  3. package/package.json +9 -9
package/dist/index.d.ts CHANGED
@@ -14,14 +14,7 @@ export declare const app: Elysia<"", {
14
14
  typebox: {};
15
15
  error: {};
16
16
  }, {
17
- schema: {
18
- body: unknown;
19
- headers: unknown;
20
- query: unknown;
21
- params: {};
22
- cookie: unknown;
23
- response: {};
24
- };
17
+ schema: {};
25
18
  standaloneSchema: {};
26
19
  macro: {
27
20
  readonly auth?: boolean | undefined;
@@ -33,9 +26,9 @@ export declare const app: Elysia<"", {
33
26
  readonly resolve: ({ request: { headers } }: {
34
27
  body: unknown;
35
28
  query: Record<string, string>;
36
- params: Record<string, string>;
29
+ params: {};
37
30
  headers: Record<string, string | undefined>;
38
- cookie: Record<string, import("elysia").Cookie<string | undefined>>;
31
+ cookie: Record<string, import("elysia").Cookie<unknown>>;
39
32
  server: import("elysia/dist/universal/server").Server | null;
40
33
  redirect: import("elysia").redirect;
41
34
  set: {
@@ -48,7 +41,7 @@ export declare const app: Elysia<"", {
48
41
  route: string;
49
42
  request: Request;
50
43
  store: {};
51
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 200 | 400 | 301 | 302 | 303 | 307 | 308 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 304 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
44
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 200 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
52
45
  readonly 100: "Continue";
53
46
  readonly 101: "Switching Protocols";
54
47
  readonly 102: "Processing";
@@ -88,6 +81,7 @@ export declare const app: Elysia<"", {
88
81
  readonly 416: "Range Not Satisfiable";
89
82
  readonly 417: "Expectation Failed";
90
83
  readonly 418: "I'm a teapot";
84
+ readonly 420: "Enhance Your Calm";
91
85
  readonly 421: "Misdirected Request";
92
86
  readonly 422: "Unprocessable Content";
93
87
  readonly 423: "Locked";
@@ -109,130 +103,7 @@ export declare const app: Elysia<"", {
109
103
  readonly 508: "Loop Detected";
110
104
  readonly 510: "Not Extended";
111
105
  readonly 511: "Network Authentication Required";
112
- }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
113
- readonly Continue: 100;
114
- readonly "Switching Protocols": 101;
115
- readonly Processing: 102;
116
- readonly "Early Hints": 103;
117
- readonly OK: 200;
118
- readonly Created: 201;
119
- readonly Accepted: 202;
120
- readonly "Non-Authoritative Information": 203;
121
- readonly "No Content": 204;
122
- readonly "Reset Content": 205;
123
- readonly "Partial Content": 206;
124
- readonly "Multi-Status": 207;
125
- readonly "Already Reported": 208;
126
- readonly "Multiple Choices": 300;
127
- readonly "Moved Permanently": 301;
128
- readonly Found: 302;
129
- readonly "See Other": 303;
130
- readonly "Not Modified": 304;
131
- readonly "Temporary Redirect": 307;
132
- readonly "Permanent Redirect": 308;
133
- readonly "Bad Request": 400;
134
- readonly Unauthorized: 401;
135
- readonly "Payment Required": 402;
136
- readonly Forbidden: 403;
137
- readonly "Not Found": 404;
138
- readonly "Method Not Allowed": 405;
139
- readonly "Not Acceptable": 406;
140
- readonly "Proxy Authentication Required": 407;
141
- readonly "Request Timeout": 408;
142
- readonly Conflict: 409;
143
- readonly Gone: 410;
144
- readonly "Length Required": 411;
145
- readonly "Precondition Failed": 412;
146
- readonly "Payload Too Large": 413;
147
- readonly "URI Too Long": 414;
148
- readonly "Unsupported Media Type": 415;
149
- readonly "Range Not Satisfiable": 416;
150
- readonly "Expectation Failed": 417;
151
- readonly "I'm a teapot": 418;
152
- readonly "Misdirected Request": 421;
153
- readonly "Unprocessable Content": 422;
154
- readonly Locked: 423;
155
- readonly "Failed Dependency": 424;
156
- readonly "Too Early": 425;
157
- readonly "Upgrade Required": 426;
158
- readonly "Precondition Required": 428;
159
- readonly "Too Many Requests": 429;
160
- readonly "Request Header Fields Too Large": 431;
161
- readonly "Unavailable For Legal Reasons": 451;
162
- readonly "Internal Server Error": 500;
163
- readonly "Not Implemented": 501;
164
- readonly "Bad Gateway": 502;
165
- readonly "Service Unavailable": 503;
166
- readonly "Gateway Timeout": 504;
167
- readonly "HTTP Version Not Supported": 505;
168
- readonly "Variant Also Negotiates": 506;
169
- readonly "Insufficient Storage": 507;
170
- readonly "Loop Detected": 508;
171
- readonly "Not Extended": 510;
172
- readonly "Network Authentication Required": 511;
173
- }[Code] : Code>;
174
- error: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 200 | 400 | 301 | 302 | 303 | 307 | 308 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 304 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
175
- readonly 100: "Continue";
176
- readonly 101: "Switching Protocols";
177
- readonly 102: "Processing";
178
- readonly 103: "Early Hints";
179
- readonly 200: "OK";
180
- readonly 201: "Created";
181
- readonly 202: "Accepted";
182
- readonly 203: "Non-Authoritative Information";
183
- readonly 204: "No Content";
184
- readonly 205: "Reset Content";
185
- readonly 206: "Partial Content";
186
- readonly 207: "Multi-Status";
187
- readonly 208: "Already Reported";
188
- readonly 300: "Multiple Choices";
189
- readonly 301: "Moved Permanently";
190
- readonly 302: "Found";
191
- readonly 303: "See Other";
192
- readonly 304: "Not Modified";
193
- readonly 307: "Temporary Redirect";
194
- readonly 308: "Permanent Redirect";
195
- readonly 400: "Bad Request";
196
- readonly 401: "Unauthorized";
197
- readonly 402: "Payment Required";
198
- readonly 403: "Forbidden";
199
- readonly 404: "Not Found";
200
- readonly 405: "Method Not Allowed";
201
- readonly 406: "Not Acceptable";
202
- readonly 407: "Proxy Authentication Required";
203
- readonly 408: "Request Timeout";
204
- readonly 409: "Conflict";
205
- readonly 410: "Gone";
206
- readonly 411: "Length Required";
207
- readonly 412: "Precondition Failed";
208
- readonly 413: "Payload Too Large";
209
- readonly 414: "URI Too Long";
210
- readonly 415: "Unsupported Media Type";
211
- readonly 416: "Range Not Satisfiable";
212
- readonly 417: "Expectation Failed";
213
- readonly 418: "I'm a teapot";
214
- readonly 421: "Misdirected Request";
215
- readonly 422: "Unprocessable Content";
216
- readonly 423: "Locked";
217
- readonly 424: "Failed Dependency";
218
- readonly 425: "Too Early";
219
- readonly 426: "Upgrade Required";
220
- readonly 428: "Precondition Required";
221
- readonly 429: "Too Many Requests";
222
- readonly 431: "Request Header Fields Too Large";
223
- readonly 451: "Unavailable For Legal Reasons";
224
- readonly 500: "Internal Server Error";
225
- readonly 501: "Not Implemented";
226
- readonly 502: "Bad Gateway";
227
- readonly 503: "Service Unavailable";
228
- readonly 504: "Gateway Timeout";
229
- readonly 505: "HTTP Version Not Supported";
230
- readonly 506: "Variant Also Negotiates";
231
- readonly 507: "Insufficient Storage";
232
- readonly 508: "Loop Detected";
233
- readonly 510: "Not Extended";
234
- readonly 511: "Network Authentication Required";
235
- }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
106
+ }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
236
107
  readonly Continue: 100;
237
108
  readonly "Switching Protocols": 101;
238
109
  readonly Processing: 102;
@@ -272,6 +143,7 @@ export declare const app: Elysia<"", {
272
143
  readonly "Range Not Satisfiable": 416;
273
144
  readonly "Expectation Failed": 417;
274
145
  readonly "I'm a teapot": 418;
146
+ readonly "Enhance Your Calm": 420;
275
147
  readonly "Misdirected Request": 421;
276
148
  readonly "Unprocessable Content": 422;
277
149
  readonly Locked: 423;
@@ -321,12 +193,12 @@ export declare const app: Elysia<"", {
321
193
  }>;
322
194
  };
323
195
  readonly userKind: (input: "ADMIN" | "COMPANY_ADMIN" | "CUSTOMER" | "INSPECTION") => {
324
- resolve({ request: { headers } }: {
196
+ readonly resolve: ({ request: { headers } }: {
325
197
  body: unknown;
326
198
  query: Record<string, string>;
327
- params: Record<string, string>;
199
+ params: {};
328
200
  headers: Record<string, string | undefined>;
329
- cookie: Record<string, import("elysia").Cookie<string | undefined>>;
201
+ cookie: Record<string, import("elysia").Cookie<unknown>>;
330
202
  server: import("elysia/dist/universal/server").Server | null;
331
203
  redirect: import("elysia").redirect;
332
204
  set: {
@@ -339,130 +211,7 @@ export declare const app: Elysia<"", {
339
211
  route: string;
340
212
  request: Request;
341
213
  store: {};
342
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 200 | 400 | 301 | 302 | 303 | 307 | 308 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 304 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
343
- readonly 100: "Continue";
344
- readonly 101: "Switching Protocols";
345
- readonly 102: "Processing";
346
- readonly 103: "Early Hints";
347
- readonly 200: "OK";
348
- readonly 201: "Created";
349
- readonly 202: "Accepted";
350
- readonly 203: "Non-Authoritative Information";
351
- readonly 204: "No Content";
352
- readonly 205: "Reset Content";
353
- readonly 206: "Partial Content";
354
- readonly 207: "Multi-Status";
355
- readonly 208: "Already Reported";
356
- readonly 300: "Multiple Choices";
357
- readonly 301: "Moved Permanently";
358
- readonly 302: "Found";
359
- readonly 303: "See Other";
360
- readonly 304: "Not Modified";
361
- readonly 307: "Temporary Redirect";
362
- readonly 308: "Permanent Redirect";
363
- readonly 400: "Bad Request";
364
- readonly 401: "Unauthorized";
365
- readonly 402: "Payment Required";
366
- readonly 403: "Forbidden";
367
- readonly 404: "Not Found";
368
- readonly 405: "Method Not Allowed";
369
- readonly 406: "Not Acceptable";
370
- readonly 407: "Proxy Authentication Required";
371
- readonly 408: "Request Timeout";
372
- readonly 409: "Conflict";
373
- readonly 410: "Gone";
374
- readonly 411: "Length Required";
375
- readonly 412: "Precondition Failed";
376
- readonly 413: "Payload Too Large";
377
- readonly 414: "URI Too Long";
378
- readonly 415: "Unsupported Media Type";
379
- readonly 416: "Range Not Satisfiable";
380
- readonly 417: "Expectation Failed";
381
- readonly 418: "I'm a teapot";
382
- readonly 421: "Misdirected Request";
383
- readonly 422: "Unprocessable Content";
384
- readonly 423: "Locked";
385
- readonly 424: "Failed Dependency";
386
- readonly 425: "Too Early";
387
- readonly 426: "Upgrade Required";
388
- readonly 428: "Precondition Required";
389
- readonly 429: "Too Many Requests";
390
- readonly 431: "Request Header Fields Too Large";
391
- readonly 451: "Unavailable For Legal Reasons";
392
- readonly 500: "Internal Server Error";
393
- readonly 501: "Not Implemented";
394
- readonly 502: "Bad Gateway";
395
- readonly 503: "Service Unavailable";
396
- readonly 504: "Gateway Timeout";
397
- readonly 505: "HTTP Version Not Supported";
398
- readonly 506: "Variant Also Negotiates";
399
- readonly 507: "Insufficient Storage";
400
- readonly 508: "Loop Detected";
401
- readonly 510: "Not Extended";
402
- readonly 511: "Network Authentication Required";
403
- }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
404
- readonly Continue: 100;
405
- readonly "Switching Protocols": 101;
406
- readonly Processing: 102;
407
- readonly "Early Hints": 103;
408
- readonly OK: 200;
409
- readonly Created: 201;
410
- readonly Accepted: 202;
411
- readonly "Non-Authoritative Information": 203;
412
- readonly "No Content": 204;
413
- readonly "Reset Content": 205;
414
- readonly "Partial Content": 206;
415
- readonly "Multi-Status": 207;
416
- readonly "Already Reported": 208;
417
- readonly "Multiple Choices": 300;
418
- readonly "Moved Permanently": 301;
419
- readonly Found: 302;
420
- readonly "See Other": 303;
421
- readonly "Not Modified": 304;
422
- readonly "Temporary Redirect": 307;
423
- readonly "Permanent Redirect": 308;
424
- readonly "Bad Request": 400;
425
- readonly Unauthorized: 401;
426
- readonly "Payment Required": 402;
427
- readonly Forbidden: 403;
428
- readonly "Not Found": 404;
429
- readonly "Method Not Allowed": 405;
430
- readonly "Not Acceptable": 406;
431
- readonly "Proxy Authentication Required": 407;
432
- readonly "Request Timeout": 408;
433
- readonly Conflict: 409;
434
- readonly Gone: 410;
435
- readonly "Length Required": 411;
436
- readonly "Precondition Failed": 412;
437
- readonly "Payload Too Large": 413;
438
- readonly "URI Too Long": 414;
439
- readonly "Unsupported Media Type": 415;
440
- readonly "Range Not Satisfiable": 416;
441
- readonly "Expectation Failed": 417;
442
- readonly "I'm a teapot": 418;
443
- readonly "Misdirected Request": 421;
444
- readonly "Unprocessable Content": 422;
445
- readonly Locked: 423;
446
- readonly "Failed Dependency": 424;
447
- readonly "Too Early": 425;
448
- readonly "Upgrade Required": 426;
449
- readonly "Precondition Required": 428;
450
- readonly "Too Many Requests": 429;
451
- readonly "Request Header Fields Too Large": 431;
452
- readonly "Unavailable For Legal Reasons": 451;
453
- readonly "Internal Server Error": 500;
454
- readonly "Not Implemented": 501;
455
- readonly "Bad Gateway": 502;
456
- readonly "Service Unavailable": 503;
457
- readonly "Gateway Timeout": 504;
458
- readonly "HTTP Version Not Supported": 505;
459
- readonly "Variant Also Negotiates": 506;
460
- readonly "Insufficient Storage": 507;
461
- readonly "Loop Detected": 508;
462
- readonly "Not Extended": 510;
463
- readonly "Network Authentication Required": 511;
464
- }[Code] : Code>;
465
- error: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 200 | 400 | 301 | 302 | 303 | 307 | 308 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 304 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
214
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 200 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
466
215
  readonly 100: "Continue";
467
216
  readonly 101: "Switching Protocols";
468
217
  readonly 102: "Processing";
@@ -502,6 +251,7 @@ export declare const app: Elysia<"", {
502
251
  readonly 416: "Range Not Satisfiable";
503
252
  readonly 417: "Expectation Failed";
504
253
  readonly 418: "I'm a teapot";
254
+ readonly 420: "Enhance Your Calm";
505
255
  readonly 421: "Misdirected Request";
506
256
  readonly 422: "Unprocessable Content";
507
257
  readonly 423: "Locked";
@@ -523,7 +273,7 @@ export declare const app: Elysia<"", {
523
273
  readonly 508: "Loop Detected";
524
274
  readonly 510: "Not Extended";
525
275
  readonly 511: "Network Authentication Required";
526
- }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
276
+ }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
527
277
  readonly Continue: 100;
528
278
  readonly "Switching Protocols": 101;
529
279
  readonly Processing: 102;
@@ -563,6 +313,7 @@ export declare const app: Elysia<"", {
563
313
  readonly "Range Not Satisfiable": 416;
564
314
  readonly "Expectation Failed": 417;
565
315
  readonly "I'm a teapot": 418;
316
+ readonly "Enhance Your Calm": 420;
566
317
  readonly "Misdirected Request": 421;
567
318
  readonly "Unprocessable Content": 422;
568
319
  readonly Locked: 423;
@@ -585,7 +336,7 @@ export declare const app: Elysia<"", {
585
336
  readonly "Not Extended": 510;
586
337
  readonly "Network Authentication Required": 511;
587
338
  }[Code] : Code>;
588
- }): Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | {
339
+ }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | {
589
340
  user: {
590
341
  id: string;
591
342
  createdAt: Date;
@@ -612,12 +363,12 @@ export declare const app: Elysia<"", {
612
363
  } | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403>>;
613
364
  };
614
365
  readonly permission: (input: import("./lib/permissions").PermissionCode | import("./lib/permissions").PermissionCode[]) => {
615
- resolve({ request: { headers } }: {
366
+ readonly resolve: ({ request: { headers } }: {
616
367
  body: unknown;
617
368
  query: Record<string, string>;
618
- params: Record<string, string>;
369
+ params: {};
619
370
  headers: Record<string, string | undefined>;
620
- cookie: Record<string, import("elysia").Cookie<string | undefined>>;
371
+ cookie: Record<string, import("elysia").Cookie<unknown>>;
621
372
  server: import("elysia/dist/universal/server").Server | null;
622
373
  redirect: import("elysia").redirect;
623
374
  set: {
@@ -630,7 +381,7 @@ export declare const app: Elysia<"", {
630
381
  route: string;
631
382
  request: Request;
632
383
  store: {};
633
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 200 | 400 | 301 | 302 | 303 | 307 | 308 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 304 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
384
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 200 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
634
385
  readonly 100: "Continue";
635
386
  readonly 101: "Switching Protocols";
636
387
  readonly 102: "Processing";
@@ -670,6 +421,7 @@ export declare const app: Elysia<"", {
670
421
  readonly 416: "Range Not Satisfiable";
671
422
  readonly 417: "Expectation Failed";
672
423
  readonly 418: "I'm a teapot";
424
+ readonly 420: "Enhance Your Calm";
673
425
  readonly 421: "Misdirected Request";
674
426
  readonly 422: "Unprocessable Content";
675
427
  readonly 423: "Locked";
@@ -691,7 +443,7 @@ export declare const app: Elysia<"", {
691
443
  readonly 508: "Loop Detected";
692
444
  readonly 510: "Not Extended";
693
445
  readonly 511: "Network Authentication Required";
694
- }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
446
+ }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
695
447
  readonly Continue: 100;
696
448
  readonly "Switching Protocols": 101;
697
449
  readonly Processing: 102;
@@ -731,6 +483,7 @@ export declare const app: Elysia<"", {
731
483
  readonly "Range Not Satisfiable": 416;
732
484
  readonly "Expectation Failed": 417;
733
485
  readonly "I'm a teapot": 418;
486
+ readonly "Enhance Your Calm": 420;
734
487
  readonly "Misdirected Request": 421;
735
488
  readonly "Unprocessable Content": 422;
736
489
  readonly Locked: 423;
@@ -753,130 +506,7 @@ export declare const app: Elysia<"", {
753
506
  readonly "Not Extended": 510;
754
507
  readonly "Network Authentication Required": 511;
755
508
  }[Code] : Code>;
756
- error: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 200 | 400 | 301 | 302 | 303 | 307 | 308 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 304 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
757
- readonly 100: "Continue";
758
- readonly 101: "Switching Protocols";
759
- readonly 102: "Processing";
760
- readonly 103: "Early Hints";
761
- readonly 200: "OK";
762
- readonly 201: "Created";
763
- readonly 202: "Accepted";
764
- readonly 203: "Non-Authoritative Information";
765
- readonly 204: "No Content";
766
- readonly 205: "Reset Content";
767
- readonly 206: "Partial Content";
768
- readonly 207: "Multi-Status";
769
- readonly 208: "Already Reported";
770
- readonly 300: "Multiple Choices";
771
- readonly 301: "Moved Permanently";
772
- readonly 302: "Found";
773
- readonly 303: "See Other";
774
- readonly 304: "Not Modified";
775
- readonly 307: "Temporary Redirect";
776
- readonly 308: "Permanent Redirect";
777
- readonly 400: "Bad Request";
778
- readonly 401: "Unauthorized";
779
- readonly 402: "Payment Required";
780
- readonly 403: "Forbidden";
781
- readonly 404: "Not Found";
782
- readonly 405: "Method Not Allowed";
783
- readonly 406: "Not Acceptable";
784
- readonly 407: "Proxy Authentication Required";
785
- readonly 408: "Request Timeout";
786
- readonly 409: "Conflict";
787
- readonly 410: "Gone";
788
- readonly 411: "Length Required";
789
- readonly 412: "Precondition Failed";
790
- readonly 413: "Payload Too Large";
791
- readonly 414: "URI Too Long";
792
- readonly 415: "Unsupported Media Type";
793
- readonly 416: "Range Not Satisfiable";
794
- readonly 417: "Expectation Failed";
795
- readonly 418: "I'm a teapot";
796
- readonly 421: "Misdirected Request";
797
- readonly 422: "Unprocessable Content";
798
- readonly 423: "Locked";
799
- readonly 424: "Failed Dependency";
800
- readonly 425: "Too Early";
801
- readonly 426: "Upgrade Required";
802
- readonly 428: "Precondition Required";
803
- readonly 429: "Too Many Requests";
804
- readonly 431: "Request Header Fields Too Large";
805
- readonly 451: "Unavailable For Legal Reasons";
806
- readonly 500: "Internal Server Error";
807
- readonly 501: "Not Implemented";
808
- readonly 502: "Bad Gateway";
809
- readonly 503: "Service Unavailable";
810
- readonly 504: "Gateway Timeout";
811
- readonly 505: "HTTP Version Not Supported";
812
- readonly 506: "Variant Also Negotiates";
813
- readonly 507: "Insufficient Storage";
814
- readonly 508: "Loop Detected";
815
- readonly 510: "Not Extended";
816
- readonly 511: "Network Authentication Required";
817
- }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
818
- readonly Continue: 100;
819
- readonly "Switching Protocols": 101;
820
- readonly Processing: 102;
821
- readonly "Early Hints": 103;
822
- readonly OK: 200;
823
- readonly Created: 201;
824
- readonly Accepted: 202;
825
- readonly "Non-Authoritative Information": 203;
826
- readonly "No Content": 204;
827
- readonly "Reset Content": 205;
828
- readonly "Partial Content": 206;
829
- readonly "Multi-Status": 207;
830
- readonly "Already Reported": 208;
831
- readonly "Multiple Choices": 300;
832
- readonly "Moved Permanently": 301;
833
- readonly Found: 302;
834
- readonly "See Other": 303;
835
- readonly "Not Modified": 304;
836
- readonly "Temporary Redirect": 307;
837
- readonly "Permanent Redirect": 308;
838
- readonly "Bad Request": 400;
839
- readonly Unauthorized: 401;
840
- readonly "Payment Required": 402;
841
- readonly Forbidden: 403;
842
- readonly "Not Found": 404;
843
- readonly "Method Not Allowed": 405;
844
- readonly "Not Acceptable": 406;
845
- readonly "Proxy Authentication Required": 407;
846
- readonly "Request Timeout": 408;
847
- readonly Conflict: 409;
848
- readonly Gone: 410;
849
- readonly "Length Required": 411;
850
- readonly "Precondition Failed": 412;
851
- readonly "Payload Too Large": 413;
852
- readonly "URI Too Long": 414;
853
- readonly "Unsupported Media Type": 415;
854
- readonly "Range Not Satisfiable": 416;
855
- readonly "Expectation Failed": 417;
856
- readonly "I'm a teapot": 418;
857
- readonly "Misdirected Request": 421;
858
- readonly "Unprocessable Content": 422;
859
- readonly Locked: 423;
860
- readonly "Failed Dependency": 424;
861
- readonly "Too Early": 425;
862
- readonly "Upgrade Required": 426;
863
- readonly "Precondition Required": 428;
864
- readonly "Too Many Requests": 429;
865
- readonly "Request Header Fields Too Large": 431;
866
- readonly "Unavailable For Legal Reasons": 451;
867
- readonly "Internal Server Error": 500;
868
- readonly "Not Implemented": 501;
869
- readonly "Bad Gateway": 502;
870
- readonly "Service Unavailable": 503;
871
- readonly "Gateway Timeout": 504;
872
- readonly "HTTP Version Not Supported": 505;
873
- readonly "Variant Also Negotiates": 506;
874
- readonly "Insufficient Storage": 507;
875
- readonly "Loop Detected": 508;
876
- readonly "Not Extended": 510;
877
- readonly "Network Authentication Required": 511;
878
- }[Code] : Code>;
879
- }): Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
509
+ }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
880
510
  user: {
881
511
  id: string;
882
512
  createdAt: Date;
@@ -905,6 +535,7 @@ export declare const app: Elysia<"", {
905
535
  };
906
536
  };
907
537
  parser: {};
538
+ response: {};
908
539
  }, {
909
540
  health: {
910
541
  get: {
@@ -928,12 +559,13 @@ export declare const app: Elysia<"", {
928
559
  folder: string;
929
560
  };
930
561
  params: {};
931
- query: unknown;
932
- headers: unknown;
562
+ query: {};
563
+ headers: {};
933
564
  response: {
934
565
  200: {
935
566
  path: string;
936
567
  };
568
+ 401: "Session not found";
937
569
  422: {
938
570
  type: "validation";
939
571
  on: string;
@@ -1032,6 +664,7 @@ export declare const app: Elysia<"", {
1032
664
  } | null;
1033
665
  }[];
1034
666
  };
667
+ 401: "Session not found";
1035
668
  422: {
1036
669
  type: "validation";
1037
670
  on: string;
@@ -1084,6 +717,7 @@ export declare const app: Elysia<"", {
1084
717
  partNumber: string;
1085
718
  alias: string | null;
1086
719
  };
720
+ 401: "Session not found";
1087
721
  422: {
1088
722
  type: "validation";
1089
723
  on: string;
@@ -1123,6 +757,7 @@ export declare const app: Elysia<"", {
1123
757
  count: number;
1124
758
  total: number;
1125
759
  }, void, unknown>;
760
+ 401: "Session not found";
1126
761
  422: {
1127
762
  type: "validation";
1128
763
  on: string;
@@ -1160,6 +795,7 @@ export declare const app: Elysia<"", {
1160
795
  response: {
1161
796
  200: Response;
1162
797
  204: "Бараа олдсонгүй.";
798
+ 401: "Session not found";
1163
799
  422: {
1164
800
  type: "validation";
1165
801
  on: string;
@@ -1217,6 +853,7 @@ export declare const app: Elysia<"", {
1217
853
  deletedAt: string | null;
1218
854
  oldId: number | null;
1219
855
  };
856
+ 401: "Session not found";
1220
857
  404: "Бараа олдсонгүй.";
1221
858
  422: {
1222
859
  type: "validation";
@@ -1363,7 +1000,6 @@ export declare const app: Elysia<"", {
1363
1000
  query: unknown;
1364
1001
  headers: unknown;
1365
1002
  response: {
1366
- 200: void;
1367
1003
  422: {
1368
1004
  type: "validation";
1369
1005
  on: string;
@@ -1684,8 +1320,8 @@ export declare const app: Elysia<"", {
1684
1320
  deletedAt: string | null;
1685
1321
  oldId: number | null;
1686
1322
  };
1687
- 404: "Агуулахын бараа олдсонгүй.";
1688
1323
  400: "Ажилтны мэдээлэл шаардлагатай." | "Барааны үлдэгдэл хүрэлцэхгүй байна.";
1324
+ 404: "Агуулахын бараа олдсонгүй.";
1689
1325
  422: {
1690
1326
  type: "validation";
1691
1327
  on: string;
@@ -1742,6 +1378,30 @@ export declare const app: Elysia<"", {
1742
1378
  };
1743
1379
  };
1744
1380
  };
1381
+ } & {
1382
+ item: {
1383
+ ":id": {
1384
+ delete: {
1385
+ body: unknown;
1386
+ params: {
1387
+ id: string;
1388
+ };
1389
+ query: unknown;
1390
+ headers: unknown;
1391
+ response: {
1392
+ 422: {
1393
+ type: "validation";
1394
+ on: string;
1395
+ summary?: string;
1396
+ message?: string;
1397
+ found?: unknown;
1398
+ property?: string;
1399
+ expected?: string;
1400
+ };
1401
+ };
1402
+ };
1403
+ };
1404
+ };
1745
1405
  };
1746
1406
  };
1747
1407
  } & {
@@ -1751,7 +1411,7 @@ export declare const app: Elysia<"", {
1751
1411
  } & {
1752
1412
  company: {
1753
1413
  get: {
1754
- body: unknown;
1414
+ body: {};
1755
1415
  params: {};
1756
1416
  query: {
1757
1417
  regNumber?: string | undefined;
@@ -1763,7 +1423,7 @@ export declare const app: Elysia<"", {
1763
1423
  page: number;
1764
1424
  };
1765
1425
  };
1766
- headers: unknown;
1426
+ headers: {};
1767
1427
  response: {
1768
1428
  200: {
1769
1429
  totalCount: number;
@@ -1797,6 +1457,7 @@ export declare const app: Elysia<"", {
1797
1457
  totalCount: number;
1798
1458
  }, "totalCount">[];
1799
1459
  };
1460
+ 401: "Session not found";
1800
1461
  422: {
1801
1462
  type: "validation";
1802
1463
  on: string;
@@ -1835,8 +1496,8 @@ export declare const app: Elysia<"", {
1835
1496
  logoUrl: string;
1836
1497
  };
1837
1498
  params: {};
1838
- query: unknown;
1839
- headers: unknown;
1499
+ query: {};
1500
+ headers: {};
1840
1501
  response: {
1841
1502
  200: {
1842
1503
  name: string;
@@ -1864,6 +1525,7 @@ export declare const app: Elysia<"", {
1864
1525
  isActive: boolean;
1865
1526
  branchCount: number;
1866
1527
  };
1528
+ 401: "Session not found";
1867
1529
  422: {
1868
1530
  type: "validation";
1869
1531
  on: string;
@@ -1905,8 +1567,8 @@ export declare const app: Elysia<"", {
1905
1567
  params: {
1906
1568
  id: string;
1907
1569
  };
1908
- query: unknown;
1909
- headers: unknown;
1570
+ query: {};
1571
+ headers: {};
1910
1572
  response: {
1911
1573
  200: {
1912
1574
  name: string;
@@ -1934,6 +1596,7 @@ export declare const app: Elysia<"", {
1934
1596
  isActive: boolean;
1935
1597
  branchCount: number;
1936
1598
  };
1599
+ 401: "Session not found";
1937
1600
  404: string;
1938
1601
  422: {
1939
1602
  type: "validation";
@@ -1952,14 +1615,14 @@ export declare const app: Elysia<"", {
1952
1615
  company: {
1953
1616
  ":id": {
1954
1617
  delete: {
1955
- body: unknown;
1618
+ body: {};
1956
1619
  params: {
1957
1620
  id: string;
1958
1621
  };
1959
- query: unknown;
1960
- headers: unknown;
1622
+ query: {};
1623
+ headers: {};
1961
1624
  response: {
1962
- 200: undefined;
1625
+ 401: "Session not found";
1963
1626
  404: string;
1964
1627
  422: {
1965
1628
  type: "validation";
@@ -1981,7 +1644,7 @@ export declare const app: Elysia<"", {
1981
1644
  } & {
1982
1645
  branch: {
1983
1646
  get: {
1984
- body: unknown;
1647
+ body: {};
1985
1648
  params: {};
1986
1649
  query: {
1987
1650
  name?: string | undefined;
@@ -2010,7 +1673,7 @@ export declare const app: Elysia<"", {
2010
1673
  page: number;
2011
1674
  };
2012
1675
  };
2013
- headers: unknown;
1676
+ headers: {};
2014
1677
  response: {
2015
1678
  200: {
2016
1679
  totalCount: number;
@@ -2041,6 +1704,7 @@ export declare const app: Elysia<"", {
2041
1704
  totalCount: number;
2042
1705
  }, "totalCount">[];
2043
1706
  };
1707
+ 401: "Session not found";
2044
1708
  422: {
2045
1709
  type: "validation";
2046
1710
  on: string;
@@ -2076,8 +1740,8 @@ export declare const app: Elysia<"", {
2076
1740
  packageId: string;
2077
1741
  };
2078
1742
  params: {};
2079
- query: unknown;
2080
- headers: unknown;
1743
+ query: {};
1744
+ headers: {};
2081
1745
  response: {
2082
1746
  200: {
2083
1747
  name: string;
@@ -2102,6 +1766,7 @@ export declare const app: Elysia<"", {
2102
1766
  packageId: string;
2103
1767
  merchantId: string;
2104
1768
  };
1769
+ 401: "Session not found";
2105
1770
  422: {
2106
1771
  type: "validation";
2107
1772
  on: string;
@@ -2140,8 +1805,8 @@ export declare const app: Elysia<"", {
2140
1805
  params: {
2141
1806
  id: string;
2142
1807
  };
2143
- query: unknown;
2144
- headers: unknown;
1808
+ query: {};
1809
+ headers: {};
2145
1810
  response: {
2146
1811
  200: {
2147
1812
  name: string;
@@ -2166,6 +1831,7 @@ export declare const app: Elysia<"", {
2166
1831
  packageId: string;
2167
1832
  merchantId: string;
2168
1833
  };
1834
+ 401: "Session not found";
2169
1835
  404: string;
2170
1836
  422: {
2171
1837
  type: "validation";
@@ -2184,14 +1850,14 @@ export declare const app: Elysia<"", {
2184
1850
  branch: {
2185
1851
  ":id": {
2186
1852
  delete: {
2187
- body: unknown;
1853
+ body: {};
2188
1854
  params: {
2189
1855
  id: string;
2190
1856
  };
2191
- query: unknown;
2192
- headers: unknown;
1857
+ query: {};
1858
+ headers: {};
2193
1859
  response: {
2194
- 200: undefined;
1860
+ 401: "Session not found";
2195
1861
  404: string;
2196
1862
  422: {
2197
1863
  type: "validation";
@@ -2239,6 +1905,7 @@ export declare const app: Elysia<"", {
2239
1905
  totalCount: number;
2240
1906
  }, "totalCount">[];
2241
1907
  };
1908
+ 401: "Session not found";
2242
1909
  422: {
2243
1910
  type: "validation";
2244
1911
  on: string;
@@ -2274,6 +1941,7 @@ export declare const app: Elysia<"", {
2274
1941
  rowCount: number;
2275
1942
  price: number;
2276
1943
  };
1944
+ 401: "Session not found";
2277
1945
  422: {
2278
1946
  type: "validation";
2279
1947
  on: string;
@@ -2312,6 +1980,7 @@ export declare const app: Elysia<"", {
2312
1980
  rowCount: number;
2313
1981
  price: number;
2314
1982
  };
1983
+ 401: "Session not found";
2315
1984
  404: string;
2316
1985
  422: {
2317
1986
  type: "validation";
@@ -2337,7 +2006,7 @@ export declare const app: Elysia<"", {
2337
2006
  query: unknown;
2338
2007
  headers: unknown;
2339
2008
  response: {
2340
- 200: undefined;
2009
+ 401: "Session not found";
2341
2010
  404: string;
2342
2011
  422: {
2343
2012
  type: "validation";
@@ -2393,6 +2062,7 @@ export declare const app: Elysia<"", {
2393
2062
  oldId: number | null;
2394
2063
  }[];
2395
2064
  };
2065
+ 401: "Session not found";
2396
2066
  422: {
2397
2067
  type: "validation";
2398
2068
  on: string;
@@ -2435,6 +2105,7 @@ export declare const app: Elysia<"", {
2435
2105
  description: string | null;
2436
2106
  enabled: boolean;
2437
2107
  };
2108
+ 401: "Session not found";
2438
2109
  422: {
2439
2110
  type: "validation";
2440
2111
  on: string;
@@ -2480,6 +2151,7 @@ export declare const app: Elysia<"", {
2480
2151
  deletedAt: string | null;
2481
2152
  oldId: number | null;
2482
2153
  };
2154
+ 401: "Session not found";
2483
2155
  404: "Үйлчилгээ олдсонгүй.";
2484
2156
  422: {
2485
2157
  type: "validation";
@@ -2505,7 +2177,7 @@ export declare const app: Elysia<"", {
2505
2177
  query: unknown;
2506
2178
  headers: unknown;
2507
2179
  response: {
2508
- 200: void;
2180
+ 401: "Session not found";
2509
2181
  422: {
2510
2182
  type: "validation";
2511
2183
  on: string;
@@ -2556,6 +2228,7 @@ export declare const app: Elysia<"", {
2556
2228
  oldId: number | null;
2557
2229
  }[];
2558
2230
  };
2231
+ 401: "Session not found";
2559
2232
  422: {
2560
2233
  type: "validation";
2561
2234
  on: string;
@@ -2599,6 +2272,7 @@ export declare const app: Elysia<"", {
2599
2272
  firstname: string;
2600
2273
  lastname: string;
2601
2274
  };
2275
+ 401: "Session not found";
2602
2276
  422: {
2603
2277
  type: "validation";
2604
2278
  on: string;
@@ -2645,6 +2319,7 @@ export declare const app: Elysia<"", {
2645
2319
  deletedAt: string | null;
2646
2320
  oldId: number | null;
2647
2321
  };
2322
+ 401: "Session not found";
2648
2323
  404: "Ажилтан олдсонгүй.";
2649
2324
  422: {
2650
2325
  type: "validation";
@@ -2670,7 +2345,7 @@ export declare const app: Elysia<"", {
2670
2345
  query: unknown;
2671
2346
  headers: unknown;
2672
2347
  response: {
2673
- 200: void;
2348
+ 401: "Session not found";
2674
2349
  422: {
2675
2350
  type: "validation";
2676
2351
  on: string;
@@ -2727,6 +2402,7 @@ export declare const app: Elysia<"", {
2727
2402
  totalCount: number;
2728
2403
  }, "totalCount">[];
2729
2404
  };
2405
+ 401: "Session not found";
2730
2406
  422: {
2731
2407
  type: "validation";
2732
2408
  on: string;
@@ -2750,8 +2426,8 @@ export declare const app: Elysia<"", {
2750
2426
  bank: string;
2751
2427
  };
2752
2428
  params: {};
2753
- query: unknown;
2754
- headers: unknown;
2429
+ query: {};
2430
+ headers: {};
2755
2431
  response: {
2756
2432
  200: {
2757
2433
  id: string;
@@ -2764,6 +2440,7 @@ export declare const app: Elysia<"", {
2764
2440
  description: string | null;
2765
2441
  bank: string;
2766
2442
  };
2443
+ 401: "Session not found";
2767
2444
  422: {
2768
2445
  type: "validation";
2769
2446
  on: string;
@@ -2790,8 +2467,8 @@ export declare const app: Elysia<"", {
2790
2467
  params: {
2791
2468
  id: string;
2792
2469
  };
2793
- query: unknown;
2794
- headers: unknown;
2470
+ query: {};
2471
+ headers: {};
2795
2472
  response: {
2796
2473
  200: {
2797
2474
  id: string;
@@ -2804,6 +2481,7 @@ export declare const app: Elysia<"", {
2804
2481
  description: string | null;
2805
2482
  bank: string;
2806
2483
  };
2484
+ 401: "Session not found";
2807
2485
  404: string;
2808
2486
  422: {
2809
2487
  type: "validation";
@@ -2822,14 +2500,14 @@ export declare const app: Elysia<"", {
2822
2500
  account: {
2823
2501
  ":id": {
2824
2502
  delete: {
2825
- body: unknown;
2503
+ body: {};
2826
2504
  params: {
2827
2505
  id: string;
2828
2506
  };
2829
- query: unknown;
2830
- headers: unknown;
2507
+ query: {};
2508
+ headers: {};
2831
2509
  response: {
2832
- 200: undefined;
2510
+ 401: "Session not found";
2833
2511
  404: string;
2834
2512
  422: {
2835
2513
  type: "validation";
@@ -2848,31 +2526,36 @@ export declare const app: Elysia<"", {
2848
2526
  };
2849
2527
  } & {
2850
2528
  api: {
2529
+ permission: {};
2530
+ } & {
2851
2531
  permission: {
2852
2532
  get: {
2853
- body: unknown;
2533
+ body: {};
2854
2534
  params: {};
2855
- query: unknown;
2856
- headers: unknown;
2535
+ query: {};
2536
+ headers: {};
2857
2537
  response: {
2858
2538
  200: {
2859
2539
  readonly code: import("./lib/permissions").PermissionCode;
2860
2540
  description: string;
2861
2541
  requiresAdmin?: boolean;
2862
2542
  }[];
2543
+ 401: "Session not found";
2863
2544
  };
2864
2545
  };
2865
- } & {
2546
+ };
2547
+ } & {
2548
+ permission: {
2866
2549
  post: {
2867
2550
  body: {
2868
2551
  userId: string;
2869
2552
  permissions: string[];
2870
2553
  };
2871
2554
  params: {};
2872
- query: unknown;
2873
- headers: unknown;
2555
+ query: {};
2556
+ headers: {};
2874
2557
  response: {
2875
- 200: void;
2558
+ 401: "Session not found";
2876
2559
  422: {
2877
2560
  type: "validation";
2878
2561
  on: string;
@@ -2884,7 +2567,9 @@ export declare const app: Elysia<"", {
2884
2567
  };
2885
2568
  };
2886
2569
  };
2887
- } & {
2570
+ };
2571
+ } & {
2572
+ permission: {
2888
2573
  group: {
2889
2574
  get: {
2890
2575
  body: unknown;
@@ -2915,6 +2600,7 @@ export declare const app: Elysia<"", {
2915
2600
  oldId: number | null;
2916
2601
  }[];
2917
2602
  };
2603
+ 401: "Session not found";
2918
2604
  422: {
2919
2605
  type: "validation";
2920
2606
  on: string;
@@ -2927,7 +2613,9 @@ export declare const app: Elysia<"", {
2927
2613
  };
2928
2614
  };
2929
2615
  };
2930
- } & {
2616
+ };
2617
+ } & {
2618
+ permission: {
2931
2619
  group: {
2932
2620
  post: {
2933
2621
  body: {
@@ -2948,6 +2636,7 @@ export declare const app: Elysia<"", {
2948
2636
  oldId: number | null;
2949
2637
  permissions: string[];
2950
2638
  };
2639
+ 401: "Session not found";
2951
2640
  422: {
2952
2641
  type: "validation";
2953
2642
  on: string;
@@ -2960,7 +2649,9 @@ export declare const app: Elysia<"", {
2960
2649
  };
2961
2650
  };
2962
2651
  };
2963
- } & {
2652
+ };
2653
+ } & {
2654
+ permission: {
2964
2655
  group: {
2965
2656
  ":id": {
2966
2657
  put: {
@@ -2971,7 +2662,7 @@ export declare const app: Elysia<"", {
2971
2662
  };
2972
2663
  params: {
2973
2664
  id: string;
2974
- } & {};
2665
+ };
2975
2666
  query: unknown;
2976
2667
  headers: unknown;
2977
2668
  response: {
@@ -2984,6 +2675,7 @@ export declare const app: Elysia<"", {
2984
2675
  oldId: number | null;
2985
2676
  permissions: string[];
2986
2677
  };
2678
+ 401: "Session not found";
2987
2679
  404: string;
2988
2680
  422: {
2989
2681
  type: "validation";
@@ -2998,18 +2690,20 @@ export declare const app: Elysia<"", {
2998
2690
  };
2999
2691
  };
3000
2692
  };
3001
- } & {
2693
+ };
2694
+ } & {
2695
+ permission: {
3002
2696
  group: {
3003
2697
  ":id": {
3004
2698
  delete: {
3005
2699
  body: unknown;
3006
2700
  params: {
3007
2701
  id: string;
3008
- } & {};
2702
+ };
3009
2703
  query: unknown;
3010
2704
  headers: unknown;
3011
2705
  response: {
3012
- 200: undefined;
2706
+ 401: "Session not found";
3013
2707
  404: string;
3014
2708
  422: {
3015
2709
  type: "validation";
@@ -3032,7 +2726,7 @@ export declare const app: Elysia<"", {
3032
2726
  } & {
3033
2727
  user: {
3034
2728
  get: {
3035
- body: unknown;
2729
+ body: {};
3036
2730
  params: {};
3037
2731
  query: {
3038
2732
  branchId?: string | undefined;
@@ -3041,7 +2735,7 @@ export declare const app: Elysia<"", {
3041
2735
  page: number;
3042
2736
  };
3043
2737
  };
3044
- headers: unknown;
2738
+ headers: {};
3045
2739
  response: {
3046
2740
  200: {
3047
2741
  totalCount: number;
@@ -3065,6 +2759,7 @@ export declare const app: Elysia<"", {
3065
2759
  employeeId: string | null;
3066
2760
  }[];
3067
2761
  };
2762
+ 401: "Session not found";
3068
2763
  422: {
3069
2764
  type: "validation";
3070
2765
  on: string;
@@ -3127,6 +2822,7 @@ export declare const app: Elysia<"", {
3127
2822
  kind: "ADMIN" | "COMPANY_ADMIN" | "CUSTOMER" | "INSPECTION";
3128
2823
  employeeId?: string | null | undefined;
3129
2824
  };
2825
+ 401: "Session not found";
3130
2826
  };
3131
2827
  };
3132
2828
  };
@@ -3145,8 +2841,8 @@ export declare const app: Elysia<"", {
3145
2841
  permissions: never[];
3146
2842
  };
3147
2843
  params: {};
3148
- query: unknown;
3149
- headers: unknown;
2844
+ query: {};
2845
+ headers: {};
3150
2846
  response: {
3151
2847
  200: {
3152
2848
  id: string;
@@ -3158,7 +2854,7 @@ export declare const app: Elysia<"", {
3158
2854
  updatedAt: Date;
3159
2855
  };
3160
2856
  400: string;
3161
- 500: "Хэрэглэгч бүртгэхэд алдаа гарлаа.";
2857
+ 401: "Session not found";
3162
2858
  422: {
3163
2859
  type: "validation";
3164
2860
  on: string;
@@ -3168,6 +2864,7 @@ export declare const app: Elysia<"", {
3168
2864
  property?: string;
3169
2865
  expected?: string;
3170
2866
  };
2867
+ 500: "Хэрэглэгч бүртгэхэд алдаа гарлаа.";
3171
2868
  };
3172
2869
  };
3173
2870
  };
@@ -3193,22 +2890,10 @@ export declare const app: Elysia<"", {
3193
2890
  params: {
3194
2891
  id: string;
3195
2892
  };
3196
- query: unknown;
3197
- headers: unknown;
2893
+ query: {};
2894
+ headers: {};
3198
2895
  response: {
3199
- 200: void | {
3200
- id: string;
3201
- name: string;
3202
- email: string;
3203
- emailVerified: boolean;
3204
- image: string | null;
3205
- createdAt: Date;
3206
- updatedAt: Date;
3207
- companyId: string;
3208
- branchId: string;
3209
- kind: "ADMIN" | "COMPANY_ADMIN" | "CUSTOMER" | "INSPECTION";
3210
- employeeId: string | null;
3211
- };
2896
+ 401: "Session not found";
3212
2897
  422: {
3213
2898
  type: "validation";
3214
2899
  on: string;
@@ -3253,6 +2938,7 @@ export declare const app: Elysia<"", {
3253
2938
  deletedAt: string | null;
3254
2939
  oldId: number | null;
3255
2940
  }[];
2941
+ 401: "Session not found";
3256
2942
  422: {
3257
2943
  type: "validation";
3258
2944
  on: string;
@@ -3289,6 +2975,7 @@ export declare const app: Elysia<"", {
3289
2975
  amount: number;
3290
2976
  };
3291
2977
  400: "Энэ үйлчилгээнд ажилтан аль хэдийн хуваарилагдсан байна.";
2978
+ 401: "Session not found";
3292
2979
  422: {
3293
2980
  type: "validation";
3294
2981
  on: string;
@@ -3324,6 +3011,7 @@ export declare const app: Elysia<"", {
3324
3011
  deletedAt: string | null;
3325
3012
  oldId: number | null;
3326
3013
  };
3014
+ 401: "Session not found";
3327
3015
  404: "Ажилтны мэдээлэл олдсонгүй.";
3328
3016
  422: {
3329
3017
  type: "validation";
@@ -3352,6 +3040,7 @@ export declare const app: Elysia<"", {
3352
3040
  200: {
3353
3041
  id: string;
3354
3042
  };
3043
+ 401: "Session not found";
3355
3044
  404: "Ажилтны мэдээлэл олдсонгүй.";
3356
3045
  422: {
3357
3046
  type: "validation";
@@ -3427,6 +3116,7 @@ export declare const app: Elysia<"", {
3427
3116
  priceUnit: number;
3428
3117
  priceTotal: number;
3429
3118
  name: string | null;
3119
+ description: string | null;
3430
3120
  id: string;
3431
3121
  createdAt: string;
3432
3122
  updatedAt: string;
@@ -3469,6 +3159,7 @@ export declare const app: Elysia<"", {
3469
3159
  amount: number;
3470
3160
  }[];
3471
3161
  })[];
3162
+ 401: "Session not found";
3472
3163
  422: {
3473
3164
  type: "validation";
3474
3165
  on: string;
@@ -3504,6 +3195,7 @@ export declare const app: Elysia<"", {
3504
3195
  updatedAt: string;
3505
3196
  deletedAt: string | null;
3506
3197
  oldId: number | null;
3198
+ description: string | null;
3507
3199
  priceTotal: number;
3508
3200
  quantity: number;
3509
3201
  priceUnit: number;
@@ -3512,8 +3204,9 @@ export declare const app: Elysia<"", {
3512
3204
  companyServiceKindId: string | null;
3513
3205
  cpOrderSpPackageId: string | null;
3514
3206
  };
3515
- 404: "Бараа олдсонгүй." | "Үйлчилгээний төрөл олдсонгүй.";
3516
3207
  400: "Үйлчилгээний төрөл эсвэл бараа сонгоно уу.";
3208
+ 401: "Session not found";
3209
+ 404: "Бараа олдсонгүй." | "Үйлчилгээний төрөл олдсонгүй.";
3517
3210
  422: {
3518
3211
  type: "validation";
3519
3212
  on: string;
@@ -3549,12 +3242,14 @@ export declare const app: Elysia<"", {
3549
3242
  priceUnit: number;
3550
3243
  priceTotal: number;
3551
3244
  name: string | null;
3245
+ description: string | null;
3552
3246
  id: string;
3553
3247
  createdAt: string;
3554
3248
  updatedAt: string;
3555
3249
  deletedAt: string | null;
3556
3250
  oldId: number | null;
3557
3251
  };
3252
+ 401: "Session not found";
3558
3253
  404: "Үйлчилгээ олдсонгүй.";
3559
3254
  422: {
3560
3255
  type: "validation";
@@ -3583,6 +3278,7 @@ export declare const app: Elysia<"", {
3583
3278
  200: {
3584
3279
  cpOrderId: string;
3585
3280
  };
3281
+ 401: "Session not found";
3586
3282
  404: "Үйлчилгээ олдсонгүй.";
3587
3283
  422: {
3588
3284
  type: "validation";
@@ -3612,8 +3308,18 @@ export declare const app: Elysia<"", {
3612
3308
  query: {
3613
3309
  paymentId: string;
3614
3310
  };
3615
- headers: unknown;
3616
- response: unknown;
3311
+ headers: {};
3312
+ response: {
3313
+ 422: {
3314
+ type: "validation";
3315
+ on: string;
3316
+ summary?: string;
3317
+ message?: string;
3318
+ found?: unknown;
3319
+ property?: string;
3320
+ expected?: string;
3321
+ };
3322
+ };
3617
3323
  };
3618
3324
  };
3619
3325
  };
@@ -3630,8 +3336,8 @@ export declare const app: Elysia<"", {
3630
3336
  paymentChannel: string;
3631
3337
  };
3632
3338
  params: {};
3633
- query: unknown;
3634
- headers: unknown;
3339
+ query: {};
3340
+ headers: {};
3635
3341
  response: {
3636
3342
  200: {
3637
3343
  id: string;
@@ -3647,6 +3353,7 @@ export declare const app: Elysia<"", {
3647
3353
  paymentChannel: string;
3648
3354
  invoiceNumber: string | null;
3649
3355
  };
3356
+ 401: "Session not found";
3650
3357
  422: {
3651
3358
  type: "validation";
3652
3359
  on: string;
@@ -3663,14 +3370,14 @@ export declare const app: Elysia<"", {
3663
3370
  payment: {
3664
3371
  ":id": {
3665
3372
  delete: {
3666
- body: unknown;
3373
+ body: {};
3667
3374
  params: {
3668
3375
  id: string;
3669
3376
  };
3670
- query: unknown;
3671
- headers: unknown;
3377
+ query: {};
3378
+ headers: {};
3672
3379
  response: {
3673
- 200: void;
3380
+ 401: "Session not found";
3674
3381
  422: {
3675
3382
  type: "validation";
3676
3383
  on: string;
@@ -3696,8 +3403,8 @@ export declare const app: Elysia<"", {
3696
3403
  amount: number;
3697
3404
  };
3698
3405
  params: {};
3699
- query: unknown;
3700
- headers: unknown;
3406
+ query: {};
3407
+ headers: {};
3701
3408
  response: {
3702
3409
  200: {
3703
3410
  id: string;
@@ -3713,9 +3420,9 @@ export declare const app: Elysia<"", {
3713
3420
  paymentChannel: string;
3714
3421
  invoiceNumber: string | null;
3715
3422
  };
3716
- 404: "Төлбөрийн тохиргоо олдсонгүй.";
3717
3423
  400: string;
3718
- 500: "Сервер алдаа гарлаа";
3424
+ 401: "Session not found";
3425
+ 404: "Төлбөрийн тохиргоо олдсонгүй.";
3719
3426
  422: {
3720
3427
  type: "validation";
3721
3428
  on: string;
@@ -3725,6 +3432,7 @@ export declare const app: Elysia<"", {
3725
3432
  property?: string;
3726
3433
  expected?: string;
3727
3434
  };
3435
+ 500: "Сервер алдаа гарлаа";
3728
3436
  };
3729
3437
  };
3730
3438
  };
@@ -3741,10 +3449,8 @@ export declare const app: Elysia<"", {
3741
3449
  query: unknown;
3742
3450
  headers: unknown;
3743
3451
  response: {
3744
- 200: undefined;
3745
- 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3746
3452
  400: string;
3747
- 500: "Сервер алдаа гарлаа";
3453
+ 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3748
3454
  422: {
3749
3455
  type: "validation";
3750
3456
  on: string;
@@ -3754,6 +3460,7 @@ export declare const app: Elysia<"", {
3754
3460
  property?: string;
3755
3461
  expected?: string;
3756
3462
  };
3463
+ 500: "Сервер алдаа гарлаа";
3757
3464
  };
3758
3465
  };
3759
3466
  };
@@ -3773,8 +3480,8 @@ export declare const app: Elysia<"", {
3773
3480
  paymentChannel: string;
3774
3481
  };
3775
3482
  params: {};
3776
- query: unknown;
3777
- headers: unknown;
3483
+ query: {};
3484
+ headers: {};
3778
3485
  response: {
3779
3486
  200: {
3780
3487
  qrCode: string;
@@ -3791,9 +3498,9 @@ export declare const app: Elysia<"", {
3791
3498
  paymentChannel: string;
3792
3499
  invoiceNumber: string | null;
3793
3500
  };
3794
- 404: "Төлбөрийн тохиргоо олдсонгүй.";
3795
3501
  400: string;
3796
- 500: "Сервер алдаа гарлаа";
3502
+ 401: "Session not found";
3503
+ 404: "Төлбөрийн тохиргоо олдсонгүй.";
3797
3504
  422: {
3798
3505
  type: "validation";
3799
3506
  on: string;
@@ -3803,6 +3510,7 @@ export declare const app: Elysia<"", {
3803
3510
  property?: string;
3804
3511
  expected?: string;
3805
3512
  };
3513
+ 500: "Сервер алдаа гарлаа";
3806
3514
  };
3807
3515
  };
3808
3516
  };
@@ -3819,10 +3527,8 @@ export declare const app: Elysia<"", {
3819
3527
  query: unknown;
3820
3528
  headers: unknown;
3821
3529
  response: {
3822
- 200: undefined;
3823
- 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3824
3530
  400: string;
3825
- 500: "Сервер алдаа гарлаа";
3531
+ 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3826
3532
  422: {
3827
3533
  type: "validation";
3828
3534
  on: string;
@@ -3832,6 +3538,7 @@ export declare const app: Elysia<"", {
3832
3538
  property?: string;
3833
3539
  expected?: string;
3834
3540
  };
3541
+ 500: "Сервер алдаа гарлаа";
3835
3542
  };
3836
3543
  };
3837
3544
  };
@@ -3849,10 +3556,8 @@ export declare const app: Elysia<"", {
3849
3556
  query: unknown;
3850
3557
  headers: unknown;
3851
3558
  response: {
3852
- 200: undefined;
3853
- 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3854
3559
  400: string;
3855
- 500: "Сервер алдаа гарлаа";
3560
+ 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3856
3561
  422: {
3857
3562
  type: "validation";
3858
3563
  on: string;
@@ -3862,6 +3567,7 @@ export declare const app: Elysia<"", {
3862
3567
  property?: string;
3863
3568
  expected?: string;
3864
3569
  };
3570
+ 500: "Сервер алдаа гарлаа";
3865
3571
  };
3866
3572
  };
3867
3573
  };
@@ -3881,8 +3587,8 @@ export declare const app: Elysia<"", {
3881
3587
  paymentChannel: string;
3882
3588
  };
3883
3589
  params: {};
3884
- query: unknown;
3885
- headers: unknown;
3590
+ query: {};
3591
+ headers: {};
3886
3592
  response: {
3887
3593
  200: {
3888
3594
  qrCode: string;
@@ -3899,9 +3605,9 @@ export declare const app: Elysia<"", {
3899
3605
  paymentChannel: string;
3900
3606
  invoiceNumber: string | null;
3901
3607
  };
3902
- 404: "Төлбөрийн тохиргоо олдсонгүй.";
3903
3608
  400: string;
3904
- 500: "Сервер алдаа гарлаа";
3609
+ 401: "Session not found";
3610
+ 404: "Төлбөрийн тохиргоо олдсонгүй.";
3905
3611
  422: {
3906
3612
  type: "validation";
3907
3613
  on: string;
@@ -3911,6 +3617,7 @@ export declare const app: Elysia<"", {
3911
3617
  property?: string;
3912
3618
  expected?: string;
3913
3619
  };
3620
+ 500: "Сервер алдаа гарлаа";
3914
3621
  };
3915
3622
  };
3916
3623
  };
@@ -4074,7 +3781,6 @@ export declare const app: Elysia<"", {
4074
3781
  query: unknown;
4075
3782
  headers: unknown;
4076
3783
  response: {
4077
- 200: void;
4078
3784
  422: {
4079
3785
  type: "validation";
4080
3786
  on: string;
@@ -4206,6 +3912,7 @@ export declare const app: Elysia<"", {
4206
3912
  isDeleteAble: boolean;
4207
3913
  }[];
4208
3914
  };
3915
+ 401: "Session not found";
4209
3916
  422: {
4210
3917
  type: "validation";
4211
3918
  on: string;
@@ -4323,8 +4030,8 @@ export declare const app: Elysia<"", {
4323
4030
  isDeleteAble: boolean;
4324
4031
  }[];
4325
4032
  };
4326
- 502: string;
4327
4033
  400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
4034
+ 401: "Session not found";
4328
4035
  422: {
4329
4036
  type: "validation";
4330
4037
  on: string;
@@ -4334,6 +4041,7 @@ export declare const app: Elysia<"", {
4334
4041
  property?: string;
4335
4042
  expected?: string;
4336
4043
  };
4044
+ 502: string;
4337
4045
  };
4338
4046
  };
4339
4047
  };
@@ -4363,6 +4071,7 @@ export declare const app: Elysia<"", {
4363
4071
  state: "CREATED" | "PROGRESSING" | "COMPLETE";
4364
4072
  timeCompleted: string | null;
4365
4073
  };
4074
+ 401: "Session not found";
4366
4075
  };
4367
4076
  };
4368
4077
  };
@@ -4380,9 +4089,9 @@ export declare const app: Elysia<"", {
4380
4089
  query: unknown;
4381
4090
  headers: unknown;
4382
4091
  response: {
4383
- 200: undefined;
4384
- 404: "Багцийн үйлчилгээ олдсонгүй." | "Засвар үйлчилгээ олдсонгүй.";
4385
4092
  400: "Суурь багцад бараа эсвэл үйлчилгээ байхгүй байна.";
4093
+ 401: "Session not found";
4094
+ 404: "Багцийн үйлчилгээ олдсонгүй." | "Засвар үйлчилгээ олдсонгүй.";
4386
4095
  422: {
4387
4096
  type: "validation";
4388
4097
  on: string;
@@ -4425,6 +4134,7 @@ export declare const app: Elysia<"", {
4425
4134
  deletedAt: string | null;
4426
4135
  oldId: number | null;
4427
4136
  };
4137
+ 401: "Session not found";
4428
4138
  404: "Засвар үйлчилгээ олдсонгүй.";
4429
4139
  422: {
4430
4140
  type: "validation";
@@ -4479,6 +4189,7 @@ export declare const app: Elysia<"", {
4479
4189
  deletedAt: string | null;
4480
4190
  oldId: number | null;
4481
4191
  };
4192
+ 401: "Session not found";
4482
4193
  404: "Засвар үйлчилгээ олдсонгүй.";
4483
4194
  422: {
4484
4195
  type: "validation";
@@ -4504,9 +4215,9 @@ export declare const app: Elysia<"", {
4504
4215
  query: unknown;
4505
4216
  headers: unknown;
4506
4217
  response: {
4507
- 200: undefined;
4508
- 404: "Засвар үйлчилгээ олдсонгүй.";
4509
4218
  400: "Үйлчилгээ хоосон биш байна.";
4219
+ 401: "Session not found";
4220
+ 404: "Засвар үйлчилгээ олдсонгүй.";
4510
4221
  422: {
4511
4222
  type: "validation";
4512
4223
  on: string;
@@ -4583,6 +4294,7 @@ export declare const app: Elysia<"", {
4583
4294
  } | null;
4584
4295
  }[];
4585
4296
  };
4297
+ 401: "Session not found";
4586
4298
  422: {
4587
4299
  type: "validation";
4588
4300
  on: string;
@@ -4640,6 +4352,7 @@ export declare const app: Elysia<"", {
4640
4352
  deletedAt: string | null;
4641
4353
  oldId: number | null;
4642
4354
  }[];
4355
+ 401: "Session not found";
4643
4356
  422: {
4644
4357
  type: "validation";
4645
4358
  on: string;
@@ -4679,6 +4392,7 @@ export declare const app: Elysia<"", {
4679
4392
  quantity: number;
4680
4393
  priceUnit: number;
4681
4394
  };
4395
+ 401: "Session not found";
4682
4396
  422: {
4683
4397
  type: "validation";
4684
4398
  on: string;
@@ -4707,8 +4421,8 @@ export declare const app: Elysia<"", {
4707
4421
  query: unknown;
4708
4422
  headers: unknown;
4709
4423
  response: {
4710
- 200: undefined;
4711
4424
  400: "Үйлчилгээ оруулах мэдээлэл байхгүй байна.";
4425
+ 401: "Session not found";
4712
4426
  422: {
4713
4427
  type: "validation";
4714
4428
  on: string;
@@ -4752,6 +4466,7 @@ export declare const app: Elysia<"", {
4752
4466
  deletedAt: string | null;
4753
4467
  oldId: number | null;
4754
4468
  };
4469
+ 401: "Session not found";
4755
4470
  404: "Үйлчилгээ олдсонгүй.";
4756
4471
  422: {
4757
4472
  type: "validation";
@@ -4777,7 +4492,7 @@ export declare const app: Elysia<"", {
4777
4492
  query: unknown;
4778
4493
  headers: unknown;
4779
4494
  response: {
4780
- 200: void;
4495
+ 401: "Session not found";
4781
4496
  422: {
4782
4497
  type: "validation";
4783
4498
  on: string;
@@ -4836,6 +4551,7 @@ export declare const app: Elysia<"", {
4836
4551
  deletedAt: string | null;
4837
4552
  oldId: number | null;
4838
4553
  }[];
4554
+ 401: "Session not found";
4839
4555
  422: {
4840
4556
  type: "validation";
4841
4557
  on: string;
@@ -4874,6 +4590,7 @@ export declare const app: Elysia<"", {
4874
4590
  priceUnit: number;
4875
4591
  companyProductId: string;
4876
4592
  };
4593
+ 401: "Session not found";
4877
4594
  422: {
4878
4595
  type: "validation";
4879
4596
  on: string;
@@ -4901,8 +4618,8 @@ export declare const app: Elysia<"", {
4901
4618
  query: unknown;
4902
4619
  headers: unknown;
4903
4620
  response: {
4904
- 200: undefined;
4905
4621
  400: "Бүтээгдэхүүн оруулах мэдээлэл байхгүй байна.";
4622
+ 401: "Session not found";
4906
4623
  422: {
4907
4624
  type: "validation";
4908
4625
  on: string;
@@ -4946,6 +4663,7 @@ export declare const app: Elysia<"", {
4946
4663
  deletedAt: string | null;
4947
4664
  oldId: number | null;
4948
4665
  };
4666
+ 401: "Session not found";
4949
4667
  404: "Үйлчилгээний багцын бүтээгдэхүүн олдсонгүй.";
4950
4668
  422: {
4951
4669
  type: "validation";
@@ -4971,7 +4689,7 @@ export declare const app: Elysia<"", {
4971
4689
  query: unknown;
4972
4690
  headers: unknown;
4973
4691
  response: {
4974
- 200: void;
4692
+ 401: "Session not found";
4975
4693
  422: {
4976
4694
  type: "validation";
4977
4695
  on: string;
@@ -5041,6 +4759,7 @@ export declare const app: Elysia<"", {
5041
4759
  oldId: number | null;
5042
4760
  }[];
5043
4761
  };
4762
+ 401: "Session not found";
5044
4763
  422: {
5045
4764
  type: "validation";
5046
4765
  on: string;
@@ -5079,6 +4798,7 @@ export declare const app: Elysia<"", {
5079
4798
  companyBranchId: string | null;
5080
4799
  priceTotal: number;
5081
4800
  };
4801
+ 401: "Session not found";
5082
4802
  422: {
5083
4803
  type: "validation";
5084
4804
  on: string;
@@ -5120,6 +4840,7 @@ export declare const app: Elysia<"", {
5120
4840
  deletedAt: string | null;
5121
4841
  oldId: number | null;
5122
4842
  };
4843
+ 401: "Session not found";
5123
4844
  404: "Багцийн үйлчилгээ олдсонгүй.";
5124
4845
  422: {
5125
4846
  type: "validation";
@@ -5145,7 +4866,7 @@ export declare const app: Elysia<"", {
5145
4866
  query: unknown;
5146
4867
  headers: unknown;
5147
4868
  response: {
5148
- 200: void;
4869
+ 401: "Session not found";
5149
4870
  422: {
5150
4871
  type: "validation";
5151
4872
  on: string;
@@ -5182,11 +4903,10 @@ export declare const app: Elysia<"", {
5182
4903
  color_name: string;
5183
4904
  engine_model_name: string;
5184
4905
  fuel_type_name: string;
5185
- capacity?: string | undefined;
4906
+ capacity?: string;
5186
4907
  owner_id: string;
5187
4908
  borrower_id: null;
5188
4909
  };
5189
- 502: string;
5190
4910
  422: {
5191
4911
  type: "validation";
5192
4912
  on: string;
@@ -5196,11 +4916,73 @@ export declare const app: Elysia<"", {
5196
4916
  property?: string;
5197
4917
  expected?: string;
5198
4918
  };
4919
+ 502: string;
5199
4920
  };
5200
4921
  };
5201
- } & {
4922
+ };
4923
+ } & {
4924
+ vehicle: {
4925
+ many: {
4926
+ post: {
4927
+ body: {
4928
+ licensePlate: string[];
4929
+ };
4930
+ params: {};
4931
+ query: unknown;
4932
+ headers: unknown;
4933
+ response: {
4934
+ 422: {
4935
+ type: "validation";
4936
+ on: string;
4937
+ summary?: string;
4938
+ message?: string;
4939
+ found?: unknown;
4940
+ property?: string;
4941
+ expected?: string;
4942
+ };
4943
+ };
4944
+ };
4945
+ };
4946
+ };
4947
+ } & {
4948
+ vehicle: {
4949
+ get: {
4950
+ post: {
4951
+ body: {
4952
+ licensePlate: string[];
4953
+ };
4954
+ params: {};
4955
+ query: unknown;
4956
+ headers: unknown;
4957
+ response: {
4958
+ 200: {
4959
+ licensePlate: string | null;
4960
+ yearImported: number | null;
4961
+ yearManufactured: number | null;
4962
+ vin: string | null;
4963
+ model: string | null;
4964
+ gas: string | null;
4965
+ cc: string | null;
4966
+ }[];
4967
+ 422: {
4968
+ type: "validation";
4969
+ on: string;
4970
+ summary?: string;
4971
+ message?: string;
4972
+ found?: unknown;
4973
+ property?: string;
4974
+ expected?: string;
4975
+ };
4976
+ };
4977
+ };
4978
+ };
4979
+ };
4980
+ } & {
4981
+ vehicle: {
5202
4982
  fleet: {};
5203
- } & {
4983
+ };
4984
+ } & {
4985
+ vehicle: {
5204
4986
  fleet: {
5205
4987
  get: {
5206
4988
  body: unknown;
@@ -5275,6 +5057,7 @@ export declare const app: Elysia<"", {
5275
5057
  } | null;
5276
5058
  }[];
5277
5059
  };
5060
+ 401: "Session not found";
5278
5061
  422: {
5279
5062
  type: "validation";
5280
5063
  on: string;
@@ -5287,7 +5070,9 @@ export declare const app: Elysia<"", {
5287
5070
  };
5288
5071
  };
5289
5072
  };
5290
- } & {
5073
+ };
5074
+ } & {
5075
+ vehicle: {
5291
5076
  fleet: {
5292
5077
  post: {
5293
5078
  body: {
@@ -5325,8 +5110,8 @@ export declare const app: Elysia<"", {
5325
5110
  driveTrain: string | null;
5326
5111
  km: number;
5327
5112
  };
5328
- 502: string;
5329
5113
  400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
5114
+ 401: "Session not found";
5330
5115
  422: {
5331
5116
  type: "validation";
5332
5117
  on: string;
@@ -5336,17 +5121,20 @@ export declare const app: Elysia<"", {
5336
5121
  property?: string;
5337
5122
  expected?: string;
5338
5123
  };
5124
+ 502: string;
5339
5125
  };
5340
5126
  };
5341
5127
  };
5342
- } & {
5128
+ };
5129
+ } & {
5130
+ vehicle: {
5343
5131
  fleet: {
5344
5132
  ":id": {
5345
5133
  get: {
5346
5134
  body: unknown;
5347
5135
  params: {
5348
5136
  id: string;
5349
- } & {};
5137
+ };
5350
5138
  query: unknown;
5351
5139
  headers: unknown;
5352
5140
  response: {
@@ -5418,6 +5206,7 @@ export declare const app: Elysia<"", {
5418
5206
  oldId: number | null;
5419
5207
  } | null;
5420
5208
  };
5209
+ 401: "Session not found";
5421
5210
  404: "Тээврийн хэрэгсэл олдсонгүй.";
5422
5211
  422: {
5423
5212
  type: "validation";
@@ -5432,7 +5221,9 @@ export declare const app: Elysia<"", {
5432
5221
  };
5433
5222
  };
5434
5223
  };
5435
- } & {
5224
+ };
5225
+ } & {
5226
+ vehicle: {
5436
5227
  fleet: {
5437
5228
  ":id": {
5438
5229
  put: {
@@ -5459,7 +5250,7 @@ export declare const app: Elysia<"", {
5459
5250
  };
5460
5251
  params: {
5461
5252
  id: string;
5462
- } & {};
5253
+ };
5463
5254
  query: unknown;
5464
5255
  headers: unknown;
5465
5256
  response: {
@@ -5488,6 +5279,7 @@ export declare const app: Elysia<"", {
5488
5279
  deletedAt: string | null;
5489
5280
  oldId: number | null;
5490
5281
  };
5282
+ 401: "Session not found";
5491
5283
  404: "Тээврийн хэрэгсэл олдсонгүй.";
5492
5284
  422: {
5493
5285
  type: "validation";
@@ -5502,14 +5294,16 @@ export declare const app: Elysia<"", {
5502
5294
  };
5503
5295
  };
5504
5296
  };
5505
- } & {
5297
+ };
5298
+ } & {
5299
+ vehicle: {
5506
5300
  fleet: {
5507
5301
  ":id": {
5508
5302
  delete: {
5509
5303
  body: unknown;
5510
5304
  params: {
5511
5305
  id: string;
5512
- } & {};
5306
+ };
5513
5307
  query: unknown;
5514
5308
  headers: unknown;
5515
5309
  response: {
@@ -5538,6 +5332,7 @@ export declare const app: Elysia<"", {
5538
5332
  deletedAt: string | null;
5539
5333
  oldId: number | null;
5540
5334
  };
5335
+ 401: "Session not found";
5541
5336
  404: "Тээврийн хэрэгсэл олдсонгүй.";
5542
5337
  422: {
5543
5338
  type: "validation";
@@ -5615,6 +5410,7 @@ export declare const app: Elysia<"", {
5615
5410
  }[];
5616
5411
  }[];
5617
5412
  };
5413
+ 401: "Session not found";
5618
5414
  422: {
5619
5415
  type: "validation";
5620
5416
  on: string;
@@ -5656,6 +5452,7 @@ export declare const app: Elysia<"", {
5656
5452
  phoneNumber: string;
5657
5453
  regNum: string | null;
5658
5454
  };
5455
+ 401: "Session not found";
5659
5456
  422: {
5660
5457
  type: "validation";
5661
5458
  on: string;
@@ -5700,6 +5497,7 @@ export declare const app: Elysia<"", {
5700
5497
  deletedAt: string | null;
5701
5498
  oldId: number | null;
5702
5499
  };
5500
+ 401: "Session not found";
5703
5501
  404: "Хэрэглэгч олдсонгүй.";
5704
5502
  422: {
5705
5503
  type: "validation";
@@ -5762,6 +5560,7 @@ export declare const app: Elysia<"", {
5762
5560
  })[];
5763
5561
  }[];
5764
5562
  };
5563
+ 401: "Session not found";
5765
5564
  422: {
5766
5565
  type: "validation";
5767
5566
  on: string;
@@ -5805,6 +5604,7 @@ export declare const app: Elysia<"", {
5805
5604
  applyType: "ORDER" | "ITEM";
5806
5605
  discountType: "PERCENTAGE" | "FIXED";
5807
5606
  };
5607
+ 401: "Session not found";
5808
5608
  422: {
5809
5609
  type: "validation";
5810
5610
  on: string;
@@ -5851,6 +5651,7 @@ export declare const app: Elysia<"", {
5851
5651
  deletedAt: string | null;
5852
5652
  oldId: number | null;
5853
5653
  };
5654
+ 401: "Session not found";
5854
5655
  404: "Хөнгөлөлт олдсонгүй.";
5855
5656
  422: {
5856
5657
  type: "validation";
@@ -5890,6 +5691,7 @@ export declare const app: Elysia<"", {
5890
5691
  applyType: "ORDER" | "ITEM";
5891
5692
  discountType: "PERCENTAGE" | "FIXED";
5892
5693
  };
5694
+ 401: "Session not found";
5893
5695
  404: "Хөнгөлөлт олдсонгүй.";
5894
5696
  422: {
5895
5697
  type: "validation";
@@ -5945,6 +5747,7 @@ export declare const app: Elysia<"", {
5945
5747
  conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
5946
5748
  conditionValue: unknown;
5947
5749
  };
5750
+ 401: "Session not found";
5948
5751
  404: "Хөнгөлөлт олдсонгүй.";
5949
5752
  422: {
5950
5753
  type: "validation";
@@ -6003,6 +5806,7 @@ export declare const app: Elysia<"", {
6003
5806
  deletedAt: string | null;
6004
5807
  oldId: number | null;
6005
5808
  };
5809
+ 401: "Session not found";
6006
5810
  404: "Хөнгөлөлтийн нөхцөл олдсонгүй.";
6007
5811
  422: {
6008
5812
  type: "validation";
@@ -6040,6 +5844,7 @@ export declare const app: Elysia<"", {
6040
5844
  conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
6041
5845
  conditionValue: unknown;
6042
5846
  };
5847
+ 401: "Session not found";
6043
5848
  404: "Хөнгөлөлтийн нөхцөл олдсонгүй.";
6044
5849
  422: {
6045
5850
  type: "validation";
@@ -6090,6 +5895,7 @@ export declare const app: Elysia<"", {
6090
5895
  authUserId: string;
6091
5896
  };
6092
5897
  400: "Хэрэглэгчийн ажилтан ID олдсонгүй.";
5898
+ 401: "Session not found";
6093
5899
  422: {
6094
5900
  type: "validation";
6095
5901
  on: string;
@@ -6142,6 +5948,7 @@ export declare const app: Elysia<"", {
6142
5948
  deletedAt: string | null;
6143
5949
  oldId: number | null;
6144
5950
  };
5951
+ 401: "Session not found";
6145
5952
  404: "Хөнгөлөлтийн хэрэглээ олдсонгүй.";
6146
5953
  422: {
6147
5954
  type: "validation";
@@ -6169,7 +5976,7 @@ export declare const app: Elysia<"", {
6169
5976
  query: unknown;
6170
5977
  headers: unknown;
6171
5978
  response: {
6172
- 200: undefined;
5979
+ 401: "Session not found";
6173
5980
  404: "Хөнгөлөлтийн хэрэглээ олдсонгүй.";
6174
5981
  422: {
6175
5982
  type: "validation";
@@ -6193,18 +6000,30 @@ export declare const app: Elysia<"", {
6193
6000
  inspection: {
6194
6001
  ubcab: {
6195
6002
  get: {
6196
- body: unknown;
6003
+ body: {};
6197
6004
  params: {};
6198
6005
  query: {
6199
6006
  licensePlate: string;
6200
6007
  };
6201
- headers: unknown;
6008
+ headers: {};
6202
6009
  response: {
6203
6010
  200: {
6011
+ company: {
6012
+ id: string;
6013
+ name: string;
6014
+ serviceName: string;
6015
+ logoUrl: string;
6016
+ } | null;
6017
+ vehicle: {
6018
+ licensePlate: string | null;
6019
+ vin: string | null;
6020
+ model: string | null;
6021
+ };
6022
+ employee: {
6023
+ firstname: string;
6024
+ lastname: string;
6025
+ } | null;
6204
6026
  inspection: {
6205
- companyId: string;
6206
- branchId: string;
6207
- vehicleId: string;
6208
6027
  inspection: {
6209
6028
  type: string;
6210
6029
  values: {
@@ -6213,27 +6032,9 @@ export declare const app: Elysia<"", {
6213
6032
  answer: string;
6214
6033
  }[];
6215
6034
  }[] | null;
6216
- employeeId: string | null;
6035
+ createdAt: string;
6217
6036
  expireAt: Date;
6218
- experience: string | null;
6219
- rank: string | null;
6220
- licensePlate: string;
6221
- description: string | null;
6222
6037
  status: "CREATED" | "APPROVED" | "CANCELLED";
6223
- id: string;
6224
- createdAt: string;
6225
- updatedAt: string;
6226
- deletedAt: string | null;
6227
- oldId: number | null;
6228
- };
6229
- company: {
6230
- id: string;
6231
- name: string;
6232
- logo: string;
6233
- };
6234
- branch: {
6235
- id: string;
6236
- name: string;
6237
6038
  };
6238
6039
  }[];
6239
6040
  422: {
@@ -6325,6 +6126,7 @@ export declare const app: Elysia<"", {
6325
6126
  } | null;
6326
6127
  }[];
6327
6128
  };
6129
+ 401: "Session not found";
6328
6130
  422: {
6329
6131
  type: "validation";
6330
6132
  on: string;
@@ -6382,8 +6184,8 @@ export declare const app: Elysia<"", {
6382
6184
  experience: string | null;
6383
6185
  rank: string | null;
6384
6186
  };
6385
- 502: string;
6386
6187
  400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
6188
+ 401: "Session not found";
6387
6189
  422: {
6388
6190
  type: "validation";
6389
6191
  on: string;
@@ -6393,6 +6195,7 @@ export declare const app: Elysia<"", {
6393
6195
  property?: string;
6394
6196
  expected?: string;
6395
6197
  };
6198
+ 502: string;
6396
6199
  };
6397
6200
  };
6398
6201
  };
@@ -6432,6 +6235,7 @@ export declare const app: Elysia<"", {
6432
6235
  deletedAt: string | null;
6433
6236
  oldId: number | null;
6434
6237
  };
6238
+ 401: "Session not found";
6435
6239
  404: "Үзлэг олдсонгүй.";
6436
6240
  422: {
6437
6241
  type: "validation";
@@ -6457,7 +6261,7 @@ export declare const app: Elysia<"", {
6457
6261
  query: unknown;
6458
6262
  headers: unknown;
6459
6263
  response: {
6460
- 200: undefined;
6264
+ 401: "Session not found";
6461
6265
  404: "Үзлэг олдсонгүй.";
6462
6266
  422: {
6463
6267
  type: "validation";
@@ -6508,6 +6312,7 @@ export declare const app: Elysia<"", {
6508
6312
  deletedAt: string | null;
6509
6313
  oldId: number | null;
6510
6314
  };
6315
+ 401: "Session not found";
6511
6316
  404: "Үзлэг олдсонгүй.";
6512
6317
  422: {
6513
6318
  type: "validation";
@@ -6537,10 +6342,9 @@ export declare const app: Elysia<"", {
6537
6342
  200: {
6538
6343
  cpOrderId: string;
6539
6344
  };
6540
- 502: string;
6541
6345
  400: string;
6346
+ 401: "Session not found";
6542
6347
  404: "Үзлэг олдсонгүй.";
6543
- 500: "Алдаа гарлаа. Дахин оролдоно уу.";
6544
6348
  422: {
6545
6349
  type: "validation";
6546
6350
  on: string;
@@ -6550,6 +6354,8 @@ export declare const app: Elysia<"", {
6550
6354
  property?: string;
6551
6355
  expected?: string;
6552
6356
  };
6357
+ 500: "Алдаа гарлаа. Дахин оролдоно уу.";
6358
+ 502: string;
6553
6359
  };
6554
6360
  };
6555
6361
  };
@@ -6654,6 +6460,7 @@ export declare const app: Elysia<"", {
6654
6460
  totalAmount: number;
6655
6461
  paidAmount: number;
6656
6462
  }[];
6463
+ 401: "Session not found";
6657
6464
  422: {
6658
6465
  type: "validation";
6659
6466
  on: string;
@@ -6691,6 +6498,7 @@ export declare const app: Elysia<"", {
6691
6498
  ordersPending: number;
6692
6499
  ordersCancelled: number;
6693
6500
  };
6501
+ 401: "Session not found";
6694
6502
  422: {
6695
6503
  type: "validation";
6696
6504
  on: string;
@@ -6726,6 +6534,7 @@ export declare const app: Elysia<"", {
6726
6534
  totalPaidAmount: number;
6727
6535
  period: string;
6728
6536
  }[];
6537
+ 401: "Session not found";
6729
6538
  422: {
6730
6539
  type: "validation";
6731
6540
  on: string;
@@ -6766,6 +6575,7 @@ export declare const app: Elysia<"", {
6766
6575
  totalRevenue: number;
6767
6576
  totalCommission: number;
6768
6577
  }[];
6578
+ 401: "Session not found";
6769
6579
  422: {
6770
6580
  type: "validation";
6771
6581
  on: string;
@@ -6846,6 +6656,7 @@ export declare const app: Elysia<"", {
6846
6656
  oldId: number | null;
6847
6657
  } | null;
6848
6658
  }[];
6659
+ 401: "Session not found";
6849
6660
  422: {
6850
6661
  type: "validation";
6851
6662
  on: string;
@@ -6878,6 +6689,7 @@ export declare const app: Elysia<"", {
6878
6689
  headers: unknown;
6879
6690
  response: {
6880
6691
  200: string;
6692
+ 401: "Session not found";
6881
6693
  422: {
6882
6694
  type: "validation";
6883
6695
  on: string;
@@ -6908,6 +6720,7 @@ export declare const app: Elysia<"", {
6908
6720
  headers: unknown;
6909
6721
  response: {
6910
6722
  200: string;
6723
+ 401: "Session not found";
6911
6724
  422: {
6912
6725
  type: "validation";
6913
6726
  on: string;
@@ -6940,6 +6753,7 @@ export declare const app: Elysia<"", {
6940
6753
  headers: unknown;
6941
6754
  response: {
6942
6755
  200: string;
6756
+ 401: "Session not found";
6943
6757
  422: {
6944
6758
  type: "validation";
6945
6759
  on: string;
@@ -6975,6 +6789,7 @@ export declare const app: Elysia<"", {
6975
6789
  headers: unknown;
6976
6790
  response: {
6977
6791
  200: string;
6792
+ 401: "Session not found";
6978
6793
  422: {
6979
6794
  type: "validation";
6980
6795
  on: string;
@@ -7009,6 +6824,7 @@ export declare const app: Elysia<"", {
7009
6824
  headers: unknown;
7010
6825
  response: {
7011
6826
  200: string;
6827
+ 401: "Session not found";
7012
6828
  422: {
7013
6829
  type: "validation";
7014
6830
  on: string;
@@ -7032,7 +6848,7 @@ export declare const app: Elysia<"", {
7032
6848
  } & {
7033
6849
  supplier: {
7034
6850
  get: {
7035
- body: unknown;
6851
+ body: {};
7036
6852
  params: {};
7037
6853
  query: {
7038
6854
  name?: string | undefined;
@@ -7043,7 +6859,7 @@ export declare const app: Elysia<"", {
7043
6859
  page: number;
7044
6860
  };
7045
6861
  };
7046
- headers: unknown;
6862
+ headers: {};
7047
6863
  response: {
7048
6864
  200: {
7049
6865
  totalCount: number;
@@ -7060,6 +6876,7 @@ export declare const app: Elysia<"", {
7060
6876
  oldId: number | null;
7061
6877
  }[];
7062
6878
  };
6879
+ 401: "Session not found";
7063
6880
  422: {
7064
6881
  type: "validation";
7065
6882
  on: string;
@@ -7162,7 +6979,6 @@ export declare const app: Elysia<"", {
7162
6979
  query: unknown;
7163
6980
  headers: unknown;
7164
6981
  response: {
7165
- 200: void;
7166
6982
  422: {
7167
6983
  type: "validation";
7168
6984
  on: string;
@@ -7231,6 +7047,7 @@ export declare const app: Elysia<"", {
7231
7047
  totalCount: number;
7232
7048
  }, "totalCount">[];
7233
7049
  };
7050
+ 401: "Session not found";
7234
7051
  422: {
7235
7052
  type: "validation";
7236
7053
  on: string;
@@ -7260,8 +7077,8 @@ export declare const app: Elysia<"", {
7260
7077
  params: {
7261
7078
  id: string;
7262
7079
  };
7263
- query: unknown;
7264
- headers: unknown;
7080
+ query: {};
7081
+ headers: {};
7265
7082
  response: {
7266
7083
  200: {
7267
7084
  vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
@@ -7277,6 +7094,7 @@ export declare const app: Elysia<"", {
7277
7094
  deletedAt: string | null;
7278
7095
  oldId: number | null;
7279
7096
  };
7097
+ 401: "Session not found";
7280
7098
  404: "Vehicle kind not found";
7281
7099
  422: {
7282
7100
  type: "validation";
@@ -7302,10 +7120,12 @@ export declare const app: Elysia<"", {
7302
7120
  resolve: {};
7303
7121
  schema: {};
7304
7122
  standaloneSchema: {};
7123
+ response: {};
7305
7124
  }, {
7306
7125
  derive: {};
7307
7126
  resolve: {};
7308
7127
  schema: {};
7309
7128
  standaloneSchema: {};
7129
+ response: {};
7310
7130
  }>;
7311
7131
  export type App = typeof app;