plac-micro-common 1.3.117 → 1.3.119

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.
Files changed (40) hide show
  1. package/CLAUDE.md +90 -0
  2. package/README.md +31 -0
  3. package/dist/models/application/application.entity.js +12 -3
  4. package/dist/models/core/product/promotion_org.entity.js +9 -3
  5. package/dist/models/core/product/promotion_product.entity.js +1 -1
  6. package/dist/models/customer/customer_loan_person.entity.js +8 -2
  7. package/dist/models/index.d.ts +2 -0
  8. package/dist/models/index.js +2 -0
  9. package/dist/models/ingenium/index.d.ts +9 -0
  10. package/dist/models/ingenium/index.js +26 -0
  11. package/dist/models/ingenium/tcli.entity.d.ts +41 -0
  12. package/dist/models/ingenium/tcli.entity.js +175 -0
  13. package/dist/models/ingenium/tcvg.entity.d.ts +40 -0
  14. package/dist/models/ingenium/tcvg.entity.js +172 -0
  15. package/dist/models/ingenium/tcvgc.entity.d.ts +14 -0
  16. package/dist/models/ingenium/tcvgc.entity.js +73 -0
  17. package/dist/models/ingenium/tedit.entity.d.ts +12 -0
  18. package/dist/models/ingenium/tedit.entity.js +63 -0
  19. package/dist/models/ingenium/tpol.entity.d.ts +54 -0
  20. package/dist/models/ingenium/tpol.entity.js +230 -0
  21. package/dist/models/ingenium/tpolc.entity.d.ts +15 -0
  22. package/dist/models/ingenium/tpolc.entity.js +78 -0
  23. package/dist/models/ingenium/treqt.entity.d.ts +24 -0
  24. package/dist/models/ingenium/treqt.entity.js +114 -0
  25. package/dist/models/underwriting/index.d.ts +4 -0
  26. package/dist/models/underwriting/index.js +8 -0
  27. package/dist/models/underwriting/uw_case.entity.d.ts +21 -0
  28. package/dist/models/underwriting/uw_case.entity.js +102 -0
  29. package/dist/models/underwriting/uw_case_event.entity.d.ts +16 -0
  30. package/dist/models/underwriting/uw_case_event.entity.js +78 -0
  31. package/dist/types/application.type.d.ts +5 -0
  32. package/dist/types/application.type.js +7 -1
  33. package/dist/types/permission.type.d.ts +3 -1
  34. package/dist/types/permission.type.js +3 -0
  35. package/dist/types/underwriting.type.d.ts +9 -0
  36. package/dist/types/underwriting.type.js +15 -1
  37. package/dist/utils/frontend/data.util.d.ts +27 -1
  38. package/dist/utils/frontend/data.util.js +364 -0
  39. package/package.json +3 -2
  40. package/scripts/wait-for-pg.sh +18 -0
