@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.
@@ -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 });
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/fats-api-services",
3
- "version": "1.0.3-alpha.37",
3
+ "version": "1.0.3-alpha.39",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Fixed Asset Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -1,8 +1,6 @@
1
1
  export interface ConcurrentUser {
2
2
  _id: string;
3
- profilePictureSmall: string;
4
- profilePictureMedium: string;
5
- profilePictureBig: string;
3
+ profilePicture: string;
6
4
  name: string;
7
5
  userType: 'Basic' | 'Admin';
8
6
  position: string;
@@ -248,9 +248,7 @@ export type Staff = {
248
248
  name: string;
249
249
  key: number;
250
250
  };
251
- profilePictureSmall: string;
252
- profilePictureMedium: string;
253
- profilePictureBig: string;
251
+ profilePicture: string;
254
252
  employeeId: string;
255
253
  email: string;
256
254
  phoneNumber: string;
@@ -88,15 +88,13 @@ export type UserTotalControlReadOnlyPermission = UserRole & {
88
88
  formattedIsActive?: 'Active' | 'Inactive';
89
89
  isActive: boolean;
90
90
  isDefault?: boolean;
91
- profilePictureSmall?: string;
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
- profilePictureBig?: string;
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
- profilePictureBig?: string;
106
+ profilePicture?: string;
109
107
  };
110
108
  group: RoleGroupInfo[];
111
109
  formattedIsActive?: 'Active' | 'Inactive';
@@ -12,9 +12,7 @@ export type SubUser = {
12
12
  fullName: string;
13
13
  key: number;
14
14
  };
15
- profilePictureSmall?: string;
16
- profilePictureMedium?: string;
17
- profilePictureBig?: string;
15
+ profilePicture?: string;
18
16
  name: string;
19
17
  firstName: string;
20
18
  lastName: string;
@@ -7,9 +7,7 @@ export interface UserData {
7
7
  firstName?: string;
8
8
  lastName?: string;
9
9
  fullName?: string;
10
- profilePictureMedium?: string;
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
- profilePictureBig: string;
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
- profilePictureBig: string;
166
+ profilePicture: string;
169
167
  systemRole: {
170
168
  role: Role;
171
169
  }[];