@7365admin1/core 2.13.0 → 2.15.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 +169 -28
- package/dist/index.js +2310 -840
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1737 -272
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
- package/tsconfig.json +1 -3
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1792,10 +1792,31 @@ type TVehicle = {
|
|
|
1792
1792
|
createdAt?: Date | string;
|
|
1793
1793
|
updatedAt?: Date | string;
|
|
1794
1794
|
deletedAt?: Date | string;
|
|
1795
|
+
expiredAt?: Date | string;
|
|
1795
1796
|
};
|
|
1796
|
-
type TVehicleUpdate = Partial<Pick<TVehicle, "name" | "phoneNumber" | "block" | "level" | "unit" | "plateNumber">>;
|
|
1797
|
-
declare
|
|
1798
|
-
|
|
1797
|
+
type TVehicleUpdate = Partial<Pick<TVehicle, "name" | "phoneNumber" | "block" | "level" | "unit" | "plateNumber" | "recNo">>;
|
|
1798
|
+
declare enum VehicleType {
|
|
1799
|
+
WHITELIST = "whitelist",
|
|
1800
|
+
BLOCKLIST = "blocklist"
|
|
1801
|
+
}
|
|
1802
|
+
declare enum VehicleCategory {
|
|
1803
|
+
RESIDENT = "resident",
|
|
1804
|
+
VISITOR = "visitor"
|
|
1805
|
+
}
|
|
1806
|
+
declare enum VehicleStatus {
|
|
1807
|
+
PENDING = "pending",
|
|
1808
|
+
ACTIVE = "active",
|
|
1809
|
+
INACTIVE = "inactive",
|
|
1810
|
+
DELETED = "deleted"
|
|
1811
|
+
}
|
|
1812
|
+
declare enum OrgNature {
|
|
1813
|
+
PROPERTY_MANAGEMENT_AGENCY = "property_management_agency",
|
|
1814
|
+
SECURITY_AGENCY = "security_agency"
|
|
1815
|
+
}
|
|
1816
|
+
declare enum ANPRMode {
|
|
1817
|
+
TRAFFIC_REDLIST = "TrafficRedList",
|
|
1818
|
+
TRAFFIC_BLACKLIST = "TrafficBlackList"
|
|
1819
|
+
}
|
|
1799
1820
|
declare const vehicleSchema: Joi.ObjectSchema<any>;
|
|
1800
1821
|
declare function MVehicle(value: TVehicle): {
|
|
1801
1822
|
plateNumber: string;
|
|
@@ -1816,7 +1837,7 @@ declare function MVehicle(value: TVehicle): {
|
|
|
1816
1837
|
end: string | Date;
|
|
1817
1838
|
status: string;
|
|
1818
1839
|
unitName: string;
|
|
1819
|
-
createdAt: string
|
|
1840
|
+
createdAt: string;
|
|
1820
1841
|
updatedAt: string | Date;
|
|
1821
1842
|
deletedAt: string | Date;
|
|
1822
1843
|
};
|
|
@@ -1848,26 +1869,37 @@ declare function MVehicleTransaction(value: TVehicleTransaction): {
|
|
|
1848
1869
|
|
|
1849
1870
|
declare function useVehicleRepo(): {
|
|
1850
1871
|
createIndex: () => Promise<void>;
|
|
1872
|
+
createTextIndex: () => Promise<void>;
|
|
1851
1873
|
add: (value: TVehicle, session?: ClientSession) => Promise<ObjectId>;
|
|
1852
|
-
getVehicles: ({ page, limit, search, sort, type, category, }: {
|
|
1874
|
+
getVehicles: ({ page, limit, search, sort, type, category, status, }: {
|
|
1853
1875
|
page?: number | undefined;
|
|
1854
1876
|
limit?: number | undefined;
|
|
1855
1877
|
search?: string | undefined;
|
|
1856
1878
|
sort?: Record<string, any> | undefined;
|
|
1857
1879
|
type?: string | undefined;
|
|
1858
1880
|
category?: string | undefined;
|
|
1881
|
+
status?: string | undefined;
|
|
1859
1882
|
}) => Promise<{}>;
|
|
1860
1883
|
getSeasonPassTypes: (site: string | ObjectId) => Promise<{}>;
|
|
1861
|
-
getVehicleById: (_id: string | ObjectId) => Promise<
|
|
1862
|
-
updateVehicle: (_id: string | ObjectId, value: TVehicleUpdate) => Promise<number>;
|
|
1884
|
+
getVehicleById: (_id: string | ObjectId) => Promise<any>;
|
|
1885
|
+
updateVehicle: (_id: string | ObjectId, value: TVehicleUpdate, session?: ClientSession) => Promise<number>;
|
|
1863
1886
|
deleteVehicle: (_id: string | ObjectId, session?: ClientSession) => Promise<number>;
|
|
1864
1887
|
getByPlaceNumber: (value: string) => Promise<{}>;
|
|
1865
1888
|
getVehicleByPlateNumber: (plateNumber: string) => Promise<TVehicle | null>;
|
|
1889
|
+
getVehiclesByNRIC: ({ page, limit, search, sort, }: {
|
|
1890
|
+
page?: number | undefined;
|
|
1891
|
+
limit?: number | undefined;
|
|
1892
|
+
search?: string | undefined;
|
|
1893
|
+
sort?: Record<string, any> | undefined;
|
|
1894
|
+
}) => Promise<{}>;
|
|
1895
|
+
deleteExpiredVehicles: (session?: ClientSession) => Promise<number>;
|
|
1866
1896
|
};
|
|
1867
1897
|
|
|
1868
1898
|
declare function useVehicleService(): {
|
|
1869
1899
|
add: (value: TVehicle) => Promise<string>;
|
|
1870
|
-
deleteVehicle: (_id: string, recno: string, site: string, bypass?: boolean) => Promise<string>;
|
|
1900
|
+
deleteVehicle: (_id: string, recno: string, site: string, type: string, bypass?: boolean) => Promise<string>;
|
|
1901
|
+
approveVehicleById: (id: string, orgId: string, siteId: string) => Promise<string>;
|
|
1902
|
+
processDeletingExpiredVehicles: () => Promise<string>;
|
|
1871
1903
|
};
|
|
1872
1904
|
|
|
1873
1905
|
declare function useVehicleController(): {
|
|
@@ -1877,6 +1909,8 @@ declare function useVehicleController(): {
|
|
|
1877
1909
|
getVehicleById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
1878
1910
|
updateVehicle: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
1879
1911
|
deleteVehicle: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
1912
|
+
approveVehicleById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
1913
|
+
getVehiclesByNRIC: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
1880
1914
|
};
|
|
1881
1915
|
|
|
1882
1916
|
type TCamera = {
|
|
@@ -2621,6 +2655,8 @@ type logCamera = {
|
|
|
2621
2655
|
start: string;
|
|
2622
2656
|
end: string;
|
|
2623
2657
|
duration: number;
|
|
2658
|
+
status?: string;
|
|
2659
|
+
description?: string;
|
|
2624
2660
|
questions: Array<{
|
|
2625
2661
|
questionId: string | ObjectId;
|
|
2626
2662
|
question: string;
|
|
@@ -3213,11 +3249,15 @@ declare function useDocumentManagementController(): {
|
|
|
3213
3249
|
getDocumentsBySiteId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
3214
3250
|
};
|
|
3215
3251
|
|
|
3252
|
+
declare const BULLETIN_RECIPIENTS: readonly ["resident", "security_agency", "cleaning_services", "mechanical_electrical", "property_management_agency"];
|
|
3253
|
+
declare const STATUS_VALUES: readonly ["active", "expired", "deleted"];
|
|
3254
|
+
type BulletinRecipient = (typeof BULLETIN_RECIPIENTS)[number];
|
|
3255
|
+
type StatusValue = (typeof STATUS_VALUES)[number];
|
|
3216
3256
|
type TBulletinBoard = {
|
|
3217
3257
|
_id?: ObjectId;
|
|
3218
3258
|
site?: string | ObjectId;
|
|
3219
3259
|
orgId?: string | ObjectId;
|
|
3220
|
-
recipients?:
|
|
3260
|
+
recipients?: BulletinRecipient[];
|
|
3221
3261
|
title?: string;
|
|
3222
3262
|
content?: string;
|
|
3223
3263
|
file?: Array<{
|
|
@@ -3228,7 +3268,7 @@ type TBulletinBoard = {
|
|
|
3228
3268
|
noExpiration?: boolean;
|
|
3229
3269
|
startDate?: string | Date;
|
|
3230
3270
|
endDate?: string | Date;
|
|
3231
|
-
status?:
|
|
3271
|
+
status?: StatusValue;
|
|
3232
3272
|
createdAt?: Date | string;
|
|
3233
3273
|
updatedAt?: Date | string;
|
|
3234
3274
|
deletedAt?: Date | string;
|
|
@@ -3239,7 +3279,7 @@ declare function MBulletinBoard(value: TBulletinBoard): {
|
|
|
3239
3279
|
_id: ObjectId;
|
|
3240
3280
|
site: string | ObjectId;
|
|
3241
3281
|
orgId: string | ObjectId;
|
|
3242
|
-
recipients: ("
|
|
3282
|
+
recipients: ("property_management_agency" | "security_agency" | "cleaning_services" | "resident" | "mechanical_electrical")[];
|
|
3243
3283
|
title: string;
|
|
3244
3284
|
content: string;
|
|
3245
3285
|
file: {
|
|
@@ -3258,13 +3298,14 @@ declare function MBulletinBoard(value: TBulletinBoard): {
|
|
|
3258
3298
|
|
|
3259
3299
|
declare function useBulletinBoardRepo(): {
|
|
3260
3300
|
add: (value: TBulletinBoard, session?: ClientSession) => Promise<ObjectId>;
|
|
3261
|
-
getAll: ({ search, page, limit, sort, site, status, }: {
|
|
3301
|
+
getAll: ({ search, page, limit, sort, site, status, recipients, }: {
|
|
3262
3302
|
search?: string | undefined;
|
|
3263
3303
|
page?: number | undefined;
|
|
3264
3304
|
limit?: number | undefined;
|
|
3265
3305
|
sort?: Record<string, any> | undefined;
|
|
3266
3306
|
site: string | ObjectId;
|
|
3267
3307
|
status: string;
|
|
3308
|
+
recipients: Array<string>;
|
|
3268
3309
|
}, session?: ClientSession) => Promise<{
|
|
3269
3310
|
items: any[];
|
|
3270
3311
|
pages: number;
|
|
@@ -3273,7 +3314,7 @@ declare function useBulletinBoardRepo(): {
|
|
|
3273
3314
|
getBulletinBoardById: (_id: string | ObjectId, session?: ClientSession) => Promise<mongodb.WithId<bson.Document> | TBulletinBoard>;
|
|
3274
3315
|
updateBulletinBoardById: (_id: ObjectId | string, value: Partial<TBulletinBoard>, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
|
|
3275
3316
|
processExpiredBulletinBoards: (session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
|
|
3276
|
-
deleteBulletinBoardById: (_id: string | ObjectId) => Promise<number>;
|
|
3317
|
+
deleteBulletinBoardById: (_id: string | ObjectId, session?: ClientSession) => Promise<number>;
|
|
3277
3318
|
createIndexes: () => Promise<void>;
|
|
3278
3319
|
};
|
|
3279
3320
|
|
|
@@ -3281,6 +3322,7 @@ declare function useBulletinBoardService(): {
|
|
|
3281
3322
|
add: (value: TBulletinBoard) => Promise<string>;
|
|
3282
3323
|
updateBulletinBoardById: (id: string | ObjectId, value: Partial<TBulletinBoard>) => Promise<string>;
|
|
3283
3324
|
processExpiredBulletinBoards: () => Promise<void>;
|
|
3325
|
+
deleteBulletinBoardById: (id: string | ObjectId) => Promise<string>;
|
|
3284
3326
|
};
|
|
3285
3327
|
|
|
3286
3328
|
declare function useBulletinBoardController(): {
|
|
@@ -3460,6 +3502,7 @@ type TEventManagement = {
|
|
|
3460
3502
|
description?: string;
|
|
3461
3503
|
dateTime: string | Date;
|
|
3462
3504
|
status?: "planned" | "in_progress" | "completed";
|
|
3505
|
+
type?: "TASK" | "EVENT";
|
|
3463
3506
|
createdAt?: string | Date;
|
|
3464
3507
|
updatedAt?: string | Date;
|
|
3465
3508
|
deletedAt?: string | Date;
|
|
@@ -3473,6 +3516,7 @@ declare function MEventManagement(value: TEventManagement): {
|
|
|
3473
3516
|
description: string;
|
|
3474
3517
|
dateTime: string | Date;
|
|
3475
3518
|
status: "completed" | "planned" | "in_progress";
|
|
3519
|
+
type: "TASK" | "EVENT";
|
|
3476
3520
|
createdAt: string | Date;
|
|
3477
3521
|
updatedAt: string | Date | undefined;
|
|
3478
3522
|
deletedAt: string | Date | undefined;
|
|
@@ -3480,13 +3524,15 @@ declare function MEventManagement(value: TEventManagement): {
|
|
|
3480
3524
|
|
|
3481
3525
|
declare function useEventManagementRepo(): {
|
|
3482
3526
|
add: (value: TEventManagement, session?: ClientSession) => Promise<ObjectId>;
|
|
3483
|
-
getAll: ({ search, page, limit, sort, site, status, }: {
|
|
3527
|
+
getAll: ({ search, page, limit, sort, site, status, type, date, }: {
|
|
3484
3528
|
search?: string | undefined;
|
|
3485
3529
|
page?: number | undefined;
|
|
3486
3530
|
limit?: number | undefined;
|
|
3487
3531
|
sort?: Record<string, any> | undefined;
|
|
3488
3532
|
site: string | ObjectId;
|
|
3489
3533
|
status: string;
|
|
3534
|
+
type?: string | undefined;
|
|
3535
|
+
date?: string | undefined;
|
|
3490
3536
|
}, session?: ClientSession) => Promise<{
|
|
3491
3537
|
items: any[];
|
|
3492
3538
|
pages: number;
|
|
@@ -3629,18 +3675,6 @@ interface AssignCardConfig {
|
|
|
3629
3675
|
accessLevel: string;
|
|
3630
3676
|
liftAccessLevel: string;
|
|
3631
3677
|
}
|
|
3632
|
-
interface BulkCardUpdate {
|
|
3633
|
-
updateOne: {
|
|
3634
|
-
filter: {
|
|
3635
|
-
_id: ObjectId;
|
|
3636
|
-
};
|
|
3637
|
-
update: {
|
|
3638
|
-
$set: {
|
|
3639
|
-
assignedUnit: ObjectId | ObjectId[];
|
|
3640
|
-
};
|
|
3641
|
-
};
|
|
3642
|
-
};
|
|
3643
|
-
}
|
|
3644
3678
|
declare enum EAccessCardTypes {
|
|
3645
3679
|
NFC = "NFC",
|
|
3646
3680
|
QR = "QRCODE"
|
|
@@ -3648,7 +3682,8 @@ declare enum EAccessCardTypes {
|
|
|
3648
3682
|
declare enum EAccessCardUserTypes {
|
|
3649
3683
|
RESIDENT = "Resident/Tenant",
|
|
3650
3684
|
CONTRACTOR = "Contractor",
|
|
3651
|
-
VISITOR = "Visitor"
|
|
3685
|
+
VISITOR = "Visitor",
|
|
3686
|
+
DEFAULT = "Visitor/Resident"
|
|
3652
3687
|
}
|
|
3653
3688
|
interface TDefaultAccessCard extends Omit<IAccessCard, "_id" | "staffNo" | "fullName" | "dateOrBirth" | "dateOfJoin" | "userId"> {
|
|
3654
3689
|
unit?: string[] | [];
|
|
@@ -3703,6 +3738,10 @@ interface AdditionalSettings {
|
|
|
3703
3738
|
nfcPass: boolean | null;
|
|
3704
3739
|
qrPass: boolean | null;
|
|
3705
3740
|
keyPass: boolean | null;
|
|
3741
|
+
template: {
|
|
3742
|
+
id: string;
|
|
3743
|
+
name: string;
|
|
3744
|
+
};
|
|
3706
3745
|
printer?: {
|
|
3707
3746
|
vendorId: string | null | number;
|
|
3708
3747
|
productId: string | null | number;
|
|
@@ -3786,6 +3825,30 @@ interface QrTagProps {
|
|
|
3786
3825
|
qrTag: string;
|
|
3787
3826
|
qrTagCardNo?: string;
|
|
3788
3827
|
}
|
|
3828
|
+
interface BulkCardUpdate {
|
|
3829
|
+
updateOne: {
|
|
3830
|
+
filter: {
|
|
3831
|
+
_id: ObjectId;
|
|
3832
|
+
};
|
|
3833
|
+
update: {
|
|
3834
|
+
$set: {
|
|
3835
|
+
assignedUnit: ObjectId | ObjectId[];
|
|
3836
|
+
};
|
|
3837
|
+
};
|
|
3838
|
+
};
|
|
3839
|
+
}
|
|
3840
|
+
interface BulkCardUpdate {
|
|
3841
|
+
updateOne: {
|
|
3842
|
+
filter: {
|
|
3843
|
+
_id: ObjectId;
|
|
3844
|
+
};
|
|
3845
|
+
update: {
|
|
3846
|
+
$set: {
|
|
3847
|
+
assignedUnit: ObjectId | ObjectId[];
|
|
3848
|
+
};
|
|
3849
|
+
};
|
|
3850
|
+
};
|
|
3851
|
+
}
|
|
3789
3852
|
|
|
3790
3853
|
declare function UseAccessManagementRepo(): {
|
|
3791
3854
|
createIndexes: () => Promise<string>;
|
|
@@ -3885,7 +3948,74 @@ declare function UseAccessManagementRepo(): {
|
|
|
3885
3948
|
cardReplacementRepo: (params: {
|
|
3886
3949
|
cardId: string;
|
|
3887
3950
|
remarks: string;
|
|
3951
|
+
unitId: string;
|
|
3952
|
+
issuedCardId: string;
|
|
3953
|
+
userId: string;
|
|
3954
|
+
}) => Promise<[mongodb.WithId<bson.Document> | null, mongodb.WithId<bson.Document> | null]>;
|
|
3955
|
+
visitorAccessCardsRepo: (params: {
|
|
3956
|
+
site: string;
|
|
3957
|
+
page: number;
|
|
3958
|
+
limit: number;
|
|
3959
|
+
type: EAccessCardUserTypes;
|
|
3960
|
+
search: string | undefined;
|
|
3961
|
+
}) => Promise<{
|
|
3962
|
+
items: any[];
|
|
3963
|
+
pages: number;
|
|
3964
|
+
pageRange: string;
|
|
3965
|
+
}>;
|
|
3966
|
+
getCardReplacementRepo: (params: {
|
|
3967
|
+
site: string;
|
|
3968
|
+
search?: string;
|
|
3969
|
+
statusFilter?: string;
|
|
3970
|
+
dateFrom?: Date;
|
|
3971
|
+
dateTo?: Date;
|
|
3972
|
+
page: number;
|
|
3973
|
+
limit: number;
|
|
3974
|
+
}) => Promise<{
|
|
3975
|
+
items: any[];
|
|
3976
|
+
pages: number;
|
|
3977
|
+
pageRange: string;
|
|
3978
|
+
}>;
|
|
3979
|
+
getAccessManagementSettingsRepo: (params: {
|
|
3980
|
+
site: string;
|
|
3888
3981
|
}) => Promise<mongodb.WithId<bson.Document> | null>;
|
|
3982
|
+
bulkPhysicalAccessCardRepo: (params: {
|
|
3983
|
+
dataJson: string;
|
|
3984
|
+
site: string;
|
|
3985
|
+
}) => Promise<{
|
|
3986
|
+
cardNo: any;
|
|
3987
|
+
insertedId: ObjectId;
|
|
3988
|
+
}[]>;
|
|
3989
|
+
assignAccessCardToUnitRepo: (params: {
|
|
3990
|
+
units: string[];
|
|
3991
|
+
quantity: number;
|
|
3992
|
+
type: EAccessCardTypes;
|
|
3993
|
+
site: string;
|
|
3994
|
+
userType: EAccessCardUserTypes;
|
|
3995
|
+
accessLevel: string;
|
|
3996
|
+
liftAccessLevel: string;
|
|
3997
|
+
}) => Promise<{
|
|
3998
|
+
status: string;
|
|
3999
|
+
message: string;
|
|
4000
|
+
assigned?: undefined;
|
|
4001
|
+
} | {
|
|
4002
|
+
status: string;
|
|
4003
|
+
message: string;
|
|
4004
|
+
assigned: number;
|
|
4005
|
+
}>;
|
|
4006
|
+
deleteCardRepo: (params: {
|
|
4007
|
+
cardId: string;
|
|
4008
|
+
remarks: string;
|
|
4009
|
+
}) => Promise<mongodb.WithId<bson.Document> | null>;
|
|
4010
|
+
getCardDetailsRepo: (params: {
|
|
4011
|
+
siteId: string;
|
|
4012
|
+
cardId: string;
|
|
4013
|
+
}) => Promise<{
|
|
4014
|
+
status: string;
|
|
4015
|
+
site: mongodb.WithId<bson.Document> | null;
|
|
4016
|
+
user: mongodb.WithId<bson.Document> | null;
|
|
4017
|
+
_id: ObjectId;
|
|
4018
|
+
} | null>;
|
|
3889
4019
|
};
|
|
3890
4020
|
|
|
3891
4021
|
declare function useAccessManagementController(): {
|
|
@@ -3905,6 +4035,13 @@ declare function useAccessManagementController(): {
|
|
|
3905
4035
|
updateNFCStatus: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
|
|
3906
4036
|
doorAndLiftDropdown: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
|
|
3907
4037
|
cardReplacement: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
|
|
4038
|
+
visitorAccessCards: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
|
|
4039
|
+
getCardReplacement: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
|
|
4040
|
+
getAccessManagementSettings: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
|
|
4041
|
+
bulkPhysicalAccessCard: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
|
|
4042
|
+
assignAccessCardToUnit: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
|
|
4043
|
+
deleteCard: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
|
|
4044
|
+
getCardDetails: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
|
|
3908
4045
|
};
|
|
3909
4046
|
|
|
3910
4047
|
declare const DEVICE_STATUS: {
|
|
@@ -4595,6 +4732,8 @@ type TOccurrenceEntry = {
|
|
|
4595
4732
|
incidentReportId?: string | ObjectId;
|
|
4596
4733
|
signature?: string | ObjectId;
|
|
4597
4734
|
userName?: string;
|
|
4735
|
+
eSignature?: string;
|
|
4736
|
+
createdByName?: string;
|
|
4598
4737
|
createdAt?: string | Date;
|
|
4599
4738
|
updatedAt?: string | Date;
|
|
4600
4739
|
deletedAt?: string | Date;
|
|
@@ -4613,6 +4752,8 @@ declare function MOccurrenceEntry(value: TOccurrenceEntry): {
|
|
|
4613
4752
|
incidentReportId: string | ObjectId | undefined;
|
|
4614
4753
|
signature: string | ObjectId | undefined;
|
|
4615
4754
|
userName: string | undefined;
|
|
4755
|
+
eSignature: string | undefined;
|
|
4756
|
+
createdByName: string | undefined;
|
|
4616
4757
|
date: string | Date | undefined;
|
|
4617
4758
|
createdAt: string | Date;
|
|
4618
4759
|
updatedAt: string | Date | undefined;
|
|
@@ -4865,4 +5006,4 @@ declare function useAddressRepo(): {
|
|
|
4865
5006
|
getByUserId: (user: string | ObjectId) => Promise<TAddress | null>;
|
|
4866
5007
|
};
|
|
4867
5008
|
|
|
4868
|
-
export { AccessTypeProps, AssignCardConfig, BulkCardUpdate, Camera, DEVICE_STATUS, EAccessCardTypes, EAccessCardUserTypes, IAccessCard, IAccessCardTransaction, MAccessCard, MAccessCardTransaction, MAddress, MAttendance, MAttendanceSettings, MBillingConfiguration, MBillingItem, MBuilding, MBuildingUnit, MBulletinBoard, MBulletinVideo, MChat, MCustomer, MCustomerSite, MDocumentManagement, MEntryPassSettings, MEventManagement, MFeedback, MFile, MGuestManagement, MIncidentReport, MMember, MNfcPatrolLog, MNfcPatrolRoute, MNfcPatrolSettings, MNfcPatrolSettingsUpdate, MNfcPatrolTag, MOccurrenceBook, MOccurrenceEntry, MOccurrenceSubject, MOnlineForm, MOrg, MPatrolLog, MPatrolQuestion, MPatrolRoute, MPerson, MPromoCode, MRobot, MRole, MServiceProvider, MServiceProviderBilling, MSession, MSite, MSiteCamera, MSiteFacility, MSiteFacilityBooking, MStatementOfAccount, MSubscription, MUnitBilling, MUser, MVehicle, MVehicleTransaction, MVerification, MVisitorTransaction, MWorkOrder, PERSON_TYPES, PersonType, QrTagProps, SiteType, TAccessMngmntSettings, TActionStatus, TAddress, TAffectedEntities, TAffectedInjured, TAttendance, TAttendanceCheckIn, TAttendanceCheckOut, TAttendanceCheckTime, TAttendanceLocation, TAttendanceSettings, TAttendanceSettingsGetBySite, TAuthorities, TAuthoritiesCalled, TBilling, TBillingConfiguration, TBillingItem, TBuilding, TBuildingUnit, TBulletinBoard, TBulletinVideo, TCamera, TChat, TCheckPoint$1 as TCheckPoint, TComplaintInfo, TComplaintReceivedTo, TCounter, TCustomer, TCustomerSite, TDayNumber, TDefaultAccessCard, TDocs, TDocumentManagement, TEntryPassSettings, TEventManagement, TFeedback, TFeedbackMetadata, TFeedbackUpdate, TFeedbackUpdateCategory, TFeedbackUpdateServiceProvider, TFeedbackUpdateStatus, TFeedbackUpdateToCompleted, TFile, TGetAttendancesByUserQuery, TGetAttendancesQuery, TGuestManagement, TIncidentInformation, TIncidentReport, TIncidentTypeAndTime, TInvoice, TMember, TMemberUpdateStatus, TMiniRole, TNfcPatrolLog, TNfcPatrolRoute, TNfcPatrolRouteEdit, TNfcPatrolSettings, TNfcPatrolSettingsGetBySite, TNfcPatrolSettingsUpdate, TNfcPatrolTag, TNfcPatrolTagConfigureReset, TNfcPatrolTagEdit, TNfcPatrolTagUpdateData, TOccurrenceBook, TOccurrenceEntry, TOccurrenceSubject, TOnlineForm, TOrg, TPatrolLog, TPatrolQuestion, TPatrolRoute, TPerson, TPlaceOfIncident, TPlates, TPrice, TPriceType, TPromoCode, TPromoTier, TRecipientOfComplaint, TRobot, TRobotMetadata, TRole, TRoute, TSOABillingItem, TSOAStatus, TServiceProvider, TServiceProviderBilling, TSession, TSessionCreate, TSite, TSiteCamera, TSiteFacility, TSiteFacilityBooking, TSiteInfo, TSiteMetadata, TSiteUpdateBlock, TStatementOfAccount, TSubmissionForm, TSubscription, TUnitBilling, TUnits, TUpdateName, TUser, TUserCreate, TVehicle, TVehicleTransaction, TVehicleUpdate, TVerification, TVerificationMetadata, TVisitorTransaction, TWorkOrder, TWorkOrderMetadata, TWorkOrderUpdate, TWorkOrderUpdateStatus, TWorkOrderUpdateToCompleted, TanyoneDamageToProperty, UseAccessManagementRepo,
|
|
5009
|
+
export { ANPRMode, AccessTypeProps, AssignCardConfig, BULLETIN_RECIPIENTS, BulkCardUpdate, Camera, DEVICE_STATUS, EAccessCardTypes, EAccessCardUserTypes, IAccessCard, IAccessCardTransaction, MAccessCard, MAccessCardTransaction, MAddress, MAttendance, MAttendanceSettings, MBillingConfiguration, MBillingItem, MBuilding, MBuildingUnit, MBulletinBoard, MBulletinVideo, MChat, MCustomer, MCustomerSite, MDocumentManagement, MEntryPassSettings, MEventManagement, MFeedback, MFile, MGuestManagement, MIncidentReport, MMember, MNfcPatrolLog, MNfcPatrolRoute, MNfcPatrolSettings, MNfcPatrolSettingsUpdate, MNfcPatrolTag, MOccurrenceBook, MOccurrenceEntry, MOccurrenceSubject, MOnlineForm, MOrg, MPatrolLog, MPatrolQuestion, MPatrolRoute, MPerson, MPromoCode, MRobot, MRole, MServiceProvider, MServiceProviderBilling, MSession, MSite, MSiteCamera, MSiteFacility, MSiteFacilityBooking, MStatementOfAccount, MSubscription, MUnitBilling, MUser, MVehicle, MVehicleTransaction, MVerification, MVisitorTransaction, MWorkOrder, OrgNature, PERSON_TYPES, PersonType, QrTagProps, STATUS_VALUES, SiteType, TAccessMngmntSettings, TActionStatus, TAddress, TAffectedEntities, TAffectedInjured, TAttendance, TAttendanceCheckIn, TAttendanceCheckOut, TAttendanceCheckTime, TAttendanceLocation, TAttendanceSettings, TAttendanceSettingsGetBySite, TAuthorities, TAuthoritiesCalled, TBilling, TBillingConfiguration, TBillingItem, TBuilding, TBuildingUnit, TBulletinBoard, TBulletinVideo, TCamera, TChat, TCheckPoint$1 as TCheckPoint, TComplaintInfo, TComplaintReceivedTo, TCounter, TCustomer, TCustomerSite, TDayNumber, TDefaultAccessCard, TDocs, TDocumentManagement, TEntryPassSettings, TEventManagement, TFeedback, TFeedbackMetadata, TFeedbackUpdate, TFeedbackUpdateCategory, TFeedbackUpdateServiceProvider, TFeedbackUpdateStatus, TFeedbackUpdateToCompleted, TFile, TGetAttendancesByUserQuery, TGetAttendancesQuery, TGuestManagement, TIncidentInformation, TIncidentReport, TIncidentTypeAndTime, TInvoice, TMember, TMemberUpdateStatus, TMiniRole, TNfcPatrolLog, TNfcPatrolRoute, TNfcPatrolRouteEdit, TNfcPatrolSettings, TNfcPatrolSettingsGetBySite, TNfcPatrolSettingsUpdate, TNfcPatrolTag, TNfcPatrolTagConfigureReset, TNfcPatrolTagEdit, TNfcPatrolTagUpdateData, TOccurrenceBook, TOccurrenceEntry, TOccurrenceSubject, TOnlineForm, TOrg, TPatrolLog, TPatrolQuestion, TPatrolRoute, TPerson, TPlaceOfIncident, TPlates, TPrice, TPriceType, TPromoCode, TPromoTier, TRecipientOfComplaint, TRobot, TRobotMetadata, TRole, TRoute, TSOABillingItem, TSOAStatus, TServiceProvider, TServiceProviderBilling, TSession, TSessionCreate, TSite, TSiteCamera, TSiteFacility, TSiteFacilityBooking, TSiteInfo, TSiteMetadata, TSiteUpdateBlock, TStatementOfAccount, TSubmissionForm, TSubscription, TUnitBilling, TUnits, TUpdateName, TUser, TUserCreate, TVehicle, TVehicleTransaction, TVehicleUpdate, TVerification, TVerificationMetadata, TVisitorTransaction, TWorkOrder, TWorkOrderMetadata, TWorkOrderUpdate, TWorkOrderUpdateStatus, TWorkOrderUpdateToCompleted, TanyoneDamageToProperty, UseAccessManagementRepo, VehicleCategory, VehicleStatus, VehicleType, allowedFieldsSite, allowedNatures, attendanceSchema, attendanceSettingsSchema, chatSchema, customerSchema, feedbackSchema, logCamera, nfcPatrolSettingsSchema, nfcPatrolSettingsSchemaUpdate, orgSchema, promoCodeSchema, robotSchema, schema, schemaBilling, schemaBillingConfiguration, schemaBillingItem, schemaBuilding, schemaBuildingUnit, schemaBuildingUpdateOptions, schemaBulletinBoard, schemaBulletinVideo, schemaCustomerSite, schemaDocumentManagement, schemaEntryPassSettings, schemaEventManagement, schemaGuestManagement, schemaIncidentReport, schemaNfcPatrolLog, schemaNfcPatrolRoute, schemaNfcPatrolTag, schemaNfcPatrolTagUpdateData, schemaOccurrenceBook, schemaOccurrenceEntry, schemaOccurrenceSubject, schemaOnlineForm, schemaPatrolLog, schemaPatrolQuestion, schemaPatrolRoute, schemaPerson, schemaPlate, schemaServiceProvider, schemaServiceProviderBilling, schemaSiteCamera, schemaSiteFacility, schemaSiteFacilityBooking, schemaStatementOfAccount, schemaUnitBilling, schemaUpdateBulletinBoard, schemaUpdateBulletinVideo, schemaUpdateDocumentManagement, schemaUpdateEntryPassSettings, schemaUpdateEventManagement, schemaUpdateGuestManagement, schemaUpdateIncidentReport, schemaUpdateOccurrenceBook, schemaUpdateOccurrenceEntry, schemaUpdateOccurrenceSubject, schemaUpdateOnlineForm, schemaUpdateOptions, schemaUpdatePatrolLog, schemaUpdatePatrolQuestion, schemaUpdatePatrolRoute, schemaUpdatePerson, schemaUpdateServiceProviderBilling, schemaUpdateSiteBillingConfiguration, schemaUpdateSiteBillingItem, schemaUpdateSiteCamera, schemaUpdateSiteFacility, schemaUpdateSiteUnitBilling, schemaUpdateStatementOfAccount, schemaUpdateVisTrans, schemaVehicleTransaction, schemaVisitorTransaction, schemeCamera, schemeLogCamera, siteSchema, tokenSchema, useAccessManagementController, useAddressRepo, useAttendanceController, useAttendanceRepository, useAttendanceSettingsController, useAttendanceSettingsRepository, useAttendanceSettingsService, useAuthController, useAuthService, useBuildingController, useBuildingRepo, useBuildingService, useBuildingUnitController, useBuildingUnitRepo, useBuildingUnitService, useBulletinBoardController, useBulletinBoardRepo, useBulletinBoardService, useBulletinVideoController, useBulletinVideoRepo, useBulletinVideoService, useChatController, useChatRepo, useCounterModel, useCounterRepo, useCustomerController, useCustomerRepo, useCustomerSiteController, useCustomerSiteRepo, useCustomerSiteService, useDahuaService, useDashboardController, useDashboardRepo, useDocumentManagementController, useDocumentManagementRepo, useDocumentManagementService, useEntryPassSettingsController, useEntryPassSettingsRepo, useEventManagementController, useEventManagementRepo, useEventManagementService, useFeedbackController, useFeedbackRepo, useFeedbackService, useFileController, useFileRepo, useFileService, useGuestManagementController, useGuestManagementRepo, useGuestManagementService, useIncidentReportController, useIncidentReportRepo, useIncidentReportService, useInvoiceController, useInvoiceModel, useInvoiceRepo, useMemberController, useMemberRepo, useNfcPatrolLogController, useNfcPatrolLogRepo, useNfcPatrolLogService, useNfcPatrolRouteController, useNfcPatrolRouteRepo, useNfcPatrolRouteService, useNfcPatrolSettingsController, useNfcPatrolSettingsRepository, useNfcPatrolSettingsService, useNfcPatrolTagController, useNfcPatrolTagRepo, useNfcPatrolTagService, useOccurrenceBookController, useOccurrenceBookRepo, useOccurrenceBookService, useOccurrenceEntryController, useOccurrenceEntryRepo, useOccurrenceEntryService, useOccurrenceSubjectController, useOccurrenceSubjectRepo, useOccurrenceSubjectService, useOnlineFormController, useOnlineFormRepo, useOrgController, useOrgRepo, usePatrolLogController, usePatrolLogRepo, usePatrolQuestionController, usePatrolQuestionRepo, usePatrolRouteController, usePatrolRouteRepo, usePersonController, usePersonRepo, usePriceController, usePriceModel, usePriceRepo, usePromoCodeController, usePromoCodeRepo, useRobotController, useRobotRepo, useRobotService, useRoleController, useRoleRepo, useServiceProviderBillingController, useServiceProviderBillingRepo, useServiceProviderBillingService, useServiceProviderController, useServiceProviderRepo, useSessionRepo, useSiteBillingConfigurationController, useSiteBillingConfigurationRepo, useSiteBillingItemController, useSiteBillingItemRepo, useSiteCameraController, useSiteCameraRepo, useSiteCameraService, useSiteController, useSiteFacilityBookingController, useSiteFacilityBookingRepo, useSiteFacilityBookingService, useSiteFacilityController, useSiteFacilityRepo, useSiteFacilityService, useSiteRepo, useSiteService, useSiteUnitBillingController, useSiteUnitBillingRepo, useSiteUnitBillingService, useStatementOfAccountController, useStatementOfAccountRepo, useSubscriptionController, useSubscriptionRepo, useSubscriptionService, useUserController, useUserRepo, useUserService, useVehicleController, useVehicleRepo, useVehicleService, useVerificationController, useVerificationRepo, useVerificationService, useVisitorTransactionController, useVisitorTransactionRepo, useVisitorTransactionService, useWorkOrderController, useWorkOrderRepo, useWorkOrderService, userSchema, vehicleSchema, workOrderSchema };
|