@@ -0,0 +1,172 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.TCvgEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _base_entity_1 = require("../_base_entity");
15
+ let TCvgEntity = class TCvgEntity extends _base_entity_1._BaseEntity {
16
+ };
17
+ exports.TCvgEntity = TCvgEntity;
18
+ __decorate([
19
+ (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
20
+ __metadata("design:type", String)
21
+ ], TCvgEntity.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.Column)({ type: "varchar", length: 5 }),
24
+ __metadata("design:type", String)
25
+ ], TCvgEntity.prototype, "CO_ID", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Index)(),
28
+ (0, typeorm_1.Column)({ type: "varchar", length: 20 }),
29
+ __metadata("design:type", String)
30
+ ], TCvgEntity.prototype, "POL_ID", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ type: "varchar", length: 5 }),
33
+ __metadata("design:type", String)
34
+ ], TCvgEntity.prototype, "CVG_NUM", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Index)(),
37
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
38
+ __metadata("design:type", Object)
39
+ ], TCvgEntity.prototype, "PLAN_ID", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
42
+ __metadata("design:type", Object)
43
+ ], TCvgEntity.prototype, "REL_CVG_NUM", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
46
+ __metadata("design:type", Object)
47
+ ], TCvgEntity.prototype, "CVG_INS_TYP_CD", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Index)(),
50
+ (0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
51
+ __metadata("design:type", Object)
52
+ ], TCvgEntity.prototype, "CVG_CSTAT_CD", void 0);
53
+ __decorate([
54
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
55
+ __metadata("design:type", Object)
56
+ ], TCvgEntity.prototype, "CVG_ISS_EFF_DT", void 0);
57
+ __decorate([
58
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
59
+ __metadata("design:type", Object)
60
+ ], TCvgEntity.prototype, "CVG_MAT_XPRY_DT", void 0);
61
+ __decorate([
62
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
63
+ __metadata("design:type", Object)
64
+ ], TCvgEntity.prototype, "CVG_APP_RECV_DT", void 0);
65
+ __decorate([
66
+ (0, typeorm_1.Column)({ type: "varchar", length: 1, nullable: true }),
67
+ __metadata("design:type", Object)
68
+ ], TCvgEntity.prototype, "CVG_SEX_CD", void 0);
69
+ __decorate([
70
+ (0, typeorm_1.Column)({ type: "varchar", length: 1, nullable: true }),
71
+ __metadata("design:type", Object)
72
+ ], TCvgEntity.prototype, "CVG_SMKR_CD", void 0);
73
+ __decorate([
74
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
75
+ __metadata("design:type", Object)
76
+ ], TCvgEntity.prototype, "CVG_RT_AGE", void 0);
77
+ __decorate([
78
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
79
+ __metadata("design:type", Object)
80
+ ], TCvgEntity.prototype, "CVG_OCCP_CLAS_CD", void 0);
81
+ __decorate([
82
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
83
+ __metadata("design:type", Object)
84
+ ], TCvgEntity.prototype, "CVG_FACE_AMT", void 0);
85
+ __decorate([
86
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
87
+ __metadata("design:type", Object)
88
+ ], TCvgEntity.prototype, "CVG_MPREM_AMT", void 0);
89
+ __decorate([
90
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
91
+ __metadata("design:type", Object)
92
+ ], TCvgEntity.prototype, "CVG_BP_DUR", void 0);
93
+ __decorate([
94
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
95
+ __metadata("design:type", Object)
96
+ ], TCvgEntity.prototype, "CVG_BASIC_PREM_AMT", void 0);
97
+ __decorate([
98
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
99
+ __metadata("design:type", Object)
100
+ ], TCvgEntity.prototype, "CVG_PFEE_AMT", void 0);
101
+ __decorate([
102
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
103
+ __metadata("design:type", Object)
104
+ ], TCvgEntity.prototype, "CVG_FE_PREM_AMT", void 0);
105
+ __decorate([
106
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
107
+ __metadata("design:type", Object)
108
+ ], TCvgEntity.prototype, "CVG_FE_UPREM_AMT", void 0);
109
+ __decorate([
110
+ (0, typeorm_1.Column)({ type: "int", nullable: true }),
111
+ __metadata("design:type", Object)
112
+ ], TCvgEntity.prototype, "CVG_FE_DUR", void 0);
113
+ __decorate([
114
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
115
+ __metadata("design:type", Object)
116
+ ], TCvgEntity.prototype, "CVG_FE_REASN_CD", void 0);
117
+ __decorate([
118
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
119
+ __metadata("design:type", Object)
120
+ ], TCvgEntity.prototype, "CVG_ME_PREM_AMT", void 0);
121
+ __decorate([
122
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 7, nullable: true }),
123
+ __metadata("design:type", Object)
124
+ ], TCvgEntity.prototype, "CVG_ME_FCT", void 0);
125
+ __decorate([
126
+ (0, typeorm_1.Column)({ type: "int", nullable: true }),
127
+ __metadata("design:type", Object)
128
+ ], TCvgEntity.prototype, "CVG_ME_DUR", void 0);
129
+ __decorate([
130
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
131
+ __metadata("design:type", Object)
132
+ ], TCvgEntity.prototype, "CVG_ME_RAT_CD", void 0);
133
+ __decorate([
134
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
135
+ __metadata("design:type", Object)
136
+ ], TCvgEntity.prototype, "CVG_ME_REASN_CD", void 0);
137
+ __decorate([
138
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
139
+ __metadata("design:type", Object)
140
+ ], TCvgEntity.prototype, "CVG_AD_PREM_AMT", void 0);
141
+ __decorate([
142
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
143
+ __metadata("design:type", Object)
144
+ ], TCvgEntity.prototype, "CVG_WP_PREM_AMT", void 0);
145
+ __decorate([
146
+ (0, typeorm_1.Column)({ type: "varchar", length: 1, nullable: true }),
147
+ __metadata("design:type", Object)
148
+ ], TCvgEntity.prototype, "CVG_WP_IND", void 0);
149
+ __decorate([
150
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
151
+ __metadata("design:type", Object)
152
+ ], TCvgEntity.prototype, "CVG_UWGDECN_CD", void 0);
153
+ __decorate([
154
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
155
+ __metadata("design:type", Object)
156
+ ], TCvgEntity.prototype, "CVG_PRST_RAT_PCT", void 0);
157
+ __decorate([
158
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
159
+ __metadata("design:type", Object)
160
+ ], TCvgEntity.prototype, "PREV_UPDT_USER_ID", void 0);
161
+ __decorate([
162
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
163
+ __metadata("design:type", Object)
164
+ ], TCvgEntity.prototype, "PREV_UPDT_DT", void 0);
165
+ __decorate([
166
+ (0, typeorm_1.Column)({ type: "timestamptz", nullable: true }),
167
+ __metadata("design:type", Object)
168
+ ], TCvgEntity.prototype, "synced_at", void 0);
169
+ exports.TCvgEntity = TCvgEntity = __decorate([
170
+ (0, typeorm_1.Entity)({ schema: "ingenium", name: "TCVG" }),
171
+ (0, typeorm_1.Unique)("uq_tcvg_co_pol_cvg", ["CO_ID", "POL_ID", "CVG_NUM"])
172
+ ], TCvgEntity);
@@ -0,0 +1,14 @@
1
+ import { _BaseEntity } from "../_base_entity";
2
+ export declare class TCvgcEntity extends _BaseEntity {
3
+ id: string;
4
+ CO_ID: string;
5
+ POL_ID: string;
6
+ CVG_NUM: string;
7
+ INSRD_CLI_ID: string;
8
+ CVG_CLI_REL_TYP_CD: string;
9
+ CVG_CLI_ISS_AGE?: number | null;
10
+ CVG_CLI_ADJ_AGE?: number | null;
11
+ PREV_UPDT_USER_ID?: string | null;
12
+ PREV_UPDT_DT?: string | null;
13
+ synced_at?: Date | null;
14
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.TCvgcEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _base_entity_1 = require("../_base_entity");
15
+ let TCvgcEntity = class TCvgcEntity extends _base_entity_1._BaseEntity {
16
+ };
17
+ exports.TCvgcEntity = TCvgcEntity;
18
+ __decorate([
19
+ (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
20
+ __metadata("design:type", String)
21
+ ], TCvgcEntity.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.Column)({ type: "varchar", length: 5 }),
24
+ __metadata("design:type", String)
25
+ ], TCvgcEntity.prototype, "CO_ID", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Index)(),
28
+ (0, typeorm_1.Column)({ type: "varchar", length: 20 }),
29
+ __metadata("design:type", String)
30
+ ], TCvgcEntity.prototype, "POL_ID", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ type: "varchar", length: 5 }),
33
+ __metadata("design:type", String)
34
+ ], TCvgcEntity.prototype, "CVG_NUM", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Index)(),
37
+ (0, typeorm_1.Column)({ type: "varchar", length: 20 }),
38
+ __metadata("design:type", String)
39
+ ], TCvgcEntity.prototype, "INSRD_CLI_ID", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)({ type: "varchar", length: 5 }),
42
+ __metadata("design:type", String)
43
+ ], TCvgcEntity.prototype, "CVG_CLI_REL_TYP_CD", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)({ type: "int", nullable: true }),
46
+ __metadata("design:type", Object)
47
+ ], TCvgcEntity.prototype, "CVG_CLI_ISS_AGE", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)({ type: "int", nullable: true }),
50
+ __metadata("design:type", Object)
51
+ ], TCvgcEntity.prototype, "CVG_CLI_ADJ_AGE", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
54
+ __metadata("design:type", Object)
55
+ ], TCvgcEntity.prototype, "PREV_UPDT_USER_ID", void 0);
56
+ __decorate([
57
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
58
+ __metadata("design:type", Object)
59
+ ], TCvgcEntity.prototype, "PREV_UPDT_DT", void 0);
60
+ __decorate([
61
+ (0, typeorm_1.Column)({ type: "timestamptz", nullable: true }),
62
+ __metadata("design:type", Object)
63
+ ], TCvgcEntity.prototype, "synced_at", void 0);
64
+ exports.TCvgcEntity = TCvgcEntity = __decorate([
65
+ (0, typeorm_1.Entity)({ schema: "ingenium", name: "TCVGC" }),
66
+ (0, typeorm_1.Unique)("uq_tcvgc_co_pol_cvg_rel_cli", [
67
+ "CO_ID",
68
+ "POL_ID",
69
+ "CVG_NUM",
70
+ "CVG_CLI_REL_TYP_CD",
71
+ "INSRD_CLI_ID",
72
+ ])
73
+ ], TCvgcEntity);
@@ -0,0 +1,12 @@
1
+ import { _BaseEntity } from "../_base_entity";
2
+ export declare class TEditEntity extends _BaseEntity {
3
+ id: string;
4
+ CO_ID: string;
5
+ ETBL_TYP_ID: string;
6
+ ETBL_VALU_ID: string;
7
+ ETBL_LANG_CD: string;
8
+ ETBL_DESC_TXT?: string | null;
9
+ PREV_UPDT_USER_ID?: string | null;
10
+ PREV_UPDT_DT?: string | null;
11
+ synced_at?: Date | null;
12
+ }
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.TEditEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _base_entity_1 = require("../_base_entity");
15
+ let TEditEntity = class TEditEntity extends _base_entity_1._BaseEntity {
16
+ };
17
+ exports.TEditEntity = TEditEntity;
18
+ __decorate([
19
+ (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
20
+ __metadata("design:type", String)
21
+ ], TEditEntity.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.Column)({ type: "varchar", length: 5 }),
24
+ __metadata("design:type", String)
25
+ ], TEditEntity.prototype, "CO_ID", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Index)(),
28
+ (0, typeorm_1.Column)({ type: "varchar", length: 10 }),
29
+ __metadata("design:type", String)
30
+ ], TEditEntity.prototype, "ETBL_TYP_ID", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ type: "varchar", length: 20 }),
33
+ __metadata("design:type", String)
34
+ ], TEditEntity.prototype, "ETBL_VALU_ID", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ type: "varchar", length: 5 }),
37
+ __metadata("design:type", String)
38
+ ], TEditEntity.prototype, "ETBL_LANG_CD", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
41
+ __metadata("design:type", Object)
42
+ ], TEditEntity.prototype, "ETBL_DESC_TXT", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
45
+ __metadata("design:type", Object)
46
+ ], TEditEntity.prototype, "PREV_UPDT_USER_ID", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
49
+ __metadata("design:type", Object)
50
+ ], TEditEntity.prototype, "PREV_UPDT_DT", void 0);
51
+ __decorate([
52
+ (0, typeorm_1.Column)({ type: "timestamptz", nullable: true }),
53
+ __metadata("design:type", Object)
54
+ ], TEditEntity.prototype, "synced_at", void 0);
55
+ exports.TEditEntity = TEditEntity = __decorate([
56
+ (0, typeorm_1.Entity)({ schema: "ingenium", name: "TEDIT" }),
57
+ (0, typeorm_1.Unique)("uq_tedit_co_typ_valu_lang", [
58
+ "CO_ID",
59
+ "ETBL_TYP_ID",
60
+ "ETBL_VALU_ID",
61
+ "ETBL_LANG_CD",
62
+ ])
63
+ ], TEditEntity);
@@ -0,0 +1,54 @@
1
+ import { _BaseEntity } from "../_base_entity";
2
+ export declare class TPolEntity extends _BaseEntity {
3
+ id: string;
4
+ CO_ID: string;
5
+ POL_ID: string;
6
+ POL_APPL_CTL_CD?: string | null;
7
+ SBSDRY_CO_ID?: string | null;
8
+ PLAN_ID?: string | null;
9
+ POL_INS_TYP_CD?: string | null;
10
+ POL_INS_PURP_CD?: string | null;
11
+ POL_BUS_CLAS_CD?: string | null;
12
+ POL_CSTAT_CD?: string | null;
13
+ POL_PREV_CSTAT_CD?: string | null;
14
+ POL_STAT_CHNG_DT?: string | null;
15
+ POL_SPND_IND?: string | null;
16
+ POL_REJ_REASN_CD?: string | null;
17
+ POL_CEAS_DT?: string | null;
18
+ POL_CEAS_REASN_CD?: string | null;
19
+ POL_NXT_ACTV_DT?: string | null;
20
+ NXT_ACTV_TYP_CD?: string | null;
21
+ POL_FINAL_DISP_DT?: string | null;
22
+ POL_ISS_EFF_DT?: string | null;
23
+ POL_ISS_DT_TYP_CD?: string | null;
24
+ POL_ISS_LOC_CD?: string | null;
25
+ POL_CTRY_CD?: string | null;
26
+ POL_PRT_DT?: string | null;
27
+ POL_BASE_CVG_NUM?: number | null;
28
+ POL_PAR_CVG_NUM?: number | null;
29
+ POL_CVG_REC_CTR?: string | null;
30
+ POL_CRCY_CD?: string | null;
31
+ POL_BILL_MODE_CD?: string | null;
32
+ POL_PD_TO_DT_NUM?: string | null;
33
+ POL_BILL_TO_DT_NUM?: string | null;
34
+ POL_TOT_BILL_AMT?: number | null;
35
+ POL_MPREM_AMT?: number | null;
36
+ POL_GRS_APREM_AMT?: number | null;
37
+ POL_CRNT_MODE_FCT?: number | null;
38
+ PLAN_PERI_PREM_AMT?: number | null;
39
+ POL_PREV_FACE_AMT?: number | null;
40
+ SERV_BR_ID?: string | null;
41
+ SERV_AGT_ID?: string | null;
42
+ SERV_AGT_ASIGN_DT?: string | null;
43
+ ORIG_SERV_AGT_ID?: string | null;
44
+ APP_FORM_TYP_ID?: string | null;
45
+ POL_APP_RECV_DT?: string | null;
46
+ POL_APP_SIGN_DT?: string | null;
47
+ POL_TEMP_RECPT_DT?: string | null;
48
+ POL_APP_RECPT_ID?: string | null;
49
+ POL_COMNT_TXT?: string | null;
50
+ PREV_UPDT_USER_ID?: string | null;
51
+ PREV_UPDT_DT?: string | null;
52
+ PREV_FILE_MAINT_DT?: string | null;
53
+ synced_at?: Date | null;
54
+ }
@@ -0,0 +1,230 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.TPolEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _base_entity_1 = require("../_base_entity");
15
+ let TPolEntity = class TPolEntity extends _base_entity_1._BaseEntity {
16
+ };
17
+ exports.TPolEntity = TPolEntity;
18
+ __decorate([
19
+ (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
20
+ __metadata("design:type", String)
21
+ ], TPolEntity.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.Column)({ type: "varchar", length: 5 }),
24
+ __metadata("design:type", String)
25
+ ], TPolEntity.prototype, "CO_ID", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Column)({ type: "varchar", length: 20 }),
28
+ __metadata("design:type", String)
29
+ ], TPolEntity.prototype, "POL_ID", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
32
+ __metadata("design:type", Object)
33
+ ], TPolEntity.prototype, "POL_APPL_CTL_CD", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
36
+ __metadata("design:type", Object)
37
+ ], TPolEntity.prototype, "SBSDRY_CO_ID", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Index)(),
40
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
41
+ __metadata("design:type", Object)
42
+ ], TPolEntity.prototype, "PLAN_ID", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
45
+ __metadata("design:type", Object)
46
+ ], TPolEntity.prototype, "POL_INS_TYP_CD", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
49
+ __metadata("design:type", Object)
50
+ ], TPolEntity.prototype, "POL_INS_PURP_CD", void 0);
51
+ __decorate([
52
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
53
+ __metadata("design:type", Object)
54
+ ], TPolEntity.prototype, "POL_BUS_CLAS_CD", void 0);
55
+ __decorate([
56
+ (0, typeorm_1.Index)(),
57
+ (0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
58
+ __metadata("design:type", Object)
59
+ ], TPolEntity.prototype, "POL_CSTAT_CD", void 0);
60
+ __decorate([
61
+ (0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
62
+ __metadata("design:type", Object)
63
+ ], TPolEntity.prototype, "POL_PREV_CSTAT_CD", void 0);
64
+ __decorate([
65
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
66
+ __metadata("design:type", Object)
67
+ ], TPolEntity.prototype, "POL_STAT_CHNG_DT", void 0);
68
+ __decorate([
69
+ (0, typeorm_1.Column)({ type: "varchar", length: 1, nullable: true }),
70
+ __metadata("design:type", Object)
71
+ ], TPolEntity.prototype, "POL_SPND_IND", void 0);
72
+ __decorate([
73
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
74
+ __metadata("design:type", Object)
75
+ ], TPolEntity.prototype, "POL_REJ_REASN_CD", void 0);
76
+ __decorate([
77
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
78
+ __metadata("design:type", Object)
79
+ ], TPolEntity.prototype, "POL_CEAS_DT", void 0);
80
+ __decorate([
81
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
82
+ __metadata("design:type", Object)
83
+ ], TPolEntity.prototype, "POL_CEAS_REASN_CD", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
86
+ __metadata("design:type", Object)
87
+ ], TPolEntity.prototype, "POL_NXT_ACTV_DT", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
90
+ __metadata("design:type", Object)
91
+ ], TPolEntity.prototype, "NXT_ACTV_TYP_CD", void 0);
92
+ __decorate([
93
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
94
+ __metadata("design:type", Object)
95
+ ], TPolEntity.prototype, "POL_FINAL_DISP_DT", void 0);
96
+ __decorate([
97
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
98
+ __metadata("design:type", Object)
99
+ ], TPolEntity.prototype, "POL_ISS_EFF_DT", void 0);
100
+ __decorate([
101
+ (0, typeorm_1.Column)({ type: "varchar", length: 1, nullable: true }),
102
+ __metadata("design:type", Object)
103
+ ], TPolEntity.prototype, "POL_ISS_DT_TYP_CD", void 0);
104
+ __decorate([
105
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
106
+ __metadata("design:type", Object)
107
+ ], TPolEntity.prototype, "POL_ISS_LOC_CD", void 0);
108
+ __decorate([
109
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
110
+ __metadata("design:type", Object)
111
+ ], TPolEntity.prototype, "POL_CTRY_CD", void 0);
112
+ __decorate([
113
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
114
+ __metadata("design:type", Object)
115
+ ], TPolEntity.prototype, "POL_PRT_DT", void 0);
116
+ __decorate([
117
+ (0, typeorm_1.Column)({ type: "int", nullable: true }),
118
+ __metadata("design:type", Object)
119
+ ], TPolEntity.prototype, "POL_BASE_CVG_NUM", void 0);
120
+ __decorate([
121
+ (0, typeorm_1.Column)({ type: "int", nullable: true }),
122
+ __metadata("design:type", Object)
123
+ ], TPolEntity.prototype, "POL_PAR_CVG_NUM", void 0);
124
+ __decorate([
125
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
126
+ __metadata("design:type", Object)
127
+ ], TPolEntity.prototype, "POL_CVG_REC_CTR", void 0);
128
+ __decorate([
129
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
130
+ __metadata("design:type", Object)
131
+ ], TPolEntity.prototype, "POL_CRCY_CD", void 0);
132
+ __decorate([
133
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
134
+ __metadata("design:type", Object)
135
+ ], TPolEntity.prototype, "POL_BILL_MODE_CD", void 0);
136
+ __decorate([
137
+ (0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
138
+ __metadata("design:type", Object)
139
+ ], TPolEntity.prototype, "POL_PD_TO_DT_NUM", void 0);
140
+ __decorate([
141
+ (0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
142
+ __metadata("design:type", Object)
143
+ ], TPolEntity.prototype, "POL_BILL_TO_DT_NUM", void 0);
144
+ __decorate([
145
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
146
+ __metadata("design:type", Object)
147
+ ], TPolEntity.prototype, "POL_TOT_BILL_AMT", void 0);
148
+ __decorate([
149
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
150
+ __metadata("design:type", Object)
151
+ ], TPolEntity.prototype, "POL_MPREM_AMT", void 0);
152
+ __decorate([
153
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
154
+ __metadata("design:type", Object)
155
+ ], TPolEntity.prototype, "POL_GRS_APREM_AMT", void 0);
156
+ __decorate([
157
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 7, nullable: true }),
158
+ __metadata("design:type", Object)
159
+ ], TPolEntity.prototype, "POL_CRNT_MODE_FCT", void 0);
160
+ __decorate([
161
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
162
+ __metadata("design:type", Object)
163
+ ], TPolEntity.prototype, "PLAN_PERI_PREM_AMT", void 0);
164
+ __decorate([
165
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
166
+ __metadata("design:type", Object)
167
+ ], TPolEntity.prototype, "POL_PREV_FACE_AMT", void 0);
168
+ __decorate([
169
+ (0, typeorm_1.Index)(),
170
+ (0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
171
+ __metadata("design:type", Object)
172
+ ], TPolEntity.prototype, "SERV_BR_ID", void 0);
173
+ __decorate([
174
+ (0, typeorm_1.Index)(),
175
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
176
+ __metadata("design:type", Object)
177
+ ], TPolEntity.prototype, "SERV_AGT_ID", void 0);
178
+ __decorate([
179
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
180
+ __metadata("design:type", Object)
181
+ ], TPolEntity.prototype, "SERV_AGT_ASIGN_DT", void 0);
182
+ __decorate([
183
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
184
+ __metadata("design:type", Object)
185
+ ], TPolEntity.prototype, "ORIG_SERV_AGT_ID", void 0);
186
+ __decorate([
187
+ (0, typeorm_1.Column)({ type: "varchar", length: 5, nullable: true }),
188
+ __metadata("design:type", Object)
189
+ ], TPolEntity.prototype, "APP_FORM_TYP_ID", void 0);
190
+ __decorate([
191
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
192
+ __metadata("design:type", Object)
193
+ ], TPolEntity.prototype, "POL_APP_RECV_DT", void 0);
194
+ __decorate([
195
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
196
+ __metadata("design:type", Object)
197
+ ], TPolEntity.prototype, "POL_APP_SIGN_DT", void 0);
198
+ __decorate([
199
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
200
+ __metadata("design:type", Object)
201
+ ], TPolEntity.prototype, "POL_TEMP_RECPT_DT", void 0);
202
+ __decorate([
203
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
204
+ __metadata("design:type", Object)
205
+ ], TPolEntity.prototype, "POL_APP_RECPT_ID", void 0);
206
+ __decorate([
207
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
208
+ __metadata("design:type", Object)
209
+ ], TPolEntity.prototype, "POL_COMNT_TXT", void 0);
210
+ __decorate([
211
+ (0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
212
+ __metadata("design:type", Object)
213
+ ], TPolEntity.prototype, "PREV_UPDT_USER_ID", void 0);
214
+ __decorate([
215
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
216
+ __metadata("design:type", Object)
217
+ ], TPolEntity.prototype, "PREV_UPDT_DT", void 0);
218
+ __decorate([
219
+ (0, typeorm_1.Index)(),
220
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
221
+ __metadata("design:type", Object)
222
+ ], TPolEntity.prototype, "PREV_FILE_MAINT_DT", void 0);
223
+ __decorate([
224
+ (0, typeorm_1.Column)({ type: "timestamptz", nullable: true }),
225
+ __metadata("design:type", Object)
226
+ ], TPolEntity.prototype, "synced_at", void 0);
227
+ exports.TPolEntity = TPolEntity = __decorate([
228
+ (0, typeorm_1.Entity)({ schema: "ingenium", name: "TPOL" }),
229
+ (0, typeorm_1.Unique)("uq_tpol_co_pol", ["CO_ID", "POL_ID"])
230
+ ], TPolEntity);
@@ -0,0 +1,15 @@
1
+ import { _BaseEntity } from "../_base_entity";
2
+ export declare class TPolcEntity extends _BaseEntity {
3
+ id: string;
4
+ CO_ID: string;
5
+ POL_ID: string;
6
+ CLI_ID: string;
7
+ POL_CLI_REL_TYP_CD: string;
8
+ POL_CLI_REL_SUB_CD?: string | null;
9
+ POL_CLI_INSRD_CD?: string | null;
10
+ CLI_ADDR_TYP_CD?: string | null;
11
+ POL_CLI_ASIGN_DT?: string | null;
12
+ PREV_UPDT_USER_ID?: string | null;
13
+ PREV_UPDT_DT?: string | null;
14
+ synced_at?: Date | null;
15
+ }