@7365admin1/core 3.9.0 → 3.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.
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +20 -6
- package/dist/index.js +518 -326
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +411 -219
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @iservice365/core
|
|
2
2
|
|
|
3
|
+
## 3.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8a0805d: release changes in preloved api, forms api, etc.
|
|
8
|
+
|
|
9
|
+
## 3.10.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- da700a5: release changes for preloved api, push notification, tec.
|
|
14
|
+
|
|
3
15
|
## 3.9.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -2816,6 +2816,7 @@ type TVisitorTransaction = {
|
|
|
2816
2816
|
purpose?: string;
|
|
2817
2817
|
inviterId?: string | ObjectId;
|
|
2818
2818
|
createdBy?: string | ObjectId;
|
|
2819
|
+
updatedBy?: string | ObjectId;
|
|
2819
2820
|
};
|
|
2820
2821
|
declare const schemaVisitorTransaction: Joi.ObjectSchema<any>;
|
|
2821
2822
|
declare const schemaUpdateVisTrans: Joi.ObjectSchema<any>;
|
|
@@ -6096,31 +6097,34 @@ declare function useNewDashboardRepo(): {
|
|
|
6096
6097
|
workOrder: number;
|
|
6097
6098
|
taskCompleted: number;
|
|
6098
6099
|
}[]>;
|
|
6099
|
-
getServiceTodayTaskSchedule: ({ site, serviceType, page, limit, }: {
|
|
6100
|
+
getServiceTodayTaskSchedule: ({ site, serviceType, page, limit, period, }: {
|
|
6100
6101
|
site: string | ObjectId;
|
|
6101
6102
|
serviceType: TAppServiceType;
|
|
6102
6103
|
page?: number | undefined;
|
|
6103
6104
|
limit?: number | undefined;
|
|
6105
|
+
period?: Period | undefined;
|
|
6104
6106
|
}) => Promise<{
|
|
6105
6107
|
items: any[];
|
|
6106
6108
|
pages: number;
|
|
6107
6109
|
pageRange: string;
|
|
6108
6110
|
}>;
|
|
6109
|
-
getServiceStaffAttendance: ({ site, serviceType, page, limit, }: {
|
|
6111
|
+
getServiceStaffAttendance: ({ site, serviceType, page, limit, period, }: {
|
|
6110
6112
|
site: string | ObjectId;
|
|
6111
6113
|
serviceType: TAppServiceType;
|
|
6112
6114
|
page?: number | undefined;
|
|
6113
6115
|
limit?: number | undefined;
|
|
6116
|
+
period?: Period | undefined;
|
|
6114
6117
|
}) => Promise<{
|
|
6115
6118
|
items: any[];
|
|
6116
6119
|
pages: number;
|
|
6117
6120
|
pageRange: string;
|
|
6118
6121
|
}>;
|
|
6119
|
-
getServiceRecentFeedbacks: ({ site, serviceType, page, limit, }: {
|
|
6122
|
+
getServiceRecentFeedbacks: ({ site, serviceType, page, limit, period, }: {
|
|
6120
6123
|
site: string | ObjectId;
|
|
6121
6124
|
serviceType: TAppServiceType;
|
|
6122
6125
|
page?: number | undefined;
|
|
6123
6126
|
limit?: number | undefined;
|
|
6127
|
+
period?: Period | undefined;
|
|
6124
6128
|
}) => Promise<{
|
|
6125
6129
|
items: any[];
|
|
6126
6130
|
pages: number;
|
|
@@ -7375,11 +7379,13 @@ declare function MBidPreloved(value: TBidPreloved): {
|
|
|
7375
7379
|
|
|
7376
7380
|
declare function useBidPrelovedRepo(): {
|
|
7377
7381
|
add: (value: TBidPreloved, session?: any) => Promise<string | ObjectId>;
|
|
7382
|
+
getById: (_id: string | ObjectId) => Promise<mongodb.WithId<TBidPreloved>>;
|
|
7378
7383
|
updateStatus: (_id: string | ObjectId, status: BidStatus) => Promise<string>;
|
|
7379
7384
|
};
|
|
7380
7385
|
|
|
7381
7386
|
declare function useBidPrelovedController(): {
|
|
7382
7387
|
add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
7388
|
+
getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
7383
7389
|
updateStatus: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
7384
7390
|
};
|
|
7385
7391
|
|
|
@@ -7461,17 +7467,25 @@ declare function useFormEntryRepo(): {
|
|
|
7461
7467
|
items: any[];
|
|
7462
7468
|
pages: number;
|
|
7463
7469
|
pageRange: string;
|
|
7464
|
-
}
|
|
7470
|
+
}>;
|
|
7465
7471
|
getFormEntryById: (_id: string | ObjectId) => Promise<bson.Document>;
|
|
7466
7472
|
updateFormEntryById: (_id: string | ObjectId, value: residentFormEntry) => Promise<number>;
|
|
7467
7473
|
createTextIndex: () => Promise<void>;
|
|
7468
7474
|
deleteOnlineFormById: (_id: string | ObjectId, session?: ClientSession) => Promise<number>;
|
|
7469
7475
|
addResidentForm: (value: residentFormEntry, session?: ClientSession) => Promise<ObjectId>;
|
|
7470
|
-
residentForm: ({ userId, site, org }: {
|
|
7476
|
+
residentForm: ({ userId, site, org, search, page, limit, sort, }: {
|
|
7471
7477
|
userId: string;
|
|
7472
7478
|
site: string | ObjectId;
|
|
7473
7479
|
org: string | ObjectId;
|
|
7474
|
-
|
|
7480
|
+
search?: string | undefined;
|
|
7481
|
+
page?: number | undefined;
|
|
7482
|
+
limit?: number | undefined;
|
|
7483
|
+
sort?: Record<string, any> | undefined;
|
|
7484
|
+
}) => Promise<{
|
|
7485
|
+
items: any[];
|
|
7486
|
+
pages: number;
|
|
7487
|
+
pageRange: string;
|
|
7488
|
+
} | TFormEntry>;
|
|
7475
7489
|
};
|
|
7476
7490
|
|
|
7477
7491
|
declare function useFormEntryController(): {
|