easywork-common-lib 1.0.387 → 1.0.389
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/database/base.entity.d.ts +0 -12
- package/dist/common/database/base.entity.js +1 -67
- package/dist/common/database/base.entity.js.map +1 -1
- package/dist/entities/drive/attached_object.entity.d.ts +5 -2
- package/dist/entities/drive/attached_object.entity.js +24 -1
- package/dist/entities/drive/attached_object.entity.js.map +1 -1
- package/dist/entities/drive/file.entity.d.ts +5 -2
- package/dist/entities/drive/file.entity.js +24 -1
- package/dist/entities/drive/file.entity.js.map +1 -1
- package/dist/entities/drive/folder.entity.d.ts +5 -2
- package/dist/entities/drive/folder.entity.js +24 -1
- package/dist/entities/drive/folder.entity.js.map +1 -1
- package/dist/entities/sales/beneficiarios/person.entity.d.ts +5 -2
- package/dist/entities/sales/beneficiarios/person.entity.js +24 -1
- package/dist/entities/sales/beneficiarios/person.entity.js.map +1 -1
- package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +5 -2
- package/dist/entities/sales/beneficiarios/vehicle.entity.js +24 -1
- package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +1 -1
- package/dist/entities/sales/contact-comment.entity.d.ts +5 -2
- package/dist/entities/sales/contact-comment.entity.js +24 -1
- package/dist/entities/sales/contact-comment.entity.js.map +1 -1
- package/dist/entities/sales/contact.entity.d.ts +5 -2
- package/dist/entities/sales/contact.entity.js +29 -1
- package/dist/entities/sales/contact.entity.js.map +1 -1
- package/dist/entities/sales/lead-comment.entity.d.ts +5 -2
- package/dist/entities/sales/lead-comment.entity.js +24 -1
- package/dist/entities/sales/lead-comment.entity.js.map +1 -1
- package/dist/entities/sales/lead.entity.d.ts +5 -2
- package/dist/entities/sales/lead.entity.js +29 -1
- package/dist/entities/sales/lead.entity.js.map +1 -1
- package/dist/entities/sales/poliza-comment.entity.d.ts +5 -2
- package/dist/entities/sales/poliza-comment.entity.js +24 -1
- package/dist/entities/sales/poliza-comment.entity.js.map +1 -1
- package/dist/entities/sales/poliza.entity.d.ts +4 -2
- package/dist/entities/sales/poliza.entity.js +23 -1
- package/dist/entities/sales/poliza.entity.js.map +1 -1
- package/dist/entities/tools/calendar/event.entity.d.ts +4 -2
- package/dist/entities/tools/calendar/event.entity.js +23 -1
- package/dist/entities/tools/calendar/event.entity.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { User } from "../../entities/user.entity";
|
|
2
1
|
import { BaseEntity } from "typeorm";
|
|
3
2
|
export declare class EntityBase extends BaseEntity {
|
|
4
3
|
id?: string;
|
|
@@ -14,14 +13,3 @@ export declare class BaseEntitySimple extends BaseEntity {
|
|
|
14
13
|
updatedAt?: Date;
|
|
15
14
|
deletedAt?: Date;
|
|
16
15
|
}
|
|
17
|
-
export declare class BaseEntityWithUser extends BaseEntity {
|
|
18
|
-
id?: string;
|
|
19
|
-
number: number;
|
|
20
|
-
isActive?: boolean;
|
|
21
|
-
isDeleted?: boolean;
|
|
22
|
-
createdAt?: Date;
|
|
23
|
-
updatedAt?: Date;
|
|
24
|
-
deletedAt?: Date;
|
|
25
|
-
createdBy?: User;
|
|
26
|
-
modifiedBy?: User;
|
|
27
|
-
}
|
|
@@ -9,9 +9,7 @@ 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.
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const user_entity_1 = require("../../entities/user.entity");
|
|
12
|
+
exports.BaseEntitySimple = exports.EntityBase = void 0;
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
let EntityBase = class EntityBase extends typeorm_1.BaseEntity {
|
|
17
15
|
id;
|
|
@@ -75,68 +73,4 @@ __decorate([
|
|
|
75
73
|
exports.BaseEntitySimple = BaseEntitySimple = __decorate([
|
|
76
74
|
(0, typeorm_1.Entity)()
|
|
77
75
|
], BaseEntitySimple);
|
|
78
|
-
let BaseEntityWithUser = class BaseEntityWithUser extends typeorm_1.BaseEntity {
|
|
79
|
-
id;
|
|
80
|
-
number;
|
|
81
|
-
isActive;
|
|
82
|
-
isDeleted;
|
|
83
|
-
createdAt;
|
|
84
|
-
updatedAt;
|
|
85
|
-
deletedAt;
|
|
86
|
-
createdBy;
|
|
87
|
-
modifiedBy;
|
|
88
|
-
};
|
|
89
|
-
exports.BaseEntityWithUser = BaseEntityWithUser;
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
92
|
-
__metadata("design:type", String)
|
|
93
|
-
], BaseEntityWithUser.prototype, "id", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
(0, typeorm_1.Column)(),
|
|
96
|
-
(0, typeorm_1.Generated)("increment"),
|
|
97
|
-
__metadata("design:type", Number)
|
|
98
|
-
], BaseEntityWithUser.prototype, "number", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, typeorm_1.Column)({ default: true }),
|
|
101
|
-
__metadata("design:type", Boolean)
|
|
102
|
-
], BaseEntityWithUser.prototype, "isActive", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
105
|
-
__metadata("design:type", Boolean)
|
|
106
|
-
], BaseEntityWithUser.prototype, "isDeleted", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, typeorm_1.CreateDateColumn)(),
|
|
109
|
-
__metadata("design:type", Date)
|
|
110
|
-
], BaseEntityWithUser.prototype, "createdAt", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
|
113
|
-
__metadata("design:type", Date)
|
|
114
|
-
], BaseEntityWithUser.prototype, "updatedAt", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
(0, typeorm_1.DeleteDateColumn)(),
|
|
117
|
-
__metadata("design:type", Date)
|
|
118
|
-
], BaseEntityWithUser.prototype, "deletedAt", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who created the comment', required: false }),
|
|
121
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
122
|
-
onDelete: "SET NULL",
|
|
123
|
-
onUpdate: "CASCADE",
|
|
124
|
-
nullable: true,
|
|
125
|
-
}),
|
|
126
|
-
(0, typeorm_1.JoinColumn)(),
|
|
127
|
-
__metadata("design:type", user_entity_1.User)
|
|
128
|
-
], BaseEntityWithUser.prototype, "createdBy", void 0);
|
|
129
|
-
__decorate([
|
|
130
|
-
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who modified the comment', required: false }),
|
|
131
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
132
|
-
onDelete: "SET NULL",
|
|
133
|
-
onUpdate: "CASCADE",
|
|
134
|
-
nullable: true,
|
|
135
|
-
}),
|
|
136
|
-
(0, typeorm_1.JoinColumn)(),
|
|
137
|
-
__metadata("design:type", user_entity_1.User)
|
|
138
|
-
], BaseEntityWithUser.prototype, "modifiedBy", void 0);
|
|
139
|
-
exports.BaseEntityWithUser = BaseEntityWithUser = __decorate([
|
|
140
|
-
(0, typeorm_1.Entity)()
|
|
141
|
-
], BaseEntityWithUser);
|
|
142
76
|
//# sourceMappingURL=base.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.entity.js","sourceRoot":"","sources":["../../../src/common/database/base.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"base.entity.js","sourceRoot":"","sources":["../../../src/common/database/base.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAQiB;AAGV,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,oBAAU;IAExC,EAAE,CAAU;IAGZ,QAAQ,CAAW;IAGnB,SAAS,CAAW;IAGpB,SAAS,CAAQ;IAGjB,SAAS,CAAQ;IAGjB,SAAS,CAAQ;CAClB,CAAA;AAlBY,gCAAU;AAErB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;sCACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;4CACP;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CACP;AAGpB;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;6CAAC;AAGjB;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;6CAAC;AAGjB;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;6CAAC;qBAjBN,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAkBtB;AAGM,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,oBAAU;IAE9C,EAAE,CAAU;IAGZ,SAAS,CAAQ;IAGjB,SAAS,CAAQ;IAGjB,SAAS,CAAQ;CAClB,CAAA;AAZY,4CAAgB;AAE3B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;4CACnB;AAGZ;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;mDAAC;AAGjB;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;mDAAC;AAGjB;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;mDAAC;2BAXN,gBAAgB;IAD5B,IAAA,gBAAM,GAAE;GACI,gBAAgB,CAY5B"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { EntityFile } from "../helpers/entity_file.entity";
|
|
3
3
|
import { AttachEntityType, AttachModule } from "../../common";
|
|
4
|
-
|
|
4
|
+
import { User } from "../user.entity";
|
|
5
|
+
export declare class AttachedObject extends EntityBase {
|
|
5
6
|
name: string;
|
|
6
7
|
url: string;
|
|
7
8
|
size: number;
|
|
@@ -14,4 +15,6 @@ export declare class AttachedObject extends BaseEntityWithUser {
|
|
|
14
15
|
isTemporary: boolean;
|
|
15
16
|
metadata: Record<string, any>;
|
|
16
17
|
owners?: EntityFile[];
|
|
18
|
+
createdBy?: User;
|
|
19
|
+
modifiedBy?: User;
|
|
17
20
|
}
|
|
@@ -16,7 +16,8 @@ const typeorm_1 = require("typeorm");
|
|
|
16
16
|
const entity_file_entity_1 = require("../helpers/entity_file.entity");
|
|
17
17
|
const swagger_1 = require("@nestjs/swagger");
|
|
18
18
|
const common_1 = require("../../common");
|
|
19
|
-
|
|
19
|
+
const user_entity_1 = require("../user.entity");
|
|
20
|
+
let AttachedObject = class AttachedObject extends base_entity_1.EntityBase {
|
|
20
21
|
name;
|
|
21
22
|
url;
|
|
22
23
|
size;
|
|
@@ -29,6 +30,8 @@ let AttachedObject = class AttachedObject extends base_entity_1.BaseEntityWithUs
|
|
|
29
30
|
isTemporary;
|
|
30
31
|
metadata;
|
|
31
32
|
owners;
|
|
33
|
+
createdBy;
|
|
34
|
+
modifiedBy;
|
|
32
35
|
};
|
|
33
36
|
exports.AttachedObject = AttachedObject;
|
|
34
37
|
__decorate([
|
|
@@ -118,6 +121,26 @@ __decorate([
|
|
|
118
121
|
}),
|
|
119
122
|
__metadata("design:type", Array)
|
|
120
123
|
], AttachedObject.prototype, "owners", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who created the comment', required: false }),
|
|
126
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
127
|
+
onDelete: "SET NULL",
|
|
128
|
+
onUpdate: "CASCADE",
|
|
129
|
+
nullable: true,
|
|
130
|
+
}),
|
|
131
|
+
(0, typeorm_1.JoinColumn)(),
|
|
132
|
+
__metadata("design:type", user_entity_1.User)
|
|
133
|
+
], AttachedObject.prototype, "createdBy", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who modified the comment', required: false }),
|
|
136
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
137
|
+
onDelete: "SET NULL",
|
|
138
|
+
onUpdate: "CASCADE",
|
|
139
|
+
nullable: true,
|
|
140
|
+
}),
|
|
141
|
+
(0, typeorm_1.JoinColumn)(),
|
|
142
|
+
__metadata("design:type", user_entity_1.User)
|
|
143
|
+
], AttachedObject.prototype, "modifiedBy", void 0);
|
|
121
144
|
exports.AttachedObject = AttachedObject = __decorate([
|
|
122
145
|
(0, typeorm_1.Entity)(),
|
|
123
146
|
(0, typeorm_1.Index)(["name", "module", "entityType", "entityId"], { unique: true })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attached_object.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/attached_object.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"attached_object.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/attached_object.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qDAA4C;AAC5C,qCAAkF;AAClF,sEAA2D;AAC3D,6CAA8C;AAC9C,yCAA8D;AAC9D,gDAAsC;AAI/B,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,wBAAU;IAI5C,IAAI,CAAS;IAIb,GAAG,CAAS;IAIZ,IAAI,CAAS;IAIb,QAAQ,CAAS;IAIjB,KAAK,CAAS;IAId,SAAS,CAAU;IAWnB,MAAM,CAAe;IAYrB,UAAU,CAAmB;IAI7B,QAAQ,CAAS;IAIjB,WAAW,CAAU;IAWrB,QAAQ,CAAsB;IAQ9B,MAAM,CAAgB;IAStB,SAAS,CAAQ;IASjB,UAAU,CAAQ;CACnB,CAAA;AA7FY,wCAAc;AAIzB;IAHC,IAAA,qBAAW,EAAC,E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,KAAK,EAAE,IAAI;KACZ,CAAC;;8CACoB;AAStB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACD,kBAAI;iDAAC;AASjB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,+BAA+B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACA,kBAAI;kDAAC;yBA5FP,cAAc;IAF1B,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GACzD,cAAc,CA6F1B"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { Folder } from "./folder.entity";
|
|
3
3
|
import { EntityFile } from "../helpers/entity_file.entity";
|
|
4
|
-
|
|
4
|
+
import { User } from "../user.entity";
|
|
5
|
+
export declare class File extends EntityBase {
|
|
5
6
|
name: string;
|
|
6
7
|
folder: Folder;
|
|
7
8
|
url: string;
|
|
@@ -11,4 +12,6 @@ export declare class File extends BaseEntityWithUser {
|
|
|
11
12
|
isDefault: boolean;
|
|
12
13
|
isTemporary: boolean;
|
|
13
14
|
owners?: EntityFile[];
|
|
15
|
+
createdBy?: User;
|
|
16
|
+
modifiedBy?: User;
|
|
14
17
|
}
|
|
@@ -16,7 +16,8 @@ const typeorm_1 = require("typeorm");
|
|
|
16
16
|
const folder_entity_1 = require("./folder.entity");
|
|
17
17
|
const entity_file_entity_1 = require("../helpers/entity_file.entity");
|
|
18
18
|
const swagger_1 = require("@nestjs/swagger");
|
|
19
|
-
|
|
19
|
+
const user_entity_1 = require("../user.entity");
|
|
20
|
+
let File = class File extends base_entity_1.EntityBase {
|
|
20
21
|
name;
|
|
21
22
|
folder;
|
|
22
23
|
url;
|
|
@@ -26,6 +27,8 @@ let File = class File extends base_entity_1.BaseEntityWithUser {
|
|
|
26
27
|
isDefault;
|
|
27
28
|
isTemporary;
|
|
28
29
|
owners;
|
|
30
|
+
createdBy;
|
|
31
|
+
modifiedBy;
|
|
29
32
|
};
|
|
30
33
|
exports.File = File;
|
|
31
34
|
__decorate([
|
|
@@ -82,6 +85,26 @@ __decorate([
|
|
|
82
85
|
}),
|
|
83
86
|
__metadata("design:type", Array)
|
|
84
87
|
], File.prototype, "owners", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who created the comment', required: false }),
|
|
90
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
91
|
+
onDelete: "SET NULL",
|
|
92
|
+
onUpdate: "CASCADE",
|
|
93
|
+
nullable: true,
|
|
94
|
+
}),
|
|
95
|
+
(0, typeorm_1.JoinColumn)(),
|
|
96
|
+
__metadata("design:type", user_entity_1.User)
|
|
97
|
+
], File.prototype, "createdBy", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who modified the comment', required: false }),
|
|
100
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
101
|
+
onDelete: "SET NULL",
|
|
102
|
+
onUpdate: "CASCADE",
|
|
103
|
+
nullable: true,
|
|
104
|
+
}),
|
|
105
|
+
(0, typeorm_1.JoinColumn)(),
|
|
106
|
+
__metadata("design:type", user_entity_1.User)
|
|
107
|
+
], File.prototype, "modifiedBy", void 0);
|
|
85
108
|
exports.File = File = __decorate([
|
|
86
109
|
(0, typeorm_1.Entity)()
|
|
87
110
|
], File);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"file.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qDAA4C;AAC5C,qCAA2E;AAC3E,mDAAyC;AACzC,sEAA2D;AAC3D,6CAA8C;AAC9C,gDAAsC;AAG/B,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,wBAAU;IAIlC,IAAI,CAAS;IAQb,MAAM,CAAS;IAIf,GAAG,CAAS;IAIZ,IAAI,CAAS;IAIb,QAAQ,CAAS;IAIjB,KAAK,CAAS;IAId,SAAS,CAAU;IAInB,WAAW,CAAU;IAQrB,MAAM,CAAgB;IAStB,SAAS,CAAQ;IASjB,UAAU,CAAQ;CACnB,CAAA;AA/DY,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,GAAE;;kCACI;AAQb;IANC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,iCAAiC,EAAE,CAAC;IACnF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,CAAC,MAA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";
|
|
3
3
|
import { EntityFolder } from "../helpers/entity_folder.entity";
|
|
4
|
-
|
|
4
|
+
import { User } from "../user.entity";
|
|
5
|
+
export declare class Folder extends EntityBase {
|
|
5
6
|
name: string;
|
|
6
7
|
hidden?: boolean;
|
|
7
8
|
parent: Folder;
|
|
@@ -11,4 +12,6 @@ export declare class Folder extends BaseEntityWithUser {
|
|
|
11
12
|
owners?: EntityFolder[];
|
|
12
13
|
metadata: Record<string, any>;
|
|
13
14
|
generateUid(): void;
|
|
15
|
+
createdBy?: User;
|
|
16
|
+
modifiedBy?: User;
|
|
14
17
|
}
|
|
@@ -17,7 +17,8 @@ const file_entity_1 = require("./file.entity");
|
|
|
17
17
|
const entity_folder_entity_1 = require("../helpers/entity_folder.entity");
|
|
18
18
|
const swagger_1 = require("@nestjs/swagger");
|
|
19
19
|
const nanoid_1 = require("nanoid");
|
|
20
|
-
|
|
20
|
+
const user_entity_1 = require("../user.entity");
|
|
21
|
+
let Folder = class Folder extends base_entity_1.EntityBase {
|
|
21
22
|
name;
|
|
22
23
|
hidden;
|
|
23
24
|
parent;
|
|
@@ -31,6 +32,8 @@ let Folder = class Folder extends base_entity_1.BaseEntityWithUser {
|
|
|
31
32
|
this.uid = (0, nanoid_1.nanoid)(13);
|
|
32
33
|
}
|
|
33
34
|
}
|
|
35
|
+
createdBy;
|
|
36
|
+
modifiedBy;
|
|
34
37
|
};
|
|
35
38
|
exports.Folder = Folder;
|
|
36
39
|
__decorate([
|
|
@@ -100,6 +103,26 @@ __decorate([
|
|
|
100
103
|
__metadata("design:paramtypes", []),
|
|
101
104
|
__metadata("design:returntype", void 0)
|
|
102
105
|
], Folder.prototype, "generateUid", null);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who created the comment', required: false }),
|
|
108
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
109
|
+
onDelete: "SET NULL",
|
|
110
|
+
onUpdate: "CASCADE",
|
|
111
|
+
nullable: true,
|
|
112
|
+
}),
|
|
113
|
+
(0, typeorm_1.JoinColumn)(),
|
|
114
|
+
__metadata("design:type", user_entity_1.User)
|
|
115
|
+
], Folder.prototype, "createdBy", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who modified the comment', required: false }),
|
|
118
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
119
|
+
onDelete: "SET NULL",
|
|
120
|
+
onUpdate: "CASCADE",
|
|
121
|
+
nullable: true,
|
|
122
|
+
}),
|
|
123
|
+
(0, typeorm_1.JoinColumn)(),
|
|
124
|
+
__metadata("design:type", user_entity_1.User)
|
|
125
|
+
], Folder.prototype, "modifiedBy", void 0);
|
|
103
126
|
exports.Folder = Folder = __decorate([
|
|
104
127
|
(0, typeorm_1.Entity)(),
|
|
105
128
|
(0, typeorm_1.Index)(["uid"], { unique: true }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qDAA4C;AAC5C,qCAAgG;AAChG,+CAAqC;AACrC,0EAA+D;AAC/D,6CAA8C;AAC9C,mCAAgC;AAChC,gDAAsC;AAK/B,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,wBAAU;IAIpC,IAAI,CAAS;IAIb,MAAM,CAAW;IAQjB,MAAM,CAAS;IAIf,GAAG,CAAS;IAOZ,KAAK,CAAU;IAOf,OAAO,CAAY;IAQnB,MAAM,CAAkB;IAWxB,QAAQ,CAAsB;IAG9B,WAAW;QACT,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YACd,IAAI,CAAC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,CAAC;IACD,IAAA,oBAAU,GAAE;8BACD,kBAAI;yCAAC;AASjB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,+BAA+B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACA,kBAAI;0CAAC;iBA9EP,MAAM;IAHlB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,CAAC,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAChC,IAAA,eAAK,EAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC/B,MAAM,CA+ElB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { EntityBase } from "../../../common/database/base.entity";
|
|
2
|
+
import { User } from "../../user.entity";
|
|
3
|
+
export declare class BeneficiaryPerson extends EntityBase {
|
|
3
4
|
codigo?: number;
|
|
4
5
|
fullName?: string;
|
|
5
6
|
firstName?: string;
|
|
@@ -7,4 +8,6 @@ export declare class BeneficiaryPerson extends BaseEntityWithUser {
|
|
|
7
8
|
seniorityDate: Date;
|
|
8
9
|
policyPlan?: string;
|
|
9
10
|
movementDescription?: string;
|
|
11
|
+
createdBy?: User;
|
|
12
|
+
modifiedBy?: User;
|
|
10
13
|
}
|
|
@@ -13,7 +13,8 @@ exports.BeneficiaryPerson = void 0;
|
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const base_entity_1 = require("../../../common/database/base.entity");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
-
|
|
16
|
+
const user_entity_1 = require("../../user.entity");
|
|
17
|
+
let BeneficiaryPerson = class BeneficiaryPerson extends base_entity_1.EntityBase {
|
|
17
18
|
codigo;
|
|
18
19
|
fullName;
|
|
19
20
|
firstName;
|
|
@@ -21,6 +22,8 @@ let BeneficiaryPerson = class BeneficiaryPerson extends base_entity_1.BaseEntity
|
|
|
21
22
|
seniorityDate;
|
|
22
23
|
policyPlan;
|
|
23
24
|
movementDescription;
|
|
25
|
+
createdBy;
|
|
26
|
+
modifiedBy;
|
|
24
27
|
};
|
|
25
28
|
exports.BeneficiaryPerson = BeneficiaryPerson;
|
|
26
29
|
__decorate([
|
|
@@ -58,6 +61,26 @@ __decorate([
|
|
|
58
61
|
(0, typeorm_1.Column)({ length: 50, nullable: true }),
|
|
59
62
|
__metadata("design:type", String)
|
|
60
63
|
], BeneficiaryPerson.prototype, "movementDescription", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who created the comment', required: false }),
|
|
66
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
67
|
+
onDelete: "SET NULL",
|
|
68
|
+
onUpdate: "CASCADE",
|
|
69
|
+
nullable: true,
|
|
70
|
+
}),
|
|
71
|
+
(0, typeorm_1.JoinColumn)(),
|
|
72
|
+
__metadata("design:type", user_entity_1.User)
|
|
73
|
+
], BeneficiaryPerson.prototype, "createdBy", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who modified the comment', required: false }),
|
|
76
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
77
|
+
onDelete: "SET NULL",
|
|
78
|
+
onUpdate: "CASCADE",
|
|
79
|
+
nullable: true,
|
|
80
|
+
}),
|
|
81
|
+
(0, typeorm_1.JoinColumn)(),
|
|
82
|
+
__metadata("design:type", user_entity_1.User)
|
|
83
|
+
], BeneficiaryPerson.prototype, "modifiedBy", void 0);
|
|
61
84
|
exports.BeneficiaryPerson = BeneficiaryPerson = __decorate([
|
|
62
85
|
(0, typeorm_1.Entity)()
|
|
63
86
|
], BeneficiaryPerson);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"person.entity.js","sourceRoot":"","sources":["../../../../src/entities/sales/beneficiarios/person.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"person.entity.js","sourceRoot":"","sources":["../../../../src/entities/sales/beneficiarios/person.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,sEAAkE;AAClE,qCAAgE;AAChE,mDAAyC;AAGlC,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,wBAAU;IAG/C,MAAM,CAAU;IAKhB,QAAQ,CAAU;IAIlB,SAAS,CAAU;IAInB,QAAQ,CAAU;IAKlB,aAAa,CAAO;IAIpB,UAAU,CAAU;IAIpB,mBAAmB,CAAU;IAS7B,SAAS,CAAQ;IASjB,UAAU,CAAQ;CACnB,CAAA;AAhDY,8CAAiB;AAG5B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChF,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC3B;AAKhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACtB;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,QAAQ,EAAE,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I;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACD,kBAAI;oDAAC;AASjB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,+BAA+B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACA,kBAAI;qDAAC;4BA/CP,iBAAiB;IAD7B,IAAA,gBAAM,GAAE;GACI,iBAAiB,CAgD7B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { EntityBase } from "../../../common/database/base.entity";
|
|
2
|
+
import { User } from "../../user.entity";
|
|
3
|
+
export declare class BeneficiaryVehicle extends EntityBase {
|
|
3
4
|
description: string;
|
|
4
5
|
serial?: string;
|
|
5
6
|
model?: string;
|
|
@@ -10,4 +11,6 @@ export declare class BeneficiaryVehicle extends BaseEntityWithUser {
|
|
|
10
11
|
regularDriver?: string;
|
|
11
12
|
regularDriverAge?: number;
|
|
12
13
|
preferredBeneficiary?: string;
|
|
14
|
+
createdBy?: User;
|
|
15
|
+
modifiedBy?: User;
|
|
13
16
|
}
|
|
@@ -13,7 +13,8 @@ exports.BeneficiaryVehicle = void 0;
|
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const base_entity_1 = require("../../../common/database/base.entity");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
-
|
|
16
|
+
const user_entity_1 = require("../../user.entity");
|
|
17
|
+
let BeneficiaryVehicle = class BeneficiaryVehicle extends base_entity_1.EntityBase {
|
|
17
18
|
description;
|
|
18
19
|
serial;
|
|
19
20
|
model;
|
|
@@ -24,6 +25,8 @@ let BeneficiaryVehicle = class BeneficiaryVehicle extends base_entity_1.BaseEnti
|
|
|
24
25
|
regularDriver;
|
|
25
26
|
regularDriverAge;
|
|
26
27
|
preferredBeneficiary;
|
|
28
|
+
createdBy;
|
|
29
|
+
modifiedBy;
|
|
27
30
|
};
|
|
28
31
|
exports.BeneficiaryVehicle = BeneficiaryVehicle;
|
|
29
32
|
__decorate([
|
|
@@ -76,6 +79,26 @@ __decorate([
|
|
|
76
79
|
(0, typeorm_1.Column)({ length: 255, nullable: true }),
|
|
77
80
|
__metadata("design:type", String)
|
|
78
81
|
], BeneficiaryVehicle.prototype, "preferredBeneficiary", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who created the comment', required: false }),
|
|
84
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
85
|
+
onDelete: "SET NULL",
|
|
86
|
+
onUpdate: "CASCADE",
|
|
87
|
+
nullable: true,
|
|
88
|
+
}),
|
|
89
|
+
(0, typeorm_1.JoinColumn)(),
|
|
90
|
+
__metadata("design:type", user_entity_1.User)
|
|
91
|
+
], BeneficiaryVehicle.prototype, "createdBy", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who modified the comment', required: false }),
|
|
94
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
95
|
+
onDelete: "SET NULL",
|
|
96
|
+
onUpdate: "CASCADE",
|
|
97
|
+
nullable: true,
|
|
98
|
+
}),
|
|
99
|
+
(0, typeorm_1.JoinColumn)(),
|
|
100
|
+
__metadata("design:type", user_entity_1.User)
|
|
101
|
+
], BeneficiaryVehicle.prototype, "modifiedBy", void 0);
|
|
79
102
|
exports.BeneficiaryVehicle = BeneficiaryVehicle = __decorate([
|
|
80
103
|
(0, typeorm_1.Entity)(),
|
|
81
104
|
(0, typeorm_1.Index)(["serial", "model", "plates"], { unique: true })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vehicle.entity.js","sourceRoot":"","sources":["../../../../src/entities/sales/beneficiarios/vehicle.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"vehicle.entity.js","sourceRoot":"","sources":["../../../../src/entities/sales/beneficiarios/vehicle.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,sEAAkE;AAClE,qCAAuE;AACvE,mDAAyC;AAIlC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,wBAAU;IAGhD,WAAW,CAAS;IAIpB,MAAM,CAAU;IAIhB,KAAK,CAAU;IAIf,KAAK,CAAU;IAIf,MAAM,CAAU;IAIhB,KAAK,CAAU;IAIf,YAAY,CAAU;IAItB,aAAa,CAAU;IAIvB,gBAAgB,CAAU;IAI1B,oBAAoB,CAAU;IAS9B,SAAS,CAAQ;IASjB,UAAU,CAAQ;CACnB,CAAA;AA1DY,gDAAkB;AAG7B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzG,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uDACL;AAIpB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrE,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACvB;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,E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entity";
|
|
3
|
-
|
|
3
|
+
import { User } from "../user.entity";
|
|
4
|
+
export declare class ContactComment extends EntityBase {
|
|
4
5
|
comment: string;
|
|
5
6
|
pinned: boolean;
|
|
6
7
|
contact: Contact;
|
|
8
|
+
createdBy?: User;
|
|
9
|
+
modifiedBy?: User;
|
|
7
10
|
}
|
|
@@ -15,10 +15,13 @@ const class_validator_1 = require("class-validator");
|
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const contact_entity_1 = require("./contact.entity");
|
|
17
17
|
const swagger_1 = require("@nestjs/swagger");
|
|
18
|
-
|
|
18
|
+
const user_entity_1 = require("../user.entity");
|
|
19
|
+
let ContactComment = class ContactComment extends base_entity_1.EntityBase {
|
|
19
20
|
comment;
|
|
20
21
|
pinned;
|
|
21
22
|
contact;
|
|
23
|
+
createdBy;
|
|
24
|
+
modifiedBy;
|
|
22
25
|
};
|
|
23
26
|
exports.ContactComment = ContactComment;
|
|
24
27
|
__decorate([
|
|
@@ -40,6 +43,26 @@ __decorate([
|
|
|
40
43
|
}),
|
|
41
44
|
__metadata("design:type", contact_entity_1.Contact)
|
|
42
45
|
], ContactComment.prototype, "contact", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who created the comment', required: false }),
|
|
48
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
49
|
+
onDelete: "SET NULL",
|
|
50
|
+
onUpdate: "CASCADE",
|
|
51
|
+
nullable: true,
|
|
52
|
+
}),
|
|
53
|
+
(0, typeorm_1.JoinColumn)(),
|
|
54
|
+
__metadata("design:type", user_entity_1.User)
|
|
55
|
+
], ContactComment.prototype, "createdBy", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who modified the comment', required: false }),
|
|
58
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
59
|
+
onDelete: "SET NULL",
|
|
60
|
+
onUpdate: "CASCADE",
|
|
61
|
+
nullable: true,
|
|
62
|
+
}),
|
|
63
|
+
(0, typeorm_1.JoinColumn)(),
|
|
64
|
+
__metadata("design:type", user_entity_1.User)
|
|
65
|
+
], ContactComment.prototype, "modifiedBy", void 0);
|
|
43
66
|
exports.ContactComment = ContactComment = __decorate([
|
|
44
67
|
(0, typeorm_1.Entity)()
|
|
45
68
|
], ContactComment);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact-comment.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/contact-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"contact-comment.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/contact-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAAgE;AAChE,qDAA4C;AAC5C,qCAAgE;AAChE,qDAA2C;AAC3C,6CAA8C;AAC9C,gDAAsC;AAG/B,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,wBAAU;IAI1C,OAAO,CAAS;IAIhB,MAAM,CAAU;IAOhB,OAAO,CAAU;IASjB,SAAS,CAAQ;IASjB,UAAU,CAAQ;CACrB,CAAA;AAlCY,wCAAc;AAIvB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACxE,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;+CACT;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC7E,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CACX;AAOhB;IALC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,wBAAO,EAAE,WAAW,EAAE,qCAAqC,EAAE,CAAC;IACxF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;8BACO,wBAAO;+CAAC;AASjB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACD,kBAAI;iDAAC;AASjB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,+BAA+B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACA,kBAAI;kDAAC;yBAjCT,cAAc;IAD1B,IAAA,gBAAM,GAAE;GACI,cAAc,CAkC1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { ContactEmail } from "../helpers/sales/contact/contact_email.entity";
|
|
3
3
|
import { ContactPhone } from "../helpers/sales/contact/contact_phone.entity";
|
|
4
4
|
import { ClientSource } from "../helpers/sales/common/client_sources.entity";
|
|
@@ -9,8 +9,9 @@ import { Lead } from "./lead.entity";
|
|
|
9
9
|
import { PersonType } from "../../common";
|
|
10
10
|
import { ContactInsurance } from "../helpers/sales/contact/contact_insurance.entity";
|
|
11
11
|
import { TaskCRM } from "../helpers";
|
|
12
|
-
export declare class Contact extends
|
|
12
|
+
export declare class Contact extends EntityBase {
|
|
13
13
|
idBitrix?: number;
|
|
14
|
+
number: number;
|
|
14
15
|
typePerson: PersonType;
|
|
15
16
|
codigo?: string;
|
|
16
17
|
fullName?: string;
|
|
@@ -41,4 +42,6 @@ export declare class Contact extends BaseEntityWithUser {
|
|
|
41
42
|
export?: boolean;
|
|
42
43
|
sourceDescription?: string;
|
|
43
44
|
polizas?: Poliza[];
|
|
45
|
+
createdBy?: User;
|
|
46
|
+
modifiedBy?: User;
|
|
44
47
|
}
|