@sendhome/common 1.0.36 → 1.0.38

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.
@@ -6,6 +6,7 @@ export interface UserCreatedEvent {
6
6
  subject: Subjects.UserCreated;
7
7
  data: {
8
8
  id: string;
9
+ user_id: number;
9
10
  name: string;
10
11
  surname: string;
11
12
  gender: string;
@@ -17,7 +18,6 @@ export interface UserCreatedEvent {
17
18
  permissions: number[];
18
19
  status: UserStatus;
19
20
  company: string;
20
- branch: string;
21
21
  country: Country;
22
22
  created_at: Date;
23
23
  updated_at: Date;
@@ -6,6 +6,7 @@ export interface UserUpdatedEvent {
6
6
  subject: Subjects.UserUpdated;
7
7
  data: {
8
8
  id: string;
9
+ user_id: number;
9
10
  name: string;
10
11
  surname: string;
11
12
  gender: string;
@@ -17,7 +18,6 @@ export interface UserUpdatedEvent {
17
18
  permissions: number[];
18
19
  status: UserStatus;
19
20
  company: string;
20
- branch: string;
21
21
  country: Country;
22
22
  created_at: Date;
23
23
  updated_at: Date;
@@ -1,4 +1,7 @@
1
1
  export declare enum CompanyStatus {
2
2
  Created = "created",
3
+ Active = "active",
4
+ Inactive = "inactive",
5
+ Archived = "archived",
3
6
  Published = "deleted"
4
7
  }
@@ -5,6 +5,12 @@ var CompanyStatus;
5
5
  (function (CompanyStatus) {
6
6
  // Company created
7
7
  CompanyStatus["Created"] = "created";
8
+ // Company active
9
+ CompanyStatus["Active"] = "active";
10
+ // Company inactive
11
+ CompanyStatus["Inactive"] = "inactive";
12
+ // Company archived
13
+ CompanyStatus["Archived"] = "archived";
8
14
  // Company deleted
9
15
  CompanyStatus["Published"] = "deleted";
10
16
  })(CompanyStatus = exports.CompanyStatus || (exports.CompanyStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendhome/common",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",