@sitel/common 1.0.115 → 1.0.116
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/index.d.ts +0 -1
- package/build/events/notify/index.js +0 -1
- package/build/events/notify/member/annual-vacation-info-event.d.ts +10 -12
- package/build/events/subjects.d.ts +0 -2
- package/build/events/subjects.js +0 -2
- package/package.json +1 -1
- package/build/events/notify/rh/annual-vacation-change-event.d.ts +0 -25
- package/build/events/notify/rh/annual-vacation-change-event.js +0 -2
|
@@ -33,4 +33,3 @@ __exportStar(require("./notify-type-value"), exports);
|
|
|
33
33
|
__exportStar(require("./manual/manual-event"), exports);
|
|
34
34
|
__exportStar(require("./admin/bipe-sync-event"), exports);
|
|
35
35
|
__exportStar(require("./member/annual-vacation-info-event"), exports);
|
|
36
|
-
__exportStar(require("./rh/annual-vacation-change-event"), exports);
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Subjects } from '../../subjects';
|
|
2
2
|
/**
|
|
3
|
-
* This is an informational email sent to the member to inform him that the
|
|
4
|
-
*
|
|
3
|
+
* This is an informational email sent to the member to inform him that the new annual holiday quota balance
|
|
4
|
+
* has been changed
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* rhSentDate: date when the email is sent
|
|
6
|
+
* recipient: email of the member
|
|
7
|
+
* serviceManagers: the service managers will be in copy
|
|
8
|
+
* hrServiceRepresentatives: the HR service representatives will be in copy
|
|
10
9
|
* displayName: full name of the member
|
|
11
10
|
* newBalance: new balance of the annual vacation
|
|
12
11
|
* reason: reason of this email
|
|
@@ -14,12 +13,11 @@ import { Subjects } from '../../subjects';
|
|
|
14
13
|
*/
|
|
15
14
|
interface NotifyMemberAnnualVacationPayload {
|
|
16
15
|
recipient: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
16
|
+
serviceManagers: string[];
|
|
17
|
+
hrServiceRepresentatives: string[];
|
|
18
|
+
displayName: string;
|
|
19
|
+
newBalance: number;
|
|
20
|
+
reason: 'age' | 'yearsOfService';
|
|
23
21
|
}
|
|
24
22
|
export interface NotifyMemberAnnualVacationEvent {
|
|
25
23
|
subject: Subjects.NotifyMemberAnnualVacation;
|
|
@@ -49,9 +49,7 @@ export declare enum Subjects {
|
|
|
49
49
|
*/
|
|
50
50
|
NotifyBipeSync = "notify:bipe:sync",
|
|
51
51
|
/**
|
|
52
|
-
* Notify RH annual vacation balance change
|
|
53
52
|
* Notify Member annual vacation balance change
|
|
54
53
|
*/
|
|
55
|
-
NotifyRHAnnualVacation = "notify:rh:annual:vacation",
|
|
56
54
|
NotifyMemberAnnualVacation = "notify:member:annual:vacation"
|
|
57
55
|
}
|
package/build/events/subjects.js
CHANGED
|
@@ -69,9 +69,7 @@ var Subjects;
|
|
|
69
69
|
*/
|
|
70
70
|
Subjects["NotifyBipeSync"] = "notify:bipe:sync";
|
|
71
71
|
/**
|
|
72
|
-
* Notify RH annual vacation balance change
|
|
73
72
|
* Notify Member annual vacation balance change
|
|
74
73
|
*/
|
|
75
|
-
Subjects["NotifyRHAnnualVacation"] = "notify:rh:annual:vacation";
|
|
76
74
|
Subjects["NotifyMemberAnnualVacation"] = "notify:member:annual:vacation";
|
|
77
75
|
})(Subjects = exports.Subjects || (exports.Subjects = {}));
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
/**
|
|
3
|
-
* This email sent to the RH to modify the balance of the annual vacation
|
|
4
|
-
*
|
|
5
|
-
* recipients: rh email addresses
|
|
6
|
-
*
|
|
7
|
-
* member
|
|
8
|
-
* displayName: full name of the member
|
|
9
|
-
* newBalance: new balance of the annual vacation
|
|
10
|
-
* reason: reason of this email
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
interface NotifyRHAnnualVacationPayload {
|
|
14
|
-
recipients: string[];
|
|
15
|
-
member: {
|
|
16
|
-
displayName: string;
|
|
17
|
-
newBalance: number;
|
|
18
|
-
reason: 'age' | 'yearsOfService';
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export interface NotifyRHAnnualVacationEvent {
|
|
22
|
-
subject: Subjects.NotifyRHAnnualVacation;
|
|
23
|
-
data: NotifyRHAnnualVacationPayload;
|
|
24
|
-
}
|
|
25
|
-
export {};
|