easywork-common-lib 1.0.646 → 1.0.647
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.
|
@@ -39,6 +39,7 @@ __decorate([
|
|
|
39
39
|
description: "ID of the associated contact",
|
|
40
40
|
format: "uuid",
|
|
41
41
|
}),
|
|
42
|
+
(0, typeorm_1.RelationId)((ci) => ci.contact),
|
|
42
43
|
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
43
44
|
__metadata("design:type", String)
|
|
44
45
|
], ContactInsurance.prototype, "contactId", void 0);
|
|
@@ -48,6 +49,7 @@ __decorate([
|
|
|
48
49
|
description: "ID of the associated insurance",
|
|
49
50
|
format: "uuid",
|
|
50
51
|
}),
|
|
52
|
+
(0, typeorm_1.RelationId)((ci) => ci.insurance),
|
|
51
53
|
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
52
54
|
__metadata("design:type", String)
|
|
53
55
|
], ContactInsurance.prototype, "insuranceId", void 0);
|
|
@@ -62,14 +64,12 @@ __decorate([
|
|
|
62
64
|
], ContactInsurance.prototype, "codigo", void 0);
|
|
63
65
|
__decorate([
|
|
64
66
|
(0, class_transformer_1.Exclude)(),
|
|
65
|
-
(0, swagger_1.ApiProperty)({
|
|
66
|
-
type: () => contact_entity_1.Contact,
|
|
67
|
-
description: "Contact entity associated",
|
|
68
|
-
}),
|
|
69
67
|
(0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, (contact) => contact.codigos, {
|
|
70
68
|
onDelete: "CASCADE",
|
|
71
69
|
onUpdate: "CASCADE",
|
|
70
|
+
nullable: false,
|
|
72
71
|
}),
|
|
72
|
+
(0, typeorm_1.JoinColumn)({ name: "contactId" }),
|
|
73
73
|
__metadata("design:type", contact_entity_1.Contact)
|
|
74
74
|
], ContactInsurance.prototype, "contact", void 0);
|
|
75
75
|
__decorate([
|
|
@@ -81,7 +81,9 @@ __decorate([
|
|
|
81
81
|
onDelete: "CASCADE",
|
|
82
82
|
onUpdate: "CASCADE",
|
|
83
83
|
eager: true,
|
|
84
|
+
nullable: false,
|
|
84
85
|
}),
|
|
86
|
+
(0, typeorm_1.JoinColumn)({ name: "insuranceId" }),
|
|
85
87
|
__metadata("design:type", poliza_1.PolizaInsurance)
|
|
86
88
|
], ContactInsurance.prototype, "insurance", void 0);
|
|
87
89
|
exports.ContactInsurance = ContactInsurance = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact_insurance.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_insurance.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"contact_insurance.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_insurance.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAQiB;AACjB,yDAA4C;AAC5C,kEAAwD;AACxD,6CAA8C;AAC9C,sCAA4C;AAGrC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,oBAAU;IAO9C,EAAE,CAAU;IASZ,SAAS,CAAS;IASlB,WAAW,CAAS;IAQpB,MAAM,CAAS;IASR,OAAO,CAAU;IAajB,SAAS,CAAkB;CACnC,CAAA;AAxDY,4CAAgB;AAO3B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,+BAA+B;QAC5C,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gCAAsB,EAAC,MAAM,CAAC;;4CACnB;AASZ;IAPC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,8BAA8B;QAC3C,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,oBAAU,EAAC,CAAC,EAAoB,EAAE,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC;IAChD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;mDACP;AASlB;IAPC,IAAA,qB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