@7365admin1/core 3.24.0 → 3.26.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 +22 -1
- package/dist/index.js +210 -95
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +210 -95
- 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.26.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3ce77c8: release changes in nfc patrol api, soa api, billing api, vehicle api, etc.
|
|
8
|
+
|
|
9
|
+
## 3.25.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- f1dfe6f: release changes in preloved api, soa api, access-management api, etc.
|
|
14
|
+
|
|
3
15
|
## 3.24.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -417,6 +417,7 @@ type TVerification = {
|
|
|
417
417
|
type: string;
|
|
418
418
|
email: string;
|
|
419
419
|
metadata?: TVerificationMetadata;
|
|
420
|
+
roleName?: string;
|
|
420
421
|
status?: string;
|
|
421
422
|
createdAt: string;
|
|
422
423
|
updatedAt?: string | null;
|
|
@@ -427,6 +428,7 @@ declare class MVerification implements TVerification {
|
|
|
427
428
|
type: string;
|
|
428
429
|
email: string;
|
|
429
430
|
metadata?: TVerificationMetadata;
|
|
431
|
+
roleName?: string;
|
|
430
432
|
status?: string;
|
|
431
433
|
createdAt: string;
|
|
432
434
|
updatedAt?: string | null;
|
|
@@ -474,11 +476,12 @@ declare function useVerificationService(): {
|
|
|
474
476
|
metadata: TKeyValuePair;
|
|
475
477
|
}) => Promise<bson.ObjectId>;
|
|
476
478
|
createForgetPassword: (email: string) => Promise<string>;
|
|
477
|
-
createServiceProviderInvite: ({ email, orgId, siteId, siteName, inviteType, }: {
|
|
479
|
+
createServiceProviderInvite: ({ email, orgId, siteId, siteName, app, inviteType, }: {
|
|
478
480
|
email: string;
|
|
479
481
|
orgId: string;
|
|
480
482
|
siteId: string;
|
|
481
483
|
siteName: string;
|
|
484
|
+
app: string;
|
|
482
485
|
inviteType: "create-org" | "organization-invite";
|
|
483
486
|
}) => Promise<bson.ObjectId>;
|
|
484
487
|
getById: (id: string) => Promise<TVerification>;
|
|
@@ -2921,6 +2924,13 @@ declare function MVisitorTransaction(value: TVisitorTransaction): {
|
|
|
2921
2924
|
} | null;
|
|
2922
2925
|
arrivalTime: string | null | undefined;
|
|
2923
2926
|
duration: number | null | undefined;
|
|
2927
|
+
members: {
|
|
2928
|
+
name: string;
|
|
2929
|
+
nric: string;
|
|
2930
|
+
visitorPass?: TKeyRef[] | null | undefined;
|
|
2931
|
+
passKeys?: TKeyRef[] | null | undefined;
|
|
2932
|
+
contact: string;
|
|
2933
|
+
}[] | undefined;
|
|
2924
2934
|
};
|
|
2925
2935
|
|
|
2926
2936
|
declare const visitors_namespace_collection = "visitor.transactions";
|
|
@@ -6097,6 +6107,17 @@ declare function useNewDashboardRepo(): {
|
|
|
6097
6107
|
count: any;
|
|
6098
6108
|
ongoing: any;
|
|
6099
6109
|
waitingApproval: any;
|
|
6110
|
+
byStatus: {
|
|
6111
|
+
Pending: number;
|
|
6112
|
+
Approved: number;
|
|
6113
|
+
Ongoing: number;
|
|
6114
|
+
"For Review": number;
|
|
6115
|
+
"With Balance": number;
|
|
6116
|
+
"With Refund": number;
|
|
6117
|
+
Completed: number;
|
|
6118
|
+
Rejected: number;
|
|
6119
|
+
Cancelled: number;
|
|
6120
|
+
};
|
|
6100
6121
|
percentage: number;
|
|
6101
6122
|
};
|
|
6102
6123
|
workOrderStatus: {
|