easywork-common-lib 1.0.309 → 1.0.310
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/index.d.ts +1 -0
- package/dist/entities/index.js +1 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/thirdparty/email-config.entity.d.ts +12 -0
- package/dist/entities/thirdparty/email-config.entity.js +62 -0
- package/dist/entities/thirdparty/email-config.entity.js.map +1 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -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";
|
package/dist/entities/index.js
CHANGED
|
@@ -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,12 @@
|
|
|
1
|
+
import { BaseEntity } from "../../common/database";
|
|
2
|
+
import { Oauth } from "./oauth.entity";
|
|
3
|
+
export declare class EmailConfigThirdparty extends BaseEntity {
|
|
4
|
+
extractMessagesForWeek: number;
|
|
5
|
+
externalSmtp: string;
|
|
6
|
+
processMessagesForWeek: boolean;
|
|
7
|
+
routeExistingClientEmailsToCrmManagers: boolean;
|
|
8
|
+
createProspectForIncomingMessages: boolean;
|
|
9
|
+
createContactForOutgoingMessages: boolean;
|
|
10
|
+
createContactsUsingAttachedVCard: boolean;
|
|
11
|
+
oAuth: Oauth;
|
|
12
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
externalSmtp;
|
|
19
|
+
processMessagesForWeek;
|
|
20
|
+
routeExistingClientEmailsToCrmManagers;
|
|
21
|
+
createProspectForIncomingMessages;
|
|
22
|
+
createContactForOutgoingMessages;
|
|
23
|
+
createContactsUsingAttachedVCard;
|
|
24
|
+
oAuth;
|
|
25
|
+
};
|
|
26
|
+
exports.EmailConfigThirdparty = EmailConfigThirdparty;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], EmailConfigThirdparty.prototype, "extractMessagesForWeek", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], EmailConfigThirdparty.prototype, "externalSmtp", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: "boolean", nullable: true }),
|
|
37
|
+
__metadata("design:type", Boolean)
|
|
38
|
+
], EmailConfigThirdparty.prototype, "processMessagesForWeek", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: "boolean", nullable: true }),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], EmailConfigThirdparty.prototype, "routeExistingClientEmailsToCrmManagers", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: "boolean", nullable: true }),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], EmailConfigThirdparty.prototype, "createProspectForIncomingMessages", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: "boolean", nullable: true }),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], EmailConfigThirdparty.prototype, "createContactForOutgoingMessages", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ type: "boolean", nullable: true }),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], EmailConfigThirdparty.prototype, "createContactsUsingAttachedVCard", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.ManyToOne)(() => oauth_entity_1.Oauth, (oauth) => oauth.id),
|
|
57
|
+
__metadata("design:type", oauth_entity_1.Oauth)
|
|
58
|
+
], EmailConfigThirdparty.prototype, "oAuth", void 0);
|
|
59
|
+
exports.EmailConfigThirdparty = EmailConfigThirdparty = __decorate([
|
|
60
|
+
(0, typeorm_1.Entity)()
|
|
61
|
+
], EmailConfigThirdparty);
|
|
62
|
+
//# 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,qBAA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