easywork-common-lib 1.0.1180 → 1.0.1182
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 +3 -0
- package/dist/entities/index.js +3 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/tools/calendar/calendar-item.entity.d.ts +1 -1
- package/dist/entities/tools/calendar/calendar-item.entity.js +25 -25
- package/dist/entities/tools/calendar/calendar-item.entity.js.map +1 -1
- package/dist/entities/tools/mail/mail-crm-queue-distribution.entity.d.ts +8 -0
- package/dist/entities/tools/mail/mail-crm-queue-distribution.entity.js +38 -0
- package/dist/entities/tools/mail/mail-crm-queue-distribution.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail-crm-queue-entities-assigned.entity.d.ts +9 -0
- package/dist/entities/tools/mail/mail-crm-queue-entities-assigned.entity.js +39 -0
- package/dist/entities/tools/mail/mail-crm-queue-entities-assigned.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail-crm-queue-status.entity.d.ts +9 -0
- package/dist/entities/tools/mail/mail-crm-queue-status.entity.js +44 -0
- package/dist/entities/tools/mail/mail-crm-queue-status.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail-queue-distribution.entity.d.ts +8 -0
- package/dist/entities/tools/mail/mail-queue-distribution.entity.js +38 -0
- package/dist/entities/tools/mail/mail-queue-distribution.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail-queue-entities-assigned.entity.d.ts +9 -0
- package/dist/entities/tools/mail/mail-queue-entities-assigned.entity.js +39 -0
- package/dist/entities/tools/mail/mail-queue-entities-assigned.entity.js.map +1 -0
- package/dist/entities/tools/mail/mail-queue-status.entity.d.ts +9 -0
- package/dist/entities/tools/mail/mail-queue-status.entity.js +44 -0
- package/dist/entities/tools/mail/mail-queue-status.entity.js.map +1 -0
- package/dist/modules/authorization/authorization.module.d.ts +2 -2
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -34,6 +34,9 @@ export * from './tools/mail/mailbox-user-access.entity';
|
|
|
34
34
|
export * from './tools/mail/mailbox.entity';
|
|
35
35
|
export * from './tools/mail/mail.entity';
|
|
36
36
|
export * from './tools/mail/mail-gmail.entity';
|
|
37
|
+
export * from './tools/mail/mail-crm-queue-distribution.entity';
|
|
38
|
+
export * from './tools/mail/mail-crm-queue-entities-assigned.entity';
|
|
39
|
+
export * from './tools/mail/mail-crm-queue-status.entity';
|
|
37
40
|
export * from './all-activities.entity';
|
|
38
41
|
export * from './thirdparty/google-webhooks-config.entity';
|
|
39
42
|
export * from './thirdparty/google-gmail-watch-record.entity';
|
package/dist/entities/index.js
CHANGED
|
@@ -50,6 +50,9 @@ __exportStar(require("./tools/mail/mailbox-user-access.entity"), exports);
|
|
|
50
50
|
__exportStar(require("./tools/mail/mailbox.entity"), exports);
|
|
51
51
|
__exportStar(require("./tools/mail/mail.entity"), exports);
|
|
52
52
|
__exportStar(require("./tools/mail/mail-gmail.entity"), exports);
|
|
53
|
+
__exportStar(require("./tools/mail/mail-crm-queue-distribution.entity"), exports);
|
|
54
|
+
__exportStar(require("./tools/mail/mail-crm-queue-entities-assigned.entity"), exports);
|
|
55
|
+
__exportStar(require("./tools/mail/mail-crm-queue-status.entity"), exports);
|
|
53
56
|
__exportStar(require("./all-activities.entity"), exports);
|
|
54
57
|
__exportStar(require("./thirdparty/google-webhooks-config.entity"), exports);
|
|
55
58
|
__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,uDAAqC;AACrC,yDAAuC;AACvC,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,sDA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GxC,2DAAyC;AAGzC,oDAAkC"}
|
|
@@ -14,8 +14,8 @@ export declare enum EmailInvitationSetting {
|
|
|
14
14
|
ASK_EACH_TIME = "ask_each_time"
|
|
15
15
|
}
|
|
16
16
|
export declare class CalendarItem extends BaseEntityOnlyEssential {
|
|
17
|
-
name?: string;
|
|
18
17
|
email: string;
|
|
18
|
+
name?: string;
|
|
19
19
|
provider: CalendarProvider;
|
|
20
20
|
timezone?: string;
|
|
21
21
|
invitationCalendarId?: string;
|
|
@@ -30,8 +30,8 @@ var EmailInvitationSetting;
|
|
|
30
30
|
EmailInvitationSetting["ASK_EACH_TIME"] = "ask_each_time";
|
|
31
31
|
})(EmailInvitationSetting || (exports.EmailInvitationSetting = EmailInvitationSetting = {}));
|
|
32
32
|
let CalendarItem = class CalendarItem extends base_entity_1.BaseEntityOnlyEssential {
|
|
33
|
-
name;
|
|
34
33
|
email;
|
|
34
|
+
name;
|
|
35
35
|
provider;
|
|
36
36
|
timezone;
|
|
37
37
|
invitationCalendarId;
|
|
@@ -48,27 +48,27 @@ let CalendarItem = class CalendarItem extends base_entity_1.BaseEntityOnlyEssent
|
|
|
48
48
|
user;
|
|
49
49
|
};
|
|
50
50
|
exports.CalendarItem = CalendarItem;
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, swagger_1.ApiPropertyOptional)({
|
|
53
|
-
description: 'Name of the calendar',
|
|
54
|
-
example: 'My Work Calendar'
|
|
55
|
-
}),
|
|
56
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], CalendarItem.prototype, "name", void 0);
|
|
59
51
|
__decorate([
|
|
60
52
|
(0, swagger_1.ApiProperty)({
|
|
61
53
|
description: 'Email associated with the calendar',
|
|
62
|
-
example: 'user@example.com'
|
|
54
|
+
example: 'user@example.com',
|
|
63
55
|
}),
|
|
64
56
|
(0, typeorm_1.Column)(),
|
|
65
57
|
__metadata("design:type", String)
|
|
66
58
|
], CalendarItem.prototype, "email", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
61
|
+
description: 'Name of the calendar',
|
|
62
|
+
example: 'My Work Calendar',
|
|
63
|
+
}),
|
|
64
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], CalendarItem.prototype, "name", void 0);
|
|
67
67
|
__decorate([
|
|
68
68
|
(0, swagger_1.ApiProperty)({
|
|
69
69
|
description: 'Calendar provider type',
|
|
70
70
|
enum: CalendarProvider,
|
|
71
|
-
example: CalendarProvider.GOOGLE
|
|
71
|
+
example: CalendarProvider.GOOGLE,
|
|
72
72
|
}),
|
|
73
73
|
(0, typeorm_1.Column)({ type: 'enum', enum: CalendarProvider }),
|
|
74
74
|
__metadata("design:type", String)
|
|
@@ -76,7 +76,7 @@ __decorate([
|
|
|
76
76
|
__decorate([
|
|
77
77
|
(0, swagger_1.ApiPropertyOptional)({
|
|
78
78
|
description: 'Timezone for this calendar',
|
|
79
|
-
example: 'America/New_York'
|
|
79
|
+
example: 'America/New_York',
|
|
80
80
|
}),
|
|
81
81
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
82
82
|
__metadata("design:type", String)
|
|
@@ -84,7 +84,7 @@ __decorate([
|
|
|
84
84
|
__decorate([
|
|
85
85
|
(0, swagger_1.ApiPropertyOptional)({
|
|
86
86
|
description: 'Calendar ID used for sending invitations',
|
|
87
|
-
example: 'calendar-123'
|
|
87
|
+
example: 'calendar-123',
|
|
88
88
|
}),
|
|
89
89
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
90
90
|
__metadata("design:type", String)
|
|
@@ -92,7 +92,7 @@ __decorate([
|
|
|
92
92
|
__decorate([
|
|
93
93
|
(0, swagger_1.ApiPropertyOptional)({
|
|
94
94
|
description: 'Email address for CRM calendar integration',
|
|
95
|
-
example: 'crm@example.com'
|
|
95
|
+
example: 'crm@example.com',
|
|
96
96
|
}),
|
|
97
97
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
98
98
|
__metadata("design:type", String)
|
|
@@ -100,7 +100,7 @@ __decorate([
|
|
|
100
100
|
__decorate([
|
|
101
101
|
(0, swagger_1.ApiPropertyOptional)({
|
|
102
102
|
description: 'Whether to show past events in calendar view',
|
|
103
|
-
default: false
|
|
103
|
+
default: false,
|
|
104
104
|
}),
|
|
105
105
|
(0, typeorm_1.Column)({ default: false }),
|
|
106
106
|
__metadata("design:type", Boolean)
|
|
@@ -108,7 +108,7 @@ __decorate([
|
|
|
108
108
|
__decorate([
|
|
109
109
|
(0, swagger_1.ApiPropertyOptional)({
|
|
110
110
|
description: 'Whether to show tasks in calendar view',
|
|
111
|
-
default: false
|
|
111
|
+
default: false,
|
|
112
112
|
}),
|
|
113
113
|
(0, typeorm_1.Column)({ default: false }),
|
|
114
114
|
__metadata("design:type", Boolean)
|
|
@@ -116,7 +116,7 @@ __decorate([
|
|
|
116
116
|
__decorate([
|
|
117
117
|
(0, swagger_1.ApiPropertyOptional)({
|
|
118
118
|
description: 'Whether to synchronize task calendar',
|
|
119
|
-
default: false
|
|
119
|
+
default: false,
|
|
120
120
|
}),
|
|
121
121
|
(0, typeorm_1.Column)({ default: false }),
|
|
122
122
|
__metadata("design:type", Boolean)
|
|
@@ -124,7 +124,7 @@ __decorate([
|
|
|
124
124
|
__decorate([
|
|
125
125
|
(0, swagger_1.ApiPropertyOptional)({
|
|
126
126
|
description: 'Do not send invitation notifications if time is already assigned',
|
|
127
|
-
default: false
|
|
127
|
+
default: false,
|
|
128
128
|
}),
|
|
129
129
|
(0, typeorm_1.Column)({ default: false }),
|
|
130
130
|
__metadata("design:type", Boolean)
|
|
@@ -132,7 +132,7 @@ __decorate([
|
|
|
132
132
|
__decorate([
|
|
133
133
|
(0, swagger_1.ApiPropertyOptional)({
|
|
134
134
|
description: 'Whether to show week numbers in calendar',
|
|
135
|
-
default: false
|
|
135
|
+
default: false,
|
|
136
136
|
}),
|
|
137
137
|
(0, typeorm_1.Column)({ default: false }),
|
|
138
138
|
__metadata("design:type", Boolean)
|
|
@@ -140,7 +140,7 @@ __decorate([
|
|
|
140
140
|
__decorate([
|
|
141
141
|
(0, swagger_1.ApiPropertyOptional)({
|
|
142
142
|
description: 'Whether to send invitations by email',
|
|
143
|
-
default: false
|
|
143
|
+
default: false,
|
|
144
144
|
}),
|
|
145
145
|
(0, typeorm_1.Column)({ default: false }),
|
|
146
146
|
__metadata("design:type", Boolean)
|
|
@@ -149,19 +149,19 @@ __decorate([
|
|
|
149
149
|
(0, swagger_1.ApiPropertyOptional)({
|
|
150
150
|
description: 'Email invitation setting preference',
|
|
151
151
|
enum: EmailInvitationSetting,
|
|
152
|
-
default: EmailInvitationSetting.UNSPECIFIED
|
|
152
|
+
default: EmailInvitationSetting.UNSPECIFIED,
|
|
153
153
|
}),
|
|
154
154
|
(0, typeorm_1.Column)({
|
|
155
155
|
type: 'enum',
|
|
156
156
|
enum: EmailInvitationSetting,
|
|
157
|
-
default: EmailInvitationSetting.UNSPECIFIED
|
|
157
|
+
default: EmailInvitationSetting.UNSPECIFIED,
|
|
158
158
|
}),
|
|
159
159
|
__metadata("design:type", String)
|
|
160
160
|
], CalendarItem.prototype, "emailInvitationSetting", void 0);
|
|
161
161
|
__decorate([
|
|
162
162
|
(0, swagger_1.ApiPropertyOptional)({
|
|
163
163
|
description: 'Sub-calendars associated with this calendar item',
|
|
164
|
-
type: () => [calendar_sub_item_entity_1.CalendarSubItem]
|
|
164
|
+
type: () => [calendar_sub_item_entity_1.CalendarSubItem],
|
|
165
165
|
}),
|
|
166
166
|
(0, typeorm_1.OneToMany)(() => calendar_sub_item_entity_1.CalendarSubItem, calendarSubItem => calendarSubItem.calendar, { nullable: true }),
|
|
167
167
|
__metadata("design:type", Array)
|
|
@@ -169,7 +169,7 @@ __decorate([
|
|
|
169
169
|
__decorate([
|
|
170
170
|
(0, swagger_1.ApiProperty)({
|
|
171
171
|
description: 'OAuth configuration for calendar authentication',
|
|
172
|
-
type: () => oauth_entity_1.Oauth
|
|
172
|
+
type: () => oauth_entity_1.Oauth,
|
|
173
173
|
}),
|
|
174
174
|
(0, typeorm_1.ManyToOne)(() => oauth_entity_1.Oauth, { nullable: false, onDelete: 'CASCADE' }),
|
|
175
175
|
__metadata("design:type", oauth_entity_1.Oauth)
|
|
@@ -177,7 +177,7 @@ __decorate([
|
|
|
177
177
|
__decorate([
|
|
178
178
|
(0, swagger_1.ApiProperty)({
|
|
179
179
|
description: 'User who owns this calendar',
|
|
180
|
-
type: () => user_entity_1.User
|
|
180
|
+
type: () => user_entity_1.User,
|
|
181
181
|
}),
|
|
182
182
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: false, onDelete: 'CASCADE' }),
|
|
183
183
|
__metadata("design:type", user_entity_1.User)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-item.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/calendar-item.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,6CAAmE;AAEnE,sEAA+E;AAC/E,gEAAsD;AACtD,mDAAyC;AACzC,yEAA6D;AAE7D,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;IACjB,2CAAuB,CAAA;AACzB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAED,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,qDAA2B,CAAA;IAC3B,qDAA2B,CAAA;IAC3B,mDAAyB,CAAA;IACzB,yDAA+B,CAAA;AACjC,CAAC,EALW,sBAAsB,sCAAtB,sBAAsB,QAKjC;AAGM,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,qCAAuB;IAMvD,
|
|
1
|
+
{"version":3,"file":"calendar-item.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/calendar-item.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,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KACjB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1D,kBAAI;0CAAC;uBArHA,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAsHxB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Mailbox } from './mailbox.entity';
|
|
2
|
+
import { BaseEntityOnlyEssential } from 'common';
|
|
3
|
+
import { User } from 'entities/user.entity';
|
|
4
|
+
export declare class MailCRMQueueDistribution extends BaseEntityOnlyEssential {
|
|
5
|
+
orderInQueue: number;
|
|
6
|
+
mailbox: Mailbox;
|
|
7
|
+
userInvited: User;
|
|
8
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.MailCRMQueueDistribution = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const mailbox_entity_1 = require("./mailbox.entity");
|
|
15
|
+
const common_1 = require("common");
|
|
16
|
+
const user_entity_1 = require("entities/user.entity");
|
|
17
|
+
let MailCRMQueueDistribution = class MailCRMQueueDistribution extends common_1.BaseEntityOnlyEssential {
|
|
18
|
+
orderInQueue;
|
|
19
|
+
mailbox;
|
|
20
|
+
userInvited;
|
|
21
|
+
};
|
|
22
|
+
exports.MailCRMQueueDistribution = MailCRMQueueDistribution;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], MailCRMQueueDistribution.prototype, "orderInQueue", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.ManyToOne)(() => mailbox_entity_1.Mailbox, { nullable: true, onDelete: 'SET NULL' }),
|
|
29
|
+
__metadata("design:type", mailbox_entity_1.Mailbox)
|
|
30
|
+
], MailCRMQueueDistribution.prototype, "mailbox", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: false, onDelete: 'CASCADE' }),
|
|
33
|
+
__metadata("design:type", user_entity_1.User)
|
|
34
|
+
], MailCRMQueueDistribution.prototype, "userInvited", void 0);
|
|
35
|
+
exports.MailCRMQueueDistribution = MailCRMQueueDistribution = __decorate([
|
|
36
|
+
(0, typeorm_1.Entity)()
|
|
37
|
+
], MailCRMQueueDistribution);
|
|
38
|
+
//# sourceMappingURL=mail-crm-queue-distribution.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail-crm-queue-distribution.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-crm-queue-distribution.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AAEpD,qDAA2C;AAC3C,mCAAiD;AACjD,sDAA4C;AAGrC,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,gCAAuB;IAEnE,YAAY,CAAS;IAGrB,OAAO,CAAU;IAGjB,WAAW,CAAO;CACnB,CAAA;AATY,4DAAwB;AAEnC;IADC,IAAA,gBAAM,GAAE;;8DACY;AAGrB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAC1D,wBAAO;yDAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACnD,kBAAI;6DAAC;mCARP,wBAAwB;IADpC,IAAA,gBAAM,GAAE;GACI,wBAAwB,CASpC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Mailbox } from './mailbox.entity';
|
|
2
|
+
import { BaseEntityOnlyEssential } from 'common';
|
|
3
|
+
import { User } from 'entities/user.entity';
|
|
4
|
+
import { MailMessageCRMLink } from './mail.entity';
|
|
5
|
+
export declare class MailCRMQueueEntitiesAssigned extends BaseEntityOnlyEssential {
|
|
6
|
+
crm: MailMessageCRMLink;
|
|
7
|
+
mailbox: Mailbox;
|
|
8
|
+
userAssigned: User;
|
|
9
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.MailCRMQueueEntitiesAssigned = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const mailbox_entity_1 = require("./mailbox.entity");
|
|
15
|
+
const common_1 = require("common");
|
|
16
|
+
const user_entity_1 = require("entities/user.entity");
|
|
17
|
+
let MailCRMQueueEntitiesAssigned = class MailCRMQueueEntitiesAssigned extends common_1.BaseEntityOnlyEssential {
|
|
18
|
+
crm;
|
|
19
|
+
mailbox;
|
|
20
|
+
userAssigned;
|
|
21
|
+
};
|
|
22
|
+
exports.MailCRMQueueEntitiesAssigned = MailCRMQueueEntitiesAssigned;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
25
|
+
__metadata("design:type", Object)
|
|
26
|
+
], MailCRMQueueEntitiesAssigned.prototype, "crm", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Unique)(['mailbox']),
|
|
29
|
+
(0, typeorm_1.ManyToOne)(() => mailbox_entity_1.Mailbox, { nullable: true, onDelete: 'CASCADE' }),
|
|
30
|
+
__metadata("design:type", mailbox_entity_1.Mailbox)
|
|
31
|
+
], MailCRMQueueEntitiesAssigned.prototype, "mailbox", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true, onDelete: 'SET NULL' }),
|
|
34
|
+
__metadata("design:type", user_entity_1.User)
|
|
35
|
+
], MailCRMQueueEntitiesAssigned.prototype, "userAssigned", void 0);
|
|
36
|
+
exports.MailCRMQueueEntitiesAssigned = MailCRMQueueEntitiesAssigned = __decorate([
|
|
37
|
+
(0, typeorm_1.Entity)()
|
|
38
|
+
], MailCRMQueueEntitiesAssigned);
|
|
39
|
+
//# sourceMappingURL=mail-crm-queue-entities-assigned.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail-crm-queue-entities-assigned.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-crm-queue-entities-assigned.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAE5D,qDAA2C;AAC3C,mCAAiD;AACjD,sDAA4C;AAIrC,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,gCAAuB;IAEvE,GAAG,CAAqB;IAIxB,OAAO,CAAU;IAGjB,YAAY,CAAO;CACpB,CAAA;AAVY,oEAA4B;AAEvC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDAClB;AAIxB;IAFC,IAAA,gBAAM,EAAC,CAAC,SAAS,CAAC,CAAC;IACnB,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACzD,wBAAO;6DAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAClD,kBAAI;kEAAC;uCATR,4BAA4B;IADxC,IAAA,gBAAM,GAAE;GACI,4BAA4B,CAUxC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Mailbox } from './mailbox.entity';
|
|
2
|
+
import { BaseEntityOnlyEssential } from 'common';
|
|
3
|
+
import { User } from 'entities/user.entity';
|
|
4
|
+
export declare class MailCRMQueueStatus extends BaseEntityOnlyEssential {
|
|
5
|
+
lastAssignedOrder: number;
|
|
6
|
+
lastAssignmentTimestamp: string;
|
|
7
|
+
mailbox: Mailbox;
|
|
8
|
+
lastAssignedUser: User;
|
|
9
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.MailCRMQueueStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const mailbox_entity_1 = require("./mailbox.entity");
|
|
15
|
+
const common_1 = require("common");
|
|
16
|
+
const user_entity_1 = require("entities/user.entity");
|
|
17
|
+
let MailCRMQueueStatus = class MailCRMQueueStatus extends common_1.BaseEntityOnlyEssential {
|
|
18
|
+
lastAssignedOrder;
|
|
19
|
+
lastAssignmentTimestamp;
|
|
20
|
+
mailbox;
|
|
21
|
+
lastAssignedUser;
|
|
22
|
+
};
|
|
23
|
+
exports.MailCRMQueueStatus = MailCRMQueueStatus;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], MailCRMQueueStatus.prototype, "lastAssignedOrder", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'timestamp' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], MailCRMQueueStatus.prototype, "lastAssignmentTimestamp", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Unique)(['mailbox']),
|
|
34
|
+
(0, typeorm_1.ManyToOne)(() => mailbox_entity_1.Mailbox, { nullable: true, onDelete: 'CASCADE' }),
|
|
35
|
+
__metadata("design:type", mailbox_entity_1.Mailbox)
|
|
36
|
+
], MailCRMQueueStatus.prototype, "mailbox", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true, onDelete: 'SET NULL' }),
|
|
39
|
+
__metadata("design:type", user_entity_1.User)
|
|
40
|
+
], MailCRMQueueStatus.prototype, "lastAssignedUser", void 0);
|
|
41
|
+
exports.MailCRMQueueStatus = MailCRMQueueStatus = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)()
|
|
43
|
+
], MailCRMQueueStatus);
|
|
44
|
+
//# sourceMappingURL=mail-crm-queue-status.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail-crm-queue-status.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-crm-queue-status.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAE5D,qDAA2C;AAC3C,mCAAiD;AACjD,sDAA4C;AAGrC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,gCAAuB;IAE7D,iBAAiB,CAAS;IAG1B,uBAAuB,CAAS;IAIhC,OAAO,CAAU;IAGjB,gBAAgB,CAAO;CACxB,CAAA;AAbY,gDAAkB;AAE7B;IADC,IAAA,gBAAM,GAAE;;6DACiB;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;mEACE;AAIhC;IAFC,IAAA,gBAAM,EAAC,CAAC,SAAS,CAAC,CAAC;IACnB,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACzD,wBAAO;mDAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAC9C,kBAAI;4DAAC;6BAZZ,kBAAkB;IAD9B,IAAA,gBAAM,GAAE;GACI,kBAAkB,CAa9B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Mailbox } from './mailbox.entity';
|
|
2
|
+
import { BaseEntityOnlyEssential } from 'common';
|
|
3
|
+
import { User } from 'entities/user.entity';
|
|
4
|
+
export declare class MailQueueDistribution extends BaseEntityOnlyEssential {
|
|
5
|
+
orderInQueue: number;
|
|
6
|
+
mailbox: Mailbox;
|
|
7
|
+
userInvited: User;
|
|
8
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.MailQueueDistribution = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const mailbox_entity_1 = require("./mailbox.entity");
|
|
15
|
+
const common_1 = require("common");
|
|
16
|
+
const user_entity_1 = require("entities/user.entity");
|
|
17
|
+
let MailQueueDistribution = class MailQueueDistribution extends common_1.BaseEntityOnlyEssential {
|
|
18
|
+
orderInQueue;
|
|
19
|
+
mailbox;
|
|
20
|
+
userInvited;
|
|
21
|
+
};
|
|
22
|
+
exports.MailQueueDistribution = MailQueueDistribution;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], MailQueueDistribution.prototype, "orderInQueue", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.ManyToOne)(() => mailbox_entity_1.Mailbox, { nullable: true, onDelete: 'SET NULL' }),
|
|
29
|
+
__metadata("design:type", mailbox_entity_1.Mailbox)
|
|
30
|
+
], MailQueueDistribution.prototype, "mailbox", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: false, onDelete: 'CASCADE' }),
|
|
33
|
+
__metadata("design:type", user_entity_1.User)
|
|
34
|
+
], MailQueueDistribution.prototype, "userInvited", void 0);
|
|
35
|
+
exports.MailQueueDistribution = MailQueueDistribution = __decorate([
|
|
36
|
+
(0, typeorm_1.Entity)()
|
|
37
|
+
], MailQueueDistribution);
|
|
38
|
+
//# sourceMappingURL=mail-queue-distribution.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail-queue-distribution.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-queue-distribution.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AAEpD,qDAA2C;AAC3C,mCAAiD;AACjD,sDAA4C;AAGrC,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,gCAAuB;IAEhE,YAAY,CAAS;IAGrB,OAAO,CAAU;IAGjB,WAAW,CAAO;CACnB,CAAA;AATY,sDAAqB;AAEhC;IADC,IAAA,gBAAM,GAAE;;2DACY;AAGrB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAC1D,wBAAO;sDAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACnD,kBAAI;0DAAC;gCARP,qBAAqB;IADjC,IAAA,gBAAM,GAAE;GACI,qBAAqB,CASjC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Mailbox } from './mailbox.entity';
|
|
2
|
+
import { BaseEntityOnlyEssential } from 'common';
|
|
3
|
+
import { User } from 'entities/user.entity';
|
|
4
|
+
import { MailMessageCRMLink } from './mail.entity';
|
|
5
|
+
export declare class MailQueueEntitiesAssigned extends BaseEntityOnlyEssential {
|
|
6
|
+
crm: MailMessageCRMLink;
|
|
7
|
+
mailbox: Mailbox;
|
|
8
|
+
userAssigned: User;
|
|
9
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.MailQueueEntitiesAssigned = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const mailbox_entity_1 = require("./mailbox.entity");
|
|
15
|
+
const common_1 = require("common");
|
|
16
|
+
const user_entity_1 = require("entities/user.entity");
|
|
17
|
+
let MailQueueEntitiesAssigned = class MailQueueEntitiesAssigned extends common_1.BaseEntityOnlyEssential {
|
|
18
|
+
crm;
|
|
19
|
+
mailbox;
|
|
20
|
+
userAssigned;
|
|
21
|
+
};
|
|
22
|
+
exports.MailQueueEntitiesAssigned = MailQueueEntitiesAssigned;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
25
|
+
__metadata("design:type", Object)
|
|
26
|
+
], MailQueueEntitiesAssigned.prototype, "crm", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Unique)(['mailbox']),
|
|
29
|
+
(0, typeorm_1.ManyToOne)(() => mailbox_entity_1.Mailbox, { nullable: true, onDelete: 'CASCADE' }),
|
|
30
|
+
__metadata("design:type", mailbox_entity_1.Mailbox)
|
|
31
|
+
], MailQueueEntitiesAssigned.prototype, "mailbox", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true, onDelete: 'SET NULL' }),
|
|
34
|
+
__metadata("design:type", user_entity_1.User)
|
|
35
|
+
], MailQueueEntitiesAssigned.prototype, "userAssigned", void 0);
|
|
36
|
+
exports.MailQueueEntitiesAssigned = MailQueueEntitiesAssigned = __decorate([
|
|
37
|
+
(0, typeorm_1.Entity)()
|
|
38
|
+
], MailQueueEntitiesAssigned);
|
|
39
|
+
//# sourceMappingURL=mail-queue-entities-assigned.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail-queue-entities-assigned.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-queue-entities-assigned.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAE5D,qDAA2C;AAC3C,mCAAiD;AACjD,sDAA4C;AAIrC,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,gCAAuB;IAEpE,GAAG,CAAqB;IAIxB,OAAO,CAAU;IAGjB,YAAY,CAAO;CACpB,CAAA;AAVY,8DAAyB;AAEpC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAClB;AAIxB;IAFC,IAAA,gBAAM,EAAC,CAAC,SAAS,CAAC,CAAC;IACnB,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACzD,wBAAO;0DAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAClD,kBAAI;+DAAC;oCATR,yBAAyB;IADrC,IAAA,gBAAM,GAAE;GACI,yBAAyB,CAUrC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Mailbox } from './mailbox.entity';
|
|
2
|
+
import { BaseEntityOnlyEssential } from 'common';
|
|
3
|
+
import { User } from 'entities/user.entity';
|
|
4
|
+
export declare class MailQueueStatus extends BaseEntityOnlyEssential {
|
|
5
|
+
lastAssignedOrder: number;
|
|
6
|
+
lastAssignmentTimestamp: string;
|
|
7
|
+
mailbox: Mailbox;
|
|
8
|
+
lastAssignedUser: User;
|
|
9
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.MailQueueStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const mailbox_entity_1 = require("./mailbox.entity");
|
|
15
|
+
const common_1 = require("common");
|
|
16
|
+
const user_entity_1 = require("entities/user.entity");
|
|
17
|
+
let MailQueueStatus = class MailQueueStatus extends common_1.BaseEntityOnlyEssential {
|
|
18
|
+
lastAssignedOrder;
|
|
19
|
+
lastAssignmentTimestamp;
|
|
20
|
+
mailbox;
|
|
21
|
+
lastAssignedUser;
|
|
22
|
+
};
|
|
23
|
+
exports.MailQueueStatus = MailQueueStatus;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], MailQueueStatus.prototype, "lastAssignedOrder", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'timestamp' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], MailQueueStatus.prototype, "lastAssignmentTimestamp", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Unique)(['mailbox']),
|
|
34
|
+
(0, typeorm_1.ManyToOne)(() => mailbox_entity_1.Mailbox, { nullable: true, onDelete: 'CASCADE' }),
|
|
35
|
+
__metadata("design:type", mailbox_entity_1.Mailbox)
|
|
36
|
+
], MailQueueStatus.prototype, "mailbox", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true, onDelete: 'SET NULL' }),
|
|
39
|
+
__metadata("design:type", user_entity_1.User)
|
|
40
|
+
], MailQueueStatus.prototype, "lastAssignedUser", void 0);
|
|
41
|
+
exports.MailQueueStatus = MailQueueStatus = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)()
|
|
43
|
+
], MailQueueStatus);
|
|
44
|
+
//# sourceMappingURL=mail-queue-status.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail-queue-status.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-queue-status.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAE5D,qDAA2C;AAC3C,mCAAiD;AACjD,sDAA4C;AAGrC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,gCAAuB;IAE1D,iBAAiB,CAAS;IAG1B,uBAAuB,CAAS;IAIhC,OAAO,CAAU;IAGjB,gBAAgB,CAAO;CACxB,CAAA;AAbY,0CAAe;AAE1B;IADC,IAAA,gBAAM,GAAE;;0DACiB;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;gEACE;AAIhC;IAFC,IAAA,gBAAM,EAAC,CAAC,SAAS,CAAC,CAAC;IACnB,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACzD,wBAAO;gDAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAC9C,kBAAI;yDAAC;0BAZZ,eAAe;IAD3B,IAAA,gBAAM,GAAE;GACI,eAAe,CAa3B"}
|
|
@@ -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 TaskAuthorizationService | typeof PolicyAuthorizationService | typeof LeadAuthorizationService | typeof ContactAuthorizationService | typeof ResourceAuthorizationFactory | typeof
|
|
23
|
-
exports: (typeof TaskAuthorizationService | typeof PolicyAuthorizationService | typeof LeadAuthorizationService | typeof ContactAuthorizationService | typeof ResourceAuthorizationFactory | typeof
|
|
22
|
+
providers: (typeof TaskAuthorizationService | typeof PolicyAuthorizationService | typeof LeadAuthorizationService | typeof ContactAuthorizationService | typeof ResourceAuthorizationFactory | typeof PermissionEvaluatorService | typeof ResourceAuthorizationService | typeof ResourceAccessFilterService | typeof DynamicFilterService | typeof PermissionCacheService | typeof AuthorizationService)[];
|
|
23
|
+
exports: (typeof TaskAuthorizationService | typeof PolicyAuthorizationService | typeof LeadAuthorizationService | typeof ContactAuthorizationService | typeof ResourceAuthorizationFactory | typeof PermissionEvaluatorService | typeof ResourceAuthorizationService | typeof ResourceAccessFilterService | typeof DynamicFilterService | typeof PermissionCacheService | typeof AuthorizationService)[];
|
|
24
24
|
global: boolean;
|
|
25
25
|
};
|
|
26
26
|
}
|