@bondsports/types 2.2.146 → 2.2.148
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[];
|
@@ -87,6 +89,8 @@ export declare class UpdateEmployeeDto {
|
|
87
89
|
emergencyContactPhone?: string;
|
88
90
|
mainMedia?: MediaDto;
|
89
91
|
rolesIds?: number[];
|
92
|
+
rolesIdsToAdd?: number[];
|
93
|
+
rolesIdsToRemove?: number[];
|
90
94
|
referenceId?: string;
|
91
95
|
status?: EmployeeStatus;
|
92
96
|
employmentStartDate?: Date;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;
|
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"}
|