easywork-common-lib 1.0.892 → 1.0.894

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.
Files changed (28) hide show
  1. package/dist/entities/tools/calendar/calendar-external-item.entity.d.ts +38 -0
  2. package/dist/entities/tools/calendar/calendar-external-item.entity.js +115 -0
  3. package/dist/entities/tools/calendar/calendar-external-item.entity.js.map +1 -0
  4. package/dist/entities/tools/mail/mail.entity.js +1 -1
  5. package/dist/entities/tools/mail/mail.entity.js.map +1 -1
  6. package/package.json +1 -1
  7. package/tsconfig.tsbuildinfo +1 -1
  8. package/dist/entities/helpers/user/access_history.entity.d.ts +0 -9
  9. package/dist/entities/helpers/user/access_history.entity.js +0 -58
  10. package/dist/entities/helpers/user/access_history.entity.js.map +0 -1
  11. package/dist/entities/policy/policy-details.entity.d.ts +0 -42
  12. package/dist/entities/policy/policy-details.entity.js +0 -380
  13. package/dist/entities/policy/policy-details.entity.js.map +0 -1
  14. package/dist/entities/thirdparty/email-config.entity.d.ts +0 -14
  15. package/dist/entities/thirdparty/email-config.entity.js +0 -76
  16. package/dist/entities/thirdparty/email-config.entity.js.map +0 -1
  17. package/dist/entities/thirdparty/email.entity.d.ts +0 -17
  18. package/dist/entities/thirdparty/email.entity.js +0 -79
  19. package/dist/entities/thirdparty/email.entity.js.map +0 -1
  20. package/dist/entities/thirdparty/service.entity.d.ts +0 -8
  21. package/dist/entities/thirdparty/service.entity.js +0 -38
  22. package/dist/entities/thirdparty/service.entity.js.map +0 -1
  23. package/dist/entities/thirdparty/user-email-relation.entity.d.ts +0 -7
  24. package/dist/entities/thirdparty/user-email-relation.entity.js +0 -35
  25. package/dist/entities/thirdparty/user-email-relation.entity.js.map +0 -1
  26. package/dist/entities/tools/calendar/event-list-calendars.entity.d.ts +0 -6
  27. package/dist/entities/tools/calendar/event-list-calendars.entity.js +0 -32
  28. package/dist/entities/tools/calendar/event-list-calendars.entity.js.map +0 -1
