@rufous/aem 1.1.45 → 1.1.47

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,20 @@
1
+ import { Subjects } from './subjects';
2
+ export interface BranchCreatedAndUpdatedEvent {
3
+ subject: Subjects.BranchCreatedAndUpdated;
4
+ data: {
5
+ id: string;
6
+ name: string;
7
+ companyId: string;
8
+ partnerId: string;
9
+ parentCompanyId: string;
10
+ legalName: string;
11
+ addressLine1: string;
12
+ status: string;
13
+ city: string;
14
+ state: string;
15
+ country: string;
16
+ pincode: string;
17
+ addedBy: string;
18
+ addedAt: Date;
19
+ };
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { Subjects } from './subjects';
2
+ export interface BranchDeletedEvent {
3
+ subject: Subjects.BranchDeleted;
4
+ data: {
5
+ id: string;
6
+ };
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -35,5 +35,6 @@ export interface CompanyEmployeeCreatedEvent {
35
35
  country: string;
36
36
  groups: string[];
37
37
  profiles: any[];
38
+ branch: string;
38
39
  };
39
40
  }
@@ -22,5 +22,6 @@ export interface EmployeeCreatedEvent {
22
22
  profileImageName: string;
23
23
  designation: string;
24
24
  country: string;
25
+ branch: string;
25
26
  };
26
27
  }
@@ -37,5 +37,6 @@ export interface PartnerEmployeeCreatedEvent {
37
37
  groups: string[];
38
38
  country: string;
39
39
  profiles: any[];
40
+ branch: string;
40
41
  };
41
42
  }
@@ -32,6 +32,8 @@ export declare enum Subjects {
32
32
  LeaveTypeDeleted = "leave:type:deleted",
33
33
  IndustryAdded = "industry:added",
34
34
  BankAccountCreated = "bank:account:created",
35
+ BranchCreatedAndUpdated = "branch:created:and:updated",
36
+ BranchDeleted = "branch:deleted",
35
37
  CandidateCreated = "candidate:created",
36
38
  centralUserEmployeeAdded = "central:user:employee:added",
37
39
  centralUserProfileUpdated = "central:user:profile:updated",
@@ -36,6 +36,8 @@ var Subjects;
36
36
  Subjects["LeaveTypeDeleted"] = "leave:type:deleted";
37
37
  Subjects["IndustryAdded"] = "industry:added";
38
38
  Subjects["BankAccountCreated"] = "bank:account:created";
39
+ Subjects["BranchCreatedAndUpdated"] = "branch:created:and:updated";
40
+ Subjects["BranchDeleted"] = "branch:deleted";
39
41
  Subjects["CandidateCreated"] = "candidate:created";
40
42
  Subjects["centralUserEmployeeAdded"] = "central:user:employee:added";
41
43
  Subjects["centralUserProfileUpdated"] = "central:user:profile:updated";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rufous/aem",
3
- "version": "1.1.45",
3
+ "version": "1.1.47",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [