@servicelabsco/slabs-access-manager 0.1.127 → 0.1.128
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/dashboard.builder.controller.d.ts +21 -0
- package/dist/access/controllers/dashboard.builder.controller.js +145 -0
- package/dist/access/controllers/dashboard.builder.controller.js.map +1 -0
- package/dist/access/controllers/index.d.ts +1 -0
- package/dist/access/controllers/index.js +1 -0
- package/dist/access/controllers/index.js.map +1 -1
- package/dist/access/dtos/create.dashboard.component.dto.d.ts +12 -0
- package/dist/access/dtos/create.dashboard.component.dto.js +77 -0
- package/dist/access/dtos/create.dashboard.component.dto.js.map +1 -0
- package/dist/access/dtos/get.script.values.dto.d.ts +3 -0
- package/dist/access/dtos/get.script.values.dto.js +24 -0
- package/dist/access/dtos/get.script.values.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/es6.classes.d.ts +7 -3
- package/dist/access/es6.classes.js +10 -0
- package/dist/access/es6.classes.js.map +1 -1
- 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.create.dashboard.component.d.ts +15 -0
- package/dist/access/libraries/process.create.dashboard.component.js +51 -0
- package/dist/access/libraries/process.create.dashboard.component.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PropertyService, SqlService, StringSearchDto } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BusinessParamDto } from '../dtos/business.param.dto';
|
|
3
|
+
import { CreateDashboardComponentDto } from '../dtos/create.dashboard.component.dto';
|
|
4
|
+
import { GetScriptValuesDto } from '../dtos/get.script.values.dto';
|
|
5
|
+
import { CustomReportEntity } from '../entities/custom.report.entity';
|
|
6
|
+
import { AccessBusinessService } from '../services/access.business.service';
|
|
7
|
+
import { AccessReportService } from '../services/access.report.service';
|
|
8
|
+
export declare class DashboardBuilderController {
|
|
9
|
+
private readonly accessBusinessService;
|
|
10
|
+
protected readonly accessReportService: AccessReportService;
|
|
11
|
+
protected readonly propertyService: PropertyService;
|
|
12
|
+
private readonly sqlService;
|
|
13
|
+
constructor(accessBusinessService: AccessBusinessService, accessReportService: AccessReportService, propertyService: PropertyService, sqlService: SqlService);
|
|
14
|
+
createCustomReport(body: CreateDashboardComponentDto, params: BusinessParamDto): Promise<CustomReportEntity>;
|
|
15
|
+
find(body: StringSearchDto): Promise<any>;
|
|
16
|
+
findScripts(body: StringSearchDto): Promise<any>;
|
|
17
|
+
getScriptData(body: GetScriptValuesDto): Promise<any>;
|
|
18
|
+
getCustomReportDetail(params: BusinessParamDto): Promise<CustomReportEntity>;
|
|
19
|
+
deleteReport(params: BusinessParamDto): Promise<CustomReportEntity>;
|
|
20
|
+
private validate;
|
|
21
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.DashboardBuilderController = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
18
|
+
const business_param_dto_1 = require("../dtos/business.param.dto");
|
|
19
|
+
const create_dashboard_component_dto_1 = require("../dtos/create.dashboard.component.dto");
|
|
20
|
+
const get_script_values_dto_1 = require("../dtos/get.script.values.dto");
|
|
21
|
+
const custom_report_entity_1 = require("../entities/custom.report.entity");
|
|
22
|
+
const dashboard_component_entity_1 = require("../entities/dashboard.component.entity");
|
|
23
|
+
const process_create_dashboard_component_1 = require("../libraries/process.create.dashboard.component");
|
|
24
|
+
const process_db_find_1 = require("../libraries/process.db.find");
|
|
25
|
+
const access_business_service_1 = require("../services/access.business.service");
|
|
26
|
+
const access_report_service_1 = require("../services/access.report.service");
|
|
27
|
+
let DashboardBuilderController = class DashboardBuilderController {
|
|
28
|
+
constructor(accessBusinessService, accessReportService, propertyService, sqlService) {
|
|
29
|
+
this.accessBusinessService = accessBusinessService;
|
|
30
|
+
this.accessReportService = accessReportService;
|
|
31
|
+
this.propertyService = propertyService;
|
|
32
|
+
this.sqlService = sqlService;
|
|
33
|
+
}
|
|
34
|
+
async createCustomReport(body, params) {
|
|
35
|
+
await this.validate();
|
|
36
|
+
return new process_create_dashboard_component_1.ProcessCreateDashboardComponent(this.accessReportService).process(body, params.slug);
|
|
37
|
+
}
|
|
38
|
+
async find(body) {
|
|
39
|
+
await this.validate();
|
|
40
|
+
const config = {
|
|
41
|
+
primaryCondition: `a.deleted_at is null `,
|
|
42
|
+
searchCompareKeys: ['a.name'],
|
|
43
|
+
tableName: 'utl_listing_pages a',
|
|
44
|
+
columns: ['a.identifier', 'a.name', 'a.id', 'TRUE as active'],
|
|
45
|
+
order: `a.name asc`,
|
|
46
|
+
...body,
|
|
47
|
+
};
|
|
48
|
+
return new process_db_find_1.ProcessDbFind(this.sqlService).process(config);
|
|
49
|
+
}
|
|
50
|
+
async findScripts(body) {
|
|
51
|
+
await this.validate();
|
|
52
|
+
const config = {
|
|
53
|
+
primaryCondition: `a.deleted_at is null`,
|
|
54
|
+
searchCompareKeys: ['a.name'],
|
|
55
|
+
tableName: 'sys_report_details a',
|
|
56
|
+
columns: ['a.name', 'a.id', 'a.query_id', 'TRUE as active'],
|
|
57
|
+
order: `a.name asc`,
|
|
58
|
+
...body,
|
|
59
|
+
};
|
|
60
|
+
return new process_db_find_1.ProcessDbFind(this.sqlService).process(config);
|
|
61
|
+
}
|
|
62
|
+
async getScriptData(body) {
|
|
63
|
+
await this.validate();
|
|
64
|
+
return this.sqlService.read(body.script);
|
|
65
|
+
}
|
|
66
|
+
async getCustomReportDetail(params) {
|
|
67
|
+
await this.validate();
|
|
68
|
+
return custom_report_entity_1.CustomReportEntity.first(params.id, { relations: ['summary.query', 'trend.query', 'listing.query', 'type'] });
|
|
69
|
+
}
|
|
70
|
+
async deleteReport(params) {
|
|
71
|
+
await this.validate();
|
|
72
|
+
const report = await custom_report_entity_1.CustomReportEntity.first(params.id);
|
|
73
|
+
const query = await nestjs_utility_services_1.ReportEntity.first(report?.summary_id);
|
|
74
|
+
if (query)
|
|
75
|
+
await query.softDelete();
|
|
76
|
+
const trend = await nestjs_utility_services_1.ReportEntity.first(report?.trend_id);
|
|
77
|
+
await trend.softDelete();
|
|
78
|
+
const script = await nestjs_utility_services_1.SystemScriptEntity.first(report?.summary?.query_id);
|
|
79
|
+
await script.softDelete();
|
|
80
|
+
const dashboardComponent = await dashboard_component_entity_1.DashboardComponentEntity.findOne({ where: { custom_report_id: params.id } });
|
|
81
|
+
if (dashboardComponent)
|
|
82
|
+
await dashboardComponent.softDelete();
|
|
83
|
+
return report.softDelete();
|
|
84
|
+
}
|
|
85
|
+
async validate() {
|
|
86
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
87
|
+
const auth = nestjs_utility_services_1.Auth.user();
|
|
88
|
+
const email = await this.propertyService.get('developer.mode.email', 'hemant.sah@finnoto.com');
|
|
89
|
+
const user = await nestjs_utility_services_1.UserEntity.findOne({ where: { email: email } });
|
|
90
|
+
if (user?.id !== auth.id)
|
|
91
|
+
throw new nestjs_utility_services_1.OperationException('You dont have access for this operation');
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
exports.DashboardBuilderController = DashboardBuilderController;
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, common_1.Post)(':slug/create-custom-report'),
|
|
97
|
+
__param(0, (0, common_1.Body)()),
|
|
98
|
+
__param(1, (0, common_1.Param)()),
|
|
99
|
+
__metadata("design:type", Function),
|
|
100
|
+
__metadata("design:paramtypes", [create_dashboard_component_dto_1.CreateDashboardComponentDto, business_param_dto_1.BusinessParamDto]),
|
|
101
|
+
__metadata("design:returntype", Promise)
|
|
102
|
+
], DashboardBuilderController.prototype, "createCustomReport", null);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, common_1.Post)('find-listings'),
|
|
105
|
+
__param(0, (0, common_1.Body)()),
|
|
106
|
+
__metadata("design:type", Function),
|
|
107
|
+
__metadata("design:paramtypes", [nestjs_utility_services_1.StringSearchDto]),
|
|
108
|
+
__metadata("design:returntype", Promise)
|
|
109
|
+
], DashboardBuilderController.prototype, "find", null);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, common_1.Post)('find-scripts'),
|
|
112
|
+
__param(0, (0, common_1.Body)()),
|
|
113
|
+
__metadata("design:type", Function),
|
|
114
|
+
__metadata("design:paramtypes", [nestjs_utility_services_1.StringSearchDto]),
|
|
115
|
+
__metadata("design:returntype", Promise)
|
|
116
|
+
], DashboardBuilderController.prototype, "findScripts", null);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, common_1.Post)('run-script'),
|
|
119
|
+
__param(0, (0, common_1.Body)()),
|
|
120
|
+
__metadata("design:type", Function),
|
|
121
|
+
__metadata("design:paramtypes", [get_script_values_dto_1.GetScriptValuesDto]),
|
|
122
|
+
__metadata("design:returntype", Promise)
|
|
123
|
+
], DashboardBuilderController.prototype, "getScriptData", null);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, common_1.Post)(':id/custom-report-detail'),
|
|
126
|
+
__param(0, (0, common_1.Param)()),
|
|
127
|
+
__metadata("design:type", Function),
|
|
128
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
129
|
+
__metadata("design:returntype", Promise)
|
|
130
|
+
], DashboardBuilderController.prototype, "getCustomReportDetail", null);
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, common_1.Delete)(':id/delete-report'),
|
|
133
|
+
__param(0, (0, common_1.Param)()),
|
|
134
|
+
__metadata("design:type", Function),
|
|
135
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
136
|
+
__metadata("design:returntype", Promise)
|
|
137
|
+
], DashboardBuilderController.prototype, "deleteReport", null);
|
|
138
|
+
exports.DashboardBuilderController = DashboardBuilderController = __decorate([
|
|
139
|
+
(0, common_1.Controller)('api/b/dashboard-builder'),
|
|
140
|
+
__metadata("design:paramtypes", [access_business_service_1.AccessBusinessService,
|
|
141
|
+
access_report_service_1.AccessReportService,
|
|
142
|
+
nestjs_utility_services_1.PropertyService,
|
|
143
|
+
nestjs_utility_services_1.SqlService])
|
|
144
|
+
], DashboardBuilderController);
|
|
145
|
+
//# sourceMappingURL=dashboard.builder.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.builder.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/dashboard.builder.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAuE;AACvE,oFASgD;AAChD,mEAA8D;AAC9D,2FAAqF;AAErF,yEAAmE;AACnE,2EAAsE;AACtE,uFAAkF;AAClF,wGAAkG;AAClG,kEAA6D;AAC7D,iFAA4E;AAC5E,6EAAwE;AAQjE,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACnC,YACqB,qBAA4C,EAC1C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D;AAGK;IADL,IAAA,eAAM,EAAC,mBAAmB,CAAC;IACR,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;8DAkBnD;qCA3EQ,0BAA0B;IADtC,IAAA,mBAAU,EAAC,yBAAyB,CAAC;qCAGU,+CAAqB;QACrB,2CAAmB;QACvB,yCAAe;QACtB,oCAAU;GALlC,0BAA0B,CAsFtC"}
|
|
@@ -7,6 +7,7 @@ export * from './business.user.group.controller';
|
|
|
7
7
|
export * from './choice.list.controller';
|
|
8
8
|
export * from './choice.type.controller';
|
|
9
9
|
export * from './custom.field.controller';
|
|
10
|
+
export * from './dashboard.builder.controller';
|
|
10
11
|
export * from './dashboard.component.controller';
|
|
11
12
|
export * from './dashboard.controller';
|
|
12
13
|
export * from './dashboard.report.controller';
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./business.user.group.controller"), exports);
|
|
|
23
23
|
__exportStar(require("./choice.list.controller"), exports);
|
|
24
24
|
__exportStar(require("./choice.type.controller"), exports);
|
|
25
25
|
__exportStar(require("./custom.field.controller"), exports);
|
|
26
|
+
__exportStar(require("./dashboard.builder.controller"), exports);
|
|
26
27
|
__exportStar(require("./dashboard.component.controller"), exports);
|
|
27
28
|
__exportStar(require("./dashboard.controller"), exports);
|
|
28
29
|
__exportStar(require("./dashboard.report.controller"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,4DAA0C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,iEAA+C;AAAA,+DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,iEAA+C;AAAA,+DAA4C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class CreateDashboardComponentDto {
|
|
2
|
+
id?: number;
|
|
3
|
+
name: string;
|
|
4
|
+
identifier: string;
|
|
5
|
+
description: string;
|
|
6
|
+
has_date_filter: boolean;
|
|
7
|
+
type_id: number;
|
|
8
|
+
listing_id?: number;
|
|
9
|
+
summary: string;
|
|
10
|
+
trend?: string;
|
|
11
|
+
configurations?: any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.CreateDashboardComponentDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateDashboardComponentDto {
|
|
16
|
+
}
|
|
17
|
+
exports.CreateDashboardComponentDto = CreateDashboardComponentDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.IsNumber)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], CreateDashboardComponentDto.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], CreateDashboardComponentDto.prototype, "name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateDashboardComponentDto.prototype, "identifier", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], CreateDashboardComponentDto.prototype, "description", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
+
(0, class_validator_1.IsBoolean)(),
|
|
46
|
+
__metadata("design:type", Boolean)
|
|
47
|
+
], CreateDashboardComponentDto.prototype, "has_date_filter", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
(0, class_validator_1.IsNumber)(),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], CreateDashboardComponentDto.prototype, "type_id", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
(0, class_validator_1.IsNumber)(),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], CreateDashboardComponentDto.prototype, "listing_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
63
|
+
(0, class_validator_1.IsString)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], CreateDashboardComponentDto.prototype, "summary", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
(0, class_validator_1.IsString)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], CreateDashboardComponentDto.prototype, "trend", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
75
|
+
__metadata("design:type", Object)
|
|
76
|
+
], CreateDashboardComponentDto.prototype, "configurations", void 0);
|
|
77
|
+
//# sourceMappingURL=create.dashboard.component.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.dashboard.component.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/create.dashboard.component.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAwF;AAExF,MAAa,2BAA2B;CAiDvC;AAjDD,kEAiDC;AA7CG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACC;AAKZ;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACE;AAKb;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+DACQ;AAKnB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gEACS;AAKpB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;oEACa;AAKzB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACK;AAKhB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+DACS;AAKpB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACK;AAKhB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACI;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;mEACQ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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.GetScriptValuesDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class GetScriptValuesDto {
|
|
16
|
+
}
|
|
17
|
+
exports.GetScriptValuesDto = GetScriptValuesDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], GetScriptValuesDto.prototype, "script", void 0);
|
|
24
|
+
//# sourceMappingURL=get.script.values.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.script.values.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/get.script.values.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAuD;AAEvD,MAAa,kBAAkB;CAK9B;AALD,gDAKC;AADG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;kDACI"}
|
|
@@ -33,6 +33,7 @@ export * from './choice.type.attributes.dto';
|
|
|
33
33
|
export * from './choice.type.list.filter.dto';
|
|
34
34
|
export * from './common.list.filter.dto';
|
|
35
35
|
export * from './conversation.attributes.dto';
|
|
36
|
+
export * from './create.dashboard.component.dto';
|
|
36
37
|
export * from './custom.field.attributes.dto';
|
|
37
38
|
export * from './custom.field.list.filter.dto';
|
|
38
39
|
export * from './custom.report.attributes.dto';
|
|
@@ -56,6 +57,7 @@ export * from './gchat.template.attributes.dto';
|
|
|
56
57
|
export * from './gchat.user.attributes.dto';
|
|
57
58
|
export * from './gchat.webhook.attributes.dto';
|
|
58
59
|
export * from './gchat.webhook.message.attributes.dto';
|
|
60
|
+
export * from './get.script.values.dto';
|
|
59
61
|
export * from './group.member.attributes.dto';
|
|
60
62
|
export * from './group.member.list.filter.dto';
|
|
61
63
|
export * from './group.role.attributes.dto';
|
|
@@ -49,6 +49,7 @@ __exportStar(require("./choice.type.attributes.dto"), exports);
|
|
|
49
49
|
__exportStar(require("./choice.type.list.filter.dto"), exports);
|
|
50
50
|
__exportStar(require("./common.list.filter.dto"), exports);
|
|
51
51
|
__exportStar(require("./conversation.attributes.dto"), exports);
|
|
52
|
+
__exportStar(require("./create.dashboard.component.dto"), exports);
|
|
52
53
|
__exportStar(require("./custom.field.attributes.dto"), exports);
|
|
53
54
|
__exportStar(require("./custom.field.list.filter.dto"), exports);
|
|
54
55
|
__exportStar(require("./custom.report.attributes.dto"), exports);
|
|
@@ -72,6 +73,7 @@ __exportStar(require("./gchat.template.attributes.dto"), exports);
|
|
|
72
73
|
__exportStar(require("./gchat.user.attributes.dto"), exports);
|
|
73
74
|
__exportStar(require("./gchat.webhook.attributes.dto"), exports);
|
|
74
75
|
__exportStar(require("./gchat.webhook.message.attributes.dto"), exports);
|
|
76
|
+
__exportStar(require("./get.script.values.dto"), exports);
|
|
75
77
|
__exportStar(require("./group.member.attributes.dto"), exports);
|
|
76
78
|
__exportStar(require("./group.member.list.filter.dto"), exports);
|
|
77
79
|
__exportStar(require("./group.role.attributes.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,wDAAsC;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,wDAAsC;AAAA,wDAAsC;A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;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,8DAA4C;AAAA,iEAA+C;AAAA,yEAAuD;AAAA,0DAAwC;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,mEAAiD;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,+DAA6C;AAAA,wDAAsC;AAAA,6DAA2C;AAAA,mEAAiD;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,yEAAuD;AAAA,oEAAkD;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,6DAA2C;AAAA,8DAA4C;AAAA,oEAAkD;AAAA,0EAAwD;AAAA,yEAAuD;AAAA,0EAAwD;AAAA,qEAAmD;AAAA,qEAAmD;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,iEAA+C;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,8DAA4C;AAAA,iEAA+C;AAAA,yEAAuD;AAAA,sDAAoC;AAAA,oDAAkC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,wDAAsC;AAAA,qEAAmD;AAAA,sEAAoD;AAAA,mEAAiD;AAAA,6DAA2C;AAAA,wEAAsD;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,qEAAkD"}
|
|
@@ -8,6 +8,7 @@ import { BusinessUserGroupController } from './controllers/business.user.group.c
|
|
|
8
8
|
import { ChoiceListController } from './controllers/choice.list.controller';
|
|
9
9
|
import { ChoiceTypeController } from './controllers/choice.type.controller';
|
|
10
10
|
import { CustomFieldController } from './controllers/custom.field.controller';
|
|
11
|
+
import { DashboardBuilderController } from './controllers/dashboard.builder.controller';
|
|
11
12
|
import { DashboardComponentController } from './controllers/dashboard.component.controller';
|
|
12
13
|
import { DashboardController } from './controllers/dashboard.controller';
|
|
13
14
|
import { DashboardReportController } from './controllers/dashboard.report.controller';
|
|
@@ -40,6 +41,7 @@ import { DateRangeFilterDto } from './dtos/date.range.filter.dto';
|
|
|
40
41
|
import { DbFindDto } from './dtos/db.find.dto';
|
|
41
42
|
import { EditQueryDto } from './dtos/edit.query.dto';
|
|
42
43
|
import { GchatPostingPayloadDto } from './dtos/gchat.posting.payload.dto';
|
|
44
|
+
import { GetScriptValuesDto } from './dtos/get.script.values.dto';
|
|
43
45
|
import { ListResponseDto } from './dtos/list.response.dto';
|
|
44
46
|
import { ListResponseFormatDto } from './dtos/list.response.format.dto';
|
|
45
47
|
import { ModifyCustomFieldStatusDto } from './dtos/modify.custom.field.status.dto';
|
|
@@ -174,9 +176,11 @@ import { ProcessChoiceTypeList } from './libraries/process.choice.type.list';
|
|
|
174
176
|
import { ProcessCommonCustomField } from './libraries/process.common.custom.field';
|
|
175
177
|
import { ProcessCommonList } from './libraries/process.common.list';
|
|
176
178
|
import { ProcessConversationData } from './libraries/process.conversation.data';
|
|
179
|
+
import { ProcessCreateDashboardComponent } from './libraries/process.create.dashboard.component';
|
|
177
180
|
import { ProcessCustomFieldCreation } from './libraries/process.custom.field.creation';
|
|
178
181
|
import { ProcessCustomFieldList } from './libraries/process.custom.field.list';
|
|
179
182
|
import { ProcessDashboardComponent } from './libraries/process.dashboard.component';
|
|
183
|
+
import { ProcessDashboardReportData } from './libraries/process.dashboard.report.data';
|
|
180
184
|
import { ProcessDashboardReport } from './libraries/process.dashboard.report';
|
|
181
185
|
import { ProcessDateFilter } from './libraries/process.date.filter';
|
|
182
186
|
import { ProcessDbFind } from './libraries/process.db.find';
|
|
@@ -288,12 +292,12 @@ import { WhatsappMessageSubscriber } from './subscribers/whatsapp.message.subscr
|
|
|
288
292
|
import { WhatsappTemplateSubscriber } from './subscribers/whatsapp.template.subscriber';
|
|
289
293
|
declare const es6Classes: {
|
|
290
294
|
commands: (typeof WebhookPollCommand)[];
|
|
291
|
-
controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CustomFieldController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperModeController | typeof DownloadLogController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserNotificationController | typeof UserPreferenceController)[];
|
|
292
|
-
dtos: (typeof SlackTemplateAttributesDto | typeof NotificationPayloadDto | typeof SendEmailNotificationDataDto | typeof GchatPostingPayloadDto | typeof SlackPostingPayloadDto | typeof AddShortUrlDto | typeof BankAccountPayloadDto | typeof RecurringDefinitionDto | typeof AccessBusinessParamDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof DbFindDto | typeof ListResponseDto | typeof AddListingPreferenceDto | typeof ProcessCommonListConfigDto | typeof AddBusinessPreferenceDto | typeof ModifyCustomFieldStatusDto | typeof AddDashboardComponentPropertiesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof EditQueryDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddConversationDto | typeof AddTagDto | typeof ProcessListingPayloadDto | typeof ServerEmailRecipientsDto | typeof ServerEmailMessageDto)[];
|
|
295
|
+
controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CustomFieldController | typeof DashboardBuilderController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperModeController | typeof DownloadLogController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserNotificationController | typeof UserPreferenceController)[];
|
|
296
|
+
dtos: (typeof SlackTemplateAttributesDto | typeof NotificationPayloadDto | typeof SendEmailNotificationDataDto | typeof GchatPostingPayloadDto | typeof SlackPostingPayloadDto | typeof AddShortUrlDto | typeof BankAccountPayloadDto | typeof RecurringDefinitionDto | typeof AccessBusinessParamDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof DbFindDto | typeof ListResponseDto | typeof AddListingPreferenceDto | typeof ProcessCommonListConfigDto | typeof AddBusinessPreferenceDto | typeof ModifyCustomFieldStatusDto | typeof GetScriptValuesDto | typeof AddDashboardComponentPropertiesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof EditQueryDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddConversationDto | typeof AddTagDto | typeof ProcessListingPayloadDto | typeof ServerEmailRecipientsDto | typeof ServerEmailMessageDto)[];
|
|
293
297
|
entities: (typeof AccessBusinessEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof GchatUserEntity | typeof GchatMessageEntity | typeof GchatWebhookMessageEntity | typeof SlackIntegrationEntity | typeof SlackMessageEntity | typeof SlackUserEntity | typeof WhatsappMessageEntity | typeof WhatsappPreferenceEntity | typeof BusinessEmailEntity | typeof BusinessGroupRoleEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof ChildMenuEntity | typeof ConversationEntity | typeof DashboardComponentEntity | typeof DownloadLogEntity | typeof EmailRecipientEntity | typeof EmailMessageEntity | typeof GroupMemberEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof ScheduledReportEntity | typeof ScheduledReportEmailEntity | typeof ScheduledReportItemEntity | typeof SlackWebhookMessageEntity | typeof UserNotificationEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookSlugEntity)[];
|
|
294
298
|
enums: (typeof NotificationTypeEnum | typeof RecurringPeriodEnum | typeof CustomColumnTypeEnum)[];
|
|
295
299
|
jobs: (typeof AccessTestJob | typeof ApiAccountJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessPreferenceJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserRoleJob | 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 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 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 WebhookSlugJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessageJob | typeof WhatsappTemplateJob)[];
|
|
296
|
-
libraries: (typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof SendWhatsappMessageNotification | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessListingCsvFile | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof
|
|
300
|
+
libraries: (typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof SendWhatsappMessageNotification | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessListingCsvFile | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof ProcessUserNotificationList | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof SyncBusinessUserRole | typeof CommonTagController | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessNotification | typeof ProcessTestList)[];
|
|
297
301
|
middlewares: (typeof BusinessMiddleware | typeof ExternalAccessMiddleware)[];
|
|
298
302
|
services: (typeof SendEmailService | typeof GchatService | typeof SlackService | typeof WhatsappService | typeof NotificationService | typeof SlabsService | typeof WebhookService | typeof AccessBusinessService | typeof ListingService | typeof AuditLogService | typeof AccessReportService | typeof ListingPreferenceService | typeof ScheduledReportService | typeof BusinessUserRoleService | typeof UtilityService | typeof CustomFieldService | typeof ApiAccountService | typeof BusinessPreferenceService | typeof Es6JobsService | typeof LoadEntityService | typeof UserNotificationService | typeof UserPreferenceService)[];
|
|
299
303
|
subscribers: (typeof ApiAccountSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | 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 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 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 WebhookSlugSubscriber | typeof WebhookTypeSubscriber | typeof WhatsappMessageSubscriber | typeof WhatsappTemplateSubscriber)[];
|
|
@@ -10,6 +10,7 @@ const business_user_group_controller_1 = require("./controllers/business.user.gr
|
|
|
10
10
|
const choice_list_controller_1 = require("./controllers/choice.list.controller");
|
|
11
11
|
const choice_type_controller_1 = require("./controllers/choice.type.controller");
|
|
12
12
|
const custom_field_controller_1 = require("./controllers/custom.field.controller");
|
|
13
|
+
const dashboard_builder_controller_1 = require("./controllers/dashboard.builder.controller");
|
|
13
14
|
const dashboard_component_controller_1 = require("./controllers/dashboard.component.controller");
|
|
14
15
|
const dashboard_controller_1 = require("./controllers/dashboard.controller");
|
|
15
16
|
const dashboard_report_controller_1 = require("./controllers/dashboard.report.controller");
|
|
@@ -59,6 +60,7 @@ const choice_type_attributes_dto_1 = require("./dtos/choice.type.attributes.dto"
|
|
|
59
60
|
const choice_type_list_filter_dto_1 = require("./dtos/choice.type.list.filter.dto");
|
|
60
61
|
const common_list_filter_dto_1 = require("./dtos/common.list.filter.dto");
|
|
61
62
|
const conversation_attributes_dto_1 = require("./dtos/conversation.attributes.dto");
|
|
63
|
+
const create_dashboard_component_dto_1 = require("./dtos/create.dashboard.component.dto");
|
|
62
64
|
const custom_field_attributes_dto_1 = require("./dtos/custom.field.attributes.dto");
|
|
63
65
|
const custom_field_list_filter_dto_1 = require("./dtos/custom.field.list.filter.dto");
|
|
64
66
|
const custom_report_attributes_dto_1 = require("./dtos/custom.report.attributes.dto");
|
|
@@ -82,6 +84,7 @@ const gchat_template_attributes_dto_1 = require("./dtos/gchat.template.attribute
|
|
|
82
84
|
const gchat_user_attributes_dto_1 = require("./dtos/gchat.user.attributes.dto");
|
|
83
85
|
const gchat_webhook_attributes_dto_1 = require("./dtos/gchat.webhook.attributes.dto");
|
|
84
86
|
const gchat_webhook_message_attributes_dto_1 = require("./dtos/gchat.webhook.message.attributes.dto");
|
|
87
|
+
const get_script_values_dto_1 = require("./dtos/get.script.values.dto");
|
|
85
88
|
const group_member_attributes_dto_1 = require("./dtos/group.member.attributes.dto");
|
|
86
89
|
const group_member_list_filter_dto_1 = require("./dtos/group.member.list.filter.dto");
|
|
87
90
|
const group_role_attributes_dto_1 = require("./dtos/group.role.attributes.dto");
|
|
@@ -283,9 +286,11 @@ const process_choice_type_list_1 = require("./libraries/process.choice.type.list
|
|
|
283
286
|
const process_common_custom_field_1 = require("./libraries/process.common.custom.field");
|
|
284
287
|
const process_common_list_1 = require("./libraries/process.common.list");
|
|
285
288
|
const process_conversation_data_1 = require("./libraries/process.conversation.data");
|
|
289
|
+
const process_create_dashboard_component_1 = require("./libraries/process.create.dashboard.component");
|
|
286
290
|
const process_custom_field_creation_1 = require("./libraries/process.custom.field.creation");
|
|
287
291
|
const process_custom_field_list_1 = require("./libraries/process.custom.field.list");
|
|
288
292
|
const process_dashboard_component_1 = require("./libraries/process.dashboard.component");
|
|
293
|
+
const process_dashboard_report_data_1 = require("./libraries/process.dashboard.report.data");
|
|
289
294
|
const process_dashboard_report_1 = require("./libraries/process.dashboard.report");
|
|
290
295
|
const process_date_filter_1 = require("./libraries/process.date.filter");
|
|
291
296
|
const process_db_find_1 = require("./libraries/process.db.find");
|
|
@@ -407,6 +412,7 @@ const es6Classes = {
|
|
|
407
412
|
choice_list_controller_1.ChoiceListController,
|
|
408
413
|
choice_type_controller_1.ChoiceTypeController,
|
|
409
414
|
custom_field_controller_1.CustomFieldController,
|
|
415
|
+
dashboard_builder_controller_1.DashboardBuilderController,
|
|
410
416
|
dashboard_component_controller_1.DashboardComponentController,
|
|
411
417
|
dashboard_controller_1.DashboardController,
|
|
412
418
|
dashboard_report_controller_1.DashboardReportController,
|
|
@@ -458,6 +464,7 @@ const es6Classes = {
|
|
|
458
464
|
choice_type_list_filter_dto_1.ChoiceTypeListFilterDto,
|
|
459
465
|
common_list_filter_dto_1.CommonListFilterDto,
|
|
460
466
|
conversation_attributes_dto_1.ConversationAttributesDto,
|
|
467
|
+
create_dashboard_component_dto_1.CreateDashboardComponentDto,
|
|
461
468
|
custom_field_attributes_dto_1.CustomFieldAttributesDto,
|
|
462
469
|
custom_field_list_filter_dto_1.CustomFieldListFilterDto,
|
|
463
470
|
custom_report_attributes_dto_1.CustomReportAttributesDto,
|
|
@@ -481,6 +488,7 @@ const es6Classes = {
|
|
|
481
488
|
gchat_user_attributes_dto_1.GchatUserAttributesDto,
|
|
482
489
|
gchat_webhook_attributes_dto_1.GchatWebhookAttributesDto,
|
|
483
490
|
gchat_webhook_message_attributes_dto_1.GchatWebhookMessageAttributesDto,
|
|
491
|
+
get_script_values_dto_1.GetScriptValuesDto,
|
|
484
492
|
group_member_attributes_dto_1.GroupMemberAttributesDto,
|
|
485
493
|
group_member_list_filter_dto_1.GroupMemberListFilterDto,
|
|
486
494
|
group_role_attributes_dto_1.GroupRoleAttributesDto,
|
|
@@ -686,9 +694,11 @@ const es6Classes = {
|
|
|
686
694
|
process_common_custom_field_1.ProcessCommonCustomField,
|
|
687
695
|
process_common_list_1.ProcessCommonList,
|
|
688
696
|
process_conversation_data_1.ProcessConversationData,
|
|
697
|
+
process_create_dashboard_component_1.ProcessCreateDashboardComponent,
|
|
689
698
|
process_custom_field_creation_1.ProcessCustomFieldCreation,
|
|
690
699
|
process_custom_field_list_1.ProcessCustomFieldList,
|
|
691
700
|
process_dashboard_component_1.ProcessDashboardComponent,
|
|
701
|
+
process_dashboard_report_data_1.ProcessDashboardReportData,
|
|
692
702
|
process_dashboard_report_1.ProcessDashboardReport,
|
|
693
703
|
process_date_filter_1.ProcessDateFilter,
|
|
694
704
|
process_db_find_1.ProcessDbFind,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/access/es6.class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6CAAoB;QACpB,6CAAoB;QACpB,gDAAsB;QACtB,+CAAqB;QACrB,iDAAsB;QACtB,6DAA4B;QAC5B,0CAAmB;QACnB,+CAAqB;QACrB,uDAAyB;QACzB,iDAAsB;QACtB,qDAAwB;QACxB,iDAAsB;QACtB,mDAAuB;QACvB,2CAAmB;QACnB,gEAA6B;QAC7B,iDAAsB;QACtB,+CAAqB;QACrB,2CAAmB;QACnB,qDAAwB;QACxB,mDAAuB;QACvB,+CAAqB;QACrB,2DAA2B;QAC3B,6CAAoB;QACpB,yCAAkB;QAClB,gCAAc;QACd,6CAAoB;QACpB,oCAAgB;QAChB,gEAA6B;QAC7B,qDAAwB;QACxB,sCAAiB;QACjB,2CAAmB;QACnB,kEAA8B;QAC9B,gEAA6B;QAC7B,uDAAyB;QACzB,yDAA0B;QAC1B,iDAAsB;QACtB,mDAAuB;QACvB,2CAAmB;QACnB,gEAA6B;QAC7B,iDAAsB;QACtB,kDAAsB;QACtB,yCAAkB;QAClB,yDAA0B;QAC1B,qDAAwB;QACxB,yCAAkB;QAClB,+DAA6B;QAC7B,+CAAqB;QACrB,+CAAqB;QACrB,uDAAyB;QACzB,yDAA0B;KAC7B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/access/es6.classes.ts"],"names":[],"mappings":";;AAAA,0EAAqE;AACrE,iFAA4E;AAC5E,iFAA4E;AAC5E,iFAA4E;AAC5E,2FAAqF;AACrF,iGAA4F;AAC5F,iGAA2F;AAC3F,iFAA4E;AAC5E,iFAA4E;AAC5E,mFAA8E;AAC9E,6FAAwF;AACxF,iGAA4F;AAC5F,6EAAyE;AACzE,2FAAsF;AACtF,uFAAkF;AAClF,mFAA8E;AAC9E,mFAA8E;AAC9E,+EAA0E;AAC1E,yEAAqE;AACrE,+FAA0F;AAC1F,2FAAsF;AACtF,qGAA+F;AAC/F,iEAA6D;AAC7D,6FAAwF;AACxF,yFAAo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CAAmB;QACnB,qDAAwB;QACxB,mDAAuB;QACvB,+CAAqB;QACrB,2DAA2B;QAC3B,6CAAoB;QACpB,yCAAkB;QAClB,gCAAc;QACd,6CAAoB;QACpB,oCAAgB;QAChB,gEAA6B;QAC7B,qDAAwB;QACxB,sCAAiB;QACjB,2CAAmB;QACnB,kEAA8B;QAC9B,gEAA6B;QAC7B,uDAAyB;QACzB,yDAA0B;QAC1B,iDAAsB;QACtB,mDAAuB;QACvB,2CAAmB;QACnB,gEAA6B;QAC7B,iDAAsB;QACtB,kDAAsB;QACtB,yCAAkB;QAClB,yDAA0B;QAC1B,qDAAwB;QACxB,yCAAkB;QAClB,+DAA6B;QAC7B,+CAAqB;QACrB,+CAAqB;QACrB,uDAAyB;QACzB,yDAA0B;KAC7B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
|
@@ -14,6 +14,7 @@ export * from './process.choice.type.list';
|
|
|
14
14
|
export * from './process.common.custom.field';
|
|
15
15
|
export * from './process.common.list';
|
|
16
16
|
export * from './process.conversation.data';
|
|
17
|
+
export * from './process.create.dashboard.component';
|
|
17
18
|
export * from './process.custom.field.creation';
|
|
18
19
|
export * from './process.custom.field.list';
|
|
19
20
|
export * from './process.dashboard.component';
|
|
@@ -30,6 +30,7 @@ __exportStar(require("./process.choice.type.list"), exports);
|
|
|
30
30
|
__exportStar(require("./process.common.custom.field"), exports);
|
|
31
31
|
__exportStar(require("./process.common.list"), exports);
|
|
32
32
|
__exportStar(require("./process.conversation.data"), exports);
|
|
33
|
+
__exportStar(require("./process.create.dashboard.component"), exports);
|
|
33
34
|
__exportStar(require("./process.custom.field.creation"), exports);
|
|
34
35
|
__exportStar(require("./process.custom.field.list"), exports);
|
|
35
36
|
__exportStar(require("./process.dashboard.component"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;A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AA0C;AAAA,wDAAsC;AAAA,kEAAgD;AAAA,uEAAqD;AAAA,kEAAgD;AAAA,sDAAoC;AAAA,gEAA8C;AAAA,mEAAiD;AAAA,4DAA0C;AAAA,oEAAkD;AAAA,oEAAkD;AAAA,oEAAkD;AAAA,qEAAmD;AAAA,uEAAqD;AAAA,4DAA0C;AAAA,+DAA4C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CreateDashboardComponentDto } from '../dtos/create.dashboard.component.dto';
|
|
2
|
+
import { CustomReportEntity } from '../entities/custom.report.entity';
|
|
3
|
+
import { DashboardEntity } from '../entities/dashboard.entity';
|
|
4
|
+
import { AccessReportService } from '../services/access.report.service';
|
|
5
|
+
export declare class ProcessCreateDashboardComponent {
|
|
6
|
+
protected readonly accessReportService: AccessReportService;
|
|
7
|
+
protected payload: CreateDashboardComponentDto;
|
|
8
|
+
protected slug: string;
|
|
9
|
+
protected dashboard: DashboardEntity;
|
|
10
|
+
constructor(accessReportService: AccessReportService);
|
|
11
|
+
process(payload: CreateDashboardComponentDto, slug: string): Promise<CustomReportEntity>;
|
|
12
|
+
validate(): Promise<void>;
|
|
13
|
+
set(): Promise<CustomReportEntity>;
|
|
14
|
+
createSummary(customReport: CustomReportEntity): Promise<import("@servicelabsco/nestjs-utility-services").ReportEntity>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProcessCreateDashboardComponent = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
const custom_report_entity_1 = require("../entities/custom.report.entity");
|
|
6
|
+
const dashboard_entity_1 = require("../entities/dashboard.entity");
|
|
7
|
+
class ProcessCreateDashboardComponent {
|
|
8
|
+
constructor(accessReportService) {
|
|
9
|
+
this.accessReportService = accessReportService;
|
|
10
|
+
}
|
|
11
|
+
async process(payload, slug) {
|
|
12
|
+
this.payload = payload;
|
|
13
|
+
this.slug = slug;
|
|
14
|
+
await this.validate();
|
|
15
|
+
return this.set();
|
|
16
|
+
}
|
|
17
|
+
async validate() {
|
|
18
|
+
const dashboard = await dashboard_entity_1.DashboardEntity.findOne({ where: { identifier: this.slug } });
|
|
19
|
+
if (!dashboard)
|
|
20
|
+
throw new nestjs_utility_services_1.OperationException(`No Dashboard Exist with identifier ${this.slug}`);
|
|
21
|
+
this.dashboard = dashboard;
|
|
22
|
+
}
|
|
23
|
+
async set() {
|
|
24
|
+
let customReport = custom_report_entity_1.CustomReportEntity.create();
|
|
25
|
+
if (this.payload?.id)
|
|
26
|
+
customReport = await custom_report_entity_1.CustomReportEntity.findOne({
|
|
27
|
+
where: { id: this.payload?.id },
|
|
28
|
+
relations: ['summary.query', 'trend.query', 'listing'],
|
|
29
|
+
});
|
|
30
|
+
const summary = await this.createSummary(customReport);
|
|
31
|
+
if (!summary)
|
|
32
|
+
throw new nestjs_utility_services_1.OperationException('Error creating summary');
|
|
33
|
+
customReport.summary_id = summary.id;
|
|
34
|
+
customReport.listing_id = this.payload.listing_id;
|
|
35
|
+
customReport.name = this.payload.name;
|
|
36
|
+
customReport.description = this.payload.description;
|
|
37
|
+
customReport.has_date_filter = this.payload.has_date_filter;
|
|
38
|
+
customReport.identifier = this.payload.identifier;
|
|
39
|
+
customReport.type_id = this.payload.type_id;
|
|
40
|
+
customReport.product_id = nestjs_utility_services_1.Auth.user().auth_attributes.product_id;
|
|
41
|
+
customReport.configurations = this.payload.configurations;
|
|
42
|
+
customReport.attributes = { dashboard_id: this.dashboard.id };
|
|
43
|
+
return customReport.save();
|
|
44
|
+
}
|
|
45
|
+
async createSummary(customReport) {
|
|
46
|
+
let reportName = customReport?.summary?.name || this.payload.identifier;
|
|
47
|
+
return this.accessReportService.createReport({ name: reportName, description: this.payload.description, query: this.payload?.summary });
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.ProcessCreateDashboardComponent = ProcessCreateDashboardComponent;
|
|
51
|
+
//# sourceMappingURL=process.create.dashboard.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process.create.dashboard.component.js","sourceRoot":"","sources":["../../../src/access/libraries/process.create.dashboard.component.ts"],"names":[],"mappings":";;;AAAA,oFAAkF;AAElF,2EAAsE;AACtE,mEAA+D;AAG/D,MAAa,+BAA+B;IAMxC,YAA+B,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAAG,CAAC;IAE3E,KAAK,CAAC,OAAO,CAAC,OAAoC,EAAE,IAAY;QAC5D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAEjB,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC;IACtB,CAAC;IAED,KAAK,CAAC,QAAQ;QACV,MAAM,SAAS,GAAG,MAAM,kCAAe,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACtF,IAAI,CAAC,SAAS;YAAE,MAAM,IAAI,4CAAkB,CAAC,sCAAsC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QAEhG,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAED,KAAK,CAAC,GAAG;QACL,IAAI,YAAY,GAAG,yCAAkB,CAAC,MAAM,EAAE,CAAC;QAE/C,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE;YAChB,YAAY,GAAG,MAAM,yCAAkB,CAAC,OAAO,CAAC;gBAC5C,KAAK,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,EAAE;gBAC/B,SAAS,EAAE,CAAC,eAAe,EAAE,aAAa,EAAE,SAAS,CAAC;aACzD,CAAC,CAAC;QAEP,MAAM,OAAO,GAAG,MAAM,IAAI,CAA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