easywork-common-lib 1.0.140 → 1.0.144
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/.gitattributes +2 -2
- package/.vscode/settings.json +13 -0
- package/dist/common/enums/sales.enum.d.ts +6 -0
- package/dist/common/enums/sales.enum.js +8 -1
- package/dist/common/enums/sales.enum.js.map +1 -1
- package/dist/common/enums/tools.enum.d.ts +3 -5
- package/dist/common/enums/tools.enum.js +6 -8
- package/dist/common/enums/tools.enum.js.map +1 -1
- package/dist/entities/helpers/index.d.ts +3 -0
- package/dist/entities/helpers/index.js +3 -0
- package/dist/entities/helpers/index.js.map +1 -1
- package/dist/entities/helpers/tools/index.d.ts +1 -0
- package/dist/entities/helpers/tools/index.js +18 -0
- package/dist/entities/helpers/tools/index.js.map +1 -0
- package/dist/entities/helpers/tools/task_crm.entity.d.ts +14 -0
- package/dist/entities/helpers/{contact_phone.entity.js → tools/task_crm.entity.js} +42 -22
- package/dist/entities/helpers/tools/task_crm.entity.js.map +1 -0
- package/dist/entities/sales/index.d.ts +4 -0
- package/dist/entities/sales/index.js +21 -0
- package/dist/entities/sales/index.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/dist/entities/user.entity.d.ts +1 -0
- package/dist/entities/user.entity.js +4 -0
- package/dist/entities/user.entity.js.map +1 -1
- package/package.json +37 -37
- package/scripts/bump.sh +0 -0
- package/test.bat +15 -15
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +26 -26
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/entities/helpers/contact_email.entity.d.ts +0 -11
- package/dist/entities/helpers/contact_email.entity.js +0 -61
- package/dist/entities/helpers/contact_email.entity.js.map +0 -1
- package/dist/entities/helpers/contact_phone.entity.d.ts +0 -11
- package/dist/entities/helpers/contact_phone.entity.js.map +0 -1
- package/dist/entities/helpers/contact_sources.entity.d.ts +0 -5
- package/dist/entities/helpers/contact_sources.entity.js +0 -33
- package/dist/entities/helpers/contact_sources.entity.js.map +0 -1
- package/dist/entities/helpers/contact_types.entity.d.ts +0 -5
- package/dist/entities/helpers/contact_types.entity.js +0 -33
- package/dist/entities/helpers/contact_types.entity.js.map +0 -1
- package/dist/entities/helpers/lead_email.entity.d.ts +0 -11
- package/dist/entities/helpers/lead_email.entity.js +0 -59
- package/dist/entities/helpers/lead_email.entity.js.map +0 -1
- package/dist/entities/helpers/lead_phone.entity.d.ts +0 -11
- package/dist/entities/helpers/lead_phone.entity.js +0 -59
- package/dist/entities/helpers/lead_phone.entity.js.map +0 -1
- package/dist/entities/helpers/sales/h_poliza_forma_cobro.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/h_poliza_forma_cobro.entity.js +0 -30
- package/dist/entities/helpers/sales/h_poliza_forma_cobro.entity.js.map +0 -1
- package/dist/entities/helpers/sales/h_poliza_frecuencia_pago.entity.d.ts +0 -6
- package/dist/entities/helpers/sales/h_poliza_frecuencia_pago.entity.js +0 -35
- package/dist/entities/helpers/sales/h_poliza_frecuencia_pago.entity.js.map +0 -1
- package/dist/entities/helpers/sales/h_poliza_type.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/h_poliza_type.entity.js +0 -30
- package/dist/entities/helpers/sales/h_poliza_type.entity.js.map +0 -1
package/.gitattributes
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# Auto detect text files and perform LF normalization
|
|
2
|
-
* text=auto
|
|
1
|
+
# Auto detect text files and perform LF normalization
|
|
2
|
+
* text=auto
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"autoBarrel.language.defaultLanguage": "TypeScript",
|
|
3
|
+
"autoBarrel.files.disableRecursiveBarrelling": false,
|
|
4
|
+
"autoBarrel.files.includeExtensionOnExport": ["ts", "tsx", "vue"],
|
|
5
|
+
"autoBarrel.files.ignoreFilePathPatternOnExport": ["**/*.spec.*", "**/*.test.*"],
|
|
6
|
+
"autoBarrel.files.keepExtensionOnExport": false,
|
|
7
|
+
"autoBarrel.files.detectExportsInFiles": false,
|
|
8
|
+
"autoBarrel.files.exportDefaultFilename": "filename",
|
|
9
|
+
"autoBarrel.formatting.excludeSemiColonAtEndOfLine": false,
|
|
10
|
+
"autoBarrel.formatting.useSingleQuotes": true,
|
|
11
|
+
"autoBarrel.formatting.endOfLine": "lf",
|
|
12
|
+
"autoBarrel.formatting.insertFinalNewline": true,
|
|
13
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StatusSiniestro = void 0;
|
|
3
|
+
exports.PolizaStatus = exports.StatusSiniestro = void 0;
|
|
4
4
|
var StatusSiniestro;
|
|
5
5
|
(function (StatusSiniestro) {
|
|
6
6
|
StatusSiniestro["LIQUIDADO"] = "liquidado";
|
|
@@ -8,4 +8,11 @@ var StatusSiniestro;
|
|
|
8
8
|
StatusSiniestro["ANULADO"] = "anulado";
|
|
9
9
|
StatusSiniestro["VENCIDO"] = "vencido";
|
|
10
10
|
})(StatusSiniestro || (exports.StatusSiniestro = StatusSiniestro = {}));
|
|
11
|
+
var PolizaStatus;
|
|
12
|
+
(function (PolizaStatus) {
|
|
13
|
+
PolizaStatus["ACTIVA"] = "active";
|
|
14
|
+
PolizaStatus["EXPIRED"] = "expired";
|
|
15
|
+
PolizaStatus["CANCELED"] = "canceled";
|
|
16
|
+
PolizaStatus["INPROCESS"] = "in_process";
|
|
17
|
+
})(PolizaStatus || (exports.PolizaStatus = PolizaStatus = {}));
|
|
11
18
|
//# sourceMappingURL=sales.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sales.enum.js","sourceRoot":"","sources":["../../../src/common/enums/sales.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,0CAAuB,CAAA;IACvB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;AACvB,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B"}
|
|
1
|
+
{"version":3,"file":"sales.enum.js","sourceRoot":"","sources":["../../../src/common/enums/sales.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,0CAAuB,CAAA;IACvB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;AACvB,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACpB,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,wCAAwB,CAAA;AAC5B,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB"}
|
|
@@ -4,9 +4,7 @@ export declare enum TaskStatus {
|
|
|
4
4
|
COMPLETED = "completed",
|
|
5
5
|
PENDING_REVIEW = "pending_review"
|
|
6
6
|
}
|
|
7
|
-
export declare enum
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
CANCELED = "canceled",
|
|
11
|
-
INPROCESS = "in_process"
|
|
7
|
+
export declare enum TaskCRMType {
|
|
8
|
+
CONTACT = "contact",
|
|
9
|
+
POLIZA = "poliza"
|
|
12
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TaskCRMType = exports.TaskStatus = void 0;
|
|
4
4
|
var TaskStatus;
|
|
5
5
|
(function (TaskStatus) {
|
|
6
6
|
TaskStatus["PENDING"] = "pending";
|
|
@@ -8,11 +8,9 @@ var TaskStatus;
|
|
|
8
8
|
TaskStatus["COMPLETED"] = "completed";
|
|
9
9
|
TaskStatus["PENDING_REVIEW"] = "pending_review";
|
|
10
10
|
})(TaskStatus || (exports.TaskStatus = TaskStatus = {}));
|
|
11
|
-
var
|
|
12
|
-
(function (
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
PolizaStatus["INPROCESS"] = "in_process";
|
|
17
|
-
})(PolizaStatus || (exports.PolizaStatus = PolizaStatus = {}));
|
|
11
|
+
var TaskCRMType;
|
|
12
|
+
(function (TaskCRMType) {
|
|
13
|
+
TaskCRMType["CONTACT"] = "contact";
|
|
14
|
+
TaskCRMType["POLIZA"] = "poliza";
|
|
15
|
+
})(TaskCRMType || (exports.TaskCRMType = TaskCRMType = {}));
|
|
18
16
|
//# sourceMappingURL=tools.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.enum.js","sourceRoot":"","sources":["../../../src/common/enums/tools.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,qCAAuB,CAAA;IACvB,+CAAiC,CAAA;AACrC,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"tools.enum.js","sourceRoot":"","sources":["../../../src/common/enums/tools.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,qCAAuB,CAAA;IACvB,+CAAiC,CAAA;AACrC,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB;AAED,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;AACrB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
|
|
@@ -14,5 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./entity_file.entity"), exports);
|
|
18
|
+
__exportStar(require("./entity_folder.entity"), exports);
|
|
17
19
|
__exportStar(require("./sales"), exports);
|
|
20
|
+
__exportStar(require("./tools"), exports);
|
|
18
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/helpers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/helpers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,yDAAuC;AACvC,0CAAwB;AACxB,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './task_crm.entity';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./task_crm.entity"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/helpers/tools/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseEntity } from "typeorm";
|
|
2
|
+
import { Task } from "../../../entities/tools";
|
|
3
|
+
import { TaskCRMType } from "../../../common";
|
|
4
|
+
import { Contact, Poliza } from "../../../entities/sales";
|
|
5
|
+
export declare class TaskCRM extends BaseEntity {
|
|
6
|
+
id?: string;
|
|
7
|
+
type: TaskCRMType;
|
|
8
|
+
taskId: string;
|
|
9
|
+
contactId: string;
|
|
10
|
+
polizaId: string;
|
|
11
|
+
task: Task;
|
|
12
|
+
contact: Contact;
|
|
13
|
+
poliza: Poliza;
|
|
14
|
+
}
|
|
@@ -9,53 +9,73 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.TaskCRM = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
|
|
15
|
+
const tools_1 = require("../../../entities/tools");
|
|
16
|
+
const common_1 = require("../../../common");
|
|
17
|
+
const sales_1 = require("../../../entities/sales");
|
|
18
|
+
let TaskCRM = class TaskCRM extends typeorm_1.BaseEntity {
|
|
18
19
|
id;
|
|
20
|
+
type;
|
|
21
|
+
taskId;
|
|
19
22
|
contactId;
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
polizaId;
|
|
24
|
+
task;
|
|
22
25
|
contact;
|
|
23
|
-
|
|
26
|
+
poliza;
|
|
24
27
|
};
|
|
25
|
-
exports.
|
|
28
|
+
exports.TaskCRM = TaskCRM;
|
|
26
29
|
__decorate([
|
|
27
30
|
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
28
31
|
__metadata("design:type", String)
|
|
29
|
-
],
|
|
32
|
+
], TaskCRM.prototype, "id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({
|
|
35
|
+
type: "enum",
|
|
36
|
+
enum: common_1.TaskCRMType,
|
|
37
|
+
}),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], TaskCRM.prototype, "type", void 0);
|
|
30
40
|
__decorate([
|
|
31
41
|
(0, typeorm_1.Column)(),
|
|
32
42
|
__metadata("design:type", String)
|
|
33
|
-
],
|
|
43
|
+
], TaskCRM.prototype, "taskId", void 0);
|
|
34
44
|
__decorate([
|
|
35
45
|
(0, typeorm_1.Column)(),
|
|
36
46
|
__metadata("design:type", String)
|
|
37
|
-
],
|
|
47
|
+
], TaskCRM.prototype, "contactId", void 0);
|
|
38
48
|
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)(
|
|
49
|
+
(0, typeorm_1.Column)(),
|
|
40
50
|
__metadata("design:type", String)
|
|
41
|
-
],
|
|
51
|
+
], TaskCRM.prototype, "polizaId", void 0);
|
|
42
52
|
__decorate([
|
|
43
53
|
(0, class_transformer_1.Exclude)(),
|
|
44
|
-
(0, typeorm_1.ManyToOne)(() =>
|
|
54
|
+
(0, typeorm_1.ManyToOne)(() => tools_1.Task, task => task.crm, {
|
|
45
55
|
onDelete: "CASCADE",
|
|
46
56
|
onUpdate: "CASCADE",
|
|
47
57
|
}),
|
|
48
|
-
__metadata("design:type",
|
|
49
|
-
],
|
|
58
|
+
__metadata("design:type", tools_1.Task)
|
|
59
|
+
], TaskCRM.prototype, "task", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.ManyToOne)(() => sales_1.Contact, {
|
|
62
|
+
onDelete: "CASCADE",
|
|
63
|
+
onUpdate: "CASCADE",
|
|
64
|
+
eager: true,
|
|
65
|
+
nullable: true,
|
|
66
|
+
}),
|
|
67
|
+
__metadata("design:type", sales_1.Contact)
|
|
68
|
+
], TaskCRM.prototype, "contact", void 0);
|
|
50
69
|
__decorate([
|
|
51
|
-
(0, typeorm_1.ManyToOne)(() =>
|
|
70
|
+
(0, typeorm_1.ManyToOne)(() => sales_1.Poliza, {
|
|
52
71
|
onDelete: "CASCADE",
|
|
53
72
|
onUpdate: "CASCADE",
|
|
54
73
|
eager: true,
|
|
74
|
+
nullable: true,
|
|
55
75
|
}),
|
|
56
|
-
__metadata("design:type",
|
|
57
|
-
],
|
|
58
|
-
exports.
|
|
76
|
+
__metadata("design:type", sales_1.Poliza)
|
|
77
|
+
], TaskCRM.prototype, "poliza", void 0);
|
|
78
|
+
exports.TaskCRM = TaskCRM = __decorate([
|
|
59
79
|
(0, typeorm_1.Entity)()
|
|
60
|
-
],
|
|
61
|
-
//# sourceMappingURL=
|
|
80
|
+
], TaskCRM);
|
|
81
|
+
//# sourceMappingURL=task_crm.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task_crm.entity.js","sourceRoot":"","sources":["../../../../src/entities/helpers/tools/task_crm.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,mDAA+C;AAC/C,4CAA8C;AAC9C,mDAA0D;AAGnD,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,oBAAU;IAErC,EAAE,CAAU;IAMZ,IAAI,CAAc;IAIlB,MAAM,CAAS;IAGf,SAAS,CAAS;IAGlB,QAAQ,CAAS;IAOV,IAAI,CAAO;IAQX,OAAO,CAAU;IAQjB,MAAM,CAAS;CACvB,CAAA;AA1CY,0BAAO;AAElB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;mCACnB;AAMZ;IAJC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,oBAAW;KAClB,CAAC;;qCACgB;AAIlB;IADC,IAAA,gBAAM,GAAE;;uCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;0CACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;yCACQ;AAOV;IALN,IAAA,2BAAO,GAAE;IACT,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,YAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;QACvC,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACW,YAAI;qCAAC;AAQX;IANN,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,eAAO,EAAE;QACxB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,IAAI;KACf,CAAC;8BACc,eAAO;wCAAC;AAQjB;IANN,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,cAAM,EAAE;QACvB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,IAAI;KACf,CAAC;8BACa,cAAM;uCAAC;kBAzCX,OAAO;IADnB,IAAA,gBAAM,GAAE;GACI,OAAO,CA0CnB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./contact.entity"), exports);
|
|
18
|
+
__exportStar(require("./poliza_siniestro.entity"), exports);
|
|
19
|
+
__exportStar(require("./lead.entity"), exports);
|
|
20
|
+
__exportStar(require("./poliza.entity"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/sales/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,4DAA0C;AAC1C,gDAA8B;AAC9B,kDAAgC"}
|
|
@@ -4,6 +4,7 @@ import { Tag } from "../tag.entity";
|
|
|
4
4
|
import { BaseEntity } from "../../common";
|
|
5
5
|
import { TaskStatus } from "../../common/enums";
|
|
6
6
|
import { TaskListField } from "./task-list-field";
|
|
7
|
+
import { TaskCRM } from "../../entities/helpers";
|
|
7
8
|
export declare class Task extends BaseEntity {
|
|
8
9
|
name: string;
|
|
9
10
|
description: string;
|
|
@@ -24,4 +25,5 @@ export declare class Task extends BaseEntity {
|
|
|
24
25
|
tags: Tag[];
|
|
25
26
|
listField: TaskListField[];
|
|
26
27
|
comments: TaskComment;
|
|
28
|
+
crm?: TaskCRM[];
|
|
27
29
|
}
|
|
@@ -17,6 +17,7 @@ const task_comment_entity_1 = require("./task-comment.entity");
|
|
|
17
17
|
const tag_entity_1 = require("../tag.entity");
|
|
18
18
|
const common_1 = require("../../common");
|
|
19
19
|
const enums_1 = require("../../common/enums");
|
|
20
|
+
const helpers_1 = require("../../entities/helpers");
|
|
20
21
|
let Task = class Task extends common_1.BaseEntity {
|
|
21
22
|
name;
|
|
22
23
|
description;
|
|
@@ -37,6 +38,7 @@ let Task = class Task extends common_1.BaseEntity {
|
|
|
37
38
|
tags;
|
|
38
39
|
listField;
|
|
39
40
|
comments;
|
|
41
|
+
crm;
|
|
40
42
|
};
|
|
41
43
|
exports.Task = Task;
|
|
42
44
|
__decorate([
|
|
@@ -153,6 +155,14 @@ __decorate([
|
|
|
153
155
|
(0, typeorm_1.JoinColumn)(),
|
|
154
156
|
__metadata("design:type", task_comment_entity_1.TaskComment)
|
|
155
157
|
], Task.prototype, "comments", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
(0, typeorm_1.OneToMany)(() => helpers_1.TaskCRM, (taskCRM) => taskCRM.task, {
|
|
160
|
+
onDelete: "CASCADE",
|
|
161
|
+
onUpdate: "CASCADE",
|
|
162
|
+
eager: true,
|
|
163
|
+
}),
|
|
164
|
+
__metadata("design:type", Array)
|
|
165
|
+
], Task.prototype, "crm", void 0);
|
|
156
166
|
exports.Task = Task = __decorate([
|
|
157
167
|
(0, typeorm_1.Entity)()
|
|
158
168
|
], Task);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.entity.js","sourceRoot":"","sources":["../../../src/entities/tools/task.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,gDAAsC;AACtC,qCAAkG;AAClG,+DAAoD;AACpD,8CAAoC;AACpC,yCAA0C;AAC1C,8CAAgD;
|
|
1
|
+
{"version":3,"file":"task.entity.js","sourceRoot":"","sources":["../../../src/entities/tools/task.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,gDAAsC;AACtC,qCAAkG;AAClG,+DAAoD;AACpD,8CAAoC;AACpC,yCAA0C;AAC1C,8CAAgD;AAEhD,oDAAiD;AAG1C,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,mBAAU;IAGhC,IAAI,CAAS;IAGb,WAAW,CAAS;IAGpB,QAAQ,CAAO;IAGf,SAAS,CAAO;IAGhB,aAAa,CAAO;IAGpB,eAAe,CAAU;IAGzB,cAAc,CAAU;IAGxB,wBAAwB,CAAU;IAOlC,MAAM,CAAa;IAG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R;AAM3B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAW,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE;QAC3D,KAAK,EAAE,IAAI;KACd,CAAC;IACD,IAAA,oBAAU,GAAE;8BACH,iCAAW;sCAAC;AAOtB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iBAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE;QACjD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACd,CAAC;;iCACc;eAtGP,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAuGhB"}
|
|
@@ -30,6 +30,9 @@ let User = class User extends database_1.BaseEntity {
|
|
|
30
30
|
profile;
|
|
31
31
|
roles;
|
|
32
32
|
tags;
|
|
33
|
+
get name() {
|
|
34
|
+
return `${this.profile?.firstName ?? ''} ${this.profile?.lastName ?? ''}`.trim();
|
|
35
|
+
}
|
|
33
36
|
};
|
|
34
37
|
exports.User = User;
|
|
35
38
|
__decorate([
|
|
@@ -78,6 +81,7 @@ __decorate([
|
|
|
78
81
|
(0, typeorm_1.OneToOne)(() => profile_entity_1.Profile, {
|
|
79
82
|
onDelete: "CASCADE",
|
|
80
83
|
onUpdate: "CASCADE",
|
|
84
|
+
eager: true
|
|
81
85
|
}),
|
|
82
86
|
(0, typeorm_1.JoinColumn)(),
|
|
83
87
|
__metadata("design:type", profile_entity_1.Profile)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qCAAiG;AACjG,yDAA4C;AAC5C,qDAA2C;AAC3C,+CAAqC;AACrC,6CAAmC;AAG5B,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,qBAAU;IAElC,QAAQ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AAE,CAAC;;kCACX;AAId;IAFC,IAAA,2BAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACF;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;gDACE;AAG7B;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mCACV;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;wCACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAClC,IAAI;uCAAC;AAQjB;IANC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE;QACvB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;IACD,IAAA,oBAAU,GAAE;8BACJ,wBAAO;qCAAC;AAOjB;IALC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,mBAAS,GAAE;;mCACG;AAIf;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gBAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;;kCAC7B;eAlDA,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAuDhB"}
|
package/package.json
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "easywork-common-lib",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Librería común de Easywork",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "tsc",
|
|
8
|
-
"bump": "./scripts/bump.sh"
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/criptopreto/easywork-common-lib.git"
|
|
13
|
-
},
|
|
14
|
-
"keywords": [
|
|
15
|
-
"nodejs"
|
|
16
|
-
],
|
|
17
|
-
"author": "Rosmer Campos",
|
|
18
|
-
"license": "MIT",
|
|
19
|
-
"bugs": {
|
|
20
|
-
"url": "https://github.com/criptopreto/easywork-common-lib/issues"
|
|
21
|
-
},
|
|
22
|
-
"homepage": "https://github.com/criptopreto/easywork-common-lib#readme",
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"@nestjs/common": "^10.3.8",
|
|
25
|
-
"@nestjs/typeorm": "^10.0.2",
|
|
26
|
-
"class-transformer": "^0.5.1",
|
|
27
|
-
"class-validator": "^0.14.1",
|
|
28
|
-
"rxjs": "^7.8.1",
|
|
29
|
-
"typeorm": "^0.3.20"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@rubiin/tsconfig": "^1.1.2",
|
|
33
|
-
"@types/node": "^20.12.12",
|
|
34
|
-
"ts-loader": "^9.5.1",
|
|
35
|
-
"typescript": "^5.4.5"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "easywork-common-lib",
|
|
3
|
+
"version": "1.0.144",
|
|
4
|
+
"description": "Librería común de Easywork",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc",
|
|
8
|
+
"bump": "./scripts/bump.sh"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/criptopreto/easywork-common-lib.git"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"nodejs"
|
|
16
|
+
],
|
|
17
|
+
"author": "Rosmer Campos",
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/criptopreto/easywork-common-lib/issues"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/criptopreto/easywork-common-lib#readme",
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@nestjs/common": "^10.3.8",
|
|
25
|
+
"@nestjs/typeorm": "^10.0.2",
|
|
26
|
+
"class-transformer": "^0.5.1",
|
|
27
|
+
"class-validator": "^0.14.1",
|
|
28
|
+
"rxjs": "^7.8.1",
|
|
29
|
+
"typeorm": "^0.3.20"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@rubiin/tsconfig": "^1.1.2",
|
|
33
|
+
"@types/node": "^20.12.12",
|
|
34
|
+
"ts-loader": "^9.5.1",
|
|
35
|
+
"typescript": "^5.4.5"
|
|
36
|
+
}
|
|
37
|
+
}
|
package/scripts/bump.sh
CHANGED
|
File without changes
|
package/test.bat
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
@echo off
|
|
2
|
-
setlocal enabledelayedexpansion
|
|
3
|
-
|
|
4
|
-
rem Define the root directory
|
|
5
|
-
set "root=C:\Users\ROSME\Documents\GitHub\easywork-common-lib"
|
|
6
|
-
|
|
7
|
-
rem Iterate through all directories and subdirectories
|
|
8
|
-
for /f "delims=" %%d in ('dir "%root%" /ad /b /s') do (
|
|
9
|
-
rem Check if the directory name contains node_modules
|
|
10
|
-
echo %%d | findstr /i /c:"\node_modules" >nul
|
|
11
|
-
echo %%d | findstr /i /c:"\.git" >nul
|
|
12
|
-
if errorlevel 1 (
|
|
13
|
-
rem If not, list the directory contents
|
|
14
|
-
dir "%%d"
|
|
15
|
-
)
|
|
1
|
+
@echo off
|
|
2
|
+
setlocal enabledelayedexpansion
|
|
3
|
+
|
|
4
|
+
rem Define the root directory
|
|
5
|
+
set "root=C:\Users\ROSME\Documents\GitHub\easywork-common-lib"
|
|
6
|
+
|
|
7
|
+
rem Iterate through all directories and subdirectories
|
|
8
|
+
for /f "delims=" %%d in ('dir "%root%" /ad /b /s') do (
|
|
9
|
+
rem Check if the directory name contains node_modules
|
|
10
|
+
echo %%d | findstr /i /c:"\node_modules" >nul
|
|
11
|
+
echo %%d | findstr /i /c:"\.git" >nul
|
|
12
|
+
if errorlevel 1 (
|
|
13
|
+
rem If not, list the directory contents
|
|
14
|
+
dir "%%d"
|
|
15
|
+
)
|
|
16
16
|
)
|
package/tsconfig.build.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"exclude": ["node_modules", "test", "dist", "**/*spec.ts", "eslint.config.js"]
|
|
4
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"exclude": ["node_modules", "test", "dist", "**/*spec.ts", "eslint.config.js"]
|
|
4
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@rubiin/tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"declaration": true,
|
|
6
|
-
"removeComments": true,
|
|
7
|
-
"emitDecoratorMetadata": true,
|
|
8
|
-
"experimentalDecorators": true,
|
|
9
|
-
"allowSyntheticDefaultImports": true,
|
|
10
|
-
"target": "ES2022",
|
|
11
|
-
"sourceMap": true,
|
|
12
|
-
"outDir": "./dist",
|
|
13
|
-
"rootDir": "./src",
|
|
14
|
-
"baseUrl": "./src",
|
|
15
|
-
"incremental": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"skipLibCheck": true,
|
|
18
|
-
"strictNullChecks": false,
|
|
19
|
-
"noImplicitAny": false,
|
|
20
|
-
"strictBindCallApply": false,
|
|
21
|
-
"forceConsistentCasingInFileNames": true,
|
|
22
|
-
"noFallthroughCasesInSwitch": false
|
|
23
|
-
},
|
|
24
|
-
"include": ["test/**/*", "src/**/*", "eslint.config.js"],
|
|
25
|
-
"typeRoots": ["./src/common/@types/typings"]
|
|
26
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "@rubiin/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"removeComments": true,
|
|
7
|
+
"emitDecoratorMetadata": true,
|
|
8
|
+
"experimentalDecorators": true,
|
|
9
|
+
"allowSyntheticDefaultImports": true,
|
|
10
|
+
"target": "ES2022",
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"outDir": "./dist",
|
|
13
|
+
"rootDir": "./src",
|
|
14
|
+
"baseUrl": "./src",
|
|
15
|
+
"incremental": true,
|
|
16
|
+
"strict": true,
|
|
17
|
+
"skipLibCheck": true,
|
|
18
|
+
"strictNullChecks": false,
|
|
19
|
+
"noImplicitAny": false,
|
|
20
|
+
"strictBindCallApply": false,
|
|
21
|
+
"forceConsistentCasingInFileNames": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": false
|
|
23
|
+
},
|
|
24
|
+
"include": ["test/**/*", "src/**/*", "eslint.config.js"],
|
|
25
|
+
"typeRoots": ["./src/common/@types/typings"]
|
|
26
|
+
}
|