@uniorganization/uni-lib 1.1.67 → 1.1.69

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.
@@ -23,4 +23,5 @@ export declare class DisputeRequest {
23
23
  waiverRequested: boolean;
24
24
  waiverRequestReason: string;
25
25
  waiverRequestDate: Date;
26
+ outcomeReason: string;
26
27
  }
@@ -100,6 +100,10 @@ __decorate([
100
100
  (0, typeorm_1.Column)({ name: 'waiver_request_date' }),
101
101
  __metadata("design:type", Date)
102
102
  ], DisputeRequest.prototype, "waiverRequestDate", void 0);
103
+ __decorate([
104
+ (0, typeorm_1.Column)({ name: 'outcome_reason' }),
105
+ __metadata("design:type", String)
106
+ ], DisputeRequest.prototype, "outcomeReason", void 0);
103
107
  DisputeRequest = __decorate([
104
108
  (0, typeorm_1.Entity)({ name: 'dispute_request', schema: 'tracking' })
105
109
  ], DisputeRequest);
@@ -1,5 +1,6 @@
1
1
  import { Timestamp } from 'typeorm';
2
2
  import { QuestionGroup } from './question-group.entity';
3
+ import { EvaluationAutofailReasons } from './evaluation-autofail-reasons.entity';
3
4
  export interface DivisionLob {
4
5
  division: string;
5
6
  lob: string;
@@ -13,4 +14,5 @@ export declare class EvaluationForms {
13
14
  divisionLob: DivisionLob[];
14
15
  isDefault: boolean;
15
16
  questionGroups: QuestionGroup[];
17
+ autofailReasons: EvaluationAutofailReasons[];
16
18
  }
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.EvaluationForms = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const question_group_entity_1 = require("./question-group.entity");
15
+ const evaluation_autofail_reasons_entity_1 = require("./evaluation-autofail-reasons.entity");
15
16
  let EvaluationForms = class EvaluationForms {
16
17
  };
17
18
  __decorate([
@@ -48,6 +49,10 @@ __decorate([
48
49
  }),
49
50
  __metadata("design:type", Array)
50
51
  ], EvaluationForms.prototype, "questionGroups", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.OneToMany)(() => evaluation_autofail_reasons_entity_1.EvaluationAutofailReasons, (autofailReasons) => autofailReasons.evaluationForm, { cascade: ['insert', 'update', 'remove'] }),
54
+ __metadata("design:type", Array)
55
+ ], EvaluationForms.prototype, "autofailReasons", void 0);
51
56
  EvaluationForms = __decorate([
52
57
  (0, typeorm_1.Entity)('evaluation_form', { schema: 'tracking' })
53
58
  ], EvaluationForms);
@@ -25,6 +25,7 @@ export declare class Evaluations {
25
25
  isWaived: boolean;
26
26
  dateWaived: Date;
27
27
  waiverReason: string;
28
+ outcomeReason: string;
28
29
  agent: Users;
29
30
  evaluator: Users;
30
31
  disputedBy: Users;
@@ -98,6 +98,10 @@ __decorate([
98
98
  (0, typeorm_1.Column)({ name: 'waiver_reason' }),
99
99
  __metadata("design:type", String)
100
100
  ], Evaluations.prototype, "waiverReason", void 0);
101
+ __decorate([
102
+ (0, typeorm_1.Column)({ name: 'outcome_reason' }),
103
+ __metadata("design:type", String)
104
+ ], Evaluations.prototype, "outcomeReason", void 0);
101
105
  __decorate([
102
106
  (0, typeorm_1.ManyToOne)(() => usr_entity_1.Users),
103
107
  (0, typeorm_1.JoinColumn)({ name: 'agent_id' }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniorganization/uni-lib",
3
- "version": "1.1.67",
3
+ "version": "1.1.69",
4
4
  "description": "UNI Library",
5
5
  "author": "Jhomiguel",
6
6
  "main": "dist/index.js",