easywork-common-lib 1.0.639 → 1.0.641
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/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.d.ts +5 -0
- package/dist/entities/{capacitation/course-assigned.entity.js → helpers/sales/agent/h_agent_recruiment_stage.entity.js} +23 -11
- package/dist/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.js +68 -0
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.js.map +1 -0
- package/dist/entities/sales/contact.entity.js +1 -3
- package/dist/entities/sales/contact.entity.js.map +1 -1
- package/dist/entities/sales/lead.entity.js +1 -1
- package/dist/entities/sales/lead.entity.js.map +1 -1
- package/dist/entities/sales/poliza_pdf.entity.d.ts +1 -0
- package/dist/entities/sales/poliza_pdf.entity.js +15 -1
- package/dist/entities/sales/poliza_pdf.entity.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/entities/capacitation/course-assigned.entity.d.ts +0 -4
- package/dist/entities/capacitation/course-assigned.entity.js.map +0 -1
- package/dist/entities/capacitation/folder-page.entity.d.ts +0 -11
- package/dist/entities/capacitation/folder-page.entity.js +0 -57
- package/dist/entities/capacitation/folder-page.entity.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"course-assigned.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-assigned.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,6CAA8C;AAE9C,mEAA+D;AAKxD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,wBAAU;IAG5C,QAAQ,CAAS;CAOlB,CAAA;AAVY,wCAAc;AAGzB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,CAAC;IAC1E,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;gDACrB;yBAHN,cAAc;IAD1B,IAAA,gBAAM,GAAE;GACI,cAAc,CAU1B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
-
import { CourseFolder } from './course-folder.entity';
|
|
3
|
-
import { LMSFileUploaded } from 'common';
|
|
4
|
-
export declare class FolderPage extends EntityBase {
|
|
5
|
-
name: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
isCompleted: boolean;
|
|
8
|
-
isPublished: boolean;
|
|
9
|
-
files?: LMSFileUploaded[];
|
|
10
|
-
folder: CourseFolder;
|
|
11
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.FolderPage = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
-
const course_folder_entity_1 = require("./course-folder.entity");
|
|
17
|
-
let FolderPage = class FolderPage extends base_entity_1.EntityBase {
|
|
18
|
-
name;
|
|
19
|
-
description;
|
|
20
|
-
isCompleted;
|
|
21
|
-
isPublished;
|
|
22
|
-
files;
|
|
23
|
-
folder;
|
|
24
|
-
};
|
|
25
|
-
exports.FolderPage = FolderPage;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Folder page name' }),
|
|
28
|
-
(0, typeorm_1.Column)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], FolderPage.prototype, "name", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)({ type: String, description: 'Folder page description', nullable: true }),
|
|
33
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], FolderPage.prototype, "description", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
38
|
-
__metadata("design:type", Boolean)
|
|
39
|
-
], FolderPage.prototype, "isCompleted", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
42
|
-
__metadata("design:type", Boolean)
|
|
43
|
-
], FolderPage.prototype, "isPublished", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Files uploaded to the content' }),
|
|
46
|
-
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true, default: [] }),
|
|
47
|
-
__metadata("design:type", Array)
|
|
48
|
-
], FolderPage.prototype, "files", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, swagger_1.ApiProperty)({ type: () => course_folder_entity_1.CourseFolder, description: 'Folder owner of the page', required: false }),
|
|
51
|
-
(0, typeorm_1.ManyToOne)(() => course_folder_entity_1.CourseFolder, folder => folder.pages, { onDelete: 'CASCADE' }),
|
|
52
|
-
__metadata("design:type", course_folder_entity_1.CourseFolder)
|
|
53
|
-
], FolderPage.prototype, "folder", void 0);
|
|
54
|
-
exports.FolderPage = FolderPage = __decorate([
|
|
55
|
-
(0, typeorm_1.Entity)()
|
|
56
|
-
], FolderPage);
|
|
57
|
-
//# sourceMappingURL=folder-page.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"folder-page.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/folder-page.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,iEAAsD;AAI/C,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,wBAAU;IAGxC,IAAI,CAAS;IAIb,WAAW,CAAU;IAGrB,WAAW,CAAU;IAGrB,WAAW,CAAU;IAIrB,KAAK,CAAqB;IAI1B,MAAM,CAAe;CACtB,CAAA;AAtBY,gCAAU;AAGrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC;IAC9D,IAAA,gBAAM,GAAE;;wCACI;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACrF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACN;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC1F,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;yCAC7B;AAI1B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,mCAAY,EAAE,WAAW,EAAE,0BAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACnG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACvE,mCAAY;0CAAC;qBArBV,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAsBtB"}
|