@sitel/common 1.0.101 → 1.0.102

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,11 +1,4 @@
1
1
  import { Subjects } from '../../subjects';
2
- /**
3
- * This enum to distinguish between the age reason and the years of service reason
4
- */
5
- declare enum BalanceReason {
6
- age = "age",
7
- yearsOfService = "yearsOfService"
8
- }
9
2
  /**
10
3
  * This is an informational email sent to the member to inform him that the RH is aware about
11
4
  * the new annual vacation balance .
@@ -25,7 +18,7 @@ interface NotifyMemberAnnualVacationPayload {
25
18
  rhSentDate: string;
26
19
  displayName: string;
27
20
  newBalance: number;
28
- reason: BalanceReason;
21
+ reason: 'age' | 'yearsOfService';
29
22
  };
30
23
  }
31
24
  export interface NotifyMemberAnnualVacationEvent {
@@ -1,10 +1,2 @@
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
- */
6
- var BalanceReason;
7
- (function (BalanceReason) {
8
- BalanceReason["age"] = "age";
9
- BalanceReason["yearsOfService"] = "yearsOfService";
10
- })(BalanceReason || (BalanceReason = {}));
@@ -1,11 +1,4 @@
1
1
  import { Subjects } from '../../subjects';
2
- /**
3
- * This enum to distinguish between the age reason and the years of service reason
4
- */
5
- declare enum BalanceReason {
6
- age = "age",
7
- yearsOfService = "yearsOfService"
8
- }
9
2
  /**
10
3
  * This email sent to the RH to modify the balance of the annual vacation
11
4
  *
@@ -22,7 +15,7 @@ interface NotifyRHAnnualVacationPayload {
22
15
  member: {
23
16
  displayName: string;
24
17
  newBalance: number;
25
- reason: BalanceReason;
18
+ reason: 'age' | 'yearsOfService';
26
19
  };
27
20
  }
28
21
  export interface NotifyRHAnnualVacationEvent {
@@ -1,10 +1,2 @@
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
- */
6
- var BalanceReason;
7
- (function (BalanceReason) {
8
- BalanceReason["age"] = "age";
9
- BalanceReason["yearsOfService"] = "yearsOfService";
10
- })(BalanceReason || (BalanceReason = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitel/common",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",