@tagsamurai/fats-api-services 1.0.3-alpha.37 → 1.0.3-alpha.39
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/api-services.es.js +1 -1
- package/api-services.system.js +1 -1
- package/package.json +1 -1
- package/src/types/licenseConcurrent.type.d.ts +1 -3
- package/src/types/maintenanceRoutine.type.d.ts +1 -3
- package/src/types/role.type.d.ts +3 -5
- package/src/types/subUser.type.d.ts +1 -3
- package/src/types/user.type.d.ts +3 -5
package/api-services.es.js
CHANGED
|
@@ -127,7 +127,7 @@ const ChangelogServices = {
|
|
|
127
127
|
return API$I.get("/change-log", { params });
|
|
128
128
|
},
|
|
129
129
|
getChangelogListOptions: (params) => {
|
|
130
|
-
return API$I.get("/change-log/options");
|
|
130
|
+
return API$I.get("/change-log/options", { params });
|
|
131
131
|
},
|
|
132
132
|
getSessionLogList: (params) => {
|
|
133
133
|
return API$I.get("/session-log", { params });
|
package/api-services.system.js
CHANGED
|
@@ -134,7 +134,7 @@ System.register(["axios"], function(exports, module) {
|
|
|
134
134
|
return API$I.get("/change-log", { params });
|
|
135
135
|
},
|
|
136
136
|
getChangelogListOptions: (params) => {
|
|
137
|
-
return API$I.get("/change-log/options");
|
|
137
|
+
return API$I.get("/change-log/options", { params });
|
|
138
138
|
},
|
|
139
139
|
getSessionLogList: (params) => {
|
|
140
140
|
return API$I.get("/session-log", { params });
|
package/package.json
CHANGED
|
@@ -248,9 +248,7 @@ export type Staff = {
|
|
|
248
248
|
name: string;
|
|
249
249
|
key: number;
|
|
250
250
|
};
|
|
251
|
-
|
|
252
|
-
profilePictureMedium: string;
|
|
253
|
-
profilePictureBig: string;
|
|
251
|
+
profilePicture: string;
|
|
254
252
|
employeeId: string;
|
|
255
253
|
email: string;
|
|
256
254
|
phoneNumber: string;
|
package/src/types/role.type.d.ts
CHANGED
|
@@ -88,15 +88,13 @@ export type UserTotalControlReadOnlyPermission = UserRole & {
|
|
|
88
88
|
formattedIsActive?: 'Active' | 'Inactive';
|
|
89
89
|
isActive: boolean;
|
|
90
90
|
isDefault?: boolean;
|
|
91
|
-
|
|
92
|
-
profilePictureMedium?: string;
|
|
93
|
-
profilePictureBig?: string;
|
|
91
|
+
profilePicture?: string;
|
|
94
92
|
};
|
|
95
93
|
export type UserSystemRolePermission = {
|
|
96
94
|
_id: string;
|
|
97
95
|
profilePictureSmall?: string;
|
|
98
96
|
profilePictureMedium?: string;
|
|
99
|
-
|
|
97
|
+
profilePicture?: string;
|
|
100
98
|
managePermission: Partial<{
|
|
101
99
|
[T in PermissionType]: RolePermission;
|
|
102
100
|
}>;
|
|
@@ -105,7 +103,7 @@ export type UserSystemRolePermission = {
|
|
|
105
103
|
isDefault?: boolean;
|
|
106
104
|
profilePictureSmall?: string;
|
|
107
105
|
profilePictureMedium?: string;
|
|
108
|
-
|
|
106
|
+
profilePicture?: string;
|
|
109
107
|
};
|
|
110
108
|
group: RoleGroupInfo[];
|
|
111
109
|
formattedIsActive?: 'Active' | 'Inactive';
|
package/src/types/user.type.d.ts
CHANGED
|
@@ -7,9 +7,7 @@ export interface UserData {
|
|
|
7
7
|
firstName?: string;
|
|
8
8
|
lastName?: string;
|
|
9
9
|
fullName?: string;
|
|
10
|
-
|
|
11
|
-
profilePictureBig?: string;
|
|
12
|
-
profilePictureSmall?: string;
|
|
10
|
+
profilePicture?: string;
|
|
13
11
|
email: string;
|
|
14
12
|
phoneNumber?: string;
|
|
15
13
|
employeeId?: string;
|
|
@@ -126,7 +124,7 @@ export type User = {
|
|
|
126
124
|
isDefault: boolean;
|
|
127
125
|
profilePictureSmall: string;
|
|
128
126
|
profilePictureMedium: string;
|
|
129
|
-
|
|
127
|
+
profilePicture: string;
|
|
130
128
|
exportSystemRole: string;
|
|
131
129
|
exportTransactionRole: string;
|
|
132
130
|
isSelf: boolean;
|
|
@@ -165,7 +163,7 @@ export type UserDetail = {
|
|
|
165
163
|
expiryDate: number;
|
|
166
164
|
profilePictureSmall: string;
|
|
167
165
|
profilePictureMedium: string;
|
|
168
|
-
|
|
166
|
+
profilePicture: string;
|
|
169
167
|
systemRole: {
|
|
170
168
|
role: Role;
|
|
171
169
|
}[];
|