hvp-shared 13.13.0 → 13.14.0
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.
|
@@ -20,5 +20,8 @@ export declare const LEGAL_VACATIONS: {
|
|
|
20
20
|
/**
|
|
21
21
|
* TimeOffTypes that consume vacation balance.
|
|
22
22
|
* Only these types count against a collaborator's vacation days.
|
|
23
|
+
*
|
|
24
|
+
* NOTE: TimeOffType.PaidLeave (Permiso con goce de sueldo) is intentionally
|
|
25
|
+
* EXCLUDED — a paid leave pays full salary but must NOT consume vacation days.
|
|
23
26
|
*/
|
|
24
27
|
export declare const VACATION_CONSUMING_TYPES: readonly TimeOffType[];
|
|
@@ -87,6 +87,9 @@ exports.LEGAL_VACATIONS = {
|
|
|
87
87
|
/**
|
|
88
88
|
* TimeOffTypes that consume vacation balance.
|
|
89
89
|
* Only these types count against a collaborator's vacation days.
|
|
90
|
+
*
|
|
91
|
+
* NOTE: TimeOffType.PaidLeave (Permiso con goce de sueldo) is intentionally
|
|
92
|
+
* EXCLUDED — a paid leave pays full salary but must NOT consume vacation days.
|
|
90
93
|
*/
|
|
91
94
|
exports.VACATION_CONSUMING_TYPES = [
|
|
92
95
|
time_off_enums_1.TimeOffType.Vacation,
|
|
@@ -19,7 +19,14 @@ export declare enum TimeOffType {
|
|
|
19
19
|
AuthorizedUnjustifiedAbsence = "Falta injustificada autorizada",
|
|
20
20
|
EarlyLeavePermission = "Permiso de salida anticipada",
|
|
21
21
|
LatePermission = "Permiso de llegar tarde",
|
|
22
|
-
CompensationShift = "Reposici\u00F3n de jornada"
|
|
22
|
+
CompensationShift = "Reposici\u00F3n de jornada",
|
|
23
|
+
/**
|
|
24
|
+
* Employer-paid authorized absence at full ordinary salary (paternity,
|
|
25
|
+
* marriage, bereavement, etc.). The specific motive goes in the request note.
|
|
26
|
+
* Pays full salary, NO discount, does NOT consume vacation balance, grants
|
|
27
|
+
* NO prima vacacional, and pays NO commission/average-income compensation.
|
|
28
|
+
*/
|
|
29
|
+
PaidLeave = "Permiso con goce de sueldo"
|
|
23
30
|
}
|
|
24
31
|
/** Spanish display labels for TimeOffType */
|
|
25
32
|
export declare const TIME_OFF_TYPE_LABELS: Record<TimeOffType, string>;
|
|
@@ -25,6 +25,13 @@ var TimeOffType;
|
|
|
25
25
|
TimeOffType["EarlyLeavePermission"] = "Permiso de salida anticipada";
|
|
26
26
|
TimeOffType["LatePermission"] = "Permiso de llegar tarde";
|
|
27
27
|
TimeOffType["CompensationShift"] = "Reposici\u00F3n de jornada";
|
|
28
|
+
/**
|
|
29
|
+
* Employer-paid authorized absence at full ordinary salary (paternity,
|
|
30
|
+
* marriage, bereavement, etc.). The specific motive goes in the request note.
|
|
31
|
+
* Pays full salary, NO discount, does NOT consume vacation balance, grants
|
|
32
|
+
* NO prima vacacional, and pays NO commission/average-income compensation.
|
|
33
|
+
*/
|
|
34
|
+
TimeOffType["PaidLeave"] = "Permiso con goce de sueldo";
|
|
28
35
|
})(TimeOffType || (exports.TimeOffType = TimeOffType = {}));
|
|
29
36
|
/** Spanish display labels for TimeOffType */
|
|
30
37
|
exports.TIME_OFF_TYPE_LABELS = {
|
|
@@ -37,6 +44,7 @@ exports.TIME_OFF_TYPE_LABELS = {
|
|
|
37
44
|
[TimeOffType.EarlyLeavePermission]: 'Permiso de salida anticipada',
|
|
38
45
|
[TimeOffType.LatePermission]: 'Permiso de llegar tarde',
|
|
39
46
|
[TimeOffType.CompensationShift]: 'Reposición de jornada',
|
|
47
|
+
[TimeOffType.PaidLeave]: 'Permiso con goce de sueldo',
|
|
40
48
|
};
|
|
41
49
|
/** Spanish display labels for TimeOffStatus */
|
|
42
50
|
exports.TIME_OFF_STATUS_LABELS = {
|