easywork-common-lib 1.0.504 → 1.0.506
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/constants/app.contants.d.ts +1 -0
- package/dist/common/constants/app.contants.js +29 -28
- package/dist/common/constants/app.contants.js.map +1 -1
- package/dist/entities/role.entity.d.ts +1 -0
- package/dist/entities/role.entity.js +9 -3
- package/dist/entities/role.entity.js.map +1 -1
- package/dist/entities/sales/contact.entity.d.ts +1 -0
- package/dist/entities/sales/contact.entity.js +177 -38
- package/dist/entities/sales/contact.entity.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const LEAD_STAGE_INITIAL = "a233b765-d97b-43b8-8b6a-46727d97c844";
|
|
2
2
|
export declare const LEAD_STAGE_CANCELED = "6a6cef5c-2530-407c-8d66-9030f5334551";
|
|
3
3
|
export declare const LEAD_STAGE_POSITIVE = "46b04e7a-3775-4a00-abfa-c195d7e17b81";
|
|
4
|
+
export declare const CLIENT_ROLE_ID = "93cc894d-0674-4960-b143-5d42ea904d50";
|
|
4
5
|
export declare const DRIVE_LEADS_DOCUMENTS_PARTENT_FOLDER = "a68f36f9-7a47-43ea-99ce-ec40d5e61d87";
|
|
5
6
|
export declare const DRIVE_CONTACT_DOCUMENTS_PARTENT_FOLDER = "29168645-1bc0-40a1-9879-69fbbc62c04e";
|
|
6
7
|
export declare const DRIVE_TEMP_FOLDER = "6cc775ef-3616-4ffe-bfc9-755c453a4775";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CONTACTS_DOCUMENTS_FOLDERS = exports.CLIENTS_POLIZA_FOLDERS = exports.CLIENT_DOCUMENTS_FOLDERS = exports.APP_UDIS_CURRENCY = exports.APP_USD_CURRENCY = exports.APP_MXN_CURRENCY = exports.RECEIPT_STAGE_CANCELLED = exports.RECEIPT_STAGE_PAID = exports.DRIVE_CONTACT_PROFILES_IMAGES_PARTENT_FOLDER = exports.DRIVE_TEMP_FOLDER = exports.DRIVE_CONTACT_DOCUMENTS_PARTENT_FOLDER = exports.DRIVE_LEADS_DOCUMENTS_PARTENT_FOLDER = exports.LEAD_STAGE_POSITIVE = exports.LEAD_STAGE_CANCELED = exports.LEAD_STAGE_INITIAL = void 0;
|
|
3
|
+
exports.CONTACTS_DOCUMENTS_FOLDERS = exports.CLIENTS_POLIZA_FOLDERS = exports.CLIENT_DOCUMENTS_FOLDERS = exports.APP_UDIS_CURRENCY = exports.APP_USD_CURRENCY = exports.APP_MXN_CURRENCY = exports.RECEIPT_STAGE_CANCELLED = exports.RECEIPT_STAGE_PAID = exports.DRIVE_CONTACT_PROFILES_IMAGES_PARTENT_FOLDER = exports.DRIVE_TEMP_FOLDER = exports.DRIVE_CONTACT_DOCUMENTS_PARTENT_FOLDER = exports.DRIVE_LEADS_DOCUMENTS_PARTENT_FOLDER = exports.CLIENT_ROLE_ID = exports.LEAD_STAGE_POSITIVE = exports.LEAD_STAGE_CANCELED = exports.LEAD_STAGE_INITIAL = void 0;
|
|
4
4
|
exports.LEAD_STAGE_INITIAL = "a233b765-d97b-43b8-8b6a-46727d97c844";
|
|
5
5
|
exports.LEAD_STAGE_CANCELED = "6a6cef5c-2530-407c-8d66-9030f5334551";
|
|
6
6
|
exports.LEAD_STAGE_POSITIVE = "46b04e7a-3775-4a00-abfa-c195d7e17b81";
|
|
7
|
+
exports.CLIENT_ROLE_ID = "93cc894d-0674-4960-b143-5d42ea904d50";
|
|
7
8
|
exports.DRIVE_LEADS_DOCUMENTS_PARTENT_FOLDER = "a68f36f9-7a47-43ea-99ce-ec40d5e61d87";
|
|
8
9
|
exports.DRIVE_CONTACT_DOCUMENTS_PARTENT_FOLDER = "29168645-1bc0-40a1-9879-69fbbc62c04e";
|
|
9
10
|
exports.DRIVE_TEMP_FOLDER = "6cc775ef-3616-4ffe-bfc9-755c453a4775";
|
|
@@ -17,39 +18,39 @@ exports.CLIENT_DOCUMENTS_FOLDERS = [
|
|
|
17
18
|
{
|
|
18
19
|
name: "Documentos del cliente: RFC, IFE, Comprobantes de domicilio",
|
|
19
20
|
metadata: {
|
|
20
|
-
fid: "clidoc"
|
|
21
|
-
}
|
|
21
|
+
fid: "clidoc",
|
|
22
|
+
},
|
|
22
23
|
},
|
|
23
24
|
{
|
|
24
25
|
name: "Cotizaciones",
|
|
25
26
|
metadata: {
|
|
26
|
-
fid: "cliquote"
|
|
27
|
-
}
|
|
27
|
+
fid: "cliquote",
|
|
28
|
+
},
|
|
28
29
|
},
|
|
29
30
|
{
|
|
30
31
|
name: "Propuesta comercial",
|
|
31
32
|
metadata: {
|
|
32
|
-
fid: "cliprop"
|
|
33
|
-
}
|
|
33
|
+
fid: "cliprop",
|
|
34
|
+
},
|
|
34
35
|
},
|
|
35
36
|
{
|
|
36
37
|
name: "Solicitudes",
|
|
37
38
|
metadata: {
|
|
38
|
-
fid: "clisol"
|
|
39
|
-
}
|
|
39
|
+
fid: "clisol",
|
|
40
|
+
},
|
|
40
41
|
},
|
|
41
42
|
{
|
|
42
43
|
name: "Póliza",
|
|
43
44
|
metadata: {
|
|
44
|
-
fid: "clipoliza"
|
|
45
|
-
}
|
|
45
|
+
fid: "clipoliza",
|
|
46
|
+
},
|
|
46
47
|
},
|
|
47
48
|
{
|
|
48
49
|
name: "Informacion Médica",
|
|
49
50
|
metadata: {
|
|
50
|
-
fid: "climed"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
51
|
+
fid: "climed",
|
|
52
|
+
},
|
|
53
|
+
},
|
|
53
54
|
];
|
|
54
55
|
exports.CLIENTS_POLIZA_FOLDERS = {
|
|
55
56
|
VIDA: {
|
|
@@ -68,14 +69,14 @@ exports.CLIENTS_POLIZA_FOLDERS = {
|
|
|
68
69
|
{ name: "Formatos" },
|
|
69
70
|
{ name: "Programaciones" },
|
|
70
71
|
{ name: "Facturas" },
|
|
71
|
-
{ name: "Otros Documentos" }
|
|
72
|
-
]
|
|
72
|
+
{ name: "Otros Documentos" },
|
|
73
|
+
],
|
|
73
74
|
},
|
|
74
75
|
GMM: {
|
|
75
76
|
name: "GMM",
|
|
76
77
|
metadata: {
|
|
77
78
|
fid: "cligmm",
|
|
78
|
-
tid: "01072927-e48a-4fd0-9b06-5288ff7bc23d"
|
|
79
|
+
tid: "01072927-e48a-4fd0-9b06-5288ff7bc23d",
|
|
79
80
|
},
|
|
80
81
|
subFolders: [
|
|
81
82
|
{ name: "Pagos Recibos" },
|
|
@@ -87,14 +88,14 @@ exports.CLIENTS_POLIZA_FOLDERS = {
|
|
|
87
88
|
{ name: "Formatos" },
|
|
88
89
|
{ name: "Programaciones" },
|
|
89
90
|
{ name: "Facturas" },
|
|
90
|
-
{ name: "Otros Documentos" }
|
|
91
|
-
]
|
|
91
|
+
{ name: "Otros Documentos" },
|
|
92
|
+
],
|
|
92
93
|
},
|
|
93
94
|
AUTOS: {
|
|
94
95
|
name: "AUTOS",
|
|
95
96
|
metadata: {
|
|
96
97
|
fid: "cliautos",
|
|
97
|
-
tid: "e4e2f26f-8199-4e82-97f0-bdf1a6b6701c"
|
|
98
|
+
tid: "e4e2f26f-8199-4e82-97f0-bdf1a6b6701c",
|
|
98
99
|
},
|
|
99
100
|
subFolders: [
|
|
100
101
|
{ name: "Pagos Recibos" },
|
|
@@ -103,8 +104,8 @@ exports.CLIENTS_POLIZA_FOLDERS = {
|
|
|
103
104
|
{ name: "Versiones" },
|
|
104
105
|
{ name: "Comisiones" },
|
|
105
106
|
{ name: "Otros formatos" },
|
|
106
|
-
{ name: "Facturas" }
|
|
107
|
-
]
|
|
107
|
+
{ name: "Facturas" },
|
|
108
|
+
],
|
|
108
109
|
},
|
|
109
110
|
DANOS: {
|
|
110
111
|
name: "DANOS",
|
|
@@ -122,8 +123,8 @@ exports.CLIENTS_POLIZA_FOLDERS = {
|
|
|
122
123
|
{ name: "Formatos" },
|
|
123
124
|
{ name: "Programaciones" },
|
|
124
125
|
{ name: "Facturas" },
|
|
125
|
-
{ name: "Otros Documentos" }
|
|
126
|
-
]
|
|
126
|
+
{ name: "Otros Documentos" },
|
|
127
|
+
],
|
|
127
128
|
},
|
|
128
129
|
SALUD: {
|
|
129
130
|
name: "SALUD",
|
|
@@ -141,8 +142,8 @@ exports.CLIENTS_POLIZA_FOLDERS = {
|
|
|
141
142
|
{ name: "Formatos" },
|
|
142
143
|
{ name: "Programaciones" },
|
|
143
144
|
{ name: "Facturas" },
|
|
144
|
-
{ name: "Otros Documentos" }
|
|
145
|
-
]
|
|
145
|
+
{ name: "Otros Documentos" },
|
|
146
|
+
],
|
|
146
147
|
},
|
|
147
148
|
DIVERSOS: {
|
|
148
149
|
name: "DIVERSOS",
|
|
@@ -160,8 +161,8 @@ exports.CLIENTS_POLIZA_FOLDERS = {
|
|
|
160
161
|
{ name: "Formatos" },
|
|
161
162
|
{ name: "Programaciones" },
|
|
162
163
|
{ name: "Facturas" },
|
|
163
|
-
{ name: "Otros Documentos" }
|
|
164
|
-
]
|
|
164
|
+
{ name: "Otros Documentos" },
|
|
165
|
+
],
|
|
165
166
|
},
|
|
166
167
|
};
|
|
167
168
|
exports.CONTACTS_DOCUMENTS_FOLDERS = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.contants.js","sourceRoot":"","sources":["../../../src/common/constants/app.contants.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAC5D,QAAA,mBAAmB,GAAG,sCAAsC,CAAC;AAC7D,QAAA,mBAAmB,GAAG,sCAAsC,CAAC;AAE7D,QAAA,
|
|
1
|
+
{"version":3,"file":"app.contants.js","sourceRoot":"","sources":["../../../src/common/constants/app.contants.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAC5D,QAAA,mBAAmB,GAAG,sCAAsC,CAAC;AAC7D,QAAA,mBAAmB,GAA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,EAAE;YACtB,EAAE,IAAI,EAAE,WAAW,EAAE;YACrB,EAAE,IAAI,EAAE,YAAY,EAAE;YACtB,EAAE,IAAI,EAAE,UAAU,EAAE;YACpB,EAAE,IAAI,EAAE,gBAAgB,EAAE;YAC1B,EAAE,IAAI,EAAE,UAAU,EAAE;YACpB,EAAE,IAAI,EAAE,kBAAkB,EAAE;SAC7B;KACF;CACF,CAAC;AAEW,QAAA,0BAA0B,GAAG;IACxC,qBAAqB;IACrB,wCAAwC;IACxC,oCAAoC;IACpC,6CAA6C;IAC7C,kCAAkC;IAClC,qDAAqD;IACrD,WAAW;IACX,gBAAgB;IAChB,oBAAoB;IACpB,YAAY;IACZ,YAAY;IACZ,gBAAgB;IAChB,SAAS;IACT,sDAAsD;IACtD,kCAAkC;IAClC,yBAAyB;IACzB,kCAAkC;IAClC,6BAA6B;IAC7B,QAAQ;IACR,WAAW;IACX,6DAA6D;IAC7D,uBAAuB;CACxB,CAAC"}
|
|
@@ -16,23 +16,29 @@ const class_validator_1 = require("class-validator");
|
|
|
16
16
|
const typeorm_1 = require("typeorm");
|
|
17
17
|
let Role = class Role extends base_entity_1.EntityBase {
|
|
18
18
|
name;
|
|
19
|
+
displayName;
|
|
19
20
|
isDefault;
|
|
20
21
|
defaultMenuPermissions;
|
|
21
22
|
};
|
|
22
23
|
exports.Role = Role;
|
|
23
24
|
__decorate([
|
|
24
|
-
(0, swagger_1.ApiProperty)({ type: String, description:
|
|
25
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Name of the role", minLength: 3 }),
|
|
25
26
|
(0, class_validator_1.MinLength)(3),
|
|
26
27
|
(0, typeorm_1.Column)({ unique: true }),
|
|
27
28
|
__metadata("design:type", String)
|
|
28
29
|
], Role.prototype, "name", void 0);
|
|
29
30
|
__decorate([
|
|
30
|
-
(0, swagger_1.ApiProperty)({ type:
|
|
31
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Display Name of the role" }),
|
|
32
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], Role.prototype, "displayName", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({ type: Boolean, description: "¿Is this the default role?" }),
|
|
31
37
|
(0, typeorm_1.Column)({ default: false }),
|
|
32
38
|
__metadata("design:type", Boolean)
|
|
33
39
|
], Role.prototype, "isDefault", void 0);
|
|
34
40
|
__decorate([
|
|
35
|
-
(0, swagger_1.ApiProperty)({ type: [String], description:
|
|
41
|
+
(0, swagger_1.ApiProperty)({ type: [String], description: "Default Menu Permissions" }),
|
|
36
42
|
(0, typeorm_1.Column)({ type: "varchar", array: true, nullable: true }),
|
|
37
43
|
__metadata("design:type", Array)
|
|
38
44
|
], Role.prototype, "defaultMenuPermissions", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../src/entities/role.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,gEAA4D;AAC5D,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,wBAAU;IAIlC,IAAI,CAAS;IAIb,SAAS,CAAU;IAInB,sBAAsB,CAAW;
|
|
1
|
+
{"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../src/entities/role.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,gEAA4D;AAC5D,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,wBAAU;IAIlC,IAAI,CAAS;IAIb,WAAW,CAAU;IAIrB,SAAS,CAAU;IAInB,sBAAsB,CAAW;CAClC,CAAA;AAjBY,oBAAI;AAIf;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAC5E,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kCACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;IACtE,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACN;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,4BAA4B,EAAE,CAAC;IACzE,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;uCACR;AAInB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;IACxE,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACxB;eAhBtB,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAiBhB"}
|
|
@@ -60,10 +60,15 @@ let Contact = class Contact extends base_entity_1.EntityBase {
|
|
|
60
60
|
createdBy;
|
|
61
61
|
modifiedBy;
|
|
62
62
|
comments;
|
|
63
|
+
user;
|
|
63
64
|
};
|
|
64
65
|
exports.Contact = Contact;
|
|
65
66
|
__decorate([
|
|
66
|
-
(0, swagger_1.ApiProperty)({
|
|
67
|
+
(0, swagger_1.ApiProperty)({
|
|
68
|
+
type: Number,
|
|
69
|
+
description: "Bitrix ID of the contact",
|
|
70
|
+
required: false,
|
|
71
|
+
}),
|
|
67
72
|
(0, typeorm_1.Column)({ name: "id_bitrix", nullable: true }),
|
|
68
73
|
__metadata("design:type", Number)
|
|
69
74
|
], Contact.prototype, "idBitrix", void 0);
|
|
@@ -75,43 +80,66 @@ __decorate([
|
|
|
75
80
|
__decorate([
|
|
76
81
|
(0, swagger_1.ApiProperty)({
|
|
77
82
|
enum: common_1.PersonType,
|
|
78
|
-
description:
|
|
79
|
-
default: common_1.PersonType.FISICA
|
|
83
|
+
description: "Type of person",
|
|
84
|
+
default: common_1.PersonType.FISICA,
|
|
80
85
|
}),
|
|
81
86
|
(0, typeorm_1.Column)({
|
|
82
87
|
type: "enum",
|
|
83
88
|
enum: common_1.PersonType,
|
|
84
|
-
default: common_1.PersonType.FISICA
|
|
89
|
+
default: common_1.PersonType.FISICA,
|
|
85
90
|
}),
|
|
86
91
|
__metadata("design:type", String)
|
|
87
92
|
], Contact.prototype, "typePerson", void 0);
|
|
88
93
|
__decorate([
|
|
89
|
-
(0, swagger_1.ApiProperty)({
|
|
94
|
+
(0, swagger_1.ApiProperty)({
|
|
95
|
+
type: String,
|
|
96
|
+
description: "Code of the contact",
|
|
97
|
+
required: false,
|
|
98
|
+
}),
|
|
90
99
|
(0, typeorm_1.Column)({ name: "codigo", length: 100, nullable: true }),
|
|
91
100
|
__metadata("design:type", String)
|
|
92
101
|
], Contact.prototype, "codigo", void 0);
|
|
93
102
|
__decorate([
|
|
94
|
-
(0, swagger_1.ApiProperty)({
|
|
103
|
+
(0, swagger_1.ApiProperty)({
|
|
104
|
+
type: String,
|
|
105
|
+
description: "Full name of the contact",
|
|
106
|
+
required: false,
|
|
107
|
+
}),
|
|
95
108
|
(0, typeorm_1.Column)({ name: "full_name", length: 255, nullable: true }),
|
|
96
109
|
__metadata("design:type", String)
|
|
97
110
|
], Contact.prototype, "fullName", void 0);
|
|
98
111
|
__decorate([
|
|
99
|
-
(0, swagger_1.ApiProperty)({
|
|
112
|
+
(0, swagger_1.ApiProperty)({
|
|
113
|
+
type: String,
|
|
114
|
+
description: "First name of the contact",
|
|
115
|
+
required: false,
|
|
116
|
+
}),
|
|
100
117
|
(0, typeorm_1.Column)({ name: "name", length: 150, nullable: true }),
|
|
101
118
|
__metadata("design:type", String)
|
|
102
119
|
], Contact.prototype, "name", void 0);
|
|
103
120
|
__decorate([
|
|
104
|
-
(0, swagger_1.ApiProperty)({
|
|
121
|
+
(0, swagger_1.ApiProperty)({
|
|
122
|
+
type: String,
|
|
123
|
+
description: "Last name of the contact",
|
|
124
|
+
required: false,
|
|
125
|
+
}),
|
|
105
126
|
(0, typeorm_1.Column)({ name: "last_name", length: 150, nullable: true }),
|
|
106
127
|
__metadata("design:type", String)
|
|
107
128
|
], Contact.prototype, "lastName", void 0);
|
|
108
129
|
__decorate([
|
|
109
|
-
(0, swagger_1.ApiProperty)({
|
|
130
|
+
(0, swagger_1.ApiProperty)({
|
|
131
|
+
type: String,
|
|
132
|
+
description: "Second name of the contact",
|
|
133
|
+
required: false,
|
|
134
|
+
}),
|
|
110
135
|
(0, typeorm_1.Column)({ name: "second_name", length: 150, nullable: true }),
|
|
111
136
|
__metadata("design:type", String)
|
|
112
137
|
], Contact.prototype, "secondName", void 0);
|
|
113
138
|
__decorate([
|
|
114
|
-
(0, swagger_1.ApiProperty)({
|
|
139
|
+
(0, swagger_1.ApiProperty)({
|
|
140
|
+
type: () => [contact_insurance_entity_1.ContactInsurance],
|
|
141
|
+
description: "Codigos de aseguradoras",
|
|
142
|
+
}),
|
|
115
143
|
(0, typeorm_1.OneToMany)(() => contact_insurance_entity_1.ContactInsurance, (contactEmail) => contactEmail.contact, {
|
|
116
144
|
onDelete: "CASCADE",
|
|
117
145
|
onUpdate: "CASCADE",
|
|
@@ -120,17 +148,28 @@ __decorate([
|
|
|
120
148
|
__metadata("design:type", Array)
|
|
121
149
|
], Contact.prototype, "codigos", void 0);
|
|
122
150
|
__decorate([
|
|
123
|
-
(0, swagger_1.ApiProperty)({
|
|
151
|
+
(0, swagger_1.ApiProperty)({
|
|
152
|
+
type: String,
|
|
153
|
+
description: "RFC of the contact",
|
|
154
|
+
required: false,
|
|
155
|
+
}),
|
|
124
156
|
(0, typeorm_1.Column)({ name: "rfc", length: 100, nullable: true }),
|
|
125
157
|
__metadata("design:type", String)
|
|
126
158
|
], Contact.prototype, "rfc", void 0);
|
|
127
159
|
__decorate([
|
|
128
|
-
(0, swagger_1.ApiProperty)({
|
|
160
|
+
(0, swagger_1.ApiProperty)({
|
|
161
|
+
type: String,
|
|
162
|
+
description: "Address of the contact",
|
|
163
|
+
required: false,
|
|
164
|
+
}),
|
|
129
165
|
(0, typeorm_1.Column)({ name: "address", type: "text", nullable: true }),
|
|
130
166
|
__metadata("design:type", String)
|
|
131
167
|
], Contact.prototype, "address", void 0);
|
|
132
168
|
__decorate([
|
|
133
|
-
(0, swagger_1.ApiProperty)({
|
|
169
|
+
(0, swagger_1.ApiProperty)({
|
|
170
|
+
type: () => [contact_phone_entity_1.ContactPhone],
|
|
171
|
+
description: "Phones associated with the contact",
|
|
172
|
+
}),
|
|
134
173
|
(0, typeorm_1.OneToMany)(() => contact_phone_entity_1.ContactPhone, (contactPhone) => contactPhone.contact, {
|
|
135
174
|
onDelete: "CASCADE",
|
|
136
175
|
onUpdate: "CASCADE",
|
|
@@ -139,7 +178,10 @@ __decorate([
|
|
|
139
178
|
__metadata("design:type", Array)
|
|
140
179
|
], Contact.prototype, "phones", void 0);
|
|
141
180
|
__decorate([
|
|
142
|
-
(0, swagger_1.ApiProperty)({
|
|
181
|
+
(0, swagger_1.ApiProperty)({
|
|
182
|
+
type: () => [contact_email_entity_1.ContactEmail],
|
|
183
|
+
description: "Emails associated with the contact",
|
|
184
|
+
}),
|
|
143
185
|
(0, typeorm_1.OneToMany)(() => contact_email_entity_1.ContactEmail, (contactEmail) => contactEmail.contact, {
|
|
144
186
|
onDelete: "CASCADE",
|
|
145
187
|
onUpdate: "CASCADE",
|
|
@@ -148,22 +190,38 @@ __decorate([
|
|
|
148
190
|
__metadata("design:type", Array)
|
|
149
191
|
], Contact.prototype, "emails", void 0);
|
|
150
192
|
__decorate([
|
|
151
|
-
(0, swagger_1.ApiProperty)({
|
|
193
|
+
(0, swagger_1.ApiProperty)({
|
|
194
|
+
type: String,
|
|
195
|
+
description: "Cargo of the contact",
|
|
196
|
+
required: false,
|
|
197
|
+
}),
|
|
152
198
|
(0, typeorm_1.Column)({ name: "cargo", length: 150, nullable: true }),
|
|
153
199
|
__metadata("design:type", String)
|
|
154
200
|
], Contact.prototype, "cargo", void 0);
|
|
155
201
|
__decorate([
|
|
156
|
-
(0, swagger_1.ApiProperty)({
|
|
202
|
+
(0, swagger_1.ApiProperty)({
|
|
203
|
+
type: Date,
|
|
204
|
+
description: "Birthdate of the contact",
|
|
205
|
+
required: false,
|
|
206
|
+
}),
|
|
157
207
|
(0, typeorm_1.Column)({ name: "birthdate", nullable: true }),
|
|
158
208
|
__metadata("design:type", Date)
|
|
159
209
|
], Contact.prototype, "birthdate", void 0);
|
|
160
210
|
__decorate([
|
|
161
|
-
(0, swagger_1.ApiProperty)({
|
|
211
|
+
(0, swagger_1.ApiProperty)({
|
|
212
|
+
type: String,
|
|
213
|
+
description: "Gender of the contact",
|
|
214
|
+
required: false,
|
|
215
|
+
}),
|
|
162
216
|
(0, typeorm_1.Column)({ name: "gender", length: 10, nullable: true }),
|
|
163
217
|
__metadata("design:type", String)
|
|
164
218
|
], Contact.prototype, "gender", void 0);
|
|
165
219
|
__decorate([
|
|
166
|
-
(0, swagger_1.ApiProperty)({
|
|
220
|
+
(0, swagger_1.ApiProperty)({
|
|
221
|
+
type: () => client_types_entity_1.ClientType,
|
|
222
|
+
description: "Contact type",
|
|
223
|
+
required: true,
|
|
224
|
+
}),
|
|
167
225
|
(0, typeorm_1.ManyToOne)(() => client_types_entity_1.ClientType, {
|
|
168
226
|
onDelete: "SET NULL",
|
|
169
227
|
onUpdate: "CASCADE",
|
|
@@ -173,7 +231,11 @@ __decorate([
|
|
|
173
231
|
__metadata("design:type", client_types_entity_1.ClientType)
|
|
174
232
|
], Contact.prototype, "type", void 0);
|
|
175
233
|
__decorate([
|
|
176
|
-
(0, swagger_1.ApiProperty)({
|
|
234
|
+
(0, swagger_1.ApiProperty)({
|
|
235
|
+
type: () => client_sources_entity_1.ClientSource,
|
|
236
|
+
description: "Contact source",
|
|
237
|
+
required: true,
|
|
238
|
+
}),
|
|
177
239
|
(0, typeorm_1.ManyToOne)(() => client_sources_entity_1.ClientSource, {
|
|
178
240
|
onDelete: "SET NULL",
|
|
179
241
|
onUpdate: "CASCADE",
|
|
@@ -183,7 +245,11 @@ __decorate([
|
|
|
183
245
|
__metadata("design:type", client_sources_entity_1.ClientSource)
|
|
184
246
|
], Contact.prototype, "source", void 0);
|
|
185
247
|
__decorate([
|
|
186
|
-
(0, swagger_1.ApiProperty)({
|
|
248
|
+
(0, swagger_1.ApiProperty)({
|
|
249
|
+
type: () => user_entity_1.User,
|
|
250
|
+
description: "User assigned to the contact",
|
|
251
|
+
required: false,
|
|
252
|
+
}),
|
|
187
253
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
188
254
|
onDelete: "SET NULL",
|
|
189
255
|
onUpdate: "CASCADE",
|
|
@@ -192,12 +258,22 @@ __decorate([
|
|
|
192
258
|
__metadata("design:type", user_entity_1.User)
|
|
193
259
|
], Contact.prototype, "assignedBy", void 0);
|
|
194
260
|
__decorate([
|
|
195
|
-
(0, swagger_1.ApiProperty)({
|
|
196
|
-
|
|
261
|
+
(0, swagger_1.ApiProperty)({
|
|
262
|
+
type: () => [helpers_1.TaskCRM],
|
|
263
|
+
description: "Tasks associated with the contact",
|
|
264
|
+
}),
|
|
265
|
+
(0, typeorm_1.OneToMany)(() => helpers_1.TaskCRM, (task) => task.contact, {
|
|
266
|
+
cascade: true,
|
|
267
|
+
onDelete: "CASCADE",
|
|
268
|
+
}),
|
|
197
269
|
__metadata("design:type", Array)
|
|
198
270
|
], Contact.prototype, "tasks", void 0);
|
|
199
271
|
__decorate([
|
|
200
|
-
(0, swagger_1.ApiProperty)({
|
|
272
|
+
(0, swagger_1.ApiProperty)({
|
|
273
|
+
type: () => user_entity_1.User,
|
|
274
|
+
description: "User observing the contact",
|
|
275
|
+
required: false,
|
|
276
|
+
}),
|
|
201
277
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
202
278
|
onDelete: "SET NULL",
|
|
203
279
|
onUpdate: "CASCADE",
|
|
@@ -206,7 +282,11 @@ __decorate([
|
|
|
206
282
|
__metadata("design:type", user_entity_1.User)
|
|
207
283
|
], Contact.prototype, "observer", void 0);
|
|
208
284
|
__decorate([
|
|
209
|
-
(0, swagger_1.ApiProperty)({
|
|
285
|
+
(0, swagger_1.ApiProperty)({
|
|
286
|
+
type: () => lead_entity_1.Lead,
|
|
287
|
+
description: "Lead associated with this contact",
|
|
288
|
+
required: false,
|
|
289
|
+
}),
|
|
210
290
|
(0, typeorm_1.OneToOne)(() => lead_entity_1.Lead, (lead) => lead.contact, {
|
|
211
291
|
onDelete: "CASCADE",
|
|
212
292
|
onUpdate: "CASCADE",
|
|
@@ -215,7 +295,7 @@ __decorate([
|
|
|
215
295
|
__metadata("design:type", lead_entity_1.Lead)
|
|
216
296
|
], Contact.prototype, "lead", void 0);
|
|
217
297
|
__decorate([
|
|
218
|
-
(0, swagger_1.ApiProperty)({ type: () => [Contact], description:
|
|
298
|
+
(0, swagger_1.ApiProperty)({ type: () => [Contact], description: "Contacts related" }),
|
|
219
299
|
(0, typeorm_1.ManyToMany)(() => Contact, {
|
|
220
300
|
onDelete: "CASCADE",
|
|
221
301
|
onUpdate: "CASCADE",
|
|
@@ -224,47 +304,82 @@ __decorate([
|
|
|
224
304
|
__metadata("design:type", Array)
|
|
225
305
|
], Contact.prototype, "relations", void 0);
|
|
226
306
|
__decorate([
|
|
227
|
-
(0, swagger_1.ApiProperty)({
|
|
307
|
+
(0, swagger_1.ApiProperty)({
|
|
308
|
+
type: String,
|
|
309
|
+
description: "CURP of the contact",
|
|
310
|
+
required: false,
|
|
311
|
+
}),
|
|
228
312
|
(0, typeorm_1.Column)({ name: "curp", length: 50, nullable: true }),
|
|
229
313
|
__metadata("design:type", String)
|
|
230
314
|
], Contact.prototype, "curp", void 0);
|
|
231
315
|
__decorate([
|
|
232
|
-
(0, swagger_1.ApiProperty)({
|
|
316
|
+
(0, swagger_1.ApiProperty)({
|
|
317
|
+
type: String,
|
|
318
|
+
description: "CUA of the contact",
|
|
319
|
+
required: false,
|
|
320
|
+
}),
|
|
233
321
|
(0, typeorm_1.Column)({ name: "cua", length: 50, nullable: true }),
|
|
234
322
|
__metadata("design:type", String)
|
|
235
323
|
], Contact.prototype, "cua", void 0);
|
|
236
324
|
__decorate([
|
|
237
|
-
(0, swagger_1.ApiProperty)({
|
|
325
|
+
(0, swagger_1.ApiProperty)({
|
|
326
|
+
type: String,
|
|
327
|
+
description: "Photo URL of the contact",
|
|
328
|
+
required: false,
|
|
329
|
+
}),
|
|
238
330
|
(0, typeorm_1.Column)({ name: "photo", length: 255, nullable: true }),
|
|
239
331
|
__metadata("design:type", String)
|
|
240
332
|
], Contact.prototype, "photo", void 0);
|
|
241
333
|
__decorate([
|
|
242
|
-
(0, swagger_1.ApiProperty)({
|
|
334
|
+
(0, swagger_1.ApiProperty)({
|
|
335
|
+
type: String,
|
|
336
|
+
description: "Post of the contact",
|
|
337
|
+
required: false,
|
|
338
|
+
}),
|
|
243
339
|
(0, typeorm_1.Column)({ name: "post", type: "text", nullable: true }),
|
|
244
340
|
__metadata("design:type", String)
|
|
245
341
|
], Contact.prototype, "post", void 0);
|
|
246
342
|
__decorate([
|
|
247
|
-
(0, swagger_1.ApiProperty)({
|
|
343
|
+
(0, swagger_1.ApiProperty)({
|
|
344
|
+
type: String,
|
|
345
|
+
description: "Comments about the contact",
|
|
346
|
+
required: false,
|
|
347
|
+
}),
|
|
248
348
|
(0, typeorm_1.Column)({ name: "observations", type: "text", nullable: true }),
|
|
249
349
|
__metadata("design:type", String)
|
|
250
350
|
], Contact.prototype, "observations", void 0);
|
|
251
351
|
__decorate([
|
|
252
|
-
(0, swagger_1.ApiProperty)({
|
|
352
|
+
(0, swagger_1.ApiProperty)({
|
|
353
|
+
type: String,
|
|
354
|
+
description: "Company of the contact",
|
|
355
|
+
required: false,
|
|
356
|
+
}),
|
|
253
357
|
(0, typeorm_1.Column)({ length: 255, nullable: true }),
|
|
254
358
|
__metadata("design:type", String)
|
|
255
359
|
], Contact.prototype, "company", void 0);
|
|
256
360
|
__decorate([
|
|
257
|
-
(0, swagger_1.ApiProperty)({
|
|
361
|
+
(0, swagger_1.ApiProperty)({
|
|
362
|
+
type: Boolean,
|
|
363
|
+
description: "Is the contact exported?",
|
|
364
|
+
default: false,
|
|
365
|
+
}),
|
|
258
366
|
(0, typeorm_1.Column)({ name: "export", default: false }),
|
|
259
367
|
__metadata("design:type", Boolean)
|
|
260
368
|
], Contact.prototype, "export", void 0);
|
|
261
369
|
__decorate([
|
|
262
|
-
(0, swagger_1.ApiProperty)({
|
|
370
|
+
(0, swagger_1.ApiProperty)({
|
|
371
|
+
type: String,
|
|
372
|
+
description: "Source description of the contact",
|
|
373
|
+
required: false,
|
|
374
|
+
}),
|
|
263
375
|
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
264
376
|
__metadata("design:type", String)
|
|
265
377
|
], Contact.prototype, "sourceDescription", void 0);
|
|
266
378
|
__decorate([
|
|
267
|
-
(0, swagger_1.ApiProperty)({
|
|
379
|
+
(0, swagger_1.ApiProperty)({
|
|
380
|
+
type: () => [poliza_entity_1.Poliza],
|
|
381
|
+
description: "Polizas associated with the contact",
|
|
382
|
+
}),
|
|
268
383
|
(0, typeorm_1.OneToMany)(() => poliza_entity_1.Poliza, (poliza) => poliza.contact, {
|
|
269
384
|
onDelete: "CASCADE",
|
|
270
385
|
onUpdate: "CASCADE",
|
|
@@ -272,7 +387,11 @@ __decorate([
|
|
|
272
387
|
__metadata("design:type", Array)
|
|
273
388
|
], Contact.prototype, "polizas", void 0);
|
|
274
389
|
__decorate([
|
|
275
|
-
(0, swagger_1.ApiProperty)({
|
|
390
|
+
(0, swagger_1.ApiProperty)({
|
|
391
|
+
type: () => user_entity_1.User,
|
|
392
|
+
description: "User who created the contact",
|
|
393
|
+
required: false,
|
|
394
|
+
}),
|
|
276
395
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
277
396
|
onDelete: "SET NULL",
|
|
278
397
|
onUpdate: "CASCADE",
|
|
@@ -282,7 +401,11 @@ __decorate([
|
|
|
282
401
|
__metadata("design:type", user_entity_1.User)
|
|
283
402
|
], Contact.prototype, "createdBy", void 0);
|
|
284
403
|
__decorate([
|
|
285
|
-
(0, swagger_1.ApiProperty)({
|
|
404
|
+
(0, swagger_1.ApiProperty)({
|
|
405
|
+
type: () => user_entity_1.User,
|
|
406
|
+
description: "User who modified the contact",
|
|
407
|
+
required: false,
|
|
408
|
+
}),
|
|
286
409
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
287
410
|
onDelete: "SET NULL",
|
|
288
411
|
onUpdate: "CASCADE",
|
|
@@ -292,11 +415,27 @@ __decorate([
|
|
|
292
415
|
__metadata("design:type", user_entity_1.User)
|
|
293
416
|
], Contact.prototype, "modifiedBy", void 0);
|
|
294
417
|
__decorate([
|
|
295
|
-
(0, swagger_1.ApiProperty)({
|
|
296
|
-
|
|
418
|
+
(0, swagger_1.ApiProperty)({
|
|
419
|
+
type: () => [contact_comment_entity_1.ContactComment],
|
|
420
|
+
description: "Comments on the contact",
|
|
421
|
+
}),
|
|
422
|
+
(0, typeorm_1.OneToMany)(() => contact_comment_entity_1.ContactComment, (contactComment) => contactComment.contact),
|
|
297
423
|
(0, typeorm_1.JoinColumn)(),
|
|
298
424
|
__metadata("design:type", Array)
|
|
299
425
|
], Contact.prototype, "comments", void 0);
|
|
426
|
+
__decorate([
|
|
427
|
+
(0, swagger_1.ApiProperty)({
|
|
428
|
+
type: () => user_entity_1.User,
|
|
429
|
+
description: "User associated with the contact",
|
|
430
|
+
required: false,
|
|
431
|
+
}),
|
|
432
|
+
(0, typeorm_1.OneToOne)(() => lead_entity_1.Lead, (lead) => lead.contact, {
|
|
433
|
+
onDelete: "SET NULL",
|
|
434
|
+
onUpdate: "CASCADE",
|
|
435
|
+
}),
|
|
436
|
+
(0, typeorm_1.JoinColumn)(),
|
|
437
|
+
__metadata("design:type", lead_entity_1.Lead)
|
|
438
|
+
], Contact.prototype, "user", void 0);
|
|
300
439
|
exports.Contact = Contact = __decorate([
|
|
301
440
|
(0, typeorm_1.Entity)()
|
|
302
441
|
], Contact);
|