easywork-common-lib 1.0.381 → 1.0.386
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/@types/enums/crm.enum.d.ts +8 -0
- package/dist/common/@types/enums/crm.enum.js +14 -0
- package/dist/common/@types/enums/crm.enum.js.map +1 -0
- package/dist/common/@types/enums/index.d.ts +3 -0
- package/dist/common/@types/enums/index.js +20 -0
- package/dist/common/@types/enums/index.js.map +1 -0
- package/dist/common/@types/enums/misc.enum.d.ts +60 -0
- package/dist/common/@types/enums/misc.enum.js +81 -0
- package/dist/common/@types/enums/misc.enum.js.map +1 -0
- package/dist/common/@types/enums/permission.enum.d.ts +13 -0
- package/dist/common/@types/enums/permission.enum.js +19 -0
- package/dist/common/@types/enums/permission.enum.js.map +1 -0
- package/dist/common/@types/index.d.ts +2 -0
- package/dist/common/@types/index.js +19 -0
- package/dist/common/@types/index.js.map +1 -0
- package/dist/common/@types/interfaces/authentication.interface.d.ts +17 -0
- package/dist/common/@types/interfaces/authentication.interface.js +3 -0
- package/dist/common/@types/interfaces/authentication.interface.js.map +1 -0
- package/dist/common/@types/interfaces/crm.interface.d.ts +131 -0
- package/dist/common/@types/interfaces/crm.interface.js +3 -0
- package/dist/common/@types/interfaces/crm.interface.js.map +1 -0
- package/dist/common/@types/interfaces/file.interface.d.ts +16 -0
- package/dist/common/@types/interfaces/file.interface.js +3 -0
- package/dist/common/@types/interfaces/file.interface.js.map +1 -0
- package/dist/common/@types/interfaces/index.d.ts +5 -0
- package/dist/common/@types/interfaces/index.js +22 -0
- package/dist/common/@types/interfaces/index.js.map +1 -0
- package/dist/common/@types/interfaces/mail.interface.d.ts +9 -0
- package/dist/common/@types/interfaces/mail.interface.js +3 -0
- package/dist/common/@types/interfaces/mail.interface.js.map +1 -0
- package/dist/common/@types/interfaces/validator.interface.d.ts +41 -0
- package/dist/common/@types/interfaces/validator.interface.js +3 -0
- package/dist/common/@types/interfaces/validator.interface.js.map +1 -0
- package/dist/common/constants/app.contants.d.ts +16 -0
- package/dist/common/constants/app.contants.js +78 -0
- package/dist/common/constants/app.contants.js.map +1 -0
- package/dist/common/constants/index.d.ts +2 -0
- package/dist/common/constants/index.js +19 -0
- package/dist/common/constants/index.js.map +1 -0
- package/dist/common/constants/regex.constant.d.ts +6 -0
- package/dist/common/constants/regex.constant.js +10 -0
- package/dist/common/constants/regex.constant.js.map +1 -0
- package/dist/common/database/base.entity.d.ts +4 -4
- package/dist/common/database/base.entity.js +142 -0
- package/dist/common/database/base.entity.js.map +1 -0
- package/dist/common/dtos/index.d.ts +1 -0
- package/dist/common/dtos/index.js +18 -0
- package/dist/common/dtos/index.js.map +1 -0
- package/dist/common/dtos/send-notification.dto.d.ts +11 -0
- package/dist/common/dtos/send-notification.dto.js +60 -0
- package/dist/common/dtos/send-notification.dto.js.map +1 -0
- package/dist/common/enums/drive.enum.d.ts +20 -0
- package/dist/common/enums/drive.enum.js +26 -0
- package/dist/common/enums/drive.enum.js.map +1 -0
- package/dist/common/enums/index.d.ts +4 -0
- package/dist/common/enums/index.js +21 -0
- package/dist/common/enums/index.js.map +1 -0
- package/dist/common/enums/notification.enum.d.ts +32 -0
- package/dist/common/enums/notification.enum.js +39 -0
- package/dist/common/enums/notification.enum.js.map +1 -0
- package/dist/common/enums/sales.enum.d.ts +31 -0
- package/dist/common/enums/sales.enum.js +41 -0
- package/dist/common/enums/sales.enum.js.map +1 -0
- package/dist/common/enums/tools.enum.d.ts +19 -0
- package/dist/common/enums/tools.enum.js +26 -0
- package/dist/common/enums/tools.enum.js.map +1 -0
- package/dist/common/functions/cripto.d.ts +1 -0
- package/dist/common/functions/cripto.js +9 -0
- package/dist/common/functions/cripto.js.map +1 -0
- package/dist/common/functions/image.d.ts +3 -0
- package/dist/common/functions/image.js +15 -0
- package/dist/common/functions/image.js.map +1 -0
- package/dist/common/functions/index.d.ts +2 -0
- package/dist/common/functions/index.js +19 -0
- package/dist/common/functions/index.js.map +1 -0
- package/dist/common/helpers/app.utils.d.ts +5 -0
- package/dist/common/helpers/app.utils.js +32 -0
- package/dist/common/helpers/app.utils.js.map +1 -0
- package/dist/common/helpers/helpers.utils.d.ts +5 -0
- package/dist/common/helpers/helpers.utils.js +26 -0
- package/dist/common/helpers/helpers.utils.js.map +1 -0
- package/dist/common/helpers/index.d.ts +2 -0
- package/dist/common/helpers/index.js +19 -0
- package/dist/common/helpers/index.js.map +1 -0
- package/dist/common/interceptors/index.d.ts +1 -0
- package/dist/common/interceptors/index.js +18 -0
- package/dist/common/interceptors/index.js.map +1 -0
- package/dist/common/interceptors/security.interceptor.d.ts +5 -0
- package/dist/common/interceptors/security.interceptor.js +22 -0
- package/dist/common/interceptors/security.interceptor.js.map +1 -0
- package/dist/entities/app_config/app-config.entity.d.ts +2 -2
- package/dist/entities/app_config/app-config.entity.js +1 -1
- package/dist/entities/currency.entity.d.ts +2 -2
- package/dist/entities/currency.entity.js +1 -1
- package/dist/entities/easyapp/filter-view.entity.d.ts +2 -2
- package/dist/entities/easyapp/filter-view.entity.js +1 -1
- package/dist/entities/email.entity.d.ts +2 -2
- package/dist/entities/email.entity.js +1 -1
- package/dist/entities/group.entity.d.ts +2 -2
- package/dist/entities/group.entity.js +1 -1
- package/dist/entities/helpers/index.js +21 -0
- package/dist/entities/helpers/index.js.map +1 -0
- package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +2 -2
- package/dist/entities/helpers/sales/common/client_sources.entity.js +1 -1
- package/dist/entities/helpers/sales/common/client_types.entity.d.ts +2 -2
- package/dist/entities/helpers/sales/common/client_types.entity.js +1 -1
- package/dist/entities/helpers/sales/index.js +23 -0
- package/dist/entities/helpers/sales/index.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js +30 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js +33 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js +39 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js +39 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js +30 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js +36 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js +33 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/index.js +26 -0
- package/dist/entities/helpers/sales/poliza/index.js.map +1 -0
- package/dist/entities/imap-config.entity.d.ts +2 -2
- package/dist/entities/imap-config.entity.js +1 -1
- package/dist/entities/menu-permissions.entity.d.ts +2 -2
- package/dist/entities/menu-permissions.entity.js +1 -1
- package/dist/entities/otp-log.entity.d.ts +2 -2
- package/dist/entities/otp-log.entity.js +1 -1
- package/dist/entities/permission.entity.d.ts +2 -2
- package/dist/entities/permission.entity.js +1 -1
- package/dist/entities/phone.entity.d.ts +2 -2
- package/dist/entities/phone.entity.js +1 -1
- package/dist/entities/profile.entity.js +55 -0
- package/dist/entities/profile.entity.js.map +1 -0
- package/dist/entities/protocol.entity.d.ts +2 -2
- package/dist/entities/protocol.entity.js +1 -1
- package/dist/entities/refresh-token.entity.d.ts +2 -2
- package/dist/entities/refresh-token.entity.js +1 -1
- package/dist/entities/role.entity.d.ts +2 -2
- package/dist/entities/role.entity.js +1 -1
- package/dist/entities/sales/poliza_siniestro.entity.d.ts +2 -2
- package/dist/entities/sales/poliza_siniestro.entity.js +1 -1
- package/dist/entities/sales/receipt.entity.d.ts +2 -2
- package/dist/entities/sales/receipt.entity.js +1 -1
- package/dist/entities/tag.entity.d.ts +2 -2
- package/dist/entities/tag.entity.js +1 -1
- package/dist/entities/thirdparty/email-config.entity.d.ts +2 -2
- package/dist/entities/thirdparty/email-config.entity.js +1 -1
- package/dist/entities/thirdparty/email.entity.d.ts +2 -2
- package/dist/entities/thirdparty/email.entity.js +1 -1
- package/dist/entities/thirdparty/oauth.entity.d.ts +2 -2
- package/dist/entities/thirdparty/oauth.entity.js +1 -1
- package/dist/entities/thirdparty/service.entity.d.ts +2 -2
- package/dist/entities/thirdparty/service.entity.js +1 -1
- package/dist/entities/thirdparty/user-email-relation.entity.d.ts +2 -2
- package/dist/entities/thirdparty/user-email-relation.entity.js +1 -1
- package/dist/entities/tools/task-comment.entity.d.ts +2 -2
- package/dist/entities/tools/task-comment.entity.js +1 -1
- package/dist/entities/tools/task-list-field.d.ts +5 -0
- package/dist/entities/tools/task-list-field.js +39 -0
- package/dist/entities/tools/task-list-field.js.map +1 -0
- package/dist/entities/tools/task.entity.d.ts +2 -2
- package/dist/entities/tools/task.entity.js +1 -1
- package/dist/entities/user.entity.d.ts +2 -2
- package/dist/entities/user.entity.js +1 -1
- package/dist/eslint.config.js +1 -0
- package/dist/eslint.config.js.map +1 -1
- package/dist/modules/queue/notifiers/calendar.notifier.d.ts +2 -0
- package/dist/modules/queue/notifiers/calendar.notifier.js +17 -0
- package/dist/modules/queue/notifiers/calendar.notifier.js.map +1 -0
- package/dist/modules/queue/scheduler.service.js +40 -0
- package/dist/modules/queue/scheduler.service.js.map +1 -0
- package/package.json +6 -6
- package/scripts/bump.sh +0 -0
- package/tsconfig.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
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.PolizaFormaCobro = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
let PolizaFormaCobro = class PolizaFormaCobro extends typeorm_1.BaseEntity {
|
|
16
|
+
id;
|
|
17
|
+
name;
|
|
18
|
+
description;
|
|
19
|
+
};
|
|
20
|
+
exports.PolizaFormaCobro = PolizaFormaCobro;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the payment method', format: 'uuid' }),
|
|
23
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], PolizaFormaCobro.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the payment method' }),
|
|
28
|
+
(0, typeorm_1.Column)({ unique: true }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], PolizaFormaCobro.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Description of the payment method', required: false }),
|
|
33
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], PolizaFormaCobro.prototype, "description", void 0);
|
|
36
|
+
exports.PolizaFormaCobro = PolizaFormaCobro = __decorate([
|
|
37
|
+
(0, typeorm_1.Entity)()
|
|
38
|
+
], PolizaFormaCobro);
|
|
39
|
+
//# sourceMappingURL=h_poliza_forma_cobro.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h_poliza_forma_cobro.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAC7E,6CAA8C;AAGvC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,oBAAU;IAG9C,EAAE,CAAU;IAIZ,IAAI,CAAS;IAIb,WAAW,CAAS;CACrB,CAAA;AAZY,4CAAgB;AAG3B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACxF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;4CACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,CAAC;IACxE,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;8CACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,mCAAmC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChG,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACP;2BAXT,gBAAgB;IAD5B,IAAA,gBAAM,GAAE;GACI,gBAAgB,CAY5B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.PolizaFrecuenciaPago = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
let PolizaFrecuenciaPago = class PolizaFrecuenciaPago extends typeorm_1.BaseEntity {
|
|
16
|
+
id;
|
|
17
|
+
name;
|
|
18
|
+
cobrosEsperados;
|
|
19
|
+
};
|
|
20
|
+
exports.PolizaFrecuenciaPago = PolizaFrecuenciaPago;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the payment frequency', format: 'uuid' }),
|
|
23
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], PolizaFrecuenciaPago.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the payment frequency' }),
|
|
28
|
+
(0, typeorm_1.Column)({ unique: true }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], PolizaFrecuenciaPago.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, swagger_1.ApiProperty)({ type: Number, description: 'Expected number of payments' }),
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], PolizaFrecuenciaPago.prototype, "cobrosEsperados", void 0);
|
|
36
|
+
exports.PolizaFrecuenciaPago = PolizaFrecuenciaPago = __decorate([
|
|
37
|
+
(0, typeorm_1.Entity)()
|
|
38
|
+
], PolizaFrecuenciaPago);
|
|
39
|
+
//# sourceMappingURL=h_poliza_frecuencia_pago.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h_poliza_frecuencia_pago.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAC7E,6CAA8C;AAGvC,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,oBAAU;IAGlD,EAAE,CAAU;IAIZ,IAAI,CAAS;IAIb,eAAe,CAAS;CACzB,CAAA;AAZY,oDAAoB;AAG/B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC3F,IAAA,gCAAsB,EAAC,MAAM,CAAC;;gDACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC3E,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kDACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;IACzE,IAAA,gBAAM,GAAE;;6DACe;+BAXb,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAYhC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.PolizaInsurance = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let PolizaInsurance = class PolizaInsurance extends typeorm_1.BaseEntity {
|
|
15
|
+
id;
|
|
16
|
+
name;
|
|
17
|
+
};
|
|
18
|
+
exports.PolizaInsurance = PolizaInsurance;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], PolizaInsurance.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ unique: true }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], PolizaInsurance.prototype, "name", void 0);
|
|
27
|
+
exports.PolizaInsurance = PolizaInsurance = __decorate([
|
|
28
|
+
(0, typeorm_1.Entity)()
|
|
29
|
+
], PolizaInsurance);
|
|
30
|
+
//# sourceMappingURL=h_poliza_insurance.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h_poliza_insurance.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/h_poliza_insurance.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA8E;AAGvE,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,oBAAU;IAE3C,EAAE,CAAU;IAGZ,IAAI,CAAS;CAChB,CAAA;AANY,0CAAe;AAExB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;2CACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;6CACZ;0BALJ,eAAe;IAD3B,IAAA,gBAAM,GAAE;GACI,eAAe,CAM3B"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.PolizaSubramo = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let PolizaSubramo = class PolizaSubramo extends typeorm_1.BaseEntity {
|
|
15
|
+
id;
|
|
16
|
+
name;
|
|
17
|
+
salud;
|
|
18
|
+
};
|
|
19
|
+
exports.PolizaSubramo = PolizaSubramo;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], PolizaSubramo.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ length: 100 }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], PolizaSubramo.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
30
|
+
__metadata("design:type", Boolean)
|
|
31
|
+
], PolizaSubramo.prototype, "salud", void 0);
|
|
32
|
+
exports.PolizaSubramo = PolizaSubramo = __decorate([
|
|
33
|
+
(0, typeorm_1.Entity)(),
|
|
34
|
+
(0, typeorm_1.Index)(["name", "salud"], { unique: true })
|
|
35
|
+
], PolizaSubramo);
|
|
36
|
+
//# sourceMappingURL=h_poliza_subramo.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h_poliza_subramo.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/h_poliza_subramo.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAqF;AAI9E,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,oBAAU;IAEzC,EAAE,CAAU;IAGZ,IAAI,CAAS;IAGb,KAAK,CAAU;CAClB,CAAA;AATY,sCAAa;AAEtB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;yCACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAC,MAAM,EAAE,GAAG,EAAC,CAAC;;2CACT;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;4CACZ;wBARN,aAAa;IAFzB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC9B,aAAa,CASzB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.PolizaType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
let PolizaType = class PolizaType extends typeorm_1.BaseEntity {
|
|
16
|
+
id;
|
|
17
|
+
name;
|
|
18
|
+
};
|
|
19
|
+
exports.PolizaType = PolizaType;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the policy type', format: 'uuid' }),
|
|
22
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], PolizaType.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Name of the policy type' }),
|
|
27
|
+
(0, typeorm_1.Column)({ unique: true }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], PolizaType.prototype, "name", void 0);
|
|
30
|
+
exports.PolizaType = PolizaType = __decorate([
|
|
31
|
+
(0, typeorm_1.Entity)()
|
|
32
|
+
], PolizaType);
|
|
33
|
+
//# sourceMappingURL=h_poliza_type.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h_poliza_type.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/h_poliza_type.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAC7E,6CAA8C;AAGvC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,oBAAU;IAGxC,EAAE,CAAU;IAIZ,IAAI,CAAS;CACd,CAAA;AARY,gCAAU;AAGrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACrF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;sCACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACrE,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;wCACZ;qBAPF,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAQtB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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("./h_poliza_forma_cobro.entity"), exports);
|
|
18
|
+
__exportStar(require("./h_poliza_frecuencia_pago.entity"), exports);
|
|
19
|
+
__exportStar(require("./h_poliza_type.entity"), exports);
|
|
20
|
+
__exportStar(require("./poliza_file.entity"), exports);
|
|
21
|
+
__exportStar(require("./h_poliza_insurance.entity"), exports);
|
|
22
|
+
__exportStar(require("./h_poliza_category.entity"), exports);
|
|
23
|
+
__exportStar(require("./h_poliza_subramo.entity"), exports);
|
|
24
|
+
__exportStar(require("./poliza_beneficiary.entity"), exports);
|
|
25
|
+
__exportStar(require("./h_poliza_conducto_pago.entity"), exports);
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,oEAAkD;AAClD,yDAAuC;AACvC,uDAAqC;AACrC,8DAA4C;AAC5C,6DAA2C;AAC3C,4DAA0C;AAC1C,8DAA2C;AAC3C,kEAAgD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ImapConfig extends
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
|
+
export declare class ImapConfig extends EntityBase {
|
|
3
3
|
host: string;
|
|
4
4
|
port: number;
|
|
5
5
|
user: string;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.ImapConfig = void 0;
|
|
13
13
|
const base_entity_1 = require("../common/database/base.entity");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
let ImapConfig = class ImapConfig extends base_entity_1.
|
|
15
|
+
let ImapConfig = class ImapConfig extends base_entity_1.EntityBase {
|
|
16
16
|
host;
|
|
17
17
|
port;
|
|
18
18
|
user;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
|
-
export declare class MenuPermissions extends
|
|
3
|
+
export declare class MenuPermissions extends EntityBase {
|
|
4
4
|
menu: string[];
|
|
5
5
|
deny: string[];
|
|
6
6
|
user: User;
|
|
@@ -14,7 +14,7 @@ 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 MenuPermissions = class MenuPermissions extends base_entity_1.
|
|
17
|
+
let MenuPermissions = class MenuPermissions extends base_entity_1.EntityBase {
|
|
18
18
|
menu;
|
|
19
19
|
deny;
|
|
20
20
|
user;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
|
-
export declare class OtpLog extends
|
|
3
|
+
export declare class OtpLog extends EntityBase {
|
|
4
4
|
expiresIn: Date;
|
|
5
5
|
otpCode?: string;
|
|
6
6
|
user: User;
|
|
@@ -14,7 +14,7 @@ const typeorm_1 = require("typeorm");
|
|
|
14
14
|
const base_entity_1 = require("../common/database/base.entity");
|
|
15
15
|
const user_entity_1 = require("./user.entity");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let OtpLog = class OtpLog extends base_entity_1.
|
|
17
|
+
let OtpLog = class OtpLog extends base_entity_1.EntityBase {
|
|
18
18
|
expiresIn;
|
|
19
19
|
otpCode;
|
|
20
20
|
user;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { Role } from "./role.entity";
|
|
3
|
-
export declare class Permission extends
|
|
3
|
+
export declare class Permission extends EntityBase {
|
|
4
4
|
resource: string;
|
|
5
5
|
action: string;
|
|
6
6
|
roles?: Role[];
|
|
@@ -14,7 +14,7 @@ const base_entity_1 = require("../common/database/base.entity");
|
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const role_entity_1 = require("./role.entity");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let Permission = class Permission extends base_entity_1.
|
|
17
|
+
let Permission = class Permission extends base_entity_1.EntityBase {
|
|
18
18
|
resource;
|
|
19
19
|
action;
|
|
20
20
|
roles;
|
|
@@ -14,7 +14,7 @@ const base_entity_1 = require("../common/database/base.entity");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let Phone = class Phone extends base_entity_1.
|
|
17
|
+
let Phone = class Phone extends base_entity_1.EntityBase {
|
|
18
18
|
number;
|
|
19
19
|
isDefault;
|
|
20
20
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
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.Profile = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const user_entity_1 = require("./user.entity");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
+
let Profile = class Profile extends typeorm_1.BaseEntity {
|
|
17
|
+
firstName;
|
|
18
|
+
lastName;
|
|
19
|
+
idcard;
|
|
20
|
+
birthday;
|
|
21
|
+
user;
|
|
22
|
+
};
|
|
23
|
+
exports.Profile = Profile;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'First name of the user', required: false }),
|
|
26
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Profile.prototype, "firstName", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Last name of the user', required: false }),
|
|
31
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], Profile.prototype, "lastName", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'ID card of the user', required: false }),
|
|
36
|
+
(0, typeorm_1.Column)({ unique: true, nullable: true }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], Profile.prototype, "idcard", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, swagger_1.ApiProperty)({ type: Date, description: 'Birthday of the user', required: false }),
|
|
41
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
42
|
+
__metadata("design:type", Date)
|
|
43
|
+
], Profile.prototype, "birthday", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User associated with the profile' }),
|
|
46
|
+
(0, typeorm_1.OneToOne)(() => user_entity_1.User, user => user.profile, {
|
|
47
|
+
onDelete: "CASCADE",
|
|
48
|
+
onUpdate: "CASCADE",
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", user_entity_1.User)
|
|
51
|
+
], Profile.prototype, "user", void 0);
|
|
52
|
+
exports.Profile = Profile = __decorate([
|
|
53
|
+
(0, typeorm_1.Entity)("user_profile")
|
|
54
|
+
], Profile);
|
|
55
|
+
//# sourceMappingURL=profile.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.entity.js","sourceRoot":"","sources":["../../src/entities/profile.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,+CAAqC;AACrC,6CAA8C;AAGvC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,oBAAU;IAGrC,SAAS,CAAS;IAIlB,QAAQ,CAAS;IAIjB,MAAM,CAAS;IAIf,QAAQ,CAAO;IAOf,IAAI,CAAO;CACZ,CAAA;AAvBY,0BAAO;AAGlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,wBAAwB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACT;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,uBAAuB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACpF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACV;AAIjB;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,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCAC1B;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACjF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;yCAAC;AAOf;IALC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,kCAAkC,EAAE,CAAC;IAClF,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE;QAC1C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACI,kBAAI;qCAAC;kBAtBA,OAAO;IADnB,IAAA,gBAAM,EAAC,cAAc,CAAC;GACV,OAAO,CAuBnB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class Protocol extends
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
|
+
export declare class Protocol extends EntityBase {
|
|
3
3
|
loginAttemptInterval: number;
|
|
4
4
|
loginIntervalUnit: string;
|
|
5
5
|
loginMaxRetry: number;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Protocol = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const base_entity_1 = require("../common/database/base.entity");
|
|
15
|
-
let Protocol = class Protocol extends base_entity_1.
|
|
15
|
+
let Protocol = class Protocol extends base_entity_1.EntityBase {
|
|
16
16
|
loginAttemptInterval;
|
|
17
17
|
loginIntervalUnit;
|
|
18
18
|
loginMaxRetry;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
|
-
export declare class RefreshToken extends
|
|
3
|
+
export declare class RefreshToken extends EntityBase {
|
|
4
4
|
expiresIn: Date;
|
|
5
5
|
user: User;
|
|
6
6
|
isRevoked?: boolean;
|
|
@@ -13,7 +13,7 @@ exports.RefreshToken = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const base_entity_1 = require("../common/database/base.entity");
|
|
15
15
|
const user_entity_1 = require("./user.entity");
|
|
16
|
-
let RefreshToken = class RefreshToken extends base_entity_1.
|
|
16
|
+
let RefreshToken = class RefreshToken extends base_entity_1.EntityBase {
|
|
17
17
|
expiresIn;
|
|
18
18
|
user;
|
|
19
19
|
isRevoked;
|
|
@@ -14,7 +14,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
14
14
|
const base_entity_1 = require("../common/database/base.entity");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const typeorm_1 = require("typeorm");
|
|
17
|
-
let Role = class Role extends base_entity_1.
|
|
17
|
+
let Role = class Role extends base_entity_1.EntityBase {
|
|
18
18
|
name;
|
|
19
19
|
isDefault;
|
|
20
20
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { StatusSiniestro } from "../../common/enums/sales.enum";
|
|
2
|
-
import {
|
|
2
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
3
3
|
import { Poliza } from "./poliza.entity";
|
|
4
4
|
import { File } from "../drive";
|
|
5
|
-
export declare class PolizaSiniestro extends
|
|
5
|
+
export declare class PolizaSiniestro extends EntityBase {
|
|
6
6
|
sigre: string;
|
|
7
7
|
numeroReclamacion: string;
|
|
8
8
|
fecha: Date;
|
|
@@ -16,7 +16,7 @@ const typeorm_1 = require("typeorm");
|
|
|
16
16
|
const poliza_entity_1 = require("./poliza.entity");
|
|
17
17
|
const drive_1 = require("../drive");
|
|
18
18
|
const swagger_1 = require("@nestjs/swagger");
|
|
19
|
-
let PolizaSiniestro = class PolizaSiniestro extends base_entity_1.
|
|
19
|
+
let PolizaSiniestro = class PolizaSiniestro extends base_entity_1.EntityBase {
|
|
20
20
|
sigre;
|
|
21
21
|
numeroReclamacion;
|
|
22
22
|
fecha;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { ReceiptMethodPayment, ReceiptStatus } from "../../common";
|
|
3
3
|
import { PolizaConductoPago, PolizaFormaCobro, PolizaFrecuenciaPago } from "./../helpers";
|
|
4
4
|
import { Currency } from "../currency.entity";
|
|
5
5
|
import { User } from "../user.entity";
|
|
6
6
|
import { Poliza } from "./poliza.entity";
|
|
7
7
|
import { SubAgente } from "./receipt-sub-agente.entity";
|
|
8
|
-
export declare class Receipt extends
|
|
8
|
+
export declare class Receipt extends EntityBase {
|
|
9
9
|
idBitrix: number;
|
|
10
10
|
status: ReceiptStatus;
|
|
11
11
|
title: string;
|
|
@@ -19,7 +19,7 @@ const currency_entity_1 = require("../currency.entity");
|
|
|
19
19
|
const user_entity_1 = require("../user.entity");
|
|
20
20
|
const poliza_entity_1 = require("./poliza.entity");
|
|
21
21
|
const receipt_sub_agente_entity_1 = require("./receipt-sub-agente.entity");
|
|
22
|
-
let Receipt = class Receipt extends base_entity_1.
|
|
22
|
+
let Receipt = class Receipt extends base_entity_1.EntityBase {
|
|
23
23
|
idBitrix;
|
|
24
24
|
status;
|
|
25
25
|
title;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
3
|
import { Task } from "./tools";
|
|
4
|
-
export declare class Tag extends
|
|
4
|
+
export declare class Tag extends EntityBase {
|
|
5
5
|
name: string;
|
|
6
6
|
user: User;
|
|
7
7
|
tasks: Task[];
|
|
@@ -16,7 +16,7 @@ const typeorm_1 = require("typeorm");
|
|
|
16
16
|
const user_entity_1 = require("./user.entity");
|
|
17
17
|
const tools_1 = require("./tools");
|
|
18
18
|
const swagger_1 = require("@nestjs/swagger");
|
|
19
|
-
let Tag = class Tag extends base_entity_1.
|
|
19
|
+
let Tag = class Tag extends base_entity_1.EntityBase {
|
|
20
20
|
name;
|
|
21
21
|
user;
|
|
22
22
|
tasks;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class EmailConfigThirdparty extends
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
|
+
export declare class EmailConfigThirdparty extends EntityBase {
|
|
3
3
|
countExtractMessagesDays: number;
|
|
4
4
|
mailboxName: string;
|
|
5
5
|
senderName: string;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.EmailConfigThirdparty = void 0;
|
|
13
13
|
const base_entity_1 = require("../../common/database/base.entity");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
let EmailConfigThirdparty = class EmailConfigThirdparty extends base_entity_1.
|
|
15
|
+
let EmailConfigThirdparty = class EmailConfigThirdparty extends base_entity_1.EntityBase {
|
|
16
16
|
countExtractMessagesDays;
|
|
17
17
|
mailboxName;
|
|
18
18
|
senderName;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { UserEmailRelation } from "./user-email-relation.entity";
|
|
3
3
|
import { ServiceThirdparty } from "./service.entity";
|
|
4
4
|
import { Oauth } from "./oauth.entity";
|
|
5
|
-
export declare class EmailThirdparty extends
|
|
5
|
+
export declare class EmailThirdparty extends EntityBase {
|
|
6
6
|
googleId: string;
|
|
7
7
|
subject: string;
|
|
8
8
|
from: string;
|
|
@@ -15,7 +15,7 @@ const typeorm_1 = require("typeorm");
|
|
|
15
15
|
const user_email_relation_entity_1 = require("./user-email-relation.entity");
|
|
16
16
|
const service_entity_1 = require("./service.entity");
|
|
17
17
|
const oauth_entity_1 = require("./oauth.entity");
|
|
18
|
-
let EmailThirdparty = class EmailThirdparty extends base_entity_1.
|
|
18
|
+
let EmailThirdparty = class EmailThirdparty extends base_entity_1.EntityBase {
|
|
19
19
|
googleId;
|
|
20
20
|
subject;
|
|
21
21
|
from;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { EmailThirdparty } from "./email.entity";
|
|
3
|
-
export declare class Oauth extends
|
|
3
|
+
export declare class Oauth extends EntityBase {
|
|
4
4
|
service: number;
|
|
5
5
|
refresh_token: string;
|
|
6
6
|
access_token: string;
|
|
@@ -13,7 +13,7 @@ exports.Oauth = void 0;
|
|
|
13
13
|
const base_entity_1 = require("../../common/database/base.entity");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const email_entity_1 = require("./email.entity");
|
|
16
|
-
let Oauth = class Oauth extends base_entity_1.
|
|
16
|
+
let Oauth = class Oauth extends base_entity_1.EntityBase {
|
|
17
17
|
service;
|
|
18
18
|
refresh_token;
|
|
19
19
|
access_token;
|