autosync_backend2 1.2.6 → 1.2.8
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 +160 -10
- package/dist/index.js +1027 -4460
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -619,7 +619,6 @@ export declare const app: Elysia<"", {
|
|
619
619
|
supplierId?: string | undefined;
|
620
620
|
productId?: string | undefined;
|
621
621
|
priceSell?: number | undefined;
|
622
|
-
alias?: string | undefined;
|
623
622
|
ids?: string[] | undefined;
|
624
623
|
pagination: {
|
625
624
|
size: number;
|
@@ -784,7 +783,6 @@ export declare const app: Elysia<"", {
|
|
784
783
|
supplierId?: string | undefined;
|
785
784
|
productId?: string | undefined;
|
786
785
|
priceSell?: number | undefined;
|
787
|
-
alias?: string | undefined;
|
788
786
|
ids?: string[] | undefined;
|
789
787
|
pagination: {
|
790
788
|
size: number;
|
@@ -1031,12 +1029,7 @@ export declare const app: Elysia<"", {
|
|
1031
1029
|
supplierId?: string | undefined;
|
1032
1030
|
productId?: string | undefined;
|
1033
1031
|
priceSell?: number | undefined;
|
1034
|
-
alias?: string | undefined;
|
1035
1032
|
ids?: string[] | undefined;
|
1036
|
-
pagination: {
|
1037
|
-
size: number;
|
1038
|
-
page: number;
|
1039
|
-
};
|
1040
1033
|
} | undefined;
|
1041
1034
|
warehouseId?: string | undefined;
|
1042
1035
|
safetyStock?: number | undefined;
|
@@ -1199,7 +1192,6 @@ export declare const app: Elysia<"", {
|
|
1199
1192
|
supplierId?: string | undefined;
|
1200
1193
|
productId?: string | undefined;
|
1201
1194
|
priceSell?: number | undefined;
|
1202
|
-
alias?: string | undefined;
|
1203
1195
|
ids?: string[] | undefined;
|
1204
1196
|
} | undefined;
|
1205
1197
|
itemId?: string | undefined;
|
@@ -5515,6 +5507,164 @@ export declare const app: Elysia<"", {
|
|
5515
5507
|
};
|
5516
5508
|
};
|
5517
5509
|
};
|
5510
|
+
} & {
|
5511
|
+
crm: {
|
5512
|
+
dashboard: {};
|
5513
|
+
} & {
|
5514
|
+
dashboard: {
|
5515
|
+
"car-count": {
|
5516
|
+
get: {
|
5517
|
+
body: unknown;
|
5518
|
+
params: {};
|
5519
|
+
query: unknown;
|
5520
|
+
headers: unknown;
|
5521
|
+
response: {
|
5522
|
+
200: {
|
5523
|
+
count: number;
|
5524
|
+
month: string;
|
5525
|
+
}[];
|
5526
|
+
401: "Session not found";
|
5527
|
+
};
|
5528
|
+
};
|
5529
|
+
};
|
5530
|
+
};
|
5531
|
+
} & {
|
5532
|
+
dashboard: {
|
5533
|
+
"cp-order-count": {
|
5534
|
+
get: {
|
5535
|
+
body: unknown;
|
5536
|
+
params: {};
|
5537
|
+
query: unknown;
|
5538
|
+
headers: unknown;
|
5539
|
+
response: {
|
5540
|
+
200: {
|
5541
|
+
count: number;
|
5542
|
+
month: string;
|
5543
|
+
}[];
|
5544
|
+
401: "Session not found";
|
5545
|
+
};
|
5546
|
+
};
|
5547
|
+
};
|
5548
|
+
};
|
5549
|
+
} & {
|
5550
|
+
dashboard: {
|
5551
|
+
"cp-order-service-count": {
|
5552
|
+
get: {
|
5553
|
+
body: unknown;
|
5554
|
+
params: {};
|
5555
|
+
query: unknown;
|
5556
|
+
headers: unknown;
|
5557
|
+
response: {
|
5558
|
+
200: {
|
5559
|
+
count: number;
|
5560
|
+
month: string;
|
5561
|
+
}[];
|
5562
|
+
401: "Session not found";
|
5563
|
+
};
|
5564
|
+
};
|
5565
|
+
};
|
5566
|
+
};
|
5567
|
+
} & {
|
5568
|
+
dashboard: {
|
5569
|
+
"cp-order-total-amount": {
|
5570
|
+
get: {
|
5571
|
+
body: unknown;
|
5572
|
+
params: {};
|
5573
|
+
query: unknown;
|
5574
|
+
headers: unknown;
|
5575
|
+
response: {
|
5576
|
+
200: {
|
5577
|
+
amount: number;
|
5578
|
+
month: string;
|
5579
|
+
}[];
|
5580
|
+
401: "Session not found";
|
5581
|
+
};
|
5582
|
+
};
|
5583
|
+
};
|
5584
|
+
};
|
5585
|
+
} & {
|
5586
|
+
dashboard: {
|
5587
|
+
"most-sold-products": {
|
5588
|
+
get: {
|
5589
|
+
body: unknown;
|
5590
|
+
params: {};
|
5591
|
+
query: unknown;
|
5592
|
+
headers: unknown;
|
5593
|
+
response: {
|
5594
|
+
200: {
|
5595
|
+
quantity: number;
|
5596
|
+
product: {
|
5597
|
+
id: string;
|
5598
|
+
name: string;
|
5599
|
+
partNumber: string;
|
5600
|
+
};
|
5601
|
+
}[];
|
5602
|
+
401: "Session not found";
|
5603
|
+
};
|
5604
|
+
};
|
5605
|
+
};
|
5606
|
+
};
|
5607
|
+
} & {
|
5608
|
+
dashboard: {
|
5609
|
+
"most-sold-services": {
|
5610
|
+
get: {
|
5611
|
+
body: unknown;
|
5612
|
+
params: {};
|
5613
|
+
query: unknown;
|
5614
|
+
headers: unknown;
|
5615
|
+
response: {
|
5616
|
+
200: {
|
5617
|
+
quantity: number;
|
5618
|
+
service: {
|
5619
|
+
id: string;
|
5620
|
+
name: string;
|
5621
|
+
};
|
5622
|
+
}[];
|
5623
|
+
401: "Session not found";
|
5624
|
+
};
|
5625
|
+
};
|
5626
|
+
};
|
5627
|
+
};
|
5628
|
+
} & {
|
5629
|
+
dashboard: {
|
5630
|
+
"most-sold-vehicles": {
|
5631
|
+
get: {
|
5632
|
+
body: unknown;
|
5633
|
+
params: {};
|
5634
|
+
query: unknown;
|
5635
|
+
headers: unknown;
|
5636
|
+
response: {
|
5637
|
+
200: {
|
5638
|
+
quantity: number;
|
5639
|
+
vehicleKind: {
|
5640
|
+
id: string;
|
5641
|
+
name: string;
|
5642
|
+
};
|
5643
|
+
}[];
|
5644
|
+
401: "Session not found";
|
5645
|
+
};
|
5646
|
+
};
|
5647
|
+
};
|
5648
|
+
};
|
5649
|
+
} & {
|
5650
|
+
dashboard: {
|
5651
|
+
"daily-sales": {
|
5652
|
+
get: {
|
5653
|
+
body: unknown;
|
5654
|
+
params: {};
|
5655
|
+
query: unknown;
|
5656
|
+
headers: unknown;
|
5657
|
+
response: {
|
5658
|
+
200: {
|
5659
|
+
amount: number;
|
5660
|
+
date: string;
|
5661
|
+
}[];
|
5662
|
+
401: "Session not found";
|
5663
|
+
};
|
5664
|
+
};
|
5665
|
+
};
|
5666
|
+
};
|
5667
|
+
};
|
5518
5668
|
} & {
|
5519
5669
|
crm: {
|
5520
5670
|
discount: {};
|
@@ -6526,7 +6676,7 @@ export declare const app: Elysia<"", {
|
|
6526
6676
|
companyBranchId?: string | undefined;
|
6527
6677
|
startDate?: string | undefined;
|
6528
6678
|
endDate?: string | undefined;
|
6529
|
-
groupBy: "
|
6679
|
+
groupBy: "month" | "day" | "week" | "year";
|
6530
6680
|
};
|
6531
6681
|
headers: unknown;
|
6532
6682
|
response: {
|
@@ -6750,7 +6900,7 @@ export declare const app: Elysia<"", {
|
|
6750
6900
|
companyBranchId?: string | undefined;
|
6751
6901
|
startDate?: string | undefined;
|
6752
6902
|
endDate?: string | undefined;
|
6753
|
-
groupBy: "
|
6903
|
+
groupBy: "month" | "day" | "week" | "year";
|
6754
6904
|
};
|
6755
6905
|
headers: unknown;
|
6756
6906
|
response: {
|