law-common 2.8.1-beta.6 → 2.8.1-beta.7

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.
@@ -38,6 +38,7 @@ export declare enum ReimbursementActionEnum {
38
38
  UPDATE_PAYMENT = "update_payment"
39
39
  }
40
40
  export declare enum ReimbursementActionSubRowEnum {
41
+ PENDING = "pending",
41
42
  APPROVE = "approve",
42
43
  REJECT = "reject"
43
44
  }
@@ -51,6 +51,7 @@ var ReimbursementActionEnum;
51
51
  })(ReimbursementActionEnum || (exports.ReimbursementActionEnum = ReimbursementActionEnum = {}));
52
52
  var ReimbursementActionSubRowEnum;
53
53
  (function (ReimbursementActionSubRowEnum) {
54
+ ReimbursementActionSubRowEnum["PENDING"] = "pending";
54
55
  ReimbursementActionSubRowEnum["APPROVE"] = "approve";
55
56
  ReimbursementActionSubRowEnum["REJECT"] = "reject";
56
57
  })(ReimbursementActionSubRowEnum || (exports.ReimbursementActionSubRowEnum = ReimbursementActionSubRowEnum = {}));
@@ -89,6 +90,7 @@ var ReimbursementStatusSubRow;
89
90
  })(ReimbursementActionEnum || (exports.ReimbursementActionEnum = ReimbursementActionEnum = {}));
90
91
  (function (ReimbursementActionSubRowEnum) {
91
92
  const actionLabelMap = {
93
+ [ReimbursementActionSubRowEnum.PENDING]: "Pending",
92
94
  [ReimbursementActionSubRowEnum.APPROVE]: "Approve",
93
95
  [ReimbursementActionSubRowEnum.REJECT]: "Reject",
94
96
  };
@@ -1,4 +1,4 @@
1
- import { ReimbursementActionEnum, ReimbursementBillingPresentEnum, ReimbursementBillingTypeEnum, ReimbursementIncurredByEnum, ReimbursementPaymentStatusEnum, ReimbursementStatusEnum, ReimbursementSubRowState } from "../enums/reimbursement.entity.enum";
1
+ import { ReimbursementActionEnum, ReimbursementActionSubRowEnum, ReimbursementBillingPresentEnum, ReimbursementBillingTypeEnum, ReimbursementIncurredByEnum, ReimbursementPaymentStatusEnum, ReimbursementStatusEnum, ReimbursementSubRowState } from "../enums/reimbursement.entity.enum";
2
2
  import { IAuditColumnEntity } from "./audit-column.entity.interface";
3
3
  import { IEntityCreateDto, IEntityFilterData, IEntityUpdateDto } from "./entity.utils.interface";
4
4
  export interface IReimbursementEntity extends IAuditColumnEntity {
@@ -32,6 +32,7 @@ export interface IReimbursementExpenseAllocation {
32
32
  projectId: number;
33
33
  amount: number;
34
34
  state?: ReimbursementSubRowState;
35
+ action?: ReimbursementActionSubRowEnum;
35
36
  }
36
37
  export interface IReimbursementCreateDtoExtra {
37
38
  expenseDetails: IReimbursementExpenseDetails;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "law-common",
3
- "version": "2.8.1-beta.6",
3
+ "version": "2.8.1-beta.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [