@sitel/common 1.0.84 → 1.0.88

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.
@@ -11,6 +11,7 @@ export * from './group/approval-group-reminded-event';
11
11
  export * from './group/approval-group-requested-event';
12
12
  export * from './service/approval-service-reminded-event';
13
13
  export * from './service/approval-service-requested-event';
14
+ export * from './service/ts-validation-reported-event';
14
15
  export * from './substitute/approval-substitute-reminded-event';
15
16
  export * from './substitute/approval-substitute-requested-event';
16
17
  export * from './substitute/information-substitute-reminded-event';
@@ -23,6 +23,7 @@ __exportStar(require("./group/approval-group-reminded-event"), exports);
23
23
  __exportStar(require("./group/approval-group-requested-event"), exports);
24
24
  __exportStar(require("./service/approval-service-reminded-event"), exports);
25
25
  __exportStar(require("./service/approval-service-requested-event"), exports);
26
+ __exportStar(require("./service/ts-validation-reported-event"), exports);
26
27
  __exportStar(require("./substitute/approval-substitute-reminded-event"), exports);
27
28
  __exportStar(require("./substitute/approval-substitute-requested-event"), exports);
28
29
  __exportStar(require("./substitute/information-substitute-reminded-event"), exports);
@@ -2,5 +2,5 @@ import { Subjects } from '../../subjects';
2
2
  import { Contact } from '../contact';
3
3
  export interface NotifyTSValidationRemindedEvent {
4
4
  subject: Subjects.NotifyTSValidationReminded;
5
- data: Contact;
5
+ data: Contact[];
6
6
  }
@@ -3,11 +3,11 @@ export declare enum notifyTypeValue {
3
3
  Illness = "Maladie",
4
4
  HomeOffice = "T\u00E9l\u00E9travail",
5
5
  Training = "Formation",
6
- ExternalWork = "Travail externe",
6
+ ExternalWork = "Externe",
7
7
  Accident = "Accident",
8
- Maternity = "Maternit\u00E9",
9
- Military = "Militaire",
10
- CompensationHours = "Heures de compensation",
8
+ Maternity = "Mater./ Adopt.",
9
+ Military = "Militaire / PC",
10
+ CompensationHours = "Compensation",
11
11
  Relocation = "D\u00E9m\u00E9nagement",
12
12
  Birth = "Naissance",
13
13
  Marriage = "Mariage",
@@ -16,5 +16,6 @@ export declare enum notifyTypeValue {
16
16
  Death = "D\u00E9c\u00E8s",
17
17
  LeaveWithoutPay = "Cong\u00E9 non pay\u00E9",
18
18
  OtherPaidLeave = "Autre cong\u00E9 pay\u00E9",
19
- MedicalAbsence = "Absence m\u00E9dicale"
19
+ MedicalAbsence = "Absence m\u00E9dicale",
20
+ Paternity = "Paternit\u00E9"
20
21
  }
@@ -7,11 +7,11 @@ var notifyTypeValue;
7
7
  notifyTypeValue["Illness"] = "Maladie";
8
8
  notifyTypeValue["HomeOffice"] = "T\u00E9l\u00E9travail";
9
9
  notifyTypeValue["Training"] = "Formation";
10
- notifyTypeValue["ExternalWork"] = "Travail externe";
10
+ notifyTypeValue["ExternalWork"] = "Externe";
11
11
  notifyTypeValue["Accident"] = "Accident";
12
- notifyTypeValue["Maternity"] = "Maternit\u00E9";
13
- notifyTypeValue["Military"] = "Militaire";
14
- notifyTypeValue["CompensationHours"] = "Heures de compensation";
12
+ notifyTypeValue["Maternity"] = "Mater./ Adopt.";
13
+ notifyTypeValue["Military"] = "Militaire / PC";
14
+ notifyTypeValue["CompensationHours"] = "Compensation";
15
15
  notifyTypeValue["Relocation"] = "D\u00E9m\u00E9nagement";
16
16
  notifyTypeValue["Birth"] = "Naissance";
17
17
  notifyTypeValue["Marriage"] = "Mariage";
@@ -21,4 +21,5 @@ var notifyTypeValue;
21
21
  notifyTypeValue["LeaveWithoutPay"] = "Cong\u00E9 non pay\u00E9";
22
22
  notifyTypeValue["OtherPaidLeave"] = "Autre cong\u00E9 pay\u00E9";
23
23
  notifyTypeValue["MedicalAbsence"] = "Absence m\u00E9dicale";
24
+ notifyTypeValue["Paternity"] = "Paternit\u00E9";
24
25
  })(notifyTypeValue = exports.notifyTypeValue || (exports.notifyTypeValue = {}));
@@ -0,0 +1,11 @@
1
+ import { Subjects } from '../../subjects';
2
+ import { Contact } from '../contact';
3
+ interface NotifyTSValidationReportedPayload {
4
+ recipient: Contact;
5
+ members: Contact[];
6
+ }
7
+ export interface NotifyTSValidationReportedEvent {
8
+ subject: Subjects.NotifyTSValidationReported;
9
+ data: NotifyTSValidationReportedPayload;
10
+ }
11
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -21,6 +21,7 @@ export declare enum Subjects {
21
21
  NotifyServiceRequested = "notify:service:approval:requested",
22
22
  NotifyServiceReminded = "notify:service:approval:reminded",
23
23
  NotifyTSValidationReminded = "notify:ts:validation:reminded",
24
+ NotifyTSValidationReported = "notify:ts:validation:reported",
24
25
  /** acknowledgement notification has been sent to the target audiences */
25
26
  NotifyCompleted = "notify:completed",
26
27
  /**
@@ -36,8 +36,10 @@ var Subjects;
36
36
  Subjects["NotifyServiceRequested"] = "notify:service:approval:requested";
37
37
  // when a received approval request is waiting to be answered after x days
38
38
  Subjects["NotifyServiceReminded"] = "notify:service:approval:reminded";
39
- // at 00:05 on day-of-month 5, if TS is not locked send an email as a reminder 'Feuille d'heures à valider'
39
+ // at 00:05 between [2-4] of each month, if TS is not locked send an email as a reminder 'Feuille d'heures à valider'
40
40
  Subjects["NotifyTSValidationReminded"] = "notify:ts:validation:reminded";
41
+ // at 00:05 on day-of-month 5, if TS is not locked send an email to service managers with the list of members where their TS is not locked yet
42
+ Subjects["NotifyTSValidationReported"] = "notify:ts:validation:reported";
41
43
  /** acknowledgement notification has been sent to the target audiences */
42
44
  Subjects["NotifyCompleted"] = "notify:completed";
43
45
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitel/common",
3
- "version": "1.0.84",
3
+ "version": "1.0.88",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",