@sitel/common 1.0.86 → 1.0.90
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 +32 -32
- package/build/errors/custom-error.d.ts +8 -8
- package/build/errors/custom-error.js +26 -26
- package/build/errors/database-connection-error.d.ts +9 -9
- package/build/errors/database-connection-error.js +32 -32
- package/build/errors/not-authorized-error.d.ts +9 -9
- package/build/errors/not-authorized-error.js +32 -32
- package/build/errors/not-found-error.d.ts +8 -8
- package/build/errors/not-found-error.js +31 -31
- package/build/errors/person-substitute-not-available-error.d.ts +9 -9
- package/build/errors/person-substitute-not-available-error.js +32 -32
- package/build/errors/request-validation-error.d.ts +11 -11
- package/build/errors/request-validation-error.js +35 -35
- package/build/events/base-listener.d.ts +18 -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/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/extra/ts-extra-manuel-event.d.ts +22 -0
- package/build/events/notify/extra/ts-extra-manuel-event.js +2 -0
- 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 +21 -20
- package/build/events/notify/index.js +33 -32
- 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 -20
- package/build/events/notify/notify-type-value.js +25 -24
- 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/config-person-created-event.d.ts +7 -7
- package/build/events/presence/config-person-created-event.js +2 -2
- package/build/events/presence/config-person-updated-event.d.ts +7 -7
- package/build/events/presence/config-person-updated-event.js +2 -2
- package/build/events/presence/index.d.ts +2 -2
- package/build/events/presence/index.js +14 -14
- package/build/events/subjects.d.ts +44 -39
- package/build/events/subjects.js +63 -58
- 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 +4 -4
- package/build/events/worker/index.js +16 -16
- package/build/index.d.ts +22 -22
- package/build/index.js +34 -34
- 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 +17 -17
- 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 +1 -1
|
@@ -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,20 +1,21 @@
|
|
|
1
|
-
export declare enum notifyTypeValue {
|
|
2
|
-
Holidays = "Vacances",
|
|
3
|
-
Illness = "Maladie",
|
|
4
|
-
HomeOffice = "T\u00E9l\u00E9travail",
|
|
5
|
-
Training = "Formation",
|
|
6
|
-
ExternalWork = "
|
|
7
|
-
Accident = "Accident",
|
|
8
|
-
Maternity = "
|
|
9
|
-
Military = "Militaire",
|
|
10
|
-
CompensationHours = "
|
|
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
|
-
|
|
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,24 +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"] = "
|
|
11
|
-
notifyTypeValue["Accident"] = "Accident";
|
|
12
|
-
notifyTypeValue["Maternity"] = "
|
|
13
|
-
notifyTypeValue["Military"] = "Militaire";
|
|
14
|
-
notifyTypeValue["CompensationHours"] = "
|
|
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
|
-
|
|
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 });
|
|
@@ -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 target substitute refuses the absence request
|
|
6
|
-
*/
|
|
7
|
-
interface NotifySubstituteRefusedPayload extends NotifyBaseEventPayload {
|
|
8
|
-
approver: Contact;
|
|
9
|
-
requestor: Contact;
|
|
10
|
-
ccRecipients?: string[];
|
|
11
|
-
}
|
|
12
|
-
export interface NotifySubstituteRefusedEvent {
|
|
13
|
-
subject: Subjects.NotifySubstituteRefused;
|
|
14
|
-
data: NotifySubstituteRefusedPayload;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { Contact } from '../contact';
|
|
4
|
+
/**
|
|
5
|
+
* when the target substitute refuses the absence request
|
|
6
|
+
*/
|
|
7
|
+
interface NotifySubstituteRefusedPayload extends NotifyBaseEventPayload {
|
|
8
|
+
approver: Contact;
|
|
9
|
+
requestor: Contact;
|
|
10
|
+
ccRecipients?: string[];
|
|
11
|
+
}
|
|
12
|
+
export interface NotifySubstituteRefusedEvent {
|
|
13
|
+
subject: Subjects.NotifySubstituteRefused;
|
|
14
|
+
data: NotifySubstituteRefusedPayload;
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
export interface NotifyServiceRemindedEvent {
|
|
4
|
-
subject: Subjects.NotifyServiceReminded;
|
|
5
|
-
data: NotifyBaseEventPayload;
|
|
6
|
-
}
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
export interface NotifyServiceRemindedEvent {
|
|
4
|
+
subject: Subjects.NotifyServiceReminded;
|
|
5
|
+
data: NotifyBaseEventPayload;
|
|
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,12 +1,12 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
import { Contact } from '../contact';
|
|
4
|
-
interface NotifyServiceRequestedPayload extends NotifyBaseEventPayload {
|
|
5
|
-
requestor: Contact;
|
|
6
|
-
approvals?: Contact[];
|
|
7
|
-
}
|
|
8
|
-
export interface NotifyServiceRequestedEvent {
|
|
9
|
-
subject: Subjects.NotifyServiceRequested;
|
|
10
|
-
data: NotifyServiceRequestedPayload;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { Contact } from '../contact';
|
|
4
|
+
interface NotifyServiceRequestedPayload extends NotifyBaseEventPayload {
|
|
5
|
+
requestor: Contact;
|
|
6
|
+
approvals?: Contact[];
|
|
7
|
+
}
|
|
8
|
+
export interface NotifyServiceRequestedEvent {
|
|
9
|
+
subject: Subjects.NotifyServiceRequested;
|
|
10
|
+
data: NotifyServiceRequestedPayload;
|
|
11
|
+
}
|
|
12
|
+
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,11 +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.
|
|
9
|
-
data: NotifyTSValidationReportedPayload;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
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 {};
|
|
@@ -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 { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
export interface NotifySubstituteRemindedEvent {
|
|
4
|
-
subject: Subjects.NotifySubstituteReminded;
|
|
5
|
-
data: NotifyBaseEventPayload;
|
|
6
|
-
}
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
export interface NotifySubstituteRemindedEvent {
|
|
4
|
+
subject: Subjects.NotifySubstituteReminded;
|
|
5
|
+
data: NotifyBaseEventPayload;
|
|
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,12 +1,12 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
import { Contact } from '../contact';
|
|
4
|
-
interface NotifySubstituteRequestedPayload extends NotifyBaseEventPayload {
|
|
5
|
-
requestor: Contact;
|
|
6
|
-
approvals?: Contact[];
|
|
7
|
-
}
|
|
8
|
-
export interface NotifySubstituteRequestedEvent {
|
|
9
|
-
subject: Subjects.NotifySubstituteRequested;
|
|
10
|
-
data: NotifySubstituteRequestedPayload;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { Contact } from '../contact';
|
|
4
|
+
interface NotifySubstituteRequestedPayload extends NotifyBaseEventPayload {
|
|
5
|
+
requestor: Contact;
|
|
6
|
+
approvals?: Contact[];
|
|
7
|
+
}
|
|
8
|
+
export interface NotifySubstituteRequestedEvent {
|
|
9
|
+
subject: Subjects.NotifySubstituteRequested;
|
|
10
|
+
data: NotifySubstituteRequestedPayload;
|
|
11
|
+
}
|
|
12
|
+
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,11 +1,11 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
|
-
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
-
import { Contact } from '../contact';
|
|
4
|
-
interface NotifySubstituteInformationPayload extends NotifyBaseEventPayload {
|
|
5
|
-
requestor: Contact;
|
|
6
|
-
}
|
|
7
|
-
export interface NotifySubstituteInformationEvent {
|
|
8
|
-
subject: Subjects.NotifySubstituteInformation;
|
|
9
|
-
data: NotifySubstituteInformationPayload;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { NotifyBaseEventPayload } from '../base-event-payload';
|
|
3
|
+
import { Contact } from '../contact';
|
|
4
|
+
interface NotifySubstituteInformationPayload extends NotifyBaseEventPayload {
|
|
5
|
+
requestor: Contact;
|
|
6
|
+
}
|
|
7
|
+
export interface NotifySubstituteInformationEvent {
|
|
8
|
+
subject: Subjects.NotifySubstituteInformation;
|
|
9
|
+
data: NotifySubstituteInformationPayload;
|
|
10
|
+
}
|
|
11
|
+
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 });
|