@pastelarai/pastelarai-shared-types 1.0.17 → 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.
|
@@ -12,13 +12,13 @@ export interface TaskProduction extends TaskProduct {
|
|
|
12
12
|
}
|
|
13
13
|
export interface TMInProduction {
|
|
14
14
|
_id: string;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
assigned: number;
|
|
16
|
+
unassigned: number;
|
|
17
|
+
total: number;
|
|
17
18
|
conflict: boolean;
|
|
18
19
|
}
|
|
19
20
|
export interface ProductionDay {
|
|
20
21
|
date: string;
|
|
21
|
-
model: boolean;
|
|
22
22
|
tasks_list: TaskProduction[];
|
|
23
23
|
team_members_list: TMInProduction[];
|
|
24
24
|
total_durations: {
|
|
@@ -40,6 +40,7 @@ export interface ProductionWeek {
|
|
|
40
40
|
start_date: string;
|
|
41
41
|
model: boolean;
|
|
42
42
|
model_name: string;
|
|
43
|
+
source: string;
|
|
43
44
|
content_per_day: {
|
|
44
45
|
products_list: ProductInRange[];
|
|
45
46
|
}[];
|
|
@@ -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;
|