autosync_backend2 1.2.2 → 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.
- package/dist/index.d.ts +369 -550
- package/dist/index.js +17416 -16139
- 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:
|
29
|
+
params: {};
|
37
30
|
headers: Record<string, string | undefined>;
|
38
|
-
cookie: Record<string, import("elysia").Cookie<
|
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 |
|
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:
|
199
|
+
params: {};
|
328
200
|
headers: Record<string, string | undefined>;
|
329
|
-
cookie: Record<string, import("elysia").Cookie<
|
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,7 +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 |
|
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 ? {
|
343
215
|
readonly 100: "Continue";
|
344
216
|
readonly 101: "Switching Protocols";
|
345
217
|
readonly 102: "Processing";
|
@@ -379,6 +251,7 @@ export declare const app: Elysia<"", {
|
|
379
251
|
readonly 416: "Range Not Satisfiable";
|
380
252
|
readonly 417: "Expectation Failed";
|
381
253
|
readonly 418: "I'm a teapot";
|
254
|
+
readonly 420: "Enhance Your Calm";
|
382
255
|
readonly 421: "Misdirected Request";
|
383
256
|
readonly 422: "Unprocessable Content";
|
384
257
|
readonly 423: "Locked";
|
@@ -400,7 +273,7 @@ export declare const app: Elysia<"", {
|
|
400
273
|
readonly 508: "Loop Detected";
|
401
274
|
readonly 510: "Not Extended";
|
402
275
|
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" ? {
|
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" ? {
|
404
277
|
readonly Continue: 100;
|
405
278
|
readonly "Switching Protocols": 101;
|
406
279
|
readonly Processing: 102;
|
@@ -440,6 +313,7 @@ export declare const app: Elysia<"", {
|
|
440
313
|
readonly "Range Not Satisfiable": 416;
|
441
314
|
readonly "Expectation Failed": 417;
|
442
315
|
readonly "I'm a teapot": 418;
|
316
|
+
readonly "Enhance Your Calm": 420;
|
443
317
|
readonly "Misdirected Request": 421;
|
444
318
|
readonly "Unprocessable Content": 422;
|
445
319
|
readonly Locked: 423;
|
@@ -462,130 +336,7 @@ export declare const app: Elysia<"", {
|
|
462
336
|
readonly "Not Extended": 510;
|
463
337
|
readonly "Network Authentication Required": 511;
|
464
338
|
}[Code] : Code>;
|
465
|
-
|
466
|
-
readonly 100: "Continue";
|
467
|
-
readonly 101: "Switching Protocols";
|
468
|
-
readonly 102: "Processing";
|
469
|
-
readonly 103: "Early Hints";
|
470
|
-
readonly 200: "OK";
|
471
|
-
readonly 201: "Created";
|
472
|
-
readonly 202: "Accepted";
|
473
|
-
readonly 203: "Non-Authoritative Information";
|
474
|
-
readonly 204: "No Content";
|
475
|
-
readonly 205: "Reset Content";
|
476
|
-
readonly 206: "Partial Content";
|
477
|
-
readonly 207: "Multi-Status";
|
478
|
-
readonly 208: "Already Reported";
|
479
|
-
readonly 300: "Multiple Choices";
|
480
|
-
readonly 301: "Moved Permanently";
|
481
|
-
readonly 302: "Found";
|
482
|
-
readonly 303: "See Other";
|
483
|
-
readonly 304: "Not Modified";
|
484
|
-
readonly 307: "Temporary Redirect";
|
485
|
-
readonly 308: "Permanent Redirect";
|
486
|
-
readonly 400: "Bad Request";
|
487
|
-
readonly 401: "Unauthorized";
|
488
|
-
readonly 402: "Payment Required";
|
489
|
-
readonly 403: "Forbidden";
|
490
|
-
readonly 404: "Not Found";
|
491
|
-
readonly 405: "Method Not Allowed";
|
492
|
-
readonly 406: "Not Acceptable";
|
493
|
-
readonly 407: "Proxy Authentication Required";
|
494
|
-
readonly 408: "Request Timeout";
|
495
|
-
readonly 409: "Conflict";
|
496
|
-
readonly 410: "Gone";
|
497
|
-
readonly 411: "Length Required";
|
498
|
-
readonly 412: "Precondition Failed";
|
499
|
-
readonly 413: "Payload Too Large";
|
500
|
-
readonly 414: "URI Too Long";
|
501
|
-
readonly 415: "Unsupported Media Type";
|
502
|
-
readonly 416: "Range Not Satisfiable";
|
503
|
-
readonly 417: "Expectation Failed";
|
504
|
-
readonly 418: "I'm a teapot";
|
505
|
-
readonly 421: "Misdirected Request";
|
506
|
-
readonly 422: "Unprocessable Content";
|
507
|
-
readonly 423: "Locked";
|
508
|
-
readonly 424: "Failed Dependency";
|
509
|
-
readonly 425: "Too Early";
|
510
|
-
readonly 426: "Upgrade Required";
|
511
|
-
readonly 428: "Precondition Required";
|
512
|
-
readonly 429: "Too Many Requests";
|
513
|
-
readonly 431: "Request Header Fields Too Large";
|
514
|
-
readonly 451: "Unavailable For Legal Reasons";
|
515
|
-
readonly 500: "Internal Server Error";
|
516
|
-
readonly 501: "Not Implemented";
|
517
|
-
readonly 502: "Bad Gateway";
|
518
|
-
readonly 503: "Service Unavailable";
|
519
|
-
readonly 504: "Gateway Timeout";
|
520
|
-
readonly 505: "HTTP Version Not Supported";
|
521
|
-
readonly 506: "Variant Also Negotiates";
|
522
|
-
readonly 507: "Insufficient Storage";
|
523
|
-
readonly 508: "Loop Detected";
|
524
|
-
readonly 510: "Not Extended";
|
525
|
-
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" ? {
|
527
|
-
readonly Continue: 100;
|
528
|
-
readonly "Switching Protocols": 101;
|
529
|
-
readonly Processing: 102;
|
530
|
-
readonly "Early Hints": 103;
|
531
|
-
readonly OK: 200;
|
532
|
-
readonly Created: 201;
|
533
|
-
readonly Accepted: 202;
|
534
|
-
readonly "Non-Authoritative Information": 203;
|
535
|
-
readonly "No Content": 204;
|
536
|
-
readonly "Reset Content": 205;
|
537
|
-
readonly "Partial Content": 206;
|
538
|
-
readonly "Multi-Status": 207;
|
539
|
-
readonly "Already Reported": 208;
|
540
|
-
readonly "Multiple Choices": 300;
|
541
|
-
readonly "Moved Permanently": 301;
|
542
|
-
readonly Found: 302;
|
543
|
-
readonly "See Other": 303;
|
544
|
-
readonly "Not Modified": 304;
|
545
|
-
readonly "Temporary Redirect": 307;
|
546
|
-
readonly "Permanent Redirect": 308;
|
547
|
-
readonly "Bad Request": 400;
|
548
|
-
readonly Unauthorized: 401;
|
549
|
-
readonly "Payment Required": 402;
|
550
|
-
readonly Forbidden: 403;
|
551
|
-
readonly "Not Found": 404;
|
552
|
-
readonly "Method Not Allowed": 405;
|
553
|
-
readonly "Not Acceptable": 406;
|
554
|
-
readonly "Proxy Authentication Required": 407;
|
555
|
-
readonly "Request Timeout": 408;
|
556
|
-
readonly Conflict: 409;
|
557
|
-
readonly Gone: 410;
|
558
|
-
readonly "Length Required": 411;
|
559
|
-
readonly "Precondition Failed": 412;
|
560
|
-
readonly "Payload Too Large": 413;
|
561
|
-
readonly "URI Too Long": 414;
|
562
|
-
readonly "Unsupported Media Type": 415;
|
563
|
-
readonly "Range Not Satisfiable": 416;
|
564
|
-
readonly "Expectation Failed": 417;
|
565
|
-
readonly "I'm a teapot": 418;
|
566
|
-
readonly "Misdirected Request": 421;
|
567
|
-
readonly "Unprocessable Content": 422;
|
568
|
-
readonly Locked: 423;
|
569
|
-
readonly "Failed Dependency": 424;
|
570
|
-
readonly "Too Early": 425;
|
571
|
-
readonly "Upgrade Required": 426;
|
572
|
-
readonly "Precondition Required": 428;
|
573
|
-
readonly "Too Many Requests": 429;
|
574
|
-
readonly "Request Header Fields Too Large": 431;
|
575
|
-
readonly "Unavailable For Legal Reasons": 451;
|
576
|
-
readonly "Internal Server Error": 500;
|
577
|
-
readonly "Not Implemented": 501;
|
578
|
-
readonly "Bad Gateway": 502;
|
579
|
-
readonly "Service Unavailable": 503;
|
580
|
-
readonly "Gateway Timeout": 504;
|
581
|
-
readonly "HTTP Version Not Supported": 505;
|
582
|
-
readonly "Variant Also Negotiates": 506;
|
583
|
-
readonly "Insufficient Storage": 507;
|
584
|
-
readonly "Loop Detected": 508;
|
585
|
-
readonly "Not Extended": 510;
|
586
|
-
readonly "Network Authentication Required": 511;
|
587
|
-
}[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:
|
369
|
+
params: {};
|
619
370
|
headers: Record<string, string | undefined>;
|
620
|
-
cookie: Record<string, import("elysia").Cookie<
|
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 |
|
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
|
-
|
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:
|
932
|
-
headers:
|
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:
|
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:
|
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:
|
1839
|
-
headers:
|
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:
|
1909
|
-
headers:
|
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:
|
1618
|
+
body: {};
|
1956
1619
|
params: {
|
1957
1620
|
id: string;
|
1958
1621
|
};
|
1959
|
-
query:
|
1960
|
-
headers:
|
1622
|
+
query: {};
|
1623
|
+
headers: {};
|
1961
1624
|
response: {
|
1962
|
-
|
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:
|
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:
|
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:
|
2080
|
-
headers:
|
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:
|
2144
|
-
headers:
|
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:
|
1853
|
+
body: {};
|
2188
1854
|
params: {
|
2189
1855
|
id: string;
|
2190
1856
|
};
|
2191
|
-
query:
|
2192
|
-
headers:
|
1857
|
+
query: {};
|
1858
|
+
headers: {};
|
2193
1859
|
response: {
|
2194
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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:
|
2754
|
-
headers:
|
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:
|
2794
|
-
headers:
|
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:
|
2503
|
+
body: {};
|
2826
2504
|
params: {
|
2827
2505
|
id: string;
|
2828
2506
|
};
|
2829
|
-
query:
|
2830
|
-
headers:
|
2507
|
+
query: {};
|
2508
|
+
headers: {};
|
2831
2509
|
response: {
|
2832
|
-
|
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:
|
2533
|
+
body: {};
|
2854
2534
|
params: {};
|
2855
|
-
query:
|
2856
|
-
headers:
|
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:
|
2873
|
-
headers:
|
2555
|
+
query: {};
|
2556
|
+
headers: {};
|
2874
2557
|
response: {
|
2875
|
-
|
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
|
-
|
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:
|
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:
|
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:
|
3149
|
-
headers:
|
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
|
-
|
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,23 +2890,10 @@ export declare const app: Elysia<"", {
|
|
3193
2890
|
params: {
|
3194
2891
|
id: string;
|
3195
2892
|
};
|
3196
|
-
query:
|
3197
|
-
headers:
|
2893
|
+
query: {};
|
2894
|
+
headers: {};
|
3198
2895
|
response: {
|
3199
|
-
|
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
|
-
};
|
3212
|
-
404: "Хэрэглэгч олдсонгүй.";
|
2896
|
+
401: "Session not found";
|
3213
2897
|
422: {
|
3214
2898
|
type: "validation";
|
3215
2899
|
on: string;
|
@@ -3254,6 +2938,7 @@ export declare const app: Elysia<"", {
|
|
3254
2938
|
deletedAt: string | null;
|
3255
2939
|
oldId: number | null;
|
3256
2940
|
}[];
|
2941
|
+
401: "Session not found";
|
3257
2942
|
422: {
|
3258
2943
|
type: "validation";
|
3259
2944
|
on: string;
|
@@ -3290,6 +2975,7 @@ export declare const app: Elysia<"", {
|
|
3290
2975
|
amount: number;
|
3291
2976
|
};
|
3292
2977
|
400: "Энэ үйлчилгээнд ажилтан аль хэдийн хуваарилагдсан байна.";
|
2978
|
+
401: "Session not found";
|
3293
2979
|
422: {
|
3294
2980
|
type: "validation";
|
3295
2981
|
on: string;
|
@@ -3325,6 +3011,7 @@ export declare const app: Elysia<"", {
|
|
3325
3011
|
deletedAt: string | null;
|
3326
3012
|
oldId: number | null;
|
3327
3013
|
};
|
3014
|
+
401: "Session not found";
|
3328
3015
|
404: "Ажилтны мэдээлэл олдсонгүй.";
|
3329
3016
|
422: {
|
3330
3017
|
type: "validation";
|
@@ -3353,6 +3040,7 @@ export declare const app: Elysia<"", {
|
|
3353
3040
|
200: {
|
3354
3041
|
id: string;
|
3355
3042
|
};
|
3043
|
+
401: "Session not found";
|
3356
3044
|
404: "Ажилтны мэдээлэл олдсонгүй.";
|
3357
3045
|
422: {
|
3358
3046
|
type: "validation";
|
@@ -3428,6 +3116,7 @@ export declare const app: Elysia<"", {
|
|
3428
3116
|
priceUnit: number;
|
3429
3117
|
priceTotal: number;
|
3430
3118
|
name: string | null;
|
3119
|
+
description: string | null;
|
3431
3120
|
id: string;
|
3432
3121
|
createdAt: string;
|
3433
3122
|
updatedAt: string;
|
@@ -3470,6 +3159,7 @@ export declare const app: Elysia<"", {
|
|
3470
3159
|
amount: number;
|
3471
3160
|
}[];
|
3472
3161
|
})[];
|
3162
|
+
401: "Session not found";
|
3473
3163
|
422: {
|
3474
3164
|
type: "validation";
|
3475
3165
|
on: string;
|
@@ -3505,6 +3195,7 @@ export declare const app: Elysia<"", {
|
|
3505
3195
|
updatedAt: string;
|
3506
3196
|
deletedAt: string | null;
|
3507
3197
|
oldId: number | null;
|
3198
|
+
description: string | null;
|
3508
3199
|
priceTotal: number;
|
3509
3200
|
quantity: number;
|
3510
3201
|
priceUnit: number;
|
@@ -3513,8 +3204,9 @@ export declare const app: Elysia<"", {
|
|
3513
3204
|
companyServiceKindId: string | null;
|
3514
3205
|
cpOrderSpPackageId: string | null;
|
3515
3206
|
};
|
3516
|
-
404: "Бараа олдсонгүй." | "Үйлчилгээний төрөл олдсонгүй.";
|
3517
3207
|
400: "Үйлчилгээний төрөл эсвэл бараа сонгоно уу.";
|
3208
|
+
401: "Session not found";
|
3209
|
+
404: "Бараа олдсонгүй." | "Үйлчилгээний төрөл олдсонгүй.";
|
3518
3210
|
422: {
|
3519
3211
|
type: "validation";
|
3520
3212
|
on: string;
|
@@ -3550,12 +3242,14 @@ export declare const app: Elysia<"", {
|
|
3550
3242
|
priceUnit: number;
|
3551
3243
|
priceTotal: number;
|
3552
3244
|
name: string | null;
|
3245
|
+
description: string | null;
|
3553
3246
|
id: string;
|
3554
3247
|
createdAt: string;
|
3555
3248
|
updatedAt: string;
|
3556
3249
|
deletedAt: string | null;
|
3557
3250
|
oldId: number | null;
|
3558
3251
|
};
|
3252
|
+
401: "Session not found";
|
3559
3253
|
404: "Үйлчилгээ олдсонгүй.";
|
3560
3254
|
422: {
|
3561
3255
|
type: "validation";
|
@@ -3584,6 +3278,7 @@ export declare const app: Elysia<"", {
|
|
3584
3278
|
200: {
|
3585
3279
|
cpOrderId: string;
|
3586
3280
|
};
|
3281
|
+
401: "Session not found";
|
3587
3282
|
404: "Үйлчилгээ олдсонгүй.";
|
3588
3283
|
422: {
|
3589
3284
|
type: "validation";
|
@@ -3613,8 +3308,18 @@ export declare const app: Elysia<"", {
|
|
3613
3308
|
query: {
|
3614
3309
|
paymentId: string;
|
3615
3310
|
};
|
3616
|
-
headers:
|
3617
|
-
response:
|
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
|
+
};
|
3618
3323
|
};
|
3619
3324
|
};
|
3620
3325
|
};
|
@@ -3631,8 +3336,8 @@ export declare const app: Elysia<"", {
|
|
3631
3336
|
paymentChannel: string;
|
3632
3337
|
};
|
3633
3338
|
params: {};
|
3634
|
-
query:
|
3635
|
-
headers:
|
3339
|
+
query: {};
|
3340
|
+
headers: {};
|
3636
3341
|
response: {
|
3637
3342
|
200: {
|
3638
3343
|
id: string;
|
@@ -3648,6 +3353,7 @@ export declare const app: Elysia<"", {
|
|
3648
3353
|
paymentChannel: string;
|
3649
3354
|
invoiceNumber: string | null;
|
3650
3355
|
};
|
3356
|
+
401: "Session not found";
|
3651
3357
|
422: {
|
3652
3358
|
type: "validation";
|
3653
3359
|
on: string;
|
@@ -3664,14 +3370,14 @@ export declare const app: Elysia<"", {
|
|
3664
3370
|
payment: {
|
3665
3371
|
":id": {
|
3666
3372
|
delete: {
|
3667
|
-
body:
|
3373
|
+
body: {};
|
3668
3374
|
params: {
|
3669
3375
|
id: string;
|
3670
3376
|
};
|
3671
|
-
query:
|
3672
|
-
headers:
|
3377
|
+
query: {};
|
3378
|
+
headers: {};
|
3673
3379
|
response: {
|
3674
|
-
|
3380
|
+
401: "Session not found";
|
3675
3381
|
422: {
|
3676
3382
|
type: "validation";
|
3677
3383
|
on: string;
|
@@ -3697,8 +3403,8 @@ export declare const app: Elysia<"", {
|
|
3697
3403
|
amount: number;
|
3698
3404
|
};
|
3699
3405
|
params: {};
|
3700
|
-
query:
|
3701
|
-
headers:
|
3406
|
+
query: {};
|
3407
|
+
headers: {};
|
3702
3408
|
response: {
|
3703
3409
|
200: {
|
3704
3410
|
id: string;
|
@@ -3714,9 +3420,9 @@ export declare const app: Elysia<"", {
|
|
3714
3420
|
paymentChannel: string;
|
3715
3421
|
invoiceNumber: string | null;
|
3716
3422
|
};
|
3717
|
-
404: "Төлбөрийн тохиргоо олдсонгүй.";
|
3718
3423
|
400: string;
|
3719
|
-
|
3424
|
+
401: "Session not found";
|
3425
|
+
404: "Төлбөрийн тохиргоо олдсонгүй.";
|
3720
3426
|
422: {
|
3721
3427
|
type: "validation";
|
3722
3428
|
on: string;
|
@@ -3726,6 +3432,7 @@ export declare const app: Elysia<"", {
|
|
3726
3432
|
property?: string;
|
3727
3433
|
expected?: string;
|
3728
3434
|
};
|
3435
|
+
500: "Сервер алдаа гарлаа";
|
3729
3436
|
};
|
3730
3437
|
};
|
3731
3438
|
};
|
@@ -3742,10 +3449,8 @@ export declare const app: Elysia<"", {
|
|
3742
3449
|
query: unknown;
|
3743
3450
|
headers: unknown;
|
3744
3451
|
response: {
|
3745
|
-
200: undefined;
|
3746
|
-
404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
|
3747
3452
|
400: string;
|
3748
|
-
|
3453
|
+
404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
|
3749
3454
|
422: {
|
3750
3455
|
type: "validation";
|
3751
3456
|
on: string;
|
@@ -3755,6 +3460,7 @@ export declare const app: Elysia<"", {
|
|
3755
3460
|
property?: string;
|
3756
3461
|
expected?: string;
|
3757
3462
|
};
|
3463
|
+
500: "Сервер алдаа гарлаа";
|
3758
3464
|
};
|
3759
3465
|
};
|
3760
3466
|
};
|
@@ -3774,8 +3480,8 @@ export declare const app: Elysia<"", {
|
|
3774
3480
|
paymentChannel: string;
|
3775
3481
|
};
|
3776
3482
|
params: {};
|
3777
|
-
query:
|
3778
|
-
headers:
|
3483
|
+
query: {};
|
3484
|
+
headers: {};
|
3779
3485
|
response: {
|
3780
3486
|
200: {
|
3781
3487
|
qrCode: string;
|
@@ -3792,9 +3498,9 @@ export declare const app: Elysia<"", {
|
|
3792
3498
|
paymentChannel: string;
|
3793
3499
|
invoiceNumber: string | null;
|
3794
3500
|
};
|
3795
|
-
404: "Төлбөрийн тохиргоо олдсонгүй.";
|
3796
3501
|
400: string;
|
3797
|
-
|
3502
|
+
401: "Session not found";
|
3503
|
+
404: "Төлбөрийн тохиргоо олдсонгүй.";
|
3798
3504
|
422: {
|
3799
3505
|
type: "validation";
|
3800
3506
|
on: string;
|
@@ -3804,6 +3510,7 @@ export declare const app: Elysia<"", {
|
|
3804
3510
|
property?: string;
|
3805
3511
|
expected?: string;
|
3806
3512
|
};
|
3513
|
+
500: "Сервер алдаа гарлаа";
|
3807
3514
|
};
|
3808
3515
|
};
|
3809
3516
|
};
|
@@ -3820,10 +3527,8 @@ export declare const app: Elysia<"", {
|
|
3820
3527
|
query: unknown;
|
3821
3528
|
headers: unknown;
|
3822
3529
|
response: {
|
3823
|
-
200: undefined;
|
3824
|
-
404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
|
3825
3530
|
400: string;
|
3826
|
-
|
3531
|
+
404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
|
3827
3532
|
422: {
|
3828
3533
|
type: "validation";
|
3829
3534
|
on: string;
|
@@ -3833,6 +3538,7 @@ export declare const app: Elysia<"", {
|
|
3833
3538
|
property?: string;
|
3834
3539
|
expected?: string;
|
3835
3540
|
};
|
3541
|
+
500: "Сервер алдаа гарлаа";
|
3836
3542
|
};
|
3837
3543
|
};
|
3838
3544
|
};
|
@@ -3850,10 +3556,8 @@ export declare const app: Elysia<"", {
|
|
3850
3556
|
query: unknown;
|
3851
3557
|
headers: unknown;
|
3852
3558
|
response: {
|
3853
|
-
200: undefined;
|
3854
|
-
404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
|
3855
3559
|
400: string;
|
3856
|
-
|
3560
|
+
404: "Төлбөрийн тохиргоо олдсонгүй." | "Төлбөрийн мэдээлэл олдсонгүй.";
|
3857
3561
|
422: {
|
3858
3562
|
type: "validation";
|
3859
3563
|
on: string;
|
@@ -3863,6 +3567,7 @@ export declare const app: Elysia<"", {
|
|
3863
3567
|
property?: string;
|
3864
3568
|
expected?: string;
|
3865
3569
|
};
|
3570
|
+
500: "Сервер алдаа гарлаа";
|
3866
3571
|
};
|
3867
3572
|
};
|
3868
3573
|
};
|
@@ -3882,8 +3587,8 @@ export declare const app: Elysia<"", {
|
|
3882
3587
|
paymentChannel: string;
|
3883
3588
|
};
|
3884
3589
|
params: {};
|
3885
|
-
query:
|
3886
|
-
headers:
|
3590
|
+
query: {};
|
3591
|
+
headers: {};
|
3887
3592
|
response: {
|
3888
3593
|
200: {
|
3889
3594
|
qrCode: string;
|
@@ -3900,9 +3605,9 @@ export declare const app: Elysia<"", {
|
|
3900
3605
|
paymentChannel: string;
|
3901
3606
|
invoiceNumber: string | null;
|
3902
3607
|
};
|
3903
|
-
404: "Төлбөрийн тохиргоо олдсонгүй.";
|
3904
3608
|
400: string;
|
3905
|
-
|
3609
|
+
401: "Session not found";
|
3610
|
+
404: "Төлбөрийн тохиргоо олдсонгүй.";
|
3906
3611
|
422: {
|
3907
3612
|
type: "validation";
|
3908
3613
|
on: string;
|
@@ -3912,6 +3617,7 @@ export declare const app: Elysia<"", {
|
|
3912
3617
|
property?: string;
|
3913
3618
|
expected?: string;
|
3914
3619
|
};
|
3620
|
+
500: "Сервер алдаа гарлаа";
|
3915
3621
|
};
|
3916
3622
|
};
|
3917
3623
|
};
|
@@ -4075,7 +3781,6 @@ export declare const app: Elysia<"", {
|
|
4075
3781
|
query: unknown;
|
4076
3782
|
headers: unknown;
|
4077
3783
|
response: {
|
4078
|
-
200: void;
|
4079
3784
|
422: {
|
4080
3785
|
type: "validation";
|
4081
3786
|
on: string;
|
@@ -4207,6 +3912,7 @@ export declare const app: Elysia<"", {
|
|
4207
3912
|
isDeleteAble: boolean;
|
4208
3913
|
}[];
|
4209
3914
|
};
|
3915
|
+
401: "Session not found";
|
4210
3916
|
422: {
|
4211
3917
|
type: "validation";
|
4212
3918
|
on: string;
|
@@ -4324,8 +4030,8 @@ export declare const app: Elysia<"", {
|
|
4324
4030
|
isDeleteAble: boolean;
|
4325
4031
|
}[];
|
4326
4032
|
};
|
4327
|
-
502: string;
|
4328
4033
|
400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
|
4034
|
+
401: "Session not found";
|
4329
4035
|
422: {
|
4330
4036
|
type: "validation";
|
4331
4037
|
on: string;
|
@@ -4335,6 +4041,7 @@ export declare const app: Elysia<"", {
|
|
4335
4041
|
property?: string;
|
4336
4042
|
expected?: string;
|
4337
4043
|
};
|
4044
|
+
502: string;
|
4338
4045
|
};
|
4339
4046
|
};
|
4340
4047
|
};
|
@@ -4364,6 +4071,7 @@ export declare const app: Elysia<"", {
|
|
4364
4071
|
state: "CREATED" | "PROGRESSING" | "COMPLETE";
|
4365
4072
|
timeCompleted: string | null;
|
4366
4073
|
};
|
4074
|
+
401: "Session not found";
|
4367
4075
|
};
|
4368
4076
|
};
|
4369
4077
|
};
|
@@ -4381,9 +4089,9 @@ export declare const app: Elysia<"", {
|
|
4381
4089
|
query: unknown;
|
4382
4090
|
headers: unknown;
|
4383
4091
|
response: {
|
4384
|
-
200: undefined;
|
4385
|
-
404: "Багцийн үйлчилгээ олдсонгүй." | "Засвар үйлчилгээ олдсонгүй.";
|
4386
4092
|
400: "Суурь багцад бараа эсвэл үйлчилгээ байхгүй байна.";
|
4093
|
+
401: "Session not found";
|
4094
|
+
404: "Багцийн үйлчилгээ олдсонгүй." | "Засвар үйлчилгээ олдсонгүй.";
|
4387
4095
|
422: {
|
4388
4096
|
type: "validation";
|
4389
4097
|
on: string;
|
@@ -4426,6 +4134,7 @@ export declare const app: Elysia<"", {
|
|
4426
4134
|
deletedAt: string | null;
|
4427
4135
|
oldId: number | null;
|
4428
4136
|
};
|
4137
|
+
401: "Session not found";
|
4429
4138
|
404: "Засвар үйлчилгээ олдсонгүй.";
|
4430
4139
|
422: {
|
4431
4140
|
type: "validation";
|
@@ -4480,6 +4189,7 @@ export declare const app: Elysia<"", {
|
|
4480
4189
|
deletedAt: string | null;
|
4481
4190
|
oldId: number | null;
|
4482
4191
|
};
|
4192
|
+
401: "Session not found";
|
4483
4193
|
404: "Засвар үйлчилгээ олдсонгүй.";
|
4484
4194
|
422: {
|
4485
4195
|
type: "validation";
|
@@ -4505,9 +4215,9 @@ export declare const app: Elysia<"", {
|
|
4505
4215
|
query: unknown;
|
4506
4216
|
headers: unknown;
|
4507
4217
|
response: {
|
4508
|
-
200: undefined;
|
4509
|
-
404: "Засвар үйлчилгээ олдсонгүй.";
|
4510
4218
|
400: "Үйлчилгээ хоосон биш байна.";
|
4219
|
+
401: "Session not found";
|
4220
|
+
404: "Засвар үйлчилгээ олдсонгүй.";
|
4511
4221
|
422: {
|
4512
4222
|
type: "validation";
|
4513
4223
|
on: string;
|
@@ -4584,6 +4294,7 @@ export declare const app: Elysia<"", {
|
|
4584
4294
|
} | null;
|
4585
4295
|
}[];
|
4586
4296
|
};
|
4297
|
+
401: "Session not found";
|
4587
4298
|
422: {
|
4588
4299
|
type: "validation";
|
4589
4300
|
on: string;
|
@@ -4641,6 +4352,7 @@ export declare const app: Elysia<"", {
|
|
4641
4352
|
deletedAt: string | null;
|
4642
4353
|
oldId: number | null;
|
4643
4354
|
}[];
|
4355
|
+
401: "Session not found";
|
4644
4356
|
422: {
|
4645
4357
|
type: "validation";
|
4646
4358
|
on: string;
|
@@ -4680,6 +4392,7 @@ export declare const app: Elysia<"", {
|
|
4680
4392
|
quantity: number;
|
4681
4393
|
priceUnit: number;
|
4682
4394
|
};
|
4395
|
+
401: "Session not found";
|
4683
4396
|
422: {
|
4684
4397
|
type: "validation";
|
4685
4398
|
on: string;
|
@@ -4708,8 +4421,8 @@ export declare const app: Elysia<"", {
|
|
4708
4421
|
query: unknown;
|
4709
4422
|
headers: unknown;
|
4710
4423
|
response: {
|
4711
|
-
200: undefined;
|
4712
4424
|
400: "Үйлчилгээ оруулах мэдээлэл байхгүй байна.";
|
4425
|
+
401: "Session not found";
|
4713
4426
|
422: {
|
4714
4427
|
type: "validation";
|
4715
4428
|
on: string;
|
@@ -4753,6 +4466,7 @@ export declare const app: Elysia<"", {
|
|
4753
4466
|
deletedAt: string | null;
|
4754
4467
|
oldId: number | null;
|
4755
4468
|
};
|
4469
|
+
401: "Session not found";
|
4756
4470
|
404: "Үйлчилгээ олдсонгүй.";
|
4757
4471
|
422: {
|
4758
4472
|
type: "validation";
|
@@ -4778,7 +4492,7 @@ export declare const app: Elysia<"", {
|
|
4778
4492
|
query: unknown;
|
4779
4493
|
headers: unknown;
|
4780
4494
|
response: {
|
4781
|
-
|
4495
|
+
401: "Session not found";
|
4782
4496
|
422: {
|
4783
4497
|
type: "validation";
|
4784
4498
|
on: string;
|
@@ -4837,6 +4551,7 @@ export declare const app: Elysia<"", {
|
|
4837
4551
|
deletedAt: string | null;
|
4838
4552
|
oldId: number | null;
|
4839
4553
|
}[];
|
4554
|
+
401: "Session not found";
|
4840
4555
|
422: {
|
4841
4556
|
type: "validation";
|
4842
4557
|
on: string;
|
@@ -4875,6 +4590,7 @@ export declare const app: Elysia<"", {
|
|
4875
4590
|
priceUnit: number;
|
4876
4591
|
companyProductId: string;
|
4877
4592
|
};
|
4593
|
+
401: "Session not found";
|
4878
4594
|
422: {
|
4879
4595
|
type: "validation";
|
4880
4596
|
on: string;
|
@@ -4902,8 +4618,8 @@ export declare const app: Elysia<"", {
|
|
4902
4618
|
query: unknown;
|
4903
4619
|
headers: unknown;
|
4904
4620
|
response: {
|
4905
|
-
200: undefined;
|
4906
4621
|
400: "Бүтээгдэхүүн оруулах мэдээлэл байхгүй байна.";
|
4622
|
+
401: "Session not found";
|
4907
4623
|
422: {
|
4908
4624
|
type: "validation";
|
4909
4625
|
on: string;
|
@@ -4947,6 +4663,7 @@ export declare const app: Elysia<"", {
|
|
4947
4663
|
deletedAt: string | null;
|
4948
4664
|
oldId: number | null;
|
4949
4665
|
};
|
4666
|
+
401: "Session not found";
|
4950
4667
|
404: "Үйлчилгээний багцын бүтээгдэхүүн олдсонгүй.";
|
4951
4668
|
422: {
|
4952
4669
|
type: "validation";
|
@@ -4972,7 +4689,7 @@ export declare const app: Elysia<"", {
|
|
4972
4689
|
query: unknown;
|
4973
4690
|
headers: unknown;
|
4974
4691
|
response: {
|
4975
|
-
|
4692
|
+
401: "Session not found";
|
4976
4693
|
422: {
|
4977
4694
|
type: "validation";
|
4978
4695
|
on: string;
|
@@ -5042,6 +4759,7 @@ export declare const app: Elysia<"", {
|
|
5042
4759
|
oldId: number | null;
|
5043
4760
|
}[];
|
5044
4761
|
};
|
4762
|
+
401: "Session not found";
|
5045
4763
|
422: {
|
5046
4764
|
type: "validation";
|
5047
4765
|
on: string;
|
@@ -5080,6 +4798,7 @@ export declare const app: Elysia<"", {
|
|
5080
4798
|
companyBranchId: string | null;
|
5081
4799
|
priceTotal: number;
|
5082
4800
|
};
|
4801
|
+
401: "Session not found";
|
5083
4802
|
422: {
|
5084
4803
|
type: "validation";
|
5085
4804
|
on: string;
|
@@ -5121,6 +4840,7 @@ export declare const app: Elysia<"", {
|
|
5121
4840
|
deletedAt: string | null;
|
5122
4841
|
oldId: number | null;
|
5123
4842
|
};
|
4843
|
+
401: "Session not found";
|
5124
4844
|
404: "Багцийн үйлчилгээ олдсонгүй.";
|
5125
4845
|
422: {
|
5126
4846
|
type: "validation";
|
@@ -5146,7 +4866,7 @@ export declare const app: Elysia<"", {
|
|
5146
4866
|
query: unknown;
|
5147
4867
|
headers: unknown;
|
5148
4868
|
response: {
|
5149
|
-
|
4869
|
+
401: "Session not found";
|
5150
4870
|
422: {
|
5151
4871
|
type: "validation";
|
5152
4872
|
on: string;
|
@@ -5183,11 +4903,10 @@ export declare const app: Elysia<"", {
|
|
5183
4903
|
color_name: string;
|
5184
4904
|
engine_model_name: string;
|
5185
4905
|
fuel_type_name: string;
|
5186
|
-
capacity?: string
|
4906
|
+
capacity?: string;
|
5187
4907
|
owner_id: string;
|
5188
4908
|
borrower_id: null;
|
5189
4909
|
};
|
5190
|
-
502: string;
|
5191
4910
|
422: {
|
5192
4911
|
type: "validation";
|
5193
4912
|
on: string;
|
@@ -5197,11 +4916,73 @@ export declare const app: Elysia<"", {
|
|
5197
4916
|
property?: string;
|
5198
4917
|
expected?: string;
|
5199
4918
|
};
|
4919
|
+
502: string;
|
5200
4920
|
};
|
5201
4921
|
};
|
5202
|
-
}
|
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: {
|
5203
4982
|
fleet: {};
|
5204
|
-
}
|
4983
|
+
};
|
4984
|
+
} & {
|
4985
|
+
vehicle: {
|
5205
4986
|
fleet: {
|
5206
4987
|
get: {
|
5207
4988
|
body: unknown;
|
@@ -5276,6 +5057,7 @@ export declare const app: Elysia<"", {
|
|
5276
5057
|
} | null;
|
5277
5058
|
}[];
|
5278
5059
|
};
|
5060
|
+
401: "Session not found";
|
5279
5061
|
422: {
|
5280
5062
|
type: "validation";
|
5281
5063
|
on: string;
|
@@ -5288,7 +5070,9 @@ export declare const app: Elysia<"", {
|
|
5288
5070
|
};
|
5289
5071
|
};
|
5290
5072
|
};
|
5291
|
-
}
|
5073
|
+
};
|
5074
|
+
} & {
|
5075
|
+
vehicle: {
|
5292
5076
|
fleet: {
|
5293
5077
|
post: {
|
5294
5078
|
body: {
|
@@ -5326,8 +5110,8 @@ export declare const app: Elysia<"", {
|
|
5326
5110
|
driveTrain: string | null;
|
5327
5111
|
km: number;
|
5328
5112
|
};
|
5329
|
-
502: string;
|
5330
5113
|
400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
|
5114
|
+
401: "Session not found";
|
5331
5115
|
422: {
|
5332
5116
|
type: "validation";
|
5333
5117
|
on: string;
|
@@ -5337,17 +5121,20 @@ export declare const app: Elysia<"", {
|
|
5337
5121
|
property?: string;
|
5338
5122
|
expected?: string;
|
5339
5123
|
};
|
5124
|
+
502: string;
|
5340
5125
|
};
|
5341
5126
|
};
|
5342
5127
|
};
|
5343
|
-
}
|
5128
|
+
};
|
5129
|
+
} & {
|
5130
|
+
vehicle: {
|
5344
5131
|
fleet: {
|
5345
5132
|
":id": {
|
5346
5133
|
get: {
|
5347
5134
|
body: unknown;
|
5348
5135
|
params: {
|
5349
5136
|
id: string;
|
5350
|
-
}
|
5137
|
+
};
|
5351
5138
|
query: unknown;
|
5352
5139
|
headers: unknown;
|
5353
5140
|
response: {
|
@@ -5419,6 +5206,7 @@ export declare const app: Elysia<"", {
|
|
5419
5206
|
oldId: number | null;
|
5420
5207
|
} | null;
|
5421
5208
|
};
|
5209
|
+
401: "Session not found";
|
5422
5210
|
404: "Тээврийн хэрэгсэл олдсонгүй.";
|
5423
5211
|
422: {
|
5424
5212
|
type: "validation";
|
@@ -5433,7 +5221,9 @@ export declare const app: Elysia<"", {
|
|
5433
5221
|
};
|
5434
5222
|
};
|
5435
5223
|
};
|
5436
|
-
}
|
5224
|
+
};
|
5225
|
+
} & {
|
5226
|
+
vehicle: {
|
5437
5227
|
fleet: {
|
5438
5228
|
":id": {
|
5439
5229
|
put: {
|
@@ -5460,7 +5250,7 @@ export declare const app: Elysia<"", {
|
|
5460
5250
|
};
|
5461
5251
|
params: {
|
5462
5252
|
id: string;
|
5463
|
-
}
|
5253
|
+
};
|
5464
5254
|
query: unknown;
|
5465
5255
|
headers: unknown;
|
5466
5256
|
response: {
|
@@ -5489,6 +5279,7 @@ export declare const app: Elysia<"", {
|
|
5489
5279
|
deletedAt: string | null;
|
5490
5280
|
oldId: number | null;
|
5491
5281
|
};
|
5282
|
+
401: "Session not found";
|
5492
5283
|
404: "Тээврийн хэрэгсэл олдсонгүй.";
|
5493
5284
|
422: {
|
5494
5285
|
type: "validation";
|
@@ -5503,14 +5294,16 @@ export declare const app: Elysia<"", {
|
|
5503
5294
|
};
|
5504
5295
|
};
|
5505
5296
|
};
|
5506
|
-
}
|
5297
|
+
};
|
5298
|
+
} & {
|
5299
|
+
vehicle: {
|
5507
5300
|
fleet: {
|
5508
5301
|
":id": {
|
5509
5302
|
delete: {
|
5510
5303
|
body: unknown;
|
5511
5304
|
params: {
|
5512
5305
|
id: string;
|
5513
|
-
}
|
5306
|
+
};
|
5514
5307
|
query: unknown;
|
5515
5308
|
headers: unknown;
|
5516
5309
|
response: {
|
@@ -5539,6 +5332,7 @@ export declare const app: Elysia<"", {
|
|
5539
5332
|
deletedAt: string | null;
|
5540
5333
|
oldId: number | null;
|
5541
5334
|
};
|
5335
|
+
401: "Session not found";
|
5542
5336
|
404: "Тээврийн хэрэгсэл олдсонгүй.";
|
5543
5337
|
422: {
|
5544
5338
|
type: "validation";
|
@@ -5616,6 +5410,7 @@ export declare const app: Elysia<"", {
|
|
5616
5410
|
}[];
|
5617
5411
|
}[];
|
5618
5412
|
};
|
5413
|
+
401: "Session not found";
|
5619
5414
|
422: {
|
5620
5415
|
type: "validation";
|
5621
5416
|
on: string;
|
@@ -5657,6 +5452,7 @@ export declare const app: Elysia<"", {
|
|
5657
5452
|
phoneNumber: string;
|
5658
5453
|
regNum: string | null;
|
5659
5454
|
};
|
5455
|
+
401: "Session not found";
|
5660
5456
|
422: {
|
5661
5457
|
type: "validation";
|
5662
5458
|
on: string;
|
@@ -5701,6 +5497,7 @@ export declare const app: Elysia<"", {
|
|
5701
5497
|
deletedAt: string | null;
|
5702
5498
|
oldId: number | null;
|
5703
5499
|
};
|
5500
|
+
401: "Session not found";
|
5704
5501
|
404: "Хэрэглэгч олдсонгүй.";
|
5705
5502
|
422: {
|
5706
5503
|
type: "validation";
|
@@ -5763,6 +5560,7 @@ export declare const app: Elysia<"", {
|
|
5763
5560
|
})[];
|
5764
5561
|
}[];
|
5765
5562
|
};
|
5563
|
+
401: "Session not found";
|
5766
5564
|
422: {
|
5767
5565
|
type: "validation";
|
5768
5566
|
on: string;
|
@@ -5806,6 +5604,7 @@ export declare const app: Elysia<"", {
|
|
5806
5604
|
applyType: "ORDER" | "ITEM";
|
5807
5605
|
discountType: "PERCENTAGE" | "FIXED";
|
5808
5606
|
};
|
5607
|
+
401: "Session not found";
|
5809
5608
|
422: {
|
5810
5609
|
type: "validation";
|
5811
5610
|
on: string;
|
@@ -5852,6 +5651,7 @@ export declare const app: Elysia<"", {
|
|
5852
5651
|
deletedAt: string | null;
|
5853
5652
|
oldId: number | null;
|
5854
5653
|
};
|
5654
|
+
401: "Session not found";
|
5855
5655
|
404: "Хөнгөлөлт олдсонгүй.";
|
5856
5656
|
422: {
|
5857
5657
|
type: "validation";
|
@@ -5891,6 +5691,7 @@ export declare const app: Elysia<"", {
|
|
5891
5691
|
applyType: "ORDER" | "ITEM";
|
5892
5692
|
discountType: "PERCENTAGE" | "FIXED";
|
5893
5693
|
};
|
5694
|
+
401: "Session not found";
|
5894
5695
|
404: "Хөнгөлөлт олдсонгүй.";
|
5895
5696
|
422: {
|
5896
5697
|
type: "validation";
|
@@ -5946,6 +5747,7 @@ export declare const app: Elysia<"", {
|
|
5946
5747
|
conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
|
5947
5748
|
conditionValue: unknown;
|
5948
5749
|
};
|
5750
|
+
401: "Session not found";
|
5949
5751
|
404: "Хөнгөлөлт олдсонгүй.";
|
5950
5752
|
422: {
|
5951
5753
|
type: "validation";
|
@@ -6004,6 +5806,7 @@ export declare const app: Elysia<"", {
|
|
6004
5806
|
deletedAt: string | null;
|
6005
5807
|
oldId: number | null;
|
6006
5808
|
};
|
5809
|
+
401: "Session not found";
|
6007
5810
|
404: "Хөнгөлөлтийн нөхцөл олдсонгүй.";
|
6008
5811
|
422: {
|
6009
5812
|
type: "validation";
|
@@ -6041,6 +5844,7 @@ export declare const app: Elysia<"", {
|
|
6041
5844
|
conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
|
6042
5845
|
conditionValue: unknown;
|
6043
5846
|
};
|
5847
|
+
401: "Session not found";
|
6044
5848
|
404: "Хөнгөлөлтийн нөхцөл олдсонгүй.";
|
6045
5849
|
422: {
|
6046
5850
|
type: "validation";
|
@@ -6091,6 +5895,7 @@ export declare const app: Elysia<"", {
|
|
6091
5895
|
authUserId: string;
|
6092
5896
|
};
|
6093
5897
|
400: "Хэрэглэгчийн ажилтан ID олдсонгүй.";
|
5898
|
+
401: "Session not found";
|
6094
5899
|
422: {
|
6095
5900
|
type: "validation";
|
6096
5901
|
on: string;
|
@@ -6143,6 +5948,7 @@ export declare const app: Elysia<"", {
|
|
6143
5948
|
deletedAt: string | null;
|
6144
5949
|
oldId: number | null;
|
6145
5950
|
};
|
5951
|
+
401: "Session not found";
|
6146
5952
|
404: "Хөнгөлөлтийн хэрэглээ олдсонгүй.";
|
6147
5953
|
422: {
|
6148
5954
|
type: "validation";
|
@@ -6170,7 +5976,7 @@ export declare const app: Elysia<"", {
|
|
6170
5976
|
query: unknown;
|
6171
5977
|
headers: unknown;
|
6172
5978
|
response: {
|
6173
|
-
|
5979
|
+
401: "Session not found";
|
6174
5980
|
404: "Хөнгөлөлтийн хэрэглээ олдсонгүй.";
|
6175
5981
|
422: {
|
6176
5982
|
type: "validation";
|
@@ -6194,18 +6000,30 @@ export declare const app: Elysia<"", {
|
|
6194
6000
|
inspection: {
|
6195
6001
|
ubcab: {
|
6196
6002
|
get: {
|
6197
|
-
body:
|
6003
|
+
body: {};
|
6198
6004
|
params: {};
|
6199
6005
|
query: {
|
6200
6006
|
licensePlate: string;
|
6201
6007
|
};
|
6202
|
-
headers:
|
6008
|
+
headers: {};
|
6203
6009
|
response: {
|
6204
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;
|
6205
6026
|
inspection: {
|
6206
|
-
companyId: string;
|
6207
|
-
branchId: string;
|
6208
|
-
vehicleId: string;
|
6209
6027
|
inspection: {
|
6210
6028
|
type: string;
|
6211
6029
|
values: {
|
@@ -6214,27 +6032,9 @@ export declare const app: Elysia<"", {
|
|
6214
6032
|
answer: string;
|
6215
6033
|
}[];
|
6216
6034
|
}[] | null;
|
6217
|
-
|
6035
|
+
createdAt: string;
|
6218
6036
|
expireAt: Date;
|
6219
|
-
experience: string | null;
|
6220
|
-
rank: string | null;
|
6221
|
-
licensePlate: string;
|
6222
|
-
description: string | null;
|
6223
6037
|
status: "CREATED" | "APPROVED" | "CANCELLED";
|
6224
|
-
id: string;
|
6225
|
-
createdAt: string;
|
6226
|
-
updatedAt: string;
|
6227
|
-
deletedAt: string | null;
|
6228
|
-
oldId: number | null;
|
6229
|
-
};
|
6230
|
-
company: {
|
6231
|
-
id: string;
|
6232
|
-
name: string;
|
6233
|
-
logo: string;
|
6234
|
-
};
|
6235
|
-
branch: {
|
6236
|
-
id: string;
|
6237
|
-
name: string;
|
6238
6038
|
};
|
6239
6039
|
}[];
|
6240
6040
|
422: {
|
@@ -6326,6 +6126,7 @@ export declare const app: Elysia<"", {
|
|
6326
6126
|
} | null;
|
6327
6127
|
}[];
|
6328
6128
|
};
|
6129
|
+
401: "Session not found";
|
6329
6130
|
422: {
|
6330
6131
|
type: "validation";
|
6331
6132
|
on: string;
|
@@ -6383,8 +6184,8 @@ export declare const app: Elysia<"", {
|
|
6383
6184
|
experience: string | null;
|
6384
6185
|
rank: string | null;
|
6385
6186
|
};
|
6386
|
-
502: string;
|
6387
6187
|
400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
|
6188
|
+
401: "Session not found";
|
6388
6189
|
422: {
|
6389
6190
|
type: "validation";
|
6390
6191
|
on: string;
|
@@ -6394,6 +6195,7 @@ export declare const app: Elysia<"", {
|
|
6394
6195
|
property?: string;
|
6395
6196
|
expected?: string;
|
6396
6197
|
};
|
6198
|
+
502: string;
|
6397
6199
|
};
|
6398
6200
|
};
|
6399
6201
|
};
|
@@ -6433,6 +6235,7 @@ export declare const app: Elysia<"", {
|
|
6433
6235
|
deletedAt: string | null;
|
6434
6236
|
oldId: number | null;
|
6435
6237
|
};
|
6238
|
+
401: "Session not found";
|
6436
6239
|
404: "Үзлэг олдсонгүй.";
|
6437
6240
|
422: {
|
6438
6241
|
type: "validation";
|
@@ -6458,7 +6261,7 @@ export declare const app: Elysia<"", {
|
|
6458
6261
|
query: unknown;
|
6459
6262
|
headers: unknown;
|
6460
6263
|
response: {
|
6461
|
-
|
6264
|
+
401: "Session not found";
|
6462
6265
|
404: "Үзлэг олдсонгүй.";
|
6463
6266
|
422: {
|
6464
6267
|
type: "validation";
|
@@ -6509,6 +6312,7 @@ export declare const app: Elysia<"", {
|
|
6509
6312
|
deletedAt: string | null;
|
6510
6313
|
oldId: number | null;
|
6511
6314
|
};
|
6315
|
+
401: "Session not found";
|
6512
6316
|
404: "Үзлэг олдсонгүй.";
|
6513
6317
|
422: {
|
6514
6318
|
type: "validation";
|
@@ -6538,10 +6342,9 @@ export declare const app: Elysia<"", {
|
|
6538
6342
|
200: {
|
6539
6343
|
cpOrderId: string;
|
6540
6344
|
};
|
6541
|
-
502: string;
|
6542
6345
|
400: string;
|
6346
|
+
401: "Session not found";
|
6543
6347
|
404: "Үзлэг олдсонгүй.";
|
6544
|
-
500: "Алдаа гарлаа. Дахин оролдоно уу.";
|
6545
6348
|
422: {
|
6546
6349
|
type: "validation";
|
6547
6350
|
on: string;
|
@@ -6551,6 +6354,8 @@ export declare const app: Elysia<"", {
|
|
6551
6354
|
property?: string;
|
6552
6355
|
expected?: string;
|
6553
6356
|
};
|
6357
|
+
500: "Алдаа гарлаа. Дахин оролдоно уу.";
|
6358
|
+
502: string;
|
6554
6359
|
};
|
6555
6360
|
};
|
6556
6361
|
};
|
@@ -6655,6 +6460,7 @@ export declare const app: Elysia<"", {
|
|
6655
6460
|
totalAmount: number;
|
6656
6461
|
paidAmount: number;
|
6657
6462
|
}[];
|
6463
|
+
401: "Session not found";
|
6658
6464
|
422: {
|
6659
6465
|
type: "validation";
|
6660
6466
|
on: string;
|
@@ -6692,6 +6498,7 @@ export declare const app: Elysia<"", {
|
|
6692
6498
|
ordersPending: number;
|
6693
6499
|
ordersCancelled: number;
|
6694
6500
|
};
|
6501
|
+
401: "Session not found";
|
6695
6502
|
422: {
|
6696
6503
|
type: "validation";
|
6697
6504
|
on: string;
|
@@ -6727,6 +6534,7 @@ export declare const app: Elysia<"", {
|
|
6727
6534
|
totalPaidAmount: number;
|
6728
6535
|
period: string;
|
6729
6536
|
}[];
|
6537
|
+
401: "Session not found";
|
6730
6538
|
422: {
|
6731
6539
|
type: "validation";
|
6732
6540
|
on: string;
|
@@ -6767,6 +6575,7 @@ export declare const app: Elysia<"", {
|
|
6767
6575
|
totalRevenue: number;
|
6768
6576
|
totalCommission: number;
|
6769
6577
|
}[];
|
6578
|
+
401: "Session not found";
|
6770
6579
|
422: {
|
6771
6580
|
type: "validation";
|
6772
6581
|
on: string;
|
@@ -6847,6 +6656,7 @@ export declare const app: Elysia<"", {
|
|
6847
6656
|
oldId: number | null;
|
6848
6657
|
} | null;
|
6849
6658
|
}[];
|
6659
|
+
401: "Session not found";
|
6850
6660
|
422: {
|
6851
6661
|
type: "validation";
|
6852
6662
|
on: string;
|
@@ -6879,6 +6689,7 @@ export declare const app: Elysia<"", {
|
|
6879
6689
|
headers: unknown;
|
6880
6690
|
response: {
|
6881
6691
|
200: string;
|
6692
|
+
401: "Session not found";
|
6882
6693
|
422: {
|
6883
6694
|
type: "validation";
|
6884
6695
|
on: string;
|
@@ -6909,6 +6720,7 @@ export declare const app: Elysia<"", {
|
|
6909
6720
|
headers: unknown;
|
6910
6721
|
response: {
|
6911
6722
|
200: string;
|
6723
|
+
401: "Session not found";
|
6912
6724
|
422: {
|
6913
6725
|
type: "validation";
|
6914
6726
|
on: string;
|
@@ -6941,6 +6753,7 @@ export declare const app: Elysia<"", {
|
|
6941
6753
|
headers: unknown;
|
6942
6754
|
response: {
|
6943
6755
|
200: string;
|
6756
|
+
401: "Session not found";
|
6944
6757
|
422: {
|
6945
6758
|
type: "validation";
|
6946
6759
|
on: string;
|
@@ -6976,6 +6789,7 @@ export declare const app: Elysia<"", {
|
|
6976
6789
|
headers: unknown;
|
6977
6790
|
response: {
|
6978
6791
|
200: string;
|
6792
|
+
401: "Session not found";
|
6979
6793
|
422: {
|
6980
6794
|
type: "validation";
|
6981
6795
|
on: string;
|
@@ -7010,6 +6824,7 @@ export declare const app: Elysia<"", {
|
|
7010
6824
|
headers: unknown;
|
7011
6825
|
response: {
|
7012
6826
|
200: string;
|
6827
|
+
401: "Session not found";
|
7013
6828
|
422: {
|
7014
6829
|
type: "validation";
|
7015
6830
|
on: string;
|
@@ -7033,7 +6848,7 @@ export declare const app: Elysia<"", {
|
|
7033
6848
|
} & {
|
7034
6849
|
supplier: {
|
7035
6850
|
get: {
|
7036
|
-
body:
|
6851
|
+
body: {};
|
7037
6852
|
params: {};
|
7038
6853
|
query: {
|
7039
6854
|
name?: string | undefined;
|
@@ -7044,7 +6859,7 @@ export declare const app: Elysia<"", {
|
|
7044
6859
|
page: number;
|
7045
6860
|
};
|
7046
6861
|
};
|
7047
|
-
headers:
|
6862
|
+
headers: {};
|
7048
6863
|
response: {
|
7049
6864
|
200: {
|
7050
6865
|
totalCount: number;
|
@@ -7061,6 +6876,7 @@ export declare const app: Elysia<"", {
|
|
7061
6876
|
oldId: number | null;
|
7062
6877
|
}[];
|
7063
6878
|
};
|
6879
|
+
401: "Session not found";
|
7064
6880
|
422: {
|
7065
6881
|
type: "validation";
|
7066
6882
|
on: string;
|
@@ -7163,7 +6979,6 @@ export declare const app: Elysia<"", {
|
|
7163
6979
|
query: unknown;
|
7164
6980
|
headers: unknown;
|
7165
6981
|
response: {
|
7166
|
-
200: void;
|
7167
6982
|
422: {
|
7168
6983
|
type: "validation";
|
7169
6984
|
on: string;
|
@@ -7232,6 +7047,7 @@ export declare const app: Elysia<"", {
|
|
7232
7047
|
totalCount: number;
|
7233
7048
|
}, "totalCount">[];
|
7234
7049
|
};
|
7050
|
+
401: "Session not found";
|
7235
7051
|
422: {
|
7236
7052
|
type: "validation";
|
7237
7053
|
on: string;
|
@@ -7261,8 +7077,8 @@ export declare const app: Elysia<"", {
|
|
7261
7077
|
params: {
|
7262
7078
|
id: string;
|
7263
7079
|
};
|
7264
|
-
query:
|
7265
|
-
headers:
|
7080
|
+
query: {};
|
7081
|
+
headers: {};
|
7266
7082
|
response: {
|
7267
7083
|
200: {
|
7268
7084
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
@@ -7278,6 +7094,7 @@ export declare const app: Elysia<"", {
|
|
7278
7094
|
deletedAt: string | null;
|
7279
7095
|
oldId: number | null;
|
7280
7096
|
};
|
7097
|
+
401: "Session not found";
|
7281
7098
|
404: "Vehicle kind not found";
|
7282
7099
|
422: {
|
7283
7100
|
type: "validation";
|
@@ -7303,10 +7120,12 @@ export declare const app: Elysia<"", {
|
|
7303
7120
|
resolve: {};
|
7304
7121
|
schema: {};
|
7305
7122
|
standaloneSchema: {};
|
7123
|
+
response: {};
|
7306
7124
|
}, {
|
7307
7125
|
derive: {};
|
7308
7126
|
resolve: {};
|
7309
7127
|
schema: {};
|
7310
7128
|
standaloneSchema: {};
|
7129
|
+
response: {};
|
7311
7130
|
}>;
|
7312
7131
|
export type App = typeof app;
|