@managesome/eposmatic-toolkit 0.2.564 → 0.2.565
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.
|
@@ -23,7 +23,6 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
23
23
|
notes: string;
|
|
24
24
|
address: string;
|
|
25
25
|
staff_auth_code: string;
|
|
26
|
-
role: import("../../constants").USER_ROLES_ENUM;
|
|
27
26
|
emergency_contact: {
|
|
28
27
|
name: string;
|
|
29
28
|
phone: string;
|
|
@@ -344,7 +343,6 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
344
343
|
notes: string;
|
|
345
344
|
address: string;
|
|
346
345
|
staff_auth_code: string;
|
|
347
|
-
role: import("../../constants").USER_ROLES_ENUM;
|
|
348
346
|
emergency_contact: {
|
|
349
347
|
name: string;
|
|
350
348
|
phone: string;
|
|
@@ -665,7 +663,6 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
665
663
|
notes: string;
|
|
666
664
|
address: string;
|
|
667
665
|
staff_auth_code: string;
|
|
668
|
-
role: import("../../constants").USER_ROLES_ENUM;
|
|
669
666
|
emergency_contact: {
|
|
670
667
|
name: string;
|
|
671
668
|
phone: string;
|
|
@@ -81,11 +81,6 @@ exports.TenantHrEmployeeSchema = new mongoose_1.Schema({
|
|
|
81
81
|
type: Boolean,
|
|
82
82
|
default: false,
|
|
83
83
|
},
|
|
84
|
-
role: {
|
|
85
|
-
type: String,
|
|
86
|
-
required: true,
|
|
87
|
-
enum: constants_1.ALL_USER_ROLES,
|
|
88
|
-
},
|
|
89
84
|
operational_hours: {
|
|
90
85
|
type: [items_1.SpecialHoursSchema],
|
|
91
86
|
required: false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HR_EMPLOYEE_DOCUMENT_TYPE_ENUM, HR_EMPLOYMENT_STATUS_ENUM
|
|
1
|
+
import { HR_EMPLOYEE_DOCUMENT_TYPE_ENUM, HR_EMPLOYMENT_STATUS_ENUM } from '../../constants';
|
|
2
2
|
import { IItemSpecialHour } from './common';
|
|
3
3
|
export interface ITenantHrEmergencyContact {
|
|
4
4
|
name: string;
|
|
@@ -14,15 +14,14 @@ export interface ITenantHrEmployee {
|
|
|
14
14
|
_id: string;
|
|
15
15
|
uid: string;
|
|
16
16
|
tenant_id: string;
|
|
17
|
-
staff_auth_code
|
|
18
|
-
email
|
|
17
|
+
staff_auth_code?: string | null;
|
|
18
|
+
email?: string | null;
|
|
19
19
|
email_verified: boolean;
|
|
20
|
-
display_name
|
|
21
|
-
image_url
|
|
20
|
+
display_name?: string | null;
|
|
21
|
+
image_url?: string | null;
|
|
22
22
|
is_disabled: boolean;
|
|
23
23
|
phone_number: string;
|
|
24
24
|
phone_number_verified: boolean;
|
|
25
|
-
role: USER_ROLES_ENUM;
|
|
26
25
|
operational_hours?: IItemSpecialHour[] | null;
|
|
27
26
|
address?: string | null;
|
|
28
27
|
emergency_contact: ITenantHrEmergencyContact | null;
|