@bondsports/types 2.2.147 → 2.2.149

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,7 @@ import { EmployeeStatus, OrganizationUserOrderBy, UserOrderBy } from '../types/e
5
5
  import { PaginationQuery } from '../../dto/general.dto';
6
6
  import { Customer } from '../../entity/Customer';
7
7
  import { OrganizationUsers } from '../../organization/entities/OrganizationUsers';
8
+ import { Address } from '../../entity/Address';
8
9
  export declare class ByEmployeeIdDto {
9
10
  employeeId: number;
10
11
  }
@@ -24,6 +25,7 @@ export declare class EmployeeDto {
24
25
  userId: number;
25
26
  phoneNumber?: string;
26
27
  customerId?: number;
28
+ address?: Address;
27
29
  }
28
30
  export declare class EmployeeWithRoles extends EmployeeDto {
29
31
  roles?: Role[];
@@ -1 +1 @@
1
- {"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AAIxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CA8BvB;AA9BD,kCA8BC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAMzB;AAND,sCAMC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAwD7B;AAxDD,8CAwDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;CAU/D;AAVD,kEAUC"}
1
+ {"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AAKxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAgCvB;AAhCD,kCAgCC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAMzB;AAND,sCAMC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAwD7B;AAxDD,8CAwDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;CAU/D;AAVD,kEAUC"}
@@ -6,5 +6,19 @@ export interface UpdateUser {
6
6
  status?: string;
7
7
  birthDate?: string;
8
8
  email?: string;
9
+ zip?: string;
10
+ street?: string;
11
+ city?: string;
12
+ state?: string;
13
+ gender?: GenderEnum;
14
+ }
15
+ export interface UpdateUserFields {
16
+ firstName?: string;
17
+ lastName?: string;
18
+ phoneNumber?: string;
19
+ status?: string;
20
+ birthDate?: string;
21
+ email?: string;
22
+ addressId?: number;
9
23
  gender?: GenderEnum;
10
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.147",
3
+ "version": "2.2.149",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {