@7365admin1/core 3.18.0 → 3.20.0
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/CHANGELOG.md +12 -0
- package/dist/index.d.ts +7 -11
- package/dist/index.js +4262 -4028
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1775 -1541
- package/dist/index.mjs.map +1 -1
- package/dist/public/handlebars/service-provider-create-org.hbs +123 -85
- package/dist/public/handlebars/service-provider-invite.hbs +175 -89
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -472,11 +472,12 @@ declare function useVerificationService(): {
|
|
|
472
472
|
metadata: TKeyValuePair;
|
|
473
473
|
}) => Promise<bson.ObjectId>;
|
|
474
474
|
createForgetPassword: (email: string) => Promise<string>;
|
|
475
|
-
createServiceProviderInvite: ({ email, orgId, siteId, siteName, }: {
|
|
475
|
+
createServiceProviderInvite: ({ email, orgId, siteId, siteName, inviteType, }: {
|
|
476
476
|
email: string;
|
|
477
477
|
orgId: string;
|
|
478
478
|
siteId: string;
|
|
479
479
|
siteName: string;
|
|
480
|
+
inviteType: "create-org" | "organization-invite";
|
|
480
481
|
}) => Promise<bson.ObjectId>;
|
|
481
482
|
getById: (id: string) => Promise<TVerification>;
|
|
482
483
|
verify: (id: string) => Promise<TVerification>;
|
|
@@ -635,6 +636,7 @@ declare function useOrgController(): {
|
|
|
635
636
|
update: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
636
637
|
getOrgsByEmail: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
637
638
|
getAdminOrgForResident: (_req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
639
|
+
updateStatus: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
638
640
|
};
|
|
639
641
|
|
|
640
642
|
/**
|
|
@@ -1874,7 +1876,8 @@ declare enum SortOrder {
|
|
|
1874
1876
|
}
|
|
1875
1877
|
declare enum BuildingStatus {
|
|
1876
1878
|
ACTIVE = "active",
|
|
1877
|
-
PENDING = "pending"
|
|
1879
|
+
PENDING = "pending",
|
|
1880
|
+
DELETED = "deleted"
|
|
1878
1881
|
}
|
|
1879
1882
|
type TBuilding = {
|
|
1880
1883
|
_id?: ObjectId;
|
|
@@ -2406,7 +2409,7 @@ declare function parseDahuaFind(text: string): {
|
|
|
2406
2409
|
plateNumber: string | undefined;
|
|
2407
2410
|
};
|
|
2408
2411
|
declare function useVehicleService(): {
|
|
2409
|
-
add: (value: TVehicle, session?: ClientSession) => Promise<string>;
|
|
2412
|
+
add: (value: TVehicle, session?: ClientSession, user?: string) => Promise<string>;
|
|
2410
2413
|
deleteVehicle: (_id: string, recno: string, site: string, type: string, bypass?: boolean) => Promise<string>;
|
|
2411
2414
|
approveVehicleById: (id: string, orgId: string, siteId: string) => Promise<string>;
|
|
2412
2415
|
processDeletingExpiredVehicles: () => Promise<string>;
|
|
@@ -6062,14 +6065,7 @@ declare function useNewDashboardRepo(): {
|
|
|
6062
6065
|
missed: any;
|
|
6063
6066
|
percentage: number;
|
|
6064
6067
|
};
|
|
6065
|
-
activePatrolItems:
|
|
6066
|
-
id: string;
|
|
6067
|
-
title: any;
|
|
6068
|
-
subtitle: string;
|
|
6069
|
-
person: string;
|
|
6070
|
-
status: string;
|
|
6071
|
-
time: string;
|
|
6072
|
-
}[];
|
|
6068
|
+
activePatrolItems: any[];
|
|
6073
6069
|
}>;
|
|
6074
6070
|
getPropertyManagementDashboard: (siteId: string, period?: Period, type?: string, facility?: string) => Promise<{
|
|
6075
6071
|
openWorkOrder: {
|