@sitel/common 1.0.90 → 1.0.93
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/ts-extra-manuel-event.d.ts → manual-event-payload.d.ts} +1 -7
- package/build/events/manual-event-payload.js +11 -0
- package/build/events/notify/index.d.ts +1 -1
- package/build/events/notify/index.js +1 -1
- package/build/events/notify/manual/manual-event.d.ts +6 -0
- package/build/events/notify/{extra/ts-extra-manuel-event.js → manual/manual-event.js} +0 -0
- package/build/events/subjects.d.ts +2 -1
- package/build/events/subjects.js +2 -1
- 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
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Subjects } from '../../subjects';
|
|
2
1
|
/**
|
|
3
2
|
from - The email address of the sender. All email addresses can be plain ‘sender@server.com’ or formatted '“Sender Name” sender@server.com', see Address object for details
|
|
4
3
|
to - Comma separated list or an array of recipients email addresses that will appear on the To: field
|
|
@@ -8,15 +7,10 @@ subject - The subject of the email
|
|
|
8
7
|
text - The plaintext version of the message as an Unicode string, Buffer, Stream or an attachment-like object ({path: ‘/var/data/…'})
|
|
9
8
|
html - The HTML version of the message as an Unicode string, Buffer, Stream or an attachment-like object ({path: ‘http://…'})
|
|
10
9
|
*/
|
|
11
|
-
interface
|
|
10
|
+
export interface ManualPayload {
|
|
12
11
|
to: string[];
|
|
13
12
|
cc: string[];
|
|
14
13
|
bcc: string[];
|
|
15
14
|
subject: string;
|
|
16
15
|
html: string;
|
|
17
16
|
}
|
|
18
|
-
export interface NotifyExtraManuelEvent {
|
|
19
|
-
subject: Subjects.NotifyExtraManuel;
|
|
20
|
-
data: NotifyExtraManuelPaylod;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
from - The email address of the sender. All email addresses can be plain ‘sender@server.com’ or formatted '“Sender Name” sender@server.com', see Address object for details
|
|
4
|
+
to - Comma separated list or an array of recipients email addresses that will appear on the To: field
|
|
5
|
+
cc - Comma separated list or an array of recipients email addresses that will appear on the Cc: field
|
|
6
|
+
bcc - Comma separated list or an array of recipients email addresses that will appear on the Bcc: field
|
|
7
|
+
subject - The subject of the email
|
|
8
|
+
text - The plaintext version of the message as an Unicode string, Buffer, Stream or an attachment-like object ({path: ‘/var/data/…'})
|
|
9
|
+
html - The HTML version of the message as an Unicode string, Buffer, Stream or an attachment-like object ({path: ‘http://…'})
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -18,4 +18,4 @@ 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 './
|
|
21
|
+
export * from './manual/manual-event';
|
|
@@ -30,4 +30,4 @@ __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("./
|
|
33
|
+
__exportStar(require("./manual/manual-event"), exports);
|
|
File without changes
|
package/build/events/subjects.js
CHANGED
|
@@ -59,5 +59,6 @@ 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["
|
|
62
|
+
Subjects["NotifyManual"] = "notify:manual";
|
|
63
|
+
Subjects["WorkerManual"] = "worker:manual";
|
|
63
64
|
})(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);
|