@@ -1,9 +0,0 @@
1
- import { EntityBase } from "../../../common";
2
- import { User } from "../../user.entity";
3
- export declare class AccessHistory extends EntityBase {
4
- user: User;
5
- ipAddress: string;
6
- loginTime: Date;
7
- logoutTime: Date;
8
- duration: string;
9
- }
@@ -1,58 +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.AccessHistory = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const swagger_1 = require("@nestjs/swagger");
15
- const common_1 = require("../../../common");
16
- const user_entity_1 = require("../../user.entity");
17
- let AccessHistory = class AccessHistory extends common_1.EntityBase {
18
- user;
19
- ipAddress;
20
- loginTime;
21
- logoutTime;
22
- duration;
23
- };
24
- exports.AccessHistory = AccessHistory;
25
- __decorate([
26
- (0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'Usuario que realizó el acceso' }),
27
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
28
- onDelete: "CASCADE",
29
- onUpdate: "CASCADE",
30
- eager: true
31
- }),
32
- (0, typeorm_1.JoinColumn)(),
33
- __metadata("design:type", user_entity_1.User)
34
- ], AccessHistory.prototype, "user", void 0);
35
- __decorate([
36
- (0, swagger_1.ApiProperty)({ type: String, description: 'Dirección IP de acceso' }),
37
- (0, typeorm_1.Column)({ type: "varchar", length: 25 }),
38
- __metadata("design:type", String)
39
- ], AccessHistory.prototype, "ipAddress", void 0);
40
- __decorate([
41
- (0, swagger_1.ApiProperty)({ type: Date, description: 'Fecha de acceso' }),
42
- (0, typeorm_1.Column)({ type: "timestamp" }),
43
- __metadata("design:type", Date)
44
- ], AccessHistory.prototype, "loginTime", void 0);
45
- __decorate([
46
- (0, swagger_1.ApiProperty)({ type: String, description: 'Hora de inicio de sesión' }),
47
- (0, typeorm_1.Column)({ type: "timestamp" }),
48
- __metadata("design:type", Date)
49
- ], AccessHistory.prototype, "logoutTime", void 0);
50
- __decorate([
51
- (0, swagger_1.ApiProperty)({ type: String, description: 'Duración de la sesión' }),
52
- (0, typeorm_1.Column)({ type: "varchar", length: 20 }),
53
- __metadata("design:type", String)
54
- ], AccessHistory.prototype, "duration", void 0);
55
- exports.AccessHistory = AccessHistory = __decorate([
56
- (0, typeorm_1.Entity)()
57
- ], AccessHistory);
58
- //# sourceMappingURL=access_history.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"access_history.entity.js","sourceRoot":"","sources":["../../../../src/entities/helpers/user/access_history.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAAgE;AAChE,6CAA8C;AAC9C,4CAA6C;AAC7C,mDAAyC;AAGlC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,mBAAU;IAQ3C,IAAI,CAAO;IAIX,SAAS,CAAS;IAIlB,SAAS,CAAO;IAIhB,UAAU,CAAO;IAIjB,QAAQ,CAAS;CAClB,CAAA;AAzBY,sCAAa;AAQxB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC/E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;IACD,IAAA,oBAAU,GAAE;8BACP,kBAAI;2CAAC;AAIX;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,wBAAwB,EAAE,CAAC;IACpE,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;gDACtB;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;IAC3D,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BACnB,IAAI;gDAAC;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;IACtE,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAClB,IAAI;iDAAC;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,uBAAuB,EAAE,CAAC;IACnE,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;+CACvB;wBAxBN,aAAa;IADzB,IAAA,gBAAM,GAAE;GACI,aAAa,CAyBzB"}
@@ -1,42 +0,0 @@
1
- import { EntityBaseWithUser } from "../../common/database/base.entity";
2
- import { Policy } from "./policy.entity";
3
- import { PolizaDiasPlazoPago, PolizaOperacion } from "../../common/enums";
4
- import { PolizaCategory, PolizaConductoPago, PolizaFormaCobro, PolizaFrecuenciaPago, PolizaStage, TaskCRM } from "../helpers";
5
- import { Currency } from "../currency.entity";
6
- import { File } from "../drive/file.entity";
7
- import { PolicyComment } from "../sales/policy-comment.entity";
8
- export declare class PolicyVersion extends EntityBaseWithUser {
9
- policy: Policy;
10
- operation: PolizaOperacion;
11
- version: number;
12
- renovacion: number;
13
- vigenciaDesde: Date;
14
- vigenciaHasta: Date;
15
- fechaEmision: Date;
16
- primaNeta: number;
17
- recargoFraccionado: number;
18
- derechoPoliza: number;
19
- iva?: number;
20
- importeTotal: number;
21
- description: string;
22
- frecuenciaCobro: PolizaFrecuenciaPago;
23
- currency: Currency;
24
- plazoPago: PolizaDiasPlazoPago;
25
- cobertura: string;
26
- plan: string;
27
- typeMovement: string;
28
- movementDescription: string;
29
- category?: PolizaCategory;
30
- renewalStage: PolizaStage;
31
- insureds: Record<string, any>;
32
- vehicles?: Record<string, any>;
33
- beneficiaries?: Record<string, any>;
34
- metadata: Record<string, any>;
35
- observations?: string;
36
- conductoPago: PolizaConductoPago;
37
- formaCobro: PolizaFormaCobro;
38
- file?: File;
39
- comments: PolicyComment[];
40
- tasks: TaskCRM[];
41
- specifications: string;
42
- }
@@ -1,380 +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.PolicyVersion = void 0;
13
- const base_entity_1 = require("../../common/database/base.entity");
14
- const typeorm_1 = require("typeorm");
15
- const policy_entity_1 = require("./policy.entity");
16
- const swagger_1 = require("@nestjs/swagger");
17
- const enums_1 = require("../../common/enums");
18
- const helpers_1 = require("../helpers");
19
- const currency_entity_1 = require("../currency.entity");
20
- const file_entity_1 = require("../drive/file.entity");
21
- const policy_comment_entity_1 = require("../sales/policy-comment.entity");
22
- let PolicyVersion = class PolicyVersion extends base_entity_1.EntityBaseWithUser {
23
- policy;
24
- operation;
25
- version;
26
- renovacion;
27
- vigenciaDesde;
28
- vigenciaHasta;
29
- fechaEmision;
30
- primaNeta;
31
- recargoFraccionado;
32
- derechoPoliza;
33
- iva;
34
- importeTotal;
35
- description;
36
- frecuenciaCobro;
37
- currency;
38
- plazoPago;
39
- cobertura;
40
- plan;
41
- typeMovement;
42
- movementDescription;
43
- category;
44
- renewalStage;
45
- insureds;
46
- vehicles;
47
- beneficiaries;
48
- metadata;
49
- observations;
50
- conductoPago;
51
- formaCobro;
52
- file;
53
- comments;
54
- tasks;
55
- specifications;
56
- };
57
- exports.PolicyVersion = PolicyVersion;
58
- __decorate([
59
- (0, typeorm_1.ManyToOne)(() => policy_entity_1.Policy, (policy) => policy.versions),
60
- (0, typeorm_1.JoinColumn)({ name: "policy_id" }),
61
- __metadata("design:type", policy_entity_1.Policy)
62
- ], PolicyVersion.prototype, "policy", void 0);
63
- __decorate([
64
- (0, swagger_1.ApiProperty)({
65
- enum: enums_1.PolizaOperacion,
66
- description: "Tipo de operación de la póliza",
67
- required: false,
68
- }),
69
- (0, typeorm_1.Column)({
70
- type: "enum",
71
- enum: enums_1.PolizaOperacion,
72
- nullable: true,
73
- }),
74
- __metadata("design:type", String)
75
- ], PolicyVersion.prototype, "operation", void 0);
76
- __decorate([
77
- (0, swagger_1.ApiProperty)({
78
- type: String,
79
- description: "Version of the policy",
80
- required: false,
81
- }),
82
- (0, typeorm_1.Column)({ nullable: true, default: 0 }),
83
- __metadata("design:type", Number)
84
- ], PolicyVersion.prototype, "version", void 0);
85
- __decorate([
86
- (0, swagger_1.ApiProperty)({
87
- type: String,
88
- description: "Numero de renovación de la poliza",
89
- required: false,
90
- }),
91
- (0, typeorm_1.Column)({ nullable: true, default: 0 }),
92
- __metadata("design:type", Number)
93
- ], PolicyVersion.prototype, "renovacion", void 0);
94
- __decorate([
95
- (0, swagger_1.ApiProperty)({
96
- type: Date,
97
- description: "Policy validity start date",
98
- required: false,
99
- }),
100
- (0, typeorm_1.Column)({ type: "date", nullable: true }),
101
- __metadata("design:type", Date)
102
- ], PolicyVersion.prototype, "vigenciaDesde", void 0);
103
- __decorate([
104
- (0, swagger_1.ApiProperty)({
105
- type: Date,
106
- description: "Policy validity end date",
107
- required: false,
108
- }),
109
- (0, typeorm_1.Column)({ type: "date", nullable: true }),
110
- __metadata("design:type", Date)
111
- ], PolicyVersion.prototype, "vigenciaHasta", void 0);
112
- __decorate([
113
- (0, swagger_1.ApiProperty)({
114
- type: Date,
115
- description: "Policy issuance date",
116
- required: false,
117
- }),
118
- (0, typeorm_1.Column)({ nullable: true }),
119
- __metadata("design:type", Date)
120
- ], PolicyVersion.prototype, "fechaEmision", void 0);
121
- __decorate([
122
- (0, swagger_1.ApiProperty)({ type: Number, description: "Net premium of the policy" }),
123
- (0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 2, nullable: true }),
124
- __metadata("design:type", Number)
125
- ], PolicyVersion.prototype, "primaNeta", void 0);
126
- __decorate([
127
- (0, swagger_1.ApiProperty)({
128
- type: Number,
129
- description: "Fractional surcharge of the policy",
130
- }),
131
- (0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 2, nullable: true }),
132
- __metadata("design:type", Number)
133
- ], PolicyVersion.prototype, "recargoFraccionado", void 0);
134
- __decorate([
135
- (0, swagger_1.ApiProperty)({ type: Number, description: "Policy right fee" }),
136
- (0, typeorm_1.Column)({ type: "decimal", precision: 10, scale: 2, nullable: true }),
137
- __metadata("design:type", Number)
138
- ], PolicyVersion.prototype, "derechoPoliza", void 0);
139
- __decorate([
140
- (0, swagger_1.ApiProperty)({ type: Number, description: "IVA of the policy" }),
141
- (0, typeorm_1.Column)({ type: "float", nullable: true }),
142
- __metadata("design:type", Number)
143
- ], PolicyVersion.prototype, "iva", void 0);
144
- __decorate([
145
- (0, swagger_1.ApiProperty)({ type: Number, description: "Total amount of the policy" }),
146
- (0, typeorm_1.Column)({ type: "decimal", precision: 12, scale: 2, nullable: true }),
147
- __metadata("design:type", Number)
148
- ], PolicyVersion.prototype, "importeTotal", void 0);
149
- __decorate([
150
- (0, swagger_1.ApiProperty)({
151
- type: String,
152
- description: "Description of the policy",
153
- required: false,
154
- }),
155
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
156
- __metadata("design:type", String)
157
- ], PolicyVersion.prototype, "description", void 0);
158
- __decorate([
159
- (0, swagger_1.ApiProperty)({
160
- type: () => helpers_1.PolizaFrecuenciaPago,
161
- description: "Payment frequency for the policy",
162
- required: false,
163
- }),
164
- (0, typeorm_1.ManyToOne)(() => helpers_1.PolizaFrecuenciaPago, {
165
- onDelete: "SET NULL",
166
- onUpdate: "CASCADE",
167
- nullable: true,
168
- }),
169
- __metadata("design:type", helpers_1.PolizaFrecuenciaPago)
170
- ], PolicyVersion.prototype, "frecuenciaCobro", void 0);
171
- __decorate([
172
- (0, swagger_1.ApiProperty)({
173
- type: () => currency_entity_1.Currency,
174
- description: "Currency",
175
- required: false,
176
- }),
177
- (0, typeorm_1.ManyToOne)(() => currency_entity_1.Currency, {
178
- onDelete: "SET NULL",
179
- onUpdate: "CASCADE",
180
- nullable: true,
181
- }),
182
- __metadata("design:type", currency_entity_1.Currency)
183
- ], PolicyVersion.prototype, "currency", void 0);
184
- __decorate([
185
- (0, swagger_1.ApiProperty)({
186
- enum: enums_1.PolizaDiasPlazoPago,
187
- description: "Status of the policy",
188
- default: enums_1.PolizaDiasPlazoPago.Day15,
189
- }),
190
- (0, typeorm_1.Column)({
191
- type: "enum",
192
- enum: enums_1.PolizaDiasPlazoPago,
193
- default: enums_1.PolizaDiasPlazoPago.Day15,
194
- }),
195
- __metadata("design:type", String)
196
- ], PolicyVersion.prototype, "plazoPago", void 0);
197
- __decorate([
198
- (0, swagger_1.ApiProperty)({ type: String, description: "Cobertura", required: false }),
199
- (0, typeorm_1.Column)({ nullable: true }),
200
- __metadata("design:type", String)
201
- ], PolicyVersion.prototype, "cobertura", void 0);
202
- __decorate([
203
- (0, swagger_1.ApiProperty)({ type: String, description: "Plan", required: false }),
204
- (0, typeorm_1.Column)({ length: 255, nullable: true }),
205
- __metadata("design:type", String)
206
- ], PolicyVersion.prototype, "plan", void 0);
207
- __decorate([
208
- (0, swagger_1.ApiProperty)({
209
- type: String,
210
- description: "Tipo de Movimiento",
211
- required: false,
212
- }),
213
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
214
- __metadata("design:type", String)
215
- ], PolicyVersion.prototype, "typeMovement", void 0);
216
- __decorate([
217
- (0, swagger_1.ApiProperty)({
218
- type: String,
219
- description: "Descripción del movimiento",
220
- required: false,
221
- }),
222
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
223
- __metadata("design:type", String)
224
- ], PolicyVersion.prototype, "movementDescription", void 0);
225
- __decorate([
226
- (0, swagger_1.ApiProperty)({
227
- type: () => helpers_1.PolizaCategory,
228
- description: "Categoría o Plan",
229
- required: false,
230
- }),
231
- (0, typeorm_1.ManyToOne)(() => helpers_1.PolizaCategory, {
232
- onDelete: "SET NULL",
233
- onUpdate: "CASCADE",
234
- nullable: true,
235
- }),
236
- __metadata("design:type", helpers_1.PolizaCategory)
237
- ], PolicyVersion.prototype, "category", void 0);
238
- __decorate([
239
- (0, swagger_1.ApiProperty)({
240
- type: () => helpers_1.PolizaStage,
241
- description: "Stage of the renewal",
242
- required: true,
243
- }),
244
- (0, typeorm_1.ManyToOne)(() => helpers_1.PolizaStage, {
245
- onDelete: "SET NULL",
246
- onUpdate: "CASCADE",
247
- nullable: true,
248
- eager: true,
249
- }),
250
- __metadata("design:type", helpers_1.PolizaStage)
251
- ], PolicyVersion.prototype, "renewalStage", void 0);
252
- __decorate([
253
- (0, swagger_1.ApiProperty)({
254
- type: Object,
255
- description: "Insureds of the poliza",
256
- required: false,
257
- }),
258
- (0, typeorm_1.Column)({
259
- type: "jsonb",
260
- nullable: true,
261
- }),
262
- __metadata("design:type", Object)
263
- ], PolicyVersion.prototype, "insureds", void 0);
264
- __decorate([
265
- (0, swagger_1.ApiProperty)({
266
- type: Object,
267
- description: "Vehicles Insured of the poliza",
268
- required: false,
269
- }),
270
- (0, typeorm_1.Column)({
271
- type: "json",
272
- nullable: true,
273
- }),
274
- __metadata("design:type", Object)
275
- ], PolicyVersion.prototype, "vehicles", void 0);
276
- __decorate([
277
- (0, swagger_1.ApiProperty)({
278
- type: Object,
279
- description: "Beneficiaries of the poliza",
280
- required: false,
281
- }),
282
- (0, typeorm_1.Column)({
283
- type: "json",
284
- nullable: true,
285
- }),
286
- __metadata("design:type", Object)
287
- ], PolicyVersion.prototype, "beneficiaries", void 0);
288
- __decorate([
289
- (0, swagger_1.ApiProperty)({
290
- type: Object,
291
- description: "Additional metadata for the poliza",
292
- required: false,
293
- }),
294
- (0, typeorm_1.Column)({
295
- type: "simple-json",
296
- nullable: true,
297
- }),
298
- __metadata("design:type", Object)
299
- ], PolicyVersion.prototype, "metadata", void 0);
300
- __decorate([
301
- (0, swagger_1.ApiProperty)({
302
- type: String,
303
- description: "Comments about the policy",
304
- required: false,
305
- }),
306
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
307
- __metadata("design:type", String)
308
- ], PolicyVersion.prototype, "observations", void 0);
309
- __decorate([
310
- (0, swagger_1.ApiProperty)({
311
- type: () => helpers_1.PolizaConductoPago,
312
- description: "Conducto de Pago",
313
- required: false,
314
- }),
315
- (0, typeorm_1.ManyToOne)(() => helpers_1.PolizaConductoPago, {
316
- onDelete: "SET NULL",
317
- onUpdate: "CASCADE",
318
- nullable: true,
319
- }),
320
- __metadata("design:type", helpers_1.PolizaConductoPago)
321
- ], PolicyVersion.prototype, "conductoPago", void 0);
322
- __decorate([
323
- (0, swagger_1.ApiProperty)({
324
- type: () => helpers_1.PolizaFormaCobro,
325
- description: "Payment method for the policy",
326
- required: false,
327
- }),
328
- (0, typeorm_1.ManyToOne)(() => helpers_1.PolizaFormaCobro, {
329
- onDelete: "SET NULL",
330
- onUpdate: "CASCADE",
331
- nullable: true,
332
- }),
333
- __metadata("design:type", helpers_1.PolizaFormaCobro)
334
- ], PolicyVersion.prototype, "formaCobro", void 0);
335
- __decorate([
336
- (0, swagger_1.ApiProperty)({
337
- type: () => file_entity_1.File,
338
- description: "File associated with the policy",
339
- required: false,
340
- }),
341
- (0, typeorm_1.ManyToOne)(() => file_entity_1.File, {
342
- onDelete: "SET NULL",
343
- onUpdate: "CASCADE",
344
- nullable: true,
345
- }),
346
- __metadata("design:type", file_entity_1.File)
347
- ], PolicyVersion.prototype, "file", void 0);
348
- __decorate([
349
- (0, swagger_1.ApiProperty)({
350
- type: () => [policy_comment_entity_1.PolicyComment],
351
- description: "Comments on the policy",
352
- }),
353
- (0, typeorm_1.OneToMany)(() => policy_comment_entity_1.PolicyComment, (policyComment) => policyComment.policy),
354
- (0, typeorm_1.JoinColumn)(),
355
- __metadata("design:type", Array)
356
- ], PolicyVersion.prototype, "comments", void 0);
357
- __decorate([
358
- (0, swagger_1.ApiProperty)({
359
- type: () => [helpers_1.TaskCRM],
360
- description: "Tasks associated with the poliza",
361
- }),
362
- (0, typeorm_1.OneToMany)(() => helpers_1.TaskCRM, (task) => task.policy, {
363
- cascade: true,
364
- onDelete: "CASCADE",
365
- }),
366
- __metadata("design:type", Array)
367
- ], PolicyVersion.prototype, "tasks", void 0);
368
- __decorate([
369
- (0, swagger_1.ApiProperty)({
370
- type: String,
371
- description: "Specifications of the policy",
372
- required: false,
373
- }),
374
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
375
- __metadata("design:type", String)
376
- ], PolicyVersion.prototype, "specifications", void 0);
377
- exports.PolicyVersion = PolicyVersion = __decorate([
378
- (0, typeorm_1.Entity)("policy_version")
379
- ], PolicyVersion);
380
- //# sourceMappingURL=policy-details.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"policy-details.entity.js","sourceRoot":"","sources":["../../../src/entities/policy/policy-details.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAAuE;AACvE,qCAA2E;AAC3E,mDAAyC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WAAW,EAAE,8BAA8B;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAClB;wBA7RZ,aAAa;IADzB,IAAA,gBAAM,EAAC,gBAAgB,CAAC;GACZ,aAAa,CA8RzB"}
@@ -1,14 +0,0 @@
1
- import { EntityBase } from "../../common/database/base.entity";
2
- export declare class EmailConfigThirdparty extends EntityBase {
3
- countExtractMessagesDays: number;
4
- mailboxName: string;
5
- senderName: string;
6
- countProcessMessagesDays: number;
7
- routeExistingClientEmailsToCrmManagers: boolean;
8
- createIncomingMessages: string;
9
- createForOutgoingMessages: string;
10
- createUsingAttachedVCard: boolean;
11
- contactLeadDistribution: object[];
12
- mailboxAccess: object[];
13
- email: string;
14
- }
@@ -1,76 +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.EmailConfigThirdparty = void 0;
13
- const base_entity_1 = require("../../common/database/base.entity");
14
- const typeorm_1 = require("typeorm");
15
- let EmailConfigThirdparty = class EmailConfigThirdparty extends base_entity_1.EntityBase {
16
- countExtractMessagesDays;
17
- mailboxName;
18
- senderName;
19
- countProcessMessagesDays;
20
- routeExistingClientEmailsToCrmManagers;
21
- createIncomingMessages;
22
- createForOutgoingMessages;
23
- createUsingAttachedVCard;
24
- contactLeadDistribution;
25
- mailboxAccess;
26
- email;
27
- };
28
- exports.EmailConfigThirdparty = EmailConfigThirdparty;
29
- __decorate([
30
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
31
- __metadata("design:type", Number)
32
- ], EmailConfigThirdparty.prototype, "countExtractMessagesDays", void 0);
33
- __decorate([
34
- (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
35
- __metadata("design:type", String)
36
- ], EmailConfigThirdparty.prototype, "mailboxName", void 0);
37
- __decorate([
38
- (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
39
- __metadata("design:type", String)
40
- ], EmailConfigThirdparty.prototype, "senderName", void 0);
41
- __decorate([
42
- (0, typeorm_1.Column)({ type: "integer", nullable: true }),
43
- __metadata("design:type", Number)
44
- ], EmailConfigThirdparty.prototype, "countProcessMessagesDays", void 0);
45
- __decorate([
46
- (0, typeorm_1.Column)({ type: "boolean", nullable: true }),
47
- __metadata("design:type", Boolean)
48
- ], EmailConfigThirdparty.prototype, "routeExistingClientEmailsToCrmManagers", void 0);
49
- __decorate([
50
- (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
51
- __metadata("design:type", String)
52
- ], EmailConfigThirdparty.prototype, "createIncomingMessages", void 0);
53
- __decorate([
54
- (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
55
- __metadata("design:type", String)
56
- ], EmailConfigThirdparty.prototype, "createForOutgoingMessages", void 0);
57
- __decorate([
58
- (0, typeorm_1.Column)({ type: "boolean", nullable: true }),
59
- __metadata("design:type", Boolean)
60
- ], EmailConfigThirdparty.prototype, "createUsingAttachedVCard", void 0);
61
- __decorate([
62
- (0, typeorm_1.Column)("text", { array: true, nullable: true }),
63
- __metadata("design:type", Array)
64
- ], EmailConfigThirdparty.prototype, "contactLeadDistribution", void 0);
65
- __decorate([
66
- (0, typeorm_1.Column)("text", { array: true, nullable: true }),
67
- __metadata("design:type", Array)
68
- ], EmailConfigThirdparty.prototype, "mailboxAccess", void 0);
69
- __decorate([
70
- (0, typeorm_1.Column)(),
71
- __metadata("design:type", String)
72
- ], EmailConfigThirdparty.prototype, "email", void 0);
73
- exports.EmailConfigThirdparty = EmailConfigThirdparty = __decorate([
74
- (0, typeorm_1.Entity)()
75
- ], EmailConfigThirdparty);
76
- //# sourceMappingURL=email-config.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"email-config.entity.js","sourceRoot":"","sources":["../../../src/entities/thirdparty/email-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAyC;AAGlC,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,wBAAU;IAEnD,wBAAwB,CAAS;IAGjC,WAAW,CAAS;IAGpB,UAAU,CAAS;IAGnB,wBAAwB,CAAS;IAGjC,sCAAsC,CAAU;IAGhD,sBAAsB,CAAS;IAG/B,yBAAyB,CAAS;IAGlC,wBAAwB,CAAU;IAGlC,uBAAuB,CAAW;IAGlC,aAAa,CAAW;IAGxB,KAAK,CAAS;CACf,CAAA;AAjCY,sDAAqB;AAEhC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACX;AAGjC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACrC;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACtC;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACX;AAGjC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qFACI;AAGhD;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEAC1B;AAG/B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wEACvB;AAGlC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACV;AAGlC;IADC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sEACd;AAGlC;IADC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACxB;AAGxB;IADC,IAAA,gBAAM,GAAE;;oDACK;gCAhCH,qBAAqB;IADjC,IAAA,gBAAM,GAAE;GACI,qBAAqB,CAiCjC"}
@@ -1,17 +0,0 @@
1
- import { EntityBase } from "../../common/database/base.entity";
2
- import { UserEmailRelation } from "./user-email-relation.entity";
3
- import { ServiceThirdparty } from "./service.entity";
4
- import { Oauth } from "./oauth.entity";
5
- export declare class EmailThirdparty extends EntityBase {
6
- googleId: string;
7
- subject: string;
8
- from: string;
9
- date: Date;
10
- to: string[];
11
- body: string;
12
- folder: string[];
13
- attachment: string[];
14
- service: ServiceThirdparty;
15
- userRelations: UserEmailRelation[];
16
- oAuth: Oauth;
17
- }