@7365admin1/core 2.25.0 → 2.26.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 +6 -0
- package/dist/index.d.ts +130 -48
- package/dist/index.js +450 -91
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +494 -126
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1526,6 +1526,8 @@ type TSite = {
|
|
|
1526
1526
|
deliveryCompanyList?: string[];
|
|
1527
1527
|
isOpenGate?: Boolean | null;
|
|
1528
1528
|
dahuaTimeExpiration?: number | null;
|
|
1529
|
+
siteDocs?: string[];
|
|
1530
|
+
unitDocs?: string[];
|
|
1529
1531
|
createdAt?: Date;
|
|
1530
1532
|
updatedAt?: string | Date;
|
|
1531
1533
|
deletedAt?: string | Date;
|
|
@@ -1546,6 +1548,8 @@ declare function MSite(value: TSite): {
|
|
|
1546
1548
|
deliveryCompanyList: string[];
|
|
1547
1549
|
isOpenGate: Boolean | null | undefined;
|
|
1548
1550
|
dahuaTimeExpiration: number | null | undefined;
|
|
1551
|
+
siteDocs: string[];
|
|
1552
|
+
unitDocs: string[];
|
|
1549
1553
|
updatedAt: string | Date;
|
|
1550
1554
|
deletedAt: string | Date;
|
|
1551
1555
|
};
|
|
@@ -1872,6 +1876,7 @@ type TVehicle = {
|
|
|
1872
1876
|
category: string;
|
|
1873
1877
|
recNo?: string;
|
|
1874
1878
|
seasonPassType?: string;
|
|
1879
|
+
peopleId?: string | ObjectId;
|
|
1875
1880
|
createdAt?: Date | string;
|
|
1876
1881
|
updatedAt?: Date | string;
|
|
1877
1882
|
deletedAt?: Date | string;
|
|
@@ -1931,6 +1936,7 @@ declare function MVehicle(value: TVehicle): {
|
|
|
1931
1936
|
end: string | Date;
|
|
1932
1937
|
status: string;
|
|
1933
1938
|
unitName: string;
|
|
1939
|
+
peopleId: string | ObjectId;
|
|
1934
1940
|
createdAt: string;
|
|
1935
1941
|
updatedAt: string | Date;
|
|
1936
1942
|
deletedAt: string | Date;
|
|
@@ -2179,9 +2185,59 @@ declare function useCustomerSiteController(): {
|
|
|
2179
2185
|
getBySiteAsServiceProvider: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
2180
2186
|
};
|
|
2181
2187
|
|
|
2188
|
+
interface IBaseModel {
|
|
2189
|
+
unitNumber?: string;
|
|
2190
|
+
createdBy?: string | ObjectId;
|
|
2191
|
+
createdByName?: string;
|
|
2192
|
+
approvedBy?: string | ObjectId;
|
|
2193
|
+
approvedByName?: string;
|
|
2194
|
+
site?: string | ObjectId;
|
|
2195
|
+
siteName?: string;
|
|
2196
|
+
organization?: string | ObjectId;
|
|
2197
|
+
createdAt?: string | Date;
|
|
2198
|
+
updatedAt?: string | Date;
|
|
2199
|
+
reason?: string;
|
|
2200
|
+
isAgree?: boolean;
|
|
2201
|
+
attachments?: string[];
|
|
2202
|
+
management?: string;
|
|
2203
|
+
date?: string | Date;
|
|
2204
|
+
}
|
|
2205
|
+
declare enum Status {
|
|
2206
|
+
pending = "Pending",
|
|
2207
|
+
completed = "Completed",
|
|
2208
|
+
approved = "Approved",
|
|
2209
|
+
rejected = "Rejected",
|
|
2210
|
+
cancelled = "Cancelled",
|
|
2211
|
+
recurring = "Recurring",
|
|
2212
|
+
nonrecurring = "Non-Recurring",
|
|
2213
|
+
active = "Active",
|
|
2214
|
+
inactive = "Inactive"
|
|
2215
|
+
}
|
|
2216
|
+
declare enum PStatus {
|
|
2217
|
+
processing = "Processing",
|
|
2218
|
+
unpaid = "Unpaid",
|
|
2219
|
+
paid = "Paid",
|
|
2220
|
+
overdue = "Over Due",
|
|
2221
|
+
partial = "Partial Payment",
|
|
2222
|
+
await = "Awaiting Payment",
|
|
2223
|
+
failed = "Failed"
|
|
2224
|
+
}
|
|
2225
|
+
declare enum AppServiceType {
|
|
2226
|
+
REAL_ESTATE_DEVELOPER = "real_estate_developer",
|
|
2227
|
+
PROPERTY_MANAGEMENT_AGENCY = "property_management_agency",
|
|
2228
|
+
SECURITY_AGENCY = "security_agency",
|
|
2229
|
+
CLEANING_SERVICES = "cleaning_services",
|
|
2230
|
+
MECHANICAL_ELECTRICAL_SERVICES = "mechanical_electrical_services",
|
|
2231
|
+
LANDSCAPING_SERVICES = "landscaping_services",
|
|
2232
|
+
PEST_CONTROL_SERVICES = "pest_control_services",
|
|
2233
|
+
POOL_MAINTENANCE_SERVICES = "pool_maintenance_services"
|
|
2234
|
+
}
|
|
2235
|
+
type TAppServiceType = AppServiceType;
|
|
2236
|
+
|
|
2182
2237
|
type TAttendance = {
|
|
2183
2238
|
_id?: ObjectId;
|
|
2184
2239
|
site: string | ObjectId;
|
|
2240
|
+
serviceType: TAppServiceType;
|
|
2185
2241
|
checkIn: TAttendanceCheckTime;
|
|
2186
2242
|
checkOut?: TAttendanceCheckTime;
|
|
2187
2243
|
user: string | ObjectId;
|
|
@@ -2198,20 +2254,20 @@ interface TAttendanceCheckTime {
|
|
|
2198
2254
|
location?: TAttendanceLocation;
|
|
2199
2255
|
img?: string;
|
|
2200
2256
|
}
|
|
2201
|
-
type TAttendanceCheckIn = Pick<TAttendance, "site" | "checkIn" | "user">;
|
|
2202
|
-
type TAttendanceCheckOut = Pick<TAttendance, "user"> & {
|
|
2257
|
+
type TAttendanceCheckIn = Pick<TAttendance, "site" | "serviceType" | "checkIn" | "user">;
|
|
2258
|
+
type TAttendanceCheckOut = Pick<TAttendance, "serviceType" | "user"> & {
|
|
2203
2259
|
checkOut: TAttendanceCheckTime;
|
|
2204
2260
|
};
|
|
2205
2261
|
type TGetAttendancesQuery = {
|
|
2206
2262
|
page?: number;
|
|
2207
2263
|
limit?: number;
|
|
2208
2264
|
search?: string;
|
|
2209
|
-
|
|
2210
|
-
};
|
|
2265
|
+
} & Pick<TAttendance, "site" | "serviceType">;
|
|
2211
2266
|
type TGetAttendancesByUserQuery = Pick<TGetAttendancesQuery, "page" | "limit" | "search" | "site"> & Pick<TAttendance, "user">;
|
|
2212
2267
|
declare const attendanceSchema: Joi.ObjectSchema<any>;
|
|
2213
2268
|
declare function MAttendance(value: TAttendance): {
|
|
2214
2269
|
site: string | ObjectId;
|
|
2270
|
+
serviceType: AppServiceType;
|
|
2215
2271
|
checkIn: TAttendanceCheckTime;
|
|
2216
2272
|
checkOut: null;
|
|
2217
2273
|
user: string | ObjectId;
|
|
@@ -2222,6 +2278,7 @@ declare function MAttendance(value: TAttendance): {
|
|
|
2222
2278
|
|
|
2223
2279
|
type TAttendanceSettings = {
|
|
2224
2280
|
site: string | ObjectId;
|
|
2281
|
+
serviceType: TAppServiceType;
|
|
2225
2282
|
isLocationEnabled: boolean;
|
|
2226
2283
|
location?: TAttendanceLocation;
|
|
2227
2284
|
isGeofencingEnabled?: boolean;
|
|
@@ -2235,6 +2292,7 @@ type TAttendanceSettingsGetBySite = Pick<TAttendanceSettings, "isLocationEnabled
|
|
|
2235
2292
|
declare const attendanceSettingsSchema: Joi.ObjectSchema<any>;
|
|
2236
2293
|
declare function MAttendanceSettings(value: TAttendanceSettings): {
|
|
2237
2294
|
site: string | ObjectId;
|
|
2295
|
+
serviceType: AppServiceType;
|
|
2238
2296
|
isLocationEnabled: boolean;
|
|
2239
2297
|
location: TAttendanceLocation | undefined;
|
|
2240
2298
|
isGeofencingEnabled: boolean | undefined;
|
|
@@ -2248,12 +2306,12 @@ declare function MAttendanceSettings(value: TAttendanceSettings): {
|
|
|
2248
2306
|
declare function useAttendanceSettingsRepository(): {
|
|
2249
2307
|
createIndex: () => Promise<void>;
|
|
2250
2308
|
createAttendanceSettings: (value: TAttendanceSettings, session?: ClientSession) => Promise<ObjectId>;
|
|
2309
|
+
getAttendanceSettingsBySite: (site: string | ObjectId, serviceType: TAppServiceType, session?: ClientSession) => Promise<TAttendanceSettingsGetBySite | null>;
|
|
2251
2310
|
updateAttendanceSettings: (site: string | ObjectId, value: TAttendanceSettings, session?: ClientSession) => Promise<number>;
|
|
2252
|
-
getAttendanceSettingsBySite: (site: string | ObjectId, session?: ClientSession) => Promise<TAttendanceSettingsGetBySite | null>;
|
|
2253
2311
|
};
|
|
2254
2312
|
|
|
2255
2313
|
declare function useAttendanceSettingsService(): {
|
|
2256
|
-
getAttendanceSettingsBySite: (site: string | ObjectId) => Promise<TAttendanceSettingsGetBySite | null>;
|
|
2314
|
+
getAttendanceSettingsBySite: (site: string | ObjectId, serviceType: TAppServiceType) => Promise<TAttendanceSettingsGetBySite | null>;
|
|
2257
2315
|
};
|
|
2258
2316
|
|
|
2259
2317
|
declare function useAttendanceSettingsController(): {
|
|
@@ -2264,7 +2322,7 @@ declare function useAttendanceSettingsController(): {
|
|
|
2264
2322
|
declare function useAttendanceRepository(): {
|
|
2265
2323
|
createIndex: () => Promise<void>;
|
|
2266
2324
|
checkInAttendance: (value: TAttendanceCheckIn, session?: ClientSession) => Promise<ObjectId>;
|
|
2267
|
-
getAllAttendances: ({ page, limit, search, site, }: TGetAttendancesQuery) => Promise<{}>;
|
|
2325
|
+
getAllAttendances: ({ page, limit, search, site, serviceType, }: TGetAttendancesQuery) => Promise<{}>;
|
|
2268
2326
|
getAttendanceByUser: ({ page, limit, search, site, user, }: TGetAttendancesByUserQuery) => Promise<{}>;
|
|
2269
2327
|
getAttendanceById: (_id: string | ObjectId, session?: ClientSession) => Promise<{}>;
|
|
2270
2328
|
getRawAttendanceById: (_id: string | ObjectId, session?: ClientSession) => Promise<TAttendance>;
|
|
@@ -2295,6 +2353,10 @@ declare enum PersonTypes {
|
|
|
2295
2353
|
TENANT = "tenant",
|
|
2296
2354
|
RESIDENT = "resident"
|
|
2297
2355
|
}
|
|
2356
|
+
declare enum PersonStatus {
|
|
2357
|
+
ACTIVE = "active",
|
|
2358
|
+
DELETED = "deleted"
|
|
2359
|
+
}
|
|
2298
2360
|
type TFiles = {
|
|
2299
2361
|
id: string | ObjectId;
|
|
2300
2362
|
name: string;
|
|
@@ -2600,7 +2662,7 @@ declare function usePersonRepo(): {
|
|
|
2600
2662
|
getPersonByPhoneNumber: (value: string) => Promise<TPerson | null>;
|
|
2601
2663
|
getPeopleByUnit: ({ status, type, unit, }: {
|
|
2602
2664
|
status: string;
|
|
2603
|
-
type?:
|
|
2665
|
+
type?: PersonTypes[] | undefined;
|
|
2604
2666
|
unit?: string | undefined;
|
|
2605
2667
|
}, session?: ClientSession) => Promise<TPerson[]>;
|
|
2606
2668
|
getCompany: (search?: string) => Promise<any[] | TPerson>;
|
|
@@ -2612,7 +2674,7 @@ declare function usePersonRepo(): {
|
|
|
2612
2674
|
sort?: Record<string, any> | undefined;
|
|
2613
2675
|
site: string;
|
|
2614
2676
|
}) => Promise<{}>;
|
|
2615
|
-
|
|
2677
|
+
pushVehicleById: (id: string | ObjectId, plate: {
|
|
2616
2678
|
plateNumber: string;
|
|
2617
2679
|
recNo: string;
|
|
2618
2680
|
}, session?: ClientSession) => Promise<void>;
|
|
@@ -5940,44 +6002,6 @@ declare function useRedDotPaymentController(): {
|
|
|
5940
6002
|
getMerchantDetailsById: (req: Request, res: Response, next: NextFunction) => Promise<Response<any, Record<string, any>> | undefined>;
|
|
5941
6003
|
};
|
|
5942
6004
|
|
|
5943
|
-
interface IBaseModel {
|
|
5944
|
-
unitNumber?: string;
|
|
5945
|
-
createdBy?: string | ObjectId;
|
|
5946
|
-
createdByName?: string;
|
|
5947
|
-
approvedBy?: string | ObjectId;
|
|
5948
|
-
approvedByName?: string;
|
|
5949
|
-
site?: string | ObjectId;
|
|
5950
|
-
siteName?: string;
|
|
5951
|
-
organization?: string | ObjectId;
|
|
5952
|
-
createdAt?: string | Date;
|
|
5953
|
-
updatedAt?: string | Date;
|
|
5954
|
-
reason?: string;
|
|
5955
|
-
isAgree?: boolean;
|
|
5956
|
-
attachments?: string[];
|
|
5957
|
-
management?: string;
|
|
5958
|
-
date?: string | Date;
|
|
5959
|
-
}
|
|
5960
|
-
declare enum Status {
|
|
5961
|
-
pending = "Pending",
|
|
5962
|
-
completed = "Completed",
|
|
5963
|
-
approved = "Approved",
|
|
5964
|
-
rejected = "Rejected",
|
|
5965
|
-
cancelled = "Cancelled",
|
|
5966
|
-
recurring = "Recurring",
|
|
5967
|
-
nonrecurring = "Non-Recurring",
|
|
5968
|
-
active = "Active",
|
|
5969
|
-
inactive = "Inactive"
|
|
5970
|
-
}
|
|
5971
|
-
declare enum PStatus {
|
|
5972
|
-
processing = "Processing",
|
|
5973
|
-
unpaid = "Unpaid",
|
|
5974
|
-
paid = "Paid",
|
|
5975
|
-
overdue = "Over Due",
|
|
5976
|
-
partial = "Partial Payment",
|
|
5977
|
-
await = "Awaiting Payment",
|
|
5978
|
-
failed = "Failed"
|
|
5979
|
-
}
|
|
5980
|
-
|
|
5981
6005
|
type TRedDotAccount = {
|
|
5982
6006
|
id: string | ObjectId;
|
|
5983
6007
|
paymentMethod: string;
|
|
@@ -6063,4 +6087,62 @@ declare const useRedDotPaymentRepo: () => {
|
|
|
6063
6087
|
getMerchantDetailsById: (_id: string | ObjectId) => Promise<any>;
|
|
6064
6088
|
};
|
|
6065
6089
|
|
|
6066
|
-
export { ANPRMode, AccessTypeProps, AssignCardConfig, BuildingStatus, BulkCardUpdate, BulletinRecipient, BulletinSort, BulletinStatus, Camera, CameraType, DEVICE_STATUS, DayOfWeek, EAccessCardTypes, EAccessCardUserTypes, FacilitySort, FacilityStatus, GuestSort, GuestStatus, IAccessCard, IAccessCardTransaction, MAccessCard, MAccessCardTransaction, MAddress, MAttendance, MAttendanceSettings, MBillingConfiguration, MBillingItem, MBuilding, MBuildingUnit, MBulletinBoard, MBulletinVideo, MChat, MCustomer, MCustomerSite, MDocumentManagement, MEntryPassSettings, MEventManagement, MFeedback, MFile, MGuestManagement, MIncidentReport, MManpowerDesignations, MManpowerMonitoring, MManpowerRemarks, MManpowerSites, MMember, MNfcPatrolLog, MNfcPatrolRoute, MNfcPatrolSettings, MNfcPatrolSettingsUpdate, MNfcPatrolTag, MOccurrenceBook, MOccurrenceEntry, MOccurrenceSubject, MOnlineForm, MOrg, MOvernightParkingApprovalHours, MOvernightParkingRequest, MPatrolLog, MPatrolQuestion, MPatrolRoute, MPerson, MPromoCode, MRobot, MRole, MServiceProvider, MServiceProviderBilling, MSession, MSite, MSiteCamera, MSiteFacility, MSiteFacilityBooking, MStatementOfAccount, MSubscription, MUnitBilling, MUser, MVehicle, MVehicleTransaction, MVerification, MVisitorTransaction, MWorkOrder, OrgNature, OvernightParkingRequestSort, OvernightParkingRequestStatus, PERSON_TYPES, PMDashboardCollection, Period, PersonType, PersonTypes, QrTagProps, SiteAddress, SiteCategories, SiteStatus, SortFields, SortOrder, SubscriptionType, 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, TDaySchedule, TDefaultAccessCard, TDesignations, TDocs, TDocumentManagement, TEntryPassSettings, TEventManagement, TFeedback, TFeedbackMetadata, TFeedbackUpdate, TFeedbackUpdateCategory, TFeedbackUpdateServiceProvider, TFeedbackUpdateStatus, TFeedbackUpdateToCompleted, TFile, TFiles, TGetAttendancesByUserQuery, TGetAttendancesQuery, TGuestManagement, TIncidentInformation, TIncidentReport, TIncidentTypeAndTime, TInvoice, TManpowerDesignations, TManpowerDesignationsUpdate, TManpowerMonitoring, TManpowerMonitoringUpdate, TManpowerRemarks, TManpowerRemarksStatusUpdate, TManpowerRemarksUpdate, TManpowerSearchFilter, TManpowerSites, TMember, TMemberUpdateStatus, TMiniRole, TNfcPatrolLog, TNfcPatrolRoute, TNfcPatrolRouteEdit, TNfcPatrolSettings, TNfcPatrolSettingsGetBySite, TNfcPatrolSettingsUpdate, TNfcPatrolTag, TNfcPatrolTagConfigureReset, TNfcPatrolTagEdit, TNfcPatrolTagUpdateData, TOccurrenceBook, TOccurrenceEntry, TOccurrenceSubject, TOnlineForm, TOrg, TOvernightParkingApprovalHours, TOvernightParkingRequest, TPatrolLog, TPatrolQuestion, TPatrolRoute, TPerson, TPlaceOfIncident, TPlates, TPrice, TPriceType, TPromoCode, TPromoTier, TRecipientOfComplaint, TRemarks, TResident, TRobot, TRobotMetadata, TRole, TRoute, TSOABillingItem, TSOAStatus, TServiceProvider, TServiceProviderBilling, TSession, TSessionCreate, TShifts, 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, VehicleOrder, VehicleSort, VehicleStatus, VehicleType, VisitorSort, VisitorStatus, addressSchema, allowedFieldsSite, allowedNatures, attendanceSchema, attendanceSettingsSchema, buildings_namespace_collection, bulletin_boards_namespace_collection, calculatePercentage, chatSchema, createManpowerRemarksDaily, customerSchema, designationsSchema, events_namespace_collection, facility_bookings_namespace_collection, feedbackSchema, feedbacks_namespace_collection, formatDahuaDate, getPeriodRangeWithPrevious, guests_namespace_collection, incidentReport, incidentReportLog, incidents_namespace_collection, landscapeDashboardCollection, logCamera, mAndEDashboardCollection, manpowerDesignationsSchema, manpowerEvents, manpowerMonitoringSchema, manpowerRemarksSchema, manpowerSitesSchema, nfcPatrolSettingsSchema, nfcPatrolSettingsSchemaUpdate, occurrence_book_namespace_collection, orgSchema, overnight_parking_requests_namespace_collection, pestDashboardCollection, poolDashboardCollection, promoCodeSchema, remarksSchema, robotSchema, schema, schemaBilling, schemaBillingConfiguration, schemaBillingItem, schemaBuilding, schemaBuildingUnit, schemaBuildingUpdateOptions, schemaBulletinBoard, schemaBulletinVideo, schemaCustomerSite, schemaDocumentManagement, schemaEntryPassSettings, schemaEventManagement, schemaFiles, schemaGuestManagement, schemaIncidentReport, schemaNfcPatrolLog, schemaNfcPatrolRoute, schemaNfcPatrolTag, schemaNfcPatrolTagUpdateData, schemaOccurrenceBook, schemaOccurrenceEntry, schemaOccurrenceSubject, schemaOnlineForm, schemaOvernightParkingApprovalHours, schemaOvernightParkingRequest, schemaPatrolLog, schemaPatrolQuestion, schemaPatrolRoute, schemaPerson, schemaPlate, schemaServiceProvider, schemaServiceProviderBilling, schemaSiteCamera, schemaSiteFacility, schemaSiteFacilityBooking, schemaStatementOfAccount, schemaUnitBilling, schemaUpdateBulletinBoard, schemaUpdateBulletinVideo, schemaUpdateDocumentManagement, schemaUpdateEntryPassSettings, schemaUpdateEventManagement, schemaUpdateGuestManagement, schemaUpdateIncidentReport, schemaUpdateOccurrenceBook, schemaUpdateOccurrenceEntry, schemaUpdateOccurrenceSubject, schemaUpdateOnlineForm, schemaUpdateOptions, schemaUpdateOvernightParkingRequest, schemaUpdatePatrolLog, schemaUpdatePatrolQuestion, schemaUpdatePatrolRoute, schemaUpdatePerson, schemaUpdateServiceProviderBilling, schemaUpdateSiteBillingConfiguration, schemaUpdateSiteBillingItem, schemaUpdateSiteCamera, schemaUpdateSiteFacility, schemaUpdateSiteFacilityBooking, schemaUpdateSiteUnitBilling, schemaUpdateStatementOfAccount, schemaUpdateVisTrans, schemaVehicleTransaction, schemaVisitorTransaction, schemeCamera, schemeLogCamera, securityDashboardCollection, shiftSchema, siteSchema, site_people_namespace_collection, tokenSchema, updateRemarksStatusEod, updateRemarksisAcknowledged, updateSiteSchema, 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, useHrmLabsAttendanceCtrl, useHrmLabsAttendanceSrvc, useIncidentReportController, useIncidentReportRepo, useIncidentReportService, useInvoiceController, useInvoiceModel, useInvoiceRepo, useManpowerDesignationCtrl, useManpowerDesignationRepo, useManpowerMonitoringCtrl, useManpowerMonitoringRepo, useManpowerMonitoringSrvc, useManpowerRemarkCtrl, useManpowerRemarksRepo, useManpowerSitesCtrl, useManpowerSitesRepo, useManpowerSitesSrvc, useMemberController, useMemberRepo, useNewDashboardController, useNewDashboardRepo, 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, useOvernightParkingController, useOvernightParkingRepo, useOvernightParkingRequestController, useOvernightParkingRequestRepo, useOvernightParkingRequestService, usePatrolLogController, usePatrolLogRepo, usePatrolQuestionController, usePatrolQuestionRepo, usePatrolRouteController, usePatrolRouteRepo, usePersonController, usePersonRepo, usePriceController, usePriceModel, usePriceRepo, usePromoCodeController, usePromoCodeRepo, useRedDotPaymentController, useRedDotPaymentRepo, useRedDotPaymentSvc, 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, vehicles_namespace_collection, visitors_namespace_collection, workOrderSchema, work_orders_namespace_collection };
|
|
6090
|
+
declare enum VerificationType {
|
|
6091
|
+
USER_SIGN_UP = "user-sign-up",
|
|
6092
|
+
FORGET_PASSWORD = "forget-password",
|
|
6093
|
+
USER_INVITE = "user-invite",
|
|
6094
|
+
MEMBER_INVITE = "member-invite"
|
|
6095
|
+
}
|
|
6096
|
+
type TVerificationMetadataV2 = {
|
|
6097
|
+
name?: string;
|
|
6098
|
+
app?: string;
|
|
6099
|
+
role?: string | ObjectId;
|
|
6100
|
+
org?: string | ObjectId;
|
|
6101
|
+
orgNature?: string;
|
|
6102
|
+
orgName?: string;
|
|
6103
|
+
password: string;
|
|
6104
|
+
country: string;
|
|
6105
|
+
siteId?: string | ObjectId;
|
|
6106
|
+
siteName?: string;
|
|
6107
|
+
serviceProviderOrgId?: string | ObjectId;
|
|
6108
|
+
};
|
|
6109
|
+
type TVerificationV2 = {
|
|
6110
|
+
_id?: ObjectId;
|
|
6111
|
+
type: string;
|
|
6112
|
+
email: string;
|
|
6113
|
+
metadata: TVerificationMetadataV2;
|
|
6114
|
+
status?: string;
|
|
6115
|
+
createdAt: string;
|
|
6116
|
+
updatedAt?: string | null;
|
|
6117
|
+
expireAt: string;
|
|
6118
|
+
};
|
|
6119
|
+
declare class MVerificationV2 implements TVerificationV2 {
|
|
6120
|
+
_id?: ObjectId;
|
|
6121
|
+
type: string;
|
|
6122
|
+
email: string;
|
|
6123
|
+
metadata: TVerificationMetadataV2;
|
|
6124
|
+
status?: string;
|
|
6125
|
+
createdAt: string;
|
|
6126
|
+
updatedAt?: string | null;
|
|
6127
|
+
expireAt: string;
|
|
6128
|
+
constructor(value: TVerificationV2);
|
|
6129
|
+
}
|
|
6130
|
+
|
|
6131
|
+
declare function useVerificationRepoV2(): {
|
|
6132
|
+
createIndex: () => Promise<void>;
|
|
6133
|
+
createTextIndex: () => Promise<void>;
|
|
6134
|
+
add: (value: TVerificationV2, session?: ClientSession) => Promise<ObjectId>;
|
|
6135
|
+
};
|
|
6136
|
+
|
|
6137
|
+
declare function useVerificationServiceV2(): {
|
|
6138
|
+
signUp: ({ email, metadata, }: {
|
|
6139
|
+
email: string;
|
|
6140
|
+
metadata: TVerificationMetadataV2;
|
|
6141
|
+
}) => Promise<bson.ObjectId>;
|
|
6142
|
+
};
|
|
6143
|
+
|
|
6144
|
+
declare function useAuthControllerV2(): {
|
|
6145
|
+
signUp: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
6146
|
+
};
|
|
6147
|
+
|
|
6148
|
+
export { ANPRMode, AccessTypeProps, AssignCardConfig, BuildingStatus, BulkCardUpdate, BulletinRecipient, BulletinSort, BulletinStatus, Camera, CameraType, DEVICE_STATUS, DayOfWeek, EAccessCardTypes, EAccessCardUserTypes, FacilitySort, FacilityStatus, GuestSort, GuestStatus, IAccessCard, IAccessCardTransaction, MAccessCard, MAccessCardTransaction, MAddress, MAttendance, MAttendanceSettings, MBillingConfiguration, MBillingItem, MBuilding, MBuildingUnit, MBulletinBoard, MBulletinVideo, MChat, MCustomer, MCustomerSite, MDocumentManagement, MEntryPassSettings, MEventManagement, MFeedback, MFile, MGuestManagement, MIncidentReport, MManpowerDesignations, MManpowerMonitoring, MManpowerRemarks, MManpowerSites, MMember, MNfcPatrolLog, MNfcPatrolRoute, MNfcPatrolSettings, MNfcPatrolSettingsUpdate, MNfcPatrolTag, MOccurrenceBook, MOccurrenceEntry, MOccurrenceSubject, MOnlineForm, MOrg, MOvernightParkingApprovalHours, MOvernightParkingRequest, MPatrolLog, MPatrolQuestion, MPatrolRoute, MPerson, MPromoCode, MRobot, MRole, MServiceProvider, MServiceProviderBilling, MSession, MSite, MSiteCamera, MSiteFacility, MSiteFacilityBooking, MStatementOfAccount, MSubscription, MUnitBilling, MUser, MVehicle, MVehicleTransaction, MVerification, MVerificationV2, MVisitorTransaction, MWorkOrder, OrgNature, OvernightParkingRequestSort, OvernightParkingRequestStatus, PERSON_TYPES, PMDashboardCollection, Period, PersonStatus, PersonType, PersonTypes, QrTagProps, SiteAddress, SiteCategories, SiteStatus, SortFields, SortOrder, SubscriptionType, 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, TDaySchedule, TDefaultAccessCard, TDesignations, TDocs, TDocumentManagement, TEntryPassSettings, TEventManagement, TFeedback, TFeedbackMetadata, TFeedbackUpdate, TFeedbackUpdateCategory, TFeedbackUpdateServiceProvider, TFeedbackUpdateStatus, TFeedbackUpdateToCompleted, TFile, TFiles, TGetAttendancesByUserQuery, TGetAttendancesQuery, TGuestManagement, TIncidentInformation, TIncidentReport, TIncidentTypeAndTime, TInvoice, TManpowerDesignations, TManpowerDesignationsUpdate, TManpowerMonitoring, TManpowerMonitoringUpdate, TManpowerRemarks, TManpowerRemarksStatusUpdate, TManpowerRemarksUpdate, TManpowerSearchFilter, TManpowerSites, TMember, TMemberUpdateStatus, TMiniRole, TNfcPatrolLog, TNfcPatrolRoute, TNfcPatrolRouteEdit, TNfcPatrolSettings, TNfcPatrolSettingsGetBySite, TNfcPatrolSettingsUpdate, TNfcPatrolTag, TNfcPatrolTagConfigureReset, TNfcPatrolTagEdit, TNfcPatrolTagUpdateData, TOccurrenceBook, TOccurrenceEntry, TOccurrenceSubject, TOnlineForm, TOrg, TOvernightParkingApprovalHours, TOvernightParkingRequest, TPatrolLog, TPatrolQuestion, TPatrolRoute, TPerson, TPlaceOfIncident, TPlates, TPrice, TPriceType, TPromoCode, TPromoTier, TRecipientOfComplaint, TRemarks, TResident, TRobot, TRobotMetadata, TRole, TRoute, TSOABillingItem, TSOAStatus, TServiceProvider, TServiceProviderBilling, TSession, TSessionCreate, TShifts, TSite, TSiteCamera, TSiteFacility, TSiteFacilityBooking, TSiteInfo, TSiteMetadata, TSiteUpdateBlock, TStatementOfAccount, TSubmissionForm, TSubscription, TUnitBilling, TUnits, TUpdateName, TUser, TUserCreate, TVehicle, TVehicleTransaction, TVehicleUpdate, TVerification, TVerificationMetadata, TVerificationMetadataV2, TVerificationV2, TVisitorTransaction, TWorkOrder, TWorkOrderMetadata, TWorkOrderUpdate, TWorkOrderUpdateStatus, TWorkOrderUpdateToCompleted, TanyoneDamageToProperty, UseAccessManagementRepo, VehicleCategory, VehicleOrder, VehicleSort, VehicleStatus, VehicleType, VerificationType, VisitorSort, VisitorStatus, addressSchema, allowedFieldsSite, allowedNatures, attendanceSchema, attendanceSettingsSchema, buildings_namespace_collection, bulletin_boards_namespace_collection, calculatePercentage, chatSchema, createManpowerRemarksDaily, customerSchema, designationsSchema, events_namespace_collection, facility_bookings_namespace_collection, feedbackSchema, feedbacks_namespace_collection, formatDahuaDate, getPeriodRangeWithPrevious, guests_namespace_collection, incidentReport, incidentReportLog, incidents_namespace_collection, landscapeDashboardCollection, logCamera, mAndEDashboardCollection, manpowerDesignationsSchema, manpowerEvents, manpowerMonitoringSchema, manpowerRemarksSchema, manpowerSitesSchema, nfcPatrolSettingsSchema, nfcPatrolSettingsSchemaUpdate, occurrence_book_namespace_collection, orgSchema, overnight_parking_requests_namespace_collection, pestDashboardCollection, poolDashboardCollection, promoCodeSchema, remarksSchema, robotSchema, schema, schemaBilling, schemaBillingConfiguration, schemaBillingItem, schemaBuilding, schemaBuildingUnit, schemaBuildingUpdateOptions, schemaBulletinBoard, schemaBulletinVideo, schemaCustomerSite, schemaDocumentManagement, schemaEntryPassSettings, schemaEventManagement, schemaFiles, schemaGuestManagement, schemaIncidentReport, schemaNfcPatrolLog, schemaNfcPatrolRoute, schemaNfcPatrolTag, schemaNfcPatrolTagUpdateData, schemaOccurrenceBook, schemaOccurrenceEntry, schemaOccurrenceSubject, schemaOnlineForm, schemaOvernightParkingApprovalHours, schemaOvernightParkingRequest, schemaPatrolLog, schemaPatrolQuestion, schemaPatrolRoute, schemaPerson, schemaPlate, schemaServiceProvider, schemaServiceProviderBilling, schemaSiteCamera, schemaSiteFacility, schemaSiteFacilityBooking, schemaStatementOfAccount, schemaUnitBilling, schemaUpdateBulletinBoard, schemaUpdateBulletinVideo, schemaUpdateDocumentManagement, schemaUpdateEntryPassSettings, schemaUpdateEventManagement, schemaUpdateGuestManagement, schemaUpdateIncidentReport, schemaUpdateOccurrenceBook, schemaUpdateOccurrenceEntry, schemaUpdateOccurrenceSubject, schemaUpdateOnlineForm, schemaUpdateOptions, schemaUpdateOvernightParkingRequest, schemaUpdatePatrolLog, schemaUpdatePatrolQuestion, schemaUpdatePatrolRoute, schemaUpdatePerson, schemaUpdateServiceProviderBilling, schemaUpdateSiteBillingConfiguration, schemaUpdateSiteBillingItem, schemaUpdateSiteCamera, schemaUpdateSiteFacility, schemaUpdateSiteFacilityBooking, schemaUpdateSiteUnitBilling, schemaUpdateStatementOfAccount, schemaUpdateVisTrans, schemaVehicleTransaction, schemaVisitorTransaction, schemeCamera, schemeLogCamera, securityDashboardCollection, shiftSchema, siteSchema, site_people_namespace_collection, tokenSchema, updateRemarksStatusEod, updateRemarksisAcknowledged, updateSiteSchema, useAccessManagementController, useAddressRepo, useAttendanceController, useAttendanceRepository, useAttendanceSettingsController, useAttendanceSettingsRepository, useAttendanceSettingsService, useAuthController, useAuthControllerV2, 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, useHrmLabsAttendanceCtrl, useHrmLabsAttendanceSrvc, useIncidentReportController, useIncidentReportRepo, useIncidentReportService, useInvoiceController, useInvoiceModel, useInvoiceRepo, useManpowerDesignationCtrl, useManpowerDesignationRepo, useManpowerMonitoringCtrl, useManpowerMonitoringRepo, useManpowerMonitoringSrvc, useManpowerRemarkCtrl, useManpowerRemarksRepo, useManpowerSitesCtrl, useManpowerSitesRepo, useManpowerSitesSrvc, useMemberController, useMemberRepo, useNewDashboardController, useNewDashboardRepo, 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, useOvernightParkingController, useOvernightParkingRepo, useOvernightParkingRequestController, useOvernightParkingRequestRepo, useOvernightParkingRequestService, usePatrolLogController, usePatrolLogRepo, usePatrolQuestionController, usePatrolQuestionRepo, usePatrolRouteController, usePatrolRouteRepo, usePersonController, usePersonRepo, usePriceController, usePriceModel, usePriceRepo, usePromoCodeController, usePromoCodeRepo, useRedDotPaymentController, useRedDotPaymentRepo, useRedDotPaymentSvc, 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, useVerificationRepoV2, useVerificationService, useVerificationServiceV2, useVisitorTransactionController, useVisitorTransactionRepo, useVisitorTransactionService, useWorkOrderController, useWorkOrderRepo, useWorkOrderService, userSchema, vehicleSchema, vehicles_namespace_collection, visitors_namespace_collection, workOrderSchema, work_orders_namespace_collection };
|