easywork-common-lib 1.0.309 → 1.0.311

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.
@@ -19,5 +19,6 @@ export * from "./easyapp/filter-view.entity";
19
19
  export * from "./thirdparty/oauth.entity";
20
20
  export * from "./thirdparty/service.entity";
21
21
  export * from "./thirdparty/email.entity";
22
+ export * from "./thirdparty/email-config.entity";
22
23
  export * from "./thirdparty/user-email-relation.entity";
23
24
  export * from "./currency.entity";
@@ -35,6 +35,7 @@ __exportStar(require("./easyapp/filter-view.entity"), exports);
35
35
  __exportStar(require("./thirdparty/oauth.entity"), exports);
36
36
  __exportStar(require("./thirdparty/service.entity"), exports);
37
37
  __exportStar(require("./thirdparty/email.entity"), exports);
38
+ __exportStar(require("./thirdparty/email-config.entity"), exports);
38
39
  __exportStar(require("./thirdparty/user-email-relation.entity"), exports);
39
40
  __exportStar(require("./currency.entity"), exports);
40
41
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC;AAClC,mDAAiC;AACjC,yDAAuC;AACvC,mDAAiC;AACjC,gDAA8B;AAC9B,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,iEAA+C;AAC/C,uDAAqC;AACrC,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,kDAAgC;AAChC,+DAA6C;AAC7C,4DAA0C;AAC1C,8DAA4C;AAC5C,4DAA0C;AAC1C,0EAAwD;AACxD,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC;AAClC,mDAAiC;AACjC,yDAAuC;AACvC,mDAAiC;AACjC,gDAA8B;AAC9B,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,iEAA+C;AAC/C,uDAAqC;AACrC,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,kDAAgC;AAChC,+DAA6C;AAC7C,4DAA0C;AAC1C,8DAA4C;AAC5C,4DAA0C;AAC1C,mEAAiD;AACjD,0EAAwD;AACxD,oDAAkC"}
@@ -0,0 +1,15 @@
1
+ import { BaseEntity } from "../../common/database";
2
+ import { Oauth } from "./oauth.entity";
3
+ export declare class EmailConfigThirdparty extends BaseEntity {
4
+ extractMessagesForWeek: number;
5
+ mailboxName: string;
6
+ senderName: string;
7
+ externalSmtp: string;
8
+ processMessagesForWeek: boolean;
9
+ routeExistingClientEmailsToCrmManagers: boolean;
10
+ createProspectForIncomingMessages: boolean;
11
+ createContactForOutgoingMessages: boolean;
12
+ createContactsUsingAttachedVCard: boolean;
13
+ contactLeadDistribution: string[];
14
+ oAuth: Oauth;
15
+ }
@@ -0,0 +1,77 @@
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 database_1 = require("../../common/database");
14
+ const typeorm_1 = require("typeorm");
15
+ const oauth_entity_1 = require("./oauth.entity");
16
+ let EmailConfigThirdparty = class EmailConfigThirdparty extends database_1.BaseEntity {
17
+ extractMessagesForWeek;
18
+ mailboxName;
19
+ senderName;
20
+ externalSmtp;
21
+ processMessagesForWeek;
22
+ routeExistingClientEmailsToCrmManagers;
23
+ createProspectForIncomingMessages;
24
+ createContactForOutgoingMessages;
25
+ createContactsUsingAttachedVCard;
26
+ contactLeadDistribution;
27
+ oAuth;
28
+ };
29
+ exports.EmailConfigThirdparty = EmailConfigThirdparty;
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
32
+ __metadata("design:type", Number)
33
+ ], EmailConfigThirdparty.prototype, "extractMessagesForWeek", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
36
+ __metadata("design:type", String)
37
+ ], EmailConfigThirdparty.prototype, "mailboxName", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
40
+ __metadata("design:type", String)
41
+ ], EmailConfigThirdparty.prototype, "senderName", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
44
+ __metadata("design:type", String)
45
+ ], EmailConfigThirdparty.prototype, "externalSmtp", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({ type: "boolean", nullable: true }),
48
+ __metadata("design:type", Boolean)
49
+ ], EmailConfigThirdparty.prototype, "processMessagesForWeek", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ type: "boolean", nullable: true }),
52
+ __metadata("design:type", Boolean)
53
+ ], EmailConfigThirdparty.prototype, "routeExistingClientEmailsToCrmManagers", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ type: "boolean", nullable: true }),
56
+ __metadata("design:type", Boolean)
57
+ ], EmailConfigThirdparty.prototype, "createProspectForIncomingMessages", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.Column)({ type: "boolean", nullable: true }),
60
+ __metadata("design:type", Boolean)
61
+ ], EmailConfigThirdparty.prototype, "createContactForOutgoingMessages", void 0);
62
+ __decorate([
63
+ (0, typeorm_1.Column)({ type: "boolean", nullable: true }),
64
+ __metadata("design:type", Boolean)
65
+ ], EmailConfigThirdparty.prototype, "createContactsUsingAttachedVCard", void 0);
66
+ __decorate([
67
+ (0, typeorm_1.Column)("text", { array: true, nullable: true }),
68
+ __metadata("design:type", Array)
69
+ ], EmailConfigThirdparty.prototype, "contactLeadDistribution", void 0);
70
+ __decorate([
71
+ (0, typeorm_1.ManyToOne)(() => oauth_entity_1.Oauth, (oauth) => oauth.id),
72
+ __metadata("design:type", oauth_entity_1.Oauth)
73
+ ], EmailConfigThirdparty.prototype, "oAuth", void 0);
74
+ exports.EmailConfigThirdparty = EmailConfigThirdparty = __decorate([
75
+ (0, typeorm_1.Entity)()
76
+ ], EmailConfigThirdparty);
77
+ //# sourceMappingURL=email-config.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-config.entity.js","sourceRoot":"","sources":["../../../src/entities/thirdparty/email-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qCAAoD;AACpD,iDAAuC;AAGhC,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,qBAAU;IAEnD,sBAAsB,CAAS;IAG/B,WAAW,CAAS;IAGpB,UAAU,CAAS;IAGnB,YAAY,CAAS;IAGrB,sBAAsB,CAAU;IAGhC,sCAAsC,CAAU;IAGhD,iCAAiC,CAAU;IAG3C,gCAAgC,CAAU;IAG1C,gCAAgC,CAAU;IAG1C,uBAAuB,CAAW;IAGlC,KAAK,CAAQ;CACd,CAAA;AAjCY,sDAAqB;AAEhC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACb;AAG/B;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,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACpC;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACZ;AAGhC;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,QAAQ,EAAE,IAAI,EAAE,CAAC;;gFACD;AAG3C;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+EACF;AAG1C;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+EACF;AAG1C;IADC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sEACd;AAGlC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;8BACrC,oBAAK;oDAAC;gCAhCF,qBAAqB;IADjC,IAAA,gBAAM,GAAE;GACI,qBAAqB,CAiCjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.309",
3
+ "version": "1.0.311",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {