@sitel/common 1.0.115 → 1.0.117

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.
@@ -21,4 +21,3 @@ export * from './notify-type-value';
21
21
  export * from './manual/manual-event';
22
22
  export * from './admin/bipe-sync-event';
23
23
  export * from './member/annual-vacation-info-event';
24
- export * from './rh/annual-vacation-change-event';
@@ -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 RH is aware about
4
- * the new annual vacation balance .
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
- * recipient: email of the member
7
- *
8
- * member
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,10 @@ import { Subjects } from '../../subjects';
14
13
  */
15
14
  interface NotifyMemberAnnualVacationPayload {
16
15
  recipient: string;
17
- member: {
18
- rhSentDate: string;
19
- displayName: string;
20
- newBalance: number;
21
- reason: 'age' | 'yearsOfService';
22
- };
16
+ ccRecipients: string[];
17
+ displayName: string;
18
+ newBalance: number;
19
+ reason: 'age' | 'yearsOfService';
23
20
  }
24
21
  export interface NotifyMemberAnnualVacationEvent {
25
22
  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
  }
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitel/common",
3
- "version": "1.0.115",
3
+ "version": "1.0.117",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -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 {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });