@sitel/common 1.0.100 → 1.0.101
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/build/events/notify/member/annual-vacation-info-event.d.ts +15 -1
- package/build/events/notify/member/annual-vacation-info-event.js +3 -0
- package/build/events/notify/rh/annual-vacation-change-event.d.ts +13 -2
- package/build/events/notify/rh/annual-vacation-change-event.js +3 -0
- package/package.json +1 -1
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
import { Subjects } from '../../subjects';
|
|
2
|
+
/**
|
|
3
|
+
* This enum to distinguish between the age reason and the years of service reason
|
|
4
|
+
*/
|
|
2
5
|
declare enum BalanceReason {
|
|
3
6
|
age = "age",
|
|
4
7
|
yearsOfService = "yearsOfService"
|
|
5
8
|
}
|
|
6
9
|
/**
|
|
7
|
-
*
|
|
10
|
+
* This is an informational email sent to the member to inform him that the RH is aware about
|
|
11
|
+
* the new annual vacation balance .
|
|
12
|
+
*
|
|
13
|
+
* recipient: email of the member
|
|
14
|
+
*
|
|
15
|
+
* member
|
|
16
|
+
* rhSentDate: date when the email is sent
|
|
17
|
+
* displayName: full name of the member
|
|
18
|
+
* newBalance: new balance of the annual vacation
|
|
19
|
+
* reason: reason of this email
|
|
20
|
+
*
|
|
8
21
|
*/
|
|
9
22
|
interface NotifyMemberAnnualVacationPayload {
|
|
10
23
|
recipient: string;
|
|
11
24
|
member: {
|
|
25
|
+
rhSentDate: string;
|
|
12
26
|
displayName: string;
|
|
13
27
|
newBalance: number;
|
|
14
28
|
reason: BalanceReason;
|
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
import { Subjects } from '../../subjects';
|
|
2
|
+
/**
|
|
3
|
+
* This enum to distinguish between the age reason and the years of service reason
|
|
4
|
+
*/
|
|
2
5
|
declare enum BalanceReason {
|
|
3
6
|
age = "age",
|
|
4
7
|
yearsOfService = "yearsOfService"
|
|
5
8
|
}
|
|
6
9
|
/**
|
|
7
|
-
*
|
|
10
|
+
* This email sent to the RH to modify the balance of the annual vacation
|
|
11
|
+
*
|
|
12
|
+
* recipients: rh email addresses
|
|
13
|
+
*
|
|
14
|
+
* member
|
|
15
|
+
* displayName: full name of the member
|
|
16
|
+
* newBalance: new balance of the annual vacation
|
|
17
|
+
* reason: reason of this email
|
|
18
|
+
*
|
|
8
19
|
*/
|
|
9
20
|
interface NotifyRHAnnualVacationPayload {
|
|
10
|
-
|
|
21
|
+
recipients: string[];
|
|
11
22
|
member: {
|
|
12
23
|
displayName: string;
|
|
13
24
|
newBalance: number;
|