@sitel/common 1.0.126 → 1.0.129
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/absence-constants.d.ts +42 -42
- package/build/absence-constants.js +56 -56
- package/build/errors/bad-request-error.d.ts +9 -9
- package/build/errors/bad-request-error.js +34 -34
- package/build/errors/custom-error.d.ts +8 -8
- package/build/errors/custom-error.js +28 -28
- package/build/errors/database-connection-error.d.ts +9 -9
- package/build/errors/database-connection-error.js +34 -34
- package/build/errors/not-authorized-error.d.ts +9 -9
- package/build/errors/not-authorized-error.js +34 -34
- package/build/errors/not-found-error.d.ts +8 -8
- package/build/errors/not-found-error.js +33 -33
- package/build/errors/person-substitute-not-available-error.d.ts +9 -9
- package/build/errors/person-substitute-not-available-error.js +34 -34
- package/build/errors/request-validation-error.d.ts +11 -11
- package/build/errors/request-validation-error.js +37 -37
- package/build/events/base-listener.d.ts +23 -18
- package/build/events/base-listener.js +34 -34
- package/build/events/base-publisher.d.ts +13 -13
- package/build/events/base-publisher.js +24 -24
- package/build/events/manual-event-payload.d.ts +16 -16
- package/build/events/manual-event-payload.js +11 -11
- package/build/events/notify/admin/bipe-sync-event.d.ts +17 -17
- package/build/events/notify/admin/bipe-sync-event.js +2 -2
- package/build/events/notify/base-event-payload.d.ts +10 -10
- package/build/events/notify/base-event-payload.js +2 -2
- package/build/events/notify/calendar-event.d.ts +9 -9
- package/build/events/notify/calendar-event.js +2 -2
- package/build/events/notify/contact.d.ts +9 -9
- package/build/events/notify/contact.js +2 -2
- package/build/events/notify/group/approval-group-reminded-event.d.ts +6 -6
- package/build/events/notify/group/approval-group-reminded-event.js +2 -2
- package/build/events/notify/group/approval-group-requested-event.d.ts +12 -12
- package/build/events/notify/group/approval-group-requested-event.js +2 -2
- package/build/events/notify/index.d.ts +23 -23
- package/build/events/notify/index.js +39 -39
- package/build/events/notify/manual/manual-event.d.ts +6 -6
- package/build/events/notify/manual/manual-event.js +2 -2
- package/build/events/notify/member/annual-vacation-info-event.d.ts +25 -25
- package/build/events/notify/member/annual-vacation-info-event.js +2 -2
- package/build/events/notify/member/ts-validation-reminded-event.d.ts +6 -6
- package/build/events/notify/member/ts-validation-reminded-event.js +2 -2
- package/build/events/notify/notify-completed-event.d.ts +5 -5
- package/build/events/notify/notify-completed-event.js +2 -2
- package/build/events/notify/notify-type-value.d.ts +21 -21
- package/build/events/notify/notify-type-value.js +25 -25
- package/build/events/notify/requestor/absence-cancelled-event.d.ts +18 -18
- package/build/events/notify/requestor/absence-cancelled-event.js +2 -2
- package/build/events/notify/requestor/absence-created-event.d.ts +9 -9
- package/build/events/notify/requestor/absence-created-event.js +2 -2
- package/build/events/notify/requestor/absence-updated-event.d.ts +20 -20
- package/build/events/notify/requestor/absence-updated-event.js +2 -2
- package/build/events/notify/requestor/approval-group-accepted-event.d.ts +14 -14
- package/build/events/notify/requestor/approval-group-accepted-event.js +2 -2
- package/build/events/notify/requestor/approval-group-refused-event.d.ts +16 -16
- package/build/events/notify/requestor/approval-group-refused-event.js +2 -2
- package/build/events/notify/requestor/approval-service-accepted-event.d.ts +18 -18
- package/build/events/notify/requestor/approval-service-accepted-event.js +2 -2
- package/build/events/notify/requestor/approval-service-refused-event.d.ts +16 -16
- package/build/events/notify/requestor/approval-service-refused-event.js +2 -2
- package/build/events/notify/requestor/approval-substitute-accepted-event.d.ts +14 -14
- package/build/events/notify/requestor/approval-substitute-accepted-event.js +2 -2
- package/build/events/notify/requestor/approval-substitute-refused-event.d.ts +16 -16
- package/build/events/notify/requestor/approval-substitute-refused-event.js +2 -2
- package/build/events/notify/service/approval-service-reminded-event.d.ts +6 -6
- package/build/events/notify/service/approval-service-reminded-event.js +2 -2
- package/build/events/notify/service/approval-service-requested-event.d.ts +12 -12
- package/build/events/notify/service/approval-service-requested-event.js +2 -2
- package/build/events/notify/service/ts-validation-reported-event.d.ts +11 -11
- package/build/events/notify/service/ts-validation-reported-event.js +2 -2
- package/build/events/notify/substitute/approval-substitute-reminded-event.d.ts +6 -6
- package/build/events/notify/substitute/approval-substitute-reminded-event.js +2 -2
- package/build/events/notify/substitute/approval-substitute-requested-event.d.ts +12 -12
- package/build/events/notify/substitute/approval-substitute-requested-event.js +2 -2
- package/build/events/notify/substitute/information-substitute-reminded-event.d.ts +11 -11
- package/build/events/notify/substitute/information-substitute-reminded-event.js +2 -2
- package/build/events/presence/index.d.ts +4 -4
- package/build/events/presence/index.js +20 -20
- package/build/events/presence/person-archived-event.d.ts +9 -9
- package/build/events/presence/person-archived-event.js +2 -2
- package/build/events/presence/person-created-event.d.ts +8 -8
- package/build/events/presence/person-created-event.js +2 -2
- package/build/events/presence/person-updated-event.d.ts +10 -10
- package/build/events/presence/person-updated-event.js +2 -2
- package/build/events/presence/person-work-rate-changed-event.d.ts +9 -9
- package/build/events/presence/person-work-rate-changed-event.js +2 -2
- package/build/events/subjects.d.ts +55 -55
- package/build/events/subjects.js +75 -75
- package/build/events/worker/absence-approval-event.d.ts +16 -16
- package/build/events/worker/absence-approval-event.js +9 -9
- package/build/events/worker/absence-created-event.d.ts +13 -13
- package/build/events/worker/absence-created-event.js +8 -8
- package/build/events/worker/absence-deleted-event.d.ts +15 -15
- package/build/events/worker/absence-deleted-event.js +9 -9
- package/build/events/worker/absence-updated-event.d.ts +15 -15
- package/build/events/worker/absence-updated-event.js +9 -9
- package/build/events/worker/index.d.ts +5 -5
- package/build/events/worker/index.js +21 -21
- package/build/events/worker/manuel-event.d.ts +6 -6
- package/build/events/worker/manuel-event.js +2 -2
- package/build/index.d.ts +22 -22
- package/build/index.js +38 -38
- package/build/middlewares/current-user.d.ts +10 -10
- package/build/middlewares/current-user.js +17 -17
- package/build/middlewares/error-handler.d.ts +5 -5
- package/build/middlewares/error-handler.js +18 -18
- package/build/middlewares/require-auth.d.ts +10 -10
- package/build/middlewares/require-auth.js +11 -11
- package/build/middlewares/user-payload.d.ts +18 -18
- package/build/middlewares/user-payload.js +2 -2
- package/build/middlewares/validate-request.d.ts +2 -2
- package/build/middlewares/validate-request.js +13 -13
- package/build/services/jwt-utils.d.ts +3 -3
- package/build/services/jwt-utils.js +16 -16
- package/package.json +2 -2
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requestor/absence-cancelled-event"), exports);
|
|
18
|
-
__exportStar(require("./requestor/absence-created-event"), exports);
|
|
19
|
-
__exportStar(require("./requestor/absence-updated-event"), exports);
|
|
20
|
-
__exportStar(require("./requestor/approval-group-accepted-event"), exports);
|
|
21
|
-
__exportStar(require("./requestor/approval-group-refused-event"), exports);
|
|
22
|
-
__exportStar(require("./requestor/approval-service-accepted-event"), exports);
|
|
23
|
-
__exportStar(require("./requestor/approval-service-refused-event"), exports);
|
|
24
|
-
__exportStar(require("./requestor/approval-substitute-accepted-event"), exports);
|
|
25
|
-
__exportStar(require("./requestor/approval-substitute-refused-event"), exports);
|
|
26
|
-
__exportStar(require("./group/approval-group-reminded-event"), exports);
|
|
27
|
-
__exportStar(require("./group/approval-group-requested-event"), exports);
|
|
28
|
-
__exportStar(require("./service/approval-service-reminded-event"), exports);
|
|
29
|
-
__exportStar(require("./service/approval-service-requested-event"), exports);
|
|
30
|
-
__exportStar(require("./service/ts-validation-reported-event"), exports);
|
|
31
|
-
__exportStar(require("./substitute/approval-substitute-reminded-event"), exports);
|
|
32
|
-
__exportStar(require("./substitute/approval-substitute-requested-event"), exports);
|
|
33
|
-
__exportStar(require("./substitute/information-substitute-reminded-event"), exports);
|
|
34
|
-
__exportStar(require("./member/ts-validation-reminded-event"), exports);
|
|
35
|
-
__exportStar(require("./notify-completed-event"), exports);
|
|
36
|
-
__exportStar(require("./notify-type-value"), exports);
|
|
37
|
-
__exportStar(require("./manual/manual-event"), exports);
|
|
38
|
-
__exportStar(require("./admin/bipe-sync-event"), exports);
|
|
39
|
-
__exportStar(require("./member/annual-vacation-info-event"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requestor/absence-cancelled-event"), exports);
|
|
18
|
+
__exportStar(require("./requestor/absence-created-event"), exports);
|
|
19
|
+
__exportStar(require("./requestor/absence-updated-event"), exports);
|
|
20
|
+
__exportStar(require("./requestor/approval-group-accepted-event"), exports);
|
|
21
|
+
__exportStar(require("./requestor/approval-group-refused-event"), exports);
|
|
22
|
+
__exportStar(require("./requestor/approval-service-accepted-event"), exports);
|
|
23
|
+
__exportStar(require("./requestor/approval-service-refused-event"), exports);
|
|
24
|
+
__exportStar(require("./requestor/approval-substitute-accepted-event"), exports);
|
|
25
|
+
__exportStar(require("./requestor/approval-substitute-refused-event"), exports);
|
|
26
|
+
__exportStar(require("./group/approval-group-reminded-event"), exports);
|
|
27
|
+
__exportStar(require("./group/approval-group-requested-event"), exports);
|
|
28
|
+
__exportStar(require("./service/approval-service-reminded-event"), exports);
|
|
29
|
+
__exportStar(require("./service/approval-service-requested-event"), exports);
|
|
30
|
+
__exportStar(require("./service/ts-validation-reported-event"), exports);
|
|
31
|
+
__exportStar(require("./substitute/approval-substitute-reminded-event"), exports);
|
|
32
|
+
__exportStar(require("./substitute/approval-substitute-requested-event"), exports);
|
|
33
|
+
__exportStar(require("./substitute/information-substitute-reminded-event"), exports);
|
|
34
|
+
__exportStar(require("./member/ts-validation-reminded-event"), exports);
|
|
35
|
+
__exportStar(require("./notify-completed-event"), exports);
|
|
36
|
+
__exportStar(require("./notify-type-value"), exports);
|
|
37
|
+
__exportStar(require("./manual/manual-event"), exports);
|
|
38
|
+
__exportStar(require("./admin/bipe-sync-event"), exports);
|
|
39
|
+
__exportStar(require("./member/annual-vacation-info-event"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { ManualPayload } from '../../manual-event-payload';
|
|
3
|
-
export interface NotifyManualEvent {
|
|
4
|
-
subject: Subjects.NotifyManual;
|
|
5
|
-
data: ManualPayload;
|
|
6
|
-
}
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { ManualPayload } from '../../manual-event-payload';
|
|
3
|
+
export interface NotifyManualEvent {
|
|
4
|
+
subject: Subjects.NotifyManual;
|
|
5
|
+
data: ManualPayload;
|
|
6
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
/**
|
|
3
|
-
* This is an informational email sent to the member to inform him that the new annual holiday quota balance
|
|
4
|
-
* has been changed
|
|
5
|
-
*
|
|
6
|
-
* recipient: email of the member
|
|
7
|
-
* serviceManagers: the service managers will be in copy
|
|
8
|
-
* hrServiceRepresentatives: the HR service representatives will be in copy
|
|
9
|
-
* displayName: full name of the member
|
|
10
|
-
* newBalance: new balance of the annual vacation
|
|
11
|
-
* reason: reason of this email
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
interface NotifyMemberAnnualVacationPayload {
|
|
15
|
-
recipient: string;
|
|
16
|
-
ccRecipients: string[];
|
|
17
|
-
displayName: string;
|
|
18
|
-
newBalance: number;
|
|
19
|
-
reason: 'age' | 'yearsOfService';
|
|
20
|
-
}
|
|
21
|
-
export interface NotifyMemberAnnualVacationEvent {
|
|
22
|
-
subject: Subjects.NotifyMemberAnnualVacation;
|
|
23
|
-
data: NotifyMemberAnnualVacationPayload;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
/**
|
|
3
|
+
* This is an informational email sent to the member to inform him that the new annual holiday quota balance
|
|
4
|
+
* has been changed
|
|
5
|
+
*
|
|
6
|
+
* recipient: email of the member
|
|
7
|
+
* serviceManagers: the service managers will be in copy
|
|
8
|
+
* hrServiceRepresentatives: the HR service representatives will be in copy
|
|
9
|
+
* displayName: full name of the member
|
|
10
|
+
* newBalance: new balance of the annual vacation
|
|
11
|
+
* reason: reason of this email
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
interface NotifyMemberAnnualVacationPayload {
|
|
15
|
+
recipient: string;
|
|
16
|
+
ccRecipients: string[];
|
|
17
|
+
displayName: string;
|
|
18
|
+
newBalance: number;
|
|
19
|
+
reason: 'age' | 'yearsOfService';
|
|
20
|
+
}
|
|
21
|
+
export interface NotifyMemberAnnualVacationEvent {
|
|
22
|
+
subject: Subjects.NotifyMemberAnnualVacation;
|
|
23
|
+
data: NotifyMemberAnnualVacationPayload;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { Contact } from '../contact';
|
|
3
|
-
export interface NotifyTSValidationRemindedEvent {
|
|
4
|
-
subject: Subjects.NotifyTSValidationReminded;
|
|
5
|
-
data: Contact[];
|
|
6
|
-
}
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { Contact } from '../contact';
|
|
3
|
+
export interface NotifyTSValidationRemindedEvent {
|
|
4
|
+
subject: Subjects.NotifyTSValidationReminded;
|
|
5
|
+
data: Contact[];
|
|
6
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Subjects } from '../subjects';
|
|
2
|
-
export interface NotifyCompletedEvent {
|
|
3
|
-
subject: Subjects.NotifyCompleted;
|
|
4
|
-
data: {};
|
|
5
|
-
}
|
|
1
|
+
import { Subjects } from '../subjects';
|
|
2
|
+
export interface NotifyCompletedEvent {
|
|
3
|
+
subject: Subjects.NotifyCompleted;
|
|
4
|
+
data: {};
|
|
5
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export declare enum notifyTypeValue {
|
|
2
|
-
Holidays = "Vacances",
|
|
3
|
-
Illness = "Maladie",
|
|
4
|
-
HomeOffice = "T\u00E9l\u00E9travail",
|
|
5
|
-
Training = "Formation",
|
|
6
|
-
ExternalWork = "Externe",
|
|
7
|
-
Accident = "Accident",
|
|
8
|
-
Maternity = "Mater./ Adopt.",
|
|
9
|
-
Military = "Militaire / PC",
|
|
10
|
-
CompensationHours = "Compensation",
|
|
11
|
-
Relocation = "D\u00E9m\u00E9nagement",
|
|
12
|
-
Birth = "Naissance",
|
|
13
|
-
Marriage = "Mariage",
|
|
14
|
-
ChildIllness = "Enfant malade",
|
|
15
|
-
MedicalVisit = "Visite m\u00E9dicale",
|
|
16
|
-
Death = "D\u00E9c\u00E8s",
|
|
17
|
-
LeaveWithoutPay = "Cong\u00E9 non pay\u00E9",
|
|
18
|
-
OtherPaidLeave = "Autre cong\u00E9 pay\u00E9",
|
|
19
|
-
MedicalAbsence = "Absence m\u00E9dicale",
|
|
20
|
-
Paternity = "Paternit\u00E9"
|
|
21
|
-
}
|
|
1
|
+
export declare enum notifyTypeValue {
|
|
2
|
+
Holidays = "Vacances",
|
|
3
|
+
Illness = "Maladie",
|
|
4
|
+
HomeOffice = "T\u00E9l\u00E9travail",
|
|
5
|
+
Training = "Formation",
|
|
6
|
+
ExternalWork = "Externe",
|
|
7
|
+
Accident = "Accident",
|
|
8
|
+
Maternity = "Mater./ Adopt.",
|
|
9
|
+
Military = "Militaire / PC",
|
|
10
|
+
CompensationHours = "Compensation",
|
|
11
|
+
Relocation = "D\u00E9m\u00E9nagement",
|
|
12
|
+
Birth = "Naissance",
|
|
13
|
+
Marriage = "Mariage",
|
|
14
|
+
ChildIllness = "Enfant malade",
|
|
15
|
+
MedicalVisit = "Visite m\u00E9dicale",
|
|
16
|
+
Death = "D\u00E9c\u00E8s",
|
|
17
|
+
LeaveWithoutPay = "Cong\u00E9 non pay\u00E9",
|
|
18
|
+
OtherPaidLeave = "Autre cong\u00E9 pay\u00E9",
|
|
19
|
+
MedicalAbsence = "Absence m\u00E9dicale",
|
|
20
|
+
Paternity = "Paternit\u00E9"
|
|
21
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.notifyTypeValue = void 0;
|
|
4
|
-
var notifyTypeValue;
|
|
5
|
-
(function (notifyTypeValue) {
|
|
6
|
-
notifyTypeValue["Holidays"] = "Vacances";
|
|
7
|
-
notifyTypeValue["Illness"] = "Maladie";
|
|
8
|
-
notifyTypeValue["HomeOffice"] = "T\u00E9l\u00E9travail";
|
|
9
|
-
notifyTypeValue["Training"] = "Formation";
|
|
10
|
-
notifyTypeValue["ExternalWork"] = "Externe";
|
|
11
|
-
notifyTypeValue["Accident"] = "Accident";
|
|
12
|
-
notifyTypeValue["Maternity"] = "Mater./ Adopt.";
|
|
13
|
-
notifyTypeValue["Military"] = "Militaire / PC";
|
|
14
|
-
notifyTypeValue["CompensationHours"] = "Compensation";
|
|
15
|
-
notifyTypeValue["Relocation"] = "D\u00E9m\u00E9nagement";
|
|
16
|
-
notifyTypeValue["Birth"] = "Naissance";
|
|
17
|
-
notifyTypeValue["Marriage"] = "Mariage";
|
|
18
|
-
notifyTypeValue["ChildIllness"] = "Enfant malade";
|
|
19
|
-
notifyTypeValue["MedicalVisit"] = "Visite m\u00E9dicale";
|
|
20
|
-
notifyTypeValue["Death"] = "D\u00E9c\u00E8s";
|
|
21
|
-
notifyTypeValue["LeaveWithoutPay"] = "Cong\u00E9 non pay\u00E9";
|
|
22
|
-
notifyTypeValue["OtherPaidLeave"] = "Autre cong\u00E9 pay\u00E9";
|
|
23
|
-
notifyTypeValue["MedicalAbsence"] = "Absence m\u00E9dicale";
|
|
24
|
-
notifyTypeValue["Paternity"] = "Paternit\u00E9";
|
|
25
|
-
})(notifyTypeValue = exports.notifyTypeValue || (exports.notifyTypeValue = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notifyTypeValue = void 0;
|
|
4
|
+
var notifyTypeValue;
|
|
5
|
+
(function (notifyTypeValue) {
|
|
6
|
+
notifyTypeValue["Holidays"] = "Vacances";
|
|
7
|
+
notifyTypeValue["Illness"] = "Maladie";
|
|
8
|
+
notifyTypeValue["HomeOffice"] = "T\u00E9l\u00E9travail";
|
|
9
|
+
notifyTypeValue["Training"] = "Formation";
|
|
10
|
+
notifyTypeValue["ExternalWork"] = "Externe";
|
|
11
|
+
notifyTypeValue["Accident"] = "Accident";
|
|
12
|
+
notifyTypeValue["Maternity"] = "Mater./ Adopt.";
|
|
13
|
+
notifyTypeValue["Military"] = "Militaire / PC";
|
|
14
|
+
notifyTypeValue["CompensationHours"] = "Compensation";
|
|
15
|
+
notifyTypeValue["Relocation"] = "D\u00E9m\u00E9nagement";
|
|
16
|
+
notifyTypeValue["Birth"] = "Naissance";
|
|
17
|
+
notifyTypeValue["Marriage"] = "Mariage";
|
|
18
|
+
notifyTypeValue["ChildIllness"] = "Enfant malade";
|
|
19
|
+
notifyTypeValue["MedicalVisit"] = "Visite m\u00E9dicale";
|
|
20
|
+
notifyTypeValue["Death"] = "D\u00E9c\u00E8s";
|
|
21
|
+
notifyTypeValue["LeaveWithoutPay"] = "Cong\u00E9 non pay\u00E9";
|
|
22
|
+
notifyTypeValue["OtherPaidLeave"] = "Autre cong\u00E9 pay\u00E9";
|
|
23
|
+
notifyTypeValue["MedicalAbsence"] = "Absence m\u00E9dicale";
|
|
24
|
+
notifyTypeValue["Paternity"] = "Paternit\u00E9";
|
|
25
|
+
})(notifyTypeValue = exports.notifyTypeValue || (exports.notifyTypeValue = {}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
import { CalendarEvent } from '../calendar-event';
|
|
4
|
-
import { Contact } from '../contact';
|
|
5
|
-
/**
|
|
6
|
-
* when the requestor or the manager[group or service] cancels the absence request
|
|
7
|
-
*/
|
|
8
|
-
interface NotifyAbsenceCancelledPayload extends NotifyBaseEventPayload {
|
|
9
|
-
requestor: Contact;
|
|
10
|
-
actor: Contact;
|
|
11
|
-
ccRecipients?: string[];
|
|
12
|
-
calendarEvent?: CalendarEvent;
|
|
13
|
-
}
|
|
14
|
-
export interface NotifyAbsenceCancelledEvent {
|
|
15
|
-
subject: Subjects.NotifyAbsenceCancelled;
|
|
16
|
-
data: NotifyAbsenceCancelledPayload;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { CalendarEvent } from '../calendar-event';
|
|
4
|
+
import { Contact } from '../contact';
|
|
5
|
+
/**
|
|
6
|
+
* when the requestor or the manager[group or service] cancels the absence request
|
|
7
|
+
*/
|
|
8
|
+
interface NotifyAbsenceCancelledPayload extends NotifyBaseEventPayload {
|
|
9
|
+
requestor: Contact;
|
|
10
|
+
actor: Contact;
|
|
11
|
+
ccRecipients?: string[];
|
|
12
|
+
calendarEvent?: CalendarEvent;
|
|
13
|
+
}
|
|
14
|
+
export interface NotifyAbsenceCancelledEvent {
|
|
15
|
+
subject: Subjects.NotifyAbsenceCancelled;
|
|
16
|
+
data: NotifyAbsenceCancelledPayload;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
/**
|
|
4
|
-
* when a requestor creates an absence request
|
|
5
|
-
*/
|
|
6
|
-
export interface NotifyAbsenceCreatedEvent {
|
|
7
|
-
subject: Subjects.NotifyAbsenceCreated;
|
|
8
|
-
data: NotifyBaseEventPayload;
|
|
9
|
-
}
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
/**
|
|
4
|
+
* when a requestor creates an absence request
|
|
5
|
+
*/
|
|
6
|
+
export interface NotifyAbsenceCreatedEvent {
|
|
7
|
+
subject: Subjects.NotifyAbsenceCreated;
|
|
8
|
+
data: NotifyBaseEventPayload;
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
import { CalendarEvent } from '../calendar-event';
|
|
4
|
-
import { Contact } from '../contact';
|
|
5
|
-
/**
|
|
6
|
-
* when the requestor or the manager[group or service] updates the absence request
|
|
7
|
-
*/
|
|
8
|
-
interface NotifyAbsenceUpdatedPayload extends NotifyBaseEventPayload {
|
|
9
|
-
requestor: Contact;
|
|
10
|
-
actor: Contact;
|
|
11
|
-
needValidation: boolean;
|
|
12
|
-
update: NotifyBaseEventPayload;
|
|
13
|
-
ccRecipients?: string[];
|
|
14
|
-
calendarEvent?: CalendarEvent;
|
|
15
|
-
}
|
|
16
|
-
export interface NotifyAbsenceUpdatedEvent {
|
|
17
|
-
subject: Subjects.NotifyAbsenceUpdated;
|
|
18
|
-
data: NotifyAbsenceUpdatedPayload;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { CalendarEvent } from '../calendar-event';
|
|
4
|
+
import { Contact } from '../contact';
|
|
5
|
+
/**
|
|
6
|
+
* when the requestor or the manager[group or service] updates the absence request
|
|
7
|
+
*/
|
|
8
|
+
interface NotifyAbsenceUpdatedPayload extends NotifyBaseEventPayload {
|
|
9
|
+
requestor: Contact;
|
|
10
|
+
actor: Contact;
|
|
11
|
+
needValidation: boolean;
|
|
12
|
+
update: NotifyBaseEventPayload;
|
|
13
|
+
ccRecipients?: string[];
|
|
14
|
+
calendarEvent?: CalendarEvent;
|
|
15
|
+
}
|
|
16
|
+
export interface NotifyAbsenceUpdatedEvent {
|
|
17
|
+
subject: Subjects.NotifyAbsenceUpdated;
|
|
18
|
+
data: NotifyAbsenceUpdatedPayload;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
import { Contact } from '../contact';
|
|
4
|
-
/**
|
|
5
|
-
* when a group manager accepts the absence request
|
|
6
|
-
*/
|
|
7
|
-
interface NotifyGroupAcceptedPayload extends NotifyBaseEventPayload {
|
|
8
|
-
approver: Contact;
|
|
9
|
-
}
|
|
10
|
-
export interface NotifyGroupAcceptedEvent {
|
|
11
|
-
subject: Subjects.NotifyGroupAccepted;
|
|
12
|
-
data: NotifyGroupAcceptedPayload;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { Contact } from '../contact';
|
|
4
|
+
/**
|
|
5
|
+
* when a group manager accepts the absence request
|
|
6
|
+
*/
|
|
7
|
+
interface NotifyGroupAcceptedPayload extends NotifyBaseEventPayload {
|
|
8
|
+
approver: Contact;
|
|
9
|
+
}
|
|
10
|
+
export interface NotifyGroupAcceptedEvent {
|
|
11
|
+
subject: Subjects.NotifyGroupAccepted;
|
|
12
|
+
data: NotifyGroupAcceptedPayload;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
import { Contact } from '../contact';
|
|
4
|
-
/**
|
|
5
|
-
* when a group manager refuses the absence request
|
|
6
|
-
*/
|
|
7
|
-
interface NotifyGroupRefusedPayload extends NotifyBaseEventPayload {
|
|
8
|
-
approver: Contact;
|
|
9
|
-
requestor: Contact;
|
|
10
|
-
ccRecipients?: string[];
|
|
11
|
-
}
|
|
12
|
-
export interface NotifyGroupRefusedEvent {
|
|
13
|
-
subject: Subjects.NotifyGroupRefused;
|
|
14
|
-
data: NotifyGroupRefusedPayload;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { Contact } from '../contact';
|
|
4
|
+
/**
|
|
5
|
+
* when a group manager refuses the absence request
|
|
6
|
+
*/
|
|
7
|
+
interface NotifyGroupRefusedPayload extends NotifyBaseEventPayload {
|
|
8
|
+
approver: Contact;
|
|
9
|
+
requestor: Contact;
|
|
10
|
+
ccRecipients?: string[];
|
|
11
|
+
}
|
|
12
|
+
export interface NotifyGroupRefusedEvent {
|
|
13
|
+
subject: Subjects.NotifyGroupRefused;
|
|
14
|
+
data: NotifyGroupRefusedPayload;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
import { CalendarEvent } from '../calendar-event';
|
|
4
|
-
import { Contact } from '../contact';
|
|
5
|
-
/**
|
|
6
|
-
* when the service accepts the absence request
|
|
7
|
-
*/
|
|
8
|
-
interface NotifyServiceAcceptedPayload extends NotifyBaseEventPayload {
|
|
9
|
-
requestor: Contact;
|
|
10
|
-
approvalComment?: string;
|
|
11
|
-
calendarEvent: CalendarEvent;
|
|
12
|
-
ccRecipients?: string[];
|
|
13
|
-
}
|
|
14
|
-
export interface NotifyServiceAcceptedEvent {
|
|
15
|
-
subject: Subjects.NotifyServiceAccepted;
|
|
16
|
-
data: NotifyServiceAcceptedPayload;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { CalendarEvent } from '../calendar-event';
|
|
4
|
+
import { Contact } from '../contact';
|
|
5
|
+
/**
|
|
6
|
+
* when the service accepts the absence request
|
|
7
|
+
*/
|
|
8
|
+
interface NotifyServiceAcceptedPayload extends NotifyBaseEventPayload {
|
|
9
|
+
requestor: Contact;
|
|
10
|
+
approvalComment?: string;
|
|
11
|
+
calendarEvent: CalendarEvent;
|
|
12
|
+
ccRecipients?: string[];
|
|
13
|
+
}
|
|
14
|
+
export interface NotifyServiceAcceptedEvent {
|
|
15
|
+
subject: Subjects.NotifyServiceAccepted;
|
|
16
|
+
data: NotifyServiceAcceptedPayload;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
import { Contact } from '../contact';
|
|
4
|
-
/**
|
|
5
|
-
* when the service refuses the absence request
|
|
6
|
-
*/
|
|
7
|
-
interface NotifyServiceRefusedPayload extends NotifyBaseEventPayload {
|
|
8
|
-
approver: Contact;
|
|
9
|
-
requestor: Contact;
|
|
10
|
-
ccRecipients?: string[];
|
|
11
|
-
}
|
|
12
|
-
export interface NotifyServiceRefusedEvent {
|
|
13
|
-
subject: Subjects.NotifyServiceRefused;
|
|
14
|
-
data: NotifyServiceRefusedPayload;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { Contact } from '../contact';
|
|
4
|
+
/**
|
|
5
|
+
* when the service refuses the absence request
|
|
6
|
+
*/
|
|
7
|
+
interface NotifyServiceRefusedPayload extends NotifyBaseEventPayload {
|
|
8
|
+
approver: Contact;
|
|
9
|
+
requestor: Contact;
|
|
10
|
+
ccRecipients?: string[];
|
|
11
|
+
}
|
|
12
|
+
export interface NotifyServiceRefusedEvent {
|
|
13
|
+
subject: Subjects.NotifyServiceRefused;
|
|
14
|
+
data: NotifyServiceRefusedPayload;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
import { Contact } from '../contact';
|
|
4
|
-
/**
|
|
5
|
-
* when the target substitute accepts the absence request
|
|
6
|
-
*/
|
|
7
|
-
interface NotifySubstituteAcceptedPayload extends NotifyBaseEventPayload {
|
|
8
|
-
approver: Contact;
|
|
9
|
-
}
|
|
10
|
-
export interface NotifySubstituteAcceptedEvent {
|
|
11
|
-
subject: Subjects.NotifySubstituteAccepted;
|
|
12
|
-
data: NotifySubstituteAcceptedPayload;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { Contact } from '../contact';
|
|
4
|
+
/**
|
|
5
|
+
* when the target substitute accepts the absence request
|
|
6
|
+
*/
|
|
7
|
+
interface NotifySubstituteAcceptedPayload extends NotifyBaseEventPayload {
|
|
8
|
+
approver: Contact;
|
|
9
|
+
}
|
|
10
|
+
export interface NotifySubstituteAcceptedEvent {
|
|
11
|
+
subject: Subjects.NotifySubstituteAccepted;
|
|
12
|
+
data: NotifySubstituteAcceptedPayload;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|