@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.
@@ -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 NotifyExtraManuelPaylod {
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 './extra/ts-extra-manuel-event';
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("./extra/ts-extra-manuel-event"), exports);
33
+ __exportStar(require("./manual/manual-event"), exports);
@@ -0,0 +1,6 @@
1
+ import { Subjects } from '../../subjects';
2
+ import { ManualPayload } from '../../manual-event-payload';
3
+ export interface NotifyManualEvent {
4
+ subject: Subjects.NotifyManual;
5
+ data: ManualPayload;
6
+ }
@@ -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
+ NotifyManual = "notify:manual",
44
+ WorkerManual = "worker:manual"
44
45
  }
@@ -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["NotifyExtraManuel"] = "notify:extra:manuel";
62
+ Subjects["NotifyManual"] = "notify:manual";
63
+ Subjects["WorkerManual"] = "worker:manual";
63
64
  })(Subjects = exports.Subjects || (exports.Subjects = {}));
@@ -2,3 +2,4 @@ export * from './absence-approval-event';
2
2
  export * from './absence-created-event';
3
3
  export * from './absence-deleted-event';
4
4
  export * from './absence-updated-event';
5
+ export * from './manuel-event';
@@ -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);
@@ -0,0 +1,6 @@
1
+ import { Subjects } from '../subjects';
2
+ import { ManualPayload } from '../manual-event-payload';
3
+ export interface WorkerManualEvent {
4
+ subject: Subjects.WorkerManual;
5
+ data: ManualPayload;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitel/common",
3
- "version": "1.0.90",
3
+ "version": "1.0.93",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",