hvp-shared 6.67.0 → 6.68.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.
|
@@ -57,17 +57,20 @@ export interface SalaryRates {
|
|
|
57
57
|
effectiveHourly: number;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Employment Overrides
|
|
61
61
|
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* the override holds the user's intent.
|
|
62
|
+
* User-set overrides for specific calculated fields.
|
|
63
|
+
* Each field, when present, replaces the corresponding calculated value.
|
|
65
64
|
* Effective value = override ?? calculated.
|
|
65
|
+
*
|
|
66
|
+
* Lives as a top-level field on the employment document.
|
|
67
|
+
* Not all fields apply to all employment types — see comments.
|
|
66
68
|
*/
|
|
67
|
-
export interface
|
|
69
|
+
export interface EmploymentOverrides {
|
|
68
70
|
guaranteedIncome?: number;
|
|
69
71
|
adjustedJobIncome?: number;
|
|
70
|
-
|
|
72
|
+
hourlyRate?: number;
|
|
73
|
+
commissionRateAdjustment?: number;
|
|
71
74
|
}
|
|
72
75
|
/**
|
|
73
76
|
* Employment Salary Data
|
|
@@ -81,7 +84,6 @@ export interface EmploymentSalaryData {
|
|
|
81
84
|
adjustedJobIncome: number;
|
|
82
85
|
totalFixedIncome: number;
|
|
83
86
|
rates: SalaryRates;
|
|
84
|
-
overrides?: SalaryDataOverrides;
|
|
85
87
|
}
|
|
86
88
|
/**
|
|
87
89
|
* Employment Hourly Data
|
|
@@ -93,7 +95,6 @@ export interface EmploymentSalaryData {
|
|
|
93
95
|
export interface EmploymentHourlyData {
|
|
94
96
|
adjustedHourlyRate: number;
|
|
95
97
|
averageDailyHoursWorked: number;
|
|
96
|
-
adjustedHourlyRateOverride?: number;
|
|
97
98
|
}
|
|
98
99
|
/**
|
|
99
100
|
* Employment Benefits
|