@7365admin1/core 2.31.0 → 2.31.2
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 +41 -1
- package/dist/index.js +455 -241
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +456 -241
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -475,6 +475,7 @@ declare function useOrgRepo(): {
|
|
|
475
475
|
|
|
476
476
|
declare function useOrgController(): {
|
|
477
477
|
add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
478
|
+
addOnboardingOrg: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
478
479
|
getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
479
480
|
getOrgsByUserId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
480
481
|
getByName: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
@@ -2550,6 +2551,7 @@ type TVisitorTransaction = {
|
|
|
2550
2551
|
updatedAt?: string | Date;
|
|
2551
2552
|
deletedAt?: string | Date;
|
|
2552
2553
|
purpose?: string;
|
|
2554
|
+
invitedId?: string | ObjectId;
|
|
2553
2555
|
};
|
|
2554
2556
|
declare const schemaVisitorTransaction: Joi.ObjectSchema<any>;
|
|
2555
2557
|
declare const schemaUpdateVisTrans: Joi.ObjectSchema<any>;
|
|
@@ -2588,6 +2590,16 @@ declare function MVisitorTransaction(value: TVisitorTransaction): {
|
|
|
2588
2590
|
createdAt: string | Date;
|
|
2589
2591
|
updatedAt: string | Date;
|
|
2590
2592
|
deletedAt: string | Date;
|
|
2593
|
+
purpose: string | undefined;
|
|
2594
|
+
numberOfPassengers: number | null;
|
|
2595
|
+
email: string | undefined;
|
|
2596
|
+
isOvernightParking: boolean;
|
|
2597
|
+
invitedId: ObjectId;
|
|
2598
|
+
overnightParking: {
|
|
2599
|
+
status: string;
|
|
2600
|
+
remarks: string;
|
|
2601
|
+
updatedBy: ObjectId;
|
|
2602
|
+
} | null;
|
|
2591
2603
|
};
|
|
2592
2604
|
|
|
2593
2605
|
declare const visitors_namespace_collection = "visitor.transactions";
|
|
@@ -4784,6 +4796,22 @@ declare function useStatementOfAccountRepo(): {
|
|
|
4784
4796
|
updateById: (_id: string | ObjectId, value: Partial<TStatementOfAccount>, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
|
|
4785
4797
|
deleteById: (_id: string | ObjectId) => Promise<number>;
|
|
4786
4798
|
updateStatusById: (_id: string | ObjectId, value: Pick<TStatementOfAccount, "status">, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
|
|
4799
|
+
getResidentUserSoa: ({ search, page, limit, sort, status, site, dateFrom, dateTo, unitId, category, }: {
|
|
4800
|
+
search?: string | undefined;
|
|
4801
|
+
page?: number | undefined;
|
|
4802
|
+
limit?: number | undefined;
|
|
4803
|
+
sort?: Record<string, any> | undefined;
|
|
4804
|
+
status: string;
|
|
4805
|
+
site?: string | undefined;
|
|
4806
|
+
dateFrom?: string | undefined;
|
|
4807
|
+
dateTo?: string | undefined;
|
|
4808
|
+
unitId: string;
|
|
4809
|
+
category: string;
|
|
4810
|
+
}, session?: ClientSession) => Promise<{
|
|
4811
|
+
items: any[];
|
|
4812
|
+
pages: number;
|
|
4813
|
+
pageRange: string;
|
|
4814
|
+
}>;
|
|
4787
4815
|
};
|
|
4788
4816
|
|
|
4789
4817
|
declare function useStatementOfAccountController(): {
|
|
@@ -4794,6 +4822,7 @@ declare function useStatementOfAccountController(): {
|
|
|
4794
4822
|
deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
4795
4823
|
generatePDF: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
4796
4824
|
updateStatusById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
4825
|
+
getResidentUserSoa: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
4797
4826
|
};
|
|
4798
4827
|
|
|
4799
4828
|
type TEntryPassSettings = {
|
|
@@ -5407,7 +5436,7 @@ declare function useOccurrenceSubjectRepo(): {
|
|
|
5407
5436
|
pages: number;
|
|
5408
5437
|
pageRange: string;
|
|
5409
5438
|
} | TOccurrenceSubject>;
|
|
5410
|
-
getOccurrenceSubjectById: (_id: string | ObjectId, session?: ClientSession) => Promise<mongodb.WithId<bson.Document
|
|
5439
|
+
getOccurrenceSubjectById: (_id: string | ObjectId, session?: ClientSession) => Promise<mongodb.WithId<bson.Document>>;
|
|
5411
5440
|
updateOccurrenceSubjectById: (_id: ObjectId | string, value: Partial<TOccurrenceSubject>, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
|
|
5412
5441
|
deleteOccurrenceSubjectById: (_id: string | ObjectId) => Promise<number>;
|
|
5413
5442
|
createIndexes: () => Promise<void>;
|
|
@@ -6265,6 +6294,16 @@ declare function useVerificationRepoV2(): {
|
|
|
6265
6294
|
updateVerificationStatusById: (_id: string | ObjectId, status: string, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
|
|
6266
6295
|
getByVerificationCode: (verificationCode: string) => Promise<TVerification | null>;
|
|
6267
6296
|
getVerificationById: (id: string | ObjectId) => Promise<TVerificationV2 | null>;
|
|
6297
|
+
getVerifications: ({ search, page, limit, sort, status, app, type, email, }: {
|
|
6298
|
+
search?: string | undefined;
|
|
6299
|
+
page?: number | undefined;
|
|
6300
|
+
limit?: number | undefined;
|
|
6301
|
+
sort?: Record<string, any> | undefined;
|
|
6302
|
+
status: string;
|
|
6303
|
+
app?: string | undefined;
|
|
6304
|
+
type?: Record<string, any> | undefined;
|
|
6305
|
+
email?: string | undefined;
|
|
6306
|
+
}) => Promise<{}>;
|
|
6268
6307
|
};
|
|
6269
6308
|
|
|
6270
6309
|
declare function useVerificationServiceV2(): {
|
|
@@ -6300,6 +6339,7 @@ declare function useVerificationControllerV2(): {
|
|
|
6300
6339
|
createUserInvite: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
6301
6340
|
createServiceProviderInvite: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
6302
6341
|
createForgetPassword: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
6342
|
+
getVerifications: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
6303
6343
|
};
|
|
6304
6344
|
|
|
6305
6345
|
declare function useAuthControllerV2(): {
|