autosync_backend2 1.1.69 → 1.1.71
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 +193 -9
- package/dist/index.js +381 -304
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -2633,6 +2633,160 @@ export declare const app: Elysia<"", {
|
|
2633
2633
|
};
|
2634
2634
|
};
|
2635
2635
|
};
|
2636
|
+
} & {
|
2637
|
+
company: {
|
2638
|
+
account: {};
|
2639
|
+
} & {
|
2640
|
+
account: {
|
2641
|
+
get: {
|
2642
|
+
body: unknown;
|
2643
|
+
params: {};
|
2644
|
+
query: {
|
2645
|
+
id?: string | undefined;
|
2646
|
+
createdAt?: string | undefined;
|
2647
|
+
updatedAt?: string | undefined;
|
2648
|
+
companyId?: string | undefined;
|
2649
|
+
account?: string | undefined;
|
2650
|
+
deletedAt?: string | null | undefined;
|
2651
|
+
description?: string | null | undefined;
|
2652
|
+
bank?: string | undefined;
|
2653
|
+
pagination: {
|
2654
|
+
size: number;
|
2655
|
+
page: number;
|
2656
|
+
};
|
2657
|
+
};
|
2658
|
+
headers: unknown;
|
2659
|
+
response: {
|
2660
|
+
200: {
|
2661
|
+
totalCount: number;
|
2662
|
+
totalPage: number;
|
2663
|
+
result: Omit<{
|
2664
|
+
id: string;
|
2665
|
+
createdAt: string;
|
2666
|
+
updatedAt: string;
|
2667
|
+
companyId: string;
|
2668
|
+
account: string;
|
2669
|
+
deletedAt: string | null;
|
2670
|
+
description: string | null;
|
2671
|
+
bank: string;
|
2672
|
+
} & {
|
2673
|
+
totalCount: number;
|
2674
|
+
}, "totalCount">[];
|
2675
|
+
};
|
2676
|
+
422: {
|
2677
|
+
type: "validation";
|
2678
|
+
on: string;
|
2679
|
+
summary?: string;
|
2680
|
+
message?: string;
|
2681
|
+
found?: unknown;
|
2682
|
+
property?: string;
|
2683
|
+
expected?: string;
|
2684
|
+
};
|
2685
|
+
};
|
2686
|
+
};
|
2687
|
+
};
|
2688
|
+
} & {
|
2689
|
+
account: {
|
2690
|
+
post: {
|
2691
|
+
body: {
|
2692
|
+
description?: string | null | undefined;
|
2693
|
+
companyId: string;
|
2694
|
+
account: string;
|
2695
|
+
bank: string;
|
2696
|
+
};
|
2697
|
+
params: {};
|
2698
|
+
query: unknown;
|
2699
|
+
headers: unknown;
|
2700
|
+
response: {
|
2701
|
+
200: {
|
2702
|
+
id: string;
|
2703
|
+
createdAt: string;
|
2704
|
+
updatedAt: string;
|
2705
|
+
companyId: string;
|
2706
|
+
account: string;
|
2707
|
+
deletedAt: string | null;
|
2708
|
+
description: string | null;
|
2709
|
+
bank: string;
|
2710
|
+
};
|
2711
|
+
422: {
|
2712
|
+
type: "validation";
|
2713
|
+
on: string;
|
2714
|
+
summary?: string;
|
2715
|
+
message?: string;
|
2716
|
+
found?: unknown;
|
2717
|
+
property?: string;
|
2718
|
+
expected?: string;
|
2719
|
+
};
|
2720
|
+
};
|
2721
|
+
};
|
2722
|
+
};
|
2723
|
+
} & {
|
2724
|
+
account: {
|
2725
|
+
":id": {
|
2726
|
+
put: {
|
2727
|
+
body: {
|
2728
|
+
companyId?: string | undefined;
|
2729
|
+
account?: string | undefined;
|
2730
|
+
description?: string | null | undefined;
|
2731
|
+
bank?: string | undefined;
|
2732
|
+
};
|
2733
|
+
params: {
|
2734
|
+
id: string;
|
2735
|
+
};
|
2736
|
+
query: unknown;
|
2737
|
+
headers: unknown;
|
2738
|
+
response: {
|
2739
|
+
200: {
|
2740
|
+
id: string;
|
2741
|
+
createdAt: string;
|
2742
|
+
updatedAt: string;
|
2743
|
+
companyId: string;
|
2744
|
+
account: string;
|
2745
|
+
deletedAt: string | null;
|
2746
|
+
description: string | null;
|
2747
|
+
bank: string;
|
2748
|
+
};
|
2749
|
+
404: string;
|
2750
|
+
422: {
|
2751
|
+
type: "validation";
|
2752
|
+
on: string;
|
2753
|
+
summary?: string;
|
2754
|
+
message?: string;
|
2755
|
+
found?: unknown;
|
2756
|
+
property?: string;
|
2757
|
+
expected?: string;
|
2758
|
+
};
|
2759
|
+
};
|
2760
|
+
};
|
2761
|
+
};
|
2762
|
+
};
|
2763
|
+
} & {
|
2764
|
+
account: {
|
2765
|
+
":id": {
|
2766
|
+
delete: {
|
2767
|
+
body: unknown;
|
2768
|
+
params: {
|
2769
|
+
id: string;
|
2770
|
+
};
|
2771
|
+
query: unknown;
|
2772
|
+
headers: unknown;
|
2773
|
+
response: {
|
2774
|
+
200: undefined;
|
2775
|
+
404: string;
|
2776
|
+
422: {
|
2777
|
+
type: "validation";
|
2778
|
+
on: string;
|
2779
|
+
summary?: string;
|
2780
|
+
message?: string;
|
2781
|
+
found?: unknown;
|
2782
|
+
property?: string;
|
2783
|
+
expected?: string;
|
2784
|
+
};
|
2785
|
+
};
|
2786
|
+
};
|
2787
|
+
};
|
2788
|
+
};
|
2789
|
+
};
|
2636
2790
|
};
|
2637
2791
|
} & {
|
2638
2792
|
api: {
|
@@ -3827,6 +3981,7 @@ export declare const app: Elysia<"", {
|
|
3827
3981
|
body: unknown;
|
3828
3982
|
params: {};
|
3829
3983
|
query: {
|
3984
|
+
type?: "Service" | "ProductSell" | undefined;
|
3830
3985
|
id?: string | undefined;
|
3831
3986
|
createdAt?: string | undefined;
|
3832
3987
|
phone?: string | undefined;
|
@@ -3860,7 +4015,7 @@ export declare const app: Elysia<"", {
|
|
3860
4015
|
isNoat: boolean | null;
|
3861
4016
|
timeCompleted: string | null;
|
3862
4017
|
km: number;
|
3863
|
-
type: "Service" | "
|
4018
|
+
type: "Service" | "ProductSell";
|
3864
4019
|
id: string;
|
3865
4020
|
createdAt: string;
|
3866
4021
|
updatedAt: string;
|
@@ -3889,7 +4044,7 @@ export declare const app: Elysia<"", {
|
|
3889
4044
|
createdAt: string;
|
3890
4045
|
updatedAt: string;
|
3891
4046
|
deletedAt: string | null;
|
3892
|
-
};
|
4047
|
+
} | null;
|
3893
4048
|
make: {
|
3894
4049
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
3895
4050
|
parentId: string | null;
|
@@ -3972,7 +4127,7 @@ export declare const app: Elysia<"", {
|
|
3972
4127
|
isNoat: boolean | null;
|
3973
4128
|
timeCompleted: string | null;
|
3974
4129
|
km: number;
|
3975
|
-
type: "Service" | "
|
4130
|
+
type: "Service" | "ProductSell";
|
3976
4131
|
id: string;
|
3977
4132
|
createdAt: string;
|
3978
4133
|
updatedAt: string;
|
@@ -4001,7 +4156,7 @@ export declare const app: Elysia<"", {
|
|
4001
4156
|
createdAt: string;
|
4002
4157
|
updatedAt: string;
|
4003
4158
|
deletedAt: string | null;
|
4004
|
-
};
|
4159
|
+
} | null;
|
4005
4160
|
make: {
|
4006
4161
|
vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
|
4007
4162
|
parentId: string | null;
|
@@ -4057,6 +4212,35 @@ export declare const app: Elysia<"", {
|
|
4057
4212
|
};
|
4058
4213
|
};
|
4059
4214
|
};
|
4215
|
+
} & {
|
4216
|
+
"cp-order": {
|
4217
|
+
sell: {
|
4218
|
+
post: {
|
4219
|
+
body: unknown;
|
4220
|
+
params: {};
|
4221
|
+
query: unknown;
|
4222
|
+
headers: unknown;
|
4223
|
+
response: {
|
4224
|
+
200: {
|
4225
|
+
type: "Service" | "ProductSell";
|
4226
|
+
id: string;
|
4227
|
+
createdAt: string;
|
4228
|
+
updatedAt: string;
|
4229
|
+
companyId: string;
|
4230
|
+
deletedAt: string | null;
|
4231
|
+
isNoat: boolean | null;
|
4232
|
+
companyBranchId: string;
|
4233
|
+
customerId: string | null;
|
4234
|
+
vehicleId: string | null;
|
4235
|
+
km: number;
|
4236
|
+
orderId: string;
|
4237
|
+
state: "CREATED" | "PROGRESSING" | "COMPLETE";
|
4238
|
+
timeCompleted: string | null;
|
4239
|
+
};
|
4240
|
+
};
|
4241
|
+
};
|
4242
|
+
};
|
4243
|
+
};
|
4060
4244
|
} & {
|
4061
4245
|
"cp-order": {
|
4062
4246
|
package: {
|
@@ -4108,7 +4292,7 @@ export declare const app: Elysia<"", {
|
|
4108
4292
|
isNoat: boolean | null;
|
4109
4293
|
timeCompleted: string | null;
|
4110
4294
|
km: number;
|
4111
|
-
type: "Service" | "
|
4295
|
+
type: "Service" | "ProductSell";
|
4112
4296
|
id: string;
|
4113
4297
|
createdAt: string;
|
4114
4298
|
updatedAt: string;
|
@@ -4133,7 +4317,7 @@ export declare const app: Elysia<"", {
|
|
4133
4317
|
":id": {
|
4134
4318
|
put: {
|
4135
4319
|
body: {
|
4136
|
-
type?: "Service" | "
|
4320
|
+
type?: "Service" | "ProductSell" | undefined;
|
4137
4321
|
companyId?: string | undefined;
|
4138
4322
|
isNoat?: boolean | null | undefined;
|
4139
4323
|
companyBranchId?: string | undefined;
|
@@ -4160,7 +4344,7 @@ export declare const app: Elysia<"", {
|
|
4160
4344
|
isNoat: boolean | null;
|
4161
4345
|
timeCompleted: string | null;
|
4162
4346
|
km: number;
|
4163
|
-
type: "Service" | "
|
4347
|
+
type: "Service" | "ProductSell";
|
4164
4348
|
id: string;
|
4165
4349
|
createdAt: string;
|
4166
4350
|
updatedAt: string;
|
@@ -6217,7 +6401,7 @@ export declare const app: Elysia<"", {
|
|
6217
6401
|
isNoat: boolean | null;
|
6218
6402
|
timeCompleted: string | null;
|
6219
6403
|
km: number;
|
6220
|
-
type: "Service" | "
|
6404
|
+
type: "Service" | "ProductSell";
|
6221
6405
|
id: string;
|
6222
6406
|
createdAt: string;
|
6223
6407
|
updatedAt: string;
|
@@ -6445,7 +6629,7 @@ export declare const app: Elysia<"", {
|
|
6445
6629
|
isNoat: boolean | null;
|
6446
6630
|
timeCompleted: string | null;
|
6447
6631
|
km: number;
|
6448
|
-
type: "Service" | "
|
6632
|
+
type: "Service" | "ProductSell";
|
6449
6633
|
id: string;
|
6450
6634
|
createdAt: string;
|
6451
6635
|
updatedAt: string;
|