@sitel/common 1.0.82 → 1.0.86
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.
- package/build/events/notify/index.d.ts +1 -0
- package/build/events/notify/index.js +1 -0
- package/build/events/notify/member/ts-validation-reminded-event.d.ts +1 -1
- package/build/events/notify/service/ts-validation-reported-event.d.ts +11 -0
- package/build/events/notify/service/ts-validation-reported-event.js +2 -0
- package/build/events/subjects.d.ts +1 -0
- package/build/events/subjects.js +3 -1
- package/package.json +1 -1
|
@@ -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.NotifyTSValidationReminded;
|
|
9
|
+
data: NotifyTSValidationReportedPayload;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -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
|
/**
|
package/build/events/subjects.js
CHANGED
|
@@ -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
|
|
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
|
/**
|