@sitel/common 1.0.90 → 1.0.91
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 → extra-manuel-payload.d.ts} +1 -7
- package/build/events/notify/extra/extra-manuel-payload.js +11 -0
- package/build/events/notify/extra/index.d.ts +2 -0
- package/build/events/notify/extra/index.js +14 -0
- package/build/events/notify/extra/notify-manuel-event.d.ts +6 -0
- package/build/events/notify/extra/{ts-extra-manuel-event.js → notify-manuel-event.js} +0 -0
- package/build/events/notify/extra/worker-manuel-event.d.ts +6 -0
- package/build/events/notify/extra/worker-manuel-event.js +2 -0
- package/build/events/notify/index.d.ts +1 -1
- package/build/events/notify/index.js +1 -1
- package/build/events/subjects.d.ts +2 -1
- package/build/events/subjects.js +1 -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 ExtraManuelPaylod {
|
|
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 });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./notify-manuel-event"), exports);
|
|
14
|
+
__exportStar(require("./worker-manuel-event"), exports);
|
|
File without changes
|
|
@@ -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 './extra
|
|
21
|
+
export * from './extra';
|
|
@@ -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("./extra
|
|
33
|
+
__exportStar(require("./extra"), exports);
|
|
@@ -40,5 +40,6 @@ 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
|
-
NotifyExtraManuel = "notify:extra:manuel"
|
|
43
|
+
NotifyExtraManuel = "notify:extra:manuel",
|
|
44
|
+
WorkerExtraManuel = "worker:extra:manuel"
|
|
44
45
|
}
|
package/build/events/subjects.js
CHANGED