@sitel/common 1.0.83 → 1.0.87

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);
@@ -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.83",
3
+ "version": "1.0.87",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",