hvp-shared 6.57.0 → 6.58.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.
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.js +1 -0
- package/dist/constants/job-compensation.constants.d.ts +9 -0
- package/dist/constants/job-compensation.constants.js +12 -0
- package/dist/contracts/job/requests.d.ts +0 -2
- package/dist/contracts/job/responses.d.ts +0 -1
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ export * from './qvet-warehouses';
|
|
|
11
11
|
export * from './qvet-inventory';
|
|
12
12
|
export * from './background-job.constants';
|
|
13
13
|
export * from './job-category.constants';
|
|
14
|
+
export * from './job-compensation.constants';
|
|
14
15
|
export * from './special-collaborators.constants';
|
|
15
16
|
export * from './commissions.constants';
|
|
16
17
|
export * from './hr.enums';
|
package/dist/constants/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __exportStar(require("./qvet-warehouses"), exports);
|
|
|
27
27
|
__exportStar(require("./qvet-inventory"), exports);
|
|
28
28
|
__exportStar(require("./background-job.constants"), exports);
|
|
29
29
|
__exportStar(require("./job-category.constants"), exports);
|
|
30
|
+
__exportStar(require("./job-compensation.constants"), exports);
|
|
30
31
|
__exportStar(require("./special-collaborators.constants"), exports);
|
|
31
32
|
__exportStar(require("./commissions.constants"), exports);
|
|
32
33
|
__exportStar(require("./hr.enums"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rate applied to the excess of guaranteedJobIncome over minimumWageHVP
|
|
3
|
+
* to compute jobFixedIncome.
|
|
4
|
+
*
|
|
5
|
+
* Formula:
|
|
6
|
+
* guaranteedJobIncome = minimumWageHVP * positionFactor
|
|
7
|
+
* jobFixedIncome = minimumWageHVP + (guaranteedJobIncome - minimumWageHVP) * FIXED_INCOME_EXCESS_RATE
|
|
8
|
+
*/
|
|
9
|
+
export declare const FIXED_INCOME_EXCESS_RATE = 0.5;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FIXED_INCOME_EXCESS_RATE = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Rate applied to the excess of guaranteedJobIncome over minimumWageHVP
|
|
6
|
+
* to compute jobFixedIncome.
|
|
7
|
+
*
|
|
8
|
+
* Formula:
|
|
9
|
+
* guaranteedJobIncome = minimumWageHVP * positionFactor
|
|
10
|
+
* jobFixedIncome = minimumWageHVP + (guaranteedJobIncome - minimumWageHVP) * FIXED_INCOME_EXCESS_RATE
|
|
11
|
+
*/
|
|
12
|
+
exports.FIXED_INCOME_EXCESS_RATE = 0.5;
|
|
@@ -16,7 +16,6 @@ export interface CreateJobRequest {
|
|
|
16
16
|
positionFactor?: number;
|
|
17
17
|
guaranteedJobIncome?: number;
|
|
18
18
|
jobFixedIncome?: number;
|
|
19
|
-
fixedShareOfGuaranteedIncome?: number;
|
|
20
19
|
isCommissionAdjusted?: boolean;
|
|
21
20
|
commissionRateAdjustment?: number;
|
|
22
21
|
expressBranchCompensation?: number;
|
|
@@ -41,7 +40,6 @@ export interface UpdateJobRequest {
|
|
|
41
40
|
positionFactor?: number;
|
|
42
41
|
guaranteedJobIncome?: number;
|
|
43
42
|
jobFixedIncome?: number;
|
|
44
|
-
fixedShareOfGuaranteedIncome?: number;
|
|
45
43
|
isCommissionAdjusted?: boolean;
|
|
46
44
|
commissionRateAdjustment?: number;
|
|
47
45
|
expressBranchCompensation?: number;
|
|
@@ -21,7 +21,6 @@ export interface JobResponse {
|
|
|
21
21
|
positionFactor: number;
|
|
22
22
|
guaranteedJobIncome?: number;
|
|
23
23
|
jobFixedIncome?: number;
|
|
24
|
-
fixedShareOfGuaranteedIncome: number;
|
|
25
24
|
isCommissionAdjusted: boolean;
|
|
26
25
|
commissionRateAdjustment: number;
|
|
27
26
|
expressBranchCompensation: number;
|