easywork-common-lib 1.0.310 → 1.0.312

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.
@@ -2,11 +2,14 @@ import { BaseEntity } from "../../common/database";
2
2
  import { Oauth } from "./oauth.entity";
3
3
  export declare class EmailConfigThirdparty extends BaseEntity {
4
4
  extractMessagesForWeek: number;
5
+ mailboxName: string;
6
+ senderName: string;
5
7
  externalSmtp: string;
6
8
  processMessagesForWeek: boolean;
7
9
  routeExistingClientEmailsToCrmManagers: boolean;
8
10
  createProspectForIncomingMessages: boolean;
9
11
  createContactForOutgoingMessages: boolean;
10
12
  createContactsUsingAttachedVCard: boolean;
13
+ contactLeadDistribution: string[];
11
14
  oAuth: Oauth;
12
15
  }
@@ -15,12 +15,15 @@ const typeorm_1 = require("typeorm");
15
15
  const oauth_entity_1 = require("./oauth.entity");
16
16
  let EmailConfigThirdparty = class EmailConfigThirdparty extends database_1.BaseEntity {
17
17
  extractMessagesForWeek;
18
+ mailboxName;
19
+ senderName;
18
20
  externalSmtp;
19
21
  processMessagesForWeek;
20
22
  routeExistingClientEmailsToCrmManagers;
21
23
  createProspectForIncomingMessages;
22
24
  createContactForOutgoingMessages;
23
25
  createContactsUsingAttachedVCard;
26
+ contactLeadDistribution;
24
27
  oAuth;
25
28
  };
26
29
  exports.EmailConfigThirdparty = EmailConfigThirdparty;
@@ -28,6 +31,14 @@ __decorate([
28
31
  (0, typeorm_1.Column)({ type: "integer", nullable: true }),
29
32
  __metadata("design:type", Number)
30
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);
31
42
  __decorate([
32
43
  (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
33
44
  __metadata("design:type", String)
@@ -53,7 +64,11 @@ __decorate([
53
64
  __metadata("design:type", Boolean)
54
65
  ], EmailConfigThirdparty.prototype, "createContactsUsingAttachedVCard", void 0);
55
66
  __decorate([
56
- (0, typeorm_1.ManyToOne)(() => oauth_entity_1.Oauth, (oauth) => oauth.id),
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.email),
57
72
  __metadata("design:type", oauth_entity_1.Oauth)
58
73
  ], EmailConfigThirdparty.prototype, "oAuth", void 0);
59
74
  exports.EmailConfigThirdparty = EmailConfigThirdparty = __decorate([
@@ -1 +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,YAAY,CAAS;IAGrB,sBAAsB,CAAU;IAGhC,sCAAsC,CAAU;IAGhD,iCAAiC,CAAU;IAG3C,gCAAgC,CAAU;IAG1C,gCAAgC,CAAU;IAG1C,KAAK,CAAQ;CACd,CAAA;AAxBY,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;;2DACpC;AAGrB;IADC,IAAA,gBAAM,EAAC,E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
2
  "name": "easywork-common-lib",
3
- "version": "1.0.310",
3
+ "version": "1.0.312",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {