easywork-common-lib 1.0.897 → 1.0.899
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/enums/tools.enum.d.ts +1 -0
- package/dist/common/enums/tools.enum.js +1 -0
- package/dist/common/enums/tools.enum.js.map +1 -1
- package/dist/entities/helpers/sales/poliza/index.d.ts +1 -0
- package/dist/entities/helpers/sales/poliza/index.js +1 -0
- package/dist/entities/helpers/sales/poliza/index.js.map +1 -1
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js +28 -0
- package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js.map +1 -0
- package/dist/entities/helpers/tools/task_crm.entity.d.ts +7 -5
- package/dist/entities/helpers/tools/task_crm.entity.js +47 -32
- package/dist/entities/helpers/tools/task_crm.entity.js.map +1 -1
- package/dist/entities/helpers/user/access_history.entity.d.ts +9 -0
- package/dist/entities/helpers/user/access_history.entity.js +58 -0
- package/dist/entities/helpers/user/access_history.entity.js.map +1 -0
- package/dist/entities/policy/policy-details.entity.d.ts +42 -0
- package/dist/entities/policy/policy-details.entity.js +380 -0
- package/dist/entities/policy/policy-details.entity.js.map +1 -0
- package/dist/entities/policy/policy-version.entity.d.ts +3 -4
- package/dist/entities/policy/policy-version.entity.js +11 -23
- package/dist/entities/policy/policy-version.entity.js.map +1 -1
- package/dist/entities/policy/policy.entity.d.ts +7 -4
- package/dist/entities/policy/policy.entity.js +53 -11
- package/dist/entities/policy/policy.entity.js.map +1 -1
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js +1 -1
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js.map +1 -1
- package/dist/entities/thirdparty/email-config.entity.d.ts +14 -0
- package/dist/entities/thirdparty/email-config.entity.js +76 -0
- package/dist/entities/thirdparty/email-config.entity.js.map +1 -0
- package/dist/entities/thirdparty/email.entity.d.ts +17 -0
- package/dist/entities/thirdparty/email.entity.js +79 -0
- package/dist/entities/thirdparty/email.entity.js.map +1 -0
- package/dist/entities/thirdparty/service.entity.d.ts +8 -0
- package/dist/entities/thirdparty/service.entity.js +38 -0
- package/dist/entities/thirdparty/service.entity.js.map +1 -0
- package/dist/entities/thirdparty/user-email-relation.entity.d.ts +7 -0
- package/dist/entities/thirdparty/user-email-relation.entity.js +35 -0
- package/dist/entities/thirdparty/user-email-relation.entity.js.map +1 -0
- package/dist/entities/tools/calendar/event-list-calendars.entity.d.ts +6 -0
- package/dist/entities/tools/calendar/event-list-calendars.entity.js +32 -0
- package/dist/entities/tools/calendar/event-list-calendars.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail.entity.d.ts +12 -4
- package/dist/entities/tools/mail/mail.entity.js +6 -0
- package/dist/entities/tools/mail/mail.entity.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/entities/tools/calendar/calendar-external-item.entity.d.ts +0 -38
- package/dist/entities/tools/calendar/calendar-external-item.entity.js +0 -115
- package/dist/entities/tools/calendar/calendar-external-item.entity.js.map +0 -1
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { BaseEntityOnlyEssential } from '../../../common/database/base.entity';
|
|
2
|
-
import { Oauth } from '../../thirdparty/oauth.entity';
|
|
3
|
-
import { User } from '../../user.entity';
|
|
4
|
-
import { CalendarItem } from './calendar-item.entity';
|
|
5
|
-
export declare enum CalendarProvider {
|
|
6
|
-
GOOGLE = "google",
|
|
7
|
-
ICLOUD = "icloud",
|
|
8
|
-
MICROSOFT = "microsoft"
|
|
9
|
-
}
|
|
10
|
-
export declare class CalendarExternalItem extends BaseEntityOnlyEssential {
|
|
11
|
-
calendarId: string;
|
|
12
|
-
name: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
isPrimary: boolean;
|
|
15
|
-
timeZone: string;
|
|
16
|
-
accessRole?: string;
|
|
17
|
-
color?: string;
|
|
18
|
-
selected: boolean;
|
|
19
|
-
defaultReminders?: {
|
|
20
|
-
method: string;
|
|
21
|
-
minutes: number;
|
|
22
|
-
}[];
|
|
23
|
-
conferenceProperties?: {
|
|
24
|
-
allowedConferenceSolutionTypes: string[];
|
|
25
|
-
};
|
|
26
|
-
notificationSettings?: {
|
|
27
|
-
notifications: {
|
|
28
|
-
type: string;
|
|
29
|
-
method: string;
|
|
30
|
-
}[];
|
|
31
|
-
};
|
|
32
|
-
ownerName?: string;
|
|
33
|
-
ownerEmail?: string;
|
|
34
|
-
provider: CalendarProvider;
|
|
35
|
-
calendar: CalendarItem;
|
|
36
|
-
oauth: Oauth;
|
|
37
|
-
user: User;
|
|
38
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
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.CalendarExternalItem = exports.CalendarProvider = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const base_entity_1 = require("../../../common/database/base.entity");
|
|
15
|
-
const oauth_entity_1 = require("../../thirdparty/oauth.entity");
|
|
16
|
-
const user_entity_1 = require("../../user.entity");
|
|
17
|
-
const calendar_item_entity_1 = require("./calendar-item.entity");
|
|
18
|
-
var CalendarProvider;
|
|
19
|
-
(function (CalendarProvider) {
|
|
20
|
-
CalendarProvider["GOOGLE"] = "google";
|
|
21
|
-
CalendarProvider["ICLOUD"] = "icloud";
|
|
22
|
-
CalendarProvider["MICROSOFT"] = "microsoft";
|
|
23
|
-
})(CalendarProvider || (exports.CalendarProvider = CalendarProvider = {}));
|
|
24
|
-
let CalendarExternalItem = class CalendarExternalItem extends base_entity_1.BaseEntityOnlyEssential {
|
|
25
|
-
calendarId;
|
|
26
|
-
name;
|
|
27
|
-
description;
|
|
28
|
-
isPrimary;
|
|
29
|
-
timeZone;
|
|
30
|
-
accessRole;
|
|
31
|
-
color;
|
|
32
|
-
selected;
|
|
33
|
-
defaultReminders;
|
|
34
|
-
conferenceProperties;
|
|
35
|
-
notificationSettings;
|
|
36
|
-
ownerName;
|
|
37
|
-
ownerEmail;
|
|
38
|
-
provider;
|
|
39
|
-
calendar;
|
|
40
|
-
oauth;
|
|
41
|
-
user;
|
|
42
|
-
};
|
|
43
|
-
exports.CalendarExternalItem = CalendarExternalItem;
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.Column)({ type: 'varchar', unique: true }),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], CalendarExternalItem.prototype, "calendarId", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, typeorm_1.Column)(),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], CalendarExternalItem.prototype, "name", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], CalendarExternalItem.prototype, "description", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
58
|
-
__metadata("design:type", Boolean)
|
|
59
|
-
], CalendarExternalItem.prototype, "isPrimary", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, typeorm_1.Column)(),
|
|
62
|
-
__metadata("design:type", String)
|
|
63
|
-
], CalendarExternalItem.prototype, "timeZone", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
66
|
-
__metadata("design:type", String)
|
|
67
|
-
], CalendarExternalItem.prototype, "accessRole", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
70
|
-
__metadata("design:type", String)
|
|
71
|
-
], CalendarExternalItem.prototype, "color", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, typeorm_1.Column)({ default: false }),
|
|
74
|
-
__metadata("design:type", Boolean)
|
|
75
|
-
], CalendarExternalItem.prototype, "selected", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
78
|
-
__metadata("design:type", Array)
|
|
79
|
-
], CalendarExternalItem.prototype, "defaultReminders", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
82
|
-
__metadata("design:type", Object)
|
|
83
|
-
], CalendarExternalItem.prototype, "conferenceProperties", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
86
|
-
__metadata("design:type", Object)
|
|
87
|
-
], CalendarExternalItem.prototype, "notificationSettings", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
90
|
-
__metadata("design:type", String)
|
|
91
|
-
], CalendarExternalItem.prototype, "ownerName", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
94
|
-
__metadata("design:type", String)
|
|
95
|
-
], CalendarExternalItem.prototype, "ownerEmail", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: CalendarProvider }),
|
|
98
|
-
__metadata("design:type", String)
|
|
99
|
-
], CalendarExternalItem.prototype, "provider", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
(0, typeorm_1.ManyToOne)(() => calendar_item_entity_1.CalendarItem, { nullable: false, onDelete: 'CASCADE' }),
|
|
102
|
-
__metadata("design:type", calendar_item_entity_1.CalendarItem)
|
|
103
|
-
], CalendarExternalItem.prototype, "calendar", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
(0, typeorm_1.ManyToOne)(() => oauth_entity_1.Oauth, { nullable: false, onDelete: 'CASCADE' }),
|
|
106
|
-
__metadata("design:type", oauth_entity_1.Oauth)
|
|
107
|
-
], CalendarExternalItem.prototype, "oauth", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: false, onDelete: 'CASCADE' }),
|
|
110
|
-
__metadata("design:type", user_entity_1.User)
|
|
111
|
-
], CalendarExternalItem.prototype, "user", void 0);
|
|
112
|
-
exports.CalendarExternalItem = CalendarExternalItem = __decorate([
|
|
113
|
-
(0, typeorm_1.Entity)()
|
|
114
|
-
], CalendarExternalItem);
|
|
115
|
-
//# sourceMappingURL=calendar-external-item.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-external-item.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/calendar-external-item.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AAEpD,sEAA+E;AAC/E,gEAAsD;AACtD,mDAAyC;AACzC,iEAAsD;AAEtD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;IACjB,2CAAuB,CAAA;AACzB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAGM,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,qCAAuB;IAE/D,UAAU,CAAS;IAGnB,IAAI,CAAS;IAGb,WAAW,CAAU;IAGrB,SAA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