easywork-common-lib 1.0.383 → 1.0.386
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/common/database/base.entity.d.ts +4 -4
- package/dist/common/database/base.entity.js +11 -11
- package/dist/entities/app_config/app-config.entity.d.ts +2 -2
- package/dist/entities/app_config/app-config.entity.js +1 -1
- package/dist/entities/currency.entity.d.ts +2 -2
- package/dist/entities/currency.entity.js +1 -1
- package/dist/entities/easyapp/filter-view.entity.d.ts +2 -2
- package/dist/entities/easyapp/filter-view.entity.js +1 -1
- package/dist/entities/email.entity.d.ts +2 -2
- package/dist/entities/email.entity.js +1 -1
- package/dist/entities/group.entity.d.ts +2 -2
- package/dist/entities/group.entity.js +1 -1
- package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +2 -2
- package/dist/entities/helpers/sales/common/client_sources.entity.js +1 -1
- package/dist/entities/helpers/sales/common/client_types.entity.d.ts +2 -2
- package/dist/entities/helpers/sales/common/client_types.entity.js +1 -1
- package/dist/entities/imap-config.entity.d.ts +2 -2
- package/dist/entities/imap-config.entity.js +1 -1
- package/dist/entities/menu-permissions.entity.d.ts +2 -2
- package/dist/entities/menu-permissions.entity.js +1 -1
- package/dist/entities/otp-log.entity.d.ts +2 -2
- package/dist/entities/otp-log.entity.js +1 -1
- package/dist/entities/permission.entity.d.ts +2 -2
- package/dist/entities/permission.entity.js +1 -1
- package/dist/entities/phone.entity.d.ts +2 -2
- package/dist/entities/phone.entity.js +1 -1
- package/dist/entities/protocol.entity.d.ts +2 -2
- package/dist/entities/protocol.entity.js +1 -1
- package/dist/entities/refresh-token.entity.d.ts +2 -2
- package/dist/entities/refresh-token.entity.js +1 -1
- package/dist/entities/role.entity.d.ts +2 -2
- package/dist/entities/role.entity.js +1 -1
- package/dist/entities/sales/poliza_siniestro.entity.d.ts +2 -2
- package/dist/entities/sales/poliza_siniestro.entity.js +1 -1
- package/dist/entities/sales/receipt.entity.d.ts +2 -2
- package/dist/entities/sales/receipt.entity.js +1 -1
- package/dist/entities/tag.entity.d.ts +2 -2
- package/dist/entities/tag.entity.js +1 -1
- package/dist/entities/thirdparty/email-config.entity.d.ts +2 -2
- package/dist/entities/thirdparty/email-config.entity.js +1 -1
- package/dist/entities/thirdparty/email.entity.d.ts +2 -2
- package/dist/entities/thirdparty/email.entity.js +1 -1
- package/dist/entities/thirdparty/oauth.entity.d.ts +2 -2
- package/dist/entities/thirdparty/oauth.entity.js +1 -1
- package/dist/entities/thirdparty/service.entity.d.ts +2 -2
- package/dist/entities/thirdparty/service.entity.js +1 -1
- package/dist/entities/thirdparty/user-email-relation.entity.d.ts +2 -2
- package/dist/entities/thirdparty/user-email-relation.entity.js +1 -1
- package/dist/entities/tools/task-comment.entity.d.ts +2 -2
- package/dist/entities/tools/task-comment.entity.js +1 -1
- package/dist/entities/tools/task.entity.d.ts +2 -2
- package/dist/entities/tools/task.entity.js +1 -1
- package/dist/entities/user.entity.d.ts +2 -2
- package/dist/entities/user.entity.js +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { User } from "../../entities/user.entity";
|
|
2
|
-
import { BaseEntity
|
|
3
|
-
export declare class
|
|
2
|
+
import { BaseEntity } from "typeorm";
|
|
3
|
+
export declare class EntityBase extends BaseEntity {
|
|
4
4
|
id?: string;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
isDeleted?: boolean;
|
|
@@ -8,13 +8,13 @@ export declare class BaseEntity extends EntityBase {
|
|
|
8
8
|
updatedAt?: Date;
|
|
9
9
|
deletedAt?: Date;
|
|
10
10
|
}
|
|
11
|
-
export declare class BaseEntitySimple extends
|
|
11
|
+
export declare class BaseEntitySimple extends BaseEntity {
|
|
12
12
|
id?: string;
|
|
13
13
|
createdAt?: Date;
|
|
14
14
|
updatedAt?: Date;
|
|
15
15
|
deletedAt?: Date;
|
|
16
16
|
}
|
|
17
|
-
export declare class BaseEntityWithUser extends
|
|
17
|
+
export declare class BaseEntityWithUser extends BaseEntity {
|
|
18
18
|
id?: string;
|
|
19
19
|
number: number;
|
|
20
20
|
isActive?: boolean;
|
|
@@ -9,11 +9,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.BaseEntityWithUser = exports.BaseEntitySimple = exports.
|
|
12
|
+
exports.BaseEntityWithUser = exports.BaseEntitySimple = exports.EntityBase = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const user_entity_1 = require("../../entities/user.entity");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
-
let
|
|
16
|
+
let EntityBase = class EntityBase extends typeorm_1.BaseEntity {
|
|
17
17
|
id;
|
|
18
18
|
isActive;
|
|
19
19
|
isDeleted;
|
|
@@ -21,34 +21,34 @@ let BaseEntity = class BaseEntity extends typeorm_1.BaseEntity {
|
|
|
21
21
|
updatedAt;
|
|
22
22
|
deletedAt;
|
|
23
23
|
};
|
|
24
|
-
exports.
|
|
24
|
+
exports.EntityBase = EntityBase;
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
],
|
|
28
|
+
], EntityBase.prototype, "id", void 0);
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, typeorm_1.Column)({ default: true }),
|
|
31
31
|
__metadata("design:type", Boolean)
|
|
32
|
-
],
|
|
32
|
+
], EntityBase.prototype, "isActive", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Column)({ default: false }),
|
|
35
35
|
__metadata("design:type", Boolean)
|
|
36
|
-
],
|
|
36
|
+
], EntityBase.prototype, "isDeleted", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, typeorm_1.CreateDateColumn)(),
|
|
39
39
|
__metadata("design:type", Date)
|
|
40
|
-
],
|
|
40
|
+
], EntityBase.prototype, "createdAt", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, typeorm_1.UpdateDateColumn)(),
|
|
43
43
|
__metadata("design:type", Date)
|
|
44
|
-
],
|
|
44
|
+
], EntityBase.prototype, "updatedAt", void 0);
|
|
45
45
|
__decorate([
|
|
46
46
|
(0, typeorm_1.DeleteDateColumn)(),
|
|
47
47
|
__metadata("design:type", Date)
|
|
48
|
-
],
|
|
49
|
-
exports.
|
|
48
|
+
], EntityBase.prototype, "deletedAt", void 0);
|
|
49
|
+
exports.EntityBase = EntityBase = __decorate([
|
|
50
50
|
(0, typeorm_1.Entity)()
|
|
51
|
-
],
|
|
51
|
+
], EntityBase);
|
|
52
52
|
let BaseEntitySimple = class BaseEntitySimple extends typeorm_1.BaseEntity {
|
|
53
53
|
id;
|
|
54
54
|
createdAt;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class AppConfig extends
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
|
+
export declare class AppConfig extends EntityBase {
|
|
3
3
|
key: string;
|
|
4
4
|
value: string;
|
|
5
5
|
}
|
|
@@ -13,7 +13,7 @@ exports.AppConfig = void 0;
|
|
|
13
13
|
const base_entity_1 = require("../../common/database/base.entity");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
-
let AppConfig = class AppConfig extends base_entity_1.
|
|
16
|
+
let AppConfig = class AppConfig extends base_entity_1.EntityBase {
|
|
17
17
|
key;
|
|
18
18
|
value;
|
|
19
19
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class Currency extends
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
|
+
export declare class Currency extends EntityBase {
|
|
3
3
|
name: string;
|
|
4
4
|
symbol: string;
|
|
5
5
|
isDefault: boolean;
|
|
@@ -14,7 +14,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
14
14
|
const base_entity_1 = require("../common/database/base.entity");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const typeorm_1 = require("typeorm");
|
|
17
|
-
let Currency = class Currency extends base_entity_1.
|
|
17
|
+
let Currency = class Currency extends base_entity_1.EntityBase {
|
|
18
18
|
name;
|
|
19
19
|
symbol;
|
|
20
20
|
isDefault;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class FilterView extends
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
|
+
export declare class FilterView extends EntityBase {
|
|
3
3
|
view: string;
|
|
4
4
|
name: string;
|
|
5
5
|
userId: string;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.FilterView = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const base_entity_1 = require("../../common/database/base.entity");
|
|
15
|
-
let FilterView = class FilterView extends base_entity_1.
|
|
15
|
+
let FilterView = class FilterView extends base_entity_1.EntityBase {
|
|
16
16
|
view;
|
|
17
17
|
name;
|
|
18
18
|
userId;
|
|
@@ -14,7 +14,7 @@ const base_entity_1 = require("../common/database/base.entity");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let Email = class Email extends base_entity_1.
|
|
17
|
+
let Email = class Email extends base_entity_1.EntityBase {
|
|
18
18
|
email;
|
|
19
19
|
isDefault;
|
|
20
20
|
};
|
|
@@ -13,7 +13,7 @@ exports.Group = void 0;
|
|
|
13
13
|
const base_entity_1 = require("../common/database/base.entity");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
-
let Group = class Group extends base_entity_1.
|
|
16
|
+
let Group = class Group extends base_entity_1.EntityBase {
|
|
17
17
|
name;
|
|
18
18
|
level;
|
|
19
19
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ClientSource extends
|
|
1
|
+
import { EntityBase } from "../../../../common/database/base.entity";
|
|
2
|
+
export declare class ClientSource extends EntityBase {
|
|
3
3
|
name: string;
|
|
4
4
|
isDefault: boolean;
|
|
5
5
|
}
|
|
@@ -14,7 +14,7 @@ const base_entity_1 = require("../../../../common/database/base.entity");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let ClientSource = class ClientSource extends base_entity_1.
|
|
17
|
+
let ClientSource = class ClientSource extends base_entity_1.EntityBase {
|
|
18
18
|
name;
|
|
19
19
|
isDefault;
|
|
20
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ClientType extends
|
|
1
|
+
import { EntityBase } from "../../../../common/database/base.entity";
|
|
2
|
+
export declare class ClientType extends EntityBase {
|
|
3
3
|
name: string;
|
|
4
4
|
isDefault: boolean;
|
|
5
5
|
}
|
|
@@ -14,7 +14,7 @@ const base_entity_1 = require("../../../../common/database/base.entity");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let ClientType = class ClientType extends base_entity_1.
|
|
17
|
+
let ClientType = class ClientType extends base_entity_1.EntityBase {
|
|
18
18
|
name;
|
|
19
19
|
isDefault;
|
|
20
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ImapConfig extends
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
|
+
export declare class ImapConfig extends EntityBase {
|
|
3
3
|
host: string;
|
|
4
4
|
port: number;
|
|
5
5
|
user: string;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.ImapConfig = void 0;
|
|
13
13
|
const base_entity_1 = require("../common/database/base.entity");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
let ImapConfig = class ImapConfig extends base_entity_1.
|
|
15
|
+
let ImapConfig = class ImapConfig extends base_entity_1.EntityBase {
|
|
16
16
|
host;
|
|
17
17
|
port;
|
|
18
18
|
user;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
|
-
export declare class MenuPermissions extends
|
|
3
|
+
export declare class MenuPermissions extends EntityBase {
|
|
4
4
|
menu: string[];
|
|
5
5
|
deny: string[];
|
|
6
6
|
user: User;
|
|
@@ -14,7 +14,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
14
14
|
const base_entity_1 = require("../common/database/base.entity");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const user_entity_1 = require("./user.entity");
|
|
17
|
-
let MenuPermissions = class MenuPermissions extends base_entity_1.
|
|
17
|
+
let MenuPermissions = class MenuPermissions extends base_entity_1.EntityBase {
|
|
18
18
|
menu;
|
|
19
19
|
deny;
|
|
20
20
|
user;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
|
-
export declare class OtpLog extends
|
|
3
|
+
export declare class OtpLog extends EntityBase {
|
|
4
4
|
expiresIn: Date;
|
|
5
5
|
otpCode?: string;
|
|
6
6
|
user: User;
|
|
@@ -14,7 +14,7 @@ const typeorm_1 = require("typeorm");
|
|
|
14
14
|
const base_entity_1 = require("../common/database/base.entity");
|
|
15
15
|
const user_entity_1 = require("./user.entity");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let OtpLog = class OtpLog extends base_entity_1.
|
|
17
|
+
let OtpLog = class OtpLog extends base_entity_1.EntityBase {
|
|
18
18
|
expiresIn;
|
|
19
19
|
otpCode;
|
|
20
20
|
user;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { Role } from "./role.entity";
|
|
3
|
-
export declare class Permission extends
|
|
3
|
+
export declare class Permission extends EntityBase {
|
|
4
4
|
resource: string;
|
|
5
5
|
action: string;
|
|
6
6
|
roles?: Role[];
|
|
@@ -14,7 +14,7 @@ const base_entity_1 = require("../common/database/base.entity");
|
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const role_entity_1 = require("./role.entity");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let Permission = class Permission extends base_entity_1.
|
|
17
|
+
let Permission = class Permission extends base_entity_1.EntityBase {
|
|
18
18
|
resource;
|
|
19
19
|
action;
|
|
20
20
|
roles;
|
|
@@ -14,7 +14,7 @@ const base_entity_1 = require("../common/database/base.entity");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
-
let Phone = class Phone extends base_entity_1.
|
|
17
|
+
let Phone = class Phone extends base_entity_1.EntityBase {
|
|
18
18
|
number;
|
|
19
19
|
isDefault;
|
|
20
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class Protocol extends
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
|
+
export declare class Protocol extends EntityBase {
|
|
3
3
|
loginAttemptInterval: number;
|
|
4
4
|
loginIntervalUnit: string;
|
|
5
5
|
loginMaxRetry: number;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Protocol = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const base_entity_1 = require("../common/database/base.entity");
|
|
15
|
-
let Protocol = class Protocol extends base_entity_1.
|
|
15
|
+
let Protocol = class Protocol extends base_entity_1.EntityBase {
|
|
16
16
|
loginAttemptInterval;
|
|
17
17
|
loginIntervalUnit;
|
|
18
18
|
loginMaxRetry;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
|
-
export declare class RefreshToken extends
|
|
3
|
+
export declare class RefreshToken extends EntityBase {
|
|
4
4
|
expiresIn: Date;
|
|
5
5
|
user: User;
|
|
6
6
|
isRevoked?: boolean;
|
|
@@ -13,7 +13,7 @@ exports.RefreshToken = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const base_entity_1 = require("../common/database/base.entity");
|
|
15
15
|
const user_entity_1 = require("./user.entity");
|
|
16
|
-
let RefreshToken = class RefreshToken extends base_entity_1.
|
|
16
|
+
let RefreshToken = class RefreshToken extends base_entity_1.EntityBase {
|
|
17
17
|
expiresIn;
|
|
18
18
|
user;
|
|
19
19
|
isRevoked;
|
|
@@ -14,7 +14,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
14
14
|
const base_entity_1 = require("../common/database/base.entity");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const typeorm_1 = require("typeorm");
|
|
17
|
-
let Role = class Role extends base_entity_1.
|
|
17
|
+
let Role = class Role extends base_entity_1.EntityBase {
|
|
18
18
|
name;
|
|
19
19
|
isDefault;
|
|
20
20
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { StatusSiniestro } from "../../common/enums/sales.enum";
|
|
2
|
-
import {
|
|
2
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
3
3
|
import { Poliza } from "./poliza.entity";
|
|
4
4
|
import { File } from "../drive";
|
|
5
|
-
export declare class PolizaSiniestro extends
|
|
5
|
+
export declare class PolizaSiniestro extends EntityBase {
|
|
6
6
|
sigre: string;
|
|
7
7
|
numeroReclamacion: string;
|
|
8
8
|
fecha: Date;
|
|
@@ -16,7 +16,7 @@ const typeorm_1 = require("typeorm");
|
|
|
16
16
|
const poliza_entity_1 = require("./poliza.entity");
|
|
17
17
|
const drive_1 = require("../drive");
|
|
18
18
|
const swagger_1 = require("@nestjs/swagger");
|
|
19
|
-
let PolizaSiniestro = class PolizaSiniestro extends base_entity_1.
|
|
19
|
+
let PolizaSiniestro = class PolizaSiniestro extends base_entity_1.EntityBase {
|
|
20
20
|
sigre;
|
|
21
21
|
numeroReclamacion;
|
|
22
22
|
fecha;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { ReceiptMethodPayment, ReceiptStatus } from "../../common";
|
|
3
3
|
import { PolizaConductoPago, PolizaFormaCobro, PolizaFrecuenciaPago } from "./../helpers";
|
|
4
4
|
import { Currency } from "../currency.entity";
|
|
5
5
|
import { User } from "../user.entity";
|
|
6
6
|
import { Poliza } from "./poliza.entity";
|
|
7
7
|
import { SubAgente } from "./receipt-sub-agente.entity";
|
|
8
|
-
export declare class Receipt extends
|
|
8
|
+
export declare class Receipt extends EntityBase {
|
|
9
9
|
idBitrix: number;
|
|
10
10
|
status: ReceiptStatus;
|
|
11
11
|
title: string;
|
|
@@ -19,7 +19,7 @@ const currency_entity_1 = require("../currency.entity");
|
|
|
19
19
|
const user_entity_1 = require("../user.entity");
|
|
20
20
|
const poliza_entity_1 = require("./poliza.entity");
|
|
21
21
|
const receipt_sub_agente_entity_1 = require("./receipt-sub-agente.entity");
|
|
22
|
-
let Receipt = class Receipt extends base_entity_1.
|
|
22
|
+
let Receipt = class Receipt extends base_entity_1.EntityBase {
|
|
23
23
|
idBitrix;
|
|
24
24
|
status;
|
|
25
25
|
title;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
3
|
import { Task } from "./tools";
|
|
4
|
-
export declare class Tag extends
|
|
4
|
+
export declare class Tag extends EntityBase {
|
|
5
5
|
name: string;
|
|
6
6
|
user: User;
|
|
7
7
|
tasks: Task[];
|
|
@@ -16,7 +16,7 @@ const typeorm_1 = require("typeorm");
|
|
|
16
16
|
const user_entity_1 = require("./user.entity");
|
|
17
17
|
const tools_1 = require("./tools");
|
|
18
18
|
const swagger_1 = require("@nestjs/swagger");
|
|
19
|
-
let Tag = class Tag extends base_entity_1.
|
|
19
|
+
let Tag = class Tag extends base_entity_1.EntityBase {
|
|
20
20
|
name;
|
|
21
21
|
user;
|
|
22
22
|
tasks;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class EmailConfigThirdparty extends
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
|
+
export declare class EmailConfigThirdparty extends EntityBase {
|
|
3
3
|
countExtractMessagesDays: number;
|
|
4
4
|
mailboxName: string;
|
|
5
5
|
senderName: string;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.EmailConfigThirdparty = void 0;
|
|
13
13
|
const base_entity_1 = require("../../common/database/base.entity");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
let EmailConfigThirdparty = class EmailConfigThirdparty extends base_entity_1.
|
|
15
|
+
let EmailConfigThirdparty = class EmailConfigThirdparty extends base_entity_1.EntityBase {
|
|
16
16
|
countExtractMessagesDays;
|
|
17
17
|
mailboxName;
|
|
18
18
|
senderName;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { UserEmailRelation } from "./user-email-relation.entity";
|
|
3
3
|
import { ServiceThirdparty } from "./service.entity";
|
|
4
4
|
import { Oauth } from "./oauth.entity";
|
|
5
|
-
export declare class EmailThirdparty extends
|
|
5
|
+
export declare class EmailThirdparty extends EntityBase {
|
|
6
6
|
googleId: string;
|
|
7
7
|
subject: string;
|
|
8
8
|
from: string;
|
|
@@ -15,7 +15,7 @@ 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
17
|
const oauth_entity_1 = require("./oauth.entity");
|
|
18
|
-
let EmailThirdparty = class EmailThirdparty extends base_entity_1.
|
|
18
|
+
let EmailThirdparty = class EmailThirdparty extends base_entity_1.EntityBase {
|
|
19
19
|
googleId;
|
|
20
20
|
subject;
|
|
21
21
|
from;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { EmailThirdparty } from "./email.entity";
|
|
3
|
-
export declare class Oauth extends
|
|
3
|
+
export declare class Oauth extends EntityBase {
|
|
4
4
|
service: number;
|
|
5
5
|
refresh_token: string;
|
|
6
6
|
access_token: string;
|
|
@@ -13,7 +13,7 @@ exports.Oauth = void 0;
|
|
|
13
13
|
const base_entity_1 = require("../../common/database/base.entity");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const email_entity_1 = require("./email.entity");
|
|
16
|
-
let Oauth = class Oauth extends base_entity_1.
|
|
16
|
+
let Oauth = class Oauth extends base_entity_1.EntityBase {
|
|
17
17
|
service;
|
|
18
18
|
refresh_token;
|
|
19
19
|
access_token;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { EmailThirdparty } from "./email.entity";
|
|
3
|
-
export declare class ServiceThirdparty extends
|
|
3
|
+
export declare class ServiceThirdparty extends EntityBase {
|
|
4
4
|
name: string;
|
|
5
5
|
emails: EmailThirdparty[];
|
|
6
6
|
}
|
|
@@ -13,7 +13,7 @@ exports.ServiceThirdparty = void 0;
|
|
|
13
13
|
const base_entity_1 = require("../../common/database/base.entity");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const email_entity_1 = require("./email.entity");
|
|
16
|
-
let ServiceThirdparty = class ServiceThirdparty extends base_entity_1.
|
|
16
|
+
let ServiceThirdparty = class ServiceThirdparty extends base_entity_1.EntityBase {
|
|
17
17
|
name;
|
|
18
18
|
emails;
|
|
19
19
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { User } from "../user.entity";
|
|
3
3
|
import { EmailThirdparty } from "./email.entity";
|
|
4
|
-
export declare class UserEmailRelation extends
|
|
4
|
+
export declare class UserEmailRelation extends EntityBase {
|
|
5
5
|
user: User;
|
|
6
6
|
email: EmailThirdparty;
|
|
7
7
|
}
|
|
@@ -14,7 +14,7 @@ const base_entity_1 = require("../../common/database/base.entity");
|
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const user_entity_1 = require("../user.entity");
|
|
16
16
|
const email_entity_1 = require("./email.entity");
|
|
17
|
-
let UserEmailRelation = class UserEmailRelation extends base_entity_1.
|
|
17
|
+
let UserEmailRelation = class UserEmailRelation extends base_entity_1.EntityBase {
|
|
18
18
|
user;
|
|
19
19
|
email;
|
|
20
20
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { User } from "../user.entity";
|
|
3
3
|
import { Task } from "./task.entity";
|
|
4
|
-
export declare class TaskComment extends
|
|
4
|
+
export declare class TaskComment extends EntityBase {
|
|
5
5
|
comment: string;
|
|
6
6
|
isSummary: boolean;
|
|
7
7
|
createdBy: User;
|
|
@@ -16,7 +16,7 @@ const user_entity_1 = require("../user.entity");
|
|
|
16
16
|
const typeorm_1 = require("typeorm");
|
|
17
17
|
const task_entity_1 = require("./task.entity");
|
|
18
18
|
const swagger_1 = require("@nestjs/swagger");
|
|
19
|
-
let TaskComment = class TaskComment extends base_entity_1.
|
|
19
|
+
let TaskComment = class TaskComment extends base_entity_1.EntityBase {
|
|
20
20
|
comment;
|
|
21
21
|
isSummary;
|
|
22
22
|
createdBy;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { User } from "../user.entity";
|
|
2
2
|
import { TaskComment } from "./task-comment.entity";
|
|
3
3
|
import { Tag } from "../tag.entity";
|
|
4
|
-
import {
|
|
4
|
+
import { EntityBase } from "../../common/database/base.entity";
|
|
5
5
|
import { TaskStatus } from "../../common/enums";
|
|
6
6
|
import { TaskListField } from "./task-list-field";
|
|
7
7
|
import { TaskCRM } from "../../entities/helpers";
|
|
8
|
-
export declare class Task extends
|
|
8
|
+
export declare class Task extends EntityBase {
|
|
9
9
|
idBitrix: number;
|
|
10
10
|
name: string;
|
|
11
11
|
number: number;
|
|
@@ -20,7 +20,7 @@ const enums_1 = require("../../common/enums");
|
|
|
20
20
|
const task_list_field_1 = require("./task-list-field");
|
|
21
21
|
const helpers_1 = require("../../entities/helpers");
|
|
22
22
|
const swagger_1 = require("@nestjs/swagger");
|
|
23
|
-
let Task = class Task extends base_entity_1.
|
|
23
|
+
let Task = class Task extends base_entity_1.EntityBase {
|
|
24
24
|
idBitrix;
|
|
25
25
|
name;
|
|
26
26
|
number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase } from "../common/database/base.entity";
|
|
2
2
|
import { Profile } from "./profile.entity";
|
|
3
3
|
import { Role } from "./role.entity";
|
|
4
4
|
import { Tag } from "./tag.entity";
|
|
@@ -6,7 +6,7 @@ import { UserEmailRelation } from "./thirdparty/user-email-relation.entity";
|
|
|
6
6
|
import { PushToken } from "./notifications/push-token.entity";
|
|
7
7
|
import { Group } from "./group.entity";
|
|
8
8
|
import { MenuPermissions } from "./menu-permissions.entity";
|
|
9
|
-
export declare class User extends
|
|
9
|
+
export declare class User extends EntityBase {
|
|
10
10
|
username: string;
|
|
11
11
|
email: string;
|
|
12
12
|
bio: string;
|