@sitel/common 1.0.92 → 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.
@@ -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 ExtraManuelPaylod {
10
+ export interface ManualPayload {
11
11
  to: string[];
12
12
  cc: string[];
13
13
  bcc: string[];
@@ -18,5 +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/notify-manuel-event';
22
- export * from '../worker/worker-manuel-event';
21
+ export * from './manual/manual-event';
@@ -30,5 +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/notify-manuel-event"), exports);
34
- __exportStar(require("../worker/worker-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,6 +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",
44
- WorkerExtraManuel = "worker:extra:manuel"
43
+ NotifyManual = "notify:manual",
44
+ WorkerManual = "worker:manual"
45
45
  }
@@ -59,6 +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";
63
- Subjects["WorkerExtraManuel"] = "worker:extra:manuel";
62
+ Subjects["NotifyManual"] = "notify:manual";
63
+ Subjects["WorkerManual"] = "worker:manual";
64
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitel/common",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -1,6 +0,0 @@
1
- import { Subjects } from '../../subjects';
2
- import { ExtraManuelPaylod } from './extra-manuel-payload';
3
- export interface NotifyExtraManuelEvent {
4
- subject: Subjects.NotifyExtraManuel;
5
- data: ExtraManuelPaylod;
6
- }
@@ -1,6 +0,0 @@
1
- import { Subjects } from '../subjects';
2
- import { ExtraManuelPaylod } from '../notify/extra/extra-manuel-payload';
3
- export interface WorkerExtraManuelEvent {
4
- subject: Subjects.WorkerExtraManuel;
5
- data: ExtraManuelPaylod;
6
- }