@sitel/common 1.0.92 → 1.0.95
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/extra/extra-manuel-payload.d.ts → manual-event-payload.d.ts} +1 -1
- package/build/events/{notify/extra/extra-manuel-payload.js → manual-event-payload.js} +0 -0
- package/build/events/notify/admin/bipe-sync-event.d.ts +17 -0
- package/build/events/notify/{extra/notify-manuel-event.js → admin/bipe-sync-event.js} +0 -0
- package/build/events/notify/index.d.ts +2 -2
- package/build/events/notify/index.js +2 -2
- package/build/events/notify/manual/manual-event.d.ts +6 -0
- package/build/events/{worker/worker-manuel-event.js → notify/manual/manual-event.js} +0 -0
- package/build/events/subjects.d.ts +6 -2
- package/build/events/subjects.js +6 -2
- package/build/events/worker/index.d.ts +1 -0
- package/build/events/worker/index.js +1 -0
- package/build/events/worker/manuel-event.d.ts +6 -0
- package/build/events/worker/manuel-event.js +2 -0
- package/package.json +1 -1
- package/build/events/notify/extra/notify-manuel-event.d.ts +0 -6
- package/build/events/worker/worker-manuel-event.d.ts +0 -6
|
@@ -7,7 +7,7 @@ subject - The subject of the email
|
|
|
7
7
|
text - The plaintext version of the message as an Unicode string, Buffer, Stream or an attachment-like object ({path: ‘/var/data/…'})
|
|
8
8
|
html - The HTML version of the message as an Unicode string, Buffer, Stream or an attachment-like object ({path: ‘http://…'})
|
|
9
9
|
*/
|
|
10
|
-
export interface
|
|
10
|
+
export interface ManualPayload {
|
|
11
11
|
to: string[];
|
|
12
12
|
cc: string[];
|
|
13
13
|
bcc: string[];
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Subjects } from '../../subjects';
|
|
2
|
+
import { Contact } from '../contact';
|
|
3
|
+
/**
|
|
4
|
+
* prev
|
|
5
|
+
*/
|
|
6
|
+
interface NotifyBipeSyncPayload {
|
|
7
|
+
recipient: Contact;
|
|
8
|
+
updated: {
|
|
9
|
+
prev: Contact;
|
|
10
|
+
current: Contact;
|
|
11
|
+
}[];
|
|
12
|
+
}
|
|
13
|
+
export interface NotifyBipeSyncEvent {
|
|
14
|
+
subject: Subjects.NotifyBipeSync;
|
|
15
|
+
data: NotifyBipeSyncPayload;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
File without changes
|
|
@@ -18,5 +18,5 @@ export * from './substitute/information-substitute-reminded-event';
|
|
|
18
18
|
export * from './member/ts-validation-reminded-event';
|
|
19
19
|
export * from './notify-completed-event';
|
|
20
20
|
export * from './notify-type-value';
|
|
21
|
-
export * from './
|
|
22
|
-
export * from '
|
|
21
|
+
export * from './manual/manual-event';
|
|
22
|
+
export * from './admin/bipe-sync-event';
|
|
@@ -30,5 +30,5 @@ __exportStar(require("./substitute/information-substitute-reminded-event"), expo
|
|
|
30
30
|
__exportStar(require("./member/ts-validation-reminded-event"), exports);
|
|
31
31
|
__exportStar(require("./notify-completed-event"), exports);
|
|
32
32
|
__exportStar(require("./notify-type-value"), exports);
|
|
33
|
-
__exportStar(require("./
|
|
34
|
-
__exportStar(require("
|
|
33
|
+
__exportStar(require("./manual/manual-event"), exports);
|
|
34
|
+
__exportStar(require("./admin/bipe-sync-event"), exports);
|
|
File without changes
|
|
@@ -40,6 +40,10 @@ export declare enum Subjects {
|
|
|
40
40
|
* EXTRA This a totaly manuel email to verify the email sending
|
|
41
41
|
* to be used only by admin
|
|
42
42
|
*/
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
NotifyManual = "notify:manual",
|
|
44
|
+
WorkerManual = "worker:manual",
|
|
45
|
+
/**
|
|
46
|
+
* Notify Bipe Sync log
|
|
47
|
+
*/
|
|
48
|
+
NotifyBipeSync = "notify:bipe:sync"
|
|
45
49
|
}
|
package/build/events/subjects.js
CHANGED
|
@@ -59,6 +59,10 @@ var Subjects;
|
|
|
59
59
|
* EXTRA This a totaly manuel email to verify the email sending
|
|
60
60
|
* to be used only by admin
|
|
61
61
|
*/
|
|
62
|
-
Subjects["
|
|
63
|
-
Subjects["
|
|
62
|
+
Subjects["NotifyManual"] = "notify:manual";
|
|
63
|
+
Subjects["WorkerManual"] = "worker:manual";
|
|
64
|
+
/**
|
|
65
|
+
* Notify Bipe Sync log
|
|
66
|
+
*/
|
|
67
|
+
Subjects["NotifyBipeSync"] = "notify:bipe:sync";
|
|
64
68
|
})(Subjects = exports.Subjects || (exports.Subjects = {}));
|
|
@@ -14,3 +14,4 @@ __exportStar(require("./absence-approval-event"), exports);
|
|
|
14
14
|
__exportStar(require("./absence-created-event"), exports);
|
|
15
15
|
__exportStar(require("./absence-deleted-event"), exports);
|
|
16
16
|
__exportStar(require("./absence-updated-event"), exports);
|
|
17
|
+
__exportStar(require("./manuel-event"), exports);
|
package/package.json
CHANGED