autosync_backend2 1.2.3 → 1.2.5

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 +371 -549
  2. package/dist/index.js +17413 -16134
  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,130 +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 ? {
52
- readonly 100: "Continue";
53
- readonly 101: "Switching Protocols";
54
- readonly 102: "Processing";
55
- readonly 103: "Early Hints";
56
- readonly 200: "OK";
57
- readonly 201: "Created";
58
- readonly 202: "Accepted";
59
- readonly 203: "Non-Authoritative Information";
60
- readonly 204: "No Content";
61
- readonly 205: "Reset Content";
62
- readonly 206: "Partial Content";
63
- readonly 207: "Multi-Status";
64
- readonly 208: "Already Reported";
65
- readonly 300: "Multiple Choices";
66
- readonly 301: "Moved Permanently";
67
- readonly 302: "Found";
68
- readonly 303: "See Other";
69
- readonly 304: "Not Modified";
70
- readonly 307: "Temporary Redirect";
71
- readonly 308: "Permanent Redirect";
72
- readonly 400: "Bad Request";
73
- readonly 401: "Unauthorized";
74
- readonly 402: "Payment Required";
75
- readonly 403: "Forbidden";
76
- readonly 404: "Not Found";
77
- readonly 405: "Method Not Allowed";
78
- readonly 406: "Not Acceptable";
79
- readonly 407: "Proxy Authentication Required";
80
- readonly 408: "Request Timeout";
81
- readonly 409: "Conflict";
82
- readonly 410: "Gone";
83
- readonly 411: "Length Required";
84
- readonly 412: "Precondition Failed";
85
- readonly 413: "Payload Too Large";
86
- readonly 414: "URI Too Long";
87
- readonly 415: "Unsupported Media Type";
88
- readonly 416: "Range Not Satisfiable";
89
- readonly 417: "Expectation Failed";
90
- readonly 418: "I'm a teapot";
91
- readonly 421: "Misdirected Request";
92
- readonly 422: "Unprocessable Content";
93
- readonly 423: "Locked";
94
- readonly 424: "Failed Dependency";
95
- readonly 425: "Too Early";
96
- readonly 426: "Upgrade Required";
97
- readonly 428: "Precondition Required";
98
- readonly 429: "Too Many Requests";
99
- readonly 431: "Request Header Fields Too Large";
100
- readonly 451: "Unavailable For Legal Reasons";
101
- readonly 500: "Internal Server Error";
102
- readonly 501: "Not Implemented";
103
- readonly 502: "Bad Gateway";
104
- readonly 503: "Service Unavailable";
105
- readonly 504: "Gateway Timeout";
106
- readonly 505: "HTTP Version Not Supported";
107
- readonly 506: "Variant Also Negotiates";
108
- readonly 507: "Insufficient Storage";
109
- readonly 508: "Loop Detected";
110
- readonly 510: "Not Extended";
111
- 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 ? {
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 ? {
175
45
  readonly 100: "Continue";
176
46
  readonly 101: "Switching Protocols";
177
47
  readonly 102: "Processing";
@@ -211,6 +81,7 @@ export declare const app: Elysia<"", {
211
81
  readonly 416: "Range Not Satisfiable";
212
82
  readonly 417: "Expectation Failed";
213
83
  readonly 418: "I'm a teapot";
84
+ readonly 420: "Enhance Your Calm";
214
85
  readonly 421: "Misdirected Request";
215
86
  readonly 422: "Unprocessable Content";
216
87
  readonly 423: "Locked";
@@ -232,7 +103,7 @@ export declare const app: Elysia<"", {
232
103
  readonly 508: "Loop Detected";
233
104
  readonly 510: "Not Extended";
234
105
  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,130 +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 ? {
634
- readonly 100: "Continue";
635
- readonly 101: "Switching Protocols";
636
- readonly 102: "Processing";
637
- readonly 103: "Early Hints";
638
- readonly 200: "OK";
639
- readonly 201: "Created";
640
- readonly 202: "Accepted";
641
- readonly 203: "Non-Authoritative Information";
642
- readonly 204: "No Content";
643
- readonly 205: "Reset Content";
644
- readonly 206: "Partial Content";
645
- readonly 207: "Multi-Status";
646
- readonly 208: "Already Reported";
647
- readonly 300: "Multiple Choices";
648
- readonly 301: "Moved Permanently";
649
- readonly 302: "Found";
650
- readonly 303: "See Other";
651
- readonly 304: "Not Modified";
652
- readonly 307: "Temporary Redirect";
653
- readonly 308: "Permanent Redirect";
654
- readonly 400: "Bad Request";
655
- readonly 401: "Unauthorized";
656
- readonly 402: "Payment Required";
657
- readonly 403: "Forbidden";
658
- readonly 404: "Not Found";
659
- readonly 405: "Method Not Allowed";
660
- readonly 406: "Not Acceptable";
661
- readonly 407: "Proxy Authentication Required";
662
- readonly 408: "Request Timeout";
663
- readonly 409: "Conflict";
664
- readonly 410: "Gone";
665
- readonly 411: "Length Required";
666
- readonly 412: "Precondition Failed";
667
- readonly 413: "Payload Too Large";
668
- readonly 414: "URI Too Long";
669
- readonly 415: "Unsupported Media Type";
670
- readonly 416: "Range Not Satisfiable";
671
- readonly 417: "Expectation Failed";
672
- readonly 418: "I'm a teapot";
673
- readonly 421: "Misdirected Request";
674
- readonly 422: "Unprocessable Content";
675
- readonly 423: "Locked";
676
- readonly 424: "Failed Dependency";
677
- readonly 425: "Too Early";
678
- readonly 426: "Upgrade Required";
679
- readonly 428: "Precondition Required";
680
- readonly 429: "Too Many Requests";
681
- readonly 431: "Request Header Fields Too Large";
682
- readonly 451: "Unavailable For Legal Reasons";
683
- readonly 500: "Internal Server Error";
684
- readonly 501: "Not Implemented";
685
- readonly 502: "Bad Gateway";
686
- readonly 503: "Service Unavailable";
687
- readonly 504: "Gateway Timeout";
688
- readonly 505: "HTTP Version Not Supported";
689
- readonly 506: "Variant Also Negotiates";
690
- readonly 507: "Insufficient Storage";
691
- readonly 508: "Loop Detected";
692
- readonly 510: "Not Extended";
693
- 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" ? {
695
- readonly Continue: 100;
696
- readonly "Switching Protocols": 101;
697
- readonly Processing: 102;
698
- readonly "Early Hints": 103;
699
- readonly OK: 200;
700
- readonly Created: 201;
701
- readonly Accepted: 202;
702
- readonly "Non-Authoritative Information": 203;
703
- readonly "No Content": 204;
704
- readonly "Reset Content": 205;
705
- readonly "Partial Content": 206;
706
- readonly "Multi-Status": 207;
707
- readonly "Already Reported": 208;
708
- readonly "Multiple Choices": 300;
709
- readonly "Moved Permanently": 301;
710
- readonly Found: 302;
711
- readonly "See Other": 303;
712
- readonly "Not Modified": 304;
713
- readonly "Temporary Redirect": 307;
714
- readonly "Permanent Redirect": 308;
715
- readonly "Bad Request": 400;
716
- readonly Unauthorized: 401;
717
- readonly "Payment Required": 402;
718
- readonly Forbidden: 403;
719
- readonly "Not Found": 404;
720
- readonly "Method Not Allowed": 405;
721
- readonly "Not Acceptable": 406;
722
- readonly "Proxy Authentication Required": 407;
723
- readonly "Request Timeout": 408;
724
- readonly Conflict: 409;
725
- readonly Gone: 410;
726
- readonly "Length Required": 411;
727
- readonly "Precondition Failed": 412;
728
- readonly "Payload Too Large": 413;
729
- readonly "URI Too Long": 414;
730
- readonly "Unsupported Media Type": 415;
731
- readonly "Range Not Satisfiable": 416;
732
- readonly "Expectation Failed": 417;
733
- readonly "I'm a teapot": 418;
734
- readonly "Misdirected Request": 421;
735
- readonly "Unprocessable Content": 422;
736
- readonly Locked: 423;
737
- readonly "Failed Dependency": 424;
738
- readonly "Too Early": 425;
739
- readonly "Upgrade Required": 426;
740
- readonly "Precondition Required": 428;
741
- readonly "Too Many Requests": 429;
742
- readonly "Request Header Fields Too Large": 431;
743
- readonly "Unavailable For Legal Reasons": 451;
744
- readonly "Internal Server Error": 500;
745
- readonly "Not Implemented": 501;
746
- readonly "Bad Gateway": 502;
747
- readonly "Service Unavailable": 503;
748
- readonly "Gateway Timeout": 504;
749
- readonly "HTTP Version Not Supported": 505;
750
- readonly "Variant Also Negotiates": 506;
751
- readonly "Insufficient Storage": 507;
752
- readonly "Loop Detected": 508;
753
- readonly "Not Extended": 510;
754
- readonly "Network Authentication Required": 511;
755
- }[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 ? {
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 ? {
757
385
  readonly 100: "Continue";
758
386
  readonly 101: "Switching Protocols";
759
387
  readonly 102: "Processing";
@@ -793,6 +421,7 @@ export declare const app: Elysia<"", {
793
421
  readonly 416: "Range Not Satisfiable";
794
422
  readonly 417: "Expectation Failed";
795
423
  readonly 418: "I'm a teapot";
424
+ readonly 420: "Enhance Your Calm";
796
425
  readonly 421: "Misdirected Request";
797
426
  readonly 422: "Unprocessable Content";
798
427
  readonly 423: "Locked";
@@ -814,7 +443,7 @@ export declare const app: Elysia<"", {
814
443
  readonly 508: "Loop Detected";
815
444
  readonly 510: "Not Extended";
816
445
  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" ? {
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" ? {
818
447
  readonly Continue: 100;
819
448
  readonly "Switching Protocols": 101;
820
449
  readonly Processing: 102;
@@ -854,6 +483,7 @@ export declare const app: Elysia<"", {
854
483
  readonly "Range Not Satisfiable": 416;
855
484
  readonly "Expectation Failed": 417;
856
485
  readonly "I'm a teapot": 418;
486
+ readonly "Enhance Your Calm": 420;
857
487
  readonly "Misdirected Request": 421;
858
488
  readonly "Unprocessable Content": 422;
859
489
  readonly Locked: 423;
@@ -876,7 +506,7 @@ export declare const app: Elysia<"", {
876
506
  readonly "Not Extended": 510;
877
507
  readonly "Network Authentication Required": 511;
878
508
  }[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;
@@ -3486,6 +3177,7 @@ export declare const app: Elysia<"", {
3486
3177
  post: {
3487
3178
  body: {
3488
3179
  name?: string | null | undefined;
3180
+ description?: string | null | undefined;
3489
3181
  priceUnit?: number | undefined;
3490
3182
  companyProductId?: string | null | undefined;
3491
3183
  companyServiceKindId?: string | null | undefined;
@@ -3504,6 +3196,7 @@ export declare const app: Elysia<"", {
3504
3196
  updatedAt: string;
3505
3197
  deletedAt: string | null;
3506
3198
  oldId: number | null;
3199
+ description: string | null;
3507
3200
  priceTotal: number;
3508
3201
  quantity: number;
3509
3202
  priceUnit: number;
@@ -3512,8 +3205,9 @@ export declare const app: Elysia<"", {
3512
3205
  companyServiceKindId: string | null;
3513
3206
  cpOrderSpPackageId: string | null;
3514
3207
  };
3515
- 404: "Бараа олдсонгүй." | "Үйлчилгээний төрөл олдсонгүй.";
3516
3208
  400: "Үйлчилгээний төрөл эсвэл бараа сонгоно уу.";
3209
+ 401: "Session not found";
3210
+ 404: "Бараа олдсонгүй." | "Үйлчилгээний төрөл олдсонгүй.";
3517
3211
  422: {
3518
3212
  type: "validation";
3519
3213
  on: string;
@@ -3531,6 +3225,7 @@ export declare const app: Elysia<"", {
3531
3225
  ":id": {
3532
3226
  put: {
3533
3227
  body: {
3228
+ description?: string | null | undefined;
3534
3229
  quantity?: number | undefined;
3535
3230
  priceUnit?: number | undefined;
3536
3231
  };
@@ -3549,12 +3244,14 @@ export declare const app: Elysia<"", {
3549
3244
  priceUnit: number;
3550
3245
  priceTotal: number;
3551
3246
  name: string | null;
3247
+ description: string | null;
3552
3248
  id: string;
3553
3249
  createdAt: string;
3554
3250
  updatedAt: string;
3555
3251
  deletedAt: string | null;
3556
3252
  oldId: number | null;
3557
3253
  };
3254
+ 401: "Session not found";
3558
3255
  404: "Үйлчилгээ олдсонгүй.";
3559
3256
  422: {
3560
3257
  type: "validation";
@@ -3583,6 +3280,7 @@ export declare const app: Elysia<"", {
3583
3280
  200: {
3584
3281
  cpOrderId: string;
3585
3282
  };
3283
+ 401: "Session not found";
3586
3284
  404: "Үйлчилгээ олдсонгүй.";
3587
3285
  422: {
3588
3286
  type: "validation";
@@ -3612,8 +3310,18 @@ export declare const app: Elysia<"", {
3612
3310
  query: {
3613
3311
  paymentId: string;
3614
3312
  };
3615
- headers: unknown;
3616
- response: unknown;
3313
+ headers: {};
3314
+ response: {
3315
+ 422: {
3316
+ type: "validation";
3317
+ on: string;
3318
+ summary?: string;
3319
+ message?: string;
3320
+ found?: unknown;
3321
+ property?: string;
3322
+ expected?: string;
3323
+ };
3324
+ };
3617
3325
  };
3618
3326
  };
3619
3327
  };
@@ -3630,8 +3338,8 @@ export declare const app: Elysia<"", {
3630
3338
  paymentChannel: string;
3631
3339
  };
3632
3340
  params: {};
3633
- query: unknown;
3634
- headers: unknown;
3341
+ query: {};
3342
+ headers: {};
3635
3343
  response: {
3636
3344
  200: {
3637
3345
  id: string;
@@ -3647,6 +3355,7 @@ export declare const app: Elysia<"", {
3647
3355
  paymentChannel: string;
3648
3356
  invoiceNumber: string | null;
3649
3357
  };
3358
+ 401: "Session not found";
3650
3359
  422: {
3651
3360
  type: "validation";
3652
3361
  on: string;
@@ -3663,14 +3372,14 @@ export declare const app: Elysia<"", {
3663
3372
  payment: {
3664
3373
  ":id": {
3665
3374
  delete: {
3666
- body: unknown;
3375
+ body: {};
3667
3376
  params: {
3668
3377
  id: string;
3669
3378
  };
3670
- query: unknown;
3671
- headers: unknown;
3379
+ query: {};
3380
+ headers: {};
3672
3381
  response: {
3673
- 200: void;
3382
+ 401: "Session not found";
3674
3383
  422: {
3675
3384
  type: "validation";
3676
3385
  on: string;
@@ -3696,8 +3405,8 @@ export declare const app: Elysia<"", {
3696
3405
  amount: number;
3697
3406
  };
3698
3407
  params: {};
3699
- query: unknown;
3700
- headers: unknown;
3408
+ query: {};
3409
+ headers: {};
3701
3410
  response: {
3702
3411
  200: {
3703
3412
  id: string;
@@ -3713,9 +3422,9 @@ export declare const app: Elysia<"", {
3713
3422
  paymentChannel: string;
3714
3423
  invoiceNumber: string | null;
3715
3424
  };
3716
- 404: "Төлбөрийн тохиргоо олдсонгүй.";
3717
3425
  400: string;
3718
- 500: "Сервер алдаа гарлаа";
3426
+ 401: "Session not found";
3427
+ 404: "Төлбөрийн тохиргоо олдсонгүй.";
3719
3428
  422: {
3720
3429
  type: "validation";
3721
3430
  on: string;
@@ -3725,6 +3434,7 @@ export declare const app: Elysia<"", {
3725
3434
  property?: string;
3726
3435
  expected?: string;
3727
3436
  };
3437
+ 500: "Сервер алдаа гарлаа";
3728
3438
  };
3729
3439
  };
3730
3440
  };
@@ -3741,10 +3451,8 @@ export declare const app: Elysia<"", {
3741
3451
  query: unknown;
3742
3452
  headers: unknown;
3743
3453
  response: {
3744
- 200: undefined;
3745
- 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3746
3454
  400: string;
3747
- 500: "Сервер алдаа гарлаа";
3455
+ 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3748
3456
  422: {
3749
3457
  type: "validation";
3750
3458
  on: string;
@@ -3754,6 +3462,7 @@ export declare const app: Elysia<"", {
3754
3462
  property?: string;
3755
3463
  expected?: string;
3756
3464
  };
3465
+ 500: "Сервер алдаа гарлаа";
3757
3466
  };
3758
3467
  };
3759
3468
  };
@@ -3773,8 +3482,8 @@ export declare const app: Elysia<"", {
3773
3482
  paymentChannel: string;
3774
3483
  };
3775
3484
  params: {};
3776
- query: unknown;
3777
- headers: unknown;
3485
+ query: {};
3486
+ headers: {};
3778
3487
  response: {
3779
3488
  200: {
3780
3489
  qrCode: string;
@@ -3791,9 +3500,9 @@ export declare const app: Elysia<"", {
3791
3500
  paymentChannel: string;
3792
3501
  invoiceNumber: string | null;
3793
3502
  };
3794
- 404: "Төлбөрийн тохиргоо олдсонгүй.";
3795
3503
  400: string;
3796
- 500: "Сервер алдаа гарлаа";
3504
+ 401: "Session not found";
3505
+ 404: "Төлбөрийн тохиргоо олдсонгүй.";
3797
3506
  422: {
3798
3507
  type: "validation";
3799
3508
  on: string;
@@ -3803,6 +3512,7 @@ export declare const app: Elysia<"", {
3803
3512
  property?: string;
3804
3513
  expected?: string;
3805
3514
  };
3515
+ 500: "Сервер алдаа гарлаа";
3806
3516
  };
3807
3517
  };
3808
3518
  };
@@ -3819,10 +3529,8 @@ export declare const app: Elysia<"", {
3819
3529
  query: unknown;
3820
3530
  headers: unknown;
3821
3531
  response: {
3822
- 200: undefined;
3823
- 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3824
3532
  400: string;
3825
- 500: "Сервер алдаа гарлаа";
3533
+ 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3826
3534
  422: {
3827
3535
  type: "validation";
3828
3536
  on: string;
@@ -3832,6 +3540,7 @@ export declare const app: Elysia<"", {
3832
3540
  property?: string;
3833
3541
  expected?: string;
3834
3542
  };
3543
+ 500: "Сервер алдаа гарлаа";
3835
3544
  };
3836
3545
  };
3837
3546
  };
@@ -3849,10 +3558,8 @@ export declare const app: Elysia<"", {
3849
3558
  query: unknown;
3850
3559
  headers: unknown;
3851
3560
  response: {
3852
- 200: undefined;
3853
- 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3854
3561
  400: string;
3855
- 500: "Сервер алдаа гарлаа";
3562
+ 404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
3856
3563
  422: {
3857
3564
  type: "validation";
3858
3565
  on: string;
@@ -3862,6 +3569,7 @@ export declare const app: Elysia<"", {
3862
3569
  property?: string;
3863
3570
  expected?: string;
3864
3571
  };
3572
+ 500: "Сервер алдаа гарлаа";
3865
3573
  };
3866
3574
  };
3867
3575
  };
@@ -3881,8 +3589,8 @@ export declare const app: Elysia<"", {
3881
3589
  paymentChannel: string;
3882
3590
  };
3883
3591
  params: {};
3884
- query: unknown;
3885
- headers: unknown;
3592
+ query: {};
3593
+ headers: {};
3886
3594
  response: {
3887
3595
  200: {
3888
3596
  qrCode: string;
@@ -3899,9 +3607,9 @@ export declare const app: Elysia<"", {
3899
3607
  paymentChannel: string;
3900
3608
  invoiceNumber: string | null;
3901
3609
  };
3902
- 404: "Төлбөрийн тохиргоо олдсонгүй.";
3903
3610
  400: string;
3904
- 500: "Сервер алдаа гарлаа";
3611
+ 401: "Session not found";
3612
+ 404: "Төлбөрийн тохиргоо олдсонгүй.";
3905
3613
  422: {
3906
3614
  type: "validation";
3907
3615
  on: string;
@@ -3911,6 +3619,7 @@ export declare const app: Elysia<"", {
3911
3619
  property?: string;
3912
3620
  expected?: string;
3913
3621
  };
3622
+ 500: "Сервер алдаа гарлаа";
3914
3623
  };
3915
3624
  };
3916
3625
  };
@@ -4074,7 +3783,6 @@ export declare const app: Elysia<"", {
4074
3783
  query: unknown;
4075
3784
  headers: unknown;
4076
3785
  response: {
4077
- 200: void;
4078
3786
  422: {
4079
3787
  type: "validation";
4080
3788
  on: string;
@@ -4206,6 +3914,7 @@ export declare const app: Elysia<"", {
4206
3914
  isDeleteAble: boolean;
4207
3915
  }[];
4208
3916
  };
3917
+ 401: "Session not found";
4209
3918
  422: {
4210
3919
  type: "validation";
4211
3920
  on: string;
@@ -4323,8 +4032,8 @@ export declare const app: Elysia<"", {
4323
4032
  isDeleteAble: boolean;
4324
4033
  }[];
4325
4034
  };
4326
- 502: string;
4327
4035
  400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
4036
+ 401: "Session not found";
4328
4037
  422: {
4329
4038
  type: "validation";
4330
4039
  on: string;
@@ -4334,6 +4043,7 @@ export declare const app: Elysia<"", {
4334
4043
  property?: string;
4335
4044
  expected?: string;
4336
4045
  };
4046
+ 502: string;
4337
4047
  };
4338
4048
  };
4339
4049
  };
@@ -4363,6 +4073,7 @@ export declare const app: Elysia<"", {
4363
4073
  state: "CREATED" | "PROGRESSING" | "COMPLETE";
4364
4074
  timeCompleted: string | null;
4365
4075
  };
4076
+ 401: "Session not found";
4366
4077
  };
4367
4078
  };
4368
4079
  };
@@ -4380,9 +4091,9 @@ export declare const app: Elysia<"", {
4380
4091
  query: unknown;
4381
4092
  headers: unknown;
4382
4093
  response: {
4383
- 200: undefined;
4384
- 404: "Багцийн үйлчилгээ олдсонгүй." | "Засвар үйлчилгээ олдсонгүй.";
4385
4094
  400: "Суурь багцад бараа эсвэл үйлчилгээ байхгүй байна.";
4095
+ 401: "Session not found";
4096
+ 404: "Багцийн үйлчилгээ олдсонгүй." | "Засвар үйлчилгээ олдсонгүй.";
4386
4097
  422: {
4387
4098
  type: "validation";
4388
4099
  on: string;
@@ -4425,6 +4136,7 @@ export declare const app: Elysia<"", {
4425
4136
  deletedAt: string | null;
4426
4137
  oldId: number | null;
4427
4138
  };
4139
+ 401: "Session not found";
4428
4140
  404: "Засвар үйлчилгээ олдсонгүй.";
4429
4141
  422: {
4430
4142
  type: "validation";
@@ -4479,6 +4191,7 @@ export declare const app: Elysia<"", {
4479
4191
  deletedAt: string | null;
4480
4192
  oldId: number | null;
4481
4193
  };
4194
+ 401: "Session not found";
4482
4195
  404: "Засвар үйлчилгээ олдсонгүй.";
4483
4196
  422: {
4484
4197
  type: "validation";
@@ -4504,9 +4217,9 @@ export declare const app: Elysia<"", {
4504
4217
  query: unknown;
4505
4218
  headers: unknown;
4506
4219
  response: {
4507
- 200: undefined;
4508
- 404: "Засвар үйлчилгээ олдсонгүй.";
4509
4220
  400: "Үйлчилгээ хоосон биш байна.";
4221
+ 401: "Session not found";
4222
+ 404: "Засвар үйлчилгээ олдсонгүй.";
4510
4223
  422: {
4511
4224
  type: "validation";
4512
4225
  on: string;
@@ -4583,6 +4296,7 @@ export declare const app: Elysia<"", {
4583
4296
  } | null;
4584
4297
  }[];
4585
4298
  };
4299
+ 401: "Session not found";
4586
4300
  422: {
4587
4301
  type: "validation";
4588
4302
  on: string;
@@ -4640,6 +4354,7 @@ export declare const app: Elysia<"", {
4640
4354
  deletedAt: string | null;
4641
4355
  oldId: number | null;
4642
4356
  }[];
4357
+ 401: "Session not found";
4643
4358
  422: {
4644
4359
  type: "validation";
4645
4360
  on: string;
@@ -4679,6 +4394,7 @@ export declare const app: Elysia<"", {
4679
4394
  quantity: number;
4680
4395
  priceUnit: number;
4681
4396
  };
4397
+ 401: "Session not found";
4682
4398
  422: {
4683
4399
  type: "validation";
4684
4400
  on: string;
@@ -4707,8 +4423,8 @@ export declare const app: Elysia<"", {
4707
4423
  query: unknown;
4708
4424
  headers: unknown;
4709
4425
  response: {
4710
- 200: undefined;
4711
4426
  400: "Үйлчилгээ оруулах мэдээлэл байхгүй байна.";
4427
+ 401: "Session not found";
4712
4428
  422: {
4713
4429
  type: "validation";
4714
4430
  on: string;
@@ -4752,6 +4468,7 @@ export declare const app: Elysia<"", {
4752
4468
  deletedAt: string | null;
4753
4469
  oldId: number | null;
4754
4470
  };
4471
+ 401: "Session not found";
4755
4472
  404: "Үйлчилгээ олдсонгүй.";
4756
4473
  422: {
4757
4474
  type: "validation";
@@ -4777,7 +4494,7 @@ export declare const app: Elysia<"", {
4777
4494
  query: unknown;
4778
4495
  headers: unknown;
4779
4496
  response: {
4780
- 200: void;
4497
+ 401: "Session not found";
4781
4498
  422: {
4782
4499
  type: "validation";
4783
4500
  on: string;
@@ -4836,6 +4553,7 @@ export declare const app: Elysia<"", {
4836
4553
  deletedAt: string | null;
4837
4554
  oldId: number | null;
4838
4555
  }[];
4556
+ 401: "Session not found";
4839
4557
  422: {
4840
4558
  type: "validation";
4841
4559
  on: string;
@@ -4874,6 +4592,7 @@ export declare const app: Elysia<"", {
4874
4592
  priceUnit: number;
4875
4593
  companyProductId: string;
4876
4594
  };
4595
+ 401: "Session not found";
4877
4596
  422: {
4878
4597
  type: "validation";
4879
4598
  on: string;
@@ -4901,8 +4620,8 @@ export declare const app: Elysia<"", {
4901
4620
  query: unknown;
4902
4621
  headers: unknown;
4903
4622
  response: {
4904
- 200: undefined;
4905
4623
  400: "Бүтээгдэхүүн оруулах мэдээлэл байхгүй байна.";
4624
+ 401: "Session not found";
4906
4625
  422: {
4907
4626
  type: "validation";
4908
4627
  on: string;
@@ -4946,6 +4665,7 @@ export declare const app: Elysia<"", {
4946
4665
  deletedAt: string | null;
4947
4666
  oldId: number | null;
4948
4667
  };
4668
+ 401: "Session not found";
4949
4669
  404: "Үйлчилгээний багцын бүтээгдэхүүн олдсонгүй.";
4950
4670
  422: {
4951
4671
  type: "validation";
@@ -4971,7 +4691,7 @@ export declare const app: Elysia<"", {
4971
4691
  query: unknown;
4972
4692
  headers: unknown;
4973
4693
  response: {
4974
- 200: void;
4694
+ 401: "Session not found";
4975
4695
  422: {
4976
4696
  type: "validation";
4977
4697
  on: string;
@@ -5041,6 +4761,7 @@ export declare const app: Elysia<"", {
5041
4761
  oldId: number | null;
5042
4762
  }[];
5043
4763
  };
4764
+ 401: "Session not found";
5044
4765
  422: {
5045
4766
  type: "validation";
5046
4767
  on: string;
@@ -5079,6 +4800,7 @@ export declare const app: Elysia<"", {
5079
4800
  companyBranchId: string | null;
5080
4801
  priceTotal: number;
5081
4802
  };
4803
+ 401: "Session not found";
5082
4804
  422: {
5083
4805
  type: "validation";
5084
4806
  on: string;
@@ -5120,6 +4842,7 @@ export declare const app: Elysia<"", {
5120
4842
  deletedAt: string | null;
5121
4843
  oldId: number | null;
5122
4844
  };
4845
+ 401: "Session not found";
5123
4846
  404: "Багцийн үйлчилгээ олдсонгүй.";
5124
4847
  422: {
5125
4848
  type: "validation";
@@ -5145,7 +4868,7 @@ export declare const app: Elysia<"", {
5145
4868
  query: unknown;
5146
4869
  headers: unknown;
5147
4870
  response: {
5148
- 200: void;
4871
+ 401: "Session not found";
5149
4872
  422: {
5150
4873
  type: "validation";
5151
4874
  on: string;
@@ -5182,11 +4905,10 @@ export declare const app: Elysia<"", {
5182
4905
  color_name: string;
5183
4906
  engine_model_name: string;
5184
4907
  fuel_type_name: string;
5185
- capacity?: string | undefined;
4908
+ capacity?: string;
5186
4909
  owner_id: string;
5187
4910
  borrower_id: null;
5188
4911
  };
5189
- 502: string;
5190
4912
  422: {
5191
4913
  type: "validation";
5192
4914
  on: string;
@@ -5196,11 +4918,73 @@ export declare const app: Elysia<"", {
5196
4918
  property?: string;
5197
4919
  expected?: string;
5198
4920
  };
4921
+ 502: string;
5199
4922
  };
5200
4923
  };
5201
- } & {
4924
+ };
4925
+ } & {
4926
+ vehicle: {
4927
+ many: {
4928
+ post: {
4929
+ body: {
4930
+ licensePlate: string[];
4931
+ };
4932
+ params: {};
4933
+ query: unknown;
4934
+ headers: unknown;
4935
+ response: {
4936
+ 422: {
4937
+ type: "validation";
4938
+ on: string;
4939
+ summary?: string;
4940
+ message?: string;
4941
+ found?: unknown;
4942
+ property?: string;
4943
+ expected?: string;
4944
+ };
4945
+ };
4946
+ };
4947
+ };
4948
+ };
4949
+ } & {
4950
+ vehicle: {
4951
+ get: {
4952
+ post: {
4953
+ body: {
4954
+ licensePlate: string[];
4955
+ };
4956
+ params: {};
4957
+ query: unknown;
4958
+ headers: unknown;
4959
+ response: {
4960
+ 200: {
4961
+ licensePlate: string | null;
4962
+ yearImported: number | null;
4963
+ yearManufactured: number | null;
4964
+ vin: string | null;
4965
+ model: string | null;
4966
+ gas: string | null;
4967
+ cc: string | null;
4968
+ }[];
4969
+ 422: {
4970
+ type: "validation";
4971
+ on: string;
4972
+ summary?: string;
4973
+ message?: string;
4974
+ found?: unknown;
4975
+ property?: string;
4976
+ expected?: string;
4977
+ };
4978
+ };
4979
+ };
4980
+ };
4981
+ };
4982
+ } & {
4983
+ vehicle: {
5202
4984
  fleet: {};
5203
- } & {
4985
+ };
4986
+ } & {
4987
+ vehicle: {
5204
4988
  fleet: {
5205
4989
  get: {
5206
4990
  body: unknown;
@@ -5275,6 +5059,7 @@ export declare const app: Elysia<"", {
5275
5059
  } | null;
5276
5060
  }[];
5277
5061
  };
5062
+ 401: "Session not found";
5278
5063
  422: {
5279
5064
  type: "validation";
5280
5065
  on: string;
@@ -5287,7 +5072,9 @@ export declare const app: Elysia<"", {
5287
5072
  };
5288
5073
  };
5289
5074
  };
5290
- } & {
5075
+ };
5076
+ } & {
5077
+ vehicle: {
5291
5078
  fleet: {
5292
5079
  post: {
5293
5080
  body: {
@@ -5325,8 +5112,8 @@ export declare const app: Elysia<"", {
5325
5112
  driveTrain: string | null;
5326
5113
  km: number;
5327
5114
  };
5328
- 502: string;
5329
5115
  400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
5116
+ 401: "Session not found";
5330
5117
  422: {
5331
5118
  type: "validation";
5332
5119
  on: string;
@@ -5336,17 +5123,20 @@ export declare const app: Elysia<"", {
5336
5123
  property?: string;
5337
5124
  expected?: string;
5338
5125
  };
5126
+ 502: string;
5339
5127
  };
5340
5128
  };
5341
5129
  };
5342
- } & {
5130
+ };
5131
+ } & {
5132
+ vehicle: {
5343
5133
  fleet: {
5344
5134
  ":id": {
5345
5135
  get: {
5346
5136
  body: unknown;
5347
5137
  params: {
5348
5138
  id: string;
5349
- } & {};
5139
+ };
5350
5140
  query: unknown;
5351
5141
  headers: unknown;
5352
5142
  response: {
@@ -5418,6 +5208,7 @@ export declare const app: Elysia<"", {
5418
5208
  oldId: number | null;
5419
5209
  } | null;
5420
5210
  };
5211
+ 401: "Session not found";
5421
5212
  404: "Тээврийн хэрэгсэл олдсонгүй.";
5422
5213
  422: {
5423
5214
  type: "validation";
@@ -5432,7 +5223,9 @@ export declare const app: Elysia<"", {
5432
5223
  };
5433
5224
  };
5434
5225
  };
5435
- } & {
5226
+ };
5227
+ } & {
5228
+ vehicle: {
5436
5229
  fleet: {
5437
5230
  ":id": {
5438
5231
  put: {
@@ -5459,7 +5252,7 @@ export declare const app: Elysia<"", {
5459
5252
  };
5460
5253
  params: {
5461
5254
  id: string;
5462
- } & {};
5255
+ };
5463
5256
  query: unknown;
5464
5257
  headers: unknown;
5465
5258
  response: {
@@ -5488,6 +5281,7 @@ export declare const app: Elysia<"", {
5488
5281
  deletedAt: string | null;
5489
5282
  oldId: number | null;
5490
5283
  };
5284
+ 401: "Session not found";
5491
5285
  404: "Тээврийн хэрэгсэл олдсонгүй.";
5492
5286
  422: {
5493
5287
  type: "validation";
@@ -5502,14 +5296,16 @@ export declare const app: Elysia<"", {
5502
5296
  };
5503
5297
  };
5504
5298
  };
5505
- } & {
5299
+ };
5300
+ } & {
5301
+ vehicle: {
5506
5302
  fleet: {
5507
5303
  ":id": {
5508
5304
  delete: {
5509
5305
  body: unknown;
5510
5306
  params: {
5511
5307
  id: string;
5512
- } & {};
5308
+ };
5513
5309
  query: unknown;
5514
5310
  headers: unknown;
5515
5311
  response: {
@@ -5538,6 +5334,7 @@ export declare const app: Elysia<"", {
5538
5334
  deletedAt: string | null;
5539
5335
  oldId: number | null;
5540
5336
  };
5337
+ 401: "Session not found";
5541
5338
  404: "Тээврийн хэрэгсэл олдсонгүй.";
5542
5339
  422: {
5543
5340
  type: "validation";
@@ -5615,6 +5412,7 @@ export declare const app: Elysia<"", {
5615
5412
  }[];
5616
5413
  }[];
5617
5414
  };
5415
+ 401: "Session not found";
5618
5416
  422: {
5619
5417
  type: "validation";
5620
5418
  on: string;
@@ -5656,6 +5454,7 @@ export declare const app: Elysia<"", {
5656
5454
  phoneNumber: string;
5657
5455
  regNum: string | null;
5658
5456
  };
5457
+ 401: "Session not found";
5659
5458
  422: {
5660
5459
  type: "validation";
5661
5460
  on: string;
@@ -5700,6 +5499,7 @@ export declare const app: Elysia<"", {
5700
5499
  deletedAt: string | null;
5701
5500
  oldId: number | null;
5702
5501
  };
5502
+ 401: "Session not found";
5703
5503
  404: "Хэрэглэгч олдсонгүй.";
5704
5504
  422: {
5705
5505
  type: "validation";
@@ -5762,6 +5562,7 @@ export declare const app: Elysia<"", {
5762
5562
  })[];
5763
5563
  }[];
5764
5564
  };
5565
+ 401: "Session not found";
5765
5566
  422: {
5766
5567
  type: "validation";
5767
5568
  on: string;
@@ -5805,6 +5606,7 @@ export declare const app: Elysia<"", {
5805
5606
  applyType: "ORDER" | "ITEM";
5806
5607
  discountType: "PERCENTAGE" | "FIXED";
5807
5608
  };
5609
+ 401: "Session not found";
5808
5610
  422: {
5809
5611
  type: "validation";
5810
5612
  on: string;
@@ -5851,6 +5653,7 @@ export declare const app: Elysia<"", {
5851
5653
  deletedAt: string | null;
5852
5654
  oldId: number | null;
5853
5655
  };
5656
+ 401: "Session not found";
5854
5657
  404: "Хөнгөлөлт олдсонгүй.";
5855
5658
  422: {
5856
5659
  type: "validation";
@@ -5890,6 +5693,7 @@ export declare const app: Elysia<"", {
5890
5693
  applyType: "ORDER" | "ITEM";
5891
5694
  discountType: "PERCENTAGE" | "FIXED";
5892
5695
  };
5696
+ 401: "Session not found";
5893
5697
  404: "Хөнгөлөлт олдсонгүй.";
5894
5698
  422: {
5895
5699
  type: "validation";
@@ -5945,6 +5749,7 @@ export declare const app: Elysia<"", {
5945
5749
  conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
5946
5750
  conditionValue: unknown;
5947
5751
  };
5752
+ 401: "Session not found";
5948
5753
  404: "Хөнгөлөлт олдсонгүй.";
5949
5754
  422: {
5950
5755
  type: "validation";
@@ -6003,6 +5808,7 @@ export declare const app: Elysia<"", {
6003
5808
  deletedAt: string | null;
6004
5809
  oldId: number | null;
6005
5810
  };
5811
+ 401: "Session not found";
6006
5812
  404: "Хөнгөлөлтийн нөхцөл олдсонгүй.";
6007
5813
  422: {
6008
5814
  type: "validation";
@@ -6040,6 +5846,7 @@ export declare const app: Elysia<"", {
6040
5846
  conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
6041
5847
  conditionValue: unknown;
6042
5848
  };
5849
+ 401: "Session not found";
6043
5850
  404: "Хөнгөлөлтийн нөхцөл олдсонгүй.";
6044
5851
  422: {
6045
5852
  type: "validation";
@@ -6090,6 +5897,7 @@ export declare const app: Elysia<"", {
6090
5897
  authUserId: string;
6091
5898
  };
6092
5899
  400: "Хэрэглэгчийн ажилтан ID олдсонгүй.";
5900
+ 401: "Session not found";
6093
5901
  422: {
6094
5902
  type: "validation";
6095
5903
  on: string;
@@ -6142,6 +5950,7 @@ export declare const app: Elysia<"", {
6142
5950
  deletedAt: string | null;
6143
5951
  oldId: number | null;
6144
5952
  };
5953
+ 401: "Session not found";
6145
5954
  404: "Хөнгөлөлтийн хэрэглээ олдсонгүй.";
6146
5955
  422: {
6147
5956
  type: "validation";
@@ -6169,7 +5978,7 @@ export declare const app: Elysia<"", {
6169
5978
  query: unknown;
6170
5979
  headers: unknown;
6171
5980
  response: {
6172
- 200: undefined;
5981
+ 401: "Session not found";
6173
5982
  404: "Хөнгөлөлтийн хэрэглээ олдсонгүй.";
6174
5983
  422: {
6175
5984
  type: "validation";
@@ -6193,18 +6002,30 @@ export declare const app: Elysia<"", {
6193
6002
  inspection: {
6194
6003
  ubcab: {
6195
6004
  get: {
6196
- body: unknown;
6005
+ body: {};
6197
6006
  params: {};
6198
6007
  query: {
6199
6008
  licensePlate: string;
6200
6009
  };
6201
- headers: unknown;
6010
+ headers: {};
6202
6011
  response: {
6203
6012
  200: {
6013
+ company: {
6014
+ id: string;
6015
+ name: string;
6016
+ serviceName: string;
6017
+ logoUrl: string;
6018
+ } | null;
6019
+ vehicle: {
6020
+ licensePlate: string | null;
6021
+ vin: string | null;
6022
+ model: string | null;
6023
+ };
6024
+ employee: {
6025
+ firstname: string;
6026
+ lastname: string;
6027
+ } | null;
6204
6028
  inspection: {
6205
- companyId: string;
6206
- branchId: string;
6207
- vehicleId: string;
6208
6029
  inspection: {
6209
6030
  type: string;
6210
6031
  values: {
@@ -6213,27 +6034,9 @@ export declare const app: Elysia<"", {
6213
6034
  answer: string;
6214
6035
  }[];
6215
6036
  }[] | null;
6216
- employeeId: string | null;
6037
+ createdAt: string;
6217
6038
  expireAt: Date;
6218
- experience: string | null;
6219
- rank: string | null;
6220
- licensePlate: string;
6221
- description: string | null;
6222
6039
  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
6040
  };
6238
6041
  }[];
6239
6042
  422: {
@@ -6325,6 +6128,7 @@ export declare const app: Elysia<"", {
6325
6128
  } | null;
6326
6129
  }[];
6327
6130
  };
6131
+ 401: "Session not found";
6328
6132
  422: {
6329
6133
  type: "validation";
6330
6134
  on: string;
@@ -6382,8 +6186,8 @@ export declare const app: Elysia<"", {
6382
6186
  experience: string | null;
6383
6187
  rank: string | null;
6384
6188
  };
6385
- 502: string;
6386
6189
  400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
6190
+ 401: "Session not found";
6387
6191
  422: {
6388
6192
  type: "validation";
6389
6193
  on: string;
@@ -6393,6 +6197,7 @@ export declare const app: Elysia<"", {
6393
6197
  property?: string;
6394
6198
  expected?: string;
6395
6199
  };
6200
+ 502: string;
6396
6201
  };
6397
6202
  };
6398
6203
  };
@@ -6432,6 +6237,7 @@ export declare const app: Elysia<"", {
6432
6237
  deletedAt: string | null;
6433
6238
  oldId: number | null;
6434
6239
  };
6240
+ 401: "Session not found";
6435
6241
  404: "Үзлэг олдсонгүй.";
6436
6242
  422: {
6437
6243
  type: "validation";
@@ -6457,7 +6263,7 @@ export declare const app: Elysia<"", {
6457
6263
  query: unknown;
6458
6264
  headers: unknown;
6459
6265
  response: {
6460
- 200: undefined;
6266
+ 401: "Session not found";
6461
6267
  404: "Үзлэг олдсонгүй.";
6462
6268
  422: {
6463
6269
  type: "validation";
@@ -6508,6 +6314,7 @@ export declare const app: Elysia<"", {
6508
6314
  deletedAt: string | null;
6509
6315
  oldId: number | null;
6510
6316
  };
6317
+ 401: "Session not found";
6511
6318
  404: "Үзлэг олдсонгүй.";
6512
6319
  422: {
6513
6320
  type: "validation";
@@ -6537,10 +6344,9 @@ export declare const app: Elysia<"", {
6537
6344
  200: {
6538
6345
  cpOrderId: string;
6539
6346
  };
6540
- 502: string;
6541
6347
  400: string;
6348
+ 401: "Session not found";
6542
6349
  404: "Үзлэг олдсонгүй.";
6543
- 500: "Алдаа гарлаа. Дахин оролдоно уу.";
6544
6350
  422: {
6545
6351
  type: "validation";
6546
6352
  on: string;
@@ -6550,6 +6356,8 @@ export declare const app: Elysia<"", {
6550
6356
  property?: string;
6551
6357
  expected?: string;
6552
6358
  };
6359
+ 500: "Алдаа гарлаа. Дахин оролдоно уу.";
6360
+ 502: string;
6553
6361
  };
6554
6362
  };
6555
6363
  };
@@ -6654,6 +6462,7 @@ export declare const app: Elysia<"", {
6654
6462
  totalAmount: number;
6655
6463
  paidAmount: number;
6656
6464
  }[];
6465
+ 401: "Session not found";
6657
6466
  422: {
6658
6467
  type: "validation";
6659
6468
  on: string;
@@ -6691,6 +6500,7 @@ export declare const app: Elysia<"", {
6691
6500
  ordersPending: number;
6692
6501
  ordersCancelled: number;
6693
6502
  };
6503
+ 401: "Session not found";
6694
6504
  422: {
6695
6505
  type: "validation";
6696
6506
  on: string;
@@ -6726,6 +6536,7 @@ export declare const app: Elysia<"", {
6726
6536
  totalPaidAmount: number;
6727
6537
  period: string;
6728
6538
  }[];
6539
+ 401: "Session not found";
6729
6540
  422: {
6730
6541
  type: "validation";
6731
6542
  on: string;
@@ -6766,6 +6577,7 @@ export declare const app: Elysia<"", {
6766
6577
  totalRevenue: number;
6767
6578
  totalCommission: number;
6768
6579
  }[];
6580
+ 401: "Session not found";
6769
6581
  422: {
6770
6582
  type: "validation";
6771
6583
  on: string;
@@ -6846,6 +6658,7 @@ export declare const app: Elysia<"", {
6846
6658
  oldId: number | null;
6847
6659
  } | null;
6848
6660
  }[];
6661
+ 401: "Session not found";
6849
6662
  422: {
6850
6663
  type: "validation";
6851
6664
  on: string;
@@ -6878,6 +6691,7 @@ export declare const app: Elysia<"", {
6878
6691
  headers: unknown;
6879
6692
  response: {
6880
6693
  200: string;
6694
+ 401: "Session not found";
6881
6695
  422: {
6882
6696
  type: "validation";
6883
6697
  on: string;
@@ -6908,6 +6722,7 @@ export declare const app: Elysia<"", {
6908
6722
  headers: unknown;
6909
6723
  response: {
6910
6724
  200: string;
6725
+ 401: "Session not found";
6911
6726
  422: {
6912
6727
  type: "validation";
6913
6728
  on: string;
@@ -6940,6 +6755,7 @@ export declare const app: Elysia<"", {
6940
6755
  headers: unknown;
6941
6756
  response: {
6942
6757
  200: string;
6758
+ 401: "Session not found";
6943
6759
  422: {
6944
6760
  type: "validation";
6945
6761
  on: string;
@@ -6975,6 +6791,7 @@ export declare const app: Elysia<"", {
6975
6791
  headers: unknown;
6976
6792
  response: {
6977
6793
  200: string;
6794
+ 401: "Session not found";
6978
6795
  422: {
6979
6796
  type: "validation";
6980
6797
  on: string;
@@ -7009,6 +6826,7 @@ export declare const app: Elysia<"", {
7009
6826
  headers: unknown;
7010
6827
  response: {
7011
6828
  200: string;
6829
+ 401: "Session not found";
7012
6830
  422: {
7013
6831
  type: "validation";
7014
6832
  on: string;
@@ -7032,7 +6850,7 @@ export declare const app: Elysia<"", {
7032
6850
  } & {
7033
6851
  supplier: {
7034
6852
  get: {
7035
- body: unknown;
6853
+ body: {};
7036
6854
  params: {};
7037
6855
  query: {
7038
6856
  name?: string | undefined;
@@ -7043,7 +6861,7 @@ export declare const app: Elysia<"", {
7043
6861
  page: number;
7044
6862
  };
7045
6863
  };
7046
- headers: unknown;
6864
+ headers: {};
7047
6865
  response: {
7048
6866
  200: {
7049
6867
  totalCount: number;
@@ -7060,6 +6878,7 @@ export declare const app: Elysia<"", {
7060
6878
  oldId: number | null;
7061
6879
  }[];
7062
6880
  };
6881
+ 401: "Session not found";
7063
6882
  422: {
7064
6883
  type: "validation";
7065
6884
  on: string;
@@ -7162,7 +6981,6 @@ export declare const app: Elysia<"", {
7162
6981
  query: unknown;
7163
6982
  headers: unknown;
7164
6983
  response: {
7165
- 200: void;
7166
6984
  422: {
7167
6985
  type: "validation";
7168
6986
  on: string;
@@ -7231,6 +7049,7 @@ export declare const app: Elysia<"", {
7231
7049
  totalCount: number;
7232
7050
  }, "totalCount">[];
7233
7051
  };
7052
+ 401: "Session not found";
7234
7053
  422: {
7235
7054
  type: "validation";
7236
7055
  on: string;
@@ -7260,8 +7079,8 @@ export declare const app: Elysia<"", {
7260
7079
  params: {
7261
7080
  id: string;
7262
7081
  };
7263
- query: unknown;
7264
- headers: unknown;
7082
+ query: {};
7083
+ headers: {};
7265
7084
  response: {
7266
7085
  200: {
7267
7086
  vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
@@ -7277,6 +7096,7 @@ export declare const app: Elysia<"", {
7277
7096
  deletedAt: string | null;
7278
7097
  oldId: number | null;
7279
7098
  };
7099
+ 401: "Session not found";
7280
7100
  404: "Vehicle kind not found";
7281
7101
  422: {
7282
7102
  type: "validation";
@@ -7302,10 +7122,12 @@ export declare const app: Elysia<"", {
7302
7122
  resolve: {};
7303
7123
  schema: {};
7304
7124
  standaloneSchema: {};
7125
+ response: {};
7305
7126
  }, {
7306
7127
  derive: {};
7307
7128
  resolve: {};
7308
7129
  schema: {};
7309
7130
  standaloneSchema: {};
7131
+ response: {};
7310
7132
  }>;
7311
7133
  export type App = typeof app;