@sitel/common 1.0.102 → 1.0.103

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.
@@ -0,0 +1,8 @@
1
+ import { Subjects } from '../subjects';
2
+ export interface ConfigPersonArchivedEvent {
3
+ subject: Subjects.ConfigPersonArchived;
4
+ data: {
5
+ personId: number;
6
+ archiveDateUnix: number;
7
+ };
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { Subjects } from '../subjects';
2
+ export interface ConfigPersonQuotaChangedEvent {
3
+ subject: Subjects.ConfigPersonQuotaChange;
4
+ data: {
5
+ personId: number;
6
+ archiveDateUnix: number;
7
+ };
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,4 @@
1
1
  export * from './config-person-created-event';
2
2
  export * from './config-person-updated-event';
3
+ export * from './config-person-archived-event';
4
+ export * from './config-person-quota-changed-event';
@@ -12,3 +12,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./config-person-created-event"), exports);
14
14
  __exportStar(require("./config-person-updated-event"), exports);
15
+ __exportStar(require("./config-person-archived-event"), exports);
16
+ __exportStar(require("./config-person-quota-changed-event"), exports);
@@ -36,6 +36,8 @@ export declare enum Subjects {
36
36
  */
37
37
  ConfigPersonCreated = "config:person:created",
38
38
  ConfigPersonUpdated = "config:person:updated",
39
+ ConfigPersonArchived = "config:person:archived",
40
+ ConfigPersonQuotaChange = "config:person:quota:change",
39
41
  /**
40
42
  * EXTRA This a totaly manuel email to verify the email sending
41
43
  * to be used only by admin
@@ -55,6 +55,9 @@ var Subjects;
55
55
  */
56
56
  Subjects["ConfigPersonCreated"] = "config:person:created";
57
57
  Subjects["ConfigPersonUpdated"] = "config:person:updated";
58
+ // added on 02.08.2023 to handle archive and quota change
59
+ Subjects["ConfigPersonArchived"] = "config:person:archived";
60
+ Subjects["ConfigPersonQuotaChange"] = "config:person:quota:change";
58
61
  /**
59
62
  * EXTRA This a totaly manuel email to verify the email sending
60
63
  * to be used only by admin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitel/common",
3
- "version": "1.0.102",
3
+ "version": "1.0.103",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",