easywork-common-lib 1.0.752 → 1.0.754
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.
- package/dist/common/enums/sales.enum.d.ts +33 -6
- package/dist/common/enums/sales.enum.js +39 -8
- package/dist/common/enums/sales.enum.js.map +1 -1
- package/dist/entities/sales/index.d.ts +0 -1
- package/dist/entities/sales/index.js +0 -1
- package/dist/entities/sales/index.js.map +1 -1
- package/dist/entities/sales/poliza/index.d.ts +4 -0
- package/dist/entities/sales/poliza/index.js +4 -0
- package/dist/entities/sales/poliza/index.js.map +1 -1
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js +35 -0
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_claim.entity.d.ts +34 -0
- package/dist/entities/sales/poliza/poliza_claim.entity.js +285 -0
- package/dist/entities/sales/poliza/poliza_claim.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js +35 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.d.ts +31 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js +259 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js.map +1 -0
- package/dist/entities/sales/poliza.entity.d.ts +7 -4
- package/dist/entities/sales/poliza.entity.js +38 -25
- package/dist/entities/sales/poliza.entity.js.map +1 -1
- package/dist/entities/tools/index.d.ts +1 -0
- package/dist/entities/tools/index.js +1 -0
- package/dist/entities/tools/index.js.map +1 -1
- package/dist/entities/tools/task-objection.entity.d.ts +10 -0
- package/dist/entities/tools/task-objection.entity.js +80 -0
- package/dist/entities/tools/task-objection.entity.js.map +1 -0
- package/dist/entities/tools/task.entity.d.ts +2 -0
- package/dist/entities/tools/task.entity.js +10 -0
- package/dist/entities/tools/task.entity.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
export declare enum StatusSiniestro {
|
|
2
|
-
LIQUIDADO = "pagado",
|
|
3
|
-
VIGENTE = "vigente",
|
|
4
|
-
ANULADO = "cancelado",
|
|
5
|
-
VENCIDO = "vencido"
|
|
6
|
-
}
|
|
7
1
|
export declare enum PolizaStatus {
|
|
8
2
|
ACTIVA = "activa",
|
|
9
3
|
EXPIRADA = "expirada",
|
|
@@ -23,6 +17,13 @@ export declare enum ReceiptMethodPayment {
|
|
|
23
17
|
CHEQUE = "cheque",
|
|
24
18
|
TRANSFERENCIA = "transferencia"
|
|
25
19
|
}
|
|
20
|
+
export declare enum MethodPayment {
|
|
21
|
+
EFECTIVO = "efectivo",
|
|
22
|
+
TARJETA_CREDITO = "tarjeta_credito",
|
|
23
|
+
TARJETA_DEBITO = "tarjeta_debito",
|
|
24
|
+
CHEQUE = "cheque",
|
|
25
|
+
TRANSFERENCIA = "transferencia"
|
|
26
|
+
}
|
|
26
27
|
export declare enum PersonType {
|
|
27
28
|
FISICA = "fisica",
|
|
28
29
|
MORAL = "moral"
|
|
@@ -50,6 +51,18 @@ export declare enum ReimbursementType {
|
|
|
50
51
|
INICIAL = "inicial",
|
|
51
52
|
SUBSECUENTE = "subsecuente"
|
|
52
53
|
}
|
|
54
|
+
export declare enum ClaimType {
|
|
55
|
+
NATURAL = "natural",
|
|
56
|
+
ACCIDENTAL = "accidental",
|
|
57
|
+
PERDIDA_ORGANICA = "perdida_organica",
|
|
58
|
+
INVALIDEZ = "invalidez",
|
|
59
|
+
FUNERARIOS = "funerarios"
|
|
60
|
+
}
|
|
61
|
+
export declare enum FundRecoveryType {
|
|
62
|
+
LIQUIDACION_PLAN_INVERSION = "liquidacion_plan_inversion",
|
|
63
|
+
CANCELACION_TOTAL = "cancelacion_total",
|
|
64
|
+
MUERTE_FALLECIMIENTO = "muerte_fallecimiento"
|
|
65
|
+
}
|
|
53
66
|
export declare enum SchedulingType {
|
|
54
67
|
NUEVO = "nuevo",
|
|
55
68
|
PRE_EXISTENTE = "pre-existente"
|
|
@@ -72,6 +85,20 @@ export declare enum PolizaReimbursementStatus {
|
|
|
72
85
|
APPROVED = "aprobado",
|
|
73
86
|
NO_CONDITIONS = "no_cumple_condiciones"
|
|
74
87
|
}
|
|
88
|
+
export declare enum PolizaClaimStatus {
|
|
89
|
+
DOCUMENT_CAPTURE = "captura_documentos",
|
|
90
|
+
IN_PROGRESS = "en_proceso",
|
|
91
|
+
DOCUMENT_VALIDATION = "validacion_documentos",
|
|
92
|
+
CLARIFICATION = "aclaracion",
|
|
93
|
+
APPROVED = "aprobado",
|
|
94
|
+
NO_CONDITIONS = "no_cumple_condiciones"
|
|
95
|
+
}
|
|
96
|
+
export declare enum PolizaFundRecoveryStatus {
|
|
97
|
+
DOCUMENT_CAPTURE = "captura_documentos",
|
|
98
|
+
IN_PROGRESS = "en_proceso",
|
|
99
|
+
DOCUMENT_VALIDATION = "validacion_documentos",
|
|
100
|
+
APPROVED = "aprobado"
|
|
101
|
+
}
|
|
75
102
|
export declare enum AgentStatus {
|
|
76
103
|
FOLLOW_UP = "Seguimiento",
|
|
77
104
|
APPROVED = "Aprobado",
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentStatus = exports.PolizaReimbursementStatus = exports.PolizaSchedulingStatus = exports.SchedulingType = exports.ReimbursementType = exports.PolizaOperacion = exports.CommentType = exports.ReceiptStageStatus = exports.PolizaDiasPlazoPago = exports.PersonType = exports.
|
|
4
|
-
var StatusSiniestro;
|
|
5
|
-
(function (StatusSiniestro) {
|
|
6
|
-
StatusSiniestro["LIQUIDADO"] = "pagado";
|
|
7
|
-
StatusSiniestro["VIGENTE"] = "vigente";
|
|
8
|
-
StatusSiniestro["ANULADO"] = "cancelado";
|
|
9
|
-
StatusSiniestro["VENCIDO"] = "vencido";
|
|
10
|
-
})(StatusSiniestro || (exports.StatusSiniestro = StatusSiniestro = {}));
|
|
3
|
+
exports.AgentStatus = exports.PolizaFundRecoveryStatus = exports.PolizaClaimStatus = exports.PolizaReimbursementStatus = exports.PolizaSchedulingStatus = exports.SchedulingType = exports.FundRecoveryType = exports.ClaimType = exports.ReimbursementType = exports.PolizaOperacion = exports.CommentType = exports.ReceiptStageStatus = exports.PolizaDiasPlazoPago = exports.PersonType = exports.MethodPayment = exports.ReceiptMethodPayment = exports.ReceiptStatus = exports.PolizaStatus = void 0;
|
|
11
4
|
var PolizaStatus;
|
|
12
5
|
(function (PolizaStatus) {
|
|
13
6
|
PolizaStatus["ACTIVA"] = "activa";
|
|
@@ -30,6 +23,14 @@ var ReceiptMethodPayment;
|
|
|
30
23
|
ReceiptMethodPayment["CHEQUE"] = "cheque";
|
|
31
24
|
ReceiptMethodPayment["TRANSFERENCIA"] = "transferencia";
|
|
32
25
|
})(ReceiptMethodPayment || (exports.ReceiptMethodPayment = ReceiptMethodPayment = {}));
|
|
26
|
+
var MethodPayment;
|
|
27
|
+
(function (MethodPayment) {
|
|
28
|
+
MethodPayment["EFECTIVO"] = "efectivo";
|
|
29
|
+
MethodPayment["TARJETA_CREDITO"] = "tarjeta_credito";
|
|
30
|
+
MethodPayment["TARJETA_DEBITO"] = "tarjeta_debito";
|
|
31
|
+
MethodPayment["CHEQUE"] = "cheque";
|
|
32
|
+
MethodPayment["TRANSFERENCIA"] = "transferencia";
|
|
33
|
+
})(MethodPayment || (exports.MethodPayment = MethodPayment = {}));
|
|
33
34
|
var PersonType;
|
|
34
35
|
(function (PersonType) {
|
|
35
36
|
PersonType["FISICA"] = "fisica";
|
|
@@ -63,6 +64,20 @@ var ReimbursementType;
|
|
|
63
64
|
ReimbursementType["INICIAL"] = "inicial";
|
|
64
65
|
ReimbursementType["SUBSECUENTE"] = "subsecuente";
|
|
65
66
|
})(ReimbursementType || (exports.ReimbursementType = ReimbursementType = {}));
|
|
67
|
+
var ClaimType;
|
|
68
|
+
(function (ClaimType) {
|
|
69
|
+
ClaimType["NATURAL"] = "natural";
|
|
70
|
+
ClaimType["ACCIDENTAL"] = "accidental";
|
|
71
|
+
ClaimType["PERDIDA_ORGANICA"] = "perdida_organica";
|
|
72
|
+
ClaimType["INVALIDEZ"] = "invalidez";
|
|
73
|
+
ClaimType["FUNERARIOS"] = "funerarios";
|
|
74
|
+
})(ClaimType || (exports.ClaimType = ClaimType = {}));
|
|
75
|
+
var FundRecoveryType;
|
|
76
|
+
(function (FundRecoveryType) {
|
|
77
|
+
FundRecoveryType["LIQUIDACION_PLAN_INVERSION"] = "liquidacion_plan_inversion";
|
|
78
|
+
FundRecoveryType["CANCELACION_TOTAL"] = "cancelacion_total";
|
|
79
|
+
FundRecoveryType["MUERTE_FALLECIMIENTO"] = "muerte_fallecimiento";
|
|
80
|
+
})(FundRecoveryType || (exports.FundRecoveryType = FundRecoveryType = {}));
|
|
66
81
|
var SchedulingType;
|
|
67
82
|
(function (SchedulingType) {
|
|
68
83
|
SchedulingType["NUEVO"] = "nuevo";
|
|
@@ -88,6 +103,22 @@ var PolizaReimbursementStatus;
|
|
|
88
103
|
PolizaReimbursementStatus["APPROVED"] = "aprobado";
|
|
89
104
|
PolizaReimbursementStatus["NO_CONDITIONS"] = "no_cumple_condiciones";
|
|
90
105
|
})(PolizaReimbursementStatus || (exports.PolizaReimbursementStatus = PolizaReimbursementStatus = {}));
|
|
106
|
+
var PolizaClaimStatus;
|
|
107
|
+
(function (PolizaClaimStatus) {
|
|
108
|
+
PolizaClaimStatus["DOCUMENT_CAPTURE"] = "captura_documentos";
|
|
109
|
+
PolizaClaimStatus["IN_PROGRESS"] = "en_proceso";
|
|
110
|
+
PolizaClaimStatus["DOCUMENT_VALIDATION"] = "validacion_documentos";
|
|
111
|
+
PolizaClaimStatus["CLARIFICATION"] = "aclaracion";
|
|
112
|
+
PolizaClaimStatus["APPROVED"] = "aprobado";
|
|
113
|
+
PolizaClaimStatus["NO_CONDITIONS"] = "no_cumple_condiciones";
|
|
114
|
+
})(PolizaClaimStatus || (exports.PolizaClaimStatus = PolizaClaimStatus = {}));
|
|
115
|
+
var PolizaFundRecoveryStatus;
|
|
116
|
+
(function (PolizaFundRecoveryStatus) {
|
|
117
|
+
PolizaFundRecoveryStatus["DOCUMENT_CAPTURE"] = "captura_documentos";
|
|
118
|
+
PolizaFundRecoveryStatus["IN_PROGRESS"] = "en_proceso";
|
|
119
|
+
PolizaFundRecoveryStatus["DOCUMENT_VALIDATION"] = "validacion_documentos";
|
|
120
|
+
PolizaFundRecoveryStatus["APPROVED"] = "aprobado";
|
|
121
|
+
})(PolizaFundRecoveryStatus || (exports.PolizaFundRecoveryStatus = PolizaFundRecoveryStatus = {}));
|
|
91
122
|
var AgentStatus;
|
|
92
123
|
(function (AgentStatus) {
|
|
93
124
|
AgentStatus["FOLLOW_UP"] = "Seguimiento";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sales.enum.js","sourceRoot":"","sources":["../../../src/common/enums/sales.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"sales.enum.js","sourceRoot":"","sources":["../../../src/common/enums/sales.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,wCAAwB,CAAA;AAC1B,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAED,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AACnB,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;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CAAyB,CAAA;IACzB,oCAAqB,CAAA;IACrB,wEAAyD,CAAA;IACzD,uDAAwC,CAAA;AAC1C,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB"}
|
|
@@ -5,7 +5,6 @@ export * from "./agente-intermediario.entity";
|
|
|
5
5
|
export * from "./lead-comment.entity";
|
|
6
6
|
export * from "./contact.entity";
|
|
7
7
|
export * from "./receipt-sub-agente.entity";
|
|
8
|
-
export * from "./poliza_siniestro.entity";
|
|
9
8
|
export * from "./lead.entity";
|
|
10
9
|
export * from "./receipt-comment.entity";
|
|
11
10
|
export * from "./poliza.entity";
|
|
@@ -21,7 +21,6 @@ __exportStar(require("./agente-intermediario.entity"), exports);
|
|
|
21
21
|
__exportStar(require("./lead-comment.entity"), exports);
|
|
22
22
|
__exportStar(require("./contact.entity"), exports);
|
|
23
23
|
__exportStar(require("./receipt-sub-agente.entity"), exports);
|
|
24
|
-
__exportStar(require("./poliza_siniestro.entity"), exports);
|
|
25
24
|
__exportStar(require("./lead.entity"), exports);
|
|
26
25
|
__exportStar(require("./receipt-comment.entity"), exports);
|
|
27
26
|
__exportStar(require("./poliza.entity"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/sales/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,0DAAwC;AACxC,mDAAiC;AACjC,gEAA8C;AAC9C,wDAAsC;AACtC,mDAAiC;AACjC,8DAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/sales/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,0DAAwC;AACxC,mDAAiC;AACjC,gEAA8C;AAC9C,wDAAsC;AACtC,mDAAiC;AACjC,8DAA4C;AAC5C,gDAA8B;AAC9B,2DAAyC;AACzC,kDAAgC;AAChC,2DAAyC;AACzC,kDAAgC;AAChC,iDAA+B;AAC/B,2CAAyB;AACzB,sDAAoC;AACpC,0DAAwC"}
|
|
@@ -2,3 +2,7 @@ export * from "./poliza_reimbursement.entity";
|
|
|
2
2
|
export * from "./poliza_scheduling.entity";
|
|
3
3
|
export * from "./poliza_reimbursement-comment.entity";
|
|
4
4
|
export * from "./poliza_scheduling-comment.entity";
|
|
5
|
+
export * from "./poliza_fund-recovery.entity";
|
|
6
|
+
export * from "./poliza_fund-recovery-comment.entity";
|
|
7
|
+
export * from "./poliza_claim.entity";
|
|
8
|
+
export * from "./poliza_claim-comment.entity";
|
|
@@ -18,4 +18,8 @@ __exportStar(require("./poliza_reimbursement.entity"), exports);
|
|
|
18
18
|
__exportStar(require("./poliza_scheduling.entity"), exports);
|
|
19
19
|
__exportStar(require("./poliza_reimbursement-comment.entity"), exports);
|
|
20
20
|
__exportStar(require("./poliza_scheduling-comment.entity"), exports);
|
|
21
|
+
__exportStar(require("./poliza_fund-recovery.entity"), exports);
|
|
22
|
+
__exportStar(require("./poliza_fund-recovery-comment.entity"), exports);
|
|
23
|
+
__exportStar(require("./poliza_claim.entity"), exports);
|
|
24
|
+
__exportStar(require("./poliza_claim-comment.entity"), exports);
|
|
21
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/sales/poliza/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,6DAA2C;AAC3C,wEAAsD;AACtD,qEAAmD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/sales/poliza/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,6DAA2C;AAC3C,wEAAsD;AACtD,qEAAmD;AACnD,gEAA8C;AAC9C,wEAAsD;AACtD,wDAAsC;AACtC,gEAA8C"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.PolizaClaimComment = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const common_1 = require("../../../common");
|
|
16
|
+
const poliza_claim_entity_1 = require("./poliza_claim.entity");
|
|
17
|
+
let PolizaClaimComment = class PolizaClaimComment extends common_1.CommentBase {
|
|
18
|
+
polizaClaim;
|
|
19
|
+
};
|
|
20
|
+
exports.PolizaClaimComment = PolizaClaimComment;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, swagger_1.ApiProperty)({
|
|
23
|
+
type: () => poliza_claim_entity_1.PolizaClaim,
|
|
24
|
+
description: "Claim associated with the comment",
|
|
25
|
+
}),
|
|
26
|
+
(0, typeorm_1.ManyToOne)(() => poliza_claim_entity_1.PolizaClaim, {
|
|
27
|
+
onDelete: "CASCADE",
|
|
28
|
+
onUpdate: "CASCADE",
|
|
29
|
+
}),
|
|
30
|
+
__metadata("design:type", poliza_claim_entity_1.PolizaClaim)
|
|
31
|
+
], PolizaClaimComment.prototype, "polizaClaim", void 0);
|
|
32
|
+
exports.PolizaClaimComment = PolizaClaimComment = __decorate([
|
|
33
|
+
(0, typeorm_1.Entity)()
|
|
34
|
+
], PolizaClaimComment);
|
|
35
|
+
//# sourceMappingURL=poliza_claim-comment.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poliza_claim-comment.entity.js","sourceRoot":"","sources":["../../../../src/entities/sales/poliza/poliza_claim-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4C;AAC5C,6CAA8C;AAC9C,4CAA8C;AAC9C,+DAAoD;AAG7C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,oBAAW;IASjD,WAAW,CAAc;CAC1B,CAAA;AAVY,gDAAkB;AAS7B;IARC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,iCAAW;QACvB,WAAW,EAAE,mCAAmC;KACjD,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAW,EAAE;QAC5B,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACW,iCAAW;uDAAC;6BATd,kBAAkB;IAD9B,IAAA,gBAAM,GAAE;GACI,kBAAkB,CAU9B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PolizaClaimStatus, ClaimType, MethodPayment } from "../../../common/enums/sales.enum";
|
|
2
|
+
import { EntityBase } from "../../../common/database/base.entity";
|
|
3
|
+
import { Poliza } from "./../poliza.entity";
|
|
4
|
+
import { File } from "../../drive";
|
|
5
|
+
import { PolizaInsurance, PolizaType } from "../../../entities/helpers";
|
|
6
|
+
import { User } from "../../../entities/user.entity";
|
|
7
|
+
import { Agent } from "../agent.entity";
|
|
8
|
+
import { Contact } from "../contact.entity";
|
|
9
|
+
import { AgenteIntermediario } from "../agente-intermediario.entity";
|
|
10
|
+
export declare class PolizaClaim extends EntityBase {
|
|
11
|
+
poliza: Poliza;
|
|
12
|
+
type: ClaimType;
|
|
13
|
+
methodPayment: MethodPayment;
|
|
14
|
+
captureDate: Date;
|
|
15
|
+
claimNumber: string;
|
|
16
|
+
ot: string;
|
|
17
|
+
sigre: string;
|
|
18
|
+
polizaType: PolizaType;
|
|
19
|
+
subRamo: string;
|
|
20
|
+
contact?: Contact;
|
|
21
|
+
insurance: PolizaInsurance;
|
|
22
|
+
agenteRelacionado?: Agent;
|
|
23
|
+
agenteIntermediario?: AgenteIntermediario;
|
|
24
|
+
assignedBy?: User;
|
|
25
|
+
observer?: User;
|
|
26
|
+
file: File;
|
|
27
|
+
createdBy?: User;
|
|
28
|
+
modifiedBy?: User;
|
|
29
|
+
observations: string;
|
|
30
|
+
status: PolizaClaimStatus;
|
|
31
|
+
folioNumber: string;
|
|
32
|
+
medicalCondition: string;
|
|
33
|
+
requireSubsequent: boolean;
|
|
34
|
+
}
|
|
@@ -0,0 +1,285 @@
|
|
|
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.PolizaClaim = void 0;
|
|
13
|
+
const sales_enum_1 = require("../../../common/enums/sales.enum");
|
|
14
|
+
const base_entity_1 = require("../../../common/database/base.entity");
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
const poliza_entity_1 = require("./../poliza.entity");
|
|
17
|
+
const drive_1 = require("../../drive");
|
|
18
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
19
|
+
const helpers_1 = require("../../../entities/helpers");
|
|
20
|
+
const user_entity_1 = require("../../../entities/user.entity");
|
|
21
|
+
const agent_entity_1 = require("../agent.entity");
|
|
22
|
+
const contact_entity_1 = require("../contact.entity");
|
|
23
|
+
const agente_intermediario_entity_1 = require("../agente-intermediario.entity");
|
|
24
|
+
let PolizaClaim = class PolizaClaim extends base_entity_1.EntityBase {
|
|
25
|
+
poliza;
|
|
26
|
+
type;
|
|
27
|
+
methodPayment;
|
|
28
|
+
captureDate;
|
|
29
|
+
claimNumber;
|
|
30
|
+
ot;
|
|
31
|
+
sigre;
|
|
32
|
+
polizaType;
|
|
33
|
+
subRamo;
|
|
34
|
+
contact;
|
|
35
|
+
insurance;
|
|
36
|
+
agenteRelacionado;
|
|
37
|
+
agenteIntermediario;
|
|
38
|
+
assignedBy;
|
|
39
|
+
observer;
|
|
40
|
+
file;
|
|
41
|
+
createdBy;
|
|
42
|
+
modifiedBy;
|
|
43
|
+
observations;
|
|
44
|
+
status;
|
|
45
|
+
folioNumber;
|
|
46
|
+
medicalCondition;
|
|
47
|
+
requireSubsequent;
|
|
48
|
+
};
|
|
49
|
+
exports.PolizaClaim = PolizaClaim;
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, swagger_1.ApiProperty)({
|
|
52
|
+
type: () => poliza_entity_1.Poliza,
|
|
53
|
+
description: "Policy associated with the claim",
|
|
54
|
+
}),
|
|
55
|
+
(0, typeorm_1.ManyToOne)(() => poliza_entity_1.Poliza, (poliza) => poliza.claims, {
|
|
56
|
+
onDelete: "CASCADE",
|
|
57
|
+
onUpdate: "CASCADE",
|
|
58
|
+
}),
|
|
59
|
+
__metadata("design:type", poliza_entity_1.Poliza)
|
|
60
|
+
], PolizaClaim.prototype, "poliza", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, swagger_1.ApiProperty)({
|
|
63
|
+
enum: sales_enum_1.ClaimType,
|
|
64
|
+
description: "Tipo de siniestro",
|
|
65
|
+
required: false,
|
|
66
|
+
}),
|
|
67
|
+
(0, typeorm_1.Column)({
|
|
68
|
+
type: "enum",
|
|
69
|
+
enum: sales_enum_1.ClaimType,
|
|
70
|
+
nullable: true,
|
|
71
|
+
}),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], PolizaClaim.prototype, "type", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, swagger_1.ApiProperty)({
|
|
76
|
+
enum: sales_enum_1.MethodPayment,
|
|
77
|
+
description: "Method of payment",
|
|
78
|
+
required: false,
|
|
79
|
+
}),
|
|
80
|
+
(0, typeorm_1.Column)({
|
|
81
|
+
type: "enum",
|
|
82
|
+
enum: sales_enum_1.MethodPayment,
|
|
83
|
+
nullable: true,
|
|
84
|
+
}),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], PolizaClaim.prototype, "methodPayment", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, swagger_1.ApiProperty)({
|
|
89
|
+
type: Date,
|
|
90
|
+
description: "Fecha de captura del siniestro",
|
|
91
|
+
required: false,
|
|
92
|
+
}),
|
|
93
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
94
|
+
__metadata("design:type", Date)
|
|
95
|
+
], PolizaClaim.prototype, "captureDate", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Numero de siniestro" }),
|
|
98
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
99
|
+
__metadata("design:type", String)
|
|
100
|
+
], PolizaClaim.prototype, "claimNumber", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "OT" }),
|
|
103
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
104
|
+
__metadata("design:type", String)
|
|
105
|
+
], PolizaClaim.prototype, "ot", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Folio SIGRE" }),
|
|
108
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
109
|
+
__metadata("design:type", String)
|
|
110
|
+
], PolizaClaim.prototype, "sigre", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, swagger_1.ApiProperty)({
|
|
113
|
+
type: () => helpers_1.PolizaType,
|
|
114
|
+
description: "Ramo asociado al siniestro",
|
|
115
|
+
}),
|
|
116
|
+
(0, typeorm_1.ManyToOne)(() => helpers_1.PolizaType, {
|
|
117
|
+
onDelete: "CASCADE",
|
|
118
|
+
onUpdate: "CASCADE",
|
|
119
|
+
}),
|
|
120
|
+
__metadata("design:type", helpers_1.PolizaType)
|
|
121
|
+
], PolizaClaim.prototype, "polizaType", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Sub Ramo" }),
|
|
124
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
125
|
+
__metadata("design:type", String)
|
|
126
|
+
], PolizaClaim.prototype, "subRamo", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, swagger_1.ApiProperty)({
|
|
129
|
+
type: () => contact_entity_1.Contact,
|
|
130
|
+
description: "Client related to the claim",
|
|
131
|
+
required: false,
|
|
132
|
+
}),
|
|
133
|
+
(0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, {
|
|
134
|
+
onDelete: "SET NULL",
|
|
135
|
+
onUpdate: "CASCADE",
|
|
136
|
+
nullable: true,
|
|
137
|
+
}),
|
|
138
|
+
(0, typeorm_1.JoinColumn)(),
|
|
139
|
+
__metadata("design:type", contact_entity_1.Contact)
|
|
140
|
+
], PolizaClaim.prototype, "contact", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, swagger_1.ApiProperty)({
|
|
143
|
+
type: () => helpers_1.PolizaInsurance,
|
|
144
|
+
description: "Policy insurance associated with the claim",
|
|
145
|
+
}),
|
|
146
|
+
(0, typeorm_1.ManyToOne)(() => helpers_1.PolizaInsurance, {
|
|
147
|
+
onDelete: "CASCADE",
|
|
148
|
+
onUpdate: "CASCADE",
|
|
149
|
+
}),
|
|
150
|
+
__metadata("design:type", helpers_1.PolizaInsurance)
|
|
151
|
+
], PolizaClaim.prototype, "insurance", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, swagger_1.ApiProperty)({
|
|
154
|
+
type: () => agent_entity_1.Agent,
|
|
155
|
+
description: "Agent related to the claim",
|
|
156
|
+
required: false,
|
|
157
|
+
}),
|
|
158
|
+
(0, typeorm_1.ManyToOne)(() => agent_entity_1.Agent, {
|
|
159
|
+
onDelete: "SET NULL",
|
|
160
|
+
onUpdate: "CASCADE",
|
|
161
|
+
nullable: true,
|
|
162
|
+
}),
|
|
163
|
+
(0, typeorm_1.JoinColumn)(),
|
|
164
|
+
__metadata("design:type", agent_entity_1.Agent)
|
|
165
|
+
], PolizaClaim.prototype, "agenteRelacionado", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
(0, swagger_1.ApiProperty)({
|
|
168
|
+
type: () => agente_intermediario_entity_1.AgenteIntermediario,
|
|
169
|
+
description: "Agent intermediary related to the claim",
|
|
170
|
+
required: false,
|
|
171
|
+
}),
|
|
172
|
+
(0, typeorm_1.ManyToOne)(() => agente_intermediario_entity_1.AgenteIntermediario, {
|
|
173
|
+
onDelete: "SET NULL",
|
|
174
|
+
onUpdate: "CASCADE",
|
|
175
|
+
nullable: true,
|
|
176
|
+
}),
|
|
177
|
+
(0, typeorm_1.JoinColumn)(),
|
|
178
|
+
__metadata("design:type", agente_intermediario_entity_1.AgenteIntermediario)
|
|
179
|
+
], PolizaClaim.prototype, "agenteIntermediario", void 0);
|
|
180
|
+
__decorate([
|
|
181
|
+
(0, swagger_1.ApiProperty)({
|
|
182
|
+
type: () => user_entity_1.User,
|
|
183
|
+
description: "Responsible of the claim",
|
|
184
|
+
required: false,
|
|
185
|
+
}),
|
|
186
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
187
|
+
onDelete: "SET NULL",
|
|
188
|
+
onUpdate: "CASCADE",
|
|
189
|
+
nullable: true,
|
|
190
|
+
}),
|
|
191
|
+
(0, typeorm_1.JoinColumn)(),
|
|
192
|
+
__metadata("design:type", user_entity_1.User)
|
|
193
|
+
], PolizaClaim.prototype, "assignedBy", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
(0, swagger_1.ApiProperty)({
|
|
196
|
+
type: () => user_entity_1.User,
|
|
197
|
+
description: "Observer of the claim",
|
|
198
|
+
required: false,
|
|
199
|
+
}),
|
|
200
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
201
|
+
onDelete: "SET NULL",
|
|
202
|
+
onUpdate: "CASCADE",
|
|
203
|
+
nullable: true,
|
|
204
|
+
}),
|
|
205
|
+
(0, typeorm_1.JoinColumn)(),
|
|
206
|
+
__metadata("design:type", user_entity_1.User)
|
|
207
|
+
], PolizaClaim.prototype, "observer", void 0);
|
|
208
|
+
__decorate([
|
|
209
|
+
(0, swagger_1.ApiProperty)({
|
|
210
|
+
type: () => drive_1.File,
|
|
211
|
+
description: "File associated with the claim",
|
|
212
|
+
required: false,
|
|
213
|
+
}),
|
|
214
|
+
(0, typeorm_1.OneToOne)(() => drive_1.File, {
|
|
215
|
+
onDelete: "SET NULL",
|
|
216
|
+
onUpdate: "CASCADE",
|
|
217
|
+
}),
|
|
218
|
+
(0, typeorm_1.JoinColumn)(),
|
|
219
|
+
__metadata("design:type", drive_1.File)
|
|
220
|
+
], PolizaClaim.prototype, "file", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
(0, swagger_1.ApiProperty)({
|
|
223
|
+
type: () => user_entity_1.User,
|
|
224
|
+
description: "User who created the claim",
|
|
225
|
+
required: false,
|
|
226
|
+
}),
|
|
227
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
228
|
+
onDelete: "SET NULL",
|
|
229
|
+
onUpdate: "CASCADE",
|
|
230
|
+
nullable: true,
|
|
231
|
+
}),
|
|
232
|
+
(0, typeorm_1.JoinColumn)(),
|
|
233
|
+
__metadata("design:type", user_entity_1.User)
|
|
234
|
+
], PolizaClaim.prototype, "createdBy", void 0);
|
|
235
|
+
__decorate([
|
|
236
|
+
(0, swagger_1.ApiProperty)({
|
|
237
|
+
type: () => user_entity_1.User,
|
|
238
|
+
description: "User who modified the claim",
|
|
239
|
+
required: false,
|
|
240
|
+
}),
|
|
241
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
242
|
+
onDelete: "SET NULL",
|
|
243
|
+
onUpdate: "CASCADE",
|
|
244
|
+
nullable: true,
|
|
245
|
+
}),
|
|
246
|
+
(0, typeorm_1.JoinColumn)(),
|
|
247
|
+
__metadata("design:type", user_entity_1.User)
|
|
248
|
+
], PolizaClaim.prototype, "modifiedBy", void 0);
|
|
249
|
+
__decorate([
|
|
250
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Comments" }),
|
|
251
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
252
|
+
__metadata("design:type", String)
|
|
253
|
+
], PolizaClaim.prototype, "observations", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
(0, swagger_1.ApiProperty)({
|
|
256
|
+
enum: sales_enum_1.PolizaClaimStatus,
|
|
257
|
+
description: "Estado del siniestro",
|
|
258
|
+
required: false,
|
|
259
|
+
}),
|
|
260
|
+
(0, typeorm_1.Column)({
|
|
261
|
+
type: "enum",
|
|
262
|
+
enum: sales_enum_1.PolizaClaimStatus,
|
|
263
|
+
nullable: true,
|
|
264
|
+
}),
|
|
265
|
+
__metadata("design:type", String)
|
|
266
|
+
], PolizaClaim.prototype, "status", void 0);
|
|
267
|
+
__decorate([
|
|
268
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Numero de Folio" }),
|
|
269
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
270
|
+
__metadata("design:type", String)
|
|
271
|
+
], PolizaClaim.prototype, "folioNumber", void 0);
|
|
272
|
+
__decorate([
|
|
273
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Medical condition" }),
|
|
274
|
+
(0, typeorm_1.Column)({ nullable: true, type: "text" }),
|
|
275
|
+
__metadata("design:type", String)
|
|
276
|
+
], PolizaClaim.prototype, "medicalCondition", void 0);
|
|
277
|
+
__decorate([
|
|
278
|
+
(0, swagger_1.ApiProperty)({ type: Boolean, description: "Requiere subsecuente" }),
|
|
279
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
280
|
+
__metadata("design:type", Boolean)
|
|
281
|
+
], PolizaClaim.prototype, "requireSubsequent", void 0);
|
|
282
|
+
exports.PolizaClaim = PolizaClaim = __decorate([
|
|
283
|
+
(0, typeorm_1.Entity)()
|
|
284
|
+
], PolizaClaim);
|
|
285
|
+
//# sourceMappingURL=poliza_claim.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poliza_claim.entity.js","sourceRoot":"","sources":["../../../../src/entities/sales/poliza/poliza_claim.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iEAI0C;AAC1C,sEAAkE;AAClE,qCAA0E;AAC1E,sDAA4C;AAC5C,uCAAmC;AACnC,6CAA8C;AAC9C,uDAAwE;AACxE,+DAAqD;AACrD,kDAAwC;AACxC,sDAA4C;AAC5C,gFAAqE;AAG9D,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,wBAAU;IASzC,MAAM,CAAS;IAYf,IAAI,CAAY;IAYhB,aAAa,CAAgB;IAQ7B,WAAW,CAAO;IAIlB,WAAW,CAAS;IAIpB,EAAE,CAAS;IAIX,KAAK,CAAS;IAUd,UAAU,CAAa;IAIvB,OAAO,CAAS;IAahB,OAAO,CAAW;IAWhB,SAAS,CAAkB;IAa3B,iBAAiB,CAAS;IAa1B,mBAAmB,CAAuB;IAa1C,UAAU,CAAQ;IAalB,QAAQ,CAAQ;IA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,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;IACtD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACpB;AAYrB;IAVC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,8BAAiB;QACvB,WAAW,EAAE,sBAAsB;QACnC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,8BAAiB;QACvB,QAAQ,EAAE,IAAI;KACf,CAAC;;2CACwB;AAI1B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;IAC7D,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACP;AAIpB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC;IAC/D,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;qDAChB;AAIzB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAE,CAAC;IACnE,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACA;sBAjNlB,WAAW;IADvB,IAAA,gBAAM,GAAE;GACI,WAAW,CAkNvB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.PolizaFundRecoveryComment = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const common_1 = require("../../../common");
|
|
16
|
+
const poliza_fund_recovery_entity_1 = require("./poliza_fund-recovery.entity");
|
|
17
|
+
let PolizaFundRecoveryComment = class PolizaFundRecoveryComment extends common_1.CommentBase {
|
|
18
|
+
polizaFundRecovery;
|
|
19
|
+
};
|
|
20
|
+
exports.PolizaFundRecoveryComment = PolizaFundRecoveryComment;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, swagger_1.ApiProperty)({
|
|
23
|
+
type: () => poliza_fund_recovery_entity_1.PolizaFundRecovery,
|
|
24
|
+
description: "Fund Recovery associated with the comment",
|
|
25
|
+
}),
|
|
26
|
+
(0, typeorm_1.ManyToOne)(() => poliza_fund_recovery_entity_1.PolizaFundRecovery, {
|
|
27
|
+
onDelete: "CASCADE",
|
|
28
|
+
onUpdate: "CASCADE",
|
|
29
|
+
}),
|
|
30
|
+
__metadata("design:type", poliza_fund_recovery_entity_1.PolizaFundRecovery)
|
|
31
|
+
], PolizaFundRecoveryComment.prototype, "polizaFundRecovery", void 0);
|
|
32
|
+
exports.PolizaFundRecoveryComment = PolizaFundRecoveryComment = __decorate([
|
|
33
|
+
(0, typeorm_1.Entity)()
|
|
34
|
+
], PolizaFundRecoveryComment);
|
|
35
|
+
//# sourceMappingURL=poliza_fund-recovery-comment.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poliza_fund-recovery-comment.entity.js","sourceRoot":"","sources":["../../../../src/entities/sales/poliza/poliza_fund-recovery-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4C;AAC5C,6CAA8C;AAC9C,4CAA8C;AAC9C,+EAAmE;AAG5D,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,oBAAW;IASxD,kBAAkB,CAAqB;CACxC,CAAA;AAVY,8DAAyB;AASpC;IARC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,gDAAkB;QAC9B,WAAW,EAAE,2CAA2C;KACzD,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gDAAkB,EAAE;QACnC,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACkB,gDAAkB;qEAAC;oCAT5B,yBAAyB;IADrC,IAAA,gBAAM,GAAE;GACI,yBAAyB,CAUrC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PolizaFundRecoveryStatus, FundRecoveryType } from "../../../common/enums/sales.enum";
|
|
2
|
+
import { EntityBase } from "../../../common/database/base.entity";
|
|
3
|
+
import { Poliza } from "./../poliza.entity";
|
|
4
|
+
import { File } from "../../drive";
|
|
5
|
+
import { PolizaInsurance, PolizaType } from "../../../entities/helpers";
|
|
6
|
+
import { User } from "../../../entities/user.entity";
|
|
7
|
+
import { Agent } from "../agent.entity";
|
|
8
|
+
import { Contact } from "../contact.entity";
|
|
9
|
+
import { AgenteIntermediario } from "../agente-intermediario.entity";
|
|
10
|
+
export declare class PolizaFundRecovery extends EntityBase {
|
|
11
|
+
poliza: Poliza;
|
|
12
|
+
type: FundRecoveryType;
|
|
13
|
+
captureDate: Date;
|
|
14
|
+
fundRecoveryNumber: string;
|
|
15
|
+
ot: string;
|
|
16
|
+
sigre: string;
|
|
17
|
+
polizaType: PolizaType;
|
|
18
|
+
subRamo: string;
|
|
19
|
+
contact?: Contact;
|
|
20
|
+
insurance: PolizaInsurance;
|
|
21
|
+
agenteRelacionado?: Agent;
|
|
22
|
+
agenteIntermediario?: AgenteIntermediario;
|
|
23
|
+
assignedBy?: User;
|
|
24
|
+
observer?: User;
|
|
25
|
+
file: File;
|
|
26
|
+
createdBy?: User;
|
|
27
|
+
modifiedBy?: User;
|
|
28
|
+
observations: string;
|
|
29
|
+
status: PolizaFundRecoveryStatus;
|
|
30
|
+
folioNumber: string;
|
|
31
|
+
}
|