@managemint-solutions/entities 1.0.30 → 1.0.32
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.
|
@@ -11,7 +11,7 @@ export type GetProjectsDto = {
|
|
|
11
11
|
start_date_before?: string | Date | null;
|
|
12
12
|
end_date_after?: string | Date | null;
|
|
13
13
|
end_date_before?: string | Date | null;
|
|
14
|
-
status_id_in?: string
|
|
14
|
+
status_id_in?: string | null;
|
|
15
15
|
client_id?: string | null;
|
|
16
16
|
archive: boolean;
|
|
17
17
|
};
|
package/dist/users/index.d.ts
CHANGED
|
@@ -7,7 +7,17 @@ export interface UserIdentity {
|
|
|
7
7
|
email: string;
|
|
8
8
|
profile_image: string | null;
|
|
9
9
|
}
|
|
10
|
-
export interface
|
|
10
|
+
export interface UserSummary {
|
|
11
|
+
mms_id: UUID;
|
|
12
|
+
name: string;
|
|
13
|
+
surname: string;
|
|
14
|
+
email: string;
|
|
15
|
+
profile_image: string | null;
|
|
16
|
+
active: boolean;
|
|
17
|
+
created_at: Date;
|
|
18
|
+
last_logged_in: Date | null;
|
|
19
|
+
}
|
|
20
|
+
export interface UserEntity {
|
|
11
21
|
mms_id: string;
|
|
12
22
|
name: string;
|
|
13
23
|
surname: string;
|
|
@@ -116,6 +126,10 @@ export interface PermissionsEntity {
|
|
|
116
126
|
read_subscriptions: boolean;
|
|
117
127
|
update_subscriptions: boolean;
|
|
118
128
|
delete_subscriptions: boolean;
|
|
129
|
+
create_logs: boolean;
|
|
130
|
+
read_logs: boolean;
|
|
131
|
+
update_logs: boolean;
|
|
132
|
+
delete_logs: boolean;
|
|
119
133
|
}
|
|
120
134
|
export interface Permissions {
|
|
121
135
|
permissions: {
|
|
@@ -130,12 +144,14 @@ export interface Permissions {
|
|
|
130
144
|
organization: Omit<CrudPermission, 'create' | 'delete'>;
|
|
131
145
|
subscription: Omit<CrudPermission, 'read' | 'create' | 'delete'>;
|
|
132
146
|
payments: Omit<CrudPermission, 'read' | 'update' | 'delete'>;
|
|
147
|
+
notifications: Omit<CrudPermission, 'create' | 'update' | 'delete'>;
|
|
148
|
+
logs: Omit<CrudPermission, 'create' | 'update' | 'delete'>;
|
|
133
149
|
};
|
|
134
150
|
roles: {
|
|
135
151
|
admin: boolean;
|
|
136
152
|
owner: boolean;
|
|
137
153
|
};
|
|
138
154
|
}
|
|
139
|
-
export interface LoggedInUser extends
|
|
155
|
+
export interface LoggedInUser extends UserEntity, Permissions {
|
|
140
156
|
alerts: Record<string, boolean>;
|
|
141
157
|
}
|
package/package.json
CHANGED