autosync_backend2 1.2.103 → 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.
Files changed (3) hide show
  1. package/dist/index.d.ts +72 -0
  2. package/dist/index.js +1385 -107
  3. 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";
@@ -14689,6 +14709,58 @@ export declare const app: Elysia<"", {
14689
14709
  };
14690
14710
  };
14691
14711
  };
14712
+ } & {
14713
+ channel: {
14714
+ ":id": {
14715
+ "auth-users": {
14716
+ get: {
14717
+ body: {};
14718
+ params: {
14719
+ id: string;
14720
+ };
14721
+ query: {};
14722
+ headers: {};
14723
+ response: {
14724
+ 200: {
14725
+ user: {
14726
+ id: string;
14727
+ name: string;
14728
+ email: string;
14729
+ emailVerified: boolean;
14730
+ image: string | null;
14731
+ createdAt: Date;
14732
+ updatedAt: Date;
14733
+ companyId: string;
14734
+ branchId: string;
14735
+ kind: "ADMIN" | "COMPANY_ADMIN" | "CUSTOMER" | "INSPECTION";
14736
+ employeeId: string | null;
14737
+ role: string | null;
14738
+ banned: boolean | null;
14739
+ banReason: string | null;
14740
+ banExpires: Date | null;
14741
+ };
14742
+ channel_auth_user: {
14743
+ nmChannelId: string;
14744
+ authUserId: string;
14745
+ enabled: boolean;
14746
+ };
14747
+ }[];
14748
+ 401: "Токен олдсонгүй";
14749
+ 402: "Системийн төлбөр хийгдээгүй байна. 88046194";
14750
+ 422: {
14751
+ type: "validation";
14752
+ on: string;
14753
+ summary?: string;
14754
+ message?: string;
14755
+ found?: unknown;
14756
+ property?: string;
14757
+ expected?: string;
14758
+ };
14759
+ };
14760
+ };
14761
+ };
14762
+ };
14763
+ };
14692
14764
  } & {
14693
14765
  channel: {
14694
14766
  ":id": {