autosync_backend2 1.2.69 → 1.2.73
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 +128 -18
- package/dist/index.js +309 -260
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -628,7 +628,7 @@ export declare const app: Elysia<"", {
|
|
|
628
628
|
200: {
|
|
629
629
|
totalCount: number;
|
|
630
630
|
totalPage: number;
|
|
631
|
-
result: {
|
|
631
|
+
result: Omit<{
|
|
632
632
|
product: {
|
|
633
633
|
supplierId: string;
|
|
634
634
|
productId: string | null;
|
|
@@ -660,7 +660,8 @@ export declare const app: Elysia<"", {
|
|
|
660
660
|
deletedAt: string | null;
|
|
661
661
|
oldId: number | null;
|
|
662
662
|
} | null;
|
|
663
|
-
|
|
663
|
+
totalCount: number;
|
|
664
|
+
}, "totalCount">[];
|
|
664
665
|
};
|
|
665
666
|
401: "Токен олдсонгүй";
|
|
666
667
|
422: {
|
|
@@ -1053,7 +1054,7 @@ export declare const app: Elysia<"", {
|
|
|
1053
1054
|
200: {
|
|
1054
1055
|
totalCount: number;
|
|
1055
1056
|
totalPage: number;
|
|
1056
|
-
result: {
|
|
1057
|
+
result: Omit<{
|
|
1057
1058
|
item: {
|
|
1058
1059
|
warehouseId: string;
|
|
1059
1060
|
productId: string;
|
|
@@ -1100,7 +1101,8 @@ export declare const app: Elysia<"", {
|
|
|
1100
1101
|
deletedAt: string | null;
|
|
1101
1102
|
oldId: number | null;
|
|
1102
1103
|
};
|
|
1103
|
-
|
|
1104
|
+
totalCount: number;
|
|
1105
|
+
}, "totalCount">[];
|
|
1104
1106
|
};
|
|
1105
1107
|
401: "Токен олдсонгүй";
|
|
1106
1108
|
403: "Хандах эрхгүй байна.";
|
|
@@ -1125,9 +1127,7 @@ export declare const app: Elysia<"", {
|
|
|
1125
1127
|
query: unknown;
|
|
1126
1128
|
headers: unknown;
|
|
1127
1129
|
response: {
|
|
1128
|
-
200:
|
|
1129
|
-
count: number;
|
|
1130
|
-
};
|
|
1130
|
+
200: number;
|
|
1131
1131
|
401: "Токен олдсонгүй";
|
|
1132
1132
|
403: "Хандах эрхгүй байна.";
|
|
1133
1133
|
};
|
|
@@ -1201,10 +1201,15 @@ export declare const app: Elysia<"", {
|
|
|
1201
1201
|
headers: unknown;
|
|
1202
1202
|
response: {
|
|
1203
1203
|
200: AsyncGenerator<import("elysia").ElysiaCustomStatusResponse<"Not Found", "Агуулахын бараа олдсонгүй.", 404> | import("elysia").ElysiaCustomStatusResponse<"Bad Request", "Ажилтны мэдээлэл шаардлагатай.", 400> | import("elysia").ElysiaCustomStatusResponse<"Bad Request", "Барааны үлдэгдэл хүрэлцэхгүй байна.", 400> | {
|
|
1204
|
+
type: "New Items";
|
|
1205
|
+
percent: number;
|
|
1206
|
+
count: number;
|
|
1207
|
+
total: number;
|
|
1208
|
+
} | {
|
|
1209
|
+
type: "Current Items";
|
|
1204
1210
|
percent: number;
|
|
1205
1211
|
count: number;
|
|
1206
1212
|
total: number;
|
|
1207
|
-
type: string;
|
|
1208
1213
|
}, void, unknown>;
|
|
1209
1214
|
401: "Токен олдсонгүй";
|
|
1210
1215
|
403: "Хандах эрхгүй байна.";
|
|
@@ -1260,7 +1265,8 @@ export declare const app: Elysia<"", {
|
|
|
1260
1265
|
200: {
|
|
1261
1266
|
totalCount: number;
|
|
1262
1267
|
totalPage: number;
|
|
1263
|
-
result: {
|
|
1268
|
+
result: Omit<{
|
|
1269
|
+
totalCount: number;
|
|
1264
1270
|
product: {
|
|
1265
1271
|
supplierId: string;
|
|
1266
1272
|
productId: string | null;
|
|
@@ -1319,7 +1325,7 @@ export declare const app: Elysia<"", {
|
|
|
1319
1325
|
updatedAt: string;
|
|
1320
1326
|
deletedAt: string | null;
|
|
1321
1327
|
oldId: number | null;
|
|
1322
|
-
}[];
|
|
1328
|
+
}, "totalCount">[];
|
|
1323
1329
|
};
|
|
1324
1330
|
401: "Токен олдсонгүй";
|
|
1325
1331
|
403: "Хандах эрхгүй байна.";
|
|
@@ -5191,6 +5197,22 @@ export declare const app: Elysia<"", {
|
|
|
5191
5197
|
deletedAt: string | null;
|
|
5192
5198
|
oldId: number | null;
|
|
5193
5199
|
} | null;
|
|
5200
|
+
item: {
|
|
5201
|
+
cpOrderId: string;
|
|
5202
|
+
companyProductId: string | null;
|
|
5203
|
+
companyServiceKindId: string | null;
|
|
5204
|
+
cpOrderSpPackageId: string | null;
|
|
5205
|
+
quantity: number;
|
|
5206
|
+
priceUnit: number;
|
|
5207
|
+
priceTotal: number;
|
|
5208
|
+
name: string | null;
|
|
5209
|
+
description: string | null;
|
|
5210
|
+
id: string;
|
|
5211
|
+
createdAt: string;
|
|
5212
|
+
updatedAt: string;
|
|
5213
|
+
deletedAt: string | null;
|
|
5214
|
+
oldId: number | null;
|
|
5215
|
+
} | null;
|
|
5194
5216
|
}[];
|
|
5195
5217
|
};
|
|
5196
5218
|
401: "Токен олдсонгүй";
|
|
@@ -6431,7 +6453,9 @@ export declare const app: Elysia<"", {
|
|
|
6431
6453
|
get: {
|
|
6432
6454
|
body: unknown;
|
|
6433
6455
|
params: {};
|
|
6434
|
-
query:
|
|
6456
|
+
query: {
|
|
6457
|
+
branchId?: string | undefined;
|
|
6458
|
+
};
|
|
6435
6459
|
headers: unknown;
|
|
6436
6460
|
response: {
|
|
6437
6461
|
200: {
|
|
@@ -6439,6 +6463,15 @@ export declare const app: Elysia<"", {
|
|
|
6439
6463
|
month: string;
|
|
6440
6464
|
}[];
|
|
6441
6465
|
401: "Токен олдсонгүй";
|
|
6466
|
+
422: {
|
|
6467
|
+
type: "validation";
|
|
6468
|
+
on: string;
|
|
6469
|
+
summary?: string;
|
|
6470
|
+
message?: string;
|
|
6471
|
+
found?: unknown;
|
|
6472
|
+
property?: string;
|
|
6473
|
+
expected?: string;
|
|
6474
|
+
};
|
|
6442
6475
|
};
|
|
6443
6476
|
};
|
|
6444
6477
|
};
|
|
@@ -6449,7 +6482,9 @@ export declare const app: Elysia<"", {
|
|
|
6449
6482
|
get: {
|
|
6450
6483
|
body: unknown;
|
|
6451
6484
|
params: {};
|
|
6452
|
-
query:
|
|
6485
|
+
query: {
|
|
6486
|
+
branchId?: string | undefined;
|
|
6487
|
+
};
|
|
6453
6488
|
headers: unknown;
|
|
6454
6489
|
response: {
|
|
6455
6490
|
200: {
|
|
@@ -6457,6 +6492,15 @@ export declare const app: Elysia<"", {
|
|
|
6457
6492
|
month: string;
|
|
6458
6493
|
}[];
|
|
6459
6494
|
401: "Токен олдсонгүй";
|
|
6495
|
+
422: {
|
|
6496
|
+
type: "validation";
|
|
6497
|
+
on: string;
|
|
6498
|
+
summary?: string;
|
|
6499
|
+
message?: string;
|
|
6500
|
+
found?: unknown;
|
|
6501
|
+
property?: string;
|
|
6502
|
+
expected?: string;
|
|
6503
|
+
};
|
|
6460
6504
|
};
|
|
6461
6505
|
};
|
|
6462
6506
|
};
|
|
@@ -6467,7 +6511,9 @@ export declare const app: Elysia<"", {
|
|
|
6467
6511
|
get: {
|
|
6468
6512
|
body: unknown;
|
|
6469
6513
|
params: {};
|
|
6470
|
-
query:
|
|
6514
|
+
query: {
|
|
6515
|
+
branchId?: string | undefined;
|
|
6516
|
+
};
|
|
6471
6517
|
headers: unknown;
|
|
6472
6518
|
response: {
|
|
6473
6519
|
200: {
|
|
@@ -6475,6 +6521,15 @@ export declare const app: Elysia<"", {
|
|
|
6475
6521
|
month: string;
|
|
6476
6522
|
}[];
|
|
6477
6523
|
401: "Токен олдсонгүй";
|
|
6524
|
+
422: {
|
|
6525
|
+
type: "validation";
|
|
6526
|
+
on: string;
|
|
6527
|
+
summary?: string;
|
|
6528
|
+
message?: string;
|
|
6529
|
+
found?: unknown;
|
|
6530
|
+
property?: string;
|
|
6531
|
+
expected?: string;
|
|
6532
|
+
};
|
|
6478
6533
|
};
|
|
6479
6534
|
};
|
|
6480
6535
|
};
|
|
@@ -6485,7 +6540,9 @@ export declare const app: Elysia<"", {
|
|
|
6485
6540
|
get: {
|
|
6486
6541
|
body: unknown;
|
|
6487
6542
|
params: {};
|
|
6488
|
-
query:
|
|
6543
|
+
query: {
|
|
6544
|
+
branchId?: string | undefined;
|
|
6545
|
+
};
|
|
6489
6546
|
headers: unknown;
|
|
6490
6547
|
response: {
|
|
6491
6548
|
200: {
|
|
@@ -6493,6 +6550,15 @@ export declare const app: Elysia<"", {
|
|
|
6493
6550
|
month: string;
|
|
6494
6551
|
}[];
|
|
6495
6552
|
401: "Токен олдсонгүй";
|
|
6553
|
+
422: {
|
|
6554
|
+
type: "validation";
|
|
6555
|
+
on: string;
|
|
6556
|
+
summary?: string;
|
|
6557
|
+
message?: string;
|
|
6558
|
+
found?: unknown;
|
|
6559
|
+
property?: string;
|
|
6560
|
+
expected?: string;
|
|
6561
|
+
};
|
|
6496
6562
|
};
|
|
6497
6563
|
};
|
|
6498
6564
|
};
|
|
@@ -6503,7 +6569,9 @@ export declare const app: Elysia<"", {
|
|
|
6503
6569
|
get: {
|
|
6504
6570
|
body: unknown;
|
|
6505
6571
|
params: {};
|
|
6506
|
-
query:
|
|
6572
|
+
query: {
|
|
6573
|
+
branchId?: string | undefined;
|
|
6574
|
+
};
|
|
6507
6575
|
headers: unknown;
|
|
6508
6576
|
response: {
|
|
6509
6577
|
200: {
|
|
@@ -6515,6 +6583,15 @@ export declare const app: Elysia<"", {
|
|
|
6515
6583
|
};
|
|
6516
6584
|
}[];
|
|
6517
6585
|
401: "Токен олдсонгүй";
|
|
6586
|
+
422: {
|
|
6587
|
+
type: "validation";
|
|
6588
|
+
on: string;
|
|
6589
|
+
summary?: string;
|
|
6590
|
+
message?: string;
|
|
6591
|
+
found?: unknown;
|
|
6592
|
+
property?: string;
|
|
6593
|
+
expected?: string;
|
|
6594
|
+
};
|
|
6518
6595
|
};
|
|
6519
6596
|
};
|
|
6520
6597
|
};
|
|
@@ -6525,7 +6602,9 @@ export declare const app: Elysia<"", {
|
|
|
6525
6602
|
get: {
|
|
6526
6603
|
body: unknown;
|
|
6527
6604
|
params: {};
|
|
6528
|
-
query:
|
|
6605
|
+
query: {
|
|
6606
|
+
branchId?: string | undefined;
|
|
6607
|
+
};
|
|
6529
6608
|
headers: unknown;
|
|
6530
6609
|
response: {
|
|
6531
6610
|
200: {
|
|
@@ -6536,6 +6615,15 @@ export declare const app: Elysia<"", {
|
|
|
6536
6615
|
};
|
|
6537
6616
|
}[];
|
|
6538
6617
|
401: "Токен олдсонгүй";
|
|
6618
|
+
422: {
|
|
6619
|
+
type: "validation";
|
|
6620
|
+
on: string;
|
|
6621
|
+
summary?: string;
|
|
6622
|
+
message?: string;
|
|
6623
|
+
found?: unknown;
|
|
6624
|
+
property?: string;
|
|
6625
|
+
expected?: string;
|
|
6626
|
+
};
|
|
6539
6627
|
};
|
|
6540
6628
|
};
|
|
6541
6629
|
};
|
|
@@ -6546,7 +6634,9 @@ export declare const app: Elysia<"", {
|
|
|
6546
6634
|
get: {
|
|
6547
6635
|
body: unknown;
|
|
6548
6636
|
params: {};
|
|
6549
|
-
query:
|
|
6637
|
+
query: {
|
|
6638
|
+
branchId?: string | undefined;
|
|
6639
|
+
};
|
|
6550
6640
|
headers: unknown;
|
|
6551
6641
|
response: {
|
|
6552
6642
|
200: {
|
|
@@ -6557,6 +6647,15 @@ export declare const app: Elysia<"", {
|
|
|
6557
6647
|
};
|
|
6558
6648
|
}[];
|
|
6559
6649
|
401: "Токен олдсонгүй";
|
|
6650
|
+
422: {
|
|
6651
|
+
type: "validation";
|
|
6652
|
+
on: string;
|
|
6653
|
+
summary?: string;
|
|
6654
|
+
message?: string;
|
|
6655
|
+
found?: unknown;
|
|
6656
|
+
property?: string;
|
|
6657
|
+
expected?: string;
|
|
6658
|
+
};
|
|
6560
6659
|
};
|
|
6561
6660
|
};
|
|
6562
6661
|
};
|
|
@@ -6567,7 +6666,9 @@ export declare const app: Elysia<"", {
|
|
|
6567
6666
|
get: {
|
|
6568
6667
|
body: unknown;
|
|
6569
6668
|
params: {};
|
|
6570
|
-
query:
|
|
6669
|
+
query: {
|
|
6670
|
+
branchId?: string | undefined;
|
|
6671
|
+
};
|
|
6571
6672
|
headers: unknown;
|
|
6572
6673
|
response: {
|
|
6573
6674
|
200: {
|
|
@@ -6575,6 +6676,15 @@ export declare const app: Elysia<"", {
|
|
|
6575
6676
|
date: string;
|
|
6576
6677
|
}[];
|
|
6577
6678
|
401: "Токен олдсонгүй";
|
|
6679
|
+
422: {
|
|
6680
|
+
type: "validation";
|
|
6681
|
+
on: string;
|
|
6682
|
+
summary?: string;
|
|
6683
|
+
message?: string;
|
|
6684
|
+
found?: unknown;
|
|
6685
|
+
property?: string;
|
|
6686
|
+
expected?: string;
|
|
6687
|
+
};
|
|
6578
6688
|
};
|
|
6579
6689
|
};
|
|
6580
6690
|
};
|