@7365admin1/core 2.41.0 → 2.42.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.42.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6e08f58: get latest changes
8
+
3
9
  ## 2.41.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -2025,13 +2025,13 @@ declare function MVehicle(value: TVehicle): {
2025
2025
  nric: string;
2026
2026
  remarks: string;
2027
2027
  seasonPassType: string;
2028
- start: string | Date;
2028
+ start: Date;
2029
2029
  end: string | Date;
2030
2030
  status: string;
2031
2031
  unitName: string;
2032
2032
  peopleId: string | ObjectId;
2033
2033
  vehicleModel: string;
2034
- createdAt: string;
2034
+ createdAt: Date;
2035
2035
  updatedAt: string | Date;
2036
2036
  deletedAt: string | Date;
2037
2037
  };
@@ -2107,7 +2107,7 @@ declare function useVehicleRepo(): {
2107
2107
  pageRange: string;
2108
2108
  }>;
2109
2109
  getAllExpiredVehicles: () => Promise<mongodb.WithId<bson.Document>[]>;
2110
- bulkUpsertVehicles: (values: TVehicle[], session?: ClientSession) => Promise<{
2110
+ bulkUpsertVehicles: (values: TVehicle[]) => Promise<{
2111
2111
  matchedCount: number;
2112
2112
  modifiedCount: number;
2113
2113
  upsertedCount: number;
@@ -2165,7 +2165,7 @@ declare function useVehicleController(): {
2165
2165
  getVehiclesByNRIC: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2166
2166
  reactivateVehicleById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2167
2167
  getAllVehiclesByUnitId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2168
- uploadExcelVehicles: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2168
+ uploadSpreadsheetVehicles: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2169
2169
  };
2170
2170
 
2171
2171
  declare enum CameraType {
@@ -2480,6 +2480,7 @@ type TPerson = {
2480
2480
  plates?: TPlates[];
2481
2481
  isOwner?: boolean;
2482
2482
  files?: TFiles[];
2483
+ plateNumber?: string;
2483
2484
  createdAt?: string | Date;
2484
2485
  updatedAt?: string | Date;
2485
2486
  deletedAt?: string | Date;
@@ -2513,6 +2514,7 @@ declare function MPerson(value: TPerson): {
2513
2514
  plates: TPlates[];
2514
2515
  isOwner: boolean;
2515
2516
  files: TFiles[];
2517
+ plateNumber: string;
2516
2518
  createdAt: string | Date;
2517
2519
  updatedAt: string | Date | undefined;
2518
2520
  deletedAt: string | Date | undefined;
@@ -5769,6 +5771,7 @@ declare function useManpowerMonitoringRepo(): {
5769
5771
  message: string;
5770
5772
  }>;
5771
5773
  getAllSites: (serviceProviderId: string | ObjectId) => Promise<any>;
5774
+ createIndexes: () => Promise<string>;
5772
5775
  };
5773
5776
 
5774
5777
  declare function useManpowerMonitoringSrvc(): {
@@ -5823,6 +5826,7 @@ declare function useManpowerDesignationRepo(): {
5823
5826
  createManpowerDesignations: (value: TManpowerDesignations) => Promise<mongodb.InsertOneResult<bson.Document>>;
5824
5827
  getManpowerDesignationsBySiteId: (_id: string | ObjectId, serviceProviderId?: string | ObjectId) => Promise<mongodb.WithId<bson.Document> | null>;
5825
5828
  updateManpowerDesignations: (_id: string | ObjectId, value: TManpowerDesignationsUpdate) => Promise<number>;
5829
+ createIndexes: () => Promise<string>;
5826
5830
  };
5827
5831
 
5828
5832
  declare function useManpowerDesignationCtrl(): {
@@ -6170,6 +6174,7 @@ declare function useManpowerRemarksRepo(): {
6170
6174
  getManpowerRemarksBySiteId: (_id: string | ObjectId, date: string, serviceProviderId?: string | ObjectId) => Promise<mongodb.WithId<bson.Document> | null>;
6171
6175
  updateManpowerRemarks: (_id: string | ObjectId, value: TManpowerRemarksUpdate) => Promise<number>;
6172
6176
  updateRemarksStatus: (_id: string | ObjectId, value: TManpowerRemarksStatusUpdate) => Promise<number>;
6177
+ createIndexes: () => Promise<string>;
6173
6178
  };
6174
6179
 
6175
6180
  declare function useManpowerRemarkCtrl(): {