@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.
- 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/notify-type-value.d.ts +6 -5
- package/build/events/notify/notify-type-value.js +5 -4
- 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);
|
|
@@ -3,11 +3,11 @@ export declare enum notifyTypeValue {
|
|
|
3
3
|
Illness = "Maladie",
|
|
4
4
|
HomeOffice = "T\u00E9l\u00E9travail",
|
|
5
5
|
Training = "Formation",
|
|
6
|
-
ExternalWork = "
|
|
6
|
+
ExternalWork = "Externe",
|
|
7
7
|
Accident = "Accident",
|
|
8
|
-
Maternity = "
|
|
9
|
-
Military = "Militaire",
|
|
10
|
-
CompensationHours = "
|
|
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"] = "
|
|
10
|
+
notifyTypeValue["ExternalWork"] = "Externe";
|
|
11
11
|
notifyTypeValue["Accident"] = "Accident";
|
|
12
|
-
notifyTypeValue["Maternity"] = "
|
|
13
|
-
notifyTypeValue["Military"] = "Militaire";
|
|
14
|
-
notifyTypeValue["CompensationHours"] = "
|
|
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 {};
|
|
@@ -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
|
/**
|