@pastelarai/pastelarai-shared-types 1.0.19 → 1.0.20
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.
|
@@ -53,12 +53,13 @@ export interface SalesPlanWeek {
|
|
|
53
53
|
week_quantity: number;
|
|
54
54
|
sales_per_day: SalesPlanDay[];
|
|
55
55
|
}
|
|
56
|
+
export interface SalesPlanDayInMonth {
|
|
57
|
+
date: string;
|
|
58
|
+
ranges_list: RangeInSalesDay[];
|
|
59
|
+
}
|
|
56
60
|
export interface SalesPlanMonth {
|
|
57
61
|
start_date: string;
|
|
58
62
|
month_margin: number;
|
|
59
63
|
month_quantity: number;
|
|
60
|
-
sales_per_day:
|
|
61
|
-
date: string;
|
|
62
|
-
ranges_list: RangeInSalesDay[];
|
|
63
|
-
}[];
|
|
64
|
+
sales_per_day: SalesPlanDayInMonth[];
|
|
64
65
|
}
|
|
@@ -25,7 +25,8 @@ export interface OvertimeOrLate {
|
|
|
25
25
|
date: string;
|
|
26
26
|
duration: number;
|
|
27
27
|
}
|
|
28
|
-
export interface Absence
|
|
28
|
+
export interface Absence {
|
|
29
|
+
date: string;
|
|
29
30
|
shift: number;
|
|
30
31
|
}
|
|
31
32
|
export interface TeamExceptions {
|
|
@@ -38,11 +39,6 @@ export interface TeamExceptions {
|
|
|
38
39
|
description?: string;
|
|
39
40
|
_id?: string;
|
|
40
41
|
}
|
|
41
|
-
export interface TeamScheduleDay {
|
|
42
|
-
date: string;
|
|
43
|
-
employees_shifts_list: EmployeesShiftDB[];
|
|
44
|
-
_id?: string;
|
|
45
|
-
}
|
|
46
42
|
export interface Additional {
|
|
47
43
|
key: string | null;
|
|
48
44
|
value: string | null;
|
|
@@ -68,15 +64,15 @@ export interface EmployeesShift extends EmployeesShiftDB {
|
|
|
68
64
|
labor_cost: number;
|
|
69
65
|
editMode?: boolean;
|
|
70
66
|
}
|
|
71
|
-
export interface
|
|
67
|
+
export interface TeamScheduleDay {
|
|
72
68
|
date: string;
|
|
73
69
|
employees_shifts_list: EmployeesShift[];
|
|
74
70
|
_id?: string;
|
|
75
71
|
total_duration: number;
|
|
76
72
|
total_labor_cost: number;
|
|
77
73
|
}
|
|
78
|
-
export interface
|
|
79
|
-
schedule_per_day:
|
|
74
|
+
export interface TeamSchedule {
|
|
75
|
+
schedule_per_day: TeamScheduleDay[];
|
|
80
76
|
start_date: string;
|
|
81
77
|
total_duration: number;
|
|
82
78
|
total_labor_cost: number;
|