@managemint-solutions/entities 1.1.3 → 1.1.5

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.
@@ -0,0 +1,37 @@
1
+ import { EmergencyContactRelationship } from "../enum";
2
+ export type UserIdDto = {
3
+ userId: string;
4
+ };
5
+ export type GetUsersDto = {
6
+ search?: string | null;
7
+ page: number;
8
+ page_size: number;
9
+ };
10
+ export type CreateUserDto = {
11
+ email: string;
12
+ password: string;
13
+ name: string;
14
+ surname: string;
15
+ phone: string | null;
16
+ profile_image: string | null;
17
+ country_code: string;
18
+ };
19
+ export type UpdateUserDto = {
20
+ name: string;
21
+ surname: string;
22
+ phone: string;
23
+ birthday?: string | null;
24
+ end_date?: string | null;
25
+ job_title?: string | null;
26
+ manager_id?: string | null;
27
+ social_facebook?: string | null;
28
+ social_linkedin?: string | null;
29
+ social_twitter?: string | null;
30
+ social_instagram?: string | null;
31
+ social_github?: string | null;
32
+ social_website?: string | null;
33
+ emergency_contact_name?: string | null;
34
+ emergency_contact_relationship?: EmergencyContactRelationship | null;
35
+ emergency_contact_phone?: string | null;
36
+ emergency_contact_email?: string | null;
37
+ };
@@ -1,2 +1 @@
1
- "use strict";
2
- // User DTOs
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managemint-solutions/entities",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Entity types used by both the api and portal",
5
5
  "homepage": "https://github.com/ManageMint-Solutions/managemint-solutions-entities#readme",
6
6
  "bugs": {
@@ -17,10 +17,11 @@
17
17
 
18
18
  "exports": {
19
19
  "./package.json": "./package.json",
20
- "./*": {
21
- "types": "./dist/*/index.d.ts",
22
- "import": "./dist/*/index.js"
23
- }
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "import": "./dist/index.js"
23
+ },
24
+ "./*": "./dist/*"
24
25
  },
25
26
 
26
27
  "scripts": {