autosync_backend2 1.2.104 → 1.2.105
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 +24 -0
- package/dist/index.js +1351 -91
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -211,6 +211,7 @@ export declare const app: Elysia<"", {
|
|
|
211
211
|
token: string;
|
|
212
212
|
ipAddress?: string | null | undefined | undefined;
|
|
213
213
|
userAgent?: string | null | undefined | undefined;
|
|
214
|
+
impersonatedBy?: string | null | undefined;
|
|
214
215
|
};
|
|
215
216
|
company: {
|
|
216
217
|
type: "AutoService" | "MiningFleet" | "UrbanTransportFleet" | "Long-haul/Logistics" | "Emergency/Medical/Police" | "CorporateFleet";
|
|
@@ -396,6 +397,7 @@ export declare const app: Elysia<"", {
|
|
|
396
397
|
token: string;
|
|
397
398
|
ipAddress?: string | null | undefined | undefined;
|
|
398
399
|
userAgent?: string | null | undefined | undefined;
|
|
400
|
+
impersonatedBy?: string | null | undefined;
|
|
399
401
|
};
|
|
400
402
|
company: {
|
|
401
403
|
type: "AutoService" | "MiningFleet" | "UrbanTransportFleet" | "Long-haul/Logistics" | "Emergency/Medical/Police" | "CorporateFleet";
|
|
@@ -581,6 +583,7 @@ export declare const app: Elysia<"", {
|
|
|
581
583
|
token: string;
|
|
582
584
|
ipAddress?: string | null | undefined | undefined;
|
|
583
585
|
userAgent?: string | null | undefined | undefined;
|
|
586
|
+
impersonatedBy?: string | null | undefined;
|
|
584
587
|
};
|
|
585
588
|
company: {
|
|
586
589
|
type: "AutoService" | "MiningFleet" | "UrbanTransportFleet" | "Long-haul/Logistics" | "Emergency/Medical/Police" | "CorporateFleet";
|
|
@@ -4989,6 +4992,7 @@ export declare const app: Elysia<"", {
|
|
|
4989
4992
|
params: {};
|
|
4990
4993
|
query: {
|
|
4991
4994
|
branchId?: string | undefined;
|
|
4995
|
+
banned?: boolean | null | undefined;
|
|
4992
4996
|
pagination: {
|
|
4993
4997
|
size: number;
|
|
4994
4998
|
page: number;
|
|
@@ -5016,6 +5020,10 @@ export declare const app: Elysia<"", {
|
|
|
5016
5020
|
branchId: string;
|
|
5017
5021
|
kind: "ADMIN" | "COMPANY_ADMIN" | "CUSTOMER" | "INSPECTION";
|
|
5018
5022
|
employeeId: string | null;
|
|
5023
|
+
role: string | null;
|
|
5024
|
+
banned: boolean | null;
|
|
5025
|
+
banReason: string | null;
|
|
5026
|
+
banExpires: Date | null;
|
|
5019
5027
|
}[];
|
|
5020
5028
|
};
|
|
5021
5029
|
401: "Токен олдсонгүй";
|
|
@@ -5066,6 +5074,10 @@ export declare const app: Elysia<"", {
|
|
|
5066
5074
|
branchId: string;
|
|
5067
5075
|
kind: "ADMIN" | "COMPANY_ADMIN" | "CUSTOMER" | "INSPECTION";
|
|
5068
5076
|
employeeId?: string | null | undefined;
|
|
5077
|
+
banned: boolean | null | undefined;
|
|
5078
|
+
role?: string | null | undefined;
|
|
5079
|
+
banReason?: string | null | undefined;
|
|
5080
|
+
banExpires?: Date | null | undefined;
|
|
5069
5081
|
};
|
|
5070
5082
|
401: "Токен олдсонгүй";
|
|
5071
5083
|
402: "Системийн төлбөр хийгдээгүй байна. 88046194";
|
|
@@ -5132,6 +5144,10 @@ export declare const app: Elysia<"", {
|
|
|
5132
5144
|
branchId?: string | undefined;
|
|
5133
5145
|
kind?: "ADMIN" | "COMPANY_ADMIN" | "CUSTOMER" | "INSPECTION" | undefined;
|
|
5134
5146
|
employeeId?: string | null | undefined;
|
|
5147
|
+
role?: string | null | undefined;
|
|
5148
|
+
banned?: boolean | null | undefined;
|
|
5149
|
+
banReason?: string | null | undefined;
|
|
5150
|
+
banExpires?: Date | null | undefined;
|
|
5135
5151
|
password?: string | undefined;
|
|
5136
5152
|
permissions: never[];
|
|
5137
5153
|
};
|
|
@@ -5153,6 +5169,10 @@ export declare const app: Elysia<"", {
|
|
|
5153
5169
|
branchId: string;
|
|
5154
5170
|
kind: "ADMIN" | "COMPANY_ADMIN" | "CUSTOMER" | "INSPECTION";
|
|
5155
5171
|
employeeId: string | null;
|
|
5172
|
+
role: string | null;
|
|
5173
|
+
banned: boolean | null;
|
|
5174
|
+
banReason: string | null;
|
|
5175
|
+
banExpires: Date | null;
|
|
5156
5176
|
};
|
|
5157
5177
|
401: "Токен олдсонгүй";
|
|
5158
5178
|
402: "Системийн төлбөр хийгдээгүй байна. 88046194";
|
|
@@ -14714,6 +14734,10 @@ export declare const app: Elysia<"", {
|
|
|
14714
14734
|
branchId: string;
|
|
14715
14735
|
kind: "ADMIN" | "COMPANY_ADMIN" | "CUSTOMER" | "INSPECTION";
|
|
14716
14736
|
employeeId: string | null;
|
|
14737
|
+
role: string | null;
|
|
14738
|
+
banned: boolean | null;
|
|
14739
|
+
banReason: string | null;
|
|
14740
|
+
banExpires: Date | null;
|
|
14717
14741
|
};
|
|
14718
14742
|
channel_auth_user: {
|
|
14719
14743
|
nmChannelId: string;
|