easywork-common-lib 1.0.207 → 1.0.210
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 +12 -12
- package/dist/entities/drive/file.entity.js +12 -2
- package/dist/entities/drive/file.entity.js.map +1 -1
- package/dist/entities/drive/folder.entity.js +7 -1
- package/dist/entities/drive/folder.entity.js.map +1 -1
- package/dist/entities/email.entity.js +3 -0
- package/dist/entities/email.entity.js.map +1 -1
- package/dist/entities/helpers/entity_file.entity.js +7 -0
- package/dist/entities/helpers/entity_file.entity.js.map +1 -1
- package/dist/entities/helpers/entity_folder.entity.js +7 -0
- package/dist/entities/helpers/entity_folder.entity.js.map +1 -1
- package/dist/entities/helpers/sales/contact/contact_email.entity.js +9 -2
- package/dist/entities/helpers/sales/contact/contact_email.entity.js.map +1 -1
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js +7 -0
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js.map +1 -1
- package/dist/entities/helpers/sales/contact/contact_sources.entity.js +3 -0
- package/dist/entities/helpers/sales/contact/contact_sources.entity.js.map +1 -1
- package/dist/entities/helpers/sales/contact/contact_types.entity.js +3 -0
- package/dist/entities/helpers/sales/contact/contact_types.entity.js.map +1 -1
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js +2 -0
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js.map +1 -1
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js +3 -0
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js.map +1 -1
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js +2 -0
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js.map +1 -1
- package/dist/entities/helpers/sales/lead/lead_email.entity.js +9 -2
- package/dist/entities/helpers/sales/lead/lead_email.entity.js.map +1 -1
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js +9 -2
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js.map +1 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js +4 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js.map +1 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js +4 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js.map +1 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js +3 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js.map +1 -1
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.js +8 -1
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.js.map +1 -1
- package/dist/entities/helpers/tools/task_crm.entity.js +9 -0
- package/dist/entities/helpers/tools/task_crm.entity.js.map +1 -1
- package/dist/entities/notifications/push-token.entity.js +4 -0
- package/dist/entities/notifications/push-token.entity.js.map +1 -1
- package/dist/entities/oauth.entity.js +1 -1
- package/dist/entities/oauth.entity.js.map +1 -1
- package/dist/entities/otp-log.entity.js +5 -0
- package/dist/entities/otp-log.entity.js.map +1 -1
- package/dist/entities/permission.entity.js +4 -0
- package/dist/entities/permission.entity.js.map +1 -1
- package/dist/entities/phone.entity.js +3 -0
- package/dist/entities/phone.entity.js.map +1 -1
- package/dist/entities/profile.entity.js +6 -0
- package/dist/entities/profile.entity.js.map +1 -1
- package/dist/entities/role.entity.js +3 -0
- package/dist/entities/role.entity.js.map +1 -1
- package/dist/entities/sales/contact.entity.js +34 -0
- package/dist/entities/sales/contact.entity.js.map +1 -1
- package/dist/entities/sales/lead.entity.js +42 -0
- package/dist/entities/sales/lead.entity.js.map +1 -1
- package/dist/entities/sales/poliza.entity.js +60 -0
- package/dist/entities/sales/poliza.entity.js.map +1 -1
- package/dist/entities/sales/poliza_siniestro.entity.js +7 -0
- package/dist/entities/sales/poliza_siniestro.entity.js.map +1 -1
- package/dist/entities/tag.entity.js +4 -0
- package/dist/entities/tag.entity.js.map +1 -1
- package/dist/entities/tools/task-comment.entity.js +5 -0
- package/dist/entities/tools/task-comment.entity.js.map +1 -1
- package/dist/entities/tools/task-list-field.js +4 -0
- package/dist/entities/tools/task-list-field.js.map +1 -1
- package/dist/entities/tools/task.entity.d.ts +1 -1
- package/dist/entities/tools/task.entity.js +28 -1
- package/dist/entities/tools/task.entity.js.map +1 -1
- package/dist/entities/user.entity.js +16 -0
- package/dist/entities/user.entity.js.map +1 -1
- package/package.json +38 -38
- package/scripts/bump.sh +5 -5
- package/test.bat +15 -15
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +26 -26
- package/tsconfig.tsbuildinfo +1 -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
|
package/.vscode/settings.json
CHANGED
|
@@ -1,13 +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,
|
|
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
13
|
}
|
|
@@ -15,6 +15,7 @@ const class_validator_1 = require("class-validator");
|
|
|
15
15
|
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
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
18
19
|
let File = class File extends database_1.BaseEntity {
|
|
19
20
|
name;
|
|
20
21
|
folder;
|
|
@@ -27,11 +28,14 @@ let File = class File extends database_1.BaseEntity {
|
|
|
27
28
|
};
|
|
28
29
|
exports.File = File;
|
|
29
30
|
__decorate([
|
|
31
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the file', minLength: 1 }),
|
|
30
32
|
(0, class_validator_1.MinLength)(1),
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
31
34
|
__metadata("design:type", String)
|
|
32
35
|
], File.prototype, "name", void 0);
|
|
33
36
|
__decorate([
|
|
34
|
-
(0,
|
|
37
|
+
(0, swagger_1.ApiProperty)({ type: () => folder_entity_1.Folder, description: 'Folder associated with the file' }),
|
|
38
|
+
(0, typeorm_1.ManyToOne)(() => folder_entity_1.Folder, (folder) => folder.files, {
|
|
35
39
|
onDelete: "CASCADE",
|
|
36
40
|
onUpdate: "CASCADE",
|
|
37
41
|
eager: true
|
|
@@ -39,27 +43,33 @@ __decorate([
|
|
|
39
43
|
__metadata("design:type", folder_entity_1.Folder)
|
|
40
44
|
], File.prototype, "folder", void 0);
|
|
41
45
|
__decorate([
|
|
46
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'URL of the file', required: false }),
|
|
42
47
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
43
48
|
__metadata("design:type", String)
|
|
44
49
|
], File.prototype, "url", void 0);
|
|
45
50
|
__decorate([
|
|
51
|
+
(0, swagger_1.ApiProperty)({ type: 'bigint', description: 'Size of the file in bytes', required: false }),
|
|
46
52
|
(0, typeorm_1.Column)({ nullable: true, type: "bigint" }),
|
|
47
53
|
__metadata("design:type", Number)
|
|
48
54
|
], File.prototype, "size", void 0);
|
|
49
55
|
__decorate([
|
|
56
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'MIME type of the file', required: false }),
|
|
50
57
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
51
58
|
__metadata("design:type", String)
|
|
52
59
|
], File.prototype, "mimeType", void 0);
|
|
53
60
|
__decorate([
|
|
61
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'S3 key of the file', required: false }),
|
|
54
62
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
55
63
|
__metadata("design:type", String)
|
|
56
64
|
], File.prototype, "s3Key", void 0);
|
|
57
65
|
__decorate([
|
|
66
|
+
(0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is this the default file?', default: false }),
|
|
58
67
|
(0, typeorm_1.Column)({ default: false }),
|
|
59
68
|
__metadata("design:type", Boolean)
|
|
60
69
|
], File.prototype, "isDefault", void 0);
|
|
61
70
|
__decorate([
|
|
62
|
-
(0,
|
|
71
|
+
(0, swagger_1.ApiProperty)({ type: () => [entity_file_entity_1.EntityFile], description: 'Entities that own the file' }),
|
|
72
|
+
(0, typeorm_1.OneToMany)(() => entity_file_entity_1.EntityFile, (entityFile) => entityFile.file, {
|
|
63
73
|
onDelete: "CASCADE",
|
|
64
74
|
onUpdate: "CASCADE",
|
|
65
75
|
eager: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qDAA4C;AAC5C,qCAA+D;AAC/D,mDAAyC;AACzC,sEAA2D;
|
|
1
|
+
{"version":3,"file":"file.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qDAA4C;AAC5C,qCAA+D;AAC/D,mDAAyC;AACzC,sEAA2D;AAC3D,6CAA8C;AAGvC,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,qBAAU;IAIlC,IAAI,CAAS;IAQb,MAAM,CAAS;IAIf,GAAG,CAAS;IAIZ,IAAI,CAAS;IAIb,QAAQ,CAAS;IAIjB,KAAK,CAAS;IAId,SAAS,CAAU;IAQnB,MAAM,CAAgB;CACvB,CAAA;AAzCY,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,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE;QACjD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACM,sBAAM;oCAAC;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,iBAAi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X,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAyChB"}
|
|
@@ -15,6 +15,7 @@ const class_validator_1 = require("class-validator");
|
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const file_entity_1 = require("./file.entity");
|
|
17
17
|
const entity_folder_entity_1 = require("../helpers/entity_folder.entity");
|
|
18
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
18
19
|
let Folder = class Folder extends database_1.BaseEntity {
|
|
19
20
|
name;
|
|
20
21
|
parent;
|
|
@@ -24,11 +25,13 @@ let Folder = class Folder extends database_1.BaseEntity {
|
|
|
24
25
|
};
|
|
25
26
|
exports.Folder = Folder;
|
|
26
27
|
__decorate([
|
|
28
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the folder', minLength: 1 }),
|
|
27
29
|
(0, class_validator_1.MinLength)(1),
|
|
28
30
|
(0, typeorm_1.Column)(),
|
|
29
31
|
__metadata("design:type", String)
|
|
30
32
|
], Folder.prototype, "name", void 0);
|
|
31
33
|
__decorate([
|
|
34
|
+
(0, swagger_1.ApiProperty)({ type: () => Folder, description: 'Parent folder', required: false }),
|
|
32
35
|
(0, typeorm_1.ManyToOne)(() => Folder, {
|
|
33
36
|
onDelete: "CASCADE",
|
|
34
37
|
onUpdate: "CASCADE",
|
|
@@ -36,6 +39,7 @@ __decorate([
|
|
|
36
39
|
__metadata("design:type", Folder)
|
|
37
40
|
], Folder.prototype, "parent", void 0);
|
|
38
41
|
__decorate([
|
|
42
|
+
(0, swagger_1.ApiProperty)({ type: () => [file_entity_1.File], description: 'Files in the folder' }),
|
|
39
43
|
(0, typeorm_1.OneToMany)(() => file_entity_1.File, (file) => file.folder, {
|
|
40
44
|
onDelete: "CASCADE",
|
|
41
45
|
onUpdate: "CASCADE",
|
|
@@ -43,6 +47,7 @@ __decorate([
|
|
|
43
47
|
__metadata("design:type", Array)
|
|
44
48
|
], Folder.prototype, "files", void 0);
|
|
45
49
|
__decorate([
|
|
50
|
+
(0, swagger_1.ApiProperty)({ type: () => [Folder], description: 'Subfolders in the folder' }),
|
|
46
51
|
(0, typeorm_1.OneToMany)(() => Folder, (folder) => folder.parent, {
|
|
47
52
|
onDelete: "CASCADE",
|
|
48
53
|
onUpdate: "CASCADE",
|
|
@@ -50,7 +55,8 @@ __decorate([
|
|
|
50
55
|
__metadata("design:type", Array)
|
|
51
56
|
], Folder.prototype, "folders", void 0);
|
|
52
57
|
__decorate([
|
|
53
|
-
(0,
|
|
58
|
+
(0, swagger_1.ApiProperty)({ type: () => [entity_folder_entity_1.EntityFolder], description: 'Entities that own the folder' }),
|
|
59
|
+
(0, typeorm_1.OneToMany)(() => entity_folder_entity_1.EntityFolder, (entityFolder) => entityFolder.folder, {
|
|
54
60
|
onDelete: "CASCADE",
|
|
55
61
|
onUpdate: "CASCADE",
|
|
56
62
|
eager: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qDAA4C;AAC5C,qCAAsE;AACtE,+CAAqC;AACrC,0EAA+D;
|
|
1
|
+
{"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qDAA4C;AAC5C,qCAAsE;AACtE,+CAAqC;AACrC,0EAA+D;AAC/D,6CAA8C;AAIvC,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,qBAAU;IAIpC,IAAI,CAAS;IAOb,MAAM,CAAS;IAOf,KAAK,CAAU;IAOf,OAAO,CAAY;IAQnB,MAAM,CAAkB;CACzB,CAAA;AAlCY,wBAAM;AAIjB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,oBAAoB,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAC9E,IAAA,2BAAS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AAE,IAAI;KACZ,CAAC;;sCACsB;iBAjCb,MAAM;IAFlB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC/B,MAAM,CAkClB"}
|
|
@@ -13,17 +13,20 @@ exports.Email = void 0;
|
|
|
13
13
|
const database_1 = require("../common/database");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
17
|
let Email = class Email extends database_1.BaseEntity {
|
|
17
18
|
email;
|
|
18
19
|
isDefault;
|
|
19
20
|
};
|
|
20
21
|
exports.Email = Email;
|
|
21
22
|
__decorate([
|
|
23
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Email address', minLength: 3 }),
|
|
22
24
|
(0, class_validator_1.MinLength)(3),
|
|
23
25
|
(0, typeorm_1.Column)({ unique: true }),
|
|
24
26
|
__metadata("design:type", String)
|
|
25
27
|
], Email.prototype, "email", void 0);
|
|
26
28
|
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is this the default email', default: false }),
|
|
27
30
|
(0, typeorm_1.Column)({ name: "is_default", default: false }),
|
|
28
31
|
__metadata("design:type", Boolean)
|
|
29
32
|
], Email.prototype, "isDefault", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.entity.js","sourceRoot":"","sources":["../../src/entities/email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qDAA4C;AAC5C,qCAAyC;
|
|
1
|
+
{"version":3,"file":"email.entity.js","sourceRoot":"","sources":["../../src/entities/email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,qBAAU;IAInC,KAAK,CAAS;IAId,SAAS,CAAU;CACpB,CAAA;AATY,sBAAK;AAIhB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACzE,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;oCACX;AAId;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,2BAA2B,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACxF,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;wCAC5B;gBARR,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CASjB"}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.EntityFile = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const file_entity_1 = require("../drive/file.entity");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
16
|
let EntityFile = class EntityFile extends typeorm_1.BaseEntity {
|
|
16
17
|
id;
|
|
17
18
|
entityId;
|
|
@@ -22,26 +23,32 @@ let EntityFile = class EntityFile extends typeorm_1.BaseEntity {
|
|
|
22
23
|
};
|
|
23
24
|
exports.EntityFile = EntityFile;
|
|
24
25
|
__decorate([
|
|
26
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the entity file', format: 'uuid' }),
|
|
25
27
|
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
26
28
|
__metadata("design:type", String)
|
|
27
29
|
], EntityFile.prototype, "id", void 0);
|
|
28
30
|
__decorate([
|
|
31
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated entity', format: 'uuid' }),
|
|
29
32
|
(0, typeorm_1.Column)("uuid"),
|
|
30
33
|
__metadata("design:type", String)
|
|
31
34
|
], EntityFile.prototype, "entityId", void 0);
|
|
32
35
|
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Type of the associated entity' }),
|
|
33
37
|
(0, typeorm_1.Column)(),
|
|
34
38
|
__metadata("design:type", String)
|
|
35
39
|
], EntityFile.prototype, "entityType", void 0);
|
|
36
40
|
__decorate([
|
|
41
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated file' }),
|
|
37
42
|
(0, typeorm_1.Column)(),
|
|
38
43
|
__metadata("design:type", String)
|
|
39
44
|
], EntityFile.prototype, "fileId", void 0);
|
|
40
45
|
__decorate([
|
|
46
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
|
|
41
47
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
42
48
|
__metadata("design:type", String)
|
|
43
49
|
], EntityFile.prototype, "relation", void 0);
|
|
44
50
|
__decorate([
|
|
51
|
+
(0, swagger_1.ApiProperty)({ type: () => file_entity_1.File, description: 'File entity associated' }),
|
|
45
52
|
(0, typeorm_1.ManyToOne)(() => file_entity_1.File, file => file.owners, {
|
|
46
53
|
onDelete: "CASCADE",
|
|
47
54
|
onUpdate: "CASCADE",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity_file.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/entity_file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,sDAA4C;
|
|
1
|
+
{"version":3,"file":"entity_file.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/entity_file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,sDAA4C;AAC5C,6CAA8C;AAGvC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,oBAAU;IAGxC,EAAE,CAAS;IAIX,QAAQ,CAAS;IAIjB,UAAU,CA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,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.EntityFolder = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const folder_entity_1 = require("../drive/folder.entity");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
16
|
let EntityFolder = class EntityFolder extends typeorm_1.BaseEntity {
|
|
16
17
|
id;
|
|
17
18
|
entityId;
|
|
@@ -22,26 +23,32 @@ let EntityFolder = class EntityFolder extends typeorm_1.BaseEntity {
|
|
|
22
23
|
};
|
|
23
24
|
exports.EntityFolder = EntityFolder;
|
|
24
25
|
__decorate([
|
|
26
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the entity folder', format: 'uuid' }),
|
|
25
27
|
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
26
28
|
__metadata("design:type", String)
|
|
27
29
|
], EntityFolder.prototype, "id", void 0);
|
|
28
30
|
__decorate([
|
|
31
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated entity', format: 'uuid' }),
|
|
29
32
|
(0, typeorm_1.Column)("uuid"),
|
|
30
33
|
__metadata("design:type", String)
|
|
31
34
|
], EntityFolder.prototype, "entityId", void 0);
|
|
32
35
|
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Type of the associated entity' }),
|
|
33
37
|
(0, typeorm_1.Column)(),
|
|
34
38
|
__metadata("design:type", String)
|
|
35
39
|
], EntityFolder.prototype, "entityType", void 0);
|
|
36
40
|
__decorate([
|
|
41
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated folder' }),
|
|
37
42
|
(0, typeorm_1.Column)(),
|
|
38
43
|
__metadata("design:type", String)
|
|
39
44
|
], EntityFolder.prototype, "folderId", void 0);
|
|
40
45
|
__decorate([
|
|
46
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
|
|
41
47
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
42
48
|
__metadata("design:type", String)
|
|
43
49
|
], EntityFolder.prototype, "relation", void 0);
|
|
44
50
|
__decorate([
|
|
51
|
+
(0, swagger_1.ApiProperty)({ type: () => folder_entity_1.Folder, description: 'Folder entity associated' }),
|
|
45
52
|
(0, typeorm_1.ManyToOne)(() => folder_entity_1.Folder, folder => folder.owners, {
|
|
46
53
|
onDelete: "CASCADE",
|
|
47
54
|
onUpdate: "CASCADE",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity_folder.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/entity_folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,0DAAgD;
|
|
1
|
+
{"version":3,"file":"entity_folder.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/entity_folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,0DAAgD;AAChD,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAG1C,EAAE,CAAS;IAIX,QAAQ,CAAS;IAIjB,UAAU,CAAS;IAInB,QAAQ,CAAS;IAIjB,QAAQ,CAAS;IAOV,MAAM,CAAS;CACvB,CAAA;AA3BY,oCAAY;AAGvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACvF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACpB;AAIX;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACzF,IAAA,gBAAM,EAAC,MAAM,CAAC;;8CACE;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC3E,IAAA,gBAAM,GAAE;;gDACU;AAInB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;IACzE,IAAA,gBAAM,GAAE;;8CACQ;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAOV;IALN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;IAC5E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE;QAChD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACa,sBAAM;4CAAC;uBA1BX,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CA2BxB"}
|
|
@@ -14,6 +14,7 @@ const typeorm_1 = require("typeorm");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const contact_entity_1 = require("../../../sales/contact.entity");
|
|
16
16
|
const email_entity_1 = require("../../../email.entity");
|
|
17
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
18
|
let ContactEmail = class ContactEmail extends typeorm_1.BaseEntity {
|
|
18
19
|
id;
|
|
19
20
|
contactId;
|
|
@@ -24,23 +25,28 @@ let ContactEmail = class ContactEmail extends typeorm_1.BaseEntity {
|
|
|
24
25
|
};
|
|
25
26
|
exports.ContactEmail = ContactEmail;
|
|
26
27
|
__decorate([
|
|
28
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the contact email', format: 'uuid' }),
|
|
27
29
|
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
28
30
|
__metadata("design:type", String)
|
|
29
31
|
], ContactEmail.prototype, "id", void 0);
|
|
30
32
|
__decorate([
|
|
31
|
-
(0,
|
|
33
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated contact', format: 'uuid' }),
|
|
34
|
+
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
32
35
|
__metadata("design:type", String)
|
|
33
36
|
], ContactEmail.prototype, "contactId", void 0);
|
|
34
37
|
__decorate([
|
|
35
|
-
(0,
|
|
38
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated email', format: 'uuid' }),
|
|
39
|
+
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
36
40
|
__metadata("design:type", String)
|
|
37
41
|
], ContactEmail.prototype, "emailId", void 0);
|
|
38
42
|
__decorate([
|
|
43
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
|
|
39
44
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
40
45
|
__metadata("design:type", String)
|
|
41
46
|
], ContactEmail.prototype, "relation", void 0);
|
|
42
47
|
__decorate([
|
|
43
48
|
(0, class_transformer_1.Exclude)(),
|
|
49
|
+
(0, swagger_1.ApiProperty)({ type: () => contact_entity_1.Contact, description: 'Contact entity associated' }),
|
|
44
50
|
(0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, contact => contact.emails, {
|
|
45
51
|
onDelete: "CASCADE",
|
|
46
52
|
onUpdate: "CASCADE",
|
|
@@ -48,6 +54,7 @@ __decorate([
|
|
|
48
54
|
__metadata("design:type", contact_entity_1.Contact)
|
|
49
55
|
], ContactEmail.prototype, "contact", void 0);
|
|
50
56
|
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({ type: () => email_entity_1.Email, description: 'Email entity associated' }),
|
|
51
58
|
(0, typeorm_1.ManyToOne)(() => email_entity_1.Email, {
|
|
52
59
|
onDelete: "CASCADE",
|
|
53
60
|
onUpdate: "CASCADE",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact_email.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,kEAAwD;AACxD,wDAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;
|
|
1
|
+
{"version":3,"file":"contact_email.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,kEAAwD;AACxD,wDAA8C;AAC9C,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAG1C,EAAE,CAAU;IAIZ,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,QAAQ,CAAS;IAQV,OAAO,CAAU;IAQjB,KAAK,CAAQ;CACrB,CAAA;AAhCY,oCAAY;AAGvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACvF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC1F,IAAA,gBAAM,EAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;+CACL;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACxF,IAAA,gBAAM,EAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;6CACP;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAQV;IANN,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,wBAAO,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;IAC9E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE;QACnD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACc,wBAAO;6CAAC;AAQjB;IANN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IAC1E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACY,oBAAK;2CAAC;uBA/BT,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAgCxB"}
|
|
@@ -14,6 +14,7 @@ const typeorm_1 = require("typeorm");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const contact_entity_1 = require("../../../sales/contact.entity");
|
|
16
16
|
const phone_entity_1 = require("../../../phone.entity");
|
|
17
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
18
|
let ContactPhone = class ContactPhone extends typeorm_1.BaseEntity {
|
|
18
19
|
id;
|
|
19
20
|
contactId;
|
|
@@ -24,23 +25,28 @@ let ContactPhone = class ContactPhone extends typeorm_1.BaseEntity {
|
|
|
24
25
|
};
|
|
25
26
|
exports.ContactPhone = ContactPhone;
|
|
26
27
|
__decorate([
|
|
28
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the contact phone', format: 'uuid' }),
|
|
27
29
|
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
28
30
|
__metadata("design:type", String)
|
|
29
31
|
], ContactPhone.prototype, "id", void 0);
|
|
30
32
|
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated contact', format: 'uuid' }),
|
|
31
34
|
(0, typeorm_1.Column)(),
|
|
32
35
|
__metadata("design:type", String)
|
|
33
36
|
], ContactPhone.prototype, "contactId", void 0);
|
|
34
37
|
__decorate([
|
|
38
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated phone', format: 'uuid' }),
|
|
35
39
|
(0, typeorm_1.Column)(),
|
|
36
40
|
__metadata("design:type", String)
|
|
37
41
|
], ContactPhone.prototype, "phoneId", void 0);
|
|
38
42
|
__decorate([
|
|
43
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
|
|
39
44
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
40
45
|
__metadata("design:type", String)
|
|
41
46
|
], ContactPhone.prototype, "relation", void 0);
|
|
42
47
|
__decorate([
|
|
43
48
|
(0, class_transformer_1.Exclude)(),
|
|
49
|
+
(0, swagger_1.ApiProperty)({ type: () => contact_entity_1.Contact, description: 'Contact entity associated' }),
|
|
44
50
|
(0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, contact => contact.phones, {
|
|
45
51
|
onDelete: "CASCADE",
|
|
46
52
|
onUpdate: "CASCADE",
|
|
@@ -48,6 +54,7 @@ __decorate([
|
|
|
48
54
|
__metadata("design:type", contact_entity_1.Contact)
|
|
49
55
|
], ContactPhone.prototype, "contact", void 0);
|
|
50
56
|
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({ type: () => phone_entity_1.Phone, description: 'Phone entity associated' }),
|
|
51
58
|
(0, typeorm_1.ManyToOne)(() => phone_entity_1.Phone, {
|
|
52
59
|
onDelete: "CASCADE",
|
|
53
60
|
onUpdate: "CASCADE",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact_phone.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_phone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,kEAAwD;AACxD,wDAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;
|
|
1
|
+
{"version":3,"file":"contact_phone.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_phone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,kEAAwD;AACxD,wDAA8C;AAC9C,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAG1C,EAAE,CAAU;IAIZ,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,QAAQ,CAAS;IAQV,OAAO,CAAU;IAQjB,KAAK,CAAQ;CACrB,CAAA;AAhCY,oCAAY;AAGvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACvF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC1F,IAAA,gBAAM,GAAE;;+CACS;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACxF,IAAA,gBAAM,GAAE;;6CACO;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAQV;IANN,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,wBAAO,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;IAC9E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE;QACnD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACc,wBAAO;6CAAC;AAQjB;IANN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IAC1E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACY,oBAAK;2CAAC;uBA/BT,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAgCxB"}
|
|
@@ -13,17 +13,20 @@ exports.ContactSource = void 0;
|
|
|
13
13
|
const database_1 = require("../../../../common/database");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
17
|
let ContactSource = class ContactSource extends database_1.BaseEntity {
|
|
17
18
|
name;
|
|
18
19
|
isDefault;
|
|
19
20
|
};
|
|
20
21
|
exports.ContactSource = ContactSource;
|
|
21
22
|
__decorate([
|
|
23
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the contact source', minLength: 3 }),
|
|
22
24
|
(0, class_validator_1.MinLength)(3),
|
|
23
25
|
(0, typeorm_1.Column)({ unique: true }),
|
|
24
26
|
__metadata("design:type", String)
|
|
25
27
|
], ContactSource.prototype, "name", void 0);
|
|
26
28
|
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is this the default contact source?', default: false }),
|
|
27
30
|
(0, typeorm_1.Column)({ default: false }),
|
|
28
31
|
__metadata("design:type", Boolean)
|
|
29
32
|
], ContactSource.prototype, "isDefault", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact_sources.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_sources.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAAyD;AACzD,qDAA4C;AAC5C,qCAAyC;
|
|
1
|
+
{"version":3,"file":"contact_sources.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_sources.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAAyD;AACzD,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,qBAAU;IAI3C,IAAI,CAAS;IAIb,SAAS,CAAU;CACpB,CAAA;AATY,sCAAa;AAIxB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACtF,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;2CACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,qCAAqC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAClG,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;gDACR;wBARR,aAAa;IADzB,IAAA,gBAAM,GAAE;GACI,aAAa,CASzB"}
|
|
@@ -13,17 +13,20 @@ exports.ContactType = void 0;
|
|
|
13
13
|
const database_1 = require("../../../../common/database");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
17
|
let ContactType = class ContactType extends database_1.BaseEntity {
|
|
17
18
|
name;
|
|
18
19
|
isDefault;
|
|
19
20
|
};
|
|
20
21
|
exports.ContactType = ContactType;
|
|
21
22
|
__decorate([
|
|
23
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the contact type', minLength: 3 }),
|
|
22
24
|
(0, class_validator_1.MinLength)(3),
|
|
23
25
|
(0, typeorm_1.Column)({ unique: true }),
|
|
24
26
|
__metadata("design:type", String)
|
|
25
27
|
], ContactType.prototype, "name", void 0);
|
|
26
28
|
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is this the default contact type?', default: false }),
|
|
27
30
|
(0, typeorm_1.Column)({ default: false }),
|
|
28
31
|
__metadata("design:type", Boolean)
|
|
29
32
|
], ContactType.prototype, "isDefault", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact_types.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_types.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAAyD;AACzD,qDAA4C;AAC5C,qCAAyC;
|
|
1
|
+
{"version":3,"file":"contact_types.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_types.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAAyD;AACzD,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,qBAAU;IAIzC,IAAI,CAAS;IAIb,SAAS,CAAU;CACpB,CAAA;AATY,kCAAW;AAItB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACpF,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;yCACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,mCAAmC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAChG,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CACR;sBARR,WAAW;IADvB,IAAA,gBAAM,GAAE;GACI,WAAW,CASvB"}
|
|
@@ -13,11 +13,13 @@ exports.LeadSource = void 0;
|
|
|
13
13
|
const database_1 = require("../../../../common/database");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
17
|
let LeadSource = class LeadSource extends database_1.BaseEntitySimple {
|
|
17
18
|
name;
|
|
18
19
|
};
|
|
19
20
|
exports.LeadSource = LeadSource;
|
|
20
21
|
__decorate([
|
|
22
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the lead source', minLength: 1 }),
|
|
21
23
|
(0, class_validator_1.MinLength)(1),
|
|
22
24
|
(0, typeorm_1.Column)({ unique: true }),
|
|
23
25
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h_lead_source.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/lead/h_lead_source.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAA+D;AAC/D,qDAA4C;AAC5C,qCAAyC;
|
|
1
|
+
{"version":3,"file":"h_lead_source.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/lead/h_lead_source.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAA+D;AAC/D,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,2BAAgB;IAI9C,IAAI,CAAS;CACd,CAAA;AALY,gCAAU;AAIrB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACnF,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;wCACZ;qBAJF,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAKtB"}
|
|
@@ -13,17 +13,20 @@ exports.LeadStage = void 0;
|
|
|
13
13
|
const database_1 = require("../../../../common/database");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
17
|
let LeadStage = class LeadStage extends database_1.BaseEntitySimple {
|
|
17
18
|
name;
|
|
18
19
|
idx;
|
|
19
20
|
};
|
|
20
21
|
exports.LeadStage = LeadStage;
|
|
21
22
|
__decorate([
|
|
23
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the lead stage', minLength: 1 }),
|
|
22
24
|
(0, class_validator_1.MinLength)(1),
|
|
23
25
|
(0, typeorm_1.Column)({ unique: true }),
|
|
24
26
|
__metadata("design:type", String)
|
|
25
27
|
], LeadStage.prototype, "name", void 0);
|
|
26
28
|
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ type: Number, description: 'Index of the lead stage' }),
|
|
27
30
|
(0, typeorm_1.Column)(),
|
|
28
31
|
__metadata("design:type", Number)
|
|
29
32
|
], LeadStage.prototype, "idx", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h_lead_stage.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/lead/h_lead_stage.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAA+D;AAC/D,qDAA4C;AAC5C,qCAAyC;
|
|
1
|
+
{"version":3,"file":"h_lead_stage.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/lead/h_lead_stage.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAA+D;AAC/D,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,2BAAgB;IAI7C,IAAI,CAAS;IAIb,GAAG,CAAS;CACb,CAAA;AATY,8BAAS;AAIpB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,wBAAwB,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAClF,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;uCACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACrE,IAAA,gBAAM,GAAE;;sCACG;oBARD,SAAS;IADrB,IAAA,gBAAM,GAAE;GACI,SAAS,CASrB"}
|
|
@@ -13,11 +13,13 @@ exports.LeadType = void 0;
|
|
|
13
13
|
const database_1 = require("../../../../common/database");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
17
|
let LeadType = class LeadType extends database_1.BaseEntitySimple {
|
|
17
18
|
name;
|
|
18
19
|
};
|
|
19
20
|
exports.LeadType = LeadType;
|
|
20
21
|
__decorate([
|
|
22
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the lead type', minLength: 1 }),
|
|
21
23
|
(0, class_validator_1.MinLength)(1),
|
|
22
24
|
(0, typeorm_1.Column)({ unique: true }),
|
|
23
25
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h_lead_types.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/lead/h_lead_types.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAA+D;AAC/D,qDAA4C;AAC5C,qCAAyC;
|
|
1
|
+
{"version":3,"file":"h_lead_types.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/lead/h_lead_types.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAA+D;AAC/D,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,2BAAgB;IAI5C,IAAI,CAAS;CACd,CAAA;AALY,4BAAQ;AAInB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,uBAAuB,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACjF,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;sCACZ;mBAJF,QAAQ;IADpB,IAAA,gBAAM,GAAE;GACI,QAAQ,CAKpB"}
|
|
@@ -13,6 +13,7 @@ exports.LeadEmail = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const lead_entity_1 = require("../../../sales/lead.entity");
|
|
15
15
|
const email_entity_1 = require("../../../email.entity");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
17
|
let LeadEmail = class LeadEmail extends typeorm_1.BaseEntity {
|
|
17
18
|
id;
|
|
18
19
|
leadId;
|
|
@@ -23,22 +24,27 @@ let LeadEmail = class LeadEmail extends typeorm_1.BaseEntity {
|
|
|
23
24
|
};
|
|
24
25
|
exports.LeadEmail = LeadEmail;
|
|
25
26
|
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the lead email', format: 'uuid' }),
|
|
26
28
|
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
27
29
|
__metadata("design:type", String)
|
|
28
30
|
], LeadEmail.prototype, "id", void 0);
|
|
29
31
|
__decorate([
|
|
30
|
-
(0,
|
|
32
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated lead', format: 'uuid' }),
|
|
33
|
+
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
31
34
|
__metadata("design:type", String)
|
|
32
35
|
], LeadEmail.prototype, "leadId", void 0);
|
|
33
36
|
__decorate([
|
|
34
|
-
(0,
|
|
37
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated email', format: 'uuid' }),
|
|
38
|
+
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
35
39
|
__metadata("design:type", String)
|
|
36
40
|
], LeadEmail.prototype, "emailId", void 0);
|
|
37
41
|
__decorate([
|
|
42
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
|
|
38
43
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
39
44
|
__metadata("design:type", String)
|
|
40
45
|
], LeadEmail.prototype, "relation", void 0);
|
|
41
46
|
__decorate([
|
|
47
|
+
(0, swagger_1.ApiProperty)({ type: () => lead_entity_1.Lead, description: 'Lead entity associated' }),
|
|
42
48
|
(0, typeorm_1.ManyToOne)(() => lead_entity_1.Lead, (lead) => lead.emails, {
|
|
43
49
|
onDelete: "CASCADE",
|
|
44
50
|
onUpdate: "CASCADE",
|
|
@@ -46,6 +52,7 @@ __decorate([
|
|
|
46
52
|
__metadata("design:type", lead_entity_1.Lead)
|
|
47
53
|
], LeadEmail.prototype, "lead", void 0);
|
|
48
54
|
__decorate([
|
|
55
|
+
(0, swagger_1.ApiProperty)({ type: () => email_entity_1.Email, description: 'Email entity associated' }),
|
|
49
56
|
(0, typeorm_1.ManyToOne)(() => email_entity_1.Email, {
|
|
50
57
|
onDelete: "CASCADE",
|
|
51
58
|
onUpdate: "CASCADE",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lead_email.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/lead/lead_email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,4DAAkD;AAClD,wDAA8C;AAGvC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,oBAAU;
|
|
1
|
+
{"version":3,"file":"lead_email.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/lead/lead_email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,4DAAkD;AAClD,wDAA8C;AAC9C,6CAA8C;AAGvC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,oBAAU;IAGvC,EAAE,CAAU;IAIZ,MAAM,CAAS;IAIf,OAAO,CAAS;IAIhB,QAAQ,CAAS;IAOV,IAAI,CAAO;IAQX,KAAK,CAAQ;CACrB,CAAA;AA/BY,8BAAS;AAGpB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACpF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;qCACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACvF,IAAA,gBAAM,EAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;yCACR;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACxF,IAAA,gBAAM,EAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;0CACP;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3F,IAAA,gBAAM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