@servicelabsco/slabs-access-manager 2.0.19 → 2.0.20
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/access/controllers/business.email.controller.d.ts +7 -1
- package/dist/access/controllers/business.email.controller.js +23 -2
- package/dist/access/controllers/business.email.controller.js.map +1 -1
- package/dist/access/controllers/mail.log.controller.d.ts +11 -3
- package/dist/access/controllers/mail.log.controller.js +46 -12
- package/dist/access/controllers/mail.log.controller.js.map +1 -1
- package/dist/access/dtos/email.notification.payload.dto.d.ts +2 -0
- package/dist/access/dtos/email.notification.payload.dto.js.map +1 -1
- package/dist/access/dtos/fetch.business.email.messages.dto.d.ts +4 -0
- package/dist/access/dtos/fetch.business.email.messages.dto.js +35 -0
- package/dist/access/dtos/fetch.business.email.messages.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +2 -0
- package/dist/access/dtos/index.js +2 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/dtos/mail.log.content.query.dto.d.ts +1 -2
- package/dist/access/dtos/mail.log.content.query.dto.js +1 -2
- package/dist/access/dtos/mail.log.content.query.dto.js.map +1 -1
- package/dist/access/dtos/mail.log.list.filter.dto.d.ts +0 -1
- package/dist/access/dtos/mail.log.list.filter.dto.js +0 -8
- package/dist/access/dtos/mail.log.list.filter.dto.js.map +1 -1
- package/dist/access/dtos/refresh.mail.log.status.dto.d.ts +3 -0
- package/dist/access/dtos/refresh.mail.log.status.dto.js +27 -0
- package/dist/access/dtos/refresh.mail.log.status.dto.js.map +1 -0
- package/dist/access/es6.classes.d.ts +13 -6
- package/dist/access/es6.classes.js +14 -0
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/interfaces/index.d.ts +1 -0
- package/dist/access/interfaces/index.js +1 -0
- package/dist/access/interfaces/index.js.map +1 -1
- package/dist/access/interfaces/mail.log.read.scope.interface.d.ts +9 -0
- package/dist/access/interfaces/mail.log.read.scope.interface.js +3 -0
- package/dist/access/interfaces/mail.log.read.scope.interface.js.map +1 -0
- package/dist/access/jobs/fetch.business.email.messages.job.d.ts +25 -0
- package/dist/access/jobs/fetch.business.email.messages.job.js +86 -0
- package/dist/access/jobs/fetch.business.email.messages.job.js.map +1 -0
- package/dist/access/jobs/index.d.ts +2 -0
- package/dist/access/jobs/index.js +2 -0
- package/dist/access/jobs/index.js.map +1 -1
- package/dist/access/jobs/poll.emithook.email.inbox.job.d.ts +0 -3
- package/dist/access/jobs/poll.emithook.email.inbox.job.js +3 -46
- package/dist/access/jobs/poll.emithook.email.inbox.job.js.map +1 -1
- package/dist/access/jobs/refresh.business.mail.log.status.job.d.ts +19 -0
- package/dist/access/jobs/refresh.business.mail.log.status.job.js +40 -0
- package/dist/access/jobs/refresh.business.mail.log.status.job.js.map +1 -0
- package/dist/access/jobs/sync.email.messages.job.d.ts +0 -1
- package/dist/access/jobs/sync.email.messages.job.js +3 -16
- package/dist/access/jobs/sync.email.messages.job.js.map +1 -1
- package/dist/access/libraries/apply.email.test.redirect.d.ts +5 -0
- package/dist/access/libraries/apply.email.test.redirect.js +20 -0
- package/dist/access/libraries/apply.email.test.redirect.js.map +1 -0
- package/dist/access/libraries/fetch.emithook.mailbox.messages.d.ts +11 -0
- package/dist/access/libraries/fetch.emithook.mailbox.messages.js +57 -0
- package/dist/access/libraries/fetch.emithook.mailbox.messages.js.map +1 -0
- package/dist/access/libraries/fetch.meta.mailbox.messages.d.ts +10 -0
- package/dist/access/libraries/fetch.meta.mailbox.messages.js +35 -0
- package/dist/access/libraries/fetch.meta.mailbox.messages.js.map +1 -0
- package/dist/access/libraries/index.d.ts +3 -0
- package/dist/access/libraries/index.js +3 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/process.email.notification.d.ts +1 -0
- package/dist/access/libraries/process.email.notification.js +16 -7
- package/dist/access/libraries/process.email.notification.js.map +1 -1
- package/dist/access/libraries/process.internal.notification.js +2 -0
- package/dist/access/libraries/process.internal.notification.js.map +1 -1
- package/dist/access/libraries/process.mail.log.list.d.ts +2 -1
- package/dist/access/libraries/process.mail.log.list.js +5 -1
- package/dist/access/libraries/process.mail.log.list.js.map +1 -1
- package/dist/access/libraries/reconcile.emithook.email.status.d.ts +6 -0
- package/dist/access/libraries/reconcile.emithook.email.status.js +26 -1
- package/dist/access/libraries/reconcile.emithook.email.status.js.map +1 -1
- package/dist/access/libraries/show.mail.log.content.d.ts +2 -1
- package/dist/access/libraries/show.mail.log.content.js +7 -1
- package/dist/access/libraries/show.mail.log.content.js.map +1 -1
- package/dist/access/libraries/show.mail.log.d.ts +2 -1
- package/dist/access/libraries/show.mail.log.js +4 -1
- package/dist/access/libraries/show.mail.log.js.map +1 -1
- package/dist/access/services/mail.log.access.service.d.ts +3 -2
- package/dist/access/services/mail.log.access.service.js +19 -5
- package/dist/access/services/mail.log.access.service.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,8 +3,10 @@ import { AddBusinessEmailDto } from '../dtos/add.business.email.dto';
|
|
|
3
3
|
import { BusinessEmailListFilterDto } from '../dtos/business.email.list.filter.dto';
|
|
4
4
|
import { BusinessParamDto } from '../dtos/business.param.dto';
|
|
5
5
|
import { DbFindDto } from '../dtos/db.find.dto';
|
|
6
|
+
import { FetchBusinessEmailMessagesDto } from '../dtos/fetch.business.email.messages.dto';
|
|
6
7
|
import { GmailIntegrationOauthDto } from '../dtos/gmail.integration.oauth.dto';
|
|
7
8
|
import { BusinessEmailEntity } from '../entities/business.email.entity';
|
|
9
|
+
import { FetchBusinessEmailMessagesJob } from '../jobs/fetch.business.email.messages.job';
|
|
8
10
|
import { AccessBusinessService } from '../services/access.business.service';
|
|
9
11
|
import { BusinessEmailService } from '../services/business.email.service';
|
|
10
12
|
import { GmailIntegrationService } from '../services/gmail.integration.service';
|
|
@@ -15,9 +17,13 @@ export declare class BusinessEmailController {
|
|
|
15
17
|
private readonly listingService;
|
|
16
18
|
private readonly businessEmailService;
|
|
17
19
|
private readonly gmailIntegrationService;
|
|
18
|
-
|
|
20
|
+
private readonly fetchBusinessEmailMessagesJob;
|
|
21
|
+
constructor(accessBusinessService: AccessBusinessService, sqlService: SqlService, listingService: ListingService, businessEmailService: BusinessEmailService, gmailIntegrationService: GmailIntegrationService, fetchBusinessEmailMessagesJob: FetchBusinessEmailMessagesJob);
|
|
19
22
|
search(body: BusinessEmailListFilterDto): Promise<import("..").ListResponseDto>;
|
|
20
23
|
find(body: DbFindDto): Promise<any>;
|
|
24
|
+
fetch(body: FetchBusinessEmailMessagesDto): Promise<{
|
|
25
|
+
queued: boolean;
|
|
26
|
+
}>;
|
|
21
27
|
show(params: BusinessParamDto): Promise<BusinessEmailEntity>;
|
|
22
28
|
getOauthUrl(body: GmailIntegrationOauthDto): Promise<string>;
|
|
23
29
|
create(body: AddBusinessEmailDto): Promise<BusinessEmailEntity>;
|
|
@@ -19,8 +19,10 @@ const add_business_email_dto_1 = require("../dtos/add.business.email.dto");
|
|
|
19
19
|
const business_email_list_filter_dto_1 = require("../dtos/business.email.list.filter.dto");
|
|
20
20
|
const business_param_dto_1 = require("../dtos/business.param.dto");
|
|
21
21
|
const db_find_dto_1 = require("../dtos/db.find.dto");
|
|
22
|
+
const fetch_business_email_messages_dto_1 = require("../dtos/fetch.business.email.messages.dto");
|
|
22
23
|
const gmail_integration_oauth_dto_1 = require("../dtos/gmail.integration.oauth.dto");
|
|
23
24
|
const business_email_entity_1 = require("../entities/business.email.entity");
|
|
25
|
+
const fetch_business_email_messages_job_1 = require("../jobs/fetch.business.email.messages.job");
|
|
24
26
|
const process_business_email_list_1 = require("../libraries/process.business.email.list");
|
|
25
27
|
const process_db_find_1 = require("../libraries/process.db.find");
|
|
26
28
|
const access_business_service_1 = require("../services/access.business.service");
|
|
@@ -28,12 +30,13 @@ const business_email_service_1 = require("../services/business.email.service");
|
|
|
28
30
|
const gmail_integration_service_1 = require("../services/gmail.integration.service");
|
|
29
31
|
const listing_service_1 = require("../services/listing.service");
|
|
30
32
|
let BusinessEmailController = class BusinessEmailController {
|
|
31
|
-
constructor(accessBusinessService, sqlService, listingService, businessEmailService, gmailIntegrationService) {
|
|
33
|
+
constructor(accessBusinessService, sqlService, listingService, businessEmailService, gmailIntegrationService, fetchBusinessEmailMessagesJob) {
|
|
32
34
|
this.accessBusinessService = accessBusinessService;
|
|
33
35
|
this.sqlService = sqlService;
|
|
34
36
|
this.listingService = listingService;
|
|
35
37
|
this.businessEmailService = businessEmailService;
|
|
36
38
|
this.gmailIntegrationService = gmailIntegrationService;
|
|
39
|
+
this.fetchBusinessEmailMessagesJob = fetchBusinessEmailMessagesJob;
|
|
37
40
|
}
|
|
38
41
|
async search(body) {
|
|
39
42
|
const business = await this.accessBusinessService.validateAccess();
|
|
@@ -65,6 +68,16 @@ let BusinessEmailController = class BusinessEmailController {
|
|
|
65
68
|
};
|
|
66
69
|
return new process_db_find_1.ProcessDbFind(this.sqlService).process(config);
|
|
67
70
|
}
|
|
71
|
+
async fetch(body) {
|
|
72
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
73
|
+
if (body.email_id) {
|
|
74
|
+
const email = await business_email_entity_1.BusinessEmailEntity.findOne({ where: { id: body.email_id, business_id: business.id } });
|
|
75
|
+
if (!email)
|
|
76
|
+
throw new nestjs_utility_services_1.AccessException();
|
|
77
|
+
}
|
|
78
|
+
await this.fetchBusinessEmailMessagesJob.dispatch({ business_id: business.id, email_id: body.email_id, hours: body.hours });
|
|
79
|
+
return { queued: true };
|
|
80
|
+
}
|
|
68
81
|
async show(params) {
|
|
69
82
|
const business = await this.accessBusinessService.validateAccess();
|
|
70
83
|
const r = await business_email_entity_1.BusinessEmailEntity.findOne({ where: { id: params.id, business_id: business.id } });
|
|
@@ -126,6 +139,13 @@ __decorate([
|
|
|
126
139
|
__metadata("design:paramtypes", [db_find_dto_1.DbFindDto]),
|
|
127
140
|
__metadata("design:returntype", Promise)
|
|
128
141
|
], BusinessEmailController.prototype, "find", null);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, common_1.Post)('fetch'),
|
|
144
|
+
__param(0, (0, common_1.Body)()),
|
|
145
|
+
__metadata("design:type", Function),
|
|
146
|
+
__metadata("design:paramtypes", [fetch_business_email_messages_dto_1.FetchBusinessEmailMessagesDto]),
|
|
147
|
+
__metadata("design:returntype", Promise)
|
|
148
|
+
], BusinessEmailController.prototype, "fetch", null);
|
|
129
149
|
__decorate([
|
|
130
150
|
(0, common_1.Get)(':id'),
|
|
131
151
|
__param(0, (0, common_1.Param)()),
|
|
@@ -175,6 +195,7 @@ exports.BusinessEmailController = BusinessEmailController = __decorate([
|
|
|
175
195
|
nestjs_utility_services_1.SqlService,
|
|
176
196
|
listing_service_1.ListingService,
|
|
177
197
|
business_email_service_1.BusinessEmailService,
|
|
178
|
-
gmail_integration_service_1.GmailIntegrationService
|
|
198
|
+
gmail_integration_service_1.GmailIntegrationService,
|
|
199
|
+
fetch_business_email_messages_job_1.FetchBusinessEmailMessagesJob])
|
|
179
200
|
], BusinessEmailController);
|
|
180
201
|
//# sourceMappingURL=business.email.controller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.email.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/business.email.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAuF;AACvF,oFAA+G;AAC/G,2EAAqE;AACrE,2FAAoF;AACpF,mEAA8D;AAC9D,qDAAgD;AAEhD,qFAA+E;AAC/E,6EAAwE;AACxE,0FAAoF;AACpF,kEAA6D;AAC7D,iFAA4E;AAC5E,+EAA0E;AAC1E,qFAAgF;AAChF,iEAA6D;AAGtD,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAChC,YACqB,qBAA4C,EAC5C,UAAsB,EACtB,cAA8B,EAC9B,oBAA0C,EAC1C,uBAAgD;
|
|
1
|
+
{"version":3,"file":"business.email.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/business.email.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAuF;AACvF,oFAA+G;AAC/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AAC;IACH,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sDAAwB;;0DAKvD;AAMK;IADL,IAAA,aAAI,GAAE;IACO,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,4CAAmB;;qDAG7C;AAGK;IADL,IAAA,aAAI,EAAC,YAAY,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;IAA4B,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAzB,qCAAgB;;qDAM7C;AAGK;IADL,IAAA,aAAI,EAAC,cAAc,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;uDAG/C;AAGK;IADL,IAAA,aAAI,EAAC,gBAAgB,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;yDAEjD;kCAnHQ,uBAAuB;IADnC,IAAA,mBAAU,EAAC,sBAAsB,CAAC;qCAGa,+CAAqB;QAChC,oCAAU;QACN,gCAAc;QACR,6CAAoB;QACjB,mDAAuB;QACjB,iEAA6B;GAPxE,uBAAuB,CA4InC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { SqlService } from '@servicelabsco/nestjs-utility-services';
|
|
1
2
|
import { BusinessParamDto } from '../dtos/business.param.dto';
|
|
2
|
-
import { BusinessPropertyScopeDto } from '../dtos/business.property.scope.dto';
|
|
3
3
|
import { MailLogContentQueryDto } from '../dtos/mail.log.content.query.dto';
|
|
4
4
|
import { MailLogListFilterDto } from '../dtos/mail.log.list.filter.dto';
|
|
5
|
+
import { RefreshMailLogStatusDto } from '../dtos/refresh.mail.log.status.dto';
|
|
6
|
+
import { RefreshBusinessMailLogStatusJob } from '../jobs/refresh.business.mail.log.status.job';
|
|
5
7
|
import { EmithookService } from '../services/emithook.service';
|
|
6
8
|
import { ListingService } from '../services/listing.service';
|
|
7
9
|
import { MailLogAccessService } from '../services/mail.log.access.service';
|
|
@@ -9,12 +11,18 @@ export declare class MailLogController {
|
|
|
9
11
|
private readonly mailLogAccessService;
|
|
10
12
|
private readonly listingService;
|
|
11
13
|
private readonly emithookService;
|
|
12
|
-
|
|
14
|
+
private readonly sqlService;
|
|
15
|
+
private readonly refreshBusinessMailLogStatusJob;
|
|
16
|
+
constructor(mailLogAccessService: MailLogAccessService, listingService: ListingService, emithookService: EmithookService, sqlService: SqlService, refreshBusinessMailLogStatusJob: RefreshBusinessMailLogStatusJob);
|
|
17
|
+
refreshStatus(body: RefreshMailLogStatusDto): Promise<{
|
|
18
|
+
queued: boolean;
|
|
19
|
+
}>;
|
|
20
|
+
refreshLogStatus(params: BusinessParamDto): Promise<Record<string, any>>;
|
|
13
21
|
search(body: MailLogListFilterDto): Promise<import("..").ListResponseDto>;
|
|
14
22
|
content(params: BusinessParamDto, query: MailLogContentQueryDto): Promise<{
|
|
15
23
|
format: string;
|
|
16
24
|
content?: string | null;
|
|
17
25
|
url?: string | null;
|
|
18
26
|
}>;
|
|
19
|
-
show(params: BusinessParamDto
|
|
27
|
+
show(params: BusinessParamDto): Promise<Record<string, any>>;
|
|
20
28
|
}
|
|
@@ -14,36 +14,69 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.MailLogController = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
17
18
|
const business_param_dto_1 = require("../dtos/business.param.dto");
|
|
18
|
-
const business_property_scope_dto_1 = require("../dtos/business.property.scope.dto");
|
|
19
19
|
const mail_log_content_query_dto_1 = require("../dtos/mail.log.content.query.dto");
|
|
20
20
|
const mail_log_list_filter_dto_1 = require("../dtos/mail.log.list.filter.dto");
|
|
21
|
+
const refresh_mail_log_status_dto_1 = require("../dtos/refresh.mail.log.status.dto");
|
|
22
|
+
const refresh_business_mail_log_status_job_1 = require("../jobs/refresh.business.mail.log.status.job");
|
|
21
23
|
const process_mail_log_list_1 = require("../libraries/process.mail.log.list");
|
|
24
|
+
const reconcile_emithook_email_status_1 = require("../libraries/reconcile.emithook.email.status");
|
|
22
25
|
const show_mail_log_1 = require("../libraries/show.mail.log");
|
|
23
26
|
const show_mail_log_content_1 = require("../libraries/show.mail.log.content");
|
|
24
27
|
const emithook_service_1 = require("../services/emithook.service");
|
|
25
28
|
const listing_service_1 = require("../services/listing.service");
|
|
26
29
|
const mail_log_access_service_1 = require("../services/mail.log.access.service");
|
|
27
30
|
let MailLogController = class MailLogController {
|
|
28
|
-
constructor(mailLogAccessService, listingService, emithookService) {
|
|
31
|
+
constructor(mailLogAccessService, listingService, emithookService, sqlService, refreshBusinessMailLogStatusJob) {
|
|
29
32
|
this.mailLogAccessService = mailLogAccessService;
|
|
30
33
|
this.listingService = listingService;
|
|
31
34
|
this.emithookService = emithookService;
|
|
35
|
+
this.sqlService = sqlService;
|
|
36
|
+
this.refreshBusinessMailLogStatusJob = refreshBusinessMailLogStatusJob;
|
|
37
|
+
}
|
|
38
|
+
async refreshStatus(body) {
|
|
39
|
+
const { business, recipient } = await this.mailLogAccessService.resolve();
|
|
40
|
+
await this.refreshBusinessMailLogStatusJob.dispatch({ business_id: business.id, recipient_user_id: recipient?.user_id, hours: body.hours });
|
|
41
|
+
return { queued: true };
|
|
42
|
+
}
|
|
43
|
+
async refreshLogStatus(params) {
|
|
44
|
+
const { business, recipient } = await this.mailLogAccessService.resolve();
|
|
45
|
+
const show = new show_mail_log_1.ShowMailLog(business, recipient?.email);
|
|
46
|
+
await show.process(params.id);
|
|
47
|
+
const isRead = await new reconcile_emithook_email_status_1.ReconcileEmithookEmailStatus(this.sqlService, this.emithookService).processLog(params.id);
|
|
48
|
+
if (!isRead)
|
|
49
|
+
throw new nestjs_utility_services_1.OperationException('The delivery status could not be read from Emithook');
|
|
50
|
+
return show.process(params.id);
|
|
32
51
|
}
|
|
33
52
|
async search(body) {
|
|
34
|
-
const business = await this.mailLogAccessService.
|
|
35
|
-
return new process_mail_log_list_1.ProcessMailLogList(business, this.listingService).process(body);
|
|
53
|
+
const { business, recipient } = await this.mailLogAccessService.resolve();
|
|
54
|
+
return new process_mail_log_list_1.ProcessMailLogList(business, this.listingService, recipient?.user_id).process(body);
|
|
36
55
|
}
|
|
37
56
|
async content(params, query) {
|
|
38
|
-
const business = await this.mailLogAccessService.
|
|
39
|
-
return new show_mail_log_content_1.ShowMailLogContent(business, this.emithookService).process(params.id, query.format);
|
|
57
|
+
const { business, recipient } = await this.mailLogAccessService.resolve();
|
|
58
|
+
return new show_mail_log_content_1.ShowMailLogContent(business, this.emithookService, recipient?.email).process(params.id, query.format);
|
|
40
59
|
}
|
|
41
|
-
async show(params
|
|
42
|
-
const business = await this.mailLogAccessService.
|
|
43
|
-
return new show_mail_log_1.ShowMailLog(business).process(params.id);
|
|
60
|
+
async show(params) {
|
|
61
|
+
const { business, recipient } = await this.mailLogAccessService.resolve();
|
|
62
|
+
return new show_mail_log_1.ShowMailLog(business, recipient?.email).process(params.id);
|
|
44
63
|
}
|
|
45
64
|
};
|
|
46
65
|
exports.MailLogController = MailLogController;
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, common_1.Post)('refresh-status'),
|
|
68
|
+
__param(0, (0, common_1.Body)()),
|
|
69
|
+
__metadata("design:type", Function),
|
|
70
|
+
__metadata("design:paramtypes", [refresh_mail_log_status_dto_1.RefreshMailLogStatusDto]),
|
|
71
|
+
__metadata("design:returntype", Promise)
|
|
72
|
+
], MailLogController.prototype, "refreshStatus", null);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, common_1.Post)(':id/refresh-status'),
|
|
75
|
+
__param(0, (0, common_1.Param)()),
|
|
76
|
+
__metadata("design:type", Function),
|
|
77
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
78
|
+
__metadata("design:returntype", Promise)
|
|
79
|
+
], MailLogController.prototype, "refreshLogStatus", null);
|
|
47
80
|
__decorate([
|
|
48
81
|
(0, common_1.Post)('search'),
|
|
49
82
|
__param(0, (0, common_1.Body)()),
|
|
@@ -62,15 +95,16 @@ __decorate([
|
|
|
62
95
|
__decorate([
|
|
63
96
|
(0, common_1.Get)(':id'),
|
|
64
97
|
__param(0, (0, common_1.Param)()),
|
|
65
|
-
__param(1, (0, common_1.Query)()),
|
|
66
98
|
__metadata("design:type", Function),
|
|
67
|
-
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto
|
|
99
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
68
100
|
__metadata("design:returntype", Promise)
|
|
69
101
|
], MailLogController.prototype, "show", null);
|
|
70
102
|
exports.MailLogController = MailLogController = __decorate([
|
|
71
103
|
(0, common_1.Controller)('api/b/mail-logs'),
|
|
72
104
|
__metadata("design:paramtypes", [mail_log_access_service_1.MailLogAccessService,
|
|
73
105
|
listing_service_1.ListingService,
|
|
74
|
-
emithook_service_1.EmithookService
|
|
106
|
+
emithook_service_1.EmithookService,
|
|
107
|
+
nestjs_utility_services_1.SqlService,
|
|
108
|
+
refresh_business_mail_log_status_job_1.RefreshBusinessMailLogStatusJob])
|
|
75
109
|
], MailLogController);
|
|
76
110
|
//# sourceMappingURL=mail.log.controller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail.log.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/mail.log.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA2E;AAC3E,mEAA8D;AAC9D,
|
|
1
|
+
{"version":3,"file":"mail.log.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/mail.log.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA2E;AAC3E,oFAAwF;AACxF,mEAA8D;AAC9D,mFAA4E;AAC5E,+EAAwE;AACxE,qFAA8E;AAC9E,uGAA+F;AAC/F,8EAAwE;AACxE,kGAA4F;AAC5F,8DAAyD;AACzD,8EAAwE;AACxE,mEAA+D;AAC/D,iEAA6D;AAC7D,iFAA2E;A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AAQ,CAAC;IACD,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,+CAAoB;;+CAI9C;AAQK;IADL,IAAA,YAAG,EAAC,aAAa,CAAC;IACJ,WAAA,IAAA,cAAK,GAAE,CAAA;IAA4B,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAA1B,qCAAgB,EAAkB,mDAAsB;;gDAItF;AAOK;IADL,IAAA,YAAG,EAAC,KAAK,CAAC;IACC,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;6CAI3C;4BA9EQ,iBAAiB;IAD7B,IAAA,mBAAU,EAAC,iBAAiB,CAAC;qCAGiB,8CAAoB;QAC1B,gCAAc;QACb,kCAAe;QACpB,oCAAU;QACW,sEAA+B;GAN5E,iBAAiB,CA+E7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.notification.payload.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.notification.payload.dto.ts"],"names":[],"mappings":";;;AAUA,MAAa,2BAA2B;
|
|
1
|
+
{"version":3,"file":"email.notification.payload.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.notification.payload.dto.ts"],"names":[],"mappings":";;;AAUA,MAAa,2BAA2B;CAqFvC;AArFD,kEAqFC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.FetchBusinessEmailMessagesDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class FetchBusinessEmailMessagesDto {
|
|
16
|
+
}
|
|
17
|
+
exports.FetchBusinessEmailMessagesDto = FetchBusinessEmailMessagesDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
21
|
+
(0, class_validator_1.IsInt)(),
|
|
22
|
+
(0, class_validator_1.IsPositive)(),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], FetchBusinessEmailMessagesDto.prototype, "email_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
29
|
+
(0, class_validator_1.IsInt)(),
|
|
30
|
+
(0, class_validator_1.IsPositive)(),
|
|
31
|
+
(0, class_validator_1.Max)(168),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], FetchBusinessEmailMessagesDto.prototype, "hours", void 0);
|
|
35
|
+
//# sourceMappingURL=fetch.business.email.messages.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch.business.email.messages.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/fetch.business.email.messages.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAAqE;AAGrE,MAAa,6BAA6B;CAiBzC;AAjBD,sEAiBC;AAVG;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;+DACS;AASlB;IANC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAG,EAAC,GAAG,CAAC;IACR,IAAA,0BAAM,GAAE;;4DACM"}
|
|
@@ -128,6 +128,7 @@ export * from './fcm.template.attributes.dto';
|
|
|
128
128
|
export * from './fcm.token.attributes.dto';
|
|
129
129
|
export * from './feature.attributes.dto';
|
|
130
130
|
export * from './feature.menu.attributes.dto';
|
|
131
|
+
export * from './fetch.business.email.messages.dto';
|
|
131
132
|
export * from './form.script.attributes.dto';
|
|
132
133
|
export * from './form.script.list.filter.dto';
|
|
133
134
|
export * from './gchat.message.attributes.dto';
|
|
@@ -183,6 +184,7 @@ export * from './process.common.list.config.dto';
|
|
|
183
184
|
export * from './process.listing.payload.dto';
|
|
184
185
|
export * from './product.attributes.dto';
|
|
185
186
|
export * from './recurring.definition.dto';
|
|
187
|
+
export * from './refresh.mail.log.status.dto';
|
|
186
188
|
export * from './report.log.attributes.dto';
|
|
187
189
|
export * from './report.sheet.dto';
|
|
188
190
|
export * from './report.view.query.dto';
|
|
@@ -144,6 +144,7 @@ __exportStar(require("./fcm.template.attributes.dto"), exports);
|
|
|
144
144
|
__exportStar(require("./fcm.token.attributes.dto"), exports);
|
|
145
145
|
__exportStar(require("./feature.attributes.dto"), exports);
|
|
146
146
|
__exportStar(require("./feature.menu.attributes.dto"), exports);
|
|
147
|
+
__exportStar(require("./fetch.business.email.messages.dto"), exports);
|
|
147
148
|
__exportStar(require("./form.script.attributes.dto"), exports);
|
|
148
149
|
__exportStar(require("./form.script.list.filter.dto"), exports);
|
|
149
150
|
__exportStar(require("./gchat.message.attributes.dto"), exports);
|
|
@@ -199,6 +200,7 @@ __exportStar(require("./process.common.list.config.dto"), exports);
|
|
|
199
200
|
__exportStar(require("./process.listing.payload.dto"), exports);
|
|
200
201
|
__exportStar(require("./product.attributes.dto"), exports);
|
|
201
202
|
__exportStar(require("./recurring.definition.dto"), exports);
|
|
203
|
+
__exportStar(require("./refresh.mail.log.status.dto"), exports);
|
|
202
204
|
__exportStar(require("./report.log.attributes.dto"), exports);
|
|
203
205
|
__exportStar(require("./report.sheet.dto"), exports);
|
|
204
206
|
__exportStar(require("./report.view.query.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,8DAA4C;AAC5C,mEAAiD;AACjD,0DAAwC;AACxC,wDAAsC;AACtC,qEAAmD;AACnD,8DAA4C;AAC5C,2DAAyC;AACzC,gEAA8C;AAC9C,8DAA4C;AAC5C,4DAA0C;AAC1C,gEAA8C;AAC9C,kFAAgE;AAChE,wDAAsC;AACtC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,yDAAuC;AACvC,gEAA8C;AAC9C,2EAAyD;AACzD,uDAAqC;AACrC,0DAAwC;AACxC,wDAAsC;AACtC,yDAAuC;AACvC,wDAAsC;AACtC,mEAAiD;AACjD,yDAAuC;AACvC,+DAA6C;AAC7C,wDAAsC;AACtC,iDAA+B;AAC/B,mDAAiC;AACjC,wDAAsC;AACtC,4EAA0D;AAC1D,8DAA4C;AAC5C,iDAA+B;AAC/B,6DAA2C;AAC3C,sDAAoC;AACpC,gDAA8B;AAC9B,4DAA0C;AAC1C,wDAAsC;AACtC,oDAAkC;AAClC,+DAA6C;AAC7C,gEAA8C;AAC9C,mEAAiD;AACjD,6DAA2C;AAC3C,2EAAyD;AACzD,qEAAmD;AACnD,gEAA8C;AAC9C,4EAA0D;AAC1D,uFAAqE;AACrE,iFAA+D;AAC/D,qFAAmE;AACnE,qEAA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;AAC5C,iEAA+C;AAC/C,yEAAuD;AACvD,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,6DAA2C;AAC3C,kEAAgD;AAChD,kEAAgD;AAChD,iEAA+C;AAC/C,oEAAkD;AAClD,2DAAyC;AACzC,wDAAsC;AACtC,wEAAsD;AACtD,qEAAmD;AACnD,sEAAoD;AACpD,mEAAiD;AACjD,6DAA2C;AAC3C,wEAAsD;AACtD,iEAA+C;AAC/C,+DAA6C;AAC7C,gEAA8C;AAC9C,gEAA8C;AAC9C,oEAAkD;AAClD,iEAA+C;AAC/C,qEAAmD;AACnD,+EAA6D"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,8DAA4C;AAC5C,mEAAiD;AACjD,0DAAwC;AACxC,wDAAsC;AACtC,qEAAmD;AACnD,8DAA4C;AAC5C,2DAAyC;AACzC,gEAA8C;AAC9C,8DAA4C;AAC5C,4DAA0C;AAC1C,gEAA8C;AAC9C,kFAAgE;AAChE,wDAAsC;AACtC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,yDAAuC;AACvC,gEAA8C;AAC9C,2EAAyD;AACzD,uDAAqC;AACrC,0DAAwC;AACxC,wDAAsC;AACtC,yDAAuC;AACvC,wDAAsC;AACtC,mEAAiD;AACjD,yDAAuC;AACvC,+DAA6C;AAC7C,wDAAsC;AACtC,iDAA+B;AAC/B,mDAAiC;AACjC,wDAAsC;AACtC,4EAA0D;AAC1D,8DAA4C;AAC5C,iDAA+B;AAC/B,6DAA2C;AAC3C,sDAAoC;AACpC,gDAA8B;AAC9B,4DAA0C;AAC1C,wDAAsC;AACtC,oDAAkC;AAClC,+DAA6C;AAC7C,gEAA8C;AAC9C,mEAAiD;AACjD,6DAA2C;AAC3C,2EAAyD;AACzD,qEAAmD;AACnD,gEAA8C;AAC9C,4EAA0D;AAC1D,uFAAqE;AACrE,iFAA+D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AC/C,2DAAyC;AACzC,8DAA4C;AAC5C,kEAAgD;AAChD,8DAA4C;AAC5C,iEAA+C;AAC/C,yEAAuD;AACvD,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,6DAA2C;AAC3C,kEAAgD;AAChD,kEAAgD;AAChD,iEAA+C;AAC/C,oEAAkD;AAClD,2DAAyC;AACzC,wDAAsC;AACtC,wEAAsD;AACtD,qEAAmD;AACnD,sEAAoD;AACpD,mEAAiD;AACjD,6DAA2C;AAC3C,wEAAsD;AACtD,iEAA+C;AAC/C,+DAA6C;AAC7C,gEAA8C;AAC9C,gEAA8C;AAC9C,oEAAkD;AAClD,iEAA+C;AAC/C,qEAAmD;AACnD,+EAA6D"}
|
|
@@ -12,8 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.MailLogContentQueryDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
|
|
16
|
-
class MailLogContentQueryDto extends business_property_scope_dto_1.BusinessPropertyScopeDto {
|
|
15
|
+
class MailLogContentQueryDto {
|
|
17
16
|
}
|
|
18
17
|
exports.MailLogContentQueryDto = MailLogContentQueryDto;
|
|
19
18
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail.log.content.query.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/mail.log.content.query.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAmD;
|
|
1
|
+
{"version":3,"file":"mail.log.content.query.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/mail.log.content.query.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAmD;AAGnD,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AADG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtB,IAAA,0BAAM,GAAE;;sDACgB"}
|
|
@@ -16,14 +16,6 @@ const common_list_filter_dto_1 = require("./common.list.filter.dto");
|
|
|
16
16
|
class MailLogListFilterDto extends common_list_filter_dto_1.CommonListFilterDto {
|
|
17
17
|
}
|
|
18
18
|
exports.MailLogListFilterDto = MailLogListFilterDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsOptional)(),
|
|
21
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
22
|
-
(0, class_validator_1.IsNumber)(),
|
|
23
|
-
(0, class_validator_1.IsPositive)(),
|
|
24
|
-
(0, class_transformer_1.Expose)(),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], MailLogListFilterDto.prototype, "business_id", void 0);
|
|
27
19
|
__decorate([
|
|
28
20
|
(0, class_validator_1.IsOptional)(),
|
|
29
21
|
(0, class_validator_1.IsString)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail.log.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/mail.log.list.filter.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAAsG;AACtG,qEAA+D;AAM/D,MAAa,oBAAqB,SAAQ,4CAAmB;
|
|
1
|
+
{"version":3,"file":"mail.log.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/mail.log.list.filter.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAAsG;AACtG,qEAA+D;AAM/D,MAAa,oBAAqB,SAAQ,4CAAmB;CA8C5D;AA9CD,oDA8CC;AAxCG;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,CAAC;IACd,IAAA,0BAAM,GAAE;;yDACY;AAOrB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;uDACU;AAOnB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,CAAC;IACd,IAAA,0BAAM,GAAE;;uDACU;AAOnB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,CAAC;IACd,IAAA,0BAAM,GAAE;;sDACS;AAOlB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,CAAC;IACd,IAAA,0BAAM,GAAE;;+DACkB;AAK3B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IACnD,IAAA,0BAAM,GAAE;;qDACQ;AAMjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAM,GAAE;;wDACY"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.RefreshMailLogStatusDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class RefreshMailLogStatusDto {
|
|
16
|
+
}
|
|
17
|
+
exports.RefreshMailLogStatusDto = RefreshMailLogStatusDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
21
|
+
(0, class_validator_1.IsInt)(),
|
|
22
|
+
(0, class_validator_1.IsPositive)(),
|
|
23
|
+
(0, class_validator_1.Max)(168),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], RefreshMailLogStatusDto.prototype, "hours", void 0);
|
|
27
|
+
//# sourceMappingURL=refresh.mail.log.status.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh.mail.log.status.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/refresh.mail.log.status.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAAqE;AAGrE,MAAa,uBAAuB;CASnC;AATD,0DASC;AADG;IANC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAG,EAAC,GAAG,CAAC;IACR,IAAA,0BAAM,GAAE;;sDACM"}
|
|
@@ -107,12 +107,14 @@ import { GetScriptValuesDto } from './dtos/get.script.values.dto';
|
|
|
107
107
|
import { GmailIntegrationOauthDto } from './dtos/gmail.integration.oauth.dto';
|
|
108
108
|
import { ListResponseDto } from './dtos/list.response.dto';
|
|
109
109
|
import { ListResponseFormatDto } from './dtos/list.response.format.dto';
|
|
110
|
+
import { MailLogContentQueryDto } from './dtos/mail.log.content.query.dto';
|
|
110
111
|
import { MenuLayoutDto } from './dtos/menu.layout.dto';
|
|
111
112
|
import { NotificationTypeListFilterDto } from './dtos/notification.type.list.filter.dto';
|
|
112
113
|
import { NumberRangeFilterDto } from './dtos/number.range.filter.dto';
|
|
113
114
|
import { OauthRegisterDto } from './dtos/oauth.register.dto';
|
|
114
115
|
import { ProcessCommonListConfigDto } from './dtos/process.common.list.config.dto';
|
|
115
116
|
import { RecurringDefinitionDto } from './dtos/recurring.definition.dto';
|
|
117
|
+
import { RefreshMailLogStatusDto } from './dtos/refresh.mail.log.status.dto';
|
|
116
118
|
import { ReportViewQueryDto } from './dtos/report.view.query.dto';
|
|
117
119
|
import { RequestLogOptionsDto } from './dtos/request.log.options.dto';
|
|
118
120
|
import { SendEmailNotificationDataDto } from './dtos/send.email.notification.data.dto';
|
|
@@ -227,6 +229,7 @@ import { EvaluateEmailRuleJob } from './jobs/evaluate.email.rule.job';
|
|
|
227
229
|
import { ExecuteBusinessScriptJob } from './jobs/execute.business.script.job';
|
|
228
230
|
import { FeatureJob } from './jobs/feature.job';
|
|
229
231
|
import { FeatureMenuJob } from './jobs/feature.menu.job';
|
|
232
|
+
import { FetchBusinessEmailMessagesJob } from './jobs/fetch.business.email.messages.job';
|
|
230
233
|
import { GchatIncomingWebhookJob } from './jobs/gchat.incoming.webhook.job';
|
|
231
234
|
import { GenerateBusinessReportJob } from './jobs/generate.business.report.job';
|
|
232
235
|
import { GmailIntegrationFetchMessagesJob } from './jobs/gmail.integration.fetch.messages.job';
|
|
@@ -240,6 +243,7 @@ import { PollEmithookEmailInboxJob } from './jobs/poll.emithook.email.inbox.job'
|
|
|
240
243
|
import { PollEmithookEmailSqsJob } from './jobs/poll.emithook.email.sqs.job';
|
|
241
244
|
import { ProcessServerEmailJob } from './jobs/process.server.email.job';
|
|
242
245
|
import { ReconcileEmithookEmailStatusJob } from './jobs/reconcile.emithook.email.status.job';
|
|
246
|
+
import { RefreshBusinessMailLogStatusJob } from './jobs/refresh.business.mail.log.status.job';
|
|
243
247
|
import { RefreshBusinessPropertyJob } from './jobs/refresh.business.property.job';
|
|
244
248
|
import { ScheduledReportItemJob } from './jobs/scheduled.report.item.job';
|
|
245
249
|
import { ScheduledReportJob } from './jobs/scheduled.report.job';
|
|
@@ -257,6 +261,7 @@ import { WatchlistAssignmentJob } from './jobs/watchlist.assignment.job';
|
|
|
257
261
|
import { WebhookTypeJob } from './jobs/webhook.type.job';
|
|
258
262
|
import { WhatsappIncomingWebhookJob } from './jobs/whatsapp.incoming.webhook.job';
|
|
259
263
|
import { WhatsappMessagePayloadDto } from './jobs/whatsapp.message.payload.dto';
|
|
264
|
+
import { ApplyEmailTestRedirect } from './libraries/apply.email.test.redirect';
|
|
260
265
|
import { ApplyMenuLayout } from './libraries/apply.menu.layout';
|
|
261
266
|
import { ApplyNotificationPreferences } from './libraries/apply.notification.preferences';
|
|
262
267
|
import { AssertSafeSqlFragment } from './libraries/assert.safe.sql.fragment';
|
|
@@ -269,6 +274,8 @@ import { DeleteBusinessProperty } from './libraries/delete.business.property';
|
|
|
269
274
|
import { EvaluateEmailRule } from './libraries/evaluate.email.rule';
|
|
270
275
|
import { ExecuteBusinessScript } from './libraries/execute.business.script';
|
|
271
276
|
import { ExtractClientCredentials } from './libraries/extract.client.credentials';
|
|
277
|
+
import { FetchEmithookMailboxMessages } from './libraries/fetch.emithook.mailbox.messages';
|
|
278
|
+
import { FetchMetaMailboxMessages } from './libraries/fetch.meta.mailbox.messages';
|
|
272
279
|
import { LoadNotificationPreferenceContext } from './libraries/load.notification.preference.context';
|
|
273
280
|
import { NotificationTypeCatalogue } from './libraries/notification.type.catalogue';
|
|
274
281
|
import { OauthPkce } from './libraries/oauth.pkce';
|
|
@@ -453,12 +460,12 @@ import { UserBusinessSecretSubscriber } from './subscribers/user.business.secret
|
|
|
453
460
|
declare const es6Classes: {
|
|
454
461
|
commands: (typeof MailLogBackfillBusinessCommand | typeof WebhookPollCommand)[];
|
|
455
462
|
controllers: (typeof AccessBusinessController | typeof AccessMenuController | typeof AliasMappingController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessAppIntegrationController | typeof BusinessCurrencyController | typeof BusinessEmailAliasController | typeof BusinessEmailController | typeof BusinessNotificationChannelPreferenceController | typeof BusinessPreferenceController | typeof BusinessPropertyController | typeof BusinessReportController | typeof BusinessScriptController | typeof BusinessUserGroupController | typeof BusinessUserNotificationPreferenceController | typeof BusinessWebhookController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CommonWebhookController | typeof CurrencyRateController | typeof CustomFieldController | typeof DashboardBuilderController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperMenuController | typeof DeveloperModeController | typeof DeveloperNotificationTypeController | typeof DeveloperReportController | typeof DeviceAuthController | typeof DownloadLogController | typeof EmailRuleController | typeof EmithookController | typeof EventTriggerController | typeof EventTriggerLogController | typeof FcmTokenController | typeof FormScriptController | typeof GroupMemberController | typeof GroupRoleController | typeof GstMappingController | typeof ListingController | typeof ListingPageController | typeof ListingPreferenceController | typeof LockScriptController | typeof MailLogController | typeof McpReportsController | typeof MenuController | typeof ModuleController | typeof ModuleMenuController | typeof NotificationTypePreferenceController | typeof OauthAsController | typeof OauthDiscoveryController | typeof OverridingScriptController | typeof ReportViewController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UiActionController | typeof UserBusinessSecretController | typeof UserNotificationController | typeof UserNotificationTypePreferenceController | typeof UserPreferenceController | typeof WhoamiController)[];
|
|
456
|
-
dtos: (typeof DbFindDto | typeof AddListingPreferenceDto | typeof ListResponseDto | typeof ChildMenuAttributesDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof ProcessCommonListConfigDto | typeof SendWebhookRequestPayload | typeof BusinessPropertyScopeDto | typeof AccessBusinessParamDto | typeof MenuLayoutDto | typeof AddIntegrationPreferenceDto | typeof AddBusinessCurrencyDto | typeof SetBusinessEmailAliasDto | typeof GmailIntegrationOauthDto | typeof ServerEmailRecipientsDto | typeof AddBusinessPreferenceDto | typeof BusinessPropertyIdentifierParamDto | typeof GenerateBusinessReportDto | typeof GenerateReportDto | typeof GenerateReportSheetDataDto | typeof AddBusinessUserNotificationPreferenceDto | typeof AddWebhookDto | typeof GetCurrencyRateDto | typeof GetScriptValuesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof DeveloperBusinessSearchDto | typeof SetActiveDto | typeof SetMenusActiveDto | typeof EditQueryDto | typeof NotificationTypeListFilterDto | typeof DevicePollDto | typeof EmailRecipientToDto | typeof
|
|
457
|
-
entities: (typeof AccessCountryEntity | typeof AccessBusinessEntity | typeof BusinessUserEntity | typeof FinnotoUserEntity | typeof ChildMenuEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof MenuRoleEntity | typeof BusinessMenuEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof DownloadLogEntity | typeof OnholdDocumentEntity | typeof EmailStyleEntity | typeof WebhookSlugEntity | typeof BusinessWebhookEntity | typeof WebhookLogEntity | typeof ProductEntity | typeof ModuleMenuEntity | typeof BusinessMenuLayoutEntity | typeof BusinessUiActionEntity | typeof BusinessCurrencyEntity | typeof
|
|
458
|
-
enums: (typeof ListingViewTypeEnum | typeof CustomColumnTypeEnum | typeof BusinessEmailTypeEnum | typeof NotificationChannelTypeEnum | typeof NotificationTypeAudienceEnum | typeof NotificationTypeControlEnum | typeof
|
|
463
|
+
dtos: (typeof DbFindDto | typeof AddListingPreferenceDto | typeof ListResponseDto | typeof ChildMenuAttributesDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof ProcessCommonListConfigDto | typeof SendWebhookRequestPayload | typeof BusinessPropertyScopeDto | typeof AccessBusinessParamDto | typeof MenuLayoutDto | typeof AddIntegrationPreferenceDto | typeof AddBusinessCurrencyDto | typeof SetBusinessEmailAliasDto | typeof GmailIntegrationOauthDto | typeof EmithookEnvelopeDto | typeof ServerEmailRecipientsDto | typeof AddBusinessPreferenceDto | typeof BusinessPropertyIdentifierParamDto | typeof GenerateBusinessReportDto | typeof GenerateReportDto | typeof GenerateReportSheetDataDto | typeof AddBusinessUserNotificationPreferenceDto | typeof AddWebhookDto | typeof GetCurrencyRateDto | typeof GetScriptValuesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof DeveloperBusinessSearchDto | typeof SetActiveDto | typeof SetMenusActiveDto | typeof EditQueryDto | typeof NotificationTypeListFilterDto | typeof DevicePollDto | typeof EmailRecipientToDto | typeof TokenPayloadDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddGstMappingDto | typeof MailLogContentQueryDto | typeof RefreshMailLogStatusDto | typeof AddModuleMenuDto | typeof BusinessNotificationTypePreferenceAttributesDto | typeof OauthRegisterDto | typeof ReportViewQueryDto | typeof RecurringDefinitionDto | typeof AddScheduledReportDto | typeof SetUiActionBusinessesDto | typeof UpdateUiActionAttributesDto | typeof AddBusinessAppIntegrationDto | typeof AddConversationDto | typeof AddShortUrlDto | typeof AddTagDto | typeof BankAccountPayloadDto | typeof BoardCastInternalStatusMessageDto | typeof BusinessAppIntegrationMessagePayloadDto | typeof GchatPostingPayloadDto | typeof RequestLogOptionsDto | typeof SendEmailNotificationDataDto | typeof SlackMessageDataDto | typeof WhatsappPostingPayloadDto)[];
|
|
464
|
+
entities: (typeof AccessCountryEntity | typeof AccessBusinessEntity | typeof BusinessUserEntity | typeof FinnotoUserEntity | typeof ChildMenuEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof MenuRoleEntity | typeof BusinessMenuEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof DownloadLogEntity | typeof OnholdDocumentEntity | typeof EmailStyleEntity | typeof WebhookSlugEntity | typeof BusinessWebhookEntity | typeof WebhookLogEntity | typeof ProductEntity | typeof ModuleMenuEntity | typeof BusinessMenuLayoutEntity | typeof BusinessUiActionEntity | typeof BusinessCurrencyEntity | typeof EmailMessageEntity | typeof EmailRecipientEntity | typeof BzNotificationChannelPreferenceEntity | typeof BusinessDownloadableReportEntity | typeof BusinessReportEntity | typeof ExecutionLogEntity | typeof BusinessAppIntegrationCredentialEntity | typeof SlackIntegrationEntity | typeof CurrencyRateEntity | typeof DashboardComponentEntity | typeof FeatureMenuEntity | typeof BusinessFeatureEntity | typeof DeviceCodeEntity | typeof EmailTemplateRecipientEntity | typeof AccessMailLogEntity | typeof EventTriggerLogEntity | typeof FcmTokenEntity | typeof GroupMemberEntity | typeof BusinessGroupRoleEntity | typeof GstMappingEntity | typeof LockScriptEntity | typeof BusinessNotificationTypePreferenceEntity | typeof OauthAuthorizationEntity | typeof OauthClientEntity | typeof BusinessMaterialViewEntity | typeof ScheduledReportEntity | typeof ScheduledReportEmailEntity | typeof UserNotificationEntity | typeof BusinessAppIntegrationMessagesEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof ConversationEntity | typeof EmailTemplateLogEntity | typeof FcmMessageEntity | typeof GchatMessageEntity | typeof GchatUserEntity | typeof GchatWebhookMessageEntity | typeof ReportLogEntity | typeof RequestLogEntity | typeof ScheduledReportItemEntity | typeof SlackMessageEntity | typeof SlackUserEntity | typeof SlackWebhookMessageEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WhatsappMessageEntity | typeof WhatsappPreferenceEntity)[];
|
|
465
|
+
enums: (typeof ListingViewTypeEnum | typeof CustomColumnTypeEnum | typeof BusinessEmailTypeEnum | typeof NotificationChannelTypeEnum | typeof NotificationTypeAudienceEnum | typeof NotificationTypeControlEnum | typeof ProductTypeEnum | typeof RecurringPeriodEnum | typeof NotificationTypeEnum | typeof NotificationSuppressionReasonEnum | typeof PlatformTypeEnum)[];
|
|
459
466
|
interfaces: any[];
|
|
460
|
-
jobs: (typeof SyncEmailMessageMetricsJob | typeof HandleEmithookEmailJob | typeof HandleEmithookEmailStatusJob | typeof AccessTestJob | typeof BusinessAppIntegrationJob | typeof BusinessFeatureJob | typeof BusinessGroupRoleJob | typeof BusinessPropertyJob | typeof GenerateBusinessReportJob | typeof SendBusinessReportNotificationJob | typeof BusinessReportJob | typeof SetBusinessScriptScheduleJob | typeof BusinessScriptJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserRoleJob | typeof CaptureEventTriggerJob | typeof ChoiceListJob | typeof EmailAttachmentJob | typeof EvaluateEmailRuleJob | typeof SetEmailUnreadCountJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof ExecuteBusinessScriptJob | typeof FeatureJob | typeof FeatureMenuJob | typeof GchatIncomingWebhookJob | typeof GmailIntegrationFetchMessagesJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof OnholdDocumentJob | typeof OverridingScriptJob | typeof PollEmithookEmailInboxJob | typeof PollEmithookEmailSqsJob | typeof
|
|
461
|
-
libraries: (typeof ProcessDbFind | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessListingCsvFile | typeof SendWebhookRequest | typeof UpdateDeveloperBusiness | typeof ApplyMenuLayout | typeof ProcessApplicationMenu | typeof BusinessUiActionAvailability | typeof ProcessMenuDetails | typeof SearchAliasMappings | typeof SetAliasMapping | typeof ProcessApiAccountData | typeof ProcessApiAccountList | typeof ProcessBulkUploadItemList | typeof ProcessBulkUploadList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessCurrencyList | typeof ProcessBusinessEmailList | typeof ProcessBusinessNotificationChannelPreferenceList | typeof DeleteBusinessProperty | typeof PresentBusinessProperty | typeof ProcessBusinessPropertyData | typeof ProcessBusinessPropertyList | typeof SetBusinessProperty | typeof ProcessBusinessReportList | typeof ProcessGenerateReport | typeof ProcessDownloadableReportsList | typeof AssertSafeSqlFragment | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessReportSheetData | typeof DateFn | typeof ExecuteBusinessScript | typeof ProcessBusinessScriptCreation | typeof ProcessBusinessScriptList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceListList | typeof ProcessChoiceTypeData | typeof ProcessChoiceTypeList | typeof ProcessAmazonIntegration | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCurrencyRateList | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDeveloperMenu | typeof SearchDeveloperBusinesses | typeof NotificationTypeCatalogue | typeof ProcessDownloadableReport | typeof CreateUserBusinessSecret | typeof ExtractClientCredentials | typeof ProcessDownloadLogList | typeof ProcessEmailRuleData | typeof ProcessEmailRuleList | typeof
|
|
467
|
+
jobs: (typeof SyncEmailMessageMetricsJob | typeof HandleEmithookEmailJob | typeof ProcessServerEmailJob | typeof FetchBusinessEmailMessagesJob | typeof HandleEmithookEmailStatusJob | typeof RefreshBusinessMailLogStatusJob | typeof AccessTestJob | typeof BusinessAppIntegrationJob | typeof BusinessFeatureJob | typeof BusinessGroupRoleJob | typeof BusinessPropertyJob | typeof GenerateBusinessReportJob | typeof SendBusinessReportNotificationJob | typeof BusinessReportJob | typeof SetBusinessScriptScheduleJob | typeof BusinessScriptJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserRoleJob | typeof CaptureEventTriggerJob | typeof ChoiceListJob | typeof EmailAttachmentJob | typeof EvaluateEmailRuleJob | typeof SetEmailUnreadCountJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof ExecuteBusinessScriptJob | typeof FeatureJob | typeof FeatureMenuJob | typeof GchatIncomingWebhookJob | typeof GmailIntegrationFetchMessagesJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof OnholdDocumentJob | typeof OverridingScriptJob | typeof PollEmithookEmailInboxJob | typeof PollEmithookEmailSqsJob | typeof ReconcileEmithookEmailStatusJob | typeof RefreshBusinessPropertyJob | typeof ScheduledReportItemJob | typeof ScheduledReportJob | typeof SlackIncomingWebhookJob | typeof SlackIntegrationJob | typeof SyncBURoleJob | typeof SyncEmailMessagesJob | typeof SyncMenuJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessagePayloadDto)[];
|
|
468
|
+
libraries: (typeof ProcessDbFind | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessListingCsvFile | typeof SendWebhookRequest | typeof UpdateDeveloperBusiness | typeof ApplyMenuLayout | typeof ProcessApplicationMenu | typeof BusinessUiActionAvailability | typeof ProcessMenuDetails | typeof SearchAliasMappings | typeof SetAliasMapping | typeof ProcessApiAccountData | typeof ProcessApiAccountList | typeof ProcessBulkUploadItemList | typeof ProcessBulkUploadList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessCurrencyList | typeof ProcessInboundEmailMessage | typeof ReadEmlAttachments | typeof FetchEmithookMailboxMessages | typeof FetchMetaMailboxMessages | typeof ProcessBusinessEmailList | typeof ProcessBusinessNotificationChannelPreferenceList | typeof DeleteBusinessProperty | typeof PresentBusinessProperty | typeof ProcessBusinessPropertyData | typeof ProcessBusinessPropertyList | typeof SetBusinessProperty | typeof ProcessBusinessReportList | typeof ProcessGenerateReport | typeof ProcessDownloadableReportsList | typeof AssertSafeSqlFragment | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessReportSheetData | typeof DateFn | typeof ExecuteBusinessScript | typeof ProcessBusinessScriptCreation | typeof ProcessBusinessScriptList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceListList | typeof ProcessChoiceTypeData | typeof ProcessChoiceTypeList | typeof ProcessAmazonIntegration | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCurrencyRateList | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDeveloperMenu | typeof SearchDeveloperBusinesses | typeof NotificationTypeCatalogue | typeof ProcessDownloadableReport | typeof CreateUserBusinessSecret | typeof ExtractClientCredentials | typeof ProcessDownloadLogList | typeof ProcessEmailRuleData | typeof ProcessEmailRuleList | typeof RecordEmithookEmailEvents | typeof ProcessEmithookEmailStatus | typeof ProcessEventTriggerData | typeof ProcessEventTriggerList | typeof ProcessEventTriggerLogList | typeof SetFcmToken | typeof ProcessFormScriptList | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessGstMappingData | typeof ProcessGstMappingList | typeof ProcessListingPageQuery | typeof ProcessListingPageCreation | typeof ProcessPreferenceData | typeof ProcessLockScriptData | typeof ProcessLockScriptList | typeof ReconcileEmithookEmailStatus | typeof ProcessMailLogList | typeof ShowMailLog | typeof ShowMailLogContent | typeof ProcessMenuCreation | typeof ProcessModuleCreation | typeof ProcessModuleMenuCreation | typeof OauthPkce | typeof ProcessOverridingScriptData | typeof ProcessOverridingScriptList | {
|
|
462
469
|
invalidateReportViewEnablement: typeof import("./libraries/report.view.enablement").invalidateReportViewEnablement;
|
|
463
470
|
loadReportViewOverrides: typeof import("./libraries/report.view.enablement").loadReportViewOverrides;
|
|
464
471
|
isViewEnabledForBusiness: typeof import("./libraries/report.view.enablement").isViewEnabledForBusiness;
|
|
@@ -469,7 +476,7 @@ declare const es6Classes: {
|
|
|
469
476
|
resolveRelativeDate: typeof import("./libraries/report.view.query.compiler").resolveRelativeDate;
|
|
470
477
|
nearest: typeof import("./libraries/report.view.query.compiler").nearest;
|
|
471
478
|
RELATIVE_DATE_TOKENS: readonly ["@today", "@today-Nd", "@today+Nd", "@today-Nw", "@today+Nw", "@today-Nm", "@today+Nm", "@today-Ny", "@today+Ny", "@month_start", "@quarter_start", "@fy_start"];
|
|
472
|
-
} | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof ProcessBusinessUiAction | typeof UiActionBusinesses | typeof UserSecretView | typeof ProcessUserNotificationList | typeof ProcessRevokeSlackIntegration | typeof ProcessRevokeZohoIntegration | typeof ProcessBusinessFeatureAddition | typeof ProcessBusinessFeatureDeletion | typeof ProcessBusinessGroupRoleUpdation | typeof SanitizeEmailAddresses | typeof ProcessInternalNotification | typeof ProcessBusinessUserRoleUpdate | typeof EvaluateEmailRule | typeof ProcessFeatureMenuAddition | typeof ProcessFeatureMenuDeletion | typeof ProcessGmailMessage | typeof ProcessGroupMemberUpdation | typeof
|
|
479
|
+
} | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof ProcessBusinessUiAction | typeof UiActionBusinesses | typeof UserSecretView | typeof ProcessUserNotificationList | typeof ProcessRevokeSlackIntegration | typeof ProcessRevokeZohoIntegration | typeof ProcessBusinessFeatureAddition | typeof ProcessBusinessFeatureDeletion | typeof ProcessBusinessGroupRoleUpdation | typeof ApplyEmailTestRedirect | typeof SanitizeEmailAddresses | typeof ProcessInternalNotification | typeof ProcessBusinessUserRoleUpdate | typeof EvaluateEmailRule | typeof ProcessFeatureMenuAddition | typeof ProcessFeatureMenuDeletion | typeof ProcessGmailMessage | typeof ProcessGroupMemberUpdation | typeof SyncBusinessUserRole | typeof LoadNotificationPreferenceContext | typeof ResolveNotificationRecipients | typeof ApplyNotificationPreferences | typeof CommonTagController | typeof ProcessConversationData | typeof ConversationController | typeof ProcessBusinessScriptData | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof RedactEmailLog | typeof ResolveEmithookTemplateKey | typeof SendEmithookTemplateEmail | typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendFcmNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof ProcessWhatsappMessage | typeof SendWhatsappMessageNotification | typeof ProcessNotification | typeof ProcessSlackMessage | typeof ProcessTestList | typeof ResolveClientIp)[];
|
|
473
480
|
middlewares: (typeof BusinessMiddleware | typeof ExternalAccessMiddleware | typeof IdempotencyMiddleware | typeof McpAccessMiddleware | typeof McpRateLimitMiddleware | typeof UserBusinessAccessMiddleware)[];
|
|
474
481
|
services: (typeof AccessBusinessService | typeof DeveloperModeAccessService | typeof ListingPreferenceService | typeof ListingService | typeof UtilityService | typeof CustomFieldService | typeof WebhookService | typeof BusinessEmailAliasService | typeof EmithookService | typeof BusinessEmailService | typeof GmailIntegrationService | typeof AccessReportService | typeof BusinessPropertyService | typeof BusinessScriptService | typeof AuditLogService | typeof CurrencyService | typeof LegacyNotificationPreferenceService | typeof NotificationTypeService | typeof DeviceAuthService | typeof PlatformService | typeof FormScriptService | typeof LockScriptService | typeof MailLogAccessService | typeof NotificationTypePreferenceService | typeof OauthAsService | typeof ReportViewService | typeof UserBusinessAccessService | typeof OverridingScriptService | typeof ScheduledReportService | typeof BusinessUserRoleService | typeof SendEmailService | typeof GchatService | typeof SlackService | typeof WhatsappService | typeof NotificationService | typeof ApiAccountService | typeof CredentialResolveService | typeof AliasMappingService | typeof AppIntegrationService | typeof BusinessPreferenceService | typeof GptService | typeof RequestLogService | typeof SlabsService | typeof UserNotificationService | typeof UserPreferenceService)[];
|
|
475
482
|
subscribers: (typeof ApiAccountSubscriber | typeof BusinessScriptSubscriber | typeof CaptureEventTriggerSubscriber | typeof EmailMessageSubscriber | typeof EmailRecipientSubscriber | typeof UserBusinessSecretSubscriber)[];
|