@managesome/eposmatic-toolkit 0.2.773 → 0.2.774
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.
- package/lib/schemas/models/tenant_hr_employees.d.ts +9 -0
- package/lib/schemas/models/tenant_hr_employees.js +15 -0
- package/lib/schemas/models/tenants.d.ts +0 -9
- package/lib/schemas/models/tenants.js +0 -16
- package/lib/schemas/types/tenant_hr_employees.d.ts +3 -0
- package/lib/schemas/types/tenants.d.ts +0 -3
- package/package.json +1 -1
|
@@ -35,6 +35,9 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
35
35
|
pay_type: HR_PAY_TYPE_ENUM;
|
|
36
36
|
salary_per_hour: number;
|
|
37
37
|
monthly_salary: number;
|
|
38
|
+
hr_working_days_per_month: number;
|
|
39
|
+
hr_hours_per_working_day: number;
|
|
40
|
+
hr_overtime_multiplier: number;
|
|
38
41
|
docs: Map<string, {
|
|
39
42
|
doc_url: string;
|
|
40
43
|
doc_name: string;
|
|
@@ -357,6 +360,9 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
357
360
|
pay_type: HR_PAY_TYPE_ENUM;
|
|
358
361
|
salary_per_hour: number;
|
|
359
362
|
monthly_salary: number;
|
|
363
|
+
hr_working_days_per_month: number;
|
|
364
|
+
hr_hours_per_working_day: number;
|
|
365
|
+
hr_overtime_multiplier: number;
|
|
360
366
|
docs: Map<string, {
|
|
361
367
|
doc_url: string;
|
|
362
368
|
doc_name: string;
|
|
@@ -679,6 +685,9 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
679
685
|
pay_type: HR_PAY_TYPE_ENUM;
|
|
680
686
|
salary_per_hour: number;
|
|
681
687
|
monthly_salary: number;
|
|
688
|
+
hr_working_days_per_month: number;
|
|
689
|
+
hr_hours_per_working_day: number;
|
|
690
|
+
hr_overtime_multiplier: number;
|
|
682
691
|
docs: Map<string, {
|
|
683
692
|
doc_url: string;
|
|
684
693
|
doc_name: string;
|
|
@@ -127,6 +127,21 @@ exports.TenantHrEmployeeSchema = new mongoose_1.Schema({
|
|
|
127
127
|
type: Number,
|
|
128
128
|
default: null,
|
|
129
129
|
},
|
|
130
|
+
hr_working_days_per_month: {
|
|
131
|
+
type: Number,
|
|
132
|
+
required: true,
|
|
133
|
+
default: 30,
|
|
134
|
+
},
|
|
135
|
+
hr_hours_per_working_day: {
|
|
136
|
+
type: Number,
|
|
137
|
+
required: true,
|
|
138
|
+
default: 8,
|
|
139
|
+
},
|
|
140
|
+
hr_overtime_multiplier: {
|
|
141
|
+
type: Number,
|
|
142
|
+
required: true,
|
|
143
|
+
default: 1.5,
|
|
144
|
+
},
|
|
130
145
|
docs: {
|
|
131
146
|
type: Map,
|
|
132
147
|
of: hrEmployeeDocumentSchema,
|
|
@@ -185,9 +185,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
185
185
|
menu_source?: string | null | undefined;
|
|
186
186
|
app_version?: string | null | undefined;
|
|
187
187
|
force_isolated_printing?: boolean | null | undefined;
|
|
188
|
-
hr_working_days_per_month?: number | null | undefined;
|
|
189
|
-
hr_hours_per_working_day?: number | null | undefined;
|
|
190
|
-
hr_overtime_multiplier?: number | null | undefined;
|
|
191
188
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
192
189
|
createdAt: NativeDate;
|
|
193
190
|
updatedAt: NativeDate;
|
|
@@ -369,9 +366,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
369
366
|
menu_source?: string | null | undefined;
|
|
370
367
|
app_version?: string | null | undefined;
|
|
371
368
|
force_isolated_printing?: boolean | null | undefined;
|
|
372
|
-
hr_working_days_per_month?: number | null | undefined;
|
|
373
|
-
hr_hours_per_working_day?: number | null | undefined;
|
|
374
|
-
hr_overtime_multiplier?: number | null | undefined;
|
|
375
369
|
}>> & import("mongoose").FlatRecord<{
|
|
376
370
|
createdAt: NativeDate;
|
|
377
371
|
updatedAt: NativeDate;
|
|
@@ -553,9 +547,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
553
547
|
menu_source?: string | null | undefined;
|
|
554
548
|
app_version?: string | null | undefined;
|
|
555
549
|
force_isolated_printing?: boolean | null | undefined;
|
|
556
|
-
hr_working_days_per_month?: number | null | undefined;
|
|
557
|
-
hr_hours_per_working_day?: number | null | undefined;
|
|
558
|
-
hr_overtime_multiplier?: number | null | undefined;
|
|
559
550
|
}> & Required<{
|
|
560
551
|
_id: string;
|
|
561
552
|
}> & {
|
|
@@ -773,22 +773,6 @@ exports.TenantSchema = new mongoose_1.Schema({
|
|
|
773
773
|
type: Boolean,
|
|
774
774
|
required: false,
|
|
775
775
|
},
|
|
776
|
-
// ==========>>><<<==========
|
|
777
|
-
hr_working_days_per_month: {
|
|
778
|
-
type: Number,
|
|
779
|
-
required: false,
|
|
780
|
-
default: 30,
|
|
781
|
-
},
|
|
782
|
-
hr_hours_per_working_day: {
|
|
783
|
-
type: Number,
|
|
784
|
-
required: false,
|
|
785
|
-
default: 8,
|
|
786
|
-
},
|
|
787
|
-
hr_overtime_multiplier: {
|
|
788
|
-
type: Number,
|
|
789
|
-
required: false,
|
|
790
|
-
default: 1.5,
|
|
791
|
-
},
|
|
792
776
|
// ====><====
|
|
793
777
|
createdAt: {
|
|
794
778
|
type: mongoose_1.Schema.Types.Date,
|
|
@@ -32,6 +32,9 @@ export interface ITenantHrEmployee {
|
|
|
32
32
|
pay_type: HR_PAY_TYPE_ENUM;
|
|
33
33
|
salary_per_hour?: number | null;
|
|
34
34
|
monthly_salary?: number | null;
|
|
35
|
+
hr_working_days_per_month: number;
|
|
36
|
+
hr_hours_per_working_day: number;
|
|
37
|
+
hr_overtime_multiplier: number;
|
|
35
38
|
docs: Record<HR_EMPLOYEE_DOCUMENT_TYPE_ENUM, ITenantHrEmployeeDocument>;
|
|
36
39
|
notes?: string | null;
|
|
37
40
|
createdAt: Date;
|
|
@@ -177,9 +177,6 @@ export interface ITenant {
|
|
|
177
177
|
menu_source?: string | null;
|
|
178
178
|
app_version?: string | null;
|
|
179
179
|
force_isolated_printing?: boolean;
|
|
180
|
-
hr_working_days_per_month: number;
|
|
181
|
-
hr_hours_per_working_day: number;
|
|
182
|
-
hr_overtime_multiplier: number;
|
|
183
180
|
createdAt: Date;
|
|
184
181
|
updatedAt: Date;
|
|
185
182
|
}
|