autosync_backend2 1.1.70 → 1.2.2
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 +405 -42
- package/dist/index.js +12213 -14713
- package/package.json +8 -7
package/dist/index.d.ts
CHANGED
@@ -294,14 +294,14 @@ export declare const app: Elysia<"", {
|
|
294
294
|
readonly "Not Extended": 510;
|
295
295
|
readonly "Network Authentication Required": 511;
|
296
296
|
}[Code] : Code>;
|
297
|
-
}) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "
|
297
|
+
}) => Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | {
|
298
298
|
user: {
|
299
299
|
id: string;
|
300
|
+
createdAt: Date;
|
301
|
+
updatedAt: Date;
|
300
302
|
email: string;
|
301
303
|
emailVerified: boolean;
|
302
304
|
name: string;
|
303
|
-
createdAt: Date;
|
304
|
-
updatedAt: Date;
|
305
305
|
image?: string | null | undefined | undefined;
|
306
306
|
companyId: string;
|
307
307
|
branchId: string;
|
@@ -310,10 +310,10 @@ export declare const app: Elysia<"", {
|
|
310
310
|
};
|
311
311
|
session: {
|
312
312
|
id: string;
|
313
|
-
userId: string;
|
314
|
-
expiresAt: Date;
|
315
313
|
createdAt: Date;
|
316
314
|
updatedAt: Date;
|
315
|
+
userId: string;
|
316
|
+
expiresAt: Date;
|
317
317
|
token: string;
|
318
318
|
ipAddress?: string | null | undefined | undefined;
|
319
319
|
userAgent?: string | null | undefined | undefined;
|
@@ -585,14 +585,14 @@ export declare const app: Elysia<"", {
|
|
585
585
|
readonly "Not Extended": 510;
|
586
586
|
readonly "Network Authentication Required": 511;
|
587
587
|
}[Code] : Code>;
|
588
|
-
}): Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "
|
588
|
+
}): Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | {
|
589
589
|
user: {
|
590
590
|
id: string;
|
591
|
+
createdAt: Date;
|
592
|
+
updatedAt: Date;
|
591
593
|
email: string;
|
592
594
|
emailVerified: boolean;
|
593
595
|
name: string;
|
594
|
-
createdAt: Date;
|
595
|
-
updatedAt: Date;
|
596
596
|
image?: string | null | undefined | undefined;
|
597
597
|
companyId: string;
|
598
598
|
branchId: string;
|
@@ -601,10 +601,10 @@ export declare const app: Elysia<"", {
|
|
601
601
|
};
|
602
602
|
session: {
|
603
603
|
id: string;
|
604
|
-
userId: string;
|
605
|
-
expiresAt: Date;
|
606
604
|
createdAt: Date;
|
607
605
|
updatedAt: Date;
|
606
|
+
userId: string;
|
607
|
+
expiresAt: Date;
|
608
608
|
token: string;
|
609
609
|
ipAddress?: string | null | undefined | undefined;
|
610
610
|
userAgent?: string | null | undefined | undefined;
|
@@ -876,14 +876,14 @@ export declare const app: Elysia<"", {
|
|
876
876
|
readonly "Not Extended": 510;
|
877
877
|
readonly "Network Authentication Required": 511;
|
878
878
|
}[Code] : Code>;
|
879
|
-
}): Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "
|
879
|
+
}): Promise<import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "Session not found", 401> | import("elysia").ElysiaCustomStatusResponse<"Forbidden", "Хандах эрхгүй байна.", 403> | {
|
880
880
|
user: {
|
881
881
|
id: string;
|
882
|
+
createdAt: Date;
|
883
|
+
updatedAt: Date;
|
882
884
|
email: string;
|
883
885
|
emailVerified: boolean;
|
884
886
|
name: string;
|
885
|
-
createdAt: Date;
|
886
|
-
updatedAt: Date;
|
887
887
|
image?: string | null | undefined | undefined;
|
888
888
|
companyId: string;
|
889
889
|
branchId: string;
|
@@ -892,10 +892,10 @@ export declare const app: Elysia<"", {
|
|
892
892
|
};
|
893
893
|
session: {
|
894
894
|
id: string;
|
895
|
-
userId: string;
|
896
|
-
expiresAt: Date;
|
897
895
|
createdAt: Date;
|
898
896
|
updatedAt: Date;
|
897
|
+
userId: string;
|
898
|
+
expiresAt: Date;
|
899
899
|
token: string;
|
900
900
|
ipAddress?: string | null | undefined | undefined;
|
901
901
|
userAgent?: string | null | undefined | undefined;
|
@@ -1017,6 +1017,7 @@ export declare const app: Elysia<"", {
|
|
1017
1017
|
createdAt: string;
|
1018
1018
|
updatedAt: string;
|
1019
1019
|
deletedAt: string | null;
|
1020
|
+
oldId: number | null;
|
1020
1021
|
};
|
1021
1022
|
supplier: {
|
1022
1023
|
name: string;
|
@@ -1027,6 +1028,7 @@ export declare const app: Elysia<"", {
|
|
1027
1028
|
createdAt: string;
|
1028
1029
|
updatedAt: string;
|
1029
1030
|
deletedAt: string | null;
|
1031
|
+
oldId: number | null;
|
1030
1032
|
} | null;
|
1031
1033
|
}[];
|
1032
1034
|
};
|
@@ -1047,6 +1049,7 @@ export declare const app: Elysia<"", {
|
|
1047
1049
|
post: {
|
1048
1050
|
body: {
|
1049
1051
|
type?: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | undefined;
|
1052
|
+
oldId?: number | null | undefined;
|
1050
1053
|
description?: string | null | undefined;
|
1051
1054
|
productId?: string | null | undefined;
|
1052
1055
|
barCode?: string | null | undefined;
|
@@ -1070,6 +1073,7 @@ export declare const app: Elysia<"", {
|
|
1070
1073
|
updatedAt: string;
|
1071
1074
|
companyId: string;
|
1072
1075
|
deletedAt: string | null;
|
1076
|
+
oldId: number | null;
|
1073
1077
|
description: string | null;
|
1074
1078
|
supplierId: string;
|
1075
1079
|
productId: string | null;
|
@@ -1098,6 +1102,7 @@ export declare const app: Elysia<"", {
|
|
1098
1102
|
post: {
|
1099
1103
|
body: {
|
1100
1104
|
type?: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | undefined;
|
1105
|
+
oldId?: number | null | undefined;
|
1101
1106
|
description?: string | null | undefined;
|
1102
1107
|
productId?: string | null | undefined;
|
1103
1108
|
barCode?: string | null | undefined;
|
@@ -1176,6 +1181,7 @@ export declare const app: Elysia<"", {
|
|
1176
1181
|
type?: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | undefined;
|
1177
1182
|
name?: string | undefined;
|
1178
1183
|
companyId?: string | undefined;
|
1184
|
+
oldId?: number | null | undefined;
|
1179
1185
|
description?: string | null | undefined;
|
1180
1186
|
supplierId?: string | undefined;
|
1181
1187
|
productId?: string | null | undefined;
|
@@ -1209,6 +1215,7 @@ export declare const app: Elysia<"", {
|
|
1209
1215
|
createdAt: string;
|
1210
1216
|
updatedAt: string;
|
1211
1217
|
deletedAt: string | null;
|
1218
|
+
oldId: number | null;
|
1212
1219
|
};
|
1213
1220
|
404: "Бараа олдсонгүй.";
|
1214
1221
|
422: {
|
@@ -1254,6 +1261,7 @@ export declare const app: Elysia<"", {
|
|
1254
1261
|
createdAt: string;
|
1255
1262
|
updatedAt: string;
|
1256
1263
|
deletedAt: string | null;
|
1264
|
+
oldId: number | null;
|
1257
1265
|
}[];
|
1258
1266
|
};
|
1259
1267
|
422: {
|
@@ -1273,6 +1281,7 @@ export declare const app: Elysia<"", {
|
|
1273
1281
|
post: {
|
1274
1282
|
body: {
|
1275
1283
|
branchId?: string | null | undefined;
|
1284
|
+
oldId?: number | null | undefined;
|
1276
1285
|
description?: string | null | undefined;
|
1277
1286
|
name: string;
|
1278
1287
|
};
|
@@ -1288,6 +1297,7 @@ export declare const app: Elysia<"", {
|
|
1288
1297
|
companyId: string;
|
1289
1298
|
branchId: string | null;
|
1290
1299
|
deletedAt: string | null;
|
1300
|
+
oldId: number | null;
|
1291
1301
|
description: string | null;
|
1292
1302
|
};
|
1293
1303
|
422: {
|
@@ -1308,6 +1318,7 @@ export declare const app: Elysia<"", {
|
|
1308
1318
|
put: {
|
1309
1319
|
body: {
|
1310
1320
|
name?: string | undefined;
|
1321
|
+
oldId?: number | null | undefined;
|
1311
1322
|
description?: string | null | undefined;
|
1312
1323
|
};
|
1313
1324
|
params: {
|
@@ -1325,6 +1336,7 @@ export declare const app: Elysia<"", {
|
|
1325
1336
|
createdAt: string;
|
1326
1337
|
updatedAt: string;
|
1327
1338
|
deletedAt: string | null;
|
1339
|
+
oldId: number | null;
|
1328
1340
|
};
|
1329
1341
|
404: "Агуулах олдсонгүй.";
|
1330
1342
|
422: {
|
@@ -1375,6 +1387,7 @@ export declare const app: Elysia<"", {
|
|
1375
1387
|
body: unknown;
|
1376
1388
|
params: {};
|
1377
1389
|
query: {
|
1390
|
+
isActive?: boolean | undefined;
|
1378
1391
|
product?: {
|
1379
1392
|
type?: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | undefined;
|
1380
1393
|
id?: string | undefined;
|
@@ -1413,6 +1426,7 @@ export declare const app: Elysia<"", {
|
|
1413
1426
|
createdAt: string;
|
1414
1427
|
updatedAt: string;
|
1415
1428
|
deletedAt: string | null;
|
1429
|
+
oldId: number | null;
|
1416
1430
|
};
|
1417
1431
|
supplier: {
|
1418
1432
|
name: string;
|
@@ -1423,6 +1437,7 @@ export declare const app: Elysia<"", {
|
|
1423
1437
|
createdAt: string;
|
1424
1438
|
updatedAt: string;
|
1425
1439
|
deletedAt: string | null;
|
1440
|
+
oldId: number | null;
|
1426
1441
|
} | null;
|
1427
1442
|
product: {
|
1428
1443
|
supplierId: string;
|
@@ -1441,6 +1456,7 @@ export declare const app: Elysia<"", {
|
|
1441
1456
|
createdAt: string;
|
1442
1457
|
updatedAt: string;
|
1443
1458
|
deletedAt: string | null;
|
1459
|
+
oldId: number | null;
|
1444
1460
|
};
|
1445
1461
|
}[];
|
1446
1462
|
};
|
@@ -1460,6 +1476,7 @@ export declare const app: Elysia<"", {
|
|
1460
1476
|
item: {
|
1461
1477
|
post: {
|
1462
1478
|
body: {
|
1479
|
+
oldId?: number | null | undefined;
|
1463
1480
|
quantity?: number | undefined;
|
1464
1481
|
shelfNumber?: string | null | undefined;
|
1465
1482
|
productId: string;
|
@@ -1475,6 +1492,7 @@ export declare const app: Elysia<"", {
|
|
1475
1492
|
createdAt: string;
|
1476
1493
|
updatedAt: string;
|
1477
1494
|
deletedAt: string | null;
|
1495
|
+
oldId: number | null;
|
1478
1496
|
quantity: number;
|
1479
1497
|
productId: string;
|
1480
1498
|
warehouseId: string;
|
@@ -1498,6 +1516,7 @@ export declare const app: Elysia<"", {
|
|
1498
1516
|
many: {
|
1499
1517
|
post: {
|
1500
1518
|
body: {
|
1519
|
+
oldId?: number | null | undefined;
|
1501
1520
|
quantity?: number | undefined;
|
1502
1521
|
shelfNumber?: string | null | undefined;
|
1503
1522
|
productId: string;
|
@@ -1584,6 +1603,7 @@ export declare const app: Elysia<"", {
|
|
1584
1603
|
createdAt: string;
|
1585
1604
|
updatedAt: string;
|
1586
1605
|
deletedAt: string | null;
|
1606
|
+
oldId: number | null;
|
1587
1607
|
} | null;
|
1588
1608
|
item: {
|
1589
1609
|
warehouseId: string;
|
@@ -1595,6 +1615,7 @@ export declare const app: Elysia<"", {
|
|
1595
1615
|
createdAt: string;
|
1596
1616
|
updatedAt: string;
|
1597
1617
|
deletedAt: string | null;
|
1618
|
+
oldId: number | null;
|
1598
1619
|
} | null;
|
1599
1620
|
itemId: string;
|
1600
1621
|
productId: string | null;
|
@@ -1614,6 +1635,7 @@ export declare const app: Elysia<"", {
|
|
1614
1635
|
createdAt: string;
|
1615
1636
|
updatedAt: string;
|
1616
1637
|
deletedAt: string | null;
|
1638
|
+
oldId: number | null;
|
1617
1639
|
}[];
|
1618
1640
|
};
|
1619
1641
|
422: {
|
@@ -1660,6 +1682,7 @@ export declare const app: Elysia<"", {
|
|
1660
1682
|
createdAt: string;
|
1661
1683
|
updatedAt: string;
|
1662
1684
|
deletedAt: string | null;
|
1685
|
+
oldId: number | null;
|
1663
1686
|
};
|
1664
1687
|
404: "Агуулахын бараа олдсонгүй.";
|
1665
1688
|
400: "Ажилтны мэдээлэл шаардлагатай." | "Барааны үлдэгдэл хүрэлцэхгүй байна.";
|
@@ -1681,6 +1704,7 @@ export declare const app: Elysia<"", {
|
|
1681
1704
|
":id": {
|
1682
1705
|
put: {
|
1683
1706
|
body: {
|
1707
|
+
oldId?: number | null | undefined;
|
1684
1708
|
productId?: string | undefined;
|
1685
1709
|
warehouseId?: string | undefined;
|
1686
1710
|
safetyStock?: number | undefined;
|
@@ -1702,6 +1726,7 @@ export declare const app: Elysia<"", {
|
|
1702
1726
|
createdAt: string;
|
1703
1727
|
updatedAt: string;
|
1704
1728
|
deletedAt: string | null;
|
1729
|
+
oldId: number | null;
|
1705
1730
|
};
|
1706
1731
|
404: "Агуулахын бараа олдсонгүй.";
|
1707
1732
|
422: {
|
@@ -1750,6 +1775,7 @@ export declare const app: Elysia<"", {
|
|
1750
1775
|
createdAt: string;
|
1751
1776
|
updatedAt: string;
|
1752
1777
|
deletedAt: string | null;
|
1778
|
+
oldId: number | null;
|
1753
1779
|
regNumber: string;
|
1754
1780
|
phone: string;
|
1755
1781
|
serviceName: string;
|
@@ -1787,6 +1813,7 @@ export declare const app: Elysia<"", {
|
|
1787
1813
|
company: {
|
1788
1814
|
post: {
|
1789
1815
|
body: {
|
1816
|
+
oldId?: number | null | undefined;
|
1790
1817
|
province?: string | null | undefined;
|
1791
1818
|
district?: string | null | undefined;
|
1792
1819
|
khoroo?: string | null | undefined;
|
@@ -1818,6 +1845,7 @@ export declare const app: Elysia<"", {
|
|
1818
1845
|
createdAt: string;
|
1819
1846
|
updatedAt: string;
|
1820
1847
|
deletedAt: string | null;
|
1848
|
+
oldId: number | null;
|
1821
1849
|
regNumber: string;
|
1822
1850
|
phone: string;
|
1823
1851
|
serviceName: string;
|
@@ -1855,6 +1883,7 @@ export declare const app: Elysia<"", {
|
|
1855
1883
|
body: {
|
1856
1884
|
name?: string | undefined;
|
1857
1885
|
email?: string | undefined;
|
1886
|
+
oldId?: number | null | undefined;
|
1858
1887
|
regNumber?: string | undefined;
|
1859
1888
|
phone?: string | undefined;
|
1860
1889
|
serviceName?: string | undefined;
|
@@ -1886,6 +1915,7 @@ export declare const app: Elysia<"", {
|
|
1886
1915
|
createdAt: string;
|
1887
1916
|
updatedAt: string;
|
1888
1917
|
deletedAt: string | null;
|
1918
|
+
oldId: number | null;
|
1889
1919
|
regNumber: string;
|
1890
1920
|
phone: string;
|
1891
1921
|
serviceName: string;
|
@@ -1960,6 +1990,7 @@ export declare const app: Elysia<"", {
|
|
1960
1990
|
createdAt?: string | undefined;
|
1961
1991
|
updatedAt?: string | undefined;
|
1962
1992
|
deletedAt?: string | null | undefined;
|
1993
|
+
oldId?: number | null | undefined;
|
1963
1994
|
regNumber?: string | null | undefined;
|
1964
1995
|
phone?: string | undefined;
|
1965
1996
|
logoUrl?: string | undefined;
|
@@ -1991,6 +2022,7 @@ export declare const app: Elysia<"", {
|
|
1991
2022
|
createdAt: string;
|
1992
2023
|
updatedAt: string;
|
1993
2024
|
deletedAt: string | null;
|
2025
|
+
oldId: number | null;
|
1994
2026
|
regNumber: string | null;
|
1995
2027
|
phone: string;
|
1996
2028
|
logoUrl: string;
|
@@ -2025,6 +2057,7 @@ export declare const app: Elysia<"", {
|
|
2025
2057
|
branch: {
|
2026
2058
|
post: {
|
2027
2059
|
body: {
|
2060
|
+
oldId?: number | null | undefined;
|
2028
2061
|
regNumber?: string | null | undefined;
|
2029
2062
|
province?: string | null | undefined;
|
2030
2063
|
district?: string | null | undefined;
|
@@ -2053,6 +2086,7 @@ export declare const app: Elysia<"", {
|
|
2053
2086
|
createdAt: string;
|
2054
2087
|
updatedAt: string;
|
2055
2088
|
deletedAt: string | null;
|
2089
|
+
oldId: number | null;
|
2056
2090
|
regNumber: string | null;
|
2057
2091
|
phone: string;
|
2058
2092
|
logoUrl: string;
|
@@ -2087,6 +2121,7 @@ export declare const app: Elysia<"", {
|
|
2087
2121
|
body: {
|
2088
2122
|
name?: string | undefined;
|
2089
2123
|
email?: string | null | undefined;
|
2124
|
+
oldId?: number | null | undefined;
|
2090
2125
|
regNumber?: string | null | undefined;
|
2091
2126
|
phone?: string | undefined;
|
2092
2127
|
logoUrl?: string | undefined;
|
@@ -2115,6 +2150,7 @@ export declare const app: Elysia<"", {
|
|
2115
2150
|
createdAt: string;
|
2116
2151
|
updatedAt: string;
|
2117
2152
|
deletedAt: string | null;
|
2153
|
+
oldId: number | null;
|
2118
2154
|
regNumber: string | null;
|
2119
2155
|
phone: string;
|
2120
2156
|
logoUrl: string;
|
@@ -2196,6 +2232,7 @@ export declare const app: Elysia<"", {
|
|
2196
2232
|
createdAt: string;
|
2197
2233
|
updatedAt: string;
|
2198
2234
|
deletedAt: string | null;
|
2235
|
+
oldId: number | null;
|
2199
2236
|
rowCount: number;
|
2200
2237
|
price: number;
|
2201
2238
|
} & {
|
@@ -2218,6 +2255,7 @@ export declare const app: Elysia<"", {
|
|
2218
2255
|
package: {
|
2219
2256
|
post: {
|
2220
2257
|
body: {
|
2258
|
+
oldId?: number | null | undefined;
|
2221
2259
|
name: string;
|
2222
2260
|
rowCount: number;
|
2223
2261
|
price: number;
|
@@ -2232,6 +2270,7 @@ export declare const app: Elysia<"", {
|
|
2232
2270
|
createdAt: string;
|
2233
2271
|
updatedAt: string;
|
2234
2272
|
deletedAt: string | null;
|
2273
|
+
oldId: number | null;
|
2235
2274
|
rowCount: number;
|
2236
2275
|
price: number;
|
2237
2276
|
};
|
@@ -2253,6 +2292,7 @@ export declare const app: Elysia<"", {
|
|
2253
2292
|
put: {
|
2254
2293
|
body: {
|
2255
2294
|
name?: string | undefined;
|
2295
|
+
oldId?: number | null | undefined;
|
2256
2296
|
rowCount?: number | undefined;
|
2257
2297
|
price?: number | undefined;
|
2258
2298
|
};
|
@@ -2268,6 +2308,7 @@ export declare const app: Elysia<"", {
|
|
2268
2308
|
createdAt: string;
|
2269
2309
|
updatedAt: string;
|
2270
2310
|
deletedAt: string | null;
|
2311
|
+
oldId: number | null;
|
2271
2312
|
rowCount: number;
|
2272
2313
|
price: number;
|
2273
2314
|
};
|
@@ -2349,6 +2390,7 @@ export declare const app: Elysia<"", {
|
|
2349
2390
|
createdAt: string;
|
2350
2391
|
updatedAt: string;
|
2351
2392
|
deletedAt: string | null;
|
2393
|
+
oldId: number | null;
|
2352
2394
|
}[];
|
2353
2395
|
};
|
2354
2396
|
422: {
|
@@ -2368,6 +2410,7 @@ export declare const app: Elysia<"", {
|
|
2368
2410
|
post: {
|
2369
2411
|
body: {
|
2370
2412
|
branchId?: string | null | undefined;
|
2413
|
+
oldId?: number | null | undefined;
|
2371
2414
|
serviceKindId?: string | null | undefined;
|
2372
2415
|
description?: string | null | undefined;
|
2373
2416
|
enabled?: boolean | undefined;
|
@@ -2386,6 +2429,7 @@ export declare const app: Elysia<"", {
|
|
2386
2429
|
companyId: string;
|
2387
2430
|
branchId: string | null;
|
2388
2431
|
deletedAt: string | null;
|
2432
|
+
oldId: number | null;
|
2389
2433
|
price: number;
|
2390
2434
|
serviceKindId: string | null;
|
2391
2435
|
description: string | null;
|
@@ -2410,6 +2454,7 @@ export declare const app: Elysia<"", {
|
|
2410
2454
|
body: {
|
2411
2455
|
name?: string | undefined;
|
2412
2456
|
branchId?: string | null | undefined;
|
2457
|
+
oldId?: number | null | undefined;
|
2413
2458
|
price?: number | undefined;
|
2414
2459
|
serviceKindId?: string | null | undefined;
|
2415
2460
|
description?: string | null | undefined;
|
@@ -2433,6 +2478,7 @@ export declare const app: Elysia<"", {
|
|
2433
2478
|
createdAt: string;
|
2434
2479
|
updatedAt: string;
|
2435
2480
|
deletedAt: string | null;
|
2481
|
+
oldId: number | null;
|
2436
2482
|
};
|
2437
2483
|
404: "Үйлчилгээ олдсонгүй.";
|
2438
2484
|
422: {
|
@@ -2476,16 +2522,15 @@ export declare const app: Elysia<"", {
|
|
2476
2522
|
};
|
2477
2523
|
} & {
|
2478
2524
|
company: {
|
2525
|
+
employee: {};
|
2526
|
+
} & {
|
2479
2527
|
employee: {
|
2480
2528
|
get: {
|
2481
2529
|
body: unknown;
|
2482
2530
|
params: {};
|
2483
2531
|
query: {
|
2532
|
+
search?: string | undefined;
|
2484
2533
|
companyId?: string | undefined;
|
2485
|
-
regNumber?: string | null | undefined;
|
2486
|
-
phone?: string | undefined;
|
2487
|
-
firstname?: string | undefined;
|
2488
|
-
lastname?: string | undefined;
|
2489
2534
|
pagination: {
|
2490
2535
|
size: number;
|
2491
2536
|
page: number;
|
@@ -2495,21 +2540,21 @@ export declare const app: Elysia<"", {
|
|
2495
2540
|
response: {
|
2496
2541
|
200: {
|
2497
2542
|
totalCount: number;
|
2498
|
-
|
2499
|
-
|
2500
|
-
|
2543
|
+
totalPages: number;
|
2544
|
+
results: {
|
2545
|
+
companyId: string;
|
2546
|
+
branchId: string | null;
|
2547
|
+
firstname: string;
|
2548
|
+
lastname: string;
|
2549
|
+
regNumber: string | null;
|
2501
2550
|
email: string | null;
|
2551
|
+
phone: string;
|
2552
|
+
id: string;
|
2502
2553
|
createdAt: string;
|
2503
2554
|
updatedAt: string;
|
2504
|
-
companyId: string;
|
2505
2555
|
deletedAt: string | null;
|
2506
|
-
|
2507
|
-
|
2508
|
-
firstname: string;
|
2509
|
-
lastname: string;
|
2510
|
-
} & {
|
2511
|
-
totalCount: number;
|
2512
|
-
}, "totalCount">[];
|
2556
|
+
oldId: number | null;
|
2557
|
+
}[];
|
2513
2558
|
};
|
2514
2559
|
422: {
|
2515
2560
|
type: "validation";
|
@@ -2528,6 +2573,8 @@ export declare const app: Elysia<"", {
|
|
2528
2573
|
post: {
|
2529
2574
|
body: {
|
2530
2575
|
email?: string | null | undefined;
|
2576
|
+
branchId?: string | null | undefined;
|
2577
|
+
oldId?: number | null | undefined;
|
2531
2578
|
regNumber?: string | null | undefined;
|
2532
2579
|
companyId: string;
|
2533
2580
|
phone: string;
|
@@ -2544,7 +2591,9 @@ export declare const app: Elysia<"", {
|
|
2544
2591
|
createdAt: string;
|
2545
2592
|
updatedAt: string;
|
2546
2593
|
companyId: string;
|
2594
|
+
branchId: string | null;
|
2547
2595
|
deletedAt: string | null;
|
2596
|
+
oldId: number | null;
|
2548
2597
|
regNumber: string | null;
|
2549
2598
|
phone: string;
|
2550
2599
|
firstname: string;
|
@@ -2569,6 +2618,8 @@ export declare const app: Elysia<"", {
|
|
2569
2618
|
body: {
|
2570
2619
|
email?: string | null | undefined;
|
2571
2620
|
companyId?: string | undefined;
|
2621
|
+
branchId?: string | null | undefined;
|
2622
|
+
oldId?: number | null | undefined;
|
2572
2623
|
regNumber?: string | null | undefined;
|
2573
2624
|
phone?: string | undefined;
|
2574
2625
|
firstname?: string | undefined;
|
@@ -2581,16 +2632,177 @@ export declare const app: Elysia<"", {
|
|
2581
2632
|
headers: unknown;
|
2582
2633
|
response: {
|
2583
2634
|
200: {
|
2584
|
-
|
2635
|
+
companyId: string;
|
2636
|
+
branchId: string | null;
|
2637
|
+
firstname: string;
|
2638
|
+
lastname: string;
|
2639
|
+
regNumber: string | null;
|
2585
2640
|
email: string | null;
|
2641
|
+
phone: string;
|
2642
|
+
id: string;
|
2643
|
+
createdAt: string;
|
2644
|
+
updatedAt: string;
|
2645
|
+
deletedAt: string | null;
|
2646
|
+
oldId: number | null;
|
2647
|
+
};
|
2648
|
+
404: "Ажилтан олдсонгүй.";
|
2649
|
+
422: {
|
2650
|
+
type: "validation";
|
2651
|
+
on: string;
|
2652
|
+
summary?: string;
|
2653
|
+
message?: string;
|
2654
|
+
found?: unknown;
|
2655
|
+
property?: string;
|
2656
|
+
expected?: string;
|
2657
|
+
};
|
2658
|
+
};
|
2659
|
+
};
|
2660
|
+
};
|
2661
|
+
};
|
2662
|
+
} & {
|
2663
|
+
employee: {
|
2664
|
+
":id": {
|
2665
|
+
delete: {
|
2666
|
+
body: unknown;
|
2667
|
+
params: {
|
2668
|
+
id: string;
|
2669
|
+
};
|
2670
|
+
query: unknown;
|
2671
|
+
headers: unknown;
|
2672
|
+
response: {
|
2673
|
+
200: void;
|
2674
|
+
422: {
|
2675
|
+
type: "validation";
|
2676
|
+
on: string;
|
2677
|
+
summary?: string;
|
2678
|
+
message?: string;
|
2679
|
+
found?: unknown;
|
2680
|
+
property?: string;
|
2681
|
+
expected?: string;
|
2682
|
+
};
|
2683
|
+
};
|
2684
|
+
};
|
2685
|
+
};
|
2686
|
+
};
|
2687
|
+
};
|
2688
|
+
} & {
|
2689
|
+
company: {
|
2690
|
+
account: {};
|
2691
|
+
} & {
|
2692
|
+
account: {
|
2693
|
+
get: {
|
2694
|
+
body: unknown;
|
2695
|
+
params: {};
|
2696
|
+
query: {
|
2697
|
+
id?: string | undefined;
|
2698
|
+
createdAt?: string | undefined;
|
2699
|
+
updatedAt?: string | undefined;
|
2700
|
+
companyId?: string | undefined;
|
2701
|
+
account?: string | undefined;
|
2702
|
+
deletedAt?: string | null | undefined;
|
2703
|
+
oldId?: number | null | undefined;
|
2704
|
+
description?: string | null | undefined;
|
2705
|
+
bank?: string | undefined;
|
2706
|
+
pagination: {
|
2707
|
+
size: number;
|
2708
|
+
page: number;
|
2709
|
+
};
|
2710
|
+
};
|
2711
|
+
headers: unknown;
|
2712
|
+
response: {
|
2713
|
+
200: {
|
2714
|
+
totalCount: number;
|
2715
|
+
totalPage: number;
|
2716
|
+
result: Omit<{
|
2717
|
+
id: string;
|
2586
2718
|
createdAt: string;
|
2587
2719
|
updatedAt: string;
|
2588
2720
|
companyId: string;
|
2721
|
+
account: string;
|
2589
2722
|
deletedAt: string | null;
|
2590
|
-
|
2591
|
-
|
2592
|
-
|
2593
|
-
|
2723
|
+
oldId: number | null;
|
2724
|
+
description: string | null;
|
2725
|
+
bank: string;
|
2726
|
+
} & {
|
2727
|
+
totalCount: number;
|
2728
|
+
}, "totalCount">[];
|
2729
|
+
};
|
2730
|
+
422: {
|
2731
|
+
type: "validation";
|
2732
|
+
on: string;
|
2733
|
+
summary?: string;
|
2734
|
+
message?: string;
|
2735
|
+
found?: unknown;
|
2736
|
+
property?: string;
|
2737
|
+
expected?: string;
|
2738
|
+
};
|
2739
|
+
};
|
2740
|
+
};
|
2741
|
+
};
|
2742
|
+
} & {
|
2743
|
+
account: {
|
2744
|
+
post: {
|
2745
|
+
body: {
|
2746
|
+
oldId?: number | null | undefined;
|
2747
|
+
description?: string | null | undefined;
|
2748
|
+
companyId: string;
|
2749
|
+
account: string;
|
2750
|
+
bank: string;
|
2751
|
+
};
|
2752
|
+
params: {};
|
2753
|
+
query: unknown;
|
2754
|
+
headers: unknown;
|
2755
|
+
response: {
|
2756
|
+
200: {
|
2757
|
+
id: string;
|
2758
|
+
createdAt: string;
|
2759
|
+
updatedAt: string;
|
2760
|
+
companyId: string;
|
2761
|
+
account: string;
|
2762
|
+
deletedAt: string | null;
|
2763
|
+
oldId: number | null;
|
2764
|
+
description: string | null;
|
2765
|
+
bank: string;
|
2766
|
+
};
|
2767
|
+
422: {
|
2768
|
+
type: "validation";
|
2769
|
+
on: string;
|
2770
|
+
summary?: string;
|
2771
|
+
message?: string;
|
2772
|
+
found?: unknown;
|
2773
|
+
property?: string;
|
2774
|
+
expected?: string;
|
2775
|
+
};
|
2776
|
+
};
|
2777
|
+
};
|
2778
|
+
};
|
2779
|
+
} & {
|
2780
|
+
account: {
|
2781
|
+
":id": {
|
2782
|
+
put: {
|
2783
|
+
body: {
|
2784
|
+
companyId?: string | undefined;
|
2785
|
+
account?: string | undefined;
|
2786
|
+
oldId?: number | null | undefined;
|
2787
|
+
description?: string | null | undefined;
|
2788
|
+
bank?: string | undefined;
|
2789
|
+
};
|
2790
|
+
params: {
|
2791
|
+
id: string;
|
2792
|
+
};
|
2793
|
+
query: unknown;
|
2794
|
+
headers: unknown;
|
2795
|
+
response: {
|
2796
|
+
200: {
|
2797
|
+
id: string;
|
2798
|
+
createdAt: string;
|
2799
|
+
updatedAt: string;
|
2800
|
+
companyId: string;
|
2801
|
+
account: string;
|
2802
|
+
deletedAt: string | null;
|
2803
|
+
oldId: number | null;
|
2804
|
+
description: string | null;
|
2805
|
+
bank: string;
|
2594
2806
|
};
|
2595
2807
|
404: string;
|
2596
2808
|
422: {
|
@@ -2607,7 +2819,7 @@ export declare const app: Elysia<"", {
|
|
2607
2819
|
};
|
2608
2820
|
};
|
2609
2821
|
} & {
|
2610
|
-
|
2822
|
+
account: {
|
2611
2823
|
":id": {
|
2612
2824
|
delete: {
|
2613
2825
|
body: unknown;
|
@@ -2700,6 +2912,7 @@ export declare const app: Elysia<"", {
|
|
2700
2912
|
createdAt: string;
|
2701
2913
|
updatedAt: string;
|
2702
2914
|
deletedAt: string | null;
|
2915
|
+
oldId: number | null;
|
2703
2916
|
}[];
|
2704
2917
|
};
|
2705
2918
|
422: {
|
@@ -2718,6 +2931,7 @@ export declare const app: Elysia<"", {
|
|
2718
2931
|
group: {
|
2719
2932
|
post: {
|
2720
2933
|
body: {
|
2934
|
+
oldId?: number | null | undefined;
|
2721
2935
|
permissions?: string[] | undefined;
|
2722
2936
|
name: string;
|
2723
2937
|
};
|
@@ -2731,6 +2945,7 @@ export declare const app: Elysia<"", {
|
|
2731
2945
|
createdAt: string;
|
2732
2946
|
updatedAt: string;
|
2733
2947
|
deletedAt: string | null;
|
2948
|
+
oldId: number | null;
|
2734
2949
|
permissions: string[];
|
2735
2950
|
};
|
2736
2951
|
422: {
|
@@ -2751,6 +2966,7 @@ export declare const app: Elysia<"", {
|
|
2751
2966
|
put: {
|
2752
2967
|
body: {
|
2753
2968
|
name?: string | undefined;
|
2969
|
+
oldId?: number | null | undefined;
|
2754
2970
|
permissions?: string[] | undefined;
|
2755
2971
|
};
|
2756
2972
|
params: {
|
@@ -2765,6 +2981,7 @@ export declare const app: Elysia<"", {
|
|
2765
2981
|
createdAt: string;
|
2766
2982
|
updatedAt: string;
|
2767
2983
|
deletedAt: string | null;
|
2984
|
+
oldId: number | null;
|
2768
2985
|
permissions: string[];
|
2769
2986
|
};
|
2770
2987
|
404: string;
|
@@ -2877,6 +3094,7 @@ export declare const app: Elysia<"", {
|
|
2877
3094
|
createdAt: string;
|
2878
3095
|
updatedAt: string;
|
2879
3096
|
deletedAt: string | null;
|
3097
|
+
oldId: number | null;
|
2880
3098
|
regNumber: string;
|
2881
3099
|
phone: string;
|
2882
3100
|
serviceName: string;
|
@@ -2898,11 +3116,11 @@ export declare const app: Elysia<"", {
|
|
2898
3116
|
totalCount: number;
|
2899
3117
|
}, "totalCount">;
|
2900
3118
|
id: string;
|
3119
|
+
createdAt: Date;
|
3120
|
+
updatedAt: Date;
|
2901
3121
|
email: string;
|
2902
3122
|
emailVerified: boolean;
|
2903
3123
|
name: string;
|
2904
|
-
createdAt: Date;
|
2905
|
-
updatedAt: Date;
|
2906
3124
|
image?: string | null | undefined | undefined;
|
2907
3125
|
companyId: string;
|
2908
3126
|
branchId: string;
|
@@ -3034,6 +3252,7 @@ export declare const app: Elysia<"", {
|
|
3034
3252
|
createdAt: string;
|
3035
3253
|
updatedAt: string;
|
3036
3254
|
deletedAt: string | null;
|
3255
|
+
oldId: number | null;
|
3037
3256
|
}[];
|
3038
3257
|
422: {
|
3039
3258
|
type: "validation";
|
@@ -3051,6 +3270,7 @@ export declare const app: Elysia<"", {
|
|
3051
3270
|
employee: {
|
3052
3271
|
post: {
|
3053
3272
|
body: {
|
3273
|
+
oldId?: number | null | undefined;
|
3054
3274
|
amount?: number | undefined;
|
3055
3275
|
employeeId: string;
|
3056
3276
|
cpOrderItemId: string;
|
@@ -3065,6 +3285,7 @@ export declare const app: Elysia<"", {
|
|
3065
3285
|
updatedAt: string;
|
3066
3286
|
employeeId: string;
|
3067
3287
|
deletedAt: string | null;
|
3288
|
+
oldId: number | null;
|
3068
3289
|
cpOrderItemId: string;
|
3069
3290
|
amount: number;
|
3070
3291
|
};
|
@@ -3102,6 +3323,7 @@ export declare const app: Elysia<"", {
|
|
3102
3323
|
createdAt: string;
|
3103
3324
|
updatedAt: string;
|
3104
3325
|
deletedAt: string | null;
|
3326
|
+
oldId: number | null;
|
3105
3327
|
};
|
3106
3328
|
404: "Ажилтны мэдээлэл олдсонгүй.";
|
3107
3329
|
422: {
|
@@ -3156,7 +3378,7 @@ export declare const app: Elysia<"", {
|
|
3156
3378
|
};
|
3157
3379
|
headers: unknown;
|
3158
3380
|
response: {
|
3159
|
-
200: {
|
3381
|
+
200: ({
|
3160
3382
|
item: {
|
3161
3383
|
warehouseId: string;
|
3162
3384
|
productId: string;
|
@@ -3167,6 +3389,7 @@ export declare const app: Elysia<"", {
|
|
3167
3389
|
createdAt: string;
|
3168
3390
|
updatedAt: string;
|
3169
3391
|
deletedAt: string | null;
|
3392
|
+
oldId: number | null;
|
3170
3393
|
} | null;
|
3171
3394
|
service_kind: {
|
3172
3395
|
serviceKindId: string | null;
|
@@ -3180,6 +3403,21 @@ export declare const app: Elysia<"", {
|
|
3180
3403
|
createdAt: string;
|
3181
3404
|
updatedAt: string;
|
3182
3405
|
deletedAt: string | null;
|
3406
|
+
oldId: number | null;
|
3407
|
+
} | null;
|
3408
|
+
employee: {
|
3409
|
+
companyId: string;
|
3410
|
+
branchId: string | null;
|
3411
|
+
firstname: string;
|
3412
|
+
lastname: string;
|
3413
|
+
regNumber: string | null;
|
3414
|
+
email: string | null;
|
3415
|
+
phone: string;
|
3416
|
+
id: string;
|
3417
|
+
createdAt: string;
|
3418
|
+
updatedAt: string;
|
3419
|
+
deletedAt: string | null;
|
3420
|
+
oldId: number | null;
|
3183
3421
|
} | null;
|
3184
3422
|
cp_order_item: {
|
3185
3423
|
cpOrderId: string;
|
@@ -3194,7 +3432,18 @@ export declare const app: Elysia<"", {
|
|
3194
3432
|
createdAt: string;
|
3195
3433
|
updatedAt: string;
|
3196
3434
|
deletedAt: string | null;
|
3435
|
+
oldId: number | null;
|
3197
3436
|
};
|
3437
|
+
cp_order_item_employee: {
|
3438
|
+
cpOrderItemId: string;
|
3439
|
+
employeeId: string;
|
3440
|
+
amount: number;
|
3441
|
+
id: string;
|
3442
|
+
createdAt: string;
|
3443
|
+
updatedAt: string;
|
3444
|
+
deletedAt: string | null;
|
3445
|
+
oldId: number | null;
|
3446
|
+
} | null;
|
3198
3447
|
product: {
|
3199
3448
|
supplierId: string;
|
3200
3449
|
productId: string | null;
|
@@ -3212,8 +3461,15 @@ export declare const app: Elysia<"", {
|
|
3212
3461
|
createdAt: string;
|
3213
3462
|
updatedAt: string;
|
3214
3463
|
deletedAt: string | null;
|
3464
|
+
oldId: number | null;
|
3215
3465
|
} | null;
|
3216
|
-
}
|
3466
|
+
} & {
|
3467
|
+
crmCpOrderEmployee: {
|
3468
|
+
id: string;
|
3469
|
+
employeeName: string;
|
3470
|
+
amount: number;
|
3471
|
+
}[];
|
3472
|
+
})[];
|
3217
3473
|
422: {
|
3218
3474
|
type: "validation";
|
3219
3475
|
on: string;
|
@@ -3248,6 +3504,7 @@ export declare const app: Elysia<"", {
|
|
3248
3504
|
createdAt: string;
|
3249
3505
|
updatedAt: string;
|
3250
3506
|
deletedAt: string | null;
|
3507
|
+
oldId: number | null;
|
3251
3508
|
priceTotal: number;
|
3252
3509
|
quantity: number;
|
3253
3510
|
priceUnit: number;
|
@@ -3297,6 +3554,7 @@ export declare const app: Elysia<"", {
|
|
3297
3554
|
createdAt: string;
|
3298
3555
|
updatedAt: string;
|
3299
3556
|
deletedAt: string | null;
|
3557
|
+
oldId: number | null;
|
3300
3558
|
};
|
3301
3559
|
404: "Үйлчилгээ олдсонгүй.";
|
3302
3560
|
422: {
|
@@ -3364,6 +3622,7 @@ export declare const app: Elysia<"", {
|
|
3364
3622
|
payment: {
|
3365
3623
|
post: {
|
3366
3624
|
body: {
|
3625
|
+
oldId?: number | null | undefined;
|
3367
3626
|
paymentPackageId?: string | null | undefined;
|
3368
3627
|
state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
3369
3628
|
cpOrderId: string;
|
@@ -3380,6 +3639,7 @@ export declare const app: Elysia<"", {
|
|
3380
3639
|
createdAt: string;
|
3381
3640
|
updatedAt: string;
|
3382
3641
|
deletedAt: string | null;
|
3642
|
+
oldId: number | null;
|
3383
3643
|
state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
3384
3644
|
cpOrderId: string;
|
3385
3645
|
amount: number;
|
@@ -3430,6 +3690,7 @@ export declare const app: Elysia<"", {
|
|
3430
3690
|
storepay: {
|
3431
3691
|
post: {
|
3432
3692
|
body: {
|
3693
|
+
oldId?: number | null | undefined;
|
3433
3694
|
paymentPackageId?: string | null | undefined;
|
3434
3695
|
phone: number;
|
3435
3696
|
cpOrderId: string;
|
@@ -3444,6 +3705,7 @@ export declare const app: Elysia<"", {
|
|
3444
3705
|
createdAt: string;
|
3445
3706
|
updatedAt: string;
|
3446
3707
|
deletedAt: string | null;
|
3708
|
+
oldId: number | null;
|
3447
3709
|
state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
3448
3710
|
cpOrderId: string;
|
3449
3711
|
amount: number;
|
@@ -3503,6 +3765,7 @@ export declare const app: Elysia<"", {
|
|
3503
3765
|
ubpay: {
|
3504
3766
|
post: {
|
3505
3767
|
body: {
|
3768
|
+
oldId?: number | null | undefined;
|
3506
3769
|
paymentPackageId?: string | null | undefined;
|
3507
3770
|
state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
3508
3771
|
cpOrderId: string;
|
@@ -3520,6 +3783,7 @@ export declare const app: Elysia<"", {
|
|
3520
3783
|
createdAt: string;
|
3521
3784
|
updatedAt: string;
|
3522
3785
|
deletedAt: string | null;
|
3786
|
+
oldId: number | null;
|
3523
3787
|
state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
3524
3788
|
cpOrderId: string;
|
3525
3789
|
amount: number;
|
@@ -3609,6 +3873,7 @@ export declare const app: Elysia<"", {
|
|
3609
3873
|
qpay: {
|
3610
3874
|
post: {
|
3611
3875
|
body: {
|
3876
|
+
oldId?: number | null | undefined;
|
3612
3877
|
paymentPackageId?: string | null | undefined;
|
3613
3878
|
state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
3614
3879
|
cpOrderId: string;
|
@@ -3626,6 +3891,7 @@ export declare const app: Elysia<"", {
|
|
3626
3891
|
createdAt: string;
|
3627
3892
|
updatedAt: string;
|
3628
3893
|
deletedAt: string | null;
|
3894
|
+
oldId: number | null;
|
3629
3895
|
state: "NOT_PAID" | "PENDING" | "FAILED" | "EXPIRED" | "PAID" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
3630
3896
|
cpOrderId: string;
|
3631
3897
|
amount: number;
|
@@ -3684,6 +3950,7 @@ export declare const app: Elysia<"", {
|
|
3684
3950
|
createdAt: string;
|
3685
3951
|
updatedAt: string;
|
3686
3952
|
deletedAt: string | null;
|
3953
|
+
oldId: number | null;
|
3687
3954
|
};
|
3688
3955
|
branch: {
|
3689
3956
|
name: string;
|
@@ -3706,6 +3973,7 @@ export declare const app: Elysia<"", {
|
|
3706
3973
|
createdAt: string;
|
3707
3974
|
updatedAt: string;
|
3708
3975
|
deletedAt: string | null;
|
3976
|
+
oldId: number | null;
|
3709
3977
|
} | null;
|
3710
3978
|
payment: {
|
3711
3979
|
accessToken: string | null;
|
@@ -3720,6 +3988,7 @@ export declare const app: Elysia<"", {
|
|
3720
3988
|
createdAt: string;
|
3721
3989
|
updatedAt: string;
|
3722
3990
|
deletedAt: string | null;
|
3991
|
+
oldId: number | null;
|
3723
3992
|
};
|
3724
3993
|
}[];
|
3725
3994
|
};
|
@@ -3777,6 +4046,7 @@ export declare const app: Elysia<"", {
|
|
3777
4046
|
accessToken: string | null;
|
3778
4047
|
refreshToken: string | null;
|
3779
4048
|
deletedAt: string | null;
|
4049
|
+
oldId: number | null;
|
3780
4050
|
expiresIn: number | null;
|
3781
4051
|
refreshExpiresIn: number | null;
|
3782
4052
|
};
|
@@ -3827,6 +4097,7 @@ export declare const app: Elysia<"", {
|
|
3827
4097
|
body: unknown;
|
3828
4098
|
params: {};
|
3829
4099
|
query: {
|
4100
|
+
type?: "Service" | "ProductSell" | undefined;
|
3830
4101
|
id?: string | undefined;
|
3831
4102
|
createdAt?: string | undefined;
|
3832
4103
|
phone?: string | undefined;
|
@@ -3865,6 +4136,7 @@ export declare const app: Elysia<"", {
|
|
3865
4136
|
createdAt: string;
|
3866
4137
|
updatedAt: string;
|
3867
4138
|
deletedAt: string | null;
|
4139
|
+
oldId: number | null;
|
3868
4140
|
};
|
3869
4141
|
vehicle: {
|
3870
4142
|
customerId: string | null;
|
@@ -3889,7 +4161,8 @@ export declare const app: Elysia<"", {
|
|
3889
4161
|
createdAt: string;
|
3890
4162
|
updatedAt: string;
|
3891
4163
|
deletedAt: string | null;
|
3892
|
-
|
4164
|
+
oldId: number | null;
|
4165
|
+
} | null;
|
3893
4166
|
make: {
|
3894
4167
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
3895
4168
|
parentId: string | null;
|
@@ -3902,6 +4175,7 @@ export declare const app: Elysia<"", {
|
|
3902
4175
|
createdAt: string;
|
3903
4176
|
updatedAt: string;
|
3904
4177
|
deletedAt: string | null;
|
4178
|
+
oldId: number | null;
|
3905
4179
|
} | null;
|
3906
4180
|
model: {
|
3907
4181
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
@@ -3915,6 +4189,7 @@ export declare const app: Elysia<"", {
|
|
3915
4189
|
createdAt: string;
|
3916
4190
|
updatedAt: string;
|
3917
4191
|
deletedAt: string | null;
|
4192
|
+
oldId: number | null;
|
3918
4193
|
} | null;
|
3919
4194
|
customer: {
|
3920
4195
|
companyId: string | null;
|
@@ -3927,6 +4202,7 @@ export declare const app: Elysia<"", {
|
|
3927
4202
|
createdAt: string;
|
3928
4203
|
updatedAt: string;
|
3929
4204
|
deletedAt: string | null;
|
4205
|
+
oldId: number | null;
|
3930
4206
|
} | null;
|
3931
4207
|
isDeleteAble: boolean;
|
3932
4208
|
}[];
|
@@ -3977,6 +4253,7 @@ export declare const app: Elysia<"", {
|
|
3977
4253
|
createdAt: string;
|
3978
4254
|
updatedAt: string;
|
3979
4255
|
deletedAt: string | null;
|
4256
|
+
oldId: number | null;
|
3980
4257
|
};
|
3981
4258
|
vehicle: {
|
3982
4259
|
customerId: string | null;
|
@@ -4001,7 +4278,8 @@ export declare const app: Elysia<"", {
|
|
4001
4278
|
createdAt: string;
|
4002
4279
|
updatedAt: string;
|
4003
4280
|
deletedAt: string | null;
|
4004
|
-
|
4281
|
+
oldId: number | null;
|
4282
|
+
} | null;
|
4005
4283
|
make: {
|
4006
4284
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
4007
4285
|
parentId: string | null;
|
@@ -4014,6 +4292,7 @@ export declare const app: Elysia<"", {
|
|
4014
4292
|
createdAt: string;
|
4015
4293
|
updatedAt: string;
|
4016
4294
|
deletedAt: string | null;
|
4295
|
+
oldId: number | null;
|
4017
4296
|
} | null;
|
4018
4297
|
model: {
|
4019
4298
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
@@ -4027,6 +4306,7 @@ export declare const app: Elysia<"", {
|
|
4027
4306
|
createdAt: string;
|
4028
4307
|
updatedAt: string;
|
4029
4308
|
deletedAt: string | null;
|
4309
|
+
oldId: number | null;
|
4030
4310
|
} | null;
|
4031
4311
|
customer: {
|
4032
4312
|
companyId: string | null;
|
@@ -4039,6 +4319,7 @@ export declare const app: Elysia<"", {
|
|
4039
4319
|
createdAt: string;
|
4040
4320
|
updatedAt: string;
|
4041
4321
|
deletedAt: string | null;
|
4322
|
+
oldId: number | null;
|
4042
4323
|
} | null;
|
4043
4324
|
isDeleteAble: boolean;
|
4044
4325
|
}[];
|
@@ -4073,6 +4354,7 @@ export declare const app: Elysia<"", {
|
|
4073
4354
|
updatedAt: string;
|
4074
4355
|
companyId: string;
|
4075
4356
|
deletedAt: string | null;
|
4357
|
+
oldId: number | null;
|
4076
4358
|
isNoat: boolean | null;
|
4077
4359
|
companyBranchId: string;
|
4078
4360
|
customerId: string | null;
|
@@ -4142,6 +4424,7 @@ export declare const app: Elysia<"", {
|
|
4142
4424
|
createdAt: string;
|
4143
4425
|
updatedAt: string;
|
4144
4426
|
deletedAt: string | null;
|
4427
|
+
oldId: number | null;
|
4145
4428
|
};
|
4146
4429
|
404: "Засвар үйлчилгээ олдсонгүй.";
|
4147
4430
|
422: {
|
@@ -4164,6 +4447,7 @@ export declare const app: Elysia<"", {
|
|
4164
4447
|
body: {
|
4165
4448
|
type?: "Service" | "ProductSell" | undefined;
|
4166
4449
|
companyId?: string | undefined;
|
4450
|
+
oldId?: number | null | undefined;
|
4167
4451
|
isNoat?: boolean | null | undefined;
|
4168
4452
|
companyBranchId?: string | undefined;
|
4169
4453
|
customerId?: string | null | undefined;
|
@@ -4194,6 +4478,7 @@ export declare const app: Elysia<"", {
|
|
4194
4478
|
createdAt: string;
|
4195
4479
|
updatedAt: string;
|
4196
4480
|
deletedAt: string | null;
|
4481
|
+
oldId: number | null;
|
4197
4482
|
};
|
4198
4483
|
404: "Засвар үйлчилгээ олдсонгүй.";
|
4199
4484
|
422: {
|
@@ -4261,6 +4546,7 @@ export declare const app: Elysia<"", {
|
|
4261
4546
|
createdAt: string;
|
4262
4547
|
updatedAt: string;
|
4263
4548
|
deletedAt: string | null;
|
4549
|
+
oldId: number | null;
|
4264
4550
|
}[];
|
4265
4551
|
totalAmount: number;
|
4266
4552
|
paidAmount: number;
|
@@ -4280,6 +4566,7 @@ export declare const app: Elysia<"", {
|
|
4280
4566
|
createdAt: string;
|
4281
4567
|
updatedAt: string;
|
4282
4568
|
deletedAt: string | null;
|
4569
|
+
oldId: number | null;
|
4283
4570
|
};
|
4284
4571
|
discount: {
|
4285
4572
|
companyId: string;
|
@@ -4293,6 +4580,7 @@ export declare const app: Elysia<"", {
|
|
4293
4580
|
createdAt: string;
|
4294
4581
|
updatedAt: string;
|
4295
4582
|
deletedAt: string | null;
|
4583
|
+
oldId: number | null;
|
4296
4584
|
} | null;
|
4297
4585
|
}[];
|
4298
4586
|
};
|
@@ -4340,6 +4628,7 @@ export declare const app: Elysia<"", {
|
|
4340
4628
|
createdAt: string;
|
4341
4629
|
updatedAt: string;
|
4342
4630
|
deletedAt: string | null;
|
4631
|
+
oldId: number | null;
|
4343
4632
|
};
|
4344
4633
|
spPackageId: string;
|
4345
4634
|
kindId: string;
|
@@ -4350,6 +4639,7 @@ export declare const app: Elysia<"", {
|
|
4350
4639
|
createdAt: string;
|
4351
4640
|
updatedAt: string;
|
4352
4641
|
deletedAt: string | null;
|
4642
|
+
oldId: number | null;
|
4353
4643
|
}[];
|
4354
4644
|
422: {
|
4355
4645
|
type: "validation";
|
@@ -4367,6 +4657,7 @@ export declare const app: Elysia<"", {
|
|
4367
4657
|
service: {
|
4368
4658
|
post: {
|
4369
4659
|
body: {
|
4660
|
+
oldId?: number | null | undefined;
|
4370
4661
|
priceTotal?: number | undefined;
|
4371
4662
|
spPackageId: string;
|
4372
4663
|
kindId: string;
|
@@ -4382,6 +4673,7 @@ export declare const app: Elysia<"", {
|
|
4382
4673
|
createdAt: string;
|
4383
4674
|
updatedAt: string;
|
4384
4675
|
deletedAt: string | null;
|
4676
|
+
oldId: number | null;
|
4385
4677
|
priceTotal: number;
|
4386
4678
|
spPackageId: string;
|
4387
4679
|
kindId: string;
|
@@ -4405,6 +4697,7 @@ export declare const app: Elysia<"", {
|
|
4405
4697
|
many: {
|
4406
4698
|
post: {
|
4407
4699
|
body: {
|
4700
|
+
oldId?: number | null | undefined;
|
4408
4701
|
priceTotal?: number | undefined;
|
4409
4702
|
spPackageId: string;
|
4410
4703
|
kindId: string;
|
@@ -4435,6 +4728,7 @@ export declare const app: Elysia<"", {
|
|
4435
4728
|
":id": {
|
4436
4729
|
put: {
|
4437
4730
|
body: {
|
4731
|
+
oldId?: number | null | undefined;
|
4438
4732
|
priceTotal?: number | undefined;
|
4439
4733
|
spPackageId?: string | undefined;
|
4440
4734
|
kindId?: string | undefined;
|
@@ -4457,6 +4751,7 @@ export declare const app: Elysia<"", {
|
|
4457
4751
|
createdAt: string;
|
4458
4752
|
updatedAt: string;
|
4459
4753
|
deletedAt: string | null;
|
4754
|
+
oldId: number | null;
|
4460
4755
|
};
|
4461
4756
|
404: "Үйлчилгээ олдсонгүй.";
|
4462
4757
|
422: {
|
@@ -4529,6 +4824,7 @@ export declare const app: Elysia<"", {
|
|
4529
4824
|
createdAt: string;
|
4530
4825
|
updatedAt: string;
|
4531
4826
|
deletedAt: string | null;
|
4827
|
+
oldId: number | null;
|
4532
4828
|
};
|
4533
4829
|
spPackageId: string;
|
4534
4830
|
companyProductId: string;
|
@@ -4539,6 +4835,7 @@ export declare const app: Elysia<"", {
|
|
4539
4835
|
createdAt: string;
|
4540
4836
|
updatedAt: string;
|
4541
4837
|
deletedAt: string | null;
|
4838
|
+
oldId: number | null;
|
4542
4839
|
}[];
|
4543
4840
|
422: {
|
4544
4841
|
type: "validation";
|
@@ -4556,6 +4853,7 @@ export declare const app: Elysia<"", {
|
|
4556
4853
|
product: {
|
4557
4854
|
post: {
|
4558
4855
|
body: {
|
4856
|
+
oldId?: number | null | undefined;
|
4559
4857
|
spPackageId: string;
|
4560
4858
|
quantity: number;
|
4561
4859
|
priceUnit: number;
|
@@ -4570,6 +4868,7 @@ export declare const app: Elysia<"", {
|
|
4570
4868
|
createdAt: string;
|
4571
4869
|
updatedAt: string;
|
4572
4870
|
deletedAt: string | null;
|
4871
|
+
oldId: number | null;
|
4573
4872
|
priceTotal: number;
|
4574
4873
|
spPackageId: string;
|
4575
4874
|
quantity: number;
|
@@ -4593,6 +4892,7 @@ export declare const app: Elysia<"", {
|
|
4593
4892
|
many: {
|
4594
4893
|
post: {
|
4595
4894
|
body: {
|
4895
|
+
oldId?: number | null | undefined;
|
4596
4896
|
spPackageId: string;
|
4597
4897
|
quantity: number;
|
4598
4898
|
priceUnit: number;
|
@@ -4622,6 +4922,7 @@ export declare const app: Elysia<"", {
|
|
4622
4922
|
":id": {
|
4623
4923
|
put: {
|
4624
4924
|
body: {
|
4925
|
+
oldId?: number | null | undefined;
|
4625
4926
|
priceTotal?: number | undefined;
|
4626
4927
|
spPackageId?: string | undefined;
|
4627
4928
|
quantity?: number | undefined;
|
@@ -4644,6 +4945,7 @@ export declare const app: Elysia<"", {
|
|
4644
4945
|
createdAt: string;
|
4645
4946
|
updatedAt: string;
|
4646
4947
|
deletedAt: string | null;
|
4948
|
+
oldId: number | null;
|
4647
4949
|
};
|
4648
4950
|
404: "Үйлчилгээний багцын бүтээгдэхүүн олдсонгүй.";
|
4649
4951
|
422: {
|
@@ -4726,6 +5028,7 @@ export declare const app: Elysia<"", {
|
|
4726
5028
|
createdAt: string;
|
4727
5029
|
updatedAt: string;
|
4728
5030
|
deletedAt: string | null;
|
5031
|
+
oldId: number | null;
|
4729
5032
|
} | null;
|
4730
5033
|
companyId: string;
|
4731
5034
|
companyBranchId: string | null;
|
@@ -4736,6 +5039,7 @@ export declare const app: Elysia<"", {
|
|
4736
5039
|
createdAt: string;
|
4737
5040
|
updatedAt: string;
|
4738
5041
|
deletedAt: string | null;
|
5042
|
+
oldId: number | null;
|
4739
5043
|
}[];
|
4740
5044
|
};
|
4741
5045
|
422: {
|
@@ -4754,6 +5058,7 @@ export declare const app: Elysia<"", {
|
|
4754
5058
|
"sp-package": {
|
4755
5059
|
post: {
|
4756
5060
|
body: {
|
5061
|
+
oldId?: number | null | undefined;
|
4757
5062
|
description?: string | null | undefined;
|
4758
5063
|
companyBranchId?: string | null | undefined;
|
4759
5064
|
priceTotal?: number | undefined;
|
@@ -4770,6 +5075,7 @@ export declare const app: Elysia<"", {
|
|
4770
5075
|
updatedAt: string;
|
4771
5076
|
companyId: string;
|
4772
5077
|
deletedAt: string | null;
|
5078
|
+
oldId: number | null;
|
4773
5079
|
description: string | null;
|
4774
5080
|
companyBranchId: string | null;
|
4775
5081
|
priceTotal: number;
|
@@ -4792,6 +5098,7 @@ export declare const app: Elysia<"", {
|
|
4792
5098
|
put: {
|
4793
5099
|
body: {
|
4794
5100
|
name?: string | undefined;
|
5101
|
+
oldId?: number | null | undefined;
|
4795
5102
|
description?: string | null | undefined;
|
4796
5103
|
companyBranchId?: string | null | undefined;
|
4797
5104
|
priceTotal?: number | undefined;
|
@@ -4812,6 +5119,7 @@ export declare const app: Elysia<"", {
|
|
4812
5119
|
createdAt: string;
|
4813
5120
|
updatedAt: string;
|
4814
5121
|
deletedAt: string | null;
|
5122
|
+
oldId: number | null;
|
4815
5123
|
};
|
4816
5124
|
404: "Багцийн үйлчилгээ олдсонгүй.";
|
4817
5125
|
422: {
|
@@ -4936,6 +5244,7 @@ export declare const app: Elysia<"", {
|
|
4936
5244
|
createdAt: string;
|
4937
5245
|
updatedAt: string;
|
4938
5246
|
deletedAt: string | null;
|
5247
|
+
oldId: number | null;
|
4939
5248
|
};
|
4940
5249
|
make: {
|
4941
5250
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
@@ -4949,6 +5258,7 @@ export declare const app: Elysia<"", {
|
|
4949
5258
|
createdAt: string;
|
4950
5259
|
updatedAt: string;
|
4951
5260
|
deletedAt: string | null;
|
5261
|
+
oldId: number | null;
|
4952
5262
|
} | null;
|
4953
5263
|
model: {
|
4954
5264
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
@@ -4962,6 +5272,7 @@ export declare const app: Elysia<"", {
|
|
4962
5272
|
createdAt: string;
|
4963
5273
|
updatedAt: string;
|
4964
5274
|
deletedAt: string | null;
|
5275
|
+
oldId: number | null;
|
4965
5276
|
} | null;
|
4966
5277
|
}[];
|
4967
5278
|
};
|
@@ -4996,6 +5307,7 @@ export declare const app: Elysia<"", {
|
|
4996
5307
|
updatedAt: string;
|
4997
5308
|
companyId: string | null;
|
4998
5309
|
deletedAt: string | null;
|
5310
|
+
oldId: number | null;
|
4999
5311
|
customerId: string | null;
|
5000
5312
|
licensePlate: string | null;
|
5001
5313
|
vehicleKindId: string;
|
@@ -5063,6 +5375,7 @@ export declare const app: Elysia<"", {
|
|
5063
5375
|
createdAt: string;
|
5064
5376
|
updatedAt: string;
|
5065
5377
|
deletedAt: string | null;
|
5378
|
+
oldId: number | null;
|
5066
5379
|
};
|
5067
5380
|
customer: {
|
5068
5381
|
companyId: string | null;
|
@@ -5075,6 +5388,7 @@ export declare const app: Elysia<"", {
|
|
5075
5388
|
createdAt: string;
|
5076
5389
|
updatedAt: string;
|
5077
5390
|
deletedAt: string | null;
|
5391
|
+
oldId: number | null;
|
5078
5392
|
} | null;
|
5079
5393
|
make: {
|
5080
5394
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
@@ -5088,6 +5402,7 @@ export declare const app: Elysia<"", {
|
|
5088
5402
|
createdAt: string;
|
5089
5403
|
updatedAt: string;
|
5090
5404
|
deletedAt: string | null;
|
5405
|
+
oldId: number | null;
|
5091
5406
|
} | null;
|
5092
5407
|
model: {
|
5093
5408
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
@@ -5101,6 +5416,7 @@ export declare const app: Elysia<"", {
|
|
5101
5416
|
createdAt: string;
|
5102
5417
|
updatedAt: string;
|
5103
5418
|
deletedAt: string | null;
|
5419
|
+
oldId: number | null;
|
5104
5420
|
} | null;
|
5105
5421
|
};
|
5106
5422
|
404: "Тээврийн хэрэгсэл олдсонгүй.";
|
@@ -5123,6 +5439,7 @@ export declare const app: Elysia<"", {
|
|
5123
5439
|
put: {
|
5124
5440
|
body: {
|
5125
5441
|
companyId?: string | null | undefined;
|
5442
|
+
oldId?: number | null | undefined;
|
5126
5443
|
customerId?: string | null | undefined;
|
5127
5444
|
licensePlate?: string | null | undefined;
|
5128
5445
|
vehicleKindId?: string | undefined;
|
@@ -5170,6 +5487,7 @@ export declare const app: Elysia<"", {
|
|
5170
5487
|
createdAt: string;
|
5171
5488
|
updatedAt: string;
|
5172
5489
|
deletedAt: string | null;
|
5490
|
+
oldId: number | null;
|
5173
5491
|
};
|
5174
5492
|
404: "Тээврийн хэрэгсэл олдсонгүй.";
|
5175
5493
|
422: {
|
@@ -5219,6 +5537,7 @@ export declare const app: Elysia<"", {
|
|
5219
5537
|
createdAt: string;
|
5220
5538
|
updatedAt: string;
|
5221
5539
|
deletedAt: string | null;
|
5540
|
+
oldId: number | null;
|
5222
5541
|
};
|
5223
5542
|
404: "Тээврийн хэрэгсэл олдсонгүй.";
|
5224
5543
|
422: {
|
@@ -5268,6 +5587,7 @@ export declare const app: Elysia<"", {
|
|
5268
5587
|
createdAt: string;
|
5269
5588
|
updatedAt: string;
|
5270
5589
|
deletedAt: string | null;
|
5590
|
+
oldId: number | null;
|
5271
5591
|
};
|
5272
5592
|
vehicles: {
|
5273
5593
|
id: string;
|
@@ -5275,6 +5595,7 @@ export declare const app: Elysia<"", {
|
|
5275
5595
|
updatedAt: string;
|
5276
5596
|
companyId: string | null;
|
5277
5597
|
deletedAt: string | null;
|
5598
|
+
oldId: number | null;
|
5278
5599
|
customerId: string | null;
|
5279
5600
|
licensePlate: string | null;
|
5280
5601
|
vehicleKindId: string;
|
@@ -5313,6 +5634,7 @@ export declare const app: Elysia<"", {
|
|
5313
5634
|
body: {
|
5314
5635
|
email?: string | null | undefined;
|
5315
5636
|
companyId?: string | null | undefined;
|
5637
|
+
oldId?: number | null | undefined;
|
5316
5638
|
firstname?: string | null | undefined;
|
5317
5639
|
lastname?: string | null | undefined;
|
5318
5640
|
regNum?: string | null | undefined;
|
@@ -5329,6 +5651,7 @@ export declare const app: Elysia<"", {
|
|
5329
5651
|
updatedAt: string;
|
5330
5652
|
companyId: string | null;
|
5331
5653
|
deletedAt: string | null;
|
5654
|
+
oldId: number | null;
|
5332
5655
|
firstname: string | null;
|
5333
5656
|
lastname: string | null;
|
5334
5657
|
phoneNumber: string;
|
@@ -5353,6 +5676,7 @@ export declare const app: Elysia<"", {
|
|
5353
5676
|
body: {
|
5354
5677
|
email?: string | null | undefined;
|
5355
5678
|
companyId?: string | null | undefined;
|
5679
|
+
oldId?: number | null | undefined;
|
5356
5680
|
firstname?: string | null | undefined;
|
5357
5681
|
lastname?: string | null | undefined;
|
5358
5682
|
phoneNumber?: string | undefined;
|
@@ -5375,6 +5699,7 @@ export declare const app: Elysia<"", {
|
|
5375
5699
|
createdAt: string;
|
5376
5700
|
updatedAt: string;
|
5377
5701
|
deletedAt: string | null;
|
5702
|
+
oldId: number | null;
|
5378
5703
|
};
|
5379
5704
|
404: "Хэрэглэгч олдсонгүй.";
|
5380
5705
|
422: {
|
@@ -5419,6 +5744,7 @@ export declare const app: Elysia<"", {
|
|
5419
5744
|
updatedAt: string;
|
5420
5745
|
companyId: string;
|
5421
5746
|
deletedAt: string | null;
|
5747
|
+
oldId: number | null;
|
5422
5748
|
description: string | null;
|
5423
5749
|
state: "CREATED" | "ACTIVE" | "ARCHIVED";
|
5424
5750
|
amount: number;
|
@@ -5430,6 +5756,7 @@ export declare const app: Elysia<"", {
|
|
5430
5756
|
createdAt: string;
|
5431
5757
|
updatedAt: string;
|
5432
5758
|
deletedAt: string | null;
|
5759
|
+
oldId: number | null;
|
5433
5760
|
discountId: string;
|
5434
5761
|
conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
|
5435
5762
|
conditionValue: unknown;
|
@@ -5452,6 +5779,7 @@ export declare const app: Elysia<"", {
|
|
5452
5779
|
discount: {
|
5453
5780
|
post: {
|
5454
5781
|
body: {
|
5782
|
+
oldId?: number | null | undefined;
|
5455
5783
|
description?: string | null | undefined;
|
5456
5784
|
state?: "CREATED" | "ACTIVE" | "ARCHIVED" | undefined;
|
5457
5785
|
amount?: number | undefined;
|
@@ -5471,6 +5799,7 @@ export declare const app: Elysia<"", {
|
|
5471
5799
|
updatedAt: string;
|
5472
5800
|
companyId: string;
|
5473
5801
|
deletedAt: string | null;
|
5802
|
+
oldId: number | null;
|
5474
5803
|
description: string | null;
|
5475
5804
|
state: "CREATED" | "ACTIVE" | "ARCHIVED";
|
5476
5805
|
amount: number;
|
@@ -5496,6 +5825,7 @@ export declare const app: Elysia<"", {
|
|
5496
5825
|
body: {
|
5497
5826
|
name?: string | undefined;
|
5498
5827
|
companyId?: string | undefined;
|
5828
|
+
oldId?: number | null | undefined;
|
5499
5829
|
description?: string | null | undefined;
|
5500
5830
|
state?: "CREATED" | "ACTIVE" | "ARCHIVED" | undefined;
|
5501
5831
|
amount?: number | undefined;
|
@@ -5520,6 +5850,7 @@ export declare const app: Elysia<"", {
|
|
5520
5850
|
createdAt: string;
|
5521
5851
|
updatedAt: string;
|
5522
5852
|
deletedAt: string | null;
|
5853
|
+
oldId: number | null;
|
5523
5854
|
};
|
5524
5855
|
404: "Хөнгөлөлт олдсонгүй.";
|
5525
5856
|
422: {
|
@@ -5553,6 +5884,7 @@ export declare const app: Elysia<"", {
|
|
5553
5884
|
updatedAt: string;
|
5554
5885
|
companyId: string;
|
5555
5886
|
deletedAt: string | null;
|
5887
|
+
oldId: number | null;
|
5556
5888
|
description: string | null;
|
5557
5889
|
state: "CREATED" | "ACTIVE" | "ARCHIVED";
|
5558
5890
|
amount: number;
|
@@ -5578,6 +5910,7 @@ export declare const app: Elysia<"", {
|
|
5578
5910
|
condition: {
|
5579
5911
|
post: {
|
5580
5912
|
body: {
|
5913
|
+
oldId?: number | null | undefined;
|
5581
5914
|
discountId: string;
|
5582
5915
|
conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
|
5583
5916
|
conditionValue: import("drizzle-typebox").Json & ({
|
@@ -5608,6 +5941,7 @@ export declare const app: Elysia<"", {
|
|
5608
5941
|
createdAt: string;
|
5609
5942
|
updatedAt: string;
|
5610
5943
|
deletedAt: string | null;
|
5944
|
+
oldId: number | null;
|
5611
5945
|
discountId: string;
|
5612
5946
|
conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
|
5613
5947
|
conditionValue: unknown;
|
@@ -5632,6 +5966,7 @@ export declare const app: Elysia<"", {
|
|
5632
5966
|
":id": {
|
5633
5967
|
put: {
|
5634
5968
|
body: {
|
5969
|
+
oldId?: number | null | undefined;
|
5635
5970
|
discountId?: string | undefined;
|
5636
5971
|
conditionType?: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE" | undefined;
|
5637
5972
|
conditionValue?: (import("drizzle-typebox").Json & ({
|
@@ -5667,6 +6002,7 @@ export declare const app: Elysia<"", {
|
|
5667
6002
|
createdAt: string;
|
5668
6003
|
updatedAt: string;
|
5669
6004
|
deletedAt: string | null;
|
6005
|
+
oldId: number | null;
|
5670
6006
|
};
|
5671
6007
|
404: "Хөнгөлөлтийн нөхцөл олдсонгүй.";
|
5672
6008
|
422: {
|
@@ -5700,6 +6036,7 @@ export declare const app: Elysia<"", {
|
|
5700
6036
|
createdAt: string;
|
5701
6037
|
updatedAt: string;
|
5702
6038
|
deletedAt: string | null;
|
6039
|
+
oldId: number | null;
|
5703
6040
|
discountId: string;
|
5704
6041
|
conditionType: "MIN_TOTAL" | "PRODUCT_CATEGORY" | "CUSTOMER_GROUP" | "PAYMENT_METHOD" | "DATE_RANGE" | "ITEM_QUANTITY" | "COUPON_CODE";
|
5705
6042
|
conditionValue: unknown;
|
@@ -5724,6 +6061,7 @@ export declare const app: Elysia<"", {
|
|
5724
6061
|
apply: {
|
5725
6062
|
post: {
|
5726
6063
|
body: {
|
6064
|
+
oldId?: number | null | undefined;
|
5727
6065
|
cpOrderItemId?: string | null | undefined;
|
5728
6066
|
discountId?: string | null | undefined;
|
5729
6067
|
note?: string | null | undefined;
|
@@ -5742,6 +6080,7 @@ export declare const app: Elysia<"", {
|
|
5742
6080
|
updatedAt: string;
|
5743
6081
|
employeeId: string;
|
5744
6082
|
deletedAt: string | null;
|
6083
|
+
oldId: number | null;
|
5745
6084
|
cpOrderId: string;
|
5746
6085
|
cpOrderItemId: string | null;
|
5747
6086
|
discountId: string | null;
|
@@ -5772,6 +6111,7 @@ export declare const app: Elysia<"", {
|
|
5772
6111
|
put: {
|
5773
6112
|
body: {
|
5774
6113
|
employeeId?: string | undefined;
|
6114
|
+
oldId?: number | null | undefined;
|
5775
6115
|
cpOrderId?: string | undefined;
|
5776
6116
|
cpOrderItemId?: string | null | undefined;
|
5777
6117
|
discountId?: string | null | undefined;
|
@@ -5801,6 +6141,7 @@ export declare const app: Elysia<"", {
|
|
5801
6141
|
createdAt: string;
|
5802
6142
|
updatedAt: string;
|
5803
6143
|
deletedAt: string | null;
|
6144
|
+
oldId: number | null;
|
5804
6145
|
};
|
5805
6146
|
404: "Хөнгөлөлтийн хэрэглээ олдсонгүй.";
|
5806
6147
|
422: {
|
@@ -5884,6 +6225,7 @@ export declare const app: Elysia<"", {
|
|
5884
6225
|
createdAt: string;
|
5885
6226
|
updatedAt: string;
|
5886
6227
|
deletedAt: string | null;
|
6228
|
+
oldId: number | null;
|
5887
6229
|
};
|
5888
6230
|
company: {
|
5889
6231
|
id: string;
|
@@ -5951,6 +6293,7 @@ export declare const app: Elysia<"", {
|
|
5951
6293
|
createdAt: string;
|
5952
6294
|
updatedAt: string;
|
5953
6295
|
deletedAt: string | null;
|
6296
|
+
oldId: number | null;
|
5954
6297
|
};
|
5955
6298
|
vehicle: {
|
5956
6299
|
customerId: string | null;
|
@@ -5975,6 +6318,7 @@ export declare const app: Elysia<"", {
|
|
5975
6318
|
createdAt: string;
|
5976
6319
|
updatedAt: string;
|
5977
6320
|
deletedAt: string | null;
|
6321
|
+
oldId: number | null;
|
5978
6322
|
};
|
5979
6323
|
employee: {
|
5980
6324
|
firstname: string;
|
@@ -6022,6 +6366,7 @@ export declare const app: Elysia<"", {
|
|
6022
6366
|
branchId: string;
|
6023
6367
|
employeeId: string | null;
|
6024
6368
|
deletedAt: string | null;
|
6369
|
+
oldId: number | null;
|
6025
6370
|
description: string | null;
|
6026
6371
|
vehicleId: string;
|
6027
6372
|
licensePlate: string;
|
@@ -6086,6 +6431,7 @@ export declare const app: Elysia<"", {
|
|
6086
6431
|
createdAt: string;
|
6087
6432
|
updatedAt: string;
|
6088
6433
|
deletedAt: string | null;
|
6434
|
+
oldId: number | null;
|
6089
6435
|
};
|
6090
6436
|
404: "Үзлэг олдсонгүй.";
|
6091
6437
|
422: {
|
@@ -6161,6 +6507,7 @@ export declare const app: Elysia<"", {
|
|
6161
6507
|
createdAt: string;
|
6162
6508
|
updatedAt: string;
|
6163
6509
|
deletedAt: string | null;
|
6510
|
+
oldId: number | null;
|
6164
6511
|
};
|
6165
6512
|
404: "Үзлэг олдсонгүй.";
|
6166
6513
|
422: {
|
@@ -6251,6 +6598,7 @@ export declare const app: Elysia<"", {
|
|
6251
6598
|
createdAt: string;
|
6252
6599
|
updatedAt: string;
|
6253
6600
|
deletedAt: string | null;
|
6601
|
+
oldId: number | null;
|
6254
6602
|
};
|
6255
6603
|
customer: {
|
6256
6604
|
companyId: string | null;
|
@@ -6263,6 +6611,7 @@ export declare const app: Elysia<"", {
|
|
6263
6611
|
createdAt: string;
|
6264
6612
|
updatedAt: string;
|
6265
6613
|
deletedAt: string | null;
|
6614
|
+
oldId: number | null;
|
6266
6615
|
} | null;
|
6267
6616
|
vehicle: {
|
6268
6617
|
customerId: string | null;
|
@@ -6287,6 +6636,7 @@ export declare const app: Elysia<"", {
|
|
6287
6636
|
createdAt: string;
|
6288
6637
|
updatedAt: string;
|
6289
6638
|
deletedAt: string | null;
|
6639
|
+
oldId: number | null;
|
6290
6640
|
} | null;
|
6291
6641
|
vehicleKind: {
|
6292
6642
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
@@ -6300,6 +6650,7 @@ export declare const app: Elysia<"", {
|
|
6300
6650
|
createdAt: string;
|
6301
6651
|
updatedAt: string;
|
6302
6652
|
deletedAt: string | null;
|
6653
|
+
oldId: number | null;
|
6303
6654
|
} | null;
|
6304
6655
|
totalAmount: number;
|
6305
6656
|
paidAmount: number;
|
@@ -6463,6 +6814,7 @@ export declare const app: Elysia<"", {
|
|
6463
6814
|
createdAt: string;
|
6464
6815
|
updatedAt: string;
|
6465
6816
|
deletedAt: string | null;
|
6817
|
+
oldId: number | null;
|
6466
6818
|
};
|
6467
6819
|
order: {
|
6468
6820
|
companyId: string;
|
@@ -6479,6 +6831,7 @@ export declare const app: Elysia<"", {
|
|
6479
6831
|
createdAt: string;
|
6480
6832
|
updatedAt: string;
|
6481
6833
|
deletedAt: string | null;
|
6834
|
+
oldId: number | null;
|
6482
6835
|
};
|
6483
6836
|
customer: {
|
6484
6837
|
companyId: string | null;
|
@@ -6491,6 +6844,7 @@ export declare const app: Elysia<"", {
|
|
6491
6844
|
createdAt: string;
|
6492
6845
|
updatedAt: string;
|
6493
6846
|
deletedAt: string | null;
|
6847
|
+
oldId: number | null;
|
6494
6848
|
} | null;
|
6495
6849
|
}[];
|
6496
6850
|
422: {
|
@@ -6704,6 +7058,7 @@ export declare const app: Elysia<"", {
|
|
6704
7058
|
createdAt: string;
|
6705
7059
|
updatedAt: string;
|
6706
7060
|
deletedAt: string | null;
|
7061
|
+
oldId: number | null;
|
6707
7062
|
}[];
|
6708
7063
|
};
|
6709
7064
|
422: {
|
@@ -6723,6 +7078,7 @@ export declare const app: Elysia<"", {
|
|
6723
7078
|
post: {
|
6724
7079
|
body: {
|
6725
7080
|
image?: string | null | undefined;
|
7081
|
+
oldId?: number | null | undefined;
|
6726
7082
|
phone?: string | null | undefined;
|
6727
7083
|
address?: string | null | undefined;
|
6728
7084
|
name: string;
|
@@ -6738,6 +7094,7 @@ export declare const app: Elysia<"", {
|
|
6738
7094
|
createdAt: string;
|
6739
7095
|
updatedAt: string;
|
6740
7096
|
deletedAt: string | null;
|
7097
|
+
oldId: number | null;
|
6741
7098
|
phone: string | null;
|
6742
7099
|
address: string | null;
|
6743
7100
|
};
|
@@ -6760,6 +7117,7 @@ export declare const app: Elysia<"", {
|
|
6760
7117
|
body: {
|
6761
7118
|
name?: string | undefined;
|
6762
7119
|
image?: string | null | undefined;
|
7120
|
+
oldId?: number | null | undefined;
|
6763
7121
|
phone?: string | null | undefined;
|
6764
7122
|
address?: string | null | undefined;
|
6765
7123
|
};
|
@@ -6778,6 +7136,7 @@ export declare const app: Elysia<"", {
|
|
6778
7136
|
createdAt: string;
|
6779
7137
|
updatedAt: string;
|
6780
7138
|
deletedAt: string | null;
|
7139
|
+
oldId: number | null;
|
6781
7140
|
};
|
6782
7141
|
404: "Нийлүүлэгч олдсонгүй.";
|
6783
7142
|
422: {
|
@@ -6854,6 +7213,7 @@ export declare const app: Elysia<"", {
|
|
6854
7213
|
createdAt: string;
|
6855
7214
|
updatedAt: string;
|
6856
7215
|
deletedAt: string | null;
|
7216
|
+
oldId: number | null;
|
6857
7217
|
};
|
6858
7218
|
parent: {
|
6859
7219
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
@@ -6867,6 +7227,7 @@ export declare const app: Elysia<"", {
|
|
6867
7227
|
createdAt: string;
|
6868
7228
|
updatedAt: string;
|
6869
7229
|
deletedAt: string | null;
|
7230
|
+
oldId: number | null;
|
6870
7231
|
} | null;
|
6871
7232
|
totalCount: number;
|
6872
7233
|
}, "totalCount">[];
|
@@ -6889,6 +7250,7 @@ export declare const app: Elysia<"", {
|
|
6889
7250
|
put: {
|
6890
7251
|
body: {
|
6891
7252
|
name?: string | undefined;
|
7253
|
+
oldId?: number | null | undefined;
|
6892
7254
|
description?: string | null | undefined;
|
6893
7255
|
vehicleKindEnum?: "MAKE" | "MODEL_GROUP" | "MODEL" | undefined;
|
6894
7256
|
parentId?: string | null | undefined;
|
@@ -6914,6 +7276,7 @@ export declare const app: Elysia<"", {
|
|
6914
7276
|
createdAt: string;
|
6915
7277
|
updatedAt: string;
|
6916
7278
|
deletedAt: string | null;
|
7279
|
+
oldId: number | null;
|
6917
7280
|
};
|
6918
7281
|
404: "Vehicle kind not found";
|
6919
7282
|
422: {
|