@servicelabsco/slabs-access-manager 0.1.228 → 0.1.230
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.report.controller.d.ts +17 -0
- package/dist/access/controllers/business.report.controller.js +96 -0
- package/dist/access/controllers/business.report.controller.js.map +1 -0
- package/dist/access/controllers/index.d.ts +2 -0
- package/dist/access/controllers/index.js +2 -0
- package/dist/access/controllers/index.js.map +1 -1
- package/dist/access/controllers/user.business.secret.controller.d.ts +14 -0
- package/dist/access/controllers/user.business.secret.controller.js +100 -0
- package/dist/access/controllers/user.business.secret.controller.js.map +1 -0
- package/dist/access/dtos/add.custom.field.dto.d.ts +1 -0
- package/dist/access/dtos/add.custom.field.dto.js +5 -0
- package/dist/access/dtos/add.custom.field.dto.js.map +1 -1
- package/dist/access/dtos/add.user.secret.dto.d.ts +3 -0
- package/dist/access/dtos/add.user.secret.dto.js +24 -0
- package/dist/access/dtos/add.user.secret.dto.js.map +1 -0
- package/dist/access/dtos/generate.business.report.dto.d.ts +4 -0
- package/dist/access/dtos/generate.business.report.dto.js +28 -0
- package/dist/access/dtos/generate.business.report.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +3 -0
- package/dist/access/dtos/index.js +3 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/dtos/user.business.secret.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/user.business.secret.attributes.dto.js +8 -0
- package/dist/access/dtos/user.business.secret.attributes.dto.js.map +1 -0
- package/dist/access/entities/business.downloadable.report.entity.d.ts +10 -0
- package/dist/access/entities/business.downloadable.report.entity.js +48 -0
- package/dist/access/entities/business.downloadable.report.entity.js.map +1 -0
- package/dist/access/entities/business.report.entity.d.ts +15 -0
- package/dist/access/entities/business.report.entity.js +69 -0
- package/dist/access/entities/business.report.entity.js.map +1 -0
- package/dist/access/entities/index.d.ts +3 -0
- package/dist/access/entities/index.js +3 -0
- package/dist/access/entities/index.js.map +1 -1
- package/dist/access/entities/user.business.secret.entity.d.ts +17 -0
- package/dist/access/entities/user.business.secret.entity.js +73 -0
- package/dist/access/entities/user.business.secret.entity.js.map +1 -0
- package/dist/access/es6.classes.d.ts +23 -8
- package/dist/access/es6.classes.js +36 -1
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/jobs/business.downloadable.report.job.d.ts +7 -0
- package/dist/access/jobs/business.downloadable.report.job.js +29 -0
- package/dist/access/jobs/business.downloadable.report.job.js.map +1 -0
- package/dist/access/jobs/business.report.job.d.ts +10 -0
- package/dist/access/jobs/business.report.job.js +41 -0
- package/dist/access/jobs/business.report.job.js.map +1 -0
- package/dist/access/jobs/generate.business.report.job.d.ts +16 -0
- package/dist/access/jobs/generate.business.report.job.js +52 -0
- package/dist/access/jobs/generate.business.report.job.js.map +1 -0
- package/dist/access/jobs/index.d.ts +4 -0
- package/dist/access/jobs/index.js +4 -0
- package/dist/access/jobs/index.js.map +1 -1
- package/dist/access/jobs/user.business.secret.job.d.ts +7 -0
- package/dist/access/jobs/user.business.secret.job.js +29 -0
- package/dist/access/jobs/user.business.secret.job.js.map +1 -0
- package/dist/access/libraries/create.user.business.secret.d.ts +15 -0
- package/dist/access/libraries/create.user.business.secret.js +51 -0
- package/dist/access/libraries/create.user.business.secret.js.map +1 -0
- package/dist/access/libraries/index.d.ts +1 -0
- package/dist/access/libraries/index.js +1 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/process.custom.field.creation.js +4 -3
- package/dist/access/libraries/process.custom.field.creation.js.map +1 -1
- package/dist/access/middlewares/index.d.ts +1 -0
- package/dist/access/middlewares/index.js +1 -0
- package/dist/access/middlewares/index.js.map +1 -1
- package/dist/access/middlewares/user.business.access.middleware.d.ts +9 -0
- package/dist/access/middlewares/user.business.access.middleware.js +45 -0
- package/dist/access/middlewares/user.business.access.middleware.js.map +1 -0
- package/dist/access/services/access.report.service.d.ts +2 -0
- package/dist/access/services/access.report.service.js +17 -0
- package/dist/access/services/access.report.service.js.map +1 -1
- package/dist/access/services/es6.jobs.service.d.ts +9 -1
- package/dist/access/services/es6.jobs.service.js +18 -2
- package/dist/access/services/es6.jobs.service.js.map +1 -1
- package/dist/access/services/index.d.ts +1 -0
- package/dist/access/services/index.js +1 -0
- package/dist/access/services/index.js.map +1 -1
- package/dist/access/services/user.business.access.service.d.ts +18 -0
- package/dist/access/services/user.business.access.service.js +69 -0
- package/dist/access/services/user.business.access.service.js.map +1 -0
- package/dist/access/subscribers/business.downloadable.report.subscriber.d.ts +10 -0
- package/dist/access/subscribers/business.downloadable.report.subscriber.js +34 -0
- package/dist/access/subscribers/business.downloadable.report.subscriber.js.map +1 -0
- package/dist/access/subscribers/business.report.subscriber.d.ts +10 -0
- package/dist/access/subscribers/business.report.subscriber.js +34 -0
- package/dist/access/subscribers/business.report.subscriber.js.map +1 -0
- package/dist/access/subscribers/index.d.ts +3 -0
- package/dist/access/subscribers/index.js +3 -0
- package/dist/access/subscribers/index.js.map +1 -1
- package/dist/access/subscribers/user.business.secret.subscriber.d.ts +11 -0
- package/dist/access/subscribers/user.business.secret.subscriber.js +37 -0
- package/dist/access/subscribers/user.business.secret.subscriber.js.map +1 -0
- package/dist/config/entity.constants.d.ts +6 -0
- package/dist/config/entity.constants.js +6 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/migrations/1733723463746-CreateBusinessDownloadableReportTable.d.ts +5 -0
- package/dist/migrations/1733723463746-CreateBusinessDownloadableReportTable.js +20 -0
- package/dist/migrations/1733723463746-CreateBusinessDownloadableReportTable.js.map +1 -0
- package/dist/migrations/1733724130691-CreateBusinessReportTable.d.ts +5 -0
- package/dist/migrations/1733724130691-CreateBusinessReportTable.js +24 -0
- package/dist/migrations/1733724130691-CreateBusinessReportTable.js.map +1 -0
- package/dist/migrations/1748933950283-CreateUserBusinessSecretTable.d.ts +5 -0
- package/dist/migrations/1748933950283-CreateUserBusinessSecretTable.js +26 -0
- package/dist/migrations/1748933950283-CreateUserBusinessSecretTable.js.map +1 -0
- package/package.json +1 -1
|
@@ -4,10 +4,12 @@ export * from './app.integration.entity';
|
|
|
4
4
|
export * from './business.app.integration.credential.entity';
|
|
5
5
|
export * from './business.app.integration.entity';
|
|
6
6
|
export * from './business.app.integration.messages.entity';
|
|
7
|
+
export * from './business.downloadable.report.entity';
|
|
7
8
|
export * from './business.email.entity';
|
|
8
9
|
export * from './business.group.role.entity';
|
|
9
10
|
export * from './business.menu.entity';
|
|
10
11
|
export * from './business.preference.entity';
|
|
12
|
+
export * from './business.report.entity';
|
|
11
13
|
export * from './business.user.entity';
|
|
12
14
|
export * from './business.user.group.entity';
|
|
13
15
|
export * from './business.user.notification.preference.entity';
|
|
@@ -63,6 +65,7 @@ export * from './slack.webhook.entity';
|
|
|
63
65
|
export * from './slack.webhook.message.entity';
|
|
64
66
|
export * from './ui.action.entity';
|
|
65
67
|
export * from './ui.action.role.entity';
|
|
68
|
+
export * from './user.business.secret.entity';
|
|
66
69
|
export * from './user.notification.entity';
|
|
67
70
|
export * from './user.preference.entity';
|
|
68
71
|
export * from './user.role.entity';
|
|
@@ -20,10 +20,12 @@ __exportStar(require("./app.integration.entity"), exports);
|
|
|
20
20
|
__exportStar(require("./business.app.integration.credential.entity"), exports);
|
|
21
21
|
__exportStar(require("./business.app.integration.entity"), exports);
|
|
22
22
|
__exportStar(require("./business.app.integration.messages.entity"), exports);
|
|
23
|
+
__exportStar(require("./business.downloadable.report.entity"), exports);
|
|
23
24
|
__exportStar(require("./business.email.entity"), exports);
|
|
24
25
|
__exportStar(require("./business.group.role.entity"), exports);
|
|
25
26
|
__exportStar(require("./business.menu.entity"), exports);
|
|
26
27
|
__exportStar(require("./business.preference.entity"), exports);
|
|
28
|
+
__exportStar(require("./business.report.entity"), exports);
|
|
27
29
|
__exportStar(require("./business.user.entity"), exports);
|
|
28
30
|
__exportStar(require("./business.user.group.entity"), exports);
|
|
29
31
|
__exportStar(require("./business.user.notification.preference.entity"), exports);
|
|
@@ -79,6 +81,7 @@ __exportStar(require("./slack.webhook.entity"), exports);
|
|
|
79
81
|
__exportStar(require("./slack.webhook.message.entity"), exports);
|
|
80
82
|
__exportStar(require("./ui.action.entity"), exports);
|
|
81
83
|
__exportStar(require("./ui.action.role.entity"), exports);
|
|
84
|
+
__exportStar(require("./user.business.secret.entity"), exports);
|
|
82
85
|
__exportStar(require("./user.notification.entity"), exports);
|
|
83
86
|
__exportStar(require("./user.preference.entity"), exports);
|
|
84
87
|
__exportStar(require("./user.role.entity"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,+EAA6D;AAAA,oEAAkD;AAAA,6EAA2D;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,iFAA+D;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,8EAA4D;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,qDAAmC;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,2DAAyC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,gDAA8B;AAAA,qDAAmC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,mDAAiC;AAAA,uDAAqC;AAAA,sDAAoC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,qDAAmC;AAAA,0DAAwC;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,qDAAmC;AAAA,gEAA8C;AAAA,yDAAuC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,uEAAoD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,+EAA6D;AAAA,oEAAkD;AAAA,6EAA2D;AAAA,wEAAsD;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,2DAAyC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,iFAA+D;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,8EAA4D;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,qDAAmC;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,2DAAyC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,gDAA8B;AAAA,qDAAmC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,mDAAiC;AAAA,uDAAqC;AAAA,sDAAoC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,qDAAmC;AAAA,0DAAwC;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,qDAAmC;AAAA,gEAA8C;AAAA,yDAAuC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,uEAAoD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CommonEntity, UserEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { UserBusinessSecretAttributesDto } from '../dtos/user.business.secret.attributes.dto';
|
|
3
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
4
|
+
export declare class UserBusinessSecretEntity extends CommonEntity {
|
|
5
|
+
name: string;
|
|
6
|
+
business_id: number;
|
|
7
|
+
user_id: number;
|
|
8
|
+
client_id: string;
|
|
9
|
+
client_secret: string;
|
|
10
|
+
active: boolean;
|
|
11
|
+
last_activity_at: Date;
|
|
12
|
+
ips: any;
|
|
13
|
+
access_scopes: any;
|
|
14
|
+
attributes: UserBusinessSecretAttributesDto;
|
|
15
|
+
business: AccessBusinessEntity;
|
|
16
|
+
user: UserEntity;
|
|
17
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.UserBusinessSecretEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const user_business_secret_attributes_dto_1 = require("../dtos/user.business.secret.attributes.dto");
|
|
16
|
+
const access_business_entity_1 = require("./access.business.entity");
|
|
17
|
+
let UserBusinessSecretEntity = class UserBusinessSecretEntity extends nestjs_utility_services_1.CommonEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.UserBusinessSecretEntity = UserBusinessSecretEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], UserBusinessSecretEntity.prototype, "name", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], UserBusinessSecretEntity.prototype, "business_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], UserBusinessSecretEntity.prototype, "user_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], UserBusinessSecretEntity.prototype, "client_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], UserBusinessSecretEntity.prototype, "client_secret", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)(),
|
|
42
|
+
__metadata("design:type", Boolean)
|
|
43
|
+
], UserBusinessSecretEntity.prototype, "active", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)(),
|
|
46
|
+
__metadata("design:type", Date)
|
|
47
|
+
], UserBusinessSecretEntity.prototype, "last_activity_at", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)('json'),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], UserBusinessSecretEntity.prototype, "ips", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)('json'),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], UserBusinessSecretEntity.prototype, "access_scopes", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)('json'),
|
|
58
|
+
__metadata("design:type", user_business_secret_attributes_dto_1.UserBusinessSecretAttributesDto)
|
|
59
|
+
], UserBusinessSecretEntity.prototype, "attributes", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
62
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
63
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
64
|
+
], UserBusinessSecretEntity.prototype, "business", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.UserEntity),
|
|
67
|
+
(0, typeorm_1.JoinColumn)({ name: 'user_id' }),
|
|
68
|
+
__metadata("design:type", nestjs_utility_services_1.UserEntity)
|
|
69
|
+
], UserBusinessSecretEntity.prototype, "user", void 0);
|
|
70
|
+
exports.UserBusinessSecretEntity = UserBusinessSecretEntity = __decorate([
|
|
71
|
+
(0, typeorm_1.Entity)('bz_user_secrets')
|
|
72
|
+
], UserBusinessSecretEntity);
|
|
73
|
+
//# sourceMappingURL=user.business.secret.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.business.secret.entity.js","sourceRoot":"","sources":["../../../src/access/entities/user.business.secret.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAkF;AAClF,qCAAgE;AAChE,qGAA8F;AAC9F,qEAAgE;AASzD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,sCAAY;CAkCzD,CAAA;AAlCY,4DAAwB;AAEjC;IADC,IAAA,gBAAM,GAAE;;sDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;6DACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;yDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;2DACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;+DACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;wDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;8BACS,IAAI;kEAAC;AAGvB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;qDACN;AAGT;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;+DACI;AAGnB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,qEAA+B;4DAAC;AAGgC;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;0DAAC;AAC7C;IAA7D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAU,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,oCAAU;sDAAC;mCAjCtE,wBAAwB;IADpC,IAAA,gBAAM,EAAC,iBAAiB,CAAC;GACb,wBAAwB,CAkCpC"}
|
|
@@ -6,6 +6,7 @@ import { BulkUploadItemController } from './controllers/bulk.upload.item.control
|
|
|
6
6
|
import { BusinessAppIntegrationController } from './controllers/business.app.integration.controller';
|
|
7
7
|
import { BusinessNotificationChannelPreferenceController } from './controllers/business.notification.channel.preference.controller';
|
|
8
8
|
import { BusinessPreferenceController } from './controllers/business.preference.controller';
|
|
9
|
+
import { BusinessReportController } from './controllers/business.report.controller';
|
|
9
10
|
import { BusinessUserGroupController } from './controllers/business.user.group.controller';
|
|
10
11
|
import { BusinessUserNotificationPreferenceController } from './controllers/business.user.notification.preference.controller';
|
|
11
12
|
import { BusinessWebhookController } from './controllers/business.webhook.controller';
|
|
@@ -28,6 +29,7 @@ import { ListingPreferenceController } from './controllers/listing.preference.co
|
|
|
28
29
|
import { ScheduledReportController } from './controllers/scheduled.report.controller';
|
|
29
30
|
import { ScheduledReportItemController } from './controllers/scheduled.report.item.controller';
|
|
30
31
|
import { TagController } from './controllers/tag.controller';
|
|
32
|
+
import { UserBusinessSecretController } from './controllers/user.business.secret.controller';
|
|
31
33
|
import { UserNotificationController } from './controllers/user.notification.controller';
|
|
32
34
|
import { UserPreferenceController } from './controllers/user.preference.controller';
|
|
33
35
|
import { AccessBusinessParamDto } from './dtos/access.business.param.dto';
|
|
@@ -56,6 +58,7 @@ import { EditQueryDto } from './dtos/edit.query.dto';
|
|
|
56
58
|
import { EmailMessageNormalizedDto } from './dtos/email.message.normalized.dto';
|
|
57
59
|
import { FcmTemplateAttributesDto } from './dtos/fcm.template.attributes.dto';
|
|
58
60
|
import { GchatPostingPayloadDto } from './dtos/gchat.posting.payload.dto';
|
|
61
|
+
import { GenerateBusinessReportDto } from './dtos/generate.business.report.dto';
|
|
59
62
|
import { GetScriptValuesDto } from './dtos/get.script.values.dto';
|
|
60
63
|
import { ListResponseDto } from './dtos/list.response.dto';
|
|
61
64
|
import { ListResponseFormatDto } from './dtos/list.response.format.dto';
|
|
@@ -77,9 +80,11 @@ import { TokenPayloadDto } from './dtos/token.payload.dto';
|
|
|
77
80
|
import { AccessBusinessEntity } from './entities/access.business.entity';
|
|
78
81
|
import { BusinessAppIntegrationCredentialEntity } from './entities/business.app.integration.credential.entity';
|
|
79
82
|
import { BusinessAppIntegrationMessagesEntity } from './entities/business.app.integration.messages.entity';
|
|
83
|
+
import { BusinessDownloadableReportEntity } from './entities/business.downloadable.report.entity';
|
|
80
84
|
import { BusinessEmailEntity } from './entities/business.email.entity';
|
|
81
85
|
import { BusinessGroupRoleEntity } from './entities/business.group.role.entity';
|
|
82
86
|
import { BusinessMenuEntity } from './entities/business.menu.entity';
|
|
87
|
+
import { BusinessReportEntity } from './entities/business.report.entity';
|
|
83
88
|
import { BusinessUserEntity } from './entities/business.user.entity';
|
|
84
89
|
import { BusinessUserRoleEntity } from './entities/business.user.role.entity';
|
|
85
90
|
import { BusinessWebhookEntity } from './entities/business.webhook.entity';
|
|
@@ -134,10 +139,12 @@ import { AppIntegrationJob } from './jobs/app.integration.job';
|
|
|
134
139
|
import { BusinessAppIntegrationCredentialJob } from './jobs/business.app.integration.credential.job';
|
|
135
140
|
import { BusinessAppIntegrationJob } from './jobs/business.app.integration.job';
|
|
136
141
|
import { BusinessAppIntegrationMessagesJob } from './jobs/business.app.integration.messages.job';
|
|
142
|
+
import { BusinessDownloadableReportJob } from './jobs/business.downloadable.report.job';
|
|
137
143
|
import { BusinessEmailJob } from './jobs/business.email.job';
|
|
138
144
|
import { BusinessGroupRoleJob } from './jobs/business.group.role.job';
|
|
139
145
|
import { BusinessMenuJob } from './jobs/business.menu.job';
|
|
140
146
|
import { BusinessPreferenceJob } from './jobs/business.preference.job';
|
|
147
|
+
import { BusinessReportJob } from './jobs/business.report.job';
|
|
141
148
|
import { BusinessUserGroupJob } from './jobs/business.user.group.job';
|
|
142
149
|
import { BusinessUserJob } from './jobs/business.user.job';
|
|
143
150
|
import { BusinessUserNotificationPreferenceJob } from './jobs/business.user.notification.preference.job';
|
|
@@ -170,6 +177,7 @@ import { GchatTemplateJob } from './jobs/gchat.template.job';
|
|
|
170
177
|
import { GchatUserJob } from './jobs/gchat.user.job';
|
|
171
178
|
import { GchatWebhookJob } from './jobs/gchat.webhook.job';
|
|
172
179
|
import { GchatWebhookMessageJob } from './jobs/gchat.webhook.message.job';
|
|
180
|
+
import { GenerateBusinessReportJob } from './jobs/generate.business.report.job';
|
|
173
181
|
import { GroupMemberJob } from './jobs/group.member.job';
|
|
174
182
|
import { GroupRoleJob } from './jobs/group.role.job';
|
|
175
183
|
import { ListPreferenceJob } from './jobs/list.preference.job';
|
|
@@ -200,6 +208,7 @@ import { SlackWebhookMessageJob } from './jobs/slack.webhook.message.job';
|
|
|
200
208
|
import { SyncBURoleJob } from './jobs/sync.b.u.role.job';
|
|
201
209
|
import { UiActionJob } from './jobs/ui.action.job';
|
|
202
210
|
import { UiActionRoleJob } from './jobs/ui.action.role.job';
|
|
211
|
+
import { UserBusinessSecretJob } from './jobs/user.business.secret.job';
|
|
203
212
|
import { UserNotificationJob } from './jobs/user.notification.job';
|
|
204
213
|
import { UserPreferenceJob } from './jobs/user.preference.job';
|
|
205
214
|
import { UserRoleJob } from './jobs/user.role.job';
|
|
@@ -215,6 +224,7 @@ import { WhatsappTemplateJob } from './jobs/whatsapp.template.job';
|
|
|
215
224
|
import { WhitelistedWhatsappNumberJob } from './jobs/whitelisted.whatsapp.number.job';
|
|
216
225
|
import { CommonTagController } from './libraries/common.tag.controller';
|
|
217
226
|
import { ConversationController } from './libraries/conversation.controller';
|
|
227
|
+
import { CreateUserBusinessSecret } from './libraries/create.user.business.secret';
|
|
218
228
|
import { EvaluateEmailRule } from './libraries/evaluate.email.rule';
|
|
219
229
|
import { ProcessApiAccountData } from './libraries/process.api.account.data';
|
|
220
230
|
import { ProcessApiAccountList } from './libraries/process.api.account.list';
|
|
@@ -279,6 +289,7 @@ import { SyncBusinessUserRole } from './libraries/sync.business.user.role';
|
|
|
279
289
|
import { ValidateCustomFieldData } from './libraries/validate.custom.field.data';
|
|
280
290
|
import { BusinessMiddleware } from './middlewares/business.middleware';
|
|
281
291
|
import { ExternalAccessMiddleware } from './middlewares/external.access.middleware';
|
|
292
|
+
import { UserBusinessAccessMiddleware } from './middlewares/user.business.access.middleware';
|
|
282
293
|
import { AccessBusinessService } from './services/access.business.service';
|
|
283
294
|
import { AccessReportService } from './services/access.report.service';
|
|
284
295
|
import { ApiAccountService } from './services/api.account.service';
|
|
@@ -301,6 +312,7 @@ import { ScheduledReportService } from './services/scheduled.report.service';
|
|
|
301
312
|
import { SendEmailService } from './services/send.email.service';
|
|
302
313
|
import { SlabsService } from './services/slabs.service';
|
|
303
314
|
import { SlackService } from './services/slack.service';
|
|
315
|
+
import { UserBusinessAccessService } from './services/user.business.access.service';
|
|
304
316
|
import { UserNotificationService } from './services/user.notification.service';
|
|
305
317
|
import { UserPreferenceService } from './services/user.preference.service';
|
|
306
318
|
import { UtilityService } from './services/utility.service';
|
|
@@ -311,10 +323,12 @@ import { AppIntegrationSubscriber } from './subscribers/app.integration.subscrib
|
|
|
311
323
|
import { BusinessAppIntegrationCredentialSubscriber } from './subscribers/business.app.integration.credential.subscriber';
|
|
312
324
|
import { BusinessAppIntegrationMessagesSubscriber } from './subscribers/business.app.integration.messages.subscriber';
|
|
313
325
|
import { BusinessAppIntegrationSubscriber } from './subscribers/business.app.integration.subscriber';
|
|
326
|
+
import { BusinessDownloadableReportSubscriber } from './subscribers/business.downloadable.report.subscriber';
|
|
314
327
|
import { BusinessEmailSubscriber } from './subscribers/business.email.subscriber';
|
|
315
328
|
import { BusinessGroupRoleSubscriber } from './subscribers/business.group.role.subscriber';
|
|
316
329
|
import { BusinessMenuSubscriber } from './subscribers/business.menu.subscriber';
|
|
317
330
|
import { BusinessPreferenceSubscriber } from './subscribers/business.preference.subscriber';
|
|
331
|
+
import { BusinessReportSubscriber } from './subscribers/business.report.subscriber';
|
|
318
332
|
import { BusinessUserGroupSubscriber } from './subscribers/business.user.group.subscriber';
|
|
319
333
|
import { BusinessUserNotificationPreferenceSubscriber } from './subscribers/business.user.notification.preference.subscriber';
|
|
320
334
|
import { BusinessUserRoleSubscriber } from './subscribers/business.user.role.subscriber';
|
|
@@ -372,6 +386,7 @@ import { SlackWebhookMessageSubscriber } from './subscribers/slack.webhook.messa
|
|
|
372
386
|
import { SlackWebhookSubscriber } from './subscribers/slack.webhook.subscriber';
|
|
373
387
|
import { UiActionRoleSubscriber } from './subscribers/ui.action.role.subscriber';
|
|
374
388
|
import { UiActionSubscriber } from './subscribers/ui.action.subscriber';
|
|
389
|
+
import { UserBusinessSecretSubscriber } from './subscribers/user.business.secret.subscriber';
|
|
375
390
|
import { UserNotificationSubscriber } from './subscribers/user.notification.subscriber';
|
|
376
391
|
import { UserPreferenceSubscriber } from './subscribers/user.preference.subscriber';
|
|
377
392
|
import { UserRoleSubscriber } from './subscribers/user.role.subscriber';
|
|
@@ -385,14 +400,14 @@ import { WhatsappTemplateSubscriber } from './subscribers/whatsapp.template.subs
|
|
|
385
400
|
import { WhitelistedWhatsappNumberSubscriber } from './subscribers/whitelisted.whatsapp.number.subscriber';
|
|
386
401
|
declare const es6Classes: {
|
|
387
402
|
commands: (typeof WebhookPollCommand)[];
|
|
388
|
-
controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessAppIntegrationController | typeof BusinessNotificationChannelPreferenceController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof BusinessUserNotificationPreferenceController | typeof BusinessWebhookController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CommonWebhookController | typeof CustomFieldController | typeof DashboardBuilderController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperModeController | typeof DownloadLogController | typeof EmailRuleController | typeof FcmTokenController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserNotificationController | typeof UserPreferenceController)[];
|
|
389
|
-
dtos: (typeof FcmTemplateAttributesDto | typeof NotificationPayloadDto | typeof SendEmailNotificationDataDto | typeof GchatPostingPayloadDto | typeof BoardCastInternalStatusMessageDto | typeof SendWhatsappMessagePayloadDto | typeof AddShortUrlDto | typeof BankAccountPayloadDto | typeof RecurringDefinitionDto | typeof EmailMessageNormalizedDto | typeof SendWebhookRequestPayload | typeof AccessBusinessParamDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof DbFindDto | typeof ListResponseDto | typeof AddListingPreferenceDto | typeof ProcessCommonListConfigDto | typeof AddIntegrationPreferenceDto | typeof AddBusinessPreferenceDto | typeof AddBusinessUserNotificationPreferenceDto | typeof AddWebhookDto | typeof ModifyCustomFieldStatusDto | typeof GetScriptValuesDto | typeof AddDashboardComponentPropertiesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof EditQueryDto | typeof TokenPayloadDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddBusinessAppIntegrationDto | typeof AddConversationDto | typeof AddTagDto | typeof BusinessAppIntegrationMessagePayloadDto | typeof ProcessListingPayloadDto | typeof RequestLogOptionsDto | typeof ServerEmailRecipientsDto | typeof ServerEmailMessageDto | typeof SlackMessageDataDto)[];
|
|
390
|
-
entities: (typeof AccessBusinessEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof EmailStyleEntity | typeof EmailTemplateLogEntity | typeof FcmMessageEntity | typeof FcmTokenEntity | typeof GchatUserEntity | typeof GchatMessageEntity | typeof GchatWebhookMessageEntity | typeof SlackMessageEntity | typeof BzNotificationChannelPreferenceEntity | typeof SlackIntegrationEntity | typeof SlackUserEntity | typeof WhatsappMessageEntity | typeof WhatsappPreferenceEntity | typeof BusinessAppIntegrationCredentialEntity | typeof BusinessAppIntegrationMessagesEntity | typeof BusinessEmailEntity | typeof BusinessGroupRoleEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof ChildMenuEntity | typeof BusinessMenuEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof BusinessWebhookEntity | typeof ConversationEntity | typeof DashboardComponentEntity | typeof DownloadLogEntity | typeof EmailRecipientEntity | typeof EmailMessageEntity | typeof GroupMemberEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof RequestLogEntity | typeof ScheduledReportEntity | typeof ScheduledReportEmailEntity | typeof ScheduledReportItemEntity | typeof SlackWebhookMessageEntity | typeof UserNotificationEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookLogEntity | typeof WebhookSlugEntity)[];
|
|
403
|
+
controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessAppIntegrationController | typeof BusinessNotificationChannelPreferenceController | typeof BusinessPreferenceController | typeof BusinessReportController | typeof BusinessUserGroupController | typeof BusinessUserNotificationPreferenceController | typeof BusinessWebhookController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CommonWebhookController | typeof CustomFieldController | typeof DashboardBuilderController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperModeController | typeof DownloadLogController | typeof EmailRuleController | typeof FcmTokenController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserBusinessSecretController | typeof UserNotificationController | typeof UserPreferenceController)[];
|
|
404
|
+
dtos: (typeof FcmTemplateAttributesDto | typeof NotificationPayloadDto | typeof SendEmailNotificationDataDto | typeof GchatPostingPayloadDto | typeof BoardCastInternalStatusMessageDto | typeof SendWhatsappMessagePayloadDto | typeof AddShortUrlDto | typeof BankAccountPayloadDto | typeof RecurringDefinitionDto | typeof EmailMessageNormalizedDto | typeof SendWebhookRequestPayload | typeof AccessBusinessParamDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof DbFindDto | typeof ListResponseDto | typeof AddListingPreferenceDto | typeof ProcessCommonListConfigDto | typeof AddIntegrationPreferenceDto | typeof AddBusinessPreferenceDto | typeof GenerateBusinessReportDto | typeof AddBusinessUserNotificationPreferenceDto | typeof AddWebhookDto | typeof ModifyCustomFieldStatusDto | typeof GetScriptValuesDto | typeof AddDashboardComponentPropertiesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof EditQueryDto | typeof TokenPayloadDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddBusinessAppIntegrationDto | typeof AddConversationDto | typeof AddTagDto | typeof BusinessAppIntegrationMessagePayloadDto | typeof ProcessListingPayloadDto | typeof RequestLogOptionsDto | typeof ServerEmailRecipientsDto | typeof ServerEmailMessageDto | typeof SlackMessageDataDto)[];
|
|
405
|
+
entities: (typeof AccessBusinessEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof EmailStyleEntity | typeof EmailTemplateLogEntity | typeof FcmMessageEntity | typeof FcmTokenEntity | typeof GchatUserEntity | typeof GchatMessageEntity | typeof GchatWebhookMessageEntity | typeof SlackMessageEntity | typeof BzNotificationChannelPreferenceEntity | typeof SlackIntegrationEntity | typeof SlackUserEntity | typeof WhatsappMessageEntity | typeof WhatsappPreferenceEntity | typeof BusinessAppIntegrationCredentialEntity | typeof BusinessAppIntegrationMessagesEntity | typeof BusinessDownloadableReportEntity | typeof BusinessEmailEntity | typeof BusinessGroupRoleEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof ChildMenuEntity | typeof BusinessMenuEntity | typeof BusinessReportEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof BusinessWebhookEntity | typeof ConversationEntity | typeof DashboardComponentEntity | typeof DownloadLogEntity | typeof EmailRecipientEntity | typeof EmailMessageEntity | typeof GroupMemberEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof RequestLogEntity | typeof ScheduledReportEntity | typeof ScheduledReportEmailEntity | typeof ScheduledReportItemEntity | typeof SlackWebhookMessageEntity | typeof UserNotificationEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookLogEntity | typeof WebhookSlugEntity)[];
|
|
391
406
|
enums: (typeof NotificationTypeEnum | typeof NotificationChannelTypeEnum | typeof RecurringPeriodEnum | typeof CustomColumnTypeEnum | typeof ProductTypeEnum | typeof PlatformTypeEnum)[];
|
|
392
|
-
jobs: (typeof WhatsappMessagePayloadDto | typeof EvaluateEmailRuleJob | typeof AccessTestJob | typeof ApiAccountJob | typeof AppIntegrationJob | typeof BusinessAppIntegrationCredentialJob | typeof BusinessAppIntegrationJob | typeof BusinessAppIntegrationMessagesJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessMenuJob | typeof BusinessPreferenceJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserNotificationPreferenceJob | typeof BusinessUserRoleJob | typeof BusinessWebhookJob | typeof BzNotificationChannelPreferenceJob | typeof ChildMenuJob | typeof ChoiceListJob | typeof ChoiceTypeJob | typeof ConversationJob | typeof CustomFieldJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof EmailAttachmentJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof EmailRuleJob | typeof EmailStyleJob | typeof EmailTemplateLogJob | typeof FcmMessageJob | typeof FcmNotificationJob | typeof FcmTemplateJob | typeof FcmTokenJob | typeof GchatIncomingWebhookJob | typeof GchatMessageJob | typeof GchatTemplateJob | typeof GchatUserJob | typeof GchatWebhookJob | typeof GchatWebhookMessageJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof ListPreferenceJob | typeof ListingColumnJob | typeof ListingPageJob | typeof ListingPreferenceJob | typeof MenuActionJob | typeof MenuJob | typeof MenuRoleJob | typeof ModuleJob | typeof ModuleMenuJob | typeof PreferenceUserGroupJob | typeof PreferenceUsersJob | typeof ProcessServerEmailJob | typeof ProductJob | typeof RequestLogJob | typeof RoleGroupJob | typeof ScheduledReportEmailJob | typeof ScheduledReportItemJob | typeof ScheduledReportJob | typeof SlackIncomingWebhookJob | typeof SlackIntegrationJob | typeof SlackMessageJob | typeof SlackTemplateJob | typeof SlackUserJob | typeof SlackWebhookJob | typeof SlackWebhookMessageJob | typeof SyncBURoleJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserNotificationJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookEventJob | typeof WebhookLogJob | typeof WebhookSlugJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessageJob | typeof WhatsappTemplateJob | typeof WhitelistedWhatsappNumberJob)[];
|
|
393
|
-
libraries: (typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendFcmNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof ProcessWhatsappMessage | typeof SendWhatsappMessageNotification | typeof EvaluateEmailRule | typeof SendWebhookRequest | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessListingCsvFile | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessNotificationChannelPreferenceList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof ProcessEmailRuleList | typeof ProcessEmailRuleData | typeof SetFcmToken | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof ProcessUserNotificationList | typeof ProcessRevokeSlackIntegration | typeof ProcessRevokeZohoIntegration | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof SyncBusinessUserRole | typeof CommonTagController | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessNotification | typeof ProcessSlackMessage | typeof ProcessTestList)[];
|
|
394
|
-
middlewares: (typeof BusinessMiddleware | typeof ExternalAccessMiddleware)[];
|
|
395
|
-
services: (typeof SendEmailService | typeof GchatService | typeof SlackService | typeof WhatsappService | typeof NotificationService | typeof SlabsService | typeof WebhookService | typeof AccessBusinessService | typeof ListingService | typeof AuditLogService | typeof AccessReportService | typeof PlatformService | typeof ListingPreferenceService | typeof ScheduledReportService | typeof BusinessUserRoleService | typeof UtilityService | typeof CustomFieldService | typeof ApiAccountService | typeof AppIntegrationService | typeof BusinessPreferenceService | typeof Es6JobsService | typeof GptService | typeof LoadEntityService | typeof RequestLogService | typeof UserNotificationService | typeof UserPreferenceService | typeof Es6Service)[];
|
|
396
|
-
subscribers: (typeof ApiAccountSubscriber | typeof AppIntegrationSubscriber | typeof BusinessAppIntegrationCredentialSubscriber | typeof BusinessAppIntegrationMessagesSubscriber | typeof BusinessAppIntegrationSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessMenuSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserNotificationPreferenceSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | typeof BusinessWebhookSubscriber | typeof BzNotificationChannelPreferenceSubscriber | typeof ChildMenuSubscriber | typeof ChoiceListSubscriber | typeof ChoiceTypeSubscriber | typeof ConversationSubscriber | typeof CustomFieldSubscriber | typeof CustomReportSubscriber | typeof DashboardComponentSubscriber | typeof DashboardSubscriber | typeof DownloadLogSubscriber | typeof EmailAttachmentSubscriber | typeof EmailMessageSubscriber | typeof EmailRecipientSubscriber | typeof EmailRuleSubscriber | typeof EmailStyleSubscriber | typeof EmailTemplateLogSubscriber | typeof FcmMessageSubscriber | typeof FcmNotificationSubscriber | typeof FcmTemplateSubscriber | typeof FcmTokenSubscriber | typeof GchatMessageSubscriber | typeof GchatTemplateSubscriber | typeof GchatUserSubscriber | typeof GchatWebhookMessageSubscriber | typeof GchatWebhookSubscriber | typeof GroupMemberSubscriber | typeof GroupRoleSubscriber | typeof ListPreferenceSubscriber | typeof ListingColumnSubscriber | typeof ListingPageSubscriber | typeof ListingPreferenceSubscriber | typeof MenuActionSubscriber | typeof MenuRoleSubscriber | typeof MenuSubscriber | typeof ModuleMenuSubscriber | typeof ModuleSubscriber | typeof PreferenceUserGroupSubscriber | typeof PreferenceUserSubscriber | typeof ProductSubscriber | typeof RequestLogSubscriber | typeof RoleGroupSubscriber | typeof ScheduledReportEmailSubscriber | typeof ScheduledReportItemSubscriber | typeof ScheduledReportSubscriber | typeof SlackIntegrationSubscriber | typeof SlackMessageSubscriber | typeof SlackTemplateSubscriber | typeof SlackUserSubscriber | typeof SlackWebhookMessageSubscriber | typeof SlackWebhookSubscriber | typeof UiActionRoleSubscriber | typeof UiActionSubscriber | typeof UserNotificationSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber | typeof WatchlistAssignmentSubscriber | typeof WebhookEventSubscriber | typeof WebhookLogSubscriber | typeof WebhookSlugSubscriber | typeof WebhookTypeSubscriber | typeof WhatsappMessageSubscriber | typeof WhatsappTemplateSubscriber | typeof WhitelistedWhatsappNumberSubscriber)[];
|
|
407
|
+
jobs: (typeof WhatsappMessagePayloadDto | typeof EvaluateEmailRuleJob | typeof AccessTestJob | typeof ApiAccountJob | typeof AppIntegrationJob | typeof BusinessAppIntegrationCredentialJob | typeof BusinessAppIntegrationJob | typeof BusinessAppIntegrationMessagesJob | typeof BusinessDownloadableReportJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessMenuJob | typeof BusinessPreferenceJob | typeof GenerateBusinessReportJob | typeof BusinessReportJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserNotificationPreferenceJob | typeof BusinessUserRoleJob | typeof BusinessWebhookJob | typeof BzNotificationChannelPreferenceJob | typeof ChildMenuJob | typeof ChoiceListJob | typeof ChoiceTypeJob | typeof ConversationJob | typeof CustomFieldJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof EmailAttachmentJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof EmailRuleJob | typeof EmailStyleJob | typeof EmailTemplateLogJob | typeof FcmMessageJob | typeof FcmNotificationJob | typeof FcmTemplateJob | typeof FcmTokenJob | typeof GchatIncomingWebhookJob | typeof GchatMessageJob | typeof GchatTemplateJob | typeof GchatUserJob | typeof GchatWebhookJob | typeof GchatWebhookMessageJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof ListPreferenceJob | typeof ListingColumnJob | typeof ListingPageJob | typeof ListingPreferenceJob | typeof MenuActionJob | typeof MenuJob | typeof MenuRoleJob | typeof ModuleJob | typeof ModuleMenuJob | typeof PreferenceUserGroupJob | typeof PreferenceUsersJob | typeof ProcessServerEmailJob | typeof ProductJob | typeof RequestLogJob | typeof RoleGroupJob | typeof ScheduledReportEmailJob | typeof ScheduledReportItemJob | typeof ScheduledReportJob | typeof SlackIncomingWebhookJob | typeof SlackIntegrationJob | typeof SlackMessageJob | typeof SlackTemplateJob | typeof SlackUserJob | typeof SlackWebhookJob | typeof SlackWebhookMessageJob | typeof SyncBURoleJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserBusinessSecretJob | typeof UserNotificationJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookEventJob | typeof WebhookLogJob | typeof WebhookSlugJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessageJob | typeof WhatsappTemplateJob | typeof WhitelistedWhatsappNumberJob)[];
|
|
408
|
+
libraries: (typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendFcmNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof ProcessWhatsappMessage | typeof SendWhatsappMessageNotification | typeof EvaluateEmailRule | typeof SendWebhookRequest | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessListingCsvFile | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessNotificationChannelPreferenceList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof ProcessEmailRuleList | typeof ProcessEmailRuleData | typeof SetFcmToken | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof CreateUserBusinessSecret | typeof ProcessUserNotificationList | typeof ProcessRevokeSlackIntegration | typeof ProcessRevokeZohoIntegration | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof SyncBusinessUserRole | typeof CommonTagController | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessNotification | typeof ProcessSlackMessage | typeof ProcessTestList)[];
|
|
409
|
+
middlewares: (typeof BusinessMiddleware | typeof ExternalAccessMiddleware | typeof UserBusinessAccessMiddleware)[];
|
|
410
|
+
services: (typeof SendEmailService | typeof GchatService | typeof SlackService | typeof WhatsappService | typeof NotificationService | typeof SlabsService | typeof WebhookService | typeof AccessBusinessService | typeof ListingService | typeof AuditLogService | typeof AccessReportService | typeof PlatformService | typeof ListingPreferenceService | typeof ScheduledReportService | typeof BusinessUserRoleService | typeof UtilityService | typeof CustomFieldService | typeof ApiAccountService | typeof UserBusinessAccessService | typeof AppIntegrationService | typeof BusinessPreferenceService | typeof Es6JobsService | typeof GptService | typeof LoadEntityService | typeof RequestLogService | typeof UserNotificationService | typeof UserPreferenceService | typeof Es6Service)[];
|
|
411
|
+
subscribers: (typeof ApiAccountSubscriber | typeof AppIntegrationSubscriber | typeof BusinessAppIntegrationCredentialSubscriber | typeof BusinessAppIntegrationMessagesSubscriber | typeof BusinessAppIntegrationSubscriber | typeof BusinessDownloadableReportSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessMenuSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessReportSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserNotificationPreferenceSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | typeof BusinessWebhookSubscriber | typeof BzNotificationChannelPreferenceSubscriber | typeof ChildMenuSubscriber | typeof ChoiceListSubscriber | typeof ChoiceTypeSubscriber | typeof ConversationSubscriber | typeof CustomFieldSubscriber | typeof CustomReportSubscriber | typeof DashboardComponentSubscriber | typeof DashboardSubscriber | typeof DownloadLogSubscriber | typeof EmailAttachmentSubscriber | typeof EmailMessageSubscriber | typeof EmailRecipientSubscriber | typeof EmailRuleSubscriber | typeof EmailStyleSubscriber | typeof EmailTemplateLogSubscriber | typeof FcmMessageSubscriber | typeof FcmNotificationSubscriber | typeof FcmTemplateSubscriber | typeof FcmTokenSubscriber | typeof GchatMessageSubscriber | typeof GchatTemplateSubscriber | typeof GchatUserSubscriber | typeof GchatWebhookMessageSubscriber | typeof GchatWebhookSubscriber | typeof GroupMemberSubscriber | typeof GroupRoleSubscriber | typeof ListPreferenceSubscriber | typeof ListingColumnSubscriber | typeof ListingPageSubscriber | typeof ListingPreferenceSubscriber | typeof MenuActionSubscriber | typeof MenuRoleSubscriber | typeof MenuSubscriber | typeof ModuleMenuSubscriber | typeof ModuleSubscriber | typeof PreferenceUserGroupSubscriber | typeof PreferenceUserSubscriber | typeof ProductSubscriber | typeof RequestLogSubscriber | typeof RoleGroupSubscriber | typeof ScheduledReportEmailSubscriber | typeof ScheduledReportItemSubscriber | typeof ScheduledReportSubscriber | typeof SlackIntegrationSubscriber | typeof SlackMessageSubscriber | typeof SlackTemplateSubscriber | typeof SlackUserSubscriber | typeof SlackWebhookMessageSubscriber | typeof SlackWebhookSubscriber | typeof UiActionRoleSubscriber | typeof UiActionSubscriber | typeof UserBusinessSecretSubscriber | typeof UserNotificationSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber | typeof WatchlistAssignmentSubscriber | typeof WebhookEventSubscriber | typeof WebhookLogSubscriber | typeof WebhookSlugSubscriber | typeof WebhookTypeSubscriber | typeof WhatsappMessageSubscriber | typeof WhatsappTemplateSubscriber | typeof WhitelistedWhatsappNumberSubscriber)[];
|
|
397
412
|
};
|
|
398
413
|
export default es6Classes;
|
|
@@ -8,6 +8,7 @@ const bulk_upload_item_controller_1 = require("./controllers/bulk.upload.item.co
|
|
|
8
8
|
const business_app_integration_controller_1 = require("./controllers/business.app.integration.controller");
|
|
9
9
|
const business_notification_channel_preference_controller_1 = require("./controllers/business.notification.channel.preference.controller");
|
|
10
10
|
const business_preference_controller_1 = require("./controllers/business.preference.controller");
|
|
11
|
+
const business_report_controller_1 = require("./controllers/business.report.controller");
|
|
11
12
|
const business_user_group_controller_1 = require("./controllers/business.user.group.controller");
|
|
12
13
|
const business_user_notification_preference_controller_1 = require("./controllers/business.user.notification.preference.controller");
|
|
13
14
|
const business_webhook_controller_1 = require("./controllers/business.webhook.controller");
|
|
@@ -30,6 +31,7 @@ const listing_preference_controller_1 = require("./controllers/listing.preferenc
|
|
|
30
31
|
const scheduled_report_controller_1 = require("./controllers/scheduled.report.controller");
|
|
31
32
|
const scheduled_report_item_controller_1 = require("./controllers/scheduled.report.item.controller");
|
|
32
33
|
const tag_controller_1 = require("./controllers/tag.controller");
|
|
34
|
+
const user_business_secret_controller_1 = require("./controllers/user.business.secret.controller");
|
|
33
35
|
const user_notification_controller_1 = require("./controllers/user.notification.controller");
|
|
34
36
|
const user_preference_controller_1 = require("./controllers/user.preference.controller");
|
|
35
37
|
const access_business_param_dto_1 = require("./dtos/access.business.param.dto");
|
|
@@ -54,6 +56,7 @@ const add_scheduled_report_dto_1 = require("./dtos/add.scheduled.report.dto");
|
|
|
54
56
|
const add_short_url_dto_1 = require("./dtos/add.short.url.dto");
|
|
55
57
|
const add_tag_dto_1 = require("./dtos/add.tag.dto");
|
|
56
58
|
const add_user_preference_dto_1 = require("./dtos/add.user.preference.dto");
|
|
59
|
+
const add_user_secret_dto_1 = require("./dtos/add.user.secret.dto");
|
|
57
60
|
const add_webhook_dto_1 = require("./dtos/add.webhook.dto");
|
|
58
61
|
const api_account_attributes_dto_1 = require("./dtos/api.account.attributes.dto");
|
|
59
62
|
const api_account_list_filter_dto_1 = require("./dtos/api.account.list.filter.dto");
|
|
@@ -117,6 +120,7 @@ const gchat_template_attributes_dto_1 = require("./dtos/gchat.template.attribute
|
|
|
117
120
|
const gchat_user_attributes_dto_1 = require("./dtos/gchat.user.attributes.dto");
|
|
118
121
|
const gchat_webhook_attributes_dto_1 = require("./dtos/gchat.webhook.attributes.dto");
|
|
119
122
|
const gchat_webhook_message_attributes_dto_1 = require("./dtos/gchat.webhook.message.attributes.dto");
|
|
123
|
+
const generate_business_report_dto_1 = require("./dtos/generate.business.report.dto");
|
|
120
124
|
const get_nsql_response_dto_1 = require("./dtos/get.nsql.response.dto");
|
|
121
125
|
const get_script_values_dto_1 = require("./dtos/get.script.values.dto");
|
|
122
126
|
const group_member_attributes_dto_1 = require("./dtos/group.member.attributes.dto");
|
|
@@ -173,6 +177,7 @@ const token_payload_dto_1 = require("./dtos/token.payload.dto");
|
|
|
173
177
|
const ui_action_attributes_dto_1 = require("./dtos/ui.action.attributes.dto");
|
|
174
178
|
const ui_action_role_attributes_dto_1 = require("./dtos/ui.action.role.attributes.dto");
|
|
175
179
|
const upi_vpa_payload_dto_1 = require("./dtos/upi.vpa.payload.dto");
|
|
180
|
+
const user_business_secret_attributes_dto_1 = require("./dtos/user.business.secret.attributes.dto");
|
|
176
181
|
const user_notification_attributes_dto_1 = require("./dtos/user.notification.attributes.dto");
|
|
177
182
|
const user_notification_list_filter_dto_1 = require("./dtos/user.notification.list.filter.dto");
|
|
178
183
|
const user_preference_attributes_dto_1 = require("./dtos/user.preference.attributes.dto");
|
|
@@ -192,10 +197,12 @@ const app_integration_entity_1 = require("./entities/app.integration.entity");
|
|
|
192
197
|
const business_app_integration_credential_entity_1 = require("./entities/business.app.integration.credential.entity");
|
|
193
198
|
const business_app_integration_entity_1 = require("./entities/business.app.integration.entity");
|
|
194
199
|
const business_app_integration_messages_entity_1 = require("./entities/business.app.integration.messages.entity");
|
|
200
|
+
const business_downloadable_report_entity_1 = require("./entities/business.downloadable.report.entity");
|
|
195
201
|
const business_email_entity_1 = require("./entities/business.email.entity");
|
|
196
202
|
const business_group_role_entity_1 = require("./entities/business.group.role.entity");
|
|
197
203
|
const business_menu_entity_1 = require("./entities/business.menu.entity");
|
|
198
204
|
const business_preference_entity_1 = require("./entities/business.preference.entity");
|
|
205
|
+
const business_report_entity_1 = require("./entities/business.report.entity");
|
|
199
206
|
const business_user_entity_1 = require("./entities/business.user.entity");
|
|
200
207
|
const business_user_group_entity_1 = require("./entities/business.user.group.entity");
|
|
201
208
|
const business_user_notification_preference_entity_1 = require("./entities/business.user.notification.preference.entity");
|
|
@@ -251,6 +258,7 @@ const slack_webhook_entity_1 = require("./entities/slack.webhook.entity");
|
|
|
251
258
|
const slack_webhook_message_entity_1 = require("./entities/slack.webhook.message.entity");
|
|
252
259
|
const ui_action_entity_1 = require("./entities/ui.action.entity");
|
|
253
260
|
const ui_action_role_entity_1 = require("./entities/ui.action.role.entity");
|
|
261
|
+
const user_business_secret_entity_1 = require("./entities/user.business.secret.entity");
|
|
254
262
|
const user_notification_entity_1 = require("./entities/user.notification.entity");
|
|
255
263
|
const user_preference_entity_1 = require("./entities/user.preference.entity");
|
|
256
264
|
const user_role_entity_1 = require("./entities/user.role.entity");
|
|
@@ -275,10 +283,12 @@ const app_integration_job_1 = require("./jobs/app.integration.job");
|
|
|
275
283
|
const business_app_integration_credential_job_1 = require("./jobs/business.app.integration.credential.job");
|
|
276
284
|
const business_app_integration_job_1 = require("./jobs/business.app.integration.job");
|
|
277
285
|
const business_app_integration_messages_job_1 = require("./jobs/business.app.integration.messages.job");
|
|
286
|
+
const business_downloadable_report_job_1 = require("./jobs/business.downloadable.report.job");
|
|
278
287
|
const business_email_job_1 = require("./jobs/business.email.job");
|
|
279
288
|
const business_group_role_job_1 = require("./jobs/business.group.role.job");
|
|
280
289
|
const business_menu_job_1 = require("./jobs/business.menu.job");
|
|
281
290
|
const business_preference_job_1 = require("./jobs/business.preference.job");
|
|
291
|
+
const business_report_job_1 = require("./jobs/business.report.job");
|
|
282
292
|
const business_user_group_job_1 = require("./jobs/business.user.group.job");
|
|
283
293
|
const business_user_job_1 = require("./jobs/business.user.job");
|
|
284
294
|
const business_user_notification_preference_job_1 = require("./jobs/business.user.notification.preference.job");
|
|
@@ -311,6 +321,7 @@ const gchat_template_job_1 = require("./jobs/gchat.template.job");
|
|
|
311
321
|
const gchat_user_job_1 = require("./jobs/gchat.user.job");
|
|
312
322
|
const gchat_webhook_job_1 = require("./jobs/gchat.webhook.job");
|
|
313
323
|
const gchat_webhook_message_job_1 = require("./jobs/gchat.webhook.message.job");
|
|
324
|
+
const generate_business_report_job_1 = require("./jobs/generate.business.report.job");
|
|
314
325
|
const group_member_job_1 = require("./jobs/group.member.job");
|
|
315
326
|
const group_role_job_1 = require("./jobs/group.role.job");
|
|
316
327
|
const list_preference_job_1 = require("./jobs/list.preference.job");
|
|
@@ -341,6 +352,7 @@ const slack_webhook_message_job_1 = require("./jobs/slack.webhook.message.job");
|
|
|
341
352
|
const sync_b_u_role_job_1 = require("./jobs/sync.b.u.role.job");
|
|
342
353
|
const ui_action_job_1 = require("./jobs/ui.action.job");
|
|
343
354
|
const ui_action_role_job_1 = require("./jobs/ui.action.role.job");
|
|
355
|
+
const user_business_secret_job_1 = require("./jobs/user.business.secret.job");
|
|
344
356
|
const user_notification_job_1 = require("./jobs/user.notification.job");
|
|
345
357
|
const user_preference_job_1 = require("./jobs/user.preference.job");
|
|
346
358
|
const user_role_job_1 = require("./jobs/user.role.job");
|
|
@@ -356,6 +368,7 @@ const whatsapp_template_job_1 = require("./jobs/whatsapp.template.job");
|
|
|
356
368
|
const whitelisted_whatsapp_number_job_1 = require("./jobs/whitelisted.whatsapp.number.job");
|
|
357
369
|
const common_tag_controller_1 = require("./libraries/common.tag.controller");
|
|
358
370
|
const conversation_controller_1 = require("./libraries/conversation.controller");
|
|
371
|
+
const create_user_business_secret_1 = require("./libraries/create.user.business.secret");
|
|
359
372
|
const evaluate_email_rule_1 = require("./libraries/evaluate.email.rule");
|
|
360
373
|
const process_api_account_data_1 = require("./libraries/process.api.account.data");
|
|
361
374
|
const process_api_account_list_1 = require("./libraries/process.api.account.list");
|
|
@@ -420,6 +433,7 @@ const sync_business_user_role_1 = require("./libraries/sync.business.user.role")
|
|
|
420
433
|
const validate_custom_field_data_1 = require("./libraries/validate.custom.field.data");
|
|
421
434
|
const business_middleware_1 = require("./middlewares/business.middleware");
|
|
422
435
|
const external_access_middleware_1 = require("./middlewares/external.access.middleware");
|
|
436
|
+
const user_business_access_middleware_1 = require("./middlewares/user.business.access.middleware");
|
|
423
437
|
const access_business_service_1 = require("./services/access.business.service");
|
|
424
438
|
const access_report_service_1 = require("./services/access.report.service");
|
|
425
439
|
const api_account_service_1 = require("./services/api.account.service");
|
|
@@ -442,6 +456,7 @@ const scheduled_report_service_1 = require("./services/scheduled.report.service"
|
|
|
442
456
|
const send_email_service_1 = require("./services/send.email.service");
|
|
443
457
|
const slabs_service_1 = require("./services/slabs.service");
|
|
444
458
|
const slack_service_1 = require("./services/slack.service");
|
|
459
|
+
const user_business_access_service_1 = require("./services/user.business.access.service");
|
|
445
460
|
const user_notification_service_1 = require("./services/user.notification.service");
|
|
446
461
|
const user_preference_service_1 = require("./services/user.preference.service");
|
|
447
462
|
const utility_service_1 = require("./services/utility.service");
|
|
@@ -452,10 +467,12 @@ const app_integration_subscriber_1 = require("./subscribers/app.integration.subs
|
|
|
452
467
|
const business_app_integration_credential_subscriber_1 = require("./subscribers/business.app.integration.credential.subscriber");
|
|
453
468
|
const business_app_integration_messages_subscriber_1 = require("./subscribers/business.app.integration.messages.subscriber");
|
|
454
469
|
const business_app_integration_subscriber_1 = require("./subscribers/business.app.integration.subscriber");
|
|
470
|
+
const business_downloadable_report_subscriber_1 = require("./subscribers/business.downloadable.report.subscriber");
|
|
455
471
|
const business_email_subscriber_1 = require("./subscribers/business.email.subscriber");
|
|
456
472
|
const business_group_role_subscriber_1 = require("./subscribers/business.group.role.subscriber");
|
|
457
473
|
const business_menu_subscriber_1 = require("./subscribers/business.menu.subscriber");
|
|
458
474
|
const business_preference_subscriber_1 = require("./subscribers/business.preference.subscriber");
|
|
475
|
+
const business_report_subscriber_1 = require("./subscribers/business.report.subscriber");
|
|
459
476
|
const business_user_group_subscriber_1 = require("./subscribers/business.user.group.subscriber");
|
|
460
477
|
const business_user_notification_preference_subscriber_1 = require("./subscribers/business.user.notification.preference.subscriber");
|
|
461
478
|
const business_user_role_subscriber_1 = require("./subscribers/business.user.role.subscriber");
|
|
@@ -513,6 +530,7 @@ const slack_webhook_message_subscriber_1 = require("./subscribers/slack.webhook.
|
|
|
513
530
|
const slack_webhook_subscriber_1 = require("./subscribers/slack.webhook.subscriber");
|
|
514
531
|
const ui_action_role_subscriber_1 = require("./subscribers/ui.action.role.subscriber");
|
|
515
532
|
const ui_action_subscriber_1 = require("./subscribers/ui.action.subscriber");
|
|
533
|
+
const user_business_secret_subscriber_1 = require("./subscribers/user.business.secret.subscriber");
|
|
516
534
|
const user_notification_subscriber_1 = require("./subscribers/user.notification.subscriber");
|
|
517
535
|
const user_preference_subscriber_1 = require("./subscribers/user.preference.subscriber");
|
|
518
536
|
const user_role_subscriber_1 = require("./subscribers/user.role.subscriber");
|
|
@@ -534,6 +552,7 @@ const es6Classes = {
|
|
|
534
552
|
business_app_integration_controller_1.BusinessAppIntegrationController,
|
|
535
553
|
business_notification_channel_preference_controller_1.BusinessNotificationChannelPreferenceController,
|
|
536
554
|
business_preference_controller_1.BusinessPreferenceController,
|
|
555
|
+
business_report_controller_1.BusinessReportController,
|
|
537
556
|
business_user_group_controller_1.BusinessUserGroupController,
|
|
538
557
|
business_user_notification_preference_controller_1.BusinessUserNotificationPreferenceController,
|
|
539
558
|
business_webhook_controller_1.BusinessWebhookController,
|
|
@@ -556,6 +575,7 @@ const es6Classes = {
|
|
|
556
575
|
scheduled_report_controller_1.ScheduledReportController,
|
|
557
576
|
scheduled_report_item_controller_1.ScheduledReportItemController,
|
|
558
577
|
tag_controller_1.TagController,
|
|
578
|
+
user_business_secret_controller_1.UserBusinessSecretController,
|
|
559
579
|
user_notification_controller_1.UserNotificationController,
|
|
560
580
|
user_preference_controller_1.UserPreferenceController,
|
|
561
581
|
],
|
|
@@ -582,6 +602,7 @@ const es6Classes = {
|
|
|
582
602
|
add_short_url_dto_1.AddShortUrlDto,
|
|
583
603
|
add_tag_dto_1.AddTagDto,
|
|
584
604
|
add_user_preference_dto_1.AddUserPreferenceDto,
|
|
605
|
+
add_user_secret_dto_1.AddUserSecretDto,
|
|
585
606
|
add_webhook_dto_1.AddWebhookDto,
|
|
586
607
|
api_account_attributes_dto_1.ApiAccountAttributesDto,
|
|
587
608
|
api_account_list_filter_dto_1.ApiAccountListFilterDto,
|
|
@@ -645,6 +666,7 @@ const es6Classes = {
|
|
|
645
666
|
gchat_user_attributes_dto_1.GchatUserAttributesDto,
|
|
646
667
|
gchat_webhook_attributes_dto_1.GchatWebhookAttributesDto,
|
|
647
668
|
gchat_webhook_message_attributes_dto_1.GchatWebhookMessageAttributesDto,
|
|
669
|
+
generate_business_report_dto_1.GenerateBusinessReportDto,
|
|
648
670
|
get_nsql_response_dto_1.GetNsqlResponseDto,
|
|
649
671
|
get_script_values_dto_1.GetScriptValuesDto,
|
|
650
672
|
group_member_attributes_dto_1.GroupMemberAttributesDto,
|
|
@@ -701,6 +723,7 @@ const es6Classes = {
|
|
|
701
723
|
ui_action_attributes_dto_1.UiActionAttributesDto,
|
|
702
724
|
ui_action_role_attributes_dto_1.UiActionRoleAttributesDto,
|
|
703
725
|
upi_vpa_payload_dto_1.UpiVpaPayloadDto,
|
|
726
|
+
user_business_secret_attributes_dto_1.UserBusinessSecretAttributesDto,
|
|
704
727
|
user_notification_attributes_dto_1.UserNotificationAttributesDto,
|
|
705
728
|
user_notification_list_filter_dto_1.UserNotificationListFilterDto,
|
|
706
729
|
user_preference_attributes_dto_1.UserPreferenceAttributesDto,
|
|
@@ -722,10 +745,12 @@ const es6Classes = {
|
|
|
722
745
|
business_app_integration_credential_entity_1.BusinessAppIntegrationCredentialEntity,
|
|
723
746
|
business_app_integration_entity_1.BusinessAppIntegrationEntity,
|
|
724
747
|
business_app_integration_messages_entity_1.BusinessAppIntegrationMessagesEntity,
|
|
748
|
+
business_downloadable_report_entity_1.BusinessDownloadableReportEntity,
|
|
725
749
|
business_email_entity_1.BusinessEmailEntity,
|
|
726
750
|
business_group_role_entity_1.BusinessGroupRoleEntity,
|
|
727
751
|
business_menu_entity_1.BusinessMenuEntity,
|
|
728
752
|
business_preference_entity_1.BusinessPreferenceEntity,
|
|
753
|
+
business_report_entity_1.BusinessReportEntity,
|
|
729
754
|
business_user_entity_1.BusinessUserEntity,
|
|
730
755
|
business_user_group_entity_1.BusinessUserGroupEntity,
|
|
731
756
|
business_user_notification_preference_entity_1.BusinessUserNotificationPreferenceEntity,
|
|
@@ -781,6 +806,7 @@ const es6Classes = {
|
|
|
781
806
|
slack_webhook_message_entity_1.SlackWebhookMessageEntity,
|
|
782
807
|
ui_action_entity_1.UiActionEntity,
|
|
783
808
|
ui_action_role_entity_1.UiActionRoleEntity,
|
|
809
|
+
user_business_secret_entity_1.UserBusinessSecretEntity,
|
|
784
810
|
user_notification_entity_1.UserNotificationEntity,
|
|
785
811
|
user_preference_entity_1.UserPreferenceEntity,
|
|
786
812
|
user_role_entity_1.UserRoleEntity,
|
|
@@ -802,10 +828,12 @@ const es6Classes = {
|
|
|
802
828
|
business_app_integration_credential_job_1.BusinessAppIntegrationCredentialJob,
|
|
803
829
|
business_app_integration_job_1.BusinessAppIntegrationJob,
|
|
804
830
|
business_app_integration_messages_job_1.BusinessAppIntegrationMessagesJob,
|
|
831
|
+
business_downloadable_report_job_1.BusinessDownloadableReportJob,
|
|
805
832
|
business_email_job_1.BusinessEmailJob,
|
|
806
833
|
business_group_role_job_1.BusinessGroupRoleJob,
|
|
807
834
|
business_menu_job_1.BusinessMenuJob,
|
|
808
835
|
business_preference_job_1.BusinessPreferenceJob,
|
|
836
|
+
business_report_job_1.BusinessReportJob,
|
|
809
837
|
business_user_group_job_1.BusinessUserGroupJob,
|
|
810
838
|
business_user_job_1.BusinessUserJob,
|
|
811
839
|
business_user_notification_preference_job_1.BusinessUserNotificationPreferenceJob,
|
|
@@ -838,6 +866,7 @@ const es6Classes = {
|
|
|
838
866
|
gchat_user_job_1.GchatUserJob,
|
|
839
867
|
gchat_webhook_job_1.GchatWebhookJob,
|
|
840
868
|
gchat_webhook_message_job_1.GchatWebhookMessageJob,
|
|
869
|
+
generate_business_report_job_1.GenerateBusinessReportJob,
|
|
841
870
|
group_member_job_1.GroupMemberJob,
|
|
842
871
|
group_role_job_1.GroupRoleJob,
|
|
843
872
|
list_preference_job_1.ListPreferenceJob,
|
|
@@ -868,6 +897,7 @@ const es6Classes = {
|
|
|
868
897
|
sync_b_u_role_job_1.SyncBURoleJob,
|
|
869
898
|
ui_action_job_1.UiActionJob,
|
|
870
899
|
ui_action_role_job_1.UiActionRoleJob,
|
|
900
|
+
user_business_secret_job_1.UserBusinessSecretJob,
|
|
871
901
|
user_notification_job_1.UserNotificationJob,
|
|
872
902
|
user_preference_job_1.UserPreferenceJob,
|
|
873
903
|
user_role_job_1.UserRoleJob,
|
|
@@ -885,6 +915,7 @@ const es6Classes = {
|
|
|
885
915
|
libraries: [
|
|
886
916
|
common_tag_controller_1.CommonTagController,
|
|
887
917
|
conversation_controller_1.ConversationController,
|
|
918
|
+
create_user_business_secret_1.CreateUserBusinessSecret,
|
|
888
919
|
evaluate_email_rule_1.EvaluateEmailRule,
|
|
889
920
|
process_api_account_data_1.ProcessApiAccountData,
|
|
890
921
|
process_api_account_list_1.ProcessApiAccountList,
|
|
@@ -948,7 +979,7 @@ const es6Classes = {
|
|
|
948
979
|
sync_business_user_role_1.SyncBusinessUserRole,
|
|
949
980
|
validate_custom_field_data_1.ValidateCustomFieldData,
|
|
950
981
|
],
|
|
951
|
-
middlewares: [business_middleware_1.BusinessMiddleware, external_access_middleware_1.ExternalAccessMiddleware],
|
|
982
|
+
middlewares: [business_middleware_1.BusinessMiddleware, external_access_middleware_1.ExternalAccessMiddleware, user_business_access_middleware_1.UserBusinessAccessMiddleware],
|
|
952
983
|
services: [
|
|
953
984
|
access_business_service_1.AccessBusinessService,
|
|
954
985
|
access_report_service_1.AccessReportService,
|
|
@@ -972,6 +1003,7 @@ const es6Classes = {
|
|
|
972
1003
|
send_email_service_1.SendEmailService,
|
|
973
1004
|
slabs_service_1.SlabsService,
|
|
974
1005
|
slack_service_1.SlackService,
|
|
1006
|
+
user_business_access_service_1.UserBusinessAccessService,
|
|
975
1007
|
user_notification_service_1.UserNotificationService,
|
|
976
1008
|
user_preference_service_1.UserPreferenceService,
|
|
977
1009
|
utility_service_1.UtilityService,
|
|
@@ -984,10 +1016,12 @@ const es6Classes = {
|
|
|
984
1016
|
business_app_integration_credential_subscriber_1.BusinessAppIntegrationCredentialSubscriber,
|
|
985
1017
|
business_app_integration_messages_subscriber_1.BusinessAppIntegrationMessagesSubscriber,
|
|
986
1018
|
business_app_integration_subscriber_1.BusinessAppIntegrationSubscriber,
|
|
1019
|
+
business_downloadable_report_subscriber_1.BusinessDownloadableReportSubscriber,
|
|
987
1020
|
business_email_subscriber_1.BusinessEmailSubscriber,
|
|
988
1021
|
business_group_role_subscriber_1.BusinessGroupRoleSubscriber,
|
|
989
1022
|
business_menu_subscriber_1.BusinessMenuSubscriber,
|
|
990
1023
|
business_preference_subscriber_1.BusinessPreferenceSubscriber,
|
|
1024
|
+
business_report_subscriber_1.BusinessReportSubscriber,
|
|
991
1025
|
business_user_group_subscriber_1.BusinessUserGroupSubscriber,
|
|
992
1026
|
business_user_notification_preference_subscriber_1.BusinessUserNotificationPreferenceSubscriber,
|
|
993
1027
|
business_user_role_subscriber_1.BusinessUserRoleSubscriber,
|
|
@@ -1045,6 +1079,7 @@ const es6Classes = {
|
|
|
1045
1079
|
slack_webhook_subscriber_1.SlackWebhookSubscriber,
|
|
1046
1080
|
ui_action_role_subscriber_1.UiActionRoleSubscriber,
|
|
1047
1081
|
ui_action_subscriber_1.UiActionSubscriber,
|
|
1082
|
+
user_business_secret_subscriber_1.UserBusinessSecretSubscriber,
|
|
1048
1083
|
user_notification_subscriber_1.UserNotificationSubscriber,
|
|
1049
1084
|
user_preference_subscriber_1.UserPreferenceSubscriber,
|
|
1050
1085
|
user_role_subscriber_1.UserRoleSubscriber,
|