autosync_backend2 1.2.48 → 1.2.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.ts +210 -206
  2. package/dist/index.js +165 -105
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -195,7 +195,7 @@ export declare const app: Elysia<"", {
195
195
  readonly "Not Extended": 510;
196
196
  readonly "Network Authentication Required": 511;
197
197
  }[Code] : Code>;
198
- }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | {
198
+ }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Токен олдсонгүй", 401> | {
199
199
  user: import("./lib/auth").User;
200
200
  session: {
201
201
  id: string;
@@ -353,7 +353,7 @@ export declare const app: Elysia<"", {
353
353
  readonly "Not Extended": 510;
354
354
  readonly "Network Authentication Required": 511;
355
355
  }[Code] : Code>;
356
- }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
356
+ }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Токен олдсонгүй", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
357
357
  user: import("./lib/auth").User;
358
358
  session: {
359
359
  id: string;
@@ -511,7 +511,7 @@ export declare const app: Elysia<"", {
511
511
  readonly "Not Extended": 510;
512
512
  readonly "Network Authentication Required": 511;
513
513
  }[Code] : Code>;
514
- }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
514
+ }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Токен олдсонгүй", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
515
515
  user: import("./lib/auth").User;
516
516
  session: {
517
517
  id: string;
@@ -672,7 +672,7 @@ export declare const app: Elysia<"", {
672
672
  readonly "Not Extended": 510;
673
673
  readonly "Network Authentication Required": 511;
674
674
  }[Code] : Code>;
675
- }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | {
675
+ }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Токен олдсонгүй", 401> | {
676
676
  user: import("./lib/auth").User;
677
677
  session: {
678
678
  id: string;
@@ -830,7 +830,7 @@ export declare const app: Elysia<"", {
830
830
  readonly "Not Extended": 510;
831
831
  readonly "Network Authentication Required": 511;
832
832
  }[Code] : Code>;
833
- }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
833
+ }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Токен олдсонгүй", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
834
834
  user: import("./lib/auth").User;
835
835
  session: {
836
836
  id: string;
@@ -988,7 +988,7 @@ export declare const app: Elysia<"", {
988
988
  readonly "Not Extended": 510;
989
989
  readonly "Network Authentication Required": 511;
990
990
  }[Code] : Code>;
991
- }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
991
+ }) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Токен олдсонгүй", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
992
992
  user: import("./lib/auth").User;
993
993
  session: {
994
994
  id: string;
@@ -1035,7 +1035,7 @@ export declare const app: Elysia<"", {
1035
1035
  200: {
1036
1036
  path: string;
1037
1037
  };
1038
- 401: "Session not found";
1038
+ 401: "Токен олдсонгүй";
1039
1039
  422: {
1040
1040
  type: "validation";
1041
1041
  on: string;
@@ -1134,7 +1134,7 @@ export declare const app: Elysia<"", {
1134
1134
  } | null;
1135
1135
  }[];
1136
1136
  };
1137
- 401: "Session not found";
1137
+ 401: "Токен олдсонгүй";
1138
1138
  422: {
1139
1139
  type: "validation";
1140
1140
  on: string;
@@ -1189,7 +1189,7 @@ export declare const app: Elysia<"", {
1189
1189
  alias: string | null;
1190
1190
  quantityUnit: number;
1191
1191
  };
1192
- 401: "Session not found";
1192
+ 401: "Токен олдсонгүй";
1193
1193
  422: {
1194
1194
  type: "validation";
1195
1195
  on: string;
@@ -1230,7 +1230,7 @@ export declare const app: Elysia<"", {
1230
1230
  count: number;
1231
1231
  total: number;
1232
1232
  }, void, unknown>;
1233
- 401: "Session not found";
1233
+ 401: "Токен олдсонгүй";
1234
1234
  422: {
1235
1235
  type: "validation";
1236
1236
  on: string;
@@ -1263,7 +1263,7 @@ export declare const app: Elysia<"", {
1263
1263
  response: {
1264
1264
  200: Response;
1265
1265
  204: "Бараа олдсонгүй.";
1266
- 401: "Session not found";
1266
+ 401: "Токен олдсонгүй";
1267
1267
  422: {
1268
1268
  type: "validation";
1269
1269
  on: string;
@@ -1323,7 +1323,7 @@ export declare const app: Elysia<"", {
1323
1323
  deletedAt: string | null;
1324
1324
  oldId: number | null;
1325
1325
  };
1326
- 401: "Session not found";
1326
+ 401: "Токен олдсонгүй";
1327
1327
  404: "Бараа олдсонгүй.";
1328
1328
  422: {
1329
1329
  type: "validation";
@@ -1371,7 +1371,7 @@ export declare const app: Elysia<"", {
1371
1371
  oldId: number | null;
1372
1372
  }[];
1373
1373
  };
1374
- 401: "Session not found";
1374
+ 401: "Токен олдсонгүй";
1375
1375
  422: {
1376
1376
  type: "validation";
1377
1377
  on: string;
@@ -1408,7 +1408,7 @@ export declare const app: Elysia<"", {
1408
1408
  oldId: number | null;
1409
1409
  description: string | null;
1410
1410
  };
1411
- 401: "Session not found";
1411
+ 401: "Токен олдсонгүй";
1412
1412
  422: {
1413
1413
  type: "validation";
1414
1414
  on: string;
@@ -1447,7 +1447,7 @@ export declare const app: Elysia<"", {
1447
1447
  deletedAt: string | null;
1448
1448
  oldId: number | null;
1449
1449
  };
1450
- 401: "Session not found";
1450
+ 401: "Токен олдсонгүй";
1451
1451
  404: "Агуулах олдсонгүй.";
1452
1452
  422: {
1453
1453
  type: "validation";
@@ -1473,7 +1473,7 @@ export declare const app: Elysia<"", {
1473
1473
  query: unknown;
1474
1474
  headers: unknown;
1475
1475
  response: {
1476
- 401: "Session not found";
1476
+ 401: "Токен олдсонгүй";
1477
1477
  422: {
1478
1478
  type: "validation";
1479
1479
  on: string;
@@ -1701,6 +1701,7 @@ export declare const app: Elysia<"", {
1701
1701
  priceSell?: number | undefined;
1702
1702
  ids?: string[] | undefined;
1703
1703
  } | undefined;
1704
+ warehouseId?: string | undefined;
1704
1705
  itemId?: string | undefined;
1705
1706
  transactionType?: "IN" | "OUT" | undefined;
1706
1707
  transactionKind?: "ORDER" | "TRANSFER" | "RETURN" | "ADJUSTMENT" | "REJECTION" | "SALES" | undefined;
@@ -1987,7 +1988,7 @@ export declare const app: Elysia<"", {
1987
1988
  totalCount: number;
1988
1989
  }, "totalCount">[];
1989
1990
  };
1990
- 401: "Session not found";
1991
+ 401: "Токен олдсонгүй";
1991
1992
  422: {
1992
1993
  type: "validation";
1993
1994
  on: string;
@@ -2057,7 +2058,7 @@ export declare const app: Elysia<"", {
2057
2058
  isNexus: boolean;
2058
2059
  branchCount: number;
2059
2060
  };
2060
- 401: "Session not found";
2061
+ 401: "Токен олдсонгүй";
2061
2062
  422: {
2062
2063
  type: "validation";
2063
2064
  on: string;
@@ -2130,7 +2131,7 @@ export declare const app: Elysia<"", {
2130
2131
  isNexus: boolean;
2131
2132
  branchCount: number;
2132
2133
  };
2133
- 401: "Session not found";
2134
+ 401: "Токен олдсонгүй";
2134
2135
  404: string;
2135
2136
  422: {
2136
2137
  type: "validation";
@@ -2156,7 +2157,7 @@ export declare const app: Elysia<"", {
2156
2157
  query: {};
2157
2158
  headers: {};
2158
2159
  response: {
2159
- 401: "Session not found";
2160
+ 401: "Токен олдсонгүй";
2160
2161
  404: string;
2161
2162
  422: {
2162
2163
  type: "validation";
@@ -2238,7 +2239,7 @@ export declare const app: Elysia<"", {
2238
2239
  totalCount: number;
2239
2240
  }, "totalCount">[];
2240
2241
  };
2241
- 401: "Session not found";
2242
+ 401: "Токен олдсонгүй";
2242
2243
  422: {
2243
2244
  type: "validation";
2244
2245
  on: string;
@@ -2289,7 +2290,7 @@ export declare const app: Elysia<"", {
2289
2290
  totalCount: number;
2290
2291
  }, "totalCount">[];
2291
2292
  };
2292
- 401: "Session not found";
2293
+ 401: "Токен олдсонгүй";
2293
2294
  };
2294
2295
  };
2295
2296
  };
@@ -2343,7 +2344,7 @@ export declare const app: Elysia<"", {
2343
2344
  packageId: string;
2344
2345
  merchantId: string;
2345
2346
  };
2346
- 401: "Session not found";
2347
+ 401: "Токен олдсонгүй";
2347
2348
  422: {
2348
2349
  type: "validation";
2349
2350
  on: string;
@@ -2408,7 +2409,7 @@ export declare const app: Elysia<"", {
2408
2409
  packageId: string;
2409
2410
  merchantId: string;
2410
2411
  };
2411
- 401: "Session not found";
2412
+ 401: "Токен олдсонгүй";
2412
2413
  404: string;
2413
2414
  422: {
2414
2415
  type: "validation";
@@ -2434,7 +2435,7 @@ export declare const app: Elysia<"", {
2434
2435
  query: {};
2435
2436
  headers: {};
2436
2437
  response: {
2437
- 401: "Session not found";
2438
+ 401: "Токен олдсонгүй";
2438
2439
  404: string;
2439
2440
  422: {
2440
2441
  type: "validation";
@@ -2482,7 +2483,7 @@ export declare const app: Elysia<"", {
2482
2483
  totalCount: number;
2483
2484
  }, "totalCount">[];
2484
2485
  };
2485
- 401: "Session not found";
2486
+ 401: "Токен олдсонгүй";
2486
2487
  422: {
2487
2488
  type: "validation";
2488
2489
  on: string;
@@ -2518,7 +2519,7 @@ export declare const app: Elysia<"", {
2518
2519
  rowCount: number;
2519
2520
  price: number;
2520
2521
  };
2521
- 401: "Session not found";
2522
+ 401: "Токен олдсонгүй";
2522
2523
  422: {
2523
2524
  type: "validation";
2524
2525
  on: string;
@@ -2557,7 +2558,7 @@ export declare const app: Elysia<"", {
2557
2558
  rowCount: number;
2558
2559
  price: number;
2559
2560
  };
2560
- 401: "Session not found";
2561
+ 401: "Токен олдсонгүй";
2561
2562
  404: string;
2562
2563
  422: {
2563
2564
  type: "validation";
@@ -2583,7 +2584,7 @@ export declare const app: Elysia<"", {
2583
2584
  query: unknown;
2584
2585
  headers: unknown;
2585
2586
  response: {
2586
- 401: "Session not found";
2587
+ 401: "Токен олдсонгүй";
2587
2588
  404: string;
2588
2589
  422: {
2589
2590
  type: "validation";
@@ -2639,7 +2640,7 @@ export declare const app: Elysia<"", {
2639
2640
  oldId: number | null;
2640
2641
  }[];
2641
2642
  };
2642
- 401: "Session not found";
2643
+ 401: "Токен олдсонгүй";
2643
2644
  422: {
2644
2645
  type: "validation";
2645
2646
  on: string;
@@ -2682,7 +2683,7 @@ export declare const app: Elysia<"", {
2682
2683
  serviceKindId: string | null;
2683
2684
  enabled: boolean;
2684
2685
  };
2685
- 401: "Session not found";
2686
+ 401: "Токен олдсонгүй";
2686
2687
  422: {
2687
2688
  type: "validation";
2688
2689
  on: string;
@@ -2728,7 +2729,7 @@ export declare const app: Elysia<"", {
2728
2729
  deletedAt: string | null;
2729
2730
  oldId: number | null;
2730
2731
  };
2731
- 401: "Session not found";
2732
+ 401: "Токен олдсонгүй";
2732
2733
  404: "Үйлчилгээ олдсонгүй.";
2733
2734
  422: {
2734
2735
  type: "validation";
@@ -2754,7 +2755,7 @@ export declare const app: Elysia<"", {
2754
2755
  query: unknown;
2755
2756
  headers: unknown;
2756
2757
  response: {
2757
- 401: "Session not found";
2758
+ 401: "Токен олдсонгүй";
2758
2759
  422: {
2759
2760
  type: "validation";
2760
2761
  on: string;
@@ -2806,7 +2807,7 @@ export declare const app: Elysia<"", {
2806
2807
  oldId: number | null;
2807
2808
  }[];
2808
2809
  };
2809
- 401: "Session not found";
2810
+ 401: "Токен олдсонгүй";
2810
2811
  422: {
2811
2812
  type: "validation";
2812
2813
  on: string;
@@ -2850,7 +2851,7 @@ export declare const app: Elysia<"", {
2850
2851
  firstname: string;
2851
2852
  lastname: string;
2852
2853
  };
2853
- 401: "Session not found";
2854
+ 401: "Токен олдсонгүй";
2854
2855
  422: {
2855
2856
  type: "validation";
2856
2857
  on: string;
@@ -2897,7 +2898,7 @@ export declare const app: Elysia<"", {
2897
2898
  deletedAt: string | null;
2898
2899
  oldId: number | null;
2899
2900
  };
2900
- 401: "Session not found";
2901
+ 401: "Токен олдсонгүй";
2901
2902
  404: "Ажилтан олдсонгүй.";
2902
2903
  422: {
2903
2904
  type: "validation";
@@ -2923,7 +2924,7 @@ export declare const app: Elysia<"", {
2923
2924
  query: unknown;
2924
2925
  headers: unknown;
2925
2926
  response: {
2926
- 401: "Session not found";
2927
+ 401: "Токен олдсонгүй";
2927
2928
  422: {
2928
2929
  type: "validation";
2929
2930
  on: string;
@@ -2980,7 +2981,7 @@ export declare const app: Elysia<"", {
2980
2981
  totalCount: number;
2981
2982
  }, "totalCount">[];
2982
2983
  };
2983
- 401: "Session not found";
2984
+ 401: "Токен олдсонгүй";
2984
2985
  422: {
2985
2986
  type: "validation";
2986
2987
  on: string;
@@ -3018,7 +3019,7 @@ export declare const app: Elysia<"", {
3018
3019
  description: string | null;
3019
3020
  bank: string;
3020
3021
  };
3021
- 401: "Session not found";
3022
+ 401: "Токен олдсонгүй";
3022
3023
  422: {
3023
3024
  type: "validation";
3024
3025
  on: string;
@@ -3059,7 +3060,7 @@ export declare const app: Elysia<"", {
3059
3060
  description: string | null;
3060
3061
  bank: string;
3061
3062
  };
3062
- 401: "Session not found";
3063
+ 401: "Токен олдсонгүй";
3063
3064
  404: string;
3064
3065
  422: {
3065
3066
  type: "validation";
@@ -3085,7 +3086,7 @@ export declare const app: Elysia<"", {
3085
3086
  query: {};
3086
3087
  headers: {};
3087
3088
  response: {
3088
- 401: "Session not found";
3089
+ 401: "Токен олдсонгүй";
3089
3090
  404: string;
3090
3091
  422: {
3091
3092
  type: "validation";
@@ -3118,7 +3119,7 @@ export declare const app: Elysia<"", {
3118
3119
  description: string;
3119
3120
  requiresAdmin?: boolean;
3120
3121
  }[];
3121
- 401: "Session not found";
3122
+ 401: "Токен олдсонгүй";
3122
3123
  };
3123
3124
  };
3124
3125
  };
@@ -3133,7 +3134,7 @@ export declare const app: Elysia<"", {
3133
3134
  query: {};
3134
3135
  headers: {};
3135
3136
  response: {
3136
- 401: "Session not found";
3137
+ 401: "Токен олдсонгүй";
3137
3138
  422: {
3138
3139
  type: "validation";
3139
3140
  on: string;
@@ -3178,7 +3179,7 @@ export declare const app: Elysia<"", {
3178
3179
  oldId: number | null;
3179
3180
  }[];
3180
3181
  };
3181
- 401: "Session not found";
3182
+ 401: "Токен олдсонгүй";
3182
3183
  422: {
3183
3184
  type: "validation";
3184
3185
  on: string;
@@ -3214,7 +3215,7 @@ export declare const app: Elysia<"", {
3214
3215
  oldId: number | null;
3215
3216
  permissions: string[];
3216
3217
  };
3217
- 401: "Session not found";
3218
+ 401: "Токен олдсонгүй";
3218
3219
  422: {
3219
3220
  type: "validation";
3220
3221
  on: string;
@@ -3253,7 +3254,7 @@ export declare const app: Elysia<"", {
3253
3254
  oldId: number | null;
3254
3255
  permissions: string[];
3255
3256
  };
3256
- 401: "Session not found";
3257
+ 401: "Токен олдсонгүй";
3257
3258
  404: string;
3258
3259
  422: {
3259
3260
  type: "validation";
@@ -3281,7 +3282,7 @@ export declare const app: Elysia<"", {
3281
3282
  query: unknown;
3282
3283
  headers: unknown;
3283
3284
  response: {
3284
- 401: "Session not found";
3285
+ 401: "Токен олдсонгүй";
3285
3286
  404: string;
3286
3287
  422: {
3287
3288
  type: "validation";
@@ -3337,7 +3338,7 @@ export declare const app: Elysia<"", {
3337
3338
  employeeId: string | null;
3338
3339
  }[];
3339
3340
  };
3340
- 401: "Session not found";
3341
+ 401: "Токен олдсонгүй";
3341
3342
  422: {
3342
3343
  type: "validation";
3343
3344
  on: string;
@@ -3384,7 +3385,7 @@ export declare const app: Elysia<"", {
3384
3385
  kind: "ADMIN" | "COMPANY_ADMIN" | "CUSTOMER" | "INSPECTION";
3385
3386
  employeeId?: string | null | undefined;
3386
3387
  };
3387
- 401: "Session not found";
3388
+ 401: "Токен олдсонгүй";
3388
3389
  };
3389
3390
  };
3390
3391
  };
@@ -3416,7 +3417,7 @@ export declare const app: Elysia<"", {
3416
3417
  updatedAt: Date;
3417
3418
  };
3418
3419
  400: string;
3419
- 401: "Session not found";
3420
+ 401: "Токен олдсонгүй";
3420
3421
  422: {
3421
3422
  type: "validation";
3422
3423
  on: string;
@@ -3455,7 +3456,7 @@ export declare const app: Elysia<"", {
3455
3456
  query: {};
3456
3457
  headers: {};
3457
3458
  response: {
3458
- 401: "Session not found";
3459
+ 401: "Токен олдсонгүй";
3459
3460
  422: {
3460
3461
  type: "validation";
3461
3462
  on: string;
@@ -3500,7 +3501,7 @@ export declare const app: Elysia<"", {
3500
3501
  deletedAt: string | null;
3501
3502
  oldId: number | null;
3502
3503
  }[];
3503
- 401: "Session not found";
3504
+ 401: "Токен олдсонгүй";
3504
3505
  422: {
3505
3506
  type: "validation";
3506
3507
  on: string;
@@ -3533,11 +3534,11 @@ export declare const app: Elysia<"", {
3533
3534
  employeeId: string;
3534
3535
  deletedAt: string | null;
3535
3536
  oldId: number | null;
3536
- cpOrderItemId: string;
3537
3537
  amount: number;
3538
+ cpOrderItemId: string;
3538
3539
  };
3539
3540
  400: "Энэ үйлчилгээнд ажилтан аль хэдийн хуваарилагдсан байна.";
3540
- 401: "Session not found";
3541
+ 401: "Токен олдсонгүй";
3541
3542
  422: {
3542
3543
  type: "validation";
3543
3544
  on: string;
@@ -3573,7 +3574,7 @@ export declare const app: Elysia<"", {
3573
3574
  deletedAt: string | null;
3574
3575
  oldId: number | null;
3575
3576
  };
3576
- 401: "Session not found";
3577
+ 401: "Токен олдсонгүй";
3577
3578
  404: "Ажилтны мэдээлэл олдсонгүй.";
3578
3579
  422: {
3579
3580
  type: "validation";
@@ -3602,7 +3603,7 @@ export declare const app: Elysia<"", {
3602
3603
  200: {
3603
3604
  id: string;
3604
3605
  };
3605
- 401: "Session not found";
3606
+ 401: "Токен олдсонгүй";
3606
3607
  404: "Ажилтны мэдээлэл олдсонгүй.";
3607
3608
  422: {
3608
3609
  type: "validation";
@@ -3752,7 +3753,7 @@ export declare const app: Elysia<"", {
3752
3753
  amount: number;
3753
3754
  }[];
3754
3755
  })[];
3755
- 401: "Session not found";
3756
+ 401: "Токен олдсонгүй";
3756
3757
  422: {
3757
3758
  type: "validation";
3758
3759
  on: string;
@@ -3799,7 +3800,7 @@ export declare const app: Elysia<"", {
3799
3800
  cpOrderSpPackageId: string | null;
3800
3801
  };
3801
3802
  400: "Үйлчилгээний төрөл эсвэл бараа сонгоно уу.";
3802
- 401: "Session not found";
3803
+ 401: "Токен олдсонгүй";
3803
3804
  404: "Бараа олдсонгүй." | "Үйлчилгээний төрөл олдсонгүй.";
3804
3805
  422: {
3805
3806
  type: "validation";
@@ -3844,7 +3845,7 @@ export declare const app: Elysia<"", {
3844
3845
  deletedAt: string | null;
3845
3846
  oldId: number | null;
3846
3847
  };
3847
- 401: "Session not found";
3848
+ 401: "Токен олдсонгүй";
3848
3849
  404: "Үйлчилгээ олдсонгүй.";
3849
3850
  422: {
3850
3851
  type: "validation";
@@ -3874,7 +3875,7 @@ export declare const app: Elysia<"", {
3874
3875
  cpOrderId: string;
3875
3876
  };
3876
3877
  400: "Багцаас үйлчилгээ устгах боломжгүй.";
3877
- 401: "Session not found";
3878
+ 401: "Токен олдсонгүй";
3878
3879
  404: "Үйлчилгээ олдсонгүй.";
3879
3880
  422: {
3880
3881
  type: "validation";
@@ -3925,9 +3926,9 @@ export declare const app: Elysia<"", {
3925
3926
  body: {
3926
3927
  oldId?: number | null | undefined;
3927
3928
  paymentPackageId?: string | null | undefined;
3928
- state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
3929
- cpOrderId: string;
3930
3929
  amount: number;
3930
+ state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
3931
+ cpOrderId: string;
3931
3932
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
3932
3933
  paymentChannel: string;
3933
3934
  };
@@ -3941,15 +3942,15 @@ export declare const app: Elysia<"", {
3941
3942
  updatedAt: string;
3942
3943
  deletedAt: string | null;
3943
3944
  oldId: number | null;
3944
- state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
3945
- cpOrderId: string;
3946
3945
  amount: number;
3946
+ state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
3947
+ cpOrderId: string;
3947
3948
  paymentPackageId: string | null;
3948
3949
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
3949
3950
  paymentChannel: string;
3950
3951
  invoiceNumber: string | null;
3951
3952
  };
3952
- 401: "Session not found";
3953
+ 401: "Токен олдсонгүй";
3953
3954
  422: {
3954
3955
  type: "validation";
3955
3956
  on: string;
@@ -3973,7 +3974,7 @@ export declare const app: Elysia<"", {
3973
3974
  query: {};
3974
3975
  headers: {};
3975
3976
  response: {
3976
- 401: "Session not found";
3977
+ 401: "Токен олдсонгүй";
3977
3978
  422: {
3978
3979
  type: "validation";
3979
3980
  on: string;
@@ -3995,8 +3996,8 @@ export declare const app: Elysia<"", {
3995
3996
  oldId?: number | null | undefined;
3996
3997
  paymentPackageId?: string | null | undefined;
3997
3998
  phone: number;
3998
- cpOrderId: string;
3999
3999
  amount: number;
4000
+ cpOrderId: string;
4000
4001
  };
4001
4002
  params: {};
4002
4003
  query: {};
@@ -4008,16 +4009,16 @@ export declare const app: Elysia<"", {
4008
4009
  updatedAt: string;
4009
4010
  deletedAt: string | null;
4010
4011
  oldId: number | null;
4011
- state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4012
- cpOrderId: string;
4013
4012
  amount: number;
4013
+ state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4014
+ cpOrderId: string;
4014
4015
  paymentPackageId: string | null;
4015
4016
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
4016
4017
  paymentChannel: string;
4017
4018
  invoiceNumber: string | null;
4018
4019
  };
4019
4020
  400: string;
4020
- 401: "Session not found";
4021
+ 401: "Токен олдсонгүй";
4021
4022
  404: "Төлбөрийн тохиргоо олдсонгүй.";
4022
4023
  422: {
4023
4024
  type: "validation";
@@ -4069,9 +4070,9 @@ export declare const app: Elysia<"", {
4069
4070
  body: {
4070
4071
  oldId?: number | null | undefined;
4071
4072
  paymentPackageId?: string | null | undefined;
4072
- state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4073
- cpOrderId: string;
4074
4073
  amount: number;
4074
+ state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4075
+ cpOrderId: string;
4075
4076
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
4076
4077
  paymentChannel: string;
4077
4078
  };
@@ -4086,16 +4087,16 @@ export declare const app: Elysia<"", {
4086
4087
  updatedAt: string;
4087
4088
  deletedAt: string | null;
4088
4089
  oldId: number | null;
4089
- state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4090
- cpOrderId: string;
4091
4090
  amount: number;
4091
+ state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4092
+ cpOrderId: string;
4092
4093
  paymentPackageId: string | null;
4093
4094
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
4094
4095
  paymentChannel: string;
4095
4096
  invoiceNumber: string | null;
4096
4097
  };
4097
4098
  400: string;
4098
- 401: "Session not found";
4099
+ 401: "Токен олдсонгүй";
4099
4100
  404: "Төлбөрийн тохиргоо олдсонгүй.";
4100
4101
  422: {
4101
4102
  type: "validation";
@@ -4205,9 +4206,9 @@ export declare const app: Elysia<"", {
4205
4206
  body: {
4206
4207
  oldId?: number | null | undefined;
4207
4208
  paymentPackageId?: string | null | undefined;
4208
- state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4209
- cpOrderId: string;
4210
4209
  amount: number;
4210
+ state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4211
+ cpOrderId: string;
4211
4212
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
4212
4213
  paymentChannel: string;
4213
4214
  };
@@ -4222,16 +4223,16 @@ export declare const app: Elysia<"", {
4222
4223
  updatedAt: string;
4223
4224
  deletedAt: string | null;
4224
4225
  oldId: number | null;
4225
- state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4226
- cpOrderId: string;
4227
4226
  amount: number;
4227
+ state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4228
+ cpOrderId: string;
4228
4229
  paymentPackageId: string | null;
4229
4230
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
4230
4231
  paymentChannel: string;
4231
4232
  invoiceNumber: string | null;
4232
4233
  };
4233
4234
  400: string;
4234
- 401: "Session not found";
4235
+ 401: "Токен олдсонгүй";
4235
4236
  404: "Төлбөрийн тохиргоо олдсонгүй.";
4236
4237
  422: {
4237
4238
  type: "validation";
@@ -4431,6 +4432,7 @@ export declare const app: Elysia<"", {
4431
4432
  type?: "Service" | "ProductSell" | undefined;
4432
4433
  id?: string | undefined;
4433
4434
  createdAt?: string | undefined;
4435
+ branchId?: string | undefined;
4434
4436
  oldId?: number | undefined;
4435
4437
  phone?: string | undefined;
4436
4438
  vehicleId?: string | undefined;
@@ -4542,7 +4544,7 @@ export declare const app: Elysia<"", {
4542
4544
  paidAmount: number;
4543
4545
  }[];
4544
4546
  };
4545
- 401: "Session not found";
4547
+ 401: "Токен олдсонгүй";
4546
4548
  422: {
4547
4549
  type: "validation";
4548
4550
  on: string;
@@ -4663,7 +4665,7 @@ export declare const app: Elysia<"", {
4663
4665
  }[];
4664
4666
  };
4665
4667
  400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
4666
- 401: "Session not found";
4668
+ 401: "Токен олдсонгүй";
4667
4669
  422: {
4668
4670
  type: "validation";
4669
4671
  on: string;
@@ -4706,7 +4708,7 @@ export declare const app: Elysia<"", {
4706
4708
  state: "CREATED" | "PROGRESSING" | "COMPLETE";
4707
4709
  timeCompleted: string | null;
4708
4710
  };
4709
- 401: "Session not found";
4711
+ 401: "Токен олдсонгүй";
4710
4712
  422: {
4711
4713
  type: "validation";
4712
4714
  on: string;
@@ -4734,7 +4736,7 @@ export declare const app: Elysia<"", {
4734
4736
  headers: unknown;
4735
4737
  response: {
4736
4738
  400: "Суурь багцад бараа эсвэл үйлчилгээ байхгүй байна.";
4737
- 401: "Session not found";
4739
+ 401: "Токен олдсонгүй";
4738
4740
  404: "Багцийн үйлчилгээ олдсонгүй." | "Засвар үйлчилгээ олдсонгүй.";
4739
4741
  422: {
4740
4742
  type: "validation";
@@ -4761,7 +4763,7 @@ export declare const app: Elysia<"", {
4761
4763
  query: unknown;
4762
4764
  headers: unknown;
4763
4765
  response: {
4764
- 401: "Session not found";
4766
+ 401: "Токен олдсонгүй";
4765
4767
  404: "Багц олдсонгүй.";
4766
4768
  422: {
4767
4769
  type: "validation";
@@ -4807,7 +4809,7 @@ export declare const app: Elysia<"", {
4807
4809
  deletedAt: string | null;
4808
4810
  oldId: number | null;
4809
4811
  };
4810
- 401: "Session not found";
4812
+ 401: "Токен олдсонгүй";
4811
4813
  404: "Засвар үйлчилгээ олдсонгүй.";
4812
4814
  422: {
4813
4815
  type: "validation";
@@ -4831,7 +4833,7 @@ export declare const app: Elysia<"", {
4831
4833
  query: unknown;
4832
4834
  headers: unknown;
4833
4835
  response: {
4834
- 401: "Session not found";
4836
+ 401: "Токен олдсонгүй";
4835
4837
  };
4836
4838
  };
4837
4839
  };
@@ -4878,7 +4880,7 @@ export declare const app: Elysia<"", {
4878
4880
  deletedAt: string | null;
4879
4881
  oldId: number | null;
4880
4882
  };
4881
- 401: "Session not found";
4883
+ 401: "Токен олдсонгүй";
4882
4884
  404: "Засвар үйлчилгээ олдсонгүй.";
4883
4885
  422: {
4884
4886
  type: "validation";
@@ -4905,7 +4907,7 @@ export declare const app: Elysia<"", {
4905
4907
  headers: unknown;
4906
4908
  response: {
4907
4909
  400: "Үйлчилгээ хоосон биш байна.";
4908
- 401: "Session not found";
4910
+ 401: "Токен олдсонгүй";
4909
4911
  404: "Засвар үйлчилгээ олдсонгүй.";
4910
4912
  422: {
4911
4913
  type: "validation";
@@ -4939,7 +4941,7 @@ export declare const app: Elysia<"", {
4939
4941
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
4940
4942
  paymentChannel: string;
4941
4943
  amount: number;
4942
- state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4944
+ state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
4943
4945
  invoiceNumber: string | null;
4944
4946
  id: string;
4945
4947
  createdAt: string;
@@ -4983,7 +4985,7 @@ export declare const app: Elysia<"", {
4983
4985
  } | null;
4984
4986
  }[];
4985
4987
  };
4986
- 401: "Session not found";
4988
+ 401: "Токен олдсонгүй";
4987
4989
  422: {
4988
4990
  type: "validation";
4989
4991
  on: string;
@@ -5041,7 +5043,7 @@ export declare const app: Elysia<"", {
5041
5043
  deletedAt: string | null;
5042
5044
  oldId: number | null;
5043
5045
  }[];
5044
- 401: "Session not found";
5046
+ 401: "Токен олдсонгүй";
5045
5047
  422: {
5046
5048
  type: "validation";
5047
5049
  on: string;
@@ -5081,7 +5083,7 @@ export declare const app: Elysia<"", {
5081
5083
  quantity: number;
5082
5084
  priceUnit: number;
5083
5085
  };
5084
- 401: "Session not found";
5086
+ 401: "Токен олдсонгүй";
5085
5087
  422: {
5086
5088
  type: "validation";
5087
5089
  on: string;
@@ -5111,7 +5113,7 @@ export declare const app: Elysia<"", {
5111
5113
  headers: unknown;
5112
5114
  response: {
5113
5115
  400: "Үйлчилгээ оруулах мэдээлэл байхгүй байна.";
5114
- 401: "Session not found";
5116
+ 401: "Токен олдсонгүй";
5115
5117
  422: {
5116
5118
  type: "validation";
5117
5119
  on: string;
@@ -5155,7 +5157,7 @@ export declare const app: Elysia<"", {
5155
5157
  deletedAt: string | null;
5156
5158
  oldId: number | null;
5157
5159
  };
5158
- 401: "Session not found";
5160
+ 401: "Токен олдсонгүй";
5159
5161
  404: "Үйлчилгээ олдсонгүй.";
5160
5162
  422: {
5161
5163
  type: "validation";
@@ -5181,7 +5183,7 @@ export declare const app: Elysia<"", {
5181
5183
  query: unknown;
5182
5184
  headers: unknown;
5183
5185
  response: {
5184
- 401: "Session not found";
5186
+ 401: "Токен олдсонгүй";
5185
5187
  422: {
5186
5188
  type: "validation";
5187
5189
  on: string;
@@ -5241,7 +5243,7 @@ export declare const app: Elysia<"", {
5241
5243
  deletedAt: string | null;
5242
5244
  oldId: number | null;
5243
5245
  }[];
5244
- 401: "Session not found";
5246
+ 401: "Токен олдсонгүй";
5245
5247
  422: {
5246
5248
  type: "validation";
5247
5249
  on: string;
@@ -5280,7 +5282,7 @@ export declare const app: Elysia<"", {
5280
5282
  priceUnit: number;
5281
5283
  companyProductId: string;
5282
5284
  };
5283
- 401: "Session not found";
5285
+ 401: "Токен олдсонгүй";
5284
5286
  422: {
5285
5287
  type: "validation";
5286
5288
  on: string;
@@ -5309,7 +5311,7 @@ export declare const app: Elysia<"", {
5309
5311
  headers: unknown;
5310
5312
  response: {
5311
5313
  400: "Бүтээгдэхүүн оруулах мэдээлэл байхгүй байна.";
5312
- 401: "Session not found";
5314
+ 401: "Токен олдсонгүй";
5313
5315
  422: {
5314
5316
  type: "validation";
5315
5317
  on: string;
@@ -5353,7 +5355,7 @@ export declare const app: Elysia<"", {
5353
5355
  deletedAt: string | null;
5354
5356
  oldId: number | null;
5355
5357
  };
5356
- 401: "Session not found";
5358
+ 401: "Токен олдсонгүй";
5357
5359
  404: "Үйлчилгээний багцын бүтээгдэхүүн олдсонгүй.";
5358
5360
  422: {
5359
5361
  type: "validation";
@@ -5379,7 +5381,7 @@ export declare const app: Elysia<"", {
5379
5381
  query: unknown;
5380
5382
  headers: unknown;
5381
5383
  response: {
5382
- 401: "Session not found";
5384
+ 401: "Токен олдсонгүй";
5383
5385
  422: {
5384
5386
  type: "validation";
5385
5387
  on: string;
@@ -5450,7 +5452,7 @@ export declare const app: Elysia<"", {
5450
5452
  oldId: number | null;
5451
5453
  }[];
5452
5454
  };
5453
- 401: "Session not found";
5455
+ 401: "Токен олдсонгүй";
5454
5456
  422: {
5455
5457
  type: "validation";
5456
5458
  on: string;
@@ -5489,7 +5491,7 @@ export declare const app: Elysia<"", {
5489
5491
  companyBranchId: string | null;
5490
5492
  priceTotal: number;
5491
5493
  };
5492
- 401: "Session not found";
5494
+ 401: "Токен олдсонгүй";
5493
5495
  422: {
5494
5496
  type: "validation";
5495
5497
  on: string;
@@ -5531,7 +5533,7 @@ export declare const app: Elysia<"", {
5531
5533
  deletedAt: string | null;
5532
5534
  oldId: number | null;
5533
5535
  };
5534
- 401: "Session not found";
5536
+ 401: "Токен олдсонгүй";
5535
5537
  404: "Багцийн үйлчилгээ олдсонгүй.";
5536
5538
  422: {
5537
5539
  type: "validation";
@@ -5557,7 +5559,7 @@ export declare const app: Elysia<"", {
5557
5559
  query: unknown;
5558
5560
  headers: unknown;
5559
5561
  response: {
5560
- 401: "Session not found";
5562
+ 401: "Токен олдсонгүй";
5561
5563
  422: {
5562
5564
  type: "validation";
5563
5565
  on: string;
@@ -5750,7 +5752,7 @@ export declare const app: Elysia<"", {
5750
5752
  } | null;
5751
5753
  }[];
5752
5754
  };
5753
- 401: "Session not found";
5755
+ 401: "Токен олдсонгүй";
5754
5756
  422: {
5755
5757
  type: "validation";
5756
5758
  on: string;
@@ -5805,7 +5807,7 @@ export declare const app: Elysia<"", {
5805
5807
  vehicleKindId: string;
5806
5808
  };
5807
5809
  400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
5808
- 401: "Session not found";
5810
+ 401: "Токен олдсонгүй";
5809
5811
  422: {
5810
5812
  type: "validation";
5811
5813
  on: string;
@@ -5901,7 +5903,7 @@ export declare const app: Elysia<"", {
5901
5903
  oldId: number | null;
5902
5904
  } | null;
5903
5905
  };
5904
- 401: "Session not found";
5906
+ 401: "Токен олдсонгүй";
5905
5907
  404: "Тээврийн хэрэгсэл олдсонгүй.";
5906
5908
  422: {
5907
5909
  type: "validation";
@@ -5976,7 +5978,7 @@ export declare const app: Elysia<"", {
5976
5978
  deletedAt: string | null;
5977
5979
  oldId: number | null;
5978
5980
  };
5979
- 401: "Session not found";
5981
+ 401: "Токен олдсонгүй";
5980
5982
  404: "Тээврийн хэрэгсэл олдсонгүй.";
5981
5983
  422: {
5982
5984
  type: "validation";
@@ -6030,7 +6032,7 @@ export declare const app: Elysia<"", {
6030
6032
  deletedAt: string | null;
6031
6033
  oldId: number | null;
6032
6034
  };
6033
- 401: "Session not found";
6035
+ 401: "Токен олдсонгүй";
6034
6036
  404: "Тээврийн хэрэгсэл олдсонгүй.";
6035
6037
  422: {
6036
6038
  type: "validation";
@@ -6109,7 +6111,7 @@ export declare const app: Elysia<"", {
6109
6111
  }[];
6110
6112
  }[];
6111
6113
  };
6112
- 401: "Session not found";
6114
+ 401: "Токен олдсонгүй";
6113
6115
  422: {
6114
6116
  type: "validation";
6115
6117
  on: string;
@@ -6151,7 +6153,7 @@ export declare const app: Elysia<"", {
6151
6153
  phoneNumber: string;
6152
6154
  regNum: string | null;
6153
6155
  };
6154
- 401: "Session not found";
6156
+ 401: "Токен олдсонгүй";
6155
6157
  422: {
6156
6158
  type: "validation";
6157
6159
  on: string;
@@ -6196,7 +6198,7 @@ export declare const app: Elysia<"", {
6196
6198
  deletedAt: string | null;
6197
6199
  oldId: number | null;
6198
6200
  };
6199
- 401: "Session not found";
6201
+ 401: "Токен олдсонгүй";
6200
6202
  404: "Хэрэглэгч олдсонгүй.";
6201
6203
  422: {
6202
6204
  type: "validation";
@@ -6228,7 +6230,7 @@ export declare const app: Elysia<"", {
6228
6230
  count: number;
6229
6231
  month: string;
6230
6232
  }[];
6231
- 401: "Session not found";
6233
+ 401: "Токен олдсонгүй";
6232
6234
  };
6233
6235
  };
6234
6236
  };
@@ -6246,7 +6248,7 @@ export declare const app: Elysia<"", {
6246
6248
  count: number;
6247
6249
  month: string;
6248
6250
  }[];
6249
- 401: "Session not found";
6251
+ 401: "Токен олдсонгүй";
6250
6252
  };
6251
6253
  };
6252
6254
  };
@@ -6264,7 +6266,7 @@ export declare const app: Elysia<"", {
6264
6266
  count: number;
6265
6267
  month: string;
6266
6268
  }[];
6267
- 401: "Session not found";
6269
+ 401: "Токен олдсонгүй";
6268
6270
  };
6269
6271
  };
6270
6272
  };
@@ -6282,7 +6284,7 @@ export declare const app: Elysia<"", {
6282
6284
  amount: number;
6283
6285
  month: string;
6284
6286
  }[];
6285
- 401: "Session not found";
6287
+ 401: "Токен олдсонгүй";
6286
6288
  };
6287
6289
  };
6288
6290
  };
@@ -6304,7 +6306,7 @@ export declare const app: Elysia<"", {
6304
6306
  partNumber: string;
6305
6307
  };
6306
6308
  }[];
6307
- 401: "Session not found";
6309
+ 401: "Токен олдсонгүй";
6308
6310
  };
6309
6311
  };
6310
6312
  };
@@ -6325,7 +6327,7 @@ export declare const app: Elysia<"", {
6325
6327
  name: string;
6326
6328
  };
6327
6329
  }[];
6328
- 401: "Session not found";
6330
+ 401: "Токен олдсонгүй";
6329
6331
  };
6330
6332
  };
6331
6333
  };
@@ -6346,7 +6348,7 @@ export declare const app: Elysia<"", {
6346
6348
  name: string;
6347
6349
  };
6348
6350
  }[];
6349
- 401: "Session not found";
6351
+ 401: "Токен олдсонгүй";
6350
6352
  };
6351
6353
  };
6352
6354
  };
@@ -6364,7 +6366,7 @@ export declare const app: Elysia<"", {
6364
6366
  amount: number;
6365
6367
  date: string;
6366
6368
  }[];
6367
- 401: "Session not found";
6369
+ 401: "Токен олдсонгүй";
6368
6370
  };
6369
6371
  };
6370
6372
  };
@@ -6400,8 +6402,8 @@ export declare const app: Elysia<"", {
6400
6402
  deletedAt: string | null;
6401
6403
  oldId: number | null;
6402
6404
  description: string | null;
6403
- state: "CREATED" | "ACTIVE" | "ARCHIVED";
6404
6405
  amount: number;
6406
+ state: "CREATED" | "ACTIVE" | "ARCHIVED";
6405
6407
  applyType: "ORDER" | "ITEM";
6406
6408
  discountType: "PERCENTAGE" | "FIXED";
6407
6409
  };
@@ -6417,7 +6419,7 @@ export declare const app: Elysia<"", {
6417
6419
  })[];
6418
6420
  }[];
6419
6421
  };
6420
- 401: "Session not found";
6422
+ 401: "Токен олдсонгүй";
6421
6423
  422: {
6422
6424
  type: "validation";
6423
6425
  on: string;
@@ -6436,8 +6438,8 @@ export declare const app: Elysia<"", {
6436
6438
  body: {
6437
6439
  oldId?: number | null | undefined;
6438
6440
  description?: string | null | undefined;
6439
- state?: "CREATED" | "ACTIVE" | "ARCHIVED" | undefined;
6440
6441
  amount?: number | undefined;
6442
+ state?: "CREATED" | "ACTIVE" | "ARCHIVED" | undefined;
6441
6443
  name: string;
6442
6444
  companyId: string;
6443
6445
  applyType: "ORDER" | "ITEM";
@@ -6456,12 +6458,12 @@ export declare const app: Elysia<"", {
6456
6458
  deletedAt: string | null;
6457
6459
  oldId: number | null;
6458
6460
  description: string | null;
6459
- state: "CREATED" | "ACTIVE" | "ARCHIVED";
6460
6461
  amount: number;
6462
+ state: "CREATED" | "ACTIVE" | "ARCHIVED";
6461
6463
  applyType: "ORDER" | "ITEM";
6462
6464
  discountType: "PERCENTAGE" | "FIXED";
6463
6465
  };
6464
- 401: "Session not found";
6466
+ 401: "Токен олдсонгүй";
6465
6467
  422: {
6466
6468
  type: "validation";
6467
6469
  on: string;
@@ -6483,8 +6485,8 @@ export declare const app: Elysia<"", {
6483
6485
  companyId?: string | undefined;
6484
6486
  oldId?: number | null | undefined;
6485
6487
  description?: string | null | undefined;
6486
- state?: "CREATED" | "ACTIVE" | "ARCHIVED" | undefined;
6487
6488
  amount?: number | undefined;
6489
+ state?: "CREATED" | "ACTIVE" | "ARCHIVED" | undefined;
6488
6490
  applyType?: "ORDER" | "ITEM" | undefined;
6489
6491
  discountType?: "PERCENTAGE" | "FIXED" | undefined;
6490
6492
  };
@@ -6508,7 +6510,7 @@ export declare const app: Elysia<"", {
6508
6510
  deletedAt: string | null;
6509
6511
  oldId: number | null;
6510
6512
  };
6511
- 401: "Session not found";
6513
+ 401: "Токен олдсонгүй";
6512
6514
  404: "Хөнгөлөлт олдсонгүй.";
6513
6515
  422: {
6514
6516
  type: "validation";
@@ -6543,12 +6545,12 @@ export declare const app: Elysia<"", {
6543
6545
  deletedAt: string | null;
6544
6546
  oldId: number | null;
6545
6547
  description: string | null;
6546
- state: "CREATED" | "ACTIVE" | "ARCHIVED";
6547
6548
  amount: number;
6549
+ state: "CREATED" | "ACTIVE" | "ARCHIVED";
6548
6550
  applyType: "ORDER" | "ITEM";
6549
6551
  discountType: "PERCENTAGE" | "FIXED";
6550
6552
  };
6551
- 401: "Session not found";
6553
+ 401: "Токен олдсонгүй";
6552
6554
  404: "Хөнгөлөлт олдсонгүй.";
6553
6555
  422: {
6554
6556
  type: "validation";
@@ -6604,7 +6606,7 @@ export declare const app: Elysia<"", {
6604
6606
  conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
6605
6607
  conditionValue: unknown;
6606
6608
  };
6607
- 401: "Session not found";
6609
+ 401: "Токен олдсонгүй";
6608
6610
  404: "Хөнгөлөлт олдсонгүй.";
6609
6611
  422: {
6610
6612
  type: "validation";
@@ -6663,7 +6665,7 @@ export declare const app: Elysia<"", {
6663
6665
  deletedAt: string | null;
6664
6666
  oldId: number | null;
6665
6667
  };
6666
- 401: "Session not found";
6668
+ 401: "Токен олдсонгүй";
6667
6669
  404: "Хөнгөлөлтийн нөхцөл олдсонгүй.";
6668
6670
  422: {
6669
6671
  type: "validation";
@@ -6701,7 +6703,7 @@ export declare const app: Elysia<"", {
6701
6703
  conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
6702
6704
  conditionValue: unknown;
6703
6705
  };
6704
- 401: "Session not found";
6706
+ 401: "Токен олдсонгүй";
6705
6707
  404: "Хөнгөлөлтийн нөхцөл олдсонгүй.";
6706
6708
  422: {
6707
6709
  type: "validation";
@@ -6723,9 +6725,9 @@ export declare const app: Elysia<"", {
6723
6725
  post: {
6724
6726
  body: {
6725
6727
  oldId?: number | null | undefined;
6728
+ note?: string | null | undefined;
6726
6729
  cpOrderItemId?: string | null | undefined;
6727
6730
  discountId?: string | null | undefined;
6728
- note?: string | null | undefined;
6729
6731
  cpOrderId: string;
6730
6732
  valueApplied: number;
6731
6733
  priceBeforeDiscount: number;
@@ -6742,17 +6744,17 @@ export declare const app: Elysia<"", {
6742
6744
  employeeId: string;
6743
6745
  deletedAt: string | null;
6744
6746
  oldId: number | null;
6747
+ note: string | null;
6745
6748
  cpOrderId: string;
6746
6749
  cpOrderItemId: string | null;
6747
6750
  discountId: string | null;
6748
6751
  valueApplied: number;
6749
6752
  priceBeforeDiscount: number;
6750
6753
  priceAfterDiscount: number;
6751
- note: string | null;
6752
6754
  authUserId: string;
6753
6755
  };
6754
6756
  400: "Хэрэглэгчийн ажилтан ID олдсонгүй.";
6755
- 401: "Session not found";
6757
+ 401: "Токен олдсонгүй";
6756
6758
  422: {
6757
6759
  type: "validation";
6758
6760
  on: string;
@@ -6774,13 +6776,13 @@ export declare const app: Elysia<"", {
6774
6776
  body: {
6775
6777
  employeeId?: string | undefined;
6776
6778
  oldId?: number | null | undefined;
6779
+ note?: string | null | undefined;
6777
6780
  cpOrderId?: string | undefined;
6778
6781
  cpOrderItemId?: string | null | undefined;
6779
6782
  discountId?: string | null | undefined;
6780
6783
  valueApplied?: number | undefined;
6781
6784
  priceBeforeDiscount?: number | undefined;
6782
6785
  priceAfterDiscount?: number | undefined;
6783
- note?: string | null | undefined;
6784
6786
  authUserId?: string | undefined;
6785
6787
  };
6786
6788
  params: {
@@ -6805,7 +6807,7 @@ export declare const app: Elysia<"", {
6805
6807
  deletedAt: string | null;
6806
6808
  oldId: number | null;
6807
6809
  };
6808
- 401: "Session not found";
6810
+ 401: "Токен олдсонгүй";
6809
6811
  404: "Хөнгөлөлтийн хэрэглээ олдсонгүй.";
6810
6812
  422: {
6811
6813
  type: "validation";
@@ -6833,7 +6835,7 @@ export declare const app: Elysia<"", {
6833
6835
  query: unknown;
6834
6836
  headers: unknown;
6835
6837
  response: {
6836
- 401: "Session not found";
6838
+ 401: "Токен олдсонгүй";
6837
6839
  404: "Хөнгөлөлтийн хэрэглээ олдсонгүй.";
6838
6840
  422: {
6839
6841
  type: "validation";
@@ -6891,7 +6893,7 @@ export declare const app: Elysia<"", {
6891
6893
  }[] | null;
6892
6894
  createdAt: string;
6893
6895
  expireAt: Date;
6894
- status: "CREATED" | "APPROVED" | "CANCELLED";
6896
+ status: "CANCELLED" | "CREATED" | "APPROVED";
6895
6897
  };
6896
6898
  }[];
6897
6899
  422: {
@@ -6915,7 +6917,7 @@ export declare const app: Elysia<"", {
6915
6917
  query: {
6916
6918
  search?: string | undefined;
6917
6919
  licensePlate?: string | undefined;
6918
- status?: "CREATED" | "APPROVED" | "CANCELLED" | undefined;
6920
+ status?: "CANCELLED" | "CREATED" | "APPROVED" | undefined;
6919
6921
  pagination: {
6920
6922
  size: number;
6921
6923
  page: number;
@@ -6945,7 +6947,7 @@ export declare const app: Elysia<"", {
6945
6947
  rank: string | null;
6946
6948
  licensePlate: string;
6947
6949
  description: string | null;
6948
- status: "CREATED" | "APPROVED" | "CANCELLED";
6950
+ status: "CANCELLED" | "CREATED" | "APPROVED";
6949
6951
  id: string;
6950
6952
  createdAt: string;
6951
6953
  updatedAt: string;
@@ -6984,7 +6986,7 @@ export declare const app: Elysia<"", {
6984
6986
  } | null;
6985
6987
  }[];
6986
6988
  };
6987
- 401: "Session not found";
6989
+ 401: "Токен олдсонгүй";
6988
6990
  422: {
6989
6991
  type: "validation";
6990
6992
  on: string;
@@ -7029,6 +7031,7 @@ export declare const app: Elysia<"", {
7029
7031
  description: string | null;
7030
7032
  vehicleId: string;
7031
7033
  licensePlate: string;
7034
+ status: "CANCELLED" | "CREATED" | "APPROVED";
7032
7035
  inspection: {
7033
7036
  type: string;
7034
7037
  values: {
@@ -7037,13 +7040,12 @@ export declare const app: Elysia<"", {
7037
7040
  answer: string;
7038
7041
  }[];
7039
7042
  }[] | null;
7040
- status: "CREATED" | "APPROVED" | "CANCELLED";
7041
7043
  expireAt: Date;
7042
7044
  experience: string | null;
7043
7045
  rank: string | null;
7044
7046
  };
7045
7047
  400: "Машины дугаар болон VIN хоёроос нэгийг нь оруулна уу." | "Машины VIN оруулсан бол машины төрөл оруулна уу.";
7046
- 401: "Session not found";
7048
+ 401: "Токен олдсонгүй";
7047
7049
  422: {
7048
7050
  type: "validation";
7049
7051
  on: string;
@@ -7102,12 +7104,12 @@ export declare const app: Elysia<"", {
7102
7104
  }[] | null;
7103
7105
  createdAt: string;
7104
7106
  expireAt: Date;
7105
- status: "CREATED" | "APPROVED" | "CANCELLED";
7107
+ status: "CANCELLED" | "CREATED" | "APPROVED";
7106
7108
  };
7107
7109
  totalCount: number;
7108
7110
  }[];
7109
7111
  };
7110
- 401: "Session not found";
7112
+ 401: "Токен олдсонгүй";
7111
7113
  422: {
7112
7114
  type: "validation";
7113
7115
  on: string;
@@ -7150,14 +7152,14 @@ export declare const app: Elysia<"", {
7150
7152
  rank: string | null;
7151
7153
  licensePlate: string;
7152
7154
  description: string | null;
7153
- status: "CREATED" | "APPROVED" | "CANCELLED";
7155
+ status: "CANCELLED" | "CREATED" | "APPROVED";
7154
7156
  id: string;
7155
7157
  createdAt: string;
7156
7158
  updatedAt: string;
7157
7159
  deletedAt: string | null;
7158
7160
  oldId: number | null;
7159
7161
  };
7160
- 401: "Session not found";
7162
+ 401: "Токен олдсонгүй";
7161
7163
  404: "Үзлэг олдсонгүй.";
7162
7164
  422: {
7163
7165
  type: "validation";
@@ -7183,7 +7185,7 @@ export declare const app: Elysia<"", {
7183
7185
  query: unknown;
7184
7186
  headers: unknown;
7185
7187
  response: {
7186
- 401: "Session not found";
7188
+ 401: "Токен олдсонгүй";
7187
7189
  404: "Үзлэг олдсонгүй.";
7188
7190
  422: {
7189
7191
  type: "validation";
@@ -7227,14 +7229,14 @@ export declare const app: Elysia<"", {
7227
7229
  rank: string | null;
7228
7230
  licensePlate: string;
7229
7231
  description: string | null;
7230
- status: "CREATED" | "APPROVED" | "CANCELLED";
7232
+ status: "CANCELLED" | "CREATED" | "APPROVED";
7231
7233
  id: string;
7232
7234
  createdAt: string;
7233
7235
  updatedAt: string;
7234
7236
  deletedAt: string | null;
7235
7237
  oldId: number | null;
7236
7238
  };
7237
- 401: "Session not found";
7239
+ 401: "Токен олдсонгүй";
7238
7240
  404: "Үзлэг олдсонгүй.";
7239
7241
  422: {
7240
7242
  type: "validation";
@@ -7265,7 +7267,7 @@ export declare const app: Elysia<"", {
7265
7267
  cpOrderId: string;
7266
7268
  };
7267
7269
  400: string;
7268
- 401: "Session not found";
7270
+ 401: "Токен олдсонгүй";
7269
7271
  404: "Бараа олдсонгүй." | "Үйлчилгээний төрөл олдсонгүй." | "Үзлэг олдсонгүй.";
7270
7272
  422: {
7271
7273
  type: "validation";
@@ -7384,7 +7386,7 @@ export declare const app: Elysia<"", {
7384
7386
  totalAmount: number;
7385
7387
  paidAmount: number;
7386
7388
  }[];
7387
- 401: "Session not found";
7389
+ 401: "Токен олдсонгүй";
7388
7390
  422: {
7389
7391
  type: "validation";
7390
7392
  on: string;
@@ -7422,7 +7424,7 @@ export declare const app: Elysia<"", {
7422
7424
  ordersPending: number;
7423
7425
  ordersCancelled: number;
7424
7426
  };
7425
- 401: "Session not found";
7427
+ 401: "Токен олдсонгүй";
7426
7428
  422: {
7427
7429
  type: "validation";
7428
7430
  on: string;
@@ -7458,7 +7460,7 @@ export declare const app: Elysia<"", {
7458
7460
  totalPaidAmount: number;
7459
7461
  period: string;
7460
7462
  }[];
7461
- 401: "Session not found";
7463
+ 401: "Токен олдсонгүй";
7462
7464
  422: {
7463
7465
  type: "validation";
7464
7466
  on: string;
@@ -7499,7 +7501,7 @@ export declare const app: Elysia<"", {
7499
7501
  totalRevenue: number;
7500
7502
  totalCommission: number;
7501
7503
  }[];
7502
- 401: "Session not found";
7504
+ 401: "Токен олдсонгүй";
7503
7505
  422: {
7504
7506
  type: "validation";
7505
7507
  on: string;
@@ -7541,7 +7543,7 @@ export declare const app: Elysia<"", {
7541
7543
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
7542
7544
  paymentChannel: string;
7543
7545
  amount: number;
7544
- state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
7546
+ state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
7545
7547
  invoiceNumber: string | null;
7546
7548
  id: string;
7547
7549
  createdAt: string;
@@ -7581,7 +7583,7 @@ export declare const app: Elysia<"", {
7581
7583
  oldId: number | null;
7582
7584
  } | null;
7583
7585
  }[];
7584
- 401: "Session not found";
7586
+ 401: "Токен олдсонгүй";
7585
7587
  422: {
7586
7588
  type: "validation";
7587
7589
  on: string;
@@ -7614,7 +7616,7 @@ export declare const app: Elysia<"", {
7614
7616
  headers: unknown;
7615
7617
  response: {
7616
7618
  200: string;
7617
- 401: "Session not found";
7619
+ 401: "Токен олдсонгүй";
7618
7620
  422: {
7619
7621
  type: "validation";
7620
7622
  on: string;
@@ -7645,7 +7647,7 @@ export declare const app: Elysia<"", {
7645
7647
  headers: unknown;
7646
7648
  response: {
7647
7649
  200: string;
7648
- 401: "Session not found";
7650
+ 401: "Токен олдсонгүй";
7649
7651
  422: {
7650
7652
  type: "validation";
7651
7653
  on: string;
@@ -7678,7 +7680,7 @@ export declare const app: Elysia<"", {
7678
7680
  headers: unknown;
7679
7681
  response: {
7680
7682
  200: string;
7681
- 401: "Session not found";
7683
+ 401: "Токен олдсонгүй";
7682
7684
  422: {
7683
7685
  type: "validation";
7684
7686
  on: string;
@@ -7714,7 +7716,7 @@ export declare const app: Elysia<"", {
7714
7716
  headers: unknown;
7715
7717
  response: {
7716
7718
  200: string;
7717
- 401: "Session not found";
7719
+ 401: "Токен олдсонгүй";
7718
7720
  422: {
7719
7721
  type: "validation";
7720
7722
  on: string;
@@ -7749,7 +7751,7 @@ export declare const app: Elysia<"", {
7749
7751
  headers: unknown;
7750
7752
  response: {
7751
7753
  200: string;
7752
- 401: "Session not found";
7754
+ 401: "Токен олдсонгүй";
7753
7755
  422: {
7754
7756
  type: "validation";
7755
7757
  on: string;
@@ -7772,6 +7774,7 @@ export declare const app: Elysia<"", {
7772
7774
  params: {};
7773
7775
  query: {
7774
7776
  type?: "Service" | "Product" | undefined;
7777
+ branchId?: string | undefined;
7775
7778
  employeeId?: string | undefined;
7776
7779
  phoneNumber?: string | undefined;
7777
7780
  licensePlate?: string | undefined;
@@ -7809,7 +7812,7 @@ export declare const app: Elysia<"", {
7809
7812
  totalCount: number;
7810
7813
  }, "totalCount">[];
7811
7814
  };
7812
- 401: "Session not found";
7815
+ 401: "Токен олдсонгүй";
7813
7816
  422: {
7814
7817
  type: "validation";
7815
7818
  on: string;
@@ -7860,7 +7863,7 @@ export declare const app: Elysia<"", {
7860
7863
  oldId: number | null;
7861
7864
  }[];
7862
7865
  };
7863
- 401: "Session not found";
7866
+ 401: "Токен олдсонгүй";
7864
7867
  422: {
7865
7868
  type: "validation";
7866
7869
  on: string;
@@ -8031,7 +8034,7 @@ export declare const app: Elysia<"", {
8031
8034
  totalCount: number;
8032
8035
  }, "totalCount">[];
8033
8036
  };
8034
- 401: "Session not found";
8037
+ 401: "Токен олдсонгүй";
8035
8038
  422: {
8036
8039
  type: "validation";
8037
8040
  on: string;
@@ -8075,7 +8078,7 @@ export declare const app: Elysia<"", {
8075
8078
  yearEnd: number | null;
8076
8079
  imagePath: string | null;
8077
8080
  };
8078
- 401: "Session not found";
8081
+ 401: "Токен олдсонгүй";
8079
8082
  422: {
8080
8083
  type: "validation";
8081
8084
  on: string;
@@ -8122,7 +8125,7 @@ export declare const app: Elysia<"", {
8122
8125
  deletedAt: string | null;
8123
8126
  oldId: number | null;
8124
8127
  };
8125
- 401: "Session not found";
8128
+ 401: "Токен олдсонгүй";
8126
8129
  404: "Vehicle kind not found";
8127
8130
  422: {
8128
8131
  type: "validation";
@@ -8170,7 +8173,7 @@ export declare const app: Elysia<"", {
8170
8173
  oldId: number | null;
8171
8174
  }, "totalCount">[];
8172
8175
  };
8173
- 401: "Session not found";
8176
+ 401: "Токен олдсонгүй";
8174
8177
  422: {
8175
8178
  type: "validation";
8176
8179
  on: string;
@@ -8204,7 +8207,7 @@ export declare const app: Elysia<"", {
8204
8207
  oldId: number | null;
8205
8208
  description: string | null;
8206
8209
  };
8207
- 401: "Session not found";
8210
+ 401: "Токен олдсонгүй";
8208
8211
  422: {
8209
8212
  type: "validation";
8210
8213
  on: string;
@@ -8241,7 +8244,7 @@ export declare const app: Elysia<"", {
8241
8244
  deletedAt: string | null;
8242
8245
  oldId: number | null;
8243
8246
  };
8244
- 401: "Session not found";
8247
+ 401: "Токен олдсонгүй";
8245
8248
  404: "Бүтээгдэхүүний ангилал олдсонгүй.";
8246
8249
  422: {
8247
8250
  type: "validation";
@@ -8267,7 +8270,7 @@ export declare const app: Elysia<"", {
8267
8270
  query: unknown;
8268
8271
  headers: unknown;
8269
8272
  response: {
8270
- 401: "Session not found";
8273
+ 401: "Токен олдсонгүй";
8271
8274
  422: {
8272
8275
  type: "validation";
8273
8276
  on: string;
@@ -8325,7 +8328,7 @@ export declare const app: Elysia<"", {
8325
8328
  oldId: number | null;
8326
8329
  }, "totalCount">[];
8327
8330
  };
8328
- 401: "Session not found";
8331
+ 401: "Токен олдсонгүй";
8329
8332
  422: {
8330
8333
  type: "validation";
8331
8334
  on: string;
@@ -8361,7 +8364,7 @@ export declare const app: Elysia<"", {
8361
8364
  description: string | null;
8362
8365
  productCategoryId: string;
8363
8366
  };
8364
- 401: "Session not found";
8367
+ 401: "Токен олдсонгүй";
8365
8368
  422: {
8366
8369
  type: "validation";
8367
8370
  on: string;
@@ -8400,7 +8403,7 @@ export declare const app: Elysia<"", {
8400
8403
  deletedAt: string | null;
8401
8404
  oldId: number | null;
8402
8405
  };
8403
- 401: "Session not found";
8406
+ 401: "Токен олдсонгүй";
8404
8407
  404: "Бүтээгдэхүүний төрөл олдсонгүй.";
8405
8408
  422: {
8406
8409
  type: "validation";
@@ -8426,7 +8429,7 @@ export declare const app: Elysia<"", {
8426
8429
  query: unknown;
8427
8430
  headers: unknown;
8428
8431
  response: {
8429
- 401: "Session not found";
8432
+ 401: "Токен олдсонгүй";
8430
8433
  422: {
8431
8434
  type: "validation";
8432
8435
  on: string;
@@ -8495,7 +8498,7 @@ export declare const app: Elysia<"", {
8495
8498
  oldId: number | null;
8496
8499
  }, "totalCount">[];
8497
8500
  };
8498
- 401: "Session not found";
8501
+ 401: "Токен олдсонгүй";
8499
8502
  422: {
8500
8503
  type: "validation";
8501
8504
  on: string;
@@ -8531,7 +8534,7 @@ export declare const app: Elysia<"", {
8531
8534
  productKindTwoId: string;
8532
8535
  relateType: "INCLUDE" | "EXCLUDE" | "ALTERNATIVE" | "EQUIVALENT" | "ACCESSORY" | "COMPONENT" | "DEPENDENCY" | "UPGRADE" | "DERIVED";
8533
8536
  };
8534
- 401: "Session not found";
8537
+ 401: "Токен олдсонгүй";
8535
8538
  422: {
8536
8539
  type: "validation";
8537
8540
  on: string;
@@ -8570,7 +8573,7 @@ export declare const app: Elysia<"", {
8570
8573
  deletedAt: string | null;
8571
8574
  oldId: number | null;
8572
8575
  };
8573
- 401: "Session not found";
8576
+ 401: "Токен олдсонгүй";
8574
8577
  404: "Бүтээгдэхүүний холбоос олдсонгүй.";
8575
8578
  422: {
8576
8579
  type: "validation";
@@ -8596,7 +8599,7 @@ export declare const app: Elysia<"", {
8596
8599
  query: unknown;
8597
8600
  headers: unknown;
8598
8601
  response: {
8599
- 401: "Session not found";
8602
+ 401: "Токен олдсонгүй";
8600
8603
  422: {
8601
8604
  type: "validation";
8602
8605
  on: string;
@@ -8651,7 +8654,7 @@ export declare const app: Elysia<"", {
8651
8654
  oldId: number | null;
8652
8655
  }[];
8653
8656
  };
8654
- 401: "Session not found";
8657
+ 401: "Токен олдсонгүй";
8655
8658
  422: {
8656
8659
  type: "validation";
8657
8660
  on: string;
@@ -8914,7 +8917,7 @@ export declare const app: Elysia<"", {
8914
8917
  oldId: number | null;
8915
8918
  }, "totalCount">[];
8916
8919
  };
8917
- 401: "Session not found";
8920
+ 401: "Токен олдсонгүй";
8918
8921
  422: {
8919
8922
  type: "validation";
8920
8923
  on: string;
@@ -8958,7 +8961,7 @@ export declare const app: Elysia<"", {
8958
8961
  oldId: number | null;
8959
8962
  }[];
8960
8963
  400: "Хяналтын үр дүн оруулах мэдээлэл байхгүй байна." | "Бүх үр дүн нь ижил хяналтын үзлэгт хамаарах ёстой.";
8961
- 401: "Session not found";
8964
+ 401: "Токен олдсонгүй";
8962
8965
  422: {
8963
8966
  type: "validation";
8964
8967
  on: string;
@@ -8985,7 +8988,7 @@ export declare const app: Elysia<"", {
8985
8988
  query: unknown;
8986
8989
  headers: unknown;
8987
8990
  response: {
8988
- 401: "Session not found";
8991
+ 401: "Токен олдсонгүй";
8989
8992
  404: "Хяналтын үзлэг олдсонгүй.";
8990
8993
  422: {
8991
8994
  type: "validation";
@@ -9340,7 +9343,7 @@ export declare const app: Elysia<"", {
9340
9343
  totalCount: number;
9341
9344
  }, "totalCount">[];
9342
9345
  };
9343
- 401: "Session not found";
9346
+ 401: "Токен олдсонгүй";
9344
9347
  422: {
9345
9348
  type: "validation";
9346
9349
  on: string;
@@ -9368,7 +9371,7 @@ export declare const app: Elysia<"", {
9368
9371
  query: unknown;
9369
9372
  headers: unknown;
9370
9373
  response: {
9371
- 401: "Session not found";
9374
+ 401: "Токен олдсонгүй";
9372
9375
  422: {
9373
9376
  type: "validation";
9374
9377
  on: string;
@@ -9400,7 +9403,7 @@ export declare const app: Elysia<"", {
9400
9403
  query: unknown;
9401
9404
  headers: unknown;
9402
9405
  response: {
9403
- 401: "Session not found";
9406
+ 401: "Токен олдсонгүй";
9404
9407
  422: {
9405
9408
  type: "validation";
9406
9409
  on: string;
@@ -9425,7 +9428,7 @@ export declare const app: Elysia<"", {
9425
9428
  query: unknown;
9426
9429
  headers: unknown;
9427
9430
  response: {
9428
- 401: "Session not found";
9431
+ 401: "Токен олдсонгүй";
9429
9432
  422: {
9430
9433
  type: "validation";
9431
9434
  on: string;
@@ -9452,6 +9455,7 @@ export declare const app: Elysia<"", {
9452
9455
  state?: "CREATED" | "SCHEDULED" | "IN_PROGRESS" | "COMPLETED" | undefined;
9453
9456
  templateId?: string | undefined;
9454
9457
  machineId?: string | undefined;
9458
+ stateResult?: "FAILED" | "NOT_INSPECTED" | "PASSED" | "RETURNED" | "WAIVED" | undefined;
9455
9459
  startDate?: string | undefined;
9456
9460
  endDate?: string | undefined;
9457
9461
  pagination: {
@@ -9517,7 +9521,7 @@ export declare const app: Elysia<"", {
9517
9521
  } | null;
9518
9522
  }, "totalCount">[];
9519
9523
  };
9520
- 401: "Session not found";
9524
+ 401: "Токен олдсонгүй";
9521
9525
  422: {
9522
9526
  type: "validation";
9523
9527
  on: string;
@@ -9535,9 +9539,9 @@ export declare const app: Elysia<"", {
9535
9539
  post: {
9536
9540
  body: {
9537
9541
  oldId?: number | null | undefined;
9542
+ note?: string | null | undefined;
9538
9543
  state?: "CREATED" | "SCHEDULED" | "IN_PROGRESS" | "COMPLETED" | undefined;
9539
9544
  timeCompleted?: Date | null | undefined;
9540
- note?: string | null | undefined;
9541
9545
  hours?: number | null | undefined;
9542
9546
  mileageKm?: number | null | undefined;
9543
9547
  stateResult?: "FAILED" | "NOT_INSPECTED" | "PASSED" | "RETURNED" | "WAIVED" | null | undefined;
@@ -9550,7 +9554,7 @@ export declare const app: Elysia<"", {
9550
9554
  headers: unknown;
9551
9555
  response: {
9552
9556
  400: "Ажилтны мэдээлэл шаардлагатай.";
9553
- 401: "Session not found";
9557
+ 401: "Токен олдсонгүй";
9554
9558
  422: {
9555
9559
  type: "validation";
9556
9560
  on: string;
@@ -9569,9 +9573,9 @@ export declare const app: Elysia<"", {
9569
9573
  put: {
9570
9574
  body: {
9571
9575
  oldId?: number | null | undefined;
9576
+ note?: string | null | undefined;
9572
9577
  state?: "CREATED" | "SCHEDULED" | "IN_PROGRESS" | "COMPLETED" | undefined;
9573
9578
  timeCompleted?: Date | null | undefined;
9574
- note?: string | null | undefined;
9575
9579
  templateId?: string | undefined;
9576
9580
  machineId?: string | undefined;
9577
9581
  employeeInspectedId?: string | undefined;
@@ -9605,7 +9609,7 @@ export declare const app: Elysia<"", {
9605
9609
  deletedAt: string | null;
9606
9610
  oldId: number | null;
9607
9611
  };
9608
- 401: "Session not found";
9612
+ 401: "Токен олдсонгүй";
9609
9613
  404: "Хяналтын үзлэг олдсонгүй.";
9610
9614
  422: {
9611
9615
  type: "validation";
@@ -10003,7 +10007,7 @@ export declare const app: Elysia<"", {
10003
10007
  oldId: number | null;
10004
10008
  }, "totalCount">[];
10005
10009
  };
10006
- 401: "Session not found";
10010
+ 401: "Токен олдсонгүй";
10007
10011
  422: {
10008
10012
  type: "validation";
10009
10013
  on: string;
@@ -10047,7 +10051,7 @@ export declare const app: Elysia<"", {
10047
10051
  query: unknown;
10048
10052
  headers: unknown;
10049
10053
  response: {
10050
- 401: "Session not found";
10054
+ 401: "Токен олдсонгүй";
10051
10055
  422: {
10052
10056
  type: "validation";
10053
10057
  on: string;
@@ -10094,7 +10098,7 @@ export declare const app: Elysia<"", {
10094
10098
  query: unknown;
10095
10099
  headers: unknown;
10096
10100
  response: {
10097
- 401: "Session not found";
10101
+ 401: "Токен олдсонгүй";
10098
10102
  422: {
10099
10103
  type: "validation";
10100
10104
  on: string;
@@ -10119,7 +10123,7 @@ export declare const app: Elysia<"", {
10119
10123
  query: unknown;
10120
10124
  headers: unknown;
10121
10125
  response: {
10122
- 401: "Session not found";
10126
+ 401: "Токен олдсонгүй";
10123
10127
  422: {
10124
10128
  type: "validation";
10125
10129
  on: string;
@@ -10168,7 +10172,7 @@ export declare const app: Elysia<"", {
10168
10172
  oldId: number | null;
10169
10173
  }, "totalCount">[];
10170
10174
  };
10171
- 401: "Session not found";
10175
+ 401: "Токен олдсонгүй";
10172
10176
  422: {
10173
10177
  type: "validation";
10174
10178
  on: string;
@@ -10202,7 +10206,7 @@ export declare const app: Elysia<"", {
10202
10206
  oldId: number | null;
10203
10207
  description: string | null;
10204
10208
  };
10205
- 401: "Session not found";
10209
+ 401: "Токен олдсонгүй";
10206
10210
  422: {
10207
10211
  type: "validation";
10208
10212
  on: string;
@@ -10239,7 +10243,7 @@ export declare const app: Elysia<"", {
10239
10243
  deletedAt: string | null;
10240
10244
  oldId: number | null;
10241
10245
  };
10242
- 401: "Session not found";
10246
+ 401: "Токен олдсонгүй";
10243
10247
  422: {
10244
10248
  type: "validation";
10245
10249
  on: string;
@@ -10264,7 +10268,7 @@ export declare const app: Elysia<"", {
10264
10268
  query: unknown;
10265
10269
  headers: unknown;
10266
10270
  response: {
10267
- 401: "Session not found";
10271
+ 401: "Токен олдсонгүй";
10268
10272
  422: {
10269
10273
  type: "validation";
10270
10274
  on: string;
@@ -10313,7 +10317,7 @@ export declare const app: Elysia<"", {
10313
10317
  oldId: number | null;
10314
10318
  }, "totalCount">[];
10315
10319
  };
10316
- 401: "Session not found";
10320
+ 401: "Токен олдсонгүй";
10317
10321
  422: {
10318
10322
  type: "validation";
10319
10323
  on: string;
@@ -10351,7 +10355,7 @@ export declare const app: Elysia<"", {
10351
10355
  factor: number | null;
10352
10356
  isActive: boolean;
10353
10357
  };
10354
- 401: "Session not found";
10358
+ 401: "Токен олдсонгүй";
10355
10359
  422: {
10356
10360
  type: "validation";
10357
10361
  on: string;
@@ -10392,7 +10396,7 @@ export declare const app: Elysia<"", {
10392
10396
  deletedAt: string | null;
10393
10397
  oldId: number | null;
10394
10398
  };
10395
- 401: "Session not found";
10399
+ 401: "Токен олдсонгүй";
10396
10400
  422: {
10397
10401
  type: "validation";
10398
10402
  on: string;
@@ -10417,7 +10421,7 @@ export declare const app: Elysia<"", {
10417
10421
  query: unknown;
10418
10422
  headers: unknown;
10419
10423
  response: {
10420
- 401: "Session not found";
10424
+ 401: "Токен олдсонгүй";
10421
10425
  422: {
10422
10426
  type: "validation";
10423
10427
  on: string;