@servicelabsco/slabs-access-manager 0.1.107 → 0.1.109
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.component.controller.d.ts +12 -0
- package/dist/access/controllers/dashboard.component.controller.js +70 -0
- package/dist/access/controllers/dashboard.component.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/add.dashboard.component.dto.d.ts +5 -0
- package/dist/access/dtos/add.dashboard.component.dto.js +30 -0
- package/dist/access/dtos/add.dashboard.component.dto.js.map +1 -0
- package/dist/access/dtos/add.dashboard.component.properties.dto.d.ts +7 -0
- package/dist/access/dtos/add.dashboard.component.properties.dto.js +47 -0
- package/dist/access/dtos/add.dashboard.component.properties.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 +8 -0
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/jobs/slack.integration.job.d.ts +4 -2
- package/dist/access/jobs/slack.integration.job.js +13 -2
- package/dist/access/jobs/slack.integration.job.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.dashboard.component.d.ts +6 -0
- package/dist/access/libraries/process.dashboard.component.js +39 -0
- package/dist/access/libraries/process.dashboard.component.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AddDashboardComponentDto } from '../dtos/add.dashboard.component.dto';
|
|
2
|
+
import { BusinessParamDto } from '../dtos/business.param.dto';
|
|
3
|
+
import { CustomReportEntity } from '../entities/custom.report.entity';
|
|
4
|
+
import { DashboardEntity } from '../entities/dashboard.entity';
|
|
5
|
+
import { AccessBusinessService } from '../services/access.business.service';
|
|
6
|
+
export declare class DashboardComponentController {
|
|
7
|
+
private readonly accessBusinessService;
|
|
8
|
+
constructor(accessBusinessService: AccessBusinessService);
|
|
9
|
+
create(body: AddDashboardComponentDto): Promise<DashboardEntity>;
|
|
10
|
+
getAllDashboards(params: BusinessParamDto): Promise<DashboardEntity>;
|
|
11
|
+
allReports(): Promise<CustomReportEntity[]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.DashboardComponentController = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
18
|
+
const add_dashboard_component_dto_1 = require("../dtos/add.dashboard.component.dto");
|
|
19
|
+
const business_param_dto_1 = require("../dtos/business.param.dto");
|
|
20
|
+
const custom_report_entity_1 = require("../entities/custom.report.entity");
|
|
21
|
+
const dashboard_entity_1 = require("../entities/dashboard.entity");
|
|
22
|
+
const process_dashboard_component_1 = require("../libraries/process.dashboard.component");
|
|
23
|
+
const access_business_service_1 = require("../services/access.business.service");
|
|
24
|
+
let DashboardComponentController = class DashboardComponentController {
|
|
25
|
+
constructor(accessBusinessService) {
|
|
26
|
+
this.accessBusinessService = accessBusinessService;
|
|
27
|
+
}
|
|
28
|
+
async create(body) {
|
|
29
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
30
|
+
if (!business)
|
|
31
|
+
return;
|
|
32
|
+
return new process_dashboard_component_1.ProcessDashboardComponent().process(body);
|
|
33
|
+
}
|
|
34
|
+
async getAllDashboards(params) {
|
|
35
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
36
|
+
const user = nestjs_utility_services_1.Auth.user();
|
|
37
|
+
return dashboard_entity_1.DashboardEntity.findOne({ where: { identifier: params.slug }, relations: ['components.custom_report'] });
|
|
38
|
+
}
|
|
39
|
+
async allReports() {
|
|
40
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
41
|
+
const user = nestjs_utility_services_1.Auth.user();
|
|
42
|
+
return custom_report_entity_1.CustomReportEntity.find({ where: { product_id: user?.attributes?.product_id } });
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.DashboardComponentController = DashboardComponentController;
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, common_1.Post)(),
|
|
48
|
+
__param(0, (0, common_1.Body)()),
|
|
49
|
+
__metadata("design:type", Function),
|
|
50
|
+
__metadata("design:paramtypes", [add_dashboard_component_dto_1.AddDashboardComponentDto]),
|
|
51
|
+
__metadata("design:returntype", Promise)
|
|
52
|
+
], DashboardComponentController.prototype, "create", null);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, common_1.Get)(':slug/dashboard-detail'),
|
|
55
|
+
__param(0, (0, common_1.Param)()),
|
|
56
|
+
__metadata("design:type", Function),
|
|
57
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
58
|
+
__metadata("design:returntype", Promise)
|
|
59
|
+
], DashboardComponentController.prototype, "getAllDashboards", null);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, common_1.Get)('all-report'),
|
|
62
|
+
__metadata("design:type", Function),
|
|
63
|
+
__metadata("design:paramtypes", []),
|
|
64
|
+
__metadata("design:returntype", Promise)
|
|
65
|
+
], DashboardComponentController.prototype, "allReports", null);
|
|
66
|
+
exports.DashboardComponentController = DashboardComponentController = __decorate([
|
|
67
|
+
(0, common_1.Controller)('api/b/dashboard-component'),
|
|
68
|
+
__metadata("design:paramtypes", [access_business_service_1.AccessBusinessService])
|
|
69
|
+
], DashboardComponentController);
|
|
70
|
+
//# sourceMappingURL=dashboard.component.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.component.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/dashboard.component.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,oFAA8D;AAC9D,qFAA+E;AAC/E,mEAA8D;AAC9D,2EAAsE;AACtE,mEAA+D;AAC/D,0FAAqF;AACrF,iFAA4E;AAQrE,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IACrC,YAA6B,qBAA4C;QAA5C,0BAAqB,GAArB,qBAAqB,CAAuB;IAAG,CAAC;IAGvE,AAAN,KAAK,CAAC,MAAM,CAAS,IAA8B;QAC/C,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QACnE,IAAI,CAAC,QAAQ;YAAE,OAAO;QAEtB,OAAO,IAAI,uDAAyB,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;IAGK,AAAN,KAAK,CAAC,gBAAgB,CAAU,MAAwB;QACpD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QACnE,MAAM,IAAI,GAAG,8BAAI,CAAC,IAAI,EAAE,CAAC;QAEzB,OAAO,kCAAe,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,0BAA0B,CAAC,EAAE,CAAC,CAAC;IACpH,CAAC;IAGK,AAAN,KAAK,CAAC,UAAU;QACZ,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QACnE,MAAM,IAAI,GAAG,8BAAI,CAAC,IAAI,EAAE,CAAC;QAEzB,OAAO,yCAAkB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;IAC5F,CAAC;CACJ,CAAA;AA1BY,oEAA4B;AAI/B;IADL,IAAA,aAAI,GAAE;IACO,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sDAAwB;;0DAKlD;AAGK;IADL,IAAA,YAAG,EAAC,wBAAwB,CAAC;IACN,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;oEAKvD;AAGK;IADL,IAAA,YAAG,EAAC,YAAY,CAAC;;;;8DAMjB;uCAzBQ,4BAA4B;IADxC,IAAA,mBAAU,EAAC,2BAA2B,CAAC;qCAEgB,+CAAqB;GADhE,4BAA4B,CA0BxC"}
|
|
@@ -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.component.controller';
|
|
10
11
|
export * from './dashboard.controller';
|
|
11
12
|
export * from './download.log.controller';
|
|
12
13
|
export * from './group.member.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.component.controller"), exports);
|
|
26
27
|
__exportStar(require("./dashboard.controller"), exports);
|
|
27
28
|
__exportStar(require("./download.log.controller"), exports);
|
|
28
29
|
__exportStar(require("./group.member.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,yDAAuC;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,mEAAiD;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,iEAA+C;AAAA,+DAA4C"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.AddDashboardComponentDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class AddDashboardComponentDto {
|
|
16
|
+
}
|
|
17
|
+
exports.AddDashboardComponentDto = AddDashboardComponentDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], AddDashboardComponentDto.prototype, "dashboard_id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsArray)(),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], AddDashboardComponentDto.prototype, "components", void 0);
|
|
30
|
+
//# sourceMappingURL=add.dashboard.component.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.dashboard.component.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/add.dashboard.component.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAgE;AAGhE,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AANG;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;8DACY;AAKrB;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;4DACoC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.AddDashboardComponentPropertiesDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class AddDashboardComponentPropertiesDto {
|
|
16
|
+
}
|
|
17
|
+
exports.AddDashboardComponentPropertiesDto = AddDashboardComponentPropertiesDto;
|
|
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
|
+
], AddDashboardComponentPropertiesDto.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsNumber)(),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], AddDashboardComponentPropertiesDto.prototype, "custom_report_id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], AddDashboardComponentPropertiesDto.prototype, "identifier", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], AddDashboardComponentPropertiesDto.prototype, "properties", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
(0, class_validator_1.IsBoolean)(),
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], AddDashboardComponentPropertiesDto.prototype, "active", void 0);
|
|
47
|
+
//# sourceMappingURL=add.dashboard.component.properties.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.dashboard.component.properties.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/add.dashboard.component.properties.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAwF;AAExF,MAAa,kCAAkC;CAwB9C;AAxBD,gFAwBC;AApBG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8DACC;AAKZ;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;4EACgB;AAKzB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;sEACM;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;sEACO;AAKhB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACI"}
|
|
@@ -6,6 +6,8 @@ export * from './add.choice.list.dto';
|
|
|
6
6
|
export * from './add.choice.type.dto';
|
|
7
7
|
export * from './add.conversation.dto';
|
|
8
8
|
export * from './add.custom.field.dto';
|
|
9
|
+
export * from './add.dashboard.component.dto';
|
|
10
|
+
export * from './add.dashboard.component.properties.dto';
|
|
9
11
|
export * from './add.group.member.dto';
|
|
10
12
|
export * from './add.listing.preference.dto';
|
|
11
13
|
export * from './add.role.dto';
|
|
@@ -22,6 +22,8 @@ __exportStar(require("./add.choice.list.dto"), exports);
|
|
|
22
22
|
__exportStar(require("./add.choice.type.dto"), exports);
|
|
23
23
|
__exportStar(require("./add.conversation.dto"), exports);
|
|
24
24
|
__exportStar(require("./add.custom.field.dto"), exports);
|
|
25
|
+
__exportStar(require("./add.dashboard.component.dto"), exports);
|
|
26
|
+
__exportStar(require("./add.dashboard.component.properties.dto"), exports);
|
|
25
27
|
__exportStar(require("./add.group.member.dto"), exports);
|
|
26
28
|
__exportStar(require("./add.listing.preference.dto"), exports);
|
|
27
29
|
__exportStar(require("./add.role.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;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,iDAA+B;AAAA,6DAA2C;AAAA,sDAAoC;AAAA,gDAA8B;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,qEAAmD;AAAA,gEAA8C;A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;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,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 { DashboardComponentController } from './controllers/dashboard.component.controller';
|
|
11
12
|
import { DashboardController } from './controllers/dashboard.controller';
|
|
12
13
|
import { DownloadLogController } from './controllers/download.log.controller';
|
|
13
14
|
import { GroupMemberController } from './controllers/group.member.controller';
|
|
@@ -22,6 +23,8 @@ import { UserPreferenceController } from './controllers/user.preference.controll
|
|
|
22
23
|
import { AccessBusinessParamDto } from './dtos/access.business.param.dto';
|
|
23
24
|
import { AddBusinessPreferenceDto } from './dtos/add.business.preference.dto';
|
|
24
25
|
import { AddConversationDto } from './dtos/add.conversation.dto';
|
|
26
|
+
import { AddDashboardComponentDto } from './dtos/add.dashboard.component.dto';
|
|
27
|
+
import { AddDashboardComponentPropertiesDto } from './dtos/add.dashboard.component.properties.dto';
|
|
25
28
|
import { AddGroupMemberDto } from './dtos/add.group.member.dto';
|
|
26
29
|
import { AddListingPreferenceDto } from './dtos/add.listing.preference.dto';
|
|
27
30
|
import { AddRoleDto } from './dtos/add.role.dto';
|
|
@@ -167,6 +170,7 @@ import { ProcessCommonList } from './libraries/process.common.list';
|
|
|
167
170
|
import { ProcessConversationData } from './libraries/process.conversation.data';
|
|
168
171
|
import { ProcessCustomFieldCreation } from './libraries/process.custom.field.creation';
|
|
169
172
|
import { ProcessCustomFieldList } from './libraries/process.custom.field.list';
|
|
173
|
+
import { ProcessDashboardComponent } from './libraries/process.dashboard.component';
|
|
170
174
|
import { ProcessDashboardReport } from './libraries/process.dashboard.report';
|
|
171
175
|
import { ProcessDateFilter } from './libraries/process.date.filter';
|
|
172
176
|
import { ProcessDbFind } from './libraries/process.db.find';
|
|
@@ -277,12 +281,12 @@ import { WhatsappMessageSubscriber } from './subscribers/whatsapp.message.subscr
|
|
|
277
281
|
import { WhatsappTemplateSubscriber } from './subscribers/whatsapp.template.subscriber';
|
|
278
282
|
declare const es6Classes: {
|
|
279
283
|
commands: (typeof WebhookPollCommand)[];
|
|
280
|
-
controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CustomFieldController | typeof DashboardController | typeof DownloadLogController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserNotificationController | typeof UserPreferenceController)[];
|
|
281
|
-
dtos: (typeof SlackTemplateAttributesDto | typeof NotificationPayloadDto | typeof SendEmailNotificationDataDto | typeof GchatPostingPayloadDto | typeof SlackPostingPayloadDto | typeof AddShortUrlDto | typeof BankAccountPayloadDto | typeof RecurringDefinitionDto | typeof AddListingPreferenceDto | typeof ListResponseDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof ProcessCommonListConfigDto | typeof AccessBusinessParamDto | typeof DbFindDto | typeof AddBusinessPreferenceDto | typeof ModifyCustomFieldStatusDto | typeof StringSearchDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddConversationDto | typeof AddTagDto | typeof ProcessListingPayloadDto)[];
|
|
284
|
+
controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CustomFieldController | typeof DashboardComponentController | typeof DashboardController | typeof DownloadLogController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserNotificationController | typeof UserPreferenceController)[];
|
|
285
|
+
dtos: (typeof SlackTemplateAttributesDto | typeof NotificationPayloadDto | typeof SendEmailNotificationDataDto | typeof GchatPostingPayloadDto | typeof SlackPostingPayloadDto | typeof AddShortUrlDto | typeof BankAccountPayloadDto | typeof RecurringDefinitionDto | typeof AddListingPreferenceDto | typeof ListResponseDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof ProcessCommonListConfigDto | typeof AccessBusinessParamDto | typeof DbFindDto | typeof AddBusinessPreferenceDto | typeof ModifyCustomFieldStatusDto | typeof AddDashboardComponentPropertiesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddConversationDto | typeof AddTagDto | typeof ProcessListingPayloadDto)[];
|
|
282
286
|
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)[];
|
|
283
287
|
enums: (typeof NotificationTypeEnum | typeof RecurringPeriodEnum | typeof CustomColumnTypeEnum)[];
|
|
284
288
|
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 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)[];
|
|
285
|
-
libraries: (typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof SendWhatsappMessageNotification | typeof ProcessListingCsvFile | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessReportData | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | 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)[];
|
|
289
|
+
libraries: (typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof SendWhatsappMessageNotification | typeof ProcessListingCsvFile | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessReportData | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | 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)[];
|
|
286
290
|
middlewares: (typeof BusinessMiddleware | typeof ExternalAccessMiddleware)[];
|
|
287
291
|
services: (typeof SendEmailService | typeof GchatService | typeof SlackService | typeof WhatsappService | typeof NotificationService | typeof SlabsService | typeof AccessBusinessService | typeof ListingService | typeof WebhookService | typeof AuditLogService | typeof ListingPreferenceService | typeof ScheduledReportService | typeof BusinessUserRoleService | typeof UtilityService | typeof CustomFieldService | typeof ApiAccountService | typeof BusinessPreferenceService | typeof Es6JobsService | typeof LoadEntityService | typeof UserNotificationService | typeof UserPreferenceService)[];
|
|
288
292
|
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_component_controller_1 = require("./controllers/dashboard.component.controller");
|
|
13
14
|
const dashboard_controller_1 = require("./controllers/dashboard.controller");
|
|
14
15
|
const download_log_controller_1 = require("./controllers/download.log.controller");
|
|
15
16
|
const group_member_controller_1 = require("./controllers/group.member.controller");
|
|
@@ -29,6 +30,8 @@ const add_choice_list_dto_1 = require("./dtos/add.choice.list.dto");
|
|
|
29
30
|
const add_choice_type_dto_1 = require("./dtos/add.choice.type.dto");
|
|
30
31
|
const add_conversation_dto_1 = require("./dtos/add.conversation.dto");
|
|
31
32
|
const add_custom_field_dto_1 = require("./dtos/add.custom.field.dto");
|
|
33
|
+
const add_dashboard_component_dto_1 = require("./dtos/add.dashboard.component.dto");
|
|
34
|
+
const add_dashboard_component_properties_dto_1 = require("./dtos/add.dashboard.component.properties.dto");
|
|
32
35
|
const add_group_member_dto_1 = require("./dtos/add.group.member.dto");
|
|
33
36
|
const add_listing_preference_dto_1 = require("./dtos/add.listing.preference.dto");
|
|
34
37
|
const add_role_dto_1 = require("./dtos/add.role.dto");
|
|
@@ -273,6 +276,7 @@ const process_common_list_1 = require("./libraries/process.common.list");
|
|
|
273
276
|
const process_conversation_data_1 = require("./libraries/process.conversation.data");
|
|
274
277
|
const process_custom_field_creation_1 = require("./libraries/process.custom.field.creation");
|
|
275
278
|
const process_custom_field_list_1 = require("./libraries/process.custom.field.list");
|
|
279
|
+
const process_dashboard_component_1 = require("./libraries/process.dashboard.component");
|
|
276
280
|
const process_dashboard_report_1 = require("./libraries/process.dashboard.report");
|
|
277
281
|
const process_date_filter_1 = require("./libraries/process.date.filter");
|
|
278
282
|
const process_db_find_1 = require("./libraries/process.db.find");
|
|
@@ -393,6 +397,7 @@ const es6Classes = {
|
|
|
393
397
|
choice_list_controller_1.ChoiceListController,
|
|
394
398
|
choice_type_controller_1.ChoiceTypeController,
|
|
395
399
|
custom_field_controller_1.CustomFieldController,
|
|
400
|
+
dashboard_component_controller_1.DashboardComponentController,
|
|
396
401
|
dashboard_controller_1.DashboardController,
|
|
397
402
|
download_log_controller_1.DownloadLogController,
|
|
398
403
|
group_member_controller_1.GroupMemberController,
|
|
@@ -414,6 +419,8 @@ const es6Classes = {
|
|
|
414
419
|
add_choice_type_dto_1.AddChoiceTypeDto,
|
|
415
420
|
add_conversation_dto_1.AddConversationDto,
|
|
416
421
|
add_custom_field_dto_1.AddCustomFieldDto,
|
|
422
|
+
add_dashboard_component_dto_1.AddDashboardComponentDto,
|
|
423
|
+
add_dashboard_component_properties_dto_1.AddDashboardComponentPropertiesDto,
|
|
417
424
|
add_group_member_dto_1.AddGroupMemberDto,
|
|
418
425
|
add_listing_preference_dto_1.AddListingPreferenceDto,
|
|
419
426
|
add_role_dto_1.AddRoleDto,
|
|
@@ -662,6 +669,7 @@ const es6Classes = {
|
|
|
662
669
|
process_conversation_data_1.ProcessConversationData,
|
|
663
670
|
process_custom_field_creation_1.ProcessCustomFieldCreation,
|
|
664
671
|
process_custom_field_list_1.ProcessCustomFieldList,
|
|
672
|
+
process_dashboard_component_1.ProcessDashboardComponent,
|
|
665
673
|
process_dashboard_report_1.ProcessDashboardReport,
|
|
666
674
|
process_date_filter_1.ProcessDateFilter,
|
|
667
675
|
process_db_find_1.ProcessDbFind,
|
|
@@ -1 +1 @@
|
|
|
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,6EAAyE;AACzE,mFAA8E;AAC9E,mFAA8E;AAC9E,+EAA0E;AAC1E,yEAAqE;AACrE,+FAA0F;AAC1F,2FAAsF;AACtF,qGAA+F;AAC/F,iEAA6D;AAC7D,6FAAwF;AACxF,yFAAoF;AACpF,gFAA0E;AAC1E,oEAA8D;AAC9D,oFAA8E;AAC9E,oFAA6E;AAC7E,oEAA8D;AAC9D,oEAA8D;AAC9D,sEAAiE;AACjE,sEAAgE;AAChE,sEAAgE;AAChE,k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d,4BAAY;QACZ,qDAAwB;QACxB,gCAAc;QACd,uCAAiB;QACjB,0CAAmB;QACnB,iDAAsB;QACtB,qCAAgB;QAChB,4BAAY;QACZ,4BAAY;QACZ,mDAAuB;QACvB,+CAAqB;QACrB,gCAAc;QACd,gCAAc;QACd,kCAAe;KAClB;IACD,WAAW,EAAE;QACT,6CAAoB;QACpB,mDAAuB;QACvB,4DAA2B;QAC3B,6DAA4B;QAC5B,4DAA2B;QAC3B,0DAA0B;QAC1B,iDAAsB;QACtB,2CAAmB;QACnB,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,iFAA4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;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,7 +1,9 @@
|
|
|
1
|
-
import { CommonJob, DatabaseEventDto, QueueService } from '@servicelabsco/nestjs-utility-services';
|
|
1
|
+
import { CacheService, CommonJob, DatabaseEventDto, QueueService } from '@servicelabsco/nestjs-utility-services';
|
|
2
2
|
import { SlackIntegrationEntity } from '../entities/slack.integration.entity';
|
|
3
3
|
export declare class SlackIntegrationJob extends CommonJob {
|
|
4
4
|
protected readonly queueService: QueueService;
|
|
5
|
-
|
|
5
|
+
protected readonly cacheService: CacheService;
|
|
6
|
+
constructor(queueService: QueueService, cacheService: CacheService);
|
|
6
7
|
handle(evt: DatabaseEventDto<SlackIntegrationEntity>): Promise<SlackIntegrationEntity>;
|
|
8
|
+
removeTokenFromCacheService(evt: DatabaseEventDto<SlackIntegrationEntity>): Promise<void>;
|
|
7
9
|
}
|
|
@@ -13,17 +13,28 @@ exports.SlackIntegrationJob = void 0;
|
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
|
14
14
|
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
15
|
let SlackIntegrationJob = class SlackIntegrationJob extends nestjs_utility_services_1.CommonJob {
|
|
16
|
-
constructor(queueService) {
|
|
16
|
+
constructor(queueService, cacheService) {
|
|
17
17
|
super('6c893149710d196ed9e3afa79f311750');
|
|
18
18
|
this.queueService = queueService;
|
|
19
|
+
this.cacheService = cacheService;
|
|
19
20
|
}
|
|
20
21
|
async handle(evt) {
|
|
22
|
+
await this.removeTokenFromCacheService(evt);
|
|
21
23
|
return evt.entity;
|
|
22
24
|
}
|
|
25
|
+
async removeTokenFromCacheService(evt) {
|
|
26
|
+
if (this.isNewRecord(evt))
|
|
27
|
+
return;
|
|
28
|
+
if (!this.isColumnUpdated(evt, ['is_enabled', 'access_token']))
|
|
29
|
+
return;
|
|
30
|
+
const key = `slack.business.${evt.entity.business_id}.token`;
|
|
31
|
+
return this.cacheService.delete(key);
|
|
32
|
+
}
|
|
23
33
|
};
|
|
24
34
|
exports.SlackIntegrationJob = SlackIntegrationJob;
|
|
25
35
|
exports.SlackIntegrationJob = SlackIntegrationJob = __decorate([
|
|
26
36
|
(0, common_1.Injectable)(),
|
|
27
|
-
__metadata("design:paramtypes", [nestjs_utility_services_1.QueueService
|
|
37
|
+
__metadata("design:paramtypes", [nestjs_utility_services_1.QueueService,
|
|
38
|
+
nestjs_utility_services_1.CacheService])
|
|
28
39
|
], SlackIntegrationJob);
|
|
29
40
|
//# sourceMappingURL=slack.integration.job.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slack.integration.job.js","sourceRoot":"","sources":["../../../src/access/jobs/slack.integration.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"slack.integration.job.js","sourceRoot":"","sources":["../../../src/access/jobs/slack.integration.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,oFAAiH;AAI1G,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,mCAAS;IAC9C,YACuB,YAA0B,EAC1B,YAA0B;QAE7C,KAAK,CAAC,kCAAkC,CAAC,CAAC;QAHvB,iBAAY,GAAZ,YAAY,CAAc;QAC1B,iBAAY,GAAZ,YAAY,CAAc;IAGjD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,GAA6C;QACtD,MAAM,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,CAAC;QAE5C,OAAO,GAAG,CAAC,MAAM,CAAC;IACtB,CAAC;IAED,KAAK,CAAC,2BAA2B,CAAC,GAA6C;QAC3E,IAAI,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC;YAAE,OAAO;QAClC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;YAAE,OAAO;QAEvE,MAAM,GAAG,GAAG,kBAAkB,GAAG,CAAC,MAAM,CAAC,WAAW,QAAQ,CAAC;QAE7D,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACzC,CAAC;CACJ,CAAA;AArBY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;qCAG4B,sCAAY;QACZ,sCAAY;GAHxC,mBAAmB,CAqB/B"}
|
|
@@ -16,6 +16,7 @@ export * from './process.common.list';
|
|
|
16
16
|
export * from './process.conversation.data';
|
|
17
17
|
export * from './process.custom.field.creation';
|
|
18
18
|
export * from './process.custom.field.list';
|
|
19
|
+
export * from './process.dashboard.component';
|
|
19
20
|
export * from './process.dashboard.report';
|
|
20
21
|
export * from './process.date.filter';
|
|
21
22
|
export * from './process.db.find';
|
|
@@ -32,6 +32,7 @@ __exportStar(require("./process.common.list"), exports);
|
|
|
32
32
|
__exportStar(require("./process.conversation.data"), exports);
|
|
33
33
|
__exportStar(require("./process.custom.field.creation"), exports);
|
|
34
34
|
__exportStar(require("./process.custom.field.list"), exports);
|
|
35
|
+
__exportStar(require("./process.dashboard.component"), exports);
|
|
35
36
|
__exportStar(require("./process.dashboard.report"), exports);
|
|
36
37
|
__exportStar(require("./process.date.filter"), exports);
|
|
37
38
|
__exportStar(require("./process.db.find"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AAAA,4DAA0C;AAAA,6DAA2C;AAAA,6DAA2C;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,6DAA2C;AAAA,yEAAuD;AAAA,qEAAmD;AAAA,sEAAoD;AAAA,6DAA2C;AAAA,6DAA2C;AAAA,6DAA2C;AAAA,gEAA8C;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,8DAA4C;AAAA,6DAA2C;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,6DAA2C;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,4DAA0C;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"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AAAA,4DAA0C;AAAA,6DAA2C;AAAA,6DAA2C;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,6DAA2C;AAAA,yEAAuD;AAAA,qEAAmD;AAAA,sEAAoD;AAAA,6DAA2C;AAAA,6DAA2C;AAAA,6DAA2C;AAAA,gEAA8C;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,8DAA4C;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,6DAA2C;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,4DAA0C;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,6 @@
|
|
|
1
|
+
import { AddDashboardComponentDto } from '../dtos/add.dashboard.component.dto';
|
|
2
|
+
import { DashboardEntity } from '../entities/dashboard.entity';
|
|
3
|
+
export declare class ProcessDashboardComponent {
|
|
4
|
+
process(payload: AddDashboardComponentDto): Promise<DashboardEntity>;
|
|
5
|
+
private deleteDashboard;
|
|
6
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProcessDashboardComponent = void 0;
|
|
4
|
+
const typeorm_1 = require("typeorm");
|
|
5
|
+
const dashboard_component_entity_1 = require("../entities/dashboard.component.entity");
|
|
6
|
+
const dashboard_entity_1 = require("../entities/dashboard.entity");
|
|
7
|
+
class ProcessDashboardComponent {
|
|
8
|
+
async process(payload) {
|
|
9
|
+
const dashboard = await dashboard_entity_1.DashboardEntity.first(payload.dashboard_id);
|
|
10
|
+
if (!dashboard)
|
|
11
|
+
return;
|
|
12
|
+
const ids = [];
|
|
13
|
+
for await (const component of payload.components) {
|
|
14
|
+
let dc = await dashboard_component_entity_1.DashboardComponentEntity.create({
|
|
15
|
+
dashboard_id: payload?.dashboard_id,
|
|
16
|
+
custom_report_id: component?.custom_report_id,
|
|
17
|
+
});
|
|
18
|
+
if (component?.id)
|
|
19
|
+
dc = await dashboard_component_entity_1.DashboardComponentEntity.first(component?.id);
|
|
20
|
+
dc.properties = component.properties;
|
|
21
|
+
dc.active = component?.active ?? true;
|
|
22
|
+
dc.identifier = component.identifier;
|
|
23
|
+
await dc.save();
|
|
24
|
+
if (dc.active)
|
|
25
|
+
ids.push(dc.id);
|
|
26
|
+
}
|
|
27
|
+
await this.deleteDashboard(ids, payload?.dashboard_id);
|
|
28
|
+
return dashboard;
|
|
29
|
+
}
|
|
30
|
+
async deleteDashboard(ids, dashboard_id) {
|
|
31
|
+
const unwantedComponents = await dashboard_component_entity_1.DashboardComponentEntity.find({ where: { id: (0, typeorm_1.Not)((0, typeorm_1.In)(ids)), dashboard_id: dashboard_id } });
|
|
32
|
+
for await (const unwantedComponent of unwantedComponents) {
|
|
33
|
+
const r = await dashboard_component_entity_1.DashboardComponentEntity.first(unwantedComponent?.id);
|
|
34
|
+
await r.softDelete();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.ProcessDashboardComponent = ProcessDashboardComponent;
|
|
39
|
+
//# sourceMappingURL=process.dashboard.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process.dashboard.component.js","sourceRoot":"","sources":["../../../src/access/libraries/process.dashboard.component.ts"],"names":[],"mappings":";;;AAAA,qCAAkC;AAElC,uFAAkF;AAClF,mEAA+D;AAE/D,MAAa,yBAAyB;IAWlC,KAAK,CAAC,OAAO,CAAC,OAAiC;QAC3C,MAAM,SAAS,GAAG,MAAM,kCAAe,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QACpE,IAAI,CAAC,SAAS;YAAE,OAAO;QAEvB,MAAM,GAAG,GAAG,EAAE,CAAC;QACf,IAAI,KAAK,EAAE,MAAM,SAAS,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;YAC/C,IAAI,EAAE,GAAG,MAAM,qDAAwB,CAAC,MAAM,CAAC;gBAC3C,YAAY,EAAE,OAAO,EAAE,YAAY;gBACnC,gBAAgB,EAAE,SAAS,EAAE,gBAAgB;aAChD,CAAC,CAAC;YAEH,IAAI,SAAS,EAAE,EAAE;gBAAE,EAAE,GAAG,MAAM,qDAAw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