@7365admin1/core 2.75.0 → 2.76.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @iservice365/core
2
2
 
3
+ ## 2.76.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1875fe7: release latest changes for subcategory api, user api, person api, and etc.
8
+
3
9
  ## 2.75.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -171,6 +171,7 @@ declare function useUserRepo(): {
171
171
  password: string;
172
172
  sid: string;
173
173
  }, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
174
+ updateUserOrgById: (id: string | ObjectId, org: string | ObjectId, session?: ClientSession) => Promise<string>;
174
175
  };
175
176
 
176
177
  declare function useUserController(): {
@@ -7067,11 +7068,13 @@ declare function useSubcategoryPrelovedRepo(): {
7067
7068
  category_id?: string | ObjectId | undefined;
7068
7069
  }) => Promise<mongodb.WithId<bson.Document>[]>;
7069
7070
  getById: (_id: string | ObjectId) => Promise<mongodb.WithId<bson.Document>>;
7071
+ addSubcategory: (item: TSubcategoryPreloved, session?: any) => Promise<ObjectId>;
7070
7072
  };
7071
7073
 
7072
7074
  declare function useSubcategoryPrelovedController(): {
7073
7075
  getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
7074
7076
  getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
7077
+ addSubcategory: (req: Request, res: Response, next: NextFunction) => Promise<void>;
7075
7078
  };
7076
7079
 
7077
7080
  declare enum FormEntryStatus {