law-common 1.2.58-beta.3 → 1.2.58-beta.5

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.
@@ -32,3 +32,7 @@ export * from "./interface/office.Location.update.dto.interface";
32
32
  export * from "./interface/office.location.entity.response";
33
33
  export * from "./interface/billing.timesheet.entity.api";
34
34
  export * from "./interface/billing.entity.api";
35
+ export * from "./interface/bank.create.dto.interface";
36
+ export * from "./interface/bank.update.dto.interface";
37
+ export * from "./interface/bank.entity.api";
38
+ export * from "./interface/bank.entity.response";
@@ -48,3 +48,7 @@ __exportStar(require("./interface/office.Location.update.dto.interface"), export
48
48
  __exportStar(require("./interface/office.location.entity.response"), exports);
49
49
  __exportStar(require("./interface/billing.timesheet.entity.api"), exports);
50
50
  __exportStar(require("./interface/billing.entity.api"), exports);
51
+ __exportStar(require("./interface/bank.create.dto.interface"), exports);
52
+ __exportStar(require("./interface/bank.update.dto.interface"), exports);
53
+ __exportStar(require("./interface/bank.entity.api"), exports);
54
+ __exportStar(require("./interface/bank.entity.response"), exports);
@@ -0,0 +1,3 @@
1
+ import { IBankEntity, IEntityCreateDto } from "../../entities";
2
+ export interface IBankCreateDto extends IEntityCreateDto<IBankEntity> {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IApiEntity, IBankEntity } from "../../entities";
2
+ export type IBankApiEntity = IApiEntity<IBankEntity>;
3
+ export type IBankApiEntityArray = IBankApiEntity[];
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import { IBankApiEntity } from "./bank.entity.api";
2
+ import { IBaseResponse } from "./base.response.interface";
3
+ export type IBankApiEntityResponse = IBaseResponse<IBankApiEntity>;
4
+ export type IBankApiEntityResponseArray = IBaseResponse<IBankApiEntity[]>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IBankEntity, IEntityUpdateDto } from "../../entities";
2
+ export interface IBankUpdateDto extends IEntityUpdateDto<IBankEntity> {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,7 +7,10 @@ export declare enum UserRoleEnum {
7
7
  admin = "admin",
8
8
  employee = "employee",
9
9
  partner = "partner",
10
- accountant = "accountant"
10
+ accountant = "accountant",
11
+ owner = "owner",
12
+ secretary = "secretary",
13
+ hr = "hr"
11
14
  }
12
15
  export declare namespace UserRoleEnum {
13
16
  function getNames(): string[];
@@ -13,16 +13,19 @@ var UserRoleEnum;
13
13
  UserRoleEnum["employee"] = "employee";
14
14
  UserRoleEnum["partner"] = "partner";
15
15
  UserRoleEnum["accountant"] = "accountant";
16
+ UserRoleEnum["owner"] = "owner";
17
+ UserRoleEnum["secretary"] = "secretary";
18
+ UserRoleEnum["hr"] = "hr";
16
19
  })(UserRoleEnum || (exports.UserRoleEnum = UserRoleEnum = {}));
17
20
  (function (UserRoleEnum) {
18
21
  function getNames() {
19
- return Object.values(UserRoleEnum).filter(value => typeof value === 'string');
22
+ return Object.values(UserRoleEnum).filter((value) => typeof value === "string");
20
23
  }
21
24
  UserRoleEnum.getNames = getNames;
22
25
  })(UserRoleEnum || (exports.UserRoleEnum = UserRoleEnum = {}));
23
26
  (function (UserStatusEnum) {
24
27
  function getNames() {
25
- return Object.values(UserStatusEnum).filter(value => typeof value === 'string');
28
+ return Object.values(UserStatusEnum).filter((value) => typeof value === "string");
26
29
  }
27
30
  UserStatusEnum.getNames = getNames;
28
31
  })(UserStatusEnum || (exports.UserStatusEnum = UserStatusEnum = {}));
@@ -24,3 +24,4 @@ export * from "./interface/billing.entity.interface";
24
24
  export * from "./enums/payment_status.enum";
25
25
  export * from "./enums/billing.timesheet.change.status.enum";
26
26
  export * from "./interface/office.location.entity";
27
+ export * from "./interface/bank.entity.interface";
@@ -40,3 +40,4 @@ __exportStar(require("./interface/billing.entity.interface"), exports);
40
40
  __exportStar(require("./enums/payment_status.enum"), exports);
41
41
  __exportStar(require("./enums/billing.timesheet.change.status.enum"), exports);
42
42
  __exportStar(require("./interface/office.location.entity"), exports);
43
+ __exportStar(require("./interface/bank.entity.interface"), exports);
@@ -0,0 +1,14 @@
1
+ import { IAuditColumnEntity } from "./audit-column.entity.interface";
2
+ import { IEntityFilterData } from "./entity.utils.interface";
3
+ export interface IBankEntity extends IAuditColumnEntity {
4
+ id: number;
5
+ accountName: string;
6
+ organizationId: number;
7
+ bankName: string;
8
+ bankAccountNo: number;
9
+ bankBranchAddress: string;
10
+ micrCode: number;
11
+ ifscCode: string;
12
+ bankEmailId: string;
13
+ }
14
+ export type IBankEntityFilterData = IEntityFilterData<IBankEntity>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,5 +7,6 @@ export interface IOfficeLocationEntity extends IAuditColumnEntity {
7
7
  address: string;
8
8
  zipCode: number;
9
9
  country: CountryEnum;
10
+ organizationId: number;
10
11
  }
11
12
  export type IOfficeLocationEntityFilterData = IEntityFilterData<IOfficeLocationEntity>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "law-common",
3
- "version": "1.2.58-beta.3",
3
+ "version": "1.2.58-beta.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [