@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.
@@ -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
- * prev
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,5 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * This enum to distinguish between the age reason and the years of service reason
5
+ */
3
6
  var BalanceReason;
4
7
  (function (BalanceReason) {
5
8
  BalanceReason["age"] = "age";
@@ -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
- * prev
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
- recipient: string[];
21
+ recipients: string[];
11
22
  member: {
12
23
  displayName: string;
13
24
  newBalance: number;
@@ -1,5 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * This enum to distinguish between the age reason and the years of service reason
5
+ */
3
6
  var BalanceReason;
4
7
  (function (BalanceReason) {
5
8
  BalanceReason["age"] = "age";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitel/common",
3
- "version": "1.0.100",
3
+ "version": "1.0.101",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",