easywork-common-lib 1.0.294 → 1.0.295
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 -2
- package/dist/entities/index.js +1 -2
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/sales/index.d.ts +0 -1
- package/dist/entities/sales/index.js +0 -1
- package/dist/entities/sales/index.js.map +1 -1
- package/dist/entities/thirdparty/email.entity.d.ts +2 -2
- package/dist/entities/thirdparty/email.entity.js +4 -4
- package/dist/entities/thirdparty/email.entity.js.map +1 -1
- package/dist/entities/{oauth.entity.d.ts → thirdparty/oauth.entity.d.ts} +3 -2
- package/dist/entities/{oauth.entity.js → thirdparty/oauth.entity.js} +7 -2
- package/dist/entities/thirdparty/oauth.entity.js.map +1 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/entities/easyapp/index.d.ts +0 -1
- package/dist/entities/easyapp/index.js +0 -18
- package/dist/entities/easyapp/index.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_sources.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/contact/contact_sources.entity.js +0 -36
- package/dist/entities/helpers/sales/contact/contact_sources.entity.js.map +0 -1
- package/dist/entities/helpers/sales/contact/contact_types.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/contact/contact_types.entity.js +0 -36
- package/dist/entities/helpers/sales/contact/contact_types.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/h_poliza_company.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/poliza/h_poliza_company.entity.js +0 -30
- package/dist/entities/helpers/sales/poliza/h_poliza_company.entity.js.map +0 -1
- package/dist/entities/imap-folder.entity.d.ts +0 -7
- package/dist/entities/imap-folder.entity.js +0 -41
- package/dist/entities/imap-folder.entity.js.map +0 -1
- package/dist/entities/oauth.entity.js.map +0 -1
- package/dist/modules/notifier/notifier.module.d.ts +0 -4
- package/dist/modules/notifier/notifier.module.js +0 -49
- package/dist/modules/notifier/notifier.module.js.map +0 -1
- package/dist/modules/notifier/notifier.service.d.ts +0 -19
- package/dist/modules/notifier/notifier.service.js +0 -231
- package/dist/modules/notifier/notifier.service.js.map +0 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -9,15 +9,14 @@ export * from "./phone.entity";
|
|
|
9
9
|
export * from "./email.entity";
|
|
10
10
|
export * from "./app_config/app-config.entity";
|
|
11
11
|
export * from "./imap-config.entity";
|
|
12
|
-
export * from "./imap-folder.entity";
|
|
13
12
|
export * from "./tag.entity";
|
|
14
|
-
export * from "./oauth.entity";
|
|
15
13
|
export * from "./tools";
|
|
16
14
|
export * from "./drive";
|
|
17
15
|
export * from "./sales";
|
|
18
16
|
export * from "./helpers";
|
|
19
17
|
export * from "./notifications";
|
|
20
18
|
export * from "./easyapp/filter-view.entity";
|
|
19
|
+
export * from "./thirdparty/oauth.entity";
|
|
21
20
|
export * from "./thirdparty/service.entity";
|
|
22
21
|
export * from "./thirdparty/email.entity";
|
|
23
22
|
export * from "./thirdparty/user-email-relation.entity";
|
package/dist/entities/index.js
CHANGED
|
@@ -25,15 +25,14 @@ __exportStar(require("./phone.entity"), exports);
|
|
|
25
25
|
__exportStar(require("./email.entity"), exports);
|
|
26
26
|
__exportStar(require("./app_config/app-config.entity"), exports);
|
|
27
27
|
__exportStar(require("./imap-config.entity"), exports);
|
|
28
|
-
__exportStar(require("./imap-folder.entity"), exports);
|
|
29
28
|
__exportStar(require("./tag.entity"), exports);
|
|
30
|
-
__exportStar(require("./oauth.entity"), exports);
|
|
31
29
|
__exportStar(require("./tools"), exports);
|
|
32
30
|
__exportStar(require("./drive"), exports);
|
|
33
31
|
__exportStar(require("./sales"), exports);
|
|
34
32
|
__exportStar(require("./helpers"), exports);
|
|
35
33
|
__exportStar(require("./notifications"), exports);
|
|
36
34
|
__exportStar(require("./easyapp/filter-view.entity"), exports);
|
|
35
|
+
__exportStar(require("./thirdparty/oauth.entity"), exports);
|
|
37
36
|
__exportStar(require("./thirdparty/service.entity"), exports);
|
|
38
37
|
__exportStar(require("./thirdparty/email.entity"), exports);
|
|
39
38
|
__exportStar(require("./thirdparty/user-email-relation.entity"), exports);
|
|
@@ -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
|
|
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"}
|
|
@@ -25,5 +25,4 @@ __exportStar(require("./contact-comment.entity"), exports);
|
|
|
25
25
|
__exportStar(require("./agente-intermediario.entity"), exports);
|
|
26
26
|
__exportStar(require("./beneficiarios/person.entity"), exports);
|
|
27
27
|
__exportStar(require("./beneficiarios/vehicle.entity"), exports);
|
|
28
|
-
__exportStar(require("./receipt.entity"), exports);
|
|
29
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/sales/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,wDAAsC;AACtC,0CAAwB;AACxB,mDAAiC;AACjC,4DAA0C;AAC1C,gDAA8B;AAC9B,kDAAgC;AAChC,2DAAyC;AACzC,gEAA8C;AAC9C,gEAA8C;AAC9C,iEAA+C
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/sales/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,wDAAsC;AACtC,0CAAwB;AACxB,mDAAiC;AACjC,4DAA0C;AAC1C,gDAA8B;AAC9B,kDAAgC;AAChC,2DAAyC;AACzC,gEAA8C;AAC9C,gEAA8C;AAC9C,iEAA+C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseEntity } from "../../common/database";
|
|
2
2
|
import { UserEmailRelation } from "./user-email-relation.entity";
|
|
3
3
|
import { ServiceThirdparty } from "./service.entity";
|
|
4
|
-
import { Oauth } from "
|
|
4
|
+
import { Oauth } from "./oauth.entity";
|
|
5
5
|
export declare class EmailThirdparty extends BaseEntity {
|
|
6
6
|
googleId: string;
|
|
7
7
|
subject: string;
|
|
@@ -9,7 +9,7 @@ export declare class EmailThirdparty extends BaseEntity {
|
|
|
9
9
|
date: Date;
|
|
10
10
|
to: string[];
|
|
11
11
|
body: string;
|
|
12
|
-
|
|
12
|
+
attachment: string[];
|
|
13
13
|
service: ServiceThirdparty;
|
|
14
14
|
userRelations: UserEmailRelation[];
|
|
15
15
|
oAuth: Oauth;
|
|
@@ -14,7 +14,7 @@ const database_1 = require("../../common/database");
|
|
|
14
14
|
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
|
-
const oauth_entity_1 = require("
|
|
17
|
+
const oauth_entity_1 = require("./oauth.entity");
|
|
18
18
|
let EmailThirdparty = class EmailThirdparty extends database_1.BaseEntity {
|
|
19
19
|
googleId;
|
|
20
20
|
subject;
|
|
@@ -22,7 +22,7 @@ let EmailThirdparty = class EmailThirdparty extends database_1.BaseEntity {
|
|
|
22
22
|
date;
|
|
23
23
|
to;
|
|
24
24
|
body;
|
|
25
|
-
|
|
25
|
+
attachment;
|
|
26
26
|
service;
|
|
27
27
|
userRelations;
|
|
28
28
|
oAuth;
|
|
@@ -54,8 +54,8 @@ __decorate([
|
|
|
54
54
|
], EmailThirdparty.prototype, "body", void 0);
|
|
55
55
|
__decorate([
|
|
56
56
|
(0, typeorm_1.Column)("text", { array: true }),
|
|
57
|
-
__metadata("design:type",
|
|
58
|
-
], EmailThirdparty.prototype, "
|
|
57
|
+
__metadata("design:type", Array)
|
|
58
|
+
], EmailThirdparty.prototype, "attachment", void 0);
|
|
59
59
|
__decorate([
|
|
60
60
|
(0, typeorm_1.ManyToOne)(() => service_entity_1.ServiceThirdparty, (service) => service.emails),
|
|
61
61
|
__metadata("design:type", service_entity_1.ServiceThirdparty)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.entity.js","sourceRoot":"","sources":["../../../src/entities/thirdparty/email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qCAA+D;AAC/D,6EAAiE;AACjE,qDAAqD;AACrD,
|
|
1
|
+
{"version":3,"file":"email.entity.js","sourceRoot":"","sources":["../../../src/entities/thirdparty/email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qCAA+D;AAC/D,6EAAiE;AACjE,qDAAqD;AACrD,iDAAuC;AAGhC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,qBAAU;IAE7C,QAAQ,CAAS;IAGjB,OAAO,CAAS;IAGhB,IAAI,CAAS;IAGb,IAAI,CAAO;IAGX,EAAE,CAAW;IAGb,IAAI,CAAS;IAGb,UAAU,CAAW;IAGrB,OAAO,CAAoB;IAG3B,aAAa,CAAsB;IAGnC,KAAK,CAAQ;CACd,CAAA;AA9BY,0CAAe;AAE1B;IADC,IAAA,gBAAM,GAAE;;iDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;gDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;6CACI;AAGb;IADC,IAAA,gBAAM,GAAE;8BACH,IAAI;6CAAC;AAGX;IADC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;2CACnB;AAGb;IADC,IAAA,gBAAM,GAAE;;6CACI;AAGb;IADC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;mDACX;AAGrB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kCAAiB,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;8BACvD,kCAAiB;gDAAC;AAG3B;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8CAAiB,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC;;sDAC9B;AAGnC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;8BACrC,oBAAK;8CAAC;0BA7BF,eAAe;IAD3B,IAAA,gBAAM,GAAE;GACI,eAAe,CA8B3B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseEntity } from "
|
|
2
|
-
import { EmailThirdparty } from "./
|
|
1
|
+
import { BaseEntity } from "../../common/database";
|
|
2
|
+
import { EmailThirdparty } from "./email.entity";
|
|
3
3
|
export declare class Oauth extends BaseEntity {
|
|
4
4
|
service: number;
|
|
5
5
|
refresh_token: string;
|
|
@@ -12,5 +12,6 @@ export declare class Oauth extends BaseEntity {
|
|
|
12
12
|
email: string;
|
|
13
13
|
picture: string;
|
|
14
14
|
id_token: string;
|
|
15
|
+
labelId: string[];
|
|
15
16
|
emails: EmailThirdparty[];
|
|
16
17
|
}
|
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Oauth = void 0;
|
|
13
|
-
const database_1 = require("
|
|
13
|
+
const database_1 = require("../../common/database");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
const email_entity_1 = require("./
|
|
15
|
+
const email_entity_1 = require("./email.entity");
|
|
16
16
|
let Oauth = class Oauth extends database_1.BaseEntity {
|
|
17
17
|
service;
|
|
18
18
|
refresh_token;
|
|
@@ -25,6 +25,7 @@ let Oauth = class Oauth extends database_1.BaseEntity {
|
|
|
25
25
|
email;
|
|
26
26
|
picture;
|
|
27
27
|
id_token;
|
|
28
|
+
labelId;
|
|
28
29
|
emails;
|
|
29
30
|
};
|
|
30
31
|
exports.Oauth = Oauth;
|
|
@@ -72,6 +73,10 @@ __decorate([
|
|
|
72
73
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
73
74
|
__metadata("design:type", String)
|
|
74
75
|
], Oauth.prototype, "id_token", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.Column)("text", { array: true }),
|
|
78
|
+
__metadata("design:type", Array)
|
|
79
|
+
], Oauth.prototype, "labelId", void 0);
|
|
75
80
|
__decorate([
|
|
76
81
|
(0, typeorm_1.OneToMany)(() => email_entity_1.EmailThirdparty, email => email.id),
|
|
77
82
|
__metadata("design:type", Array)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth.entity.js","sourceRoot":"","sources":["../../../src/entities/thirdparty/oauth.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qCAA2D;AAC3D,iDAAgD;AAIzC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,qBAAU;IAEnC,OAAO,CAAS;IAGhB,aAAa,CAAS;IAGtB,YAAY,CAAS;IAGrB,UAAU,CAAS;IAGnB,MAAM,CAAS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