@sitel/common 1.0.138 → 1.0.139
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/admin/work-rate-change-blocked-event.d.ts +20 -0
- package/build/events/notify/admin/work-rate-change-blocked-event.js +2 -0
- package/build/events/notify/index.d.ts +1 -0
- package/build/events/notify/index.js +1 -0
- package/build/events/subjects.d.ts +5 -0
- package/build/events/subjects.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { Contact } from '../contact';
|
|
3
|
+
interface NotifyWorkRateChangeBlockedPayload {
|
|
4
|
+
recipient: Contact;
|
|
5
|
+
person: Contact;
|
|
6
|
+
changeRateId: number;
|
|
7
|
+
fromRate: number;
|
|
8
|
+
toRate: number;
|
|
9
|
+
fromDateTo: string;
|
|
10
|
+
toDateFrom: string;
|
|
11
|
+
previousMonth: number;
|
|
12
|
+
previousYear: number;
|
|
13
|
+
reason: string;
|
|
14
|
+
actor: string;
|
|
15
|
+
}
|
|
16
|
+
export interface NotifyWorkRateChangeBlockedEvent {
|
|
17
|
+
subject: Subjects.NotifyWorkRateChangeBlocked;
|
|
18
|
+
data: NotifyWorkRateChangeBlockedPayload;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -20,6 +20,7 @@ export * from './notify-completed-event';
|
|
|
20
20
|
export * from './notify-type-value';
|
|
21
21
|
export * from './manual/manual-event';
|
|
22
22
|
export * from './admin/bipe-sync-event';
|
|
23
|
+
export * from './admin/work-rate-change-blocked-event';
|
|
23
24
|
export * from './member/annual-vacation-info-event';
|
|
24
25
|
export * from './member/trimestrial-vacation-summary-event';
|
|
25
26
|
export * from './member/yearly-absence-summary-event';
|
|
@@ -36,6 +36,7 @@ __exportStar(require("./notify-completed-event"), exports);
|
|
|
36
36
|
__exportStar(require("./notify-type-value"), exports);
|
|
37
37
|
__exportStar(require("./manual/manual-event"), exports);
|
|
38
38
|
__exportStar(require("./admin/bipe-sync-event"), exports);
|
|
39
|
+
__exportStar(require("./admin/work-rate-change-blocked-event"), exports);
|
|
39
40
|
__exportStar(require("./member/annual-vacation-info-event"), exports);
|
|
40
41
|
__exportStar(require("./member/trimestrial-vacation-summary-event"), exports);
|
|
41
42
|
__exportStar(require("./member/yearly-absence-summary-event"), exports);
|
|
@@ -48,6 +48,11 @@ export declare enum Subjects {
|
|
|
48
48
|
* Notify Bipe Sync log
|
|
49
49
|
*/
|
|
50
50
|
NotifyBipeSync = "notify:bipe:sync",
|
|
51
|
+
/**
|
|
52
|
+
* Notify administrators that a planned work-rate change could not be
|
|
53
|
+
* performed because the previous month is not locked yet.
|
|
54
|
+
*/
|
|
55
|
+
NotifyWorkRateChangeBlocked = "notify:admin:work-rate-change:blocked",
|
|
51
56
|
/**
|
|
52
57
|
* Notify Member annual vacation balance change
|
|
53
58
|
*/
|
package/build/events/subjects.js
CHANGED
|
@@ -68,6 +68,11 @@ var Subjects;
|
|
|
68
68
|
* Notify Bipe Sync log
|
|
69
69
|
*/
|
|
70
70
|
Subjects["NotifyBipeSync"] = "notify:bipe:sync";
|
|
71
|
+
/**
|
|
72
|
+
* Notify administrators that a planned work-rate change could not be
|
|
73
|
+
* performed because the previous month is not locked yet.
|
|
74
|
+
*/
|
|
75
|
+
Subjects["NotifyWorkRateChangeBlocked"] = "notify:admin:work-rate-change:blocked";
|
|
71
76
|
/**
|
|
72
77
|
* Notify Member annual vacation balance change
|
|
73
78
|
*/
|