easywork-common-lib 1.0.1314 → 1.0.1317
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/tools/mail/mail-contact.entity.d.ts +2 -0
- package/dist/entities/tools/mail/mail-contact.entity.js +7 -0
- package/dist/entities/tools/mail/mail-contact.entity.js.map +1 -1
- package/dist/modules/authorization/authorization.module.d.ts +2 -2
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export * from './tools/mail/mail-gmail.entity';
|
|
|
41
41
|
export * from './tools/mail/mail-crm-queue-distribution.entity';
|
|
42
42
|
export * from './tools/mail/mail-crm-queue-entities-assigned.entity';
|
|
43
43
|
export * from './tools/mail/mail-crm-queue-status.entity';
|
|
44
|
+
export * from './tools/mail/mail-contact.entity';
|
|
44
45
|
export * from './all-activities.entity';
|
|
45
46
|
export * from './thirdparty/google-webhooks-config.entity';
|
|
46
47
|
export * from './thirdparty/google-gmail-watch-record.entity';
|
package/dist/entities/index.js
CHANGED
|
@@ -57,6 +57,7 @@ __exportStar(require("./tools/mail/mail-gmail.entity"), exports);
|
|
|
57
57
|
__exportStar(require("./tools/mail/mail-crm-queue-distribution.entity"), exports);
|
|
58
58
|
__exportStar(require("./tools/mail/mail-crm-queue-entities-assigned.entity"), exports);
|
|
59
59
|
__exportStar(require("./tools/mail/mail-crm-queue-status.entity"), exports);
|
|
60
|
+
__exportStar(require("./tools/mail/mail-contact.entity"), exports);
|
|
60
61
|
__exportStar(require("./all-activities.entity"), exports);
|
|
61
62
|
__exportStar(require("./thirdparty/google-webhooks-config.entity"), exports);
|
|
62
63
|
__exportStar(require("./thirdparty/google-gmail-watch-record.entity"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,oDAAkC;AAClC,0CAAwB;AACxB,+DAA6C;AAC7C,iDAA+B;AAC/B,iDAA+B;AAC/B,8EAA4D;AAC5D,uDAAqC;AACrC,yDAAuC;AACvC,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,kDAAgC;AAChC,sDAAoC;AACpC,iDAA+B;AAC/B,2CAAyB;AACzB,mDAAiC;AACjC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,0CAAwB;AACxB,+CAA6B;AAC7B,sDAAoC;AACpC,oDAAkC;AAClC,4DAA0C;AAC1C,gDAA8B;AAC9B,6DAA2C;AAC3C,6DAA2C;AAC3C,mDAAiC;AACjC,6DAA2C;AAG3C,iDAA+B;AAG/B,0CAAwB;AAGxB,uDAAqC;AAGrC,sEAAoD;AACpD,0EAAwD;AACxD,8DAA4C;AAC5C,2DAAyC;AACzC,iEAA+C;AAC/C,kFAAgE;AAChE,uFAAqE;AACrE,4EAA0D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,oDAAkC;AAClC,0CAAwB;AACxB,+DAA6C;AAC7C,iDAA+B;AAC/B,iDAA+B;AAC/B,8EAA4D;AAC5D,uDAAqC;AACrC,yDAAuC;AACvC,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,kDAAgC;AAChC,sDAAoC;AACpC,iDAA+B;AAC/B,2CAAyB;AACzB,mDAAiC;AACjC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,0CAAwB;AACxB,+CAA6B;AAC7B,sDAAoC;AACpC,oDAAkC;AAClC,4DAA0C;AAC1C,gDAA8B;AAC9B,6DAA2C;AAC3C,6DAA2C;AAC3C,mDAAiC;AACjC,6DAA2C;AAG3C,iDAA+B;AAG/B,0CAAwB;AAGxB,uDAAqC;AAGrC,sEAAoD;AACpD,0EAAwD;AACxD,8DAA4C;AAC5C,2DAAyC;AACzC,iEAA+C;AAC/C,kFAAgE;AAChE,uFAAqE;AACrE,4EAA0D;AAC1D,mEAAiD;AAGjD,0DAAwC;AAGxC,6EAA2D;AAC3D,gFAA8D;AAC9D,4DAA0C;AAC1C,uEAAqD;AAGrD,uDAAqC;AAGrC,8DAA4C;AAC5C,iEAA+C;AAC/C,sEAAoD;AACpD,sEAAoD;AAGpD,4DAA0C;AAC1C,mEAAiD;AACjD,qEAAmD;AAGnD,4CAA0B;AAG1B,iDAA+B;AAC/B,0DAAwC;AAGxC,2DAAyC;AAGzC,oDAAkC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { BaseEntity } from 'typeorm';
|
|
2
2
|
import { User } from '../../user.entity';
|
|
3
|
+
import { Group } from '../../group.entity';
|
|
3
4
|
export declare class MailContact extends BaseEntity {
|
|
4
5
|
id: string;
|
|
5
6
|
name: string;
|
|
6
7
|
lastname: string;
|
|
7
8
|
email: string;
|
|
8
9
|
createdBy?: User;
|
|
10
|
+
group?: Group;
|
|
9
11
|
createdAt?: Date;
|
|
10
12
|
updatedAt?: Date;
|
|
11
13
|
}
|
|
@@ -13,12 +13,14 @@ exports.MailContact = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
15
|
const user_entity_1 = require("../../user.entity");
|
|
16
|
+
const group_entity_1 = require("../../group.entity");
|
|
16
17
|
let MailContact = class MailContact extends typeorm_1.BaseEntity {
|
|
17
18
|
id;
|
|
18
19
|
name;
|
|
19
20
|
lastname;
|
|
20
21
|
email;
|
|
21
22
|
createdBy;
|
|
23
|
+
group;
|
|
22
24
|
createdAt;
|
|
23
25
|
updatedAt;
|
|
24
26
|
};
|
|
@@ -47,6 +49,11 @@ __decorate([
|
|
|
47
49
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true, onDelete: 'SET NULL' }),
|
|
48
50
|
__metadata("design:type", user_entity_1.User)
|
|
49
51
|
], MailContact.prototype, "createdBy", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, swagger_1.ApiProperty)({ description: 'Group this contact belongs to', required: false }),
|
|
54
|
+
(0, typeorm_1.ManyToOne)(() => group_entity_1.Group, { nullable: true, onDelete: 'SET NULL' }),
|
|
55
|
+
__metadata("design:type", group_entity_1.Group)
|
|
56
|
+
], MailContact.prototype, "group", void 0);
|
|
50
57
|
__decorate([
|
|
51
58
|
(0, typeorm_1.CreateDateColumn)(),
|
|
52
59
|
__metadata("design:type", Date)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail-contact.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-contact.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4H;AAC5H,6CAA8C;AAE9C,mDAAyC;
|
|
1
|
+
{"version":3,"file":"mail-contact.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-contact.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4H;AAC5H,6CAA8C;AAE9C,mDAAyC;AACzC,qDAA2C;AAGpC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,oBAAU;IAEzC,EAAE,CAAS;IAIX,IAAI,CAAS;IAIb,QAAQ,CAAS;IAIjB,KAAK,CAAS;IAId,SAAS,CAAQ;IAIjB,KAAK,CAAS;IAGd,SAAS,CAAQ;IAGjB,SAAS,CAAQ;CAClB,CAAA;AA7BY,kCAAW;AAEtB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;uCACpB;AAIX;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5D,IAAA,gBAAM,GAAE;;yCACI;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjE,IAAA,gBAAM,GAAE;;6CACQ;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,gBAAM,GAAE;;0CACK;AAId;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,+BAA+B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BACpD,kBAAI;8CAAC;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,+BAA+B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BACzD,oBAAK;0CAAC;AAGd;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;8CAAC;AAGjB;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;8CAAC;sBA5BN,WAAW;IADvB,IAAA,gBAAM,GAAE;GACI,WAAW,CA6BvB"}
|
|
@@ -19,8 +19,8 @@ export declare class AuthorizationModule {
|
|
|
19
19
|
}): {
|
|
20
20
|
module: typeof AuthorizationModule;
|
|
21
21
|
imports: import("@nestjs/common").DynamicModule[];
|
|
22
|
-
providers: (typeof
|
|
23
|
-
exports: (typeof
|
|
22
|
+
providers: (typeof ResourceAccessFilterService | typeof ResourceAuthorizationService | typeof DynamicFilterService | typeof PermissionEvaluatorService | typeof PermissionCacheService | typeof AuthorizationService | typeof ResourceAuthorizationFactory | typeof ContactAuthorizationService | typeof LeadAuthorizationService | typeof PolicyAuthorizationService | typeof TaskAuthorizationService)[];
|
|
23
|
+
exports: (typeof ResourceAccessFilterService | typeof ResourceAuthorizationService | typeof DynamicFilterService | typeof PermissionEvaluatorService | typeof PermissionCacheService | typeof AuthorizationService | typeof ResourceAuthorizationFactory | typeof ContactAuthorizationService | typeof LeadAuthorizationService | typeof PolicyAuthorizationService | typeof TaskAuthorizationService)[];
|
|
24
24
|
global: boolean;
|
|
25
25
|
};
|
|
26
26
|
}
|