@platform-modules/foreign-ministry 1.1.48 → 1.1.49

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.
@@ -17,5 +17,5 @@ export declare class FinancialWorkFlow extends BaseModel {
17
17
  approved_by_role_id: number;
18
18
  step_order: number;
19
19
  financialRequest?: FinancialRequests;
20
- constructor(financial_request_id: number, status: FinancialWorkFlowStatus, approved_by_user_id: number, content: string);
20
+ constructor(financial_request_id: number, status: FinancialWorkFlowStatus, approved_by_user_id: number, content: string, step_order: number);
21
21
  }
@@ -22,7 +22,7 @@ var FinancialWorkFlowStatus;
22
22
  FinancialWorkFlowStatus["FAILED"] = "Failed";
23
23
  })(FinancialWorkFlowStatus || (exports.FinancialWorkFlowStatus = FinancialWorkFlowStatus = {}));
24
24
  let FinancialWorkFlow = class FinancialWorkFlow extends BaseModel_1.BaseModel {
25
- constructor(financial_request_id, status, approved_by_user_id, content) {
25
+ constructor(financial_request_id, status, approved_by_user_id, content, step_order) {
26
26
  super();
27
27
  this.financial_request_id = financial_request_id;
28
28
  this.status = status;
@@ -30,6 +30,7 @@ let FinancialWorkFlow = class FinancialWorkFlow extends BaseModel_1.BaseModel {
30
30
  this.content = content;
31
31
  this.financial_approval_id = 0;
32
32
  this.activity_date = new Date();
33
+ this.step_order = step_order;
33
34
  }
34
35
  };
35
36
  exports.FinancialWorkFlow = FinancialWorkFlow;
@@ -72,5 +73,5 @@ __decorate([
72
73
  ], FinancialWorkFlow.prototype, "financialRequest", void 0);
73
74
  exports.FinancialWorkFlow = FinancialWorkFlow = __decorate([
74
75
  (0, typeorm_1.Entity)({ name: 'financial_work_flows' }),
75
- __metadata("design:paramtypes", [Number, String, Number, String])
76
+ __metadata("design:paramtypes", [Number, String, Number, String, Number])
76
77
  ], FinancialWorkFlow);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.1.48",
3
+ "version": "1.1.49",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -44,7 +44,8 @@ export class FinancialWorkFlow extends BaseModel {
44
44
  financial_request_id: number,
45
45
  status: FinancialWorkFlowStatus,
46
46
  approved_by_user_id: number,
47
- content: string
47
+ content: string,
48
+ step_order:number
48
49
  ) {
49
50
  super();
50
51
  this.financial_request_id = financial_request_id;
@@ -53,6 +54,7 @@ export class FinancialWorkFlow extends BaseModel {
53
54
  this.content = content;
54
55
  this.financial_approval_id = 0;
55
56
  this.activity_date = new Date();
57
+ this.step_order = step_order
56
58
  }
57
59
  }
58
60