@7365admin1/core 2.10.0 → 2.11.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.
@@ -13,5 +13,5 @@ jobs:
13
13
  with:
14
14
  node-version: 20.x
15
15
  cache: "yarn"
16
- - run: yarn install --frozen-lockfile
16
+ - run: yarn install
17
17
  - run: yarn lint && yarn build
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @iservice365/core
2
2
 
3
+ ## 2.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c5565e2: update to latest changes
8
+
3
9
  ## 2.10.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -341,6 +341,7 @@ declare function useVerificationRepo(): {
341
341
  }) => Promise<{}>;
342
342
  getByIdByType: (type: string) => Promise<TVerification[]>;
343
343
  updateStatusById: (_id: string | ObjectId, status: string, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
344
+ getByStatus: (status: string) => Promise<TVerification[]>;
344
345
  };
345
346
 
346
347
  type TKeyValuePair<K extends string | number | symbol = string, V = any> = {
@@ -367,6 +368,7 @@ declare function useVerificationService(): {
367
368
  email: string;
368
369
  metadata: TKeyValuePair;
369
370
  }) => Promise<bson.ObjectId>;
371
+ checkExpiredInvitation: () => Promise<string>;
370
372
  };
371
373
 
372
374
  declare function useVerificationController(): {
@@ -400,6 +402,7 @@ declare function useFileRepo(): {
400
402
  getAllDraftedFiles: () => Promise<mongodb.WithId<bson.Document>[] | TFile>;
401
403
  updateStatusById: (_id: string | ObjectId, value: Pick<TFile, "status">, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
402
404
  getFileById: (_id: string | ObjectId) => Promise<TFile | null>;
405
+ createIndex: () => Promise<void>;
403
406
  };
404
407
 
405
408
  declare function useFileService(): {
@@ -3834,6 +3837,12 @@ declare function UseAccessManagementRepo(): {
3834
3837
  pages: number;
3835
3838
  pageRange: string;
3836
3839
  }>;
3840
+ assignedAccessCardsRepo: (params: {
3841
+ site: string;
3842
+ userType: string;
3843
+ type: string;
3844
+ search: string;
3845
+ }) => Promise<bson.Document[]>;
3837
3846
  };
3838
3847
 
3839
3848
  declare function useAccessManagementController(): {
@@ -3846,6 +3855,7 @@ declare function useAccessManagementController(): {
3846
3855
  allAccessCardsCounts: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
3847
3856
  availableAccessCards: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
3848
3857
  userTypeAccessCards: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
3858
+ assignedAccessCards: (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
3849
3859
  };
3850
3860
 
3851
3861
  declare const DEVICE_STATUS: {