@rufous/aem 1.1.2 → 1.1.4

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,13 @@
1
+ import { Subjects } from './subjects';
2
+ export interface EmployeeGroupCreatedEvent {
3
+ subject: Subjects.EmployeeGroup;
4
+ data: {
5
+ id: string;
6
+ name: string;
7
+ companyId: string;
8
+ employees: string[];
9
+ createdBy: string;
10
+ createdAt: Date;
11
+ updatedAt: Date;
12
+ };
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -24,8 +24,8 @@ export interface PartnerEmployeeCreatedEvent {
24
24
  registerAs: string;
25
25
  profileImageName: string;
26
26
  designation: string;
27
- roles: [string];
28
- projects: [string];
27
+ roles: string[];
28
+ projects: string[];
29
29
  gender: string;
30
30
  address: string;
31
31
  dateOfJoin: string;
@@ -33,7 +33,8 @@ export interface PartnerEmployeeCreatedEvent {
33
33
  panNumber: string;
34
34
  experience: number;
35
35
  reportingManager: string;
36
- team: [string];
36
+ team: string;
37
+ groups: string[];
37
38
  country: string;
38
39
  };
39
40
  }
@@ -33,6 +33,7 @@ export declare enum Subjects {
33
33
  SuperuserUpdated = "superuser:updated",
34
34
  EmployeeCreated = "employee:created",
35
35
  EmployeeUpdated = "employee:updated",
36
+ EmployeeGroup = "employee:group",
36
37
  SendNewEmail = "generic:send:email",
37
38
  SendNewSMS = "generic:send:sms",
38
39
  CreateOrder = "create:order",
@@ -37,6 +37,7 @@ var Subjects;
37
37
  Subjects["SuperuserUpdated"] = "superuser:updated";
38
38
  Subjects["EmployeeCreated"] = "employee:created";
39
39
  Subjects["EmployeeUpdated"] = "employee:updated";
40
+ Subjects["EmployeeGroup"] = "employee:group";
40
41
  Subjects["SendNewEmail"] = "generic:send:email";
41
42
  Subjects["SendNewSMS"] = "generic:send:sms";
42
43
  Subjects["CreateOrder"] = "create:order";
package/build/index.d.ts CHANGED
@@ -108,6 +108,7 @@ export * from './events/user-created-event';
108
108
  export * from './events/job-matched-count-event';
109
109
  export * from './events/partner-job-matched-candidates-count-event';
110
110
  export * from './events/team-created-event';
111
+ export * from './events/employee-group-created-event';
111
112
  export * from './types/access-level';
112
113
  export * from './types/asset-status';
113
114
  export * from './types/asset-allocation-status';
package/build/index.js CHANGED
@@ -121,6 +121,7 @@ __exportStar(require("./events/user-created-event"), exports);
121
121
  __exportStar(require("./events/job-matched-count-event"), exports);
122
122
  __exportStar(require("./events/partner-job-matched-candidates-count-event"), exports);
123
123
  __exportStar(require("./events/team-created-event"), exports);
124
+ __exportStar(require("./events/employee-group-created-event"), exports);
124
125
  __exportStar(require("./types/access-level"), exports);
125
126
  __exportStar(require("./types/asset-status"), exports);
126
127
  __exportStar(require("./types/asset-allocation-status"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rufous/aem",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [