@servicelabsco/slabs-access-manager 0.1.276 → 0.1.277
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access/controllers/business.script.controller.d.ts +17 -0
- package/dist/access/controllers/business.script.controller.js +97 -0
- package/dist/access/controllers/business.script.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/business.script.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/business.script.attributes.dto.js +8 -0
- package/dist/access/dtos/business.script.attributes.dto.js.map +1 -0
- package/dist/access/dtos/business.script.list.filter.dto.d.ts +3 -0
- package/dist/access/dtos/business.script.list.filter.dto.js +8 -0
- package/dist/access/dtos/business.script.list.filter.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/entities/business.script.entity.d.ts +11 -0
- package/dist/access/entities/business.script.entity.js +49 -0
- package/dist/access/entities/business.script.entity.js.map +1 -0
- package/dist/access/entities/email.message.entity.d.ts +1 -0
- package/dist/access/entities/email.message.entity.js +4 -0
- package/dist/access/entities/email.message.entity.js.map +1 -1
- package/dist/access/entities/index.d.ts +1 -0
- package/dist/access/entities/index.js +1 -0
- package/dist/access/entities/index.js.map +1 -1
- package/dist/access/es6.classes.d.ts +11 -5
- package/dist/access/es6.classes.js +16 -0
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/jobs/business.script.job.d.ts +7 -0
- package/dist/access/jobs/business.script.job.js +29 -0
- package/dist/access/jobs/business.script.job.js.map +1 -0
- package/dist/access/jobs/index.d.ts +1 -0
- package/dist/access/jobs/index.js +1 -0
- package/dist/access/jobs/index.js.map +1 -1
- package/dist/access/libraries/index.d.ts +2 -0
- package/dist/access/libraries/index.js +2 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/process.business.script.data.d.ts +12 -0
- package/dist/access/libraries/process.business.script.data.js +36 -0
- package/dist/access/libraries/process.business.script.data.js.map +1 -0
- package/dist/access/libraries/process.business.script.list.d.ts +20 -0
- package/dist/access/libraries/process.business.script.list.js +34 -0
- package/dist/access/libraries/process.business.script.list.js.map +1 -0
- package/dist/access/services/es6.jobs.service.d.ts +3 -1
- package/dist/access/services/es6.jobs.service.js +5 -1
- package/dist/access/services/es6.jobs.service.js.map +1 -1
- package/dist/access/subscribers/business.script.subscriber.d.ts +10 -0
- package/dist/access/subscribers/business.script.subscriber.js +34 -0
- package/dist/access/subscribers/business.script.subscriber.js.map +1 -0
- package/dist/access/subscribers/index.d.ts +1 -0
- package/dist/access/subscribers/index.js +1 -0
- package/dist/access/subscribers/index.js.map +1 -1
- package/dist/accessWorkflow/es6.classes.d.ts +2 -1
- package/dist/accessWorkflow/es6.classes.js +2 -1
- package/dist/accessWorkflow/es6.classes.js.map +1 -1
- package/dist/accessWorkflow/services/es6.service.d.ts +6 -0
- package/dist/accessWorkflow/services/es6.service.js +33 -0
- package/dist/accessWorkflow/services/es6.service.js.map +1 -0
- package/dist/app.controller.d.ts +1 -1
- package/dist/app.controller.js +1 -10
- package/dist/app.controller.js.map +1 -1
- package/dist/config/entity.constants.d.ts +2 -0
- package/dist/config/entity.constants.js +2 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/config/source.hash.d.ts +1 -0
- package/dist/config/source.hash.js +1 -0
- package/dist/config/source.hash.js.map +1 -1
- package/dist/migrations/1761471295651-CreateBusinessScriptTable.d.ts +5 -0
- package/dist/migrations/1761471295651-CreateBusinessScriptTable.js +20 -0
- package/dist/migrations/1761471295651-CreateBusinessScriptTable.js.map +1 -0
- package/dist/migrations/1761682960381-AddMetaMessageIdBzEmailMessagesTable.ts.d.ts +5 -0
- package/dist/migrations/1761682960381-AddMetaMessageIdBzEmailMessagesTable.ts.js +16 -0
- package/dist/migrations/1761682960381-AddMetaMessageIdBzEmailMessagesTable.ts.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ExecutableScriptService, SqlService, StringSearchDto } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BusinessParamDto } from '../dtos/business.param.dto';
|
|
3
|
+
import { BusinessScriptListFilterDto } from '../dtos/business.script.list.filter.dto';
|
|
4
|
+
import { BusinessScriptEntity } from '../entities/business.script.entity';
|
|
5
|
+
import { AccessBusinessService } from '../services/access.business.service';
|
|
6
|
+
import { ListingService } from '../services/listing.service';
|
|
7
|
+
export declare class BusinessScriptController {
|
|
8
|
+
private readonly accessBusinessService;
|
|
9
|
+
private readonly sqlService;
|
|
10
|
+
private readonly listingService;
|
|
11
|
+
protected readonly executableScriptService: ExecutableScriptService;
|
|
12
|
+
constructor(accessBusinessService: AccessBusinessService, sqlService: SqlService, listingService: ListingService, executableScriptService: ExecutableScriptService);
|
|
13
|
+
search(body: BusinessScriptListFilterDto): Promise<import("..").ListResponseDto>;
|
|
14
|
+
find(body: StringSearchDto): Promise<any>;
|
|
15
|
+
show(params: BusinessParamDto): Promise<BusinessScriptEntity>;
|
|
16
|
+
execute(params: BusinessParamDto, body: any): Promise<import("@servicelabsco/nestjs-utility-services").SystemLogEntity>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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.BusinessScriptController = 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 business_script_list_filter_dto_1 = require("../dtos/business.script.list.filter.dto");
|
|
20
|
+
const business_script_entity_1 = require("../entities/business.script.entity");
|
|
21
|
+
const process_business_script_data_1 = require("../libraries/process.business.script.data");
|
|
22
|
+
const process_business_script_list_1 = require("../libraries/process.business.script.list");
|
|
23
|
+
const process_db_find_1 = require("../libraries/process.db.find");
|
|
24
|
+
const access_business_service_1 = require("../services/access.business.service");
|
|
25
|
+
const listing_service_1 = require("../services/listing.service");
|
|
26
|
+
let BusinessScriptController = class BusinessScriptController {
|
|
27
|
+
constructor(accessBusinessService, sqlService, listingService, executableScriptService) {
|
|
28
|
+
this.accessBusinessService = accessBusinessService;
|
|
29
|
+
this.sqlService = sqlService;
|
|
30
|
+
this.listingService = listingService;
|
|
31
|
+
this.executableScriptService = executableScriptService;
|
|
32
|
+
}
|
|
33
|
+
async search(body) {
|
|
34
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
35
|
+
return new process_business_script_list_1.ProcessBusinessScriptList(business, this.listingService).process(body);
|
|
36
|
+
}
|
|
37
|
+
async find(body) {
|
|
38
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
39
|
+
const config = {
|
|
40
|
+
primaryCondition: `a.deleted_at is null and a.business_id = ${business.id}`,
|
|
41
|
+
searchCompareKeys: ['a.identifier'],
|
|
42
|
+
tableName: 'bz_executable_scripts a',
|
|
43
|
+
columns: ['a.*'],
|
|
44
|
+
order: `created_at asc`,
|
|
45
|
+
idsCompareKey: 'a.id',
|
|
46
|
+
...body,
|
|
47
|
+
};
|
|
48
|
+
return new process_db_find_1.ProcessDbFind(this.sqlService).process(config);
|
|
49
|
+
}
|
|
50
|
+
async show(params) {
|
|
51
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
52
|
+
return business_script_entity_1.BusinessScriptEntity.findOne({ where: { id: params.id, business_id: business.id }, relations: ['script.props'] });
|
|
53
|
+
}
|
|
54
|
+
async execute(params, body) {
|
|
55
|
+
const business = await this.accessBusinessService.validateAccess();
|
|
56
|
+
const script = await business_script_entity_1.BusinessScriptEntity.findOne({ where: { business_id: business.id, id: params.id }, relations: ['script.script'] });
|
|
57
|
+
return new process_business_script_data_1.ProcessBusinessScriptData(business, script, this.executableScriptService).process(body);
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
exports.BusinessScriptController = BusinessScriptController;
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, common_1.Post)('search'),
|
|
63
|
+
__param(0, (0, common_1.Body)()),
|
|
64
|
+
__metadata("design:type", Function),
|
|
65
|
+
__metadata("design:paramtypes", [business_script_list_filter_dto_1.BusinessScriptListFilterDto]),
|
|
66
|
+
__metadata("design:returntype", Promise)
|
|
67
|
+
], BusinessScriptController.prototype, "search", null);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, common_1.Post)('find'),
|
|
70
|
+
__param(0, (0, common_1.Body)()),
|
|
71
|
+
__metadata("design:type", Function),
|
|
72
|
+
__metadata("design:paramtypes", [nestjs_utility_services_1.StringSearchDto]),
|
|
73
|
+
__metadata("design:returntype", Promise)
|
|
74
|
+
], BusinessScriptController.prototype, "find", null);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, common_1.Get)(':id'),
|
|
77
|
+
__param(0, (0, common_1.Param)()),
|
|
78
|
+
__metadata("design:type", Function),
|
|
79
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
80
|
+
__metadata("design:returntype", Promise)
|
|
81
|
+
], BusinessScriptController.prototype, "show", null);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, common_1.Post)(':id/execute'),
|
|
84
|
+
__param(0, (0, common_1.Param)()),
|
|
85
|
+
__param(1, (0, common_1.Body)()),
|
|
86
|
+
__metadata("design:type", Function),
|
|
87
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto, Object]),
|
|
88
|
+
__metadata("design:returntype", Promise)
|
|
89
|
+
], BusinessScriptController.prototype, "execute", null);
|
|
90
|
+
exports.BusinessScriptController = BusinessScriptController = __decorate([
|
|
91
|
+
(0, common_1.Controller)('api/b/business-script'),
|
|
92
|
+
__metadata("design:paramtypes", [access_business_service_1.AccessBusinessService,
|
|
93
|
+
nestjs_utility_services_1.SqlService,
|
|
94
|
+
listing_service_1.ListingService,
|
|
95
|
+
nestjs_utility_services_1.ExecutableScriptService])
|
|
96
|
+
], BusinessScriptController);
|
|
97
|
+
//# sourceMappingURL=business.script.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.script.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/business.script.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,oFAA8G;AAC9G,mEAA8D;AAC9D,6FAAsF;AAEtF,+EAA0E;AAC1E,4FAAsF;AACtF,4FAAsF;AACtF,kEAA6D;AAC7D,iFAA4E;AAC5E,iEAA6D;AAQtD,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACjC,YACqB,qBAA4C,EAC5C,UAAsB,EACtB,cAA8B,EAC5B,uBAAgD;QAHlD,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,eAAU,GAAV,UAAU,CAAY;QACtB,mBAAc,GAAd,cAAc,CAAgB;QAC5B,4BAAuB,GAAvB,uBAAuB,CAAyB;IACpE,CAAC;IAGE,AAAN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,KAAK,EAAE,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;QAExI,OAAO,IAAI,wDAAyB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACvG,CAAC;CACJ,CAAA;AA9CY,4DAAwB;AAS3B;IADL,IAAA,aAAI,EAAC,QAAQ,CAAC;IACD,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,6DAA2B;;sDAIrD;AAGK;IADL,IAAA,aAAI,EAAC,MAAM,CAAC;IACD,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,yCAAe;;oDAcvC;AAGK;IADL,IAAA,YAAG,EAAC,KAAK,CAAC;IACC,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;oDAI3C;AAGK;IADL,IAAA,aAAI,EAAC,aAAa,CAAC;IACL,WAAA,IAAA,cAAK,GAAE,CAAA;IAA4B,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAzB,qCAAgB;;uDAK9C;mCA7CQ,wBAAwB;IADpC,IAAA,mBAAU,EAAC,uBAAuB,CAAC;qCAGY,+CAAqB;QAChC,oCAAU;QACN,gCAAc;QACH,iDAAuB;GAL9D,wBAAwB,CA8CpC"}
|
|
@@ -6,6 +6,7 @@ export * from './business.app.integration.controller';
|
|
|
6
6
|
export * from './business.notification.channel.preference.controller';
|
|
7
7
|
export * from './business.preference.controller';
|
|
8
8
|
export * from './business.report.controller';
|
|
9
|
+
export * from './business.script.controller';
|
|
9
10
|
export * from './business.user.group.controller';
|
|
10
11
|
export * from './business.user.notification.preference.controller';
|
|
11
12
|
export * from './business.webhook.controller';
|
|
@@ -22,6 +22,7 @@ __exportStar(require("./business.app.integration.controller"), exports);
|
|
|
22
22
|
__exportStar(require("./business.notification.channel.preference.controller"), exports);
|
|
23
23
|
__exportStar(require("./business.preference.controller"), exports);
|
|
24
24
|
__exportStar(require("./business.report.controller"), exports);
|
|
25
|
+
__exportStar(require("./business.script.controller"), exports);
|
|
25
26
|
__exportStar(require("./business.user.group.controller"), exports);
|
|
26
27
|
__exportStar(require("./business.user.notification.preference.controller"), exports);
|
|
27
28
|
__exportStar(require("./business.webhook.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,wEAAsD;AAAA,wFAAsE;AAAA,mEAAiD;AAAA,+DAA6C;AAAA,mEAAiD;AAAA,qFAAmE;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,oEAAkD;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,wEAAsD;AAAA,wFAAsE;AAAA,mEAAiD;AAAA,+DAA6C;AAAA,+DAA6C;AAAA,mEAAiD;AAAA,qFAAmE;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,+DAA4C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessScriptAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class BusinessScriptAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BusinessScriptAttributesDto = BusinessScriptAttributesDto;
|
|
8
|
+
//# sourceMappingURL=business.script.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.script.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.script.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,2BAA4B,SAAQ,6CAAmB;CAAG;AAAvE,kEAAuE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessScriptListFilterDto = void 0;
|
|
4
|
+
const common_list_filter_dto_1 = require("./common.list.filter.dto");
|
|
5
|
+
class BusinessScriptListFilterDto extends common_list_filter_dto_1.CommonListFilterDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BusinessScriptListFilterDto = BusinessScriptListFilterDto;
|
|
8
|
+
//# sourceMappingURL=business.script.list.filter.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.script.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.script.list.filter.dto.ts"],"names":[],"mappings":";;;AAAA,qEAA+D;AAE/D,MAAa,2BAA4B,SAAQ,4CAAmB;CAAG;AAAvE,kEAAuE"}
|
|
@@ -40,6 +40,8 @@ export * from './business.notification.channel.preference.list.filter.dto';
|
|
|
40
40
|
export * from './business.param.dto';
|
|
41
41
|
export * from './business.preference.attributes.dto';
|
|
42
42
|
export * from './business.property.attributes.dto';
|
|
43
|
+
export * from './business.script.attributes.dto';
|
|
44
|
+
export * from './business.script.list.filter.dto';
|
|
43
45
|
export * from './business.user.attributes.dto';
|
|
44
46
|
export * from './business.user.group.attributes.dto';
|
|
45
47
|
export * from './business.user.group.list.filter.dto';
|
|
@@ -56,6 +56,8 @@ __exportStar(require("./business.notification.channel.preference.list.filter.dto
|
|
|
56
56
|
__exportStar(require("./business.param.dto"), exports);
|
|
57
57
|
__exportStar(require("./business.preference.attributes.dto"), exports);
|
|
58
58
|
__exportStar(require("./business.property.attributes.dto"), exports);
|
|
59
|
+
__exportStar(require("./business.script.attributes.dto"), exports);
|
|
60
|
+
__exportStar(require("./business.script.list.filter.dto"), exports);
|
|
59
61
|
__exportStar(require("./business.user.attributes.dto"), exports);
|
|
60
62
|
__exportStar(require("./business.user.group.attributes.dto"), exports);
|
|
61
63
|
__exportStar(require("./business.user.group.list.filter.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,mEAAiD;AAAA,wDAAsC;AAAA,qEAAmD;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,kFAAgE;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,2EAAyD;AAAA,uDAAqC;AAAA,yDAAuC;AAAA,mEAAiD;AAAA,+DAA6C;AAAA,4EAA0D;AAAA,iDAA+B;AAAA,6DAA2C;AAAA,sDAAoC;AAAA,gDAA8B;AAAA,4DAA0C;AAAA,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AAwC;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,4DAA0C;AAAA,mEAAiD;AAAA,oDAAkC;AAAA,yEAAuD;AAAA,oEAAkD;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,6DAA2C;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,8DAA4C;AAAA,oEAAkD;AAAA,0EAAwD;AAAA,yEAAuD;AAAA,0EAAwD;AAAA,qEAAmD;AAAA,qEAAmD;AAAA,iEAA+C;AAAA,sEAAoD;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,iEAA+C;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,8DAA4C;AAAA,iEAA+C;AAAA,yEAAuD;AAAA,sDAAoC;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,wDAAsC;AAAA,wEAAsD;AAAA,qEAAmD;AAAA,sEAAoD;AAAA,mEAAiD;AAAA,6DAA2C;AAAA,wEAAsD;AAAA,iEAA+C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,qEAAmD;AAAA,+EAA4D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CommonEntity, ExecutableScriptEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { BusinessScriptAttributesDto } from '../dtos/business.script.attributes.dto';
|
|
3
|
+
import { AccessBusinessEntity } from './access.business.entity';
|
|
4
|
+
export declare class BusinessScriptEntity extends CommonEntity {
|
|
5
|
+
business_id: number;
|
|
6
|
+
script_id: number;
|
|
7
|
+
active: boolean;
|
|
8
|
+
attributes: BusinessScriptAttributesDto;
|
|
9
|
+
business: AccessBusinessEntity;
|
|
10
|
+
script: ExecutableScriptEntity;
|
|
11
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.BusinessScriptEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const business_script_attributes_dto_1 = require("../dtos/business.script.attributes.dto");
|
|
16
|
+
const access_business_entity_1 = require("./access.business.entity");
|
|
17
|
+
let BusinessScriptEntity = class BusinessScriptEntity extends nestjs_utility_services_1.CommonEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.BusinessScriptEntity = BusinessScriptEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], BusinessScriptEntity.prototype, "business_id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], BusinessScriptEntity.prototype, "script_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)(),
|
|
30
|
+
__metadata("design:type", Boolean)
|
|
31
|
+
], BusinessScriptEntity.prototype, "active", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)('json'),
|
|
34
|
+
__metadata("design:type", business_script_attributes_dto_1.BusinessScriptAttributesDto)
|
|
35
|
+
], BusinessScriptEntity.prototype, "attributes", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
38
|
+
(0, typeorm_1.JoinColumn)({ name: 'business_id' }),
|
|
39
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
40
|
+
], BusinessScriptEntity.prototype, "business", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.ExecutableScriptEntity),
|
|
43
|
+
(0, typeorm_1.JoinColumn)({ name: 'script_id' }),
|
|
44
|
+
__metadata("design:type", nestjs_utility_services_1.ExecutableScriptEntity)
|
|
45
|
+
], BusinessScriptEntity.prototype, "script", void 0);
|
|
46
|
+
exports.BusinessScriptEntity = BusinessScriptEntity = __decorate([
|
|
47
|
+
(0, typeorm_1.Entity)('bz_executable_scripts')
|
|
48
|
+
], BusinessScriptEntity);
|
|
49
|
+
//# sourceMappingURL=business.script.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.script.entity.js","sourceRoot":"","sources":["../../../src/access/entities/business.script.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAA8F;AAC9F,2FAAqF;AACrF,qEAAgE;AASzD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;CAiBrD,CAAA;AAjBY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;yDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;uDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;oDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,4DAA2B;wDAAC;AAGoC;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,6CAAoB;sDAAC;AAE/B;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAAS,gDAAsB;oDAAC;+BAhBlG,oBAAoB;IADhC,IAAA,gBAAM,EAAC,uBAAuB,CAAC;GACnB,oBAAoB,CAiBhC"}
|
|
@@ -24,6 +24,7 @@ export declare class EmailMessageEntity extends CommonEntity {
|
|
|
24
24
|
custom_field_data: string;
|
|
25
25
|
threads_count: number;
|
|
26
26
|
last_thread_at: Date;
|
|
27
|
+
meta_message_id: number;
|
|
27
28
|
attributes: EmailMessageAttributesDto;
|
|
28
29
|
email: BusinessEmailEntity;
|
|
29
30
|
attachments: EmailAttachmentEntity[];
|
|
@@ -92,6 +92,10 @@ __decorate([
|
|
|
92
92
|
(0, typeorm_1.Column)(),
|
|
93
93
|
__metadata("design:type", Date)
|
|
94
94
|
], EmailMessageEntity.prototype, "last_thread_at", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, typeorm_1.Column)(),
|
|
97
|
+
__metadata("design:type", Number)
|
|
98
|
+
], EmailMessageEntity.prototype, "meta_message_id", void 0);
|
|
95
99
|
__decorate([
|
|
96
100
|
(0, typeorm_1.Column)('json'),
|
|
97
101
|
__metadata("design:type", email_message_attributes_dto_1.EmailMessageAttributesDto)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.message.entity.js","sourceRoot":"","sources":["../../../src/access/entities/email.message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAA2E;AAE3E,uFAAiF;AACjF,mEAA8D;AAC9D,uEAAkE;AAClE,qEAAgE;AAChE,2DAAsD;AAS/C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,sCAAY;
|
|
1
|
+
{"version":3,"file":"email.message.entity.js","sourceRoot":"","sources":["../../../src/access/entities/email.message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAA2E;AAE3E,uFAAiF;AACjF,mEAA8D;AAC9D,uEAAkE;AAClE,qEAAgE;AAChE,2DAAsD;AAS/C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,sCAAY;CAwEnD,CAAA;AAxEY,gDAAkB;AAE3B;IADC,IAAA,gBAAM,GAAE;;oDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;gDACI;AAGb;IADC,IAAA,gBAAM,GAAE;8BACI,IAAI;uDAAC;AAGlB;IADC,IAAA,gBAAM,GAAE;;gDACK;AAGd;IADC,IAAA,gBAAM,GAAE;;+DACmB;AAG5B;IADC,IAAA,gBAAM,GAAE;;sDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;8BACG,IAAI;sDAAC;AAGjB;IADC,IAAA,gBAAM,GAAE;;sDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;qDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;qDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;8BACK,IAAI;wDAAC;AAGnB;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;6DACW;AAG1B;IADC,IAAA,gBAAM,GAAE;;yDACa;AAGtB;IADC,IAAA,gBAAM,GAAE;8BACO,IAAI;0DAAC;AAGrB;IADC,IAAA,gBAAM,GAAE;;2DACe;AAGxB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,wDAAyB;sDAAC;AAGkC;IAAvE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAAQ,2CAAmB;iDAAC;AAEvB;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,+CAAqB,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;;uDAAsC;AAExC;IAAxE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;;sDAAoC;AAEzC;IAAlE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAe,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,mCAAe;gDAAC;6BApEhF,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,mBAAmB,CAAC;GACf,kBAAkB,CAwE9B"}
|
|
@@ -12,6 +12,7 @@ export * from './business.menu.entity';
|
|
|
12
12
|
export * from './business.preference.entity';
|
|
13
13
|
export * from './business.property.entity';
|
|
14
14
|
export * from './business.report.entity';
|
|
15
|
+
export * from './business.script.entity';
|
|
15
16
|
export * from './business.user.entity';
|
|
16
17
|
export * from './business.user.group.entity';
|
|
17
18
|
export * from './business.user.notification.preference.entity';
|
|
@@ -28,6 +28,7 @@ __exportStar(require("./business.menu.entity"), exports);
|
|
|
28
28
|
__exportStar(require("./business.preference.entity"), exports);
|
|
29
29
|
__exportStar(require("./business.property.entity"), exports);
|
|
30
30
|
__exportStar(require("./business.report.entity"), exports);
|
|
31
|
+
__exportStar(require("./business.script.entity"), exports);
|
|
31
32
|
__exportStar(require("./business.user.entity"), exports);
|
|
32
33
|
__exportStar(require("./business.user.group.entity"), exports);
|
|
33
34
|
__exportStar(require("./business.user.notification.preference.entity"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../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AAyC;AAAA,qDAAmC;AAAA,gEAA8C;AAAA,yDAAuC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,uEAAoD"}
|
|
@@ -7,6 +7,7 @@ import { BusinessAppIntegrationController } from './controllers/business.app.int
|
|
|
7
7
|
import { BusinessNotificationChannelPreferenceController } from './controllers/business.notification.channel.preference.controller';
|
|
8
8
|
import { BusinessPreferenceController } from './controllers/business.preference.controller';
|
|
9
9
|
import { BusinessReportController } from './controllers/business.report.controller';
|
|
10
|
+
import { BusinessScriptController } from './controllers/business.script.controller';
|
|
10
11
|
import { BusinessUserGroupController } from './controllers/business.user.group.controller';
|
|
11
12
|
import { BusinessUserNotificationPreferenceController } from './controllers/business.user.notification.preference.controller';
|
|
12
13
|
import { BusinessWebhookController } from './controllers/business.webhook.controller';
|
|
@@ -87,6 +88,7 @@ import { BusinessEmailEntity } from './entities/business.email.entity';
|
|
|
87
88
|
import { BusinessGroupRoleEntity } from './entities/business.group.role.entity';
|
|
88
89
|
import { BusinessMenuEntity } from './entities/business.menu.entity';
|
|
89
90
|
import { BusinessReportEntity } from './entities/business.report.entity';
|
|
91
|
+
import { BusinessScriptEntity } from './entities/business.script.entity';
|
|
90
92
|
import { BusinessUserEntity } from './entities/business.user.entity';
|
|
91
93
|
import { BusinessUserRoleEntity } from './entities/business.user.role.entity';
|
|
92
94
|
import { BusinessWebhookEntity } from './entities/business.webhook.entity';
|
|
@@ -151,6 +153,7 @@ import { BusinessMenuJob } from './jobs/business.menu.job';
|
|
|
151
153
|
import { BusinessPreferenceJob } from './jobs/business.preference.job';
|
|
152
154
|
import { BusinessPropertyJob } from './jobs/business.property.job';
|
|
153
155
|
import { BusinessReportJob } from './jobs/business.report.job';
|
|
156
|
+
import { BusinessScriptJob } from './jobs/business.script.job';
|
|
154
157
|
import { BusinessUserGroupJob } from './jobs/business.user.group.job';
|
|
155
158
|
import { BusinessUserJob } from './jobs/business.user.job';
|
|
156
159
|
import { BusinessUserNotificationPreferenceJob } from './jobs/business.user.notification.preference.job';
|
|
@@ -243,6 +246,8 @@ import { ProcessBulkUploadItemList } from './libraries/process.bulk.upload.item.
|
|
|
243
246
|
import { ProcessBulkUploadList } from './libraries/process.bulk.upload.list';
|
|
244
247
|
import { ProcessBusinessGroupRoleUpdation } from './libraries/process.business.group.role.updation';
|
|
245
248
|
import { ProcessBusinessNotificationChannelPreferenceList } from './libraries/process.business.notification.channel.preference.list';
|
|
249
|
+
import { ProcessBusinessScriptData } from './libraries/process.business.script.data';
|
|
250
|
+
import { ProcessBusinessScriptList } from './libraries/process.business.script.list';
|
|
246
251
|
import { ProcessBusinessUserGroupList } from './libraries/process.business.user.group.list';
|
|
247
252
|
import { ProcessBusinessUserNotificationPreferenceList } from './libraries/process.business.user.notification.preference.list';
|
|
248
253
|
import { ProcessBusinessUserRoleUpdate } from './libraries/process.business.user.role.update';
|
|
@@ -340,6 +345,7 @@ import { BusinessMenuSubscriber } from './subscribers/business.menu.subscriber';
|
|
|
340
345
|
import { BusinessPreferenceSubscriber } from './subscribers/business.preference.subscriber';
|
|
341
346
|
import { BusinessPropertySubscriber } from './subscribers/business.property.subscriber';
|
|
342
347
|
import { BusinessReportSubscriber } from './subscribers/business.report.subscriber';
|
|
348
|
+
import { BusinessScriptSubscriber } from './subscribers/business.script.subscriber';
|
|
343
349
|
import { BusinessUserGroupSubscriber } from './subscribers/business.user.group.subscriber';
|
|
344
350
|
import { BusinessUserNotificationPreferenceSubscriber } from './subscribers/business.user.notification.preference.subscriber';
|
|
345
351
|
import { BusinessUserRoleSubscriber } from './subscribers/business.user.role.subscriber';
|
|
@@ -414,14 +420,14 @@ import { WhatsappTemplateSubscriber } from './subscribers/whatsapp.template.subs
|
|
|
414
420
|
import { WhitelistedWhatsappNumberSubscriber } from './subscribers/whitelisted.whatsapp.number.subscriber';
|
|
415
421
|
declare const es6Classes: {
|
|
416
422
|
commands: (typeof WebhookPollCommand)[];
|
|
417
|
-
controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessAppIntegrationController | typeof BusinessNotificationChannelPreferenceController | typeof BusinessPreferenceController | typeof BusinessReportController | typeof BusinessUserGroupController | typeof BusinessUserNotificationPreferenceController | typeof BusinessWebhookController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CommonWebhookController | typeof CustomFieldController | typeof DashboardBuilderController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperModeController | typeof DownloadLogController | typeof EmailRuleController | typeof FcmTokenController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserBusinessSecretController | typeof UserNotificationController | typeof UserPreferenceController)[];
|
|
423
|
+
controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessAppIntegrationController | typeof BusinessNotificationChannelPreferenceController | typeof BusinessPreferenceController | typeof BusinessReportController | typeof BusinessScriptController | typeof BusinessUserGroupController | typeof BusinessUserNotificationPreferenceController | typeof BusinessWebhookController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CommonWebhookController | typeof CustomFieldController | typeof DashboardBuilderController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperModeController | typeof DownloadLogController | typeof EmailRuleController | typeof FcmTokenController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserBusinessSecretController | typeof UserNotificationController | typeof UserPreferenceController)[];
|
|
418
424
|
dtos: (typeof EmailRuleAttributesDto | typeof EmailMessageNormalizedDto | typeof NotificationPayloadDto | typeof SendEmailNotificationDataDto | typeof EmailRecipientToDto | typeof GchatPostingPayloadDto | typeof BoardCastInternalStatusMessageDto | typeof WhatsappPostingPayloadDto | typeof SendWhatsappMessagePayloadDto | typeof AddShortUrlDto | typeof BankAccountPayloadDto | typeof RecurringDefinitionDto | typeof DbFindDto | typeof AddListingPreferenceDto | typeof ListResponseDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof ProcessCommonListConfigDto | typeof SendWebhookRequestPayload | typeof AccessBusinessParamDto | typeof AddIntegrationPreferenceDto | typeof AddBusinessPreferenceDto | typeof GenerateBusinessReportDto | typeof AddBusinessUserNotificationPreferenceDto | typeof AddWebhookDto | typeof ModifyCustomFieldStatusDto | typeof GetScriptValuesDto | typeof AddDashboardComponentPropertiesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof EditQueryDto | typeof TokenPayloadDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddBusinessAppIntegrationDto | typeof AddConversationDto | typeof AddTagDto | typeof BusinessAppIntegrationMessagePayloadDto | typeof ProcessListingPayloadDto | typeof RequestLogOptionsDto | typeof ServerEmailRecipientsDto | typeof ServerEmailMessageDto | typeof SlackMessageDataDto)[];
|
|
419
|
-
entities: (typeof AccessBusinessEntity | typeof BusinessEmailEntity | typeof EmailMessageEntity | typeof EmailRecipientEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof EmailStyleEntity | typeof EmailTemplateLogEntity | typeof EmailTemplateRecipientEntity | typeof FcmMessageEntity | typeof FcmTokenEntity | typeof GchatUserEntity | typeof GchatMessageEntity | typeof GchatWebhookMessageEntity | typeof SlackMessageEntity | typeof BzNotificationChannelPreferenceEntity | typeof SlackIntegrationEntity | typeof SlackUserEntity | typeof WhatsappMessageEntity | typeof WhatsappPreferenceEntity | typeof BusinessAppIntegrationCredentialEntity | typeof BusinessAppIntegrationMessagesEntity | typeof BusinessDownloadableReportEntity | typeof BusinessGroupRoleEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof ChildMenuEntity | typeof BusinessMenuEntity | typeof BusinessReportEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof BusinessWebhookEntity | typeof ConversationEntity | typeof DashboardComponentEntity | typeof DownloadLogEntity | typeof GroupMemberEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof OnholdDocumentEntity | typeof ReportLogEntity | typeof RequestLogEntity | typeof ScheduledReportEntity | typeof ScheduledReportEmailEntity | typeof ScheduledReportItemEntity | typeof SlackWebhookMessageEntity | typeof UserNotificationEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookLogEntity | typeof WebhookSlugEntity)[];
|
|
425
|
+
entities: (typeof AccessBusinessEntity | typeof BusinessEmailEntity | typeof EmailMessageEntity | typeof EmailRecipientEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof EmailStyleEntity | typeof EmailTemplateLogEntity | typeof EmailTemplateRecipientEntity | typeof FcmMessageEntity | typeof FcmTokenEntity | typeof GchatUserEntity | typeof GchatMessageEntity | typeof GchatWebhookMessageEntity | typeof SlackMessageEntity | typeof BzNotificationChannelPreferenceEntity | typeof SlackIntegrationEntity | typeof SlackUserEntity | typeof WhatsappMessageEntity | typeof WhatsappPreferenceEntity | typeof BusinessAppIntegrationCredentialEntity | typeof BusinessAppIntegrationMessagesEntity | typeof BusinessDownloadableReportEntity | typeof BusinessGroupRoleEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof ChildMenuEntity | typeof BusinessMenuEntity | typeof BusinessReportEntity | typeof BusinessScriptEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof BusinessWebhookEntity | typeof ConversationEntity | typeof DashboardComponentEntity | typeof DownloadLogEntity | typeof GroupMemberEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof OnholdDocumentEntity | typeof ReportLogEntity | typeof RequestLogEntity | typeof ScheduledReportEntity | typeof ScheduledReportEmailEntity | typeof ScheduledReportItemEntity | typeof SlackWebhookMessageEntity | typeof UserNotificationEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookLogEntity | typeof WebhookSlugEntity)[];
|
|
420
426
|
enums: (typeof NotificationTypeEnum | typeof NotificationChannelTypeEnum | typeof RecurringPeriodEnum | typeof CustomColumnTypeEnum | typeof ProductTypeEnum | typeof PlatformTypeEnum)[];
|
|
421
|
-
jobs: (typeof EvaluateEmailRuleJob | typeof WhatsappMessagePayloadDto | typeof AccessTestJob | typeof ApiAccountJob | typeof AppIntegrationJob | typeof BusinessAppIntegrationCredentialJob | typeof BusinessAppIntegrationJob | typeof BusinessAppIntegrationMessagesJob | typeof BusinessDownloadableReportJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessMenuJob | typeof BusinessPreferenceJob | typeof BusinessPropertyJob | typeof GenerateBusinessReportJob | typeof BusinessReportJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserNotificationPreferenceJob | typeof BusinessUserRoleJob | typeof BusinessWebhookJob | typeof BzNotificationChannelPreferenceJob | typeof ChildMenuJob | typeof ChoiceListJob | typeof ChoiceTypeJob | typeof ConversationJob | typeof CustomFieldJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof EmailAttachmentJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof EmailRuleJob | typeof EmailStyleJob | typeof EmailTemplateLogJob | typeof EmailTemplateRecipientJob | typeof FcmMessageJob | typeof FcmNotificationJob | typeof FcmTemplateJob | typeof FcmTokenJob | typeof GchatIncomingWebhookJob | typeof GchatMessageJob | typeof GchatTemplateJob | typeof GchatUserJob | typeof GchatWebhookJob | typeof GchatWebhookMessageJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof ListPreferenceJob | typeof ListingColumnJob | typeof ListingPageJob | typeof ListingPreferenceJob | typeof MenuActionJob | typeof MenuJob | typeof MenuRoleJob | typeof ModuleJob | typeof ModuleMenuJob | typeof OnholdDocumentJob | typeof PreferenceUserGroupJob | typeof PreferenceUsersJob | typeof ProcessServerEmailJob | typeof ProductJob | typeof ReportLogJob | typeof RequestLogJob | typeof RoleGroupJob | typeof ScheduledReportEmailJob | typeof ScheduledReportItemJob | typeof ScheduledReportJob | typeof SlackIncomingWebhookJob | typeof SlackIntegrationJob | typeof SlackMessageJob | typeof SlackTemplateJob | typeof SlackUserJob | typeof SlackWebhookJob | typeof SlackWebhookMessageJob | typeof SyncBURoleJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserBusinessSecretJob | typeof UserNotificationJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookEventJob | typeof WebhookLogJob | typeof WebhookSlugJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessageJob | typeof WhatsappTemplateJob | typeof WhitelistedWhatsappNumberJob)[];
|
|
422
|
-
libraries: (typeof EvaluateEmailRule | typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendFcmNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof ProcessWhatsappMessage | typeof SendWhatsappMessageNotification | typeof ProcessDbFind | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessListingCsvFile | typeof SendWebhookRequest | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessApiAccountList | typeof ProcessBulkUploadItemList | typeof ProcessBulkUploadList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessNotificationChannelPreferenceList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof ProcessEmailRuleData | typeof ProcessEmailRuleList | typeof SetFcmToken | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof CreateUserBusinessSecret | typeof ProcessUserNotificationList | typeof ProcessRevokeSlackIntegration | typeof ProcessRevokeZohoIntegration | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof SyncBusinessUserRole | typeof CommonTagController | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessNotification | typeof ProcessSlackMessage | typeof ProcessTestList)[];
|
|
427
|
+
jobs: (typeof EvaluateEmailRuleJob | typeof WhatsappMessagePayloadDto | typeof AccessTestJob | typeof ApiAccountJob | typeof AppIntegrationJob | typeof BusinessAppIntegrationCredentialJob | typeof BusinessAppIntegrationJob | typeof BusinessAppIntegrationMessagesJob | typeof BusinessDownloadableReportJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessMenuJob | typeof BusinessPreferenceJob | typeof BusinessPropertyJob | typeof GenerateBusinessReportJob | typeof BusinessReportJob | typeof BusinessScriptJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserNotificationPreferenceJob | typeof BusinessUserRoleJob | typeof BusinessWebhookJob | typeof BzNotificationChannelPreferenceJob | typeof ChildMenuJob | typeof ChoiceListJob | typeof ChoiceTypeJob | typeof ConversationJob | typeof CustomFieldJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof EmailAttachmentJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof EmailRuleJob | typeof EmailStyleJob | typeof EmailTemplateLogJob | typeof EmailTemplateRecipientJob | typeof FcmMessageJob | typeof FcmNotificationJob | typeof FcmTemplateJob | typeof FcmTokenJob | typeof GchatIncomingWebhookJob | typeof GchatMessageJob | typeof GchatTemplateJob | typeof GchatUserJob | typeof GchatWebhookJob | typeof GchatWebhookMessageJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof ListPreferenceJob | typeof ListingColumnJob | typeof ListingPageJob | typeof ListingPreferenceJob | typeof MenuActionJob | typeof MenuJob | typeof MenuRoleJob | typeof ModuleJob | typeof ModuleMenuJob | typeof OnholdDocumentJob | typeof PreferenceUserGroupJob | typeof PreferenceUsersJob | typeof ProcessServerEmailJob | typeof ProductJob | typeof ReportLogJob | typeof RequestLogJob | typeof RoleGroupJob | typeof ScheduledReportEmailJob | typeof ScheduledReportItemJob | typeof ScheduledReportJob | typeof SlackIncomingWebhookJob | typeof SlackIntegrationJob | typeof SlackMessageJob | typeof SlackTemplateJob | typeof SlackUserJob | typeof SlackWebhookJob | typeof SlackWebhookMessageJob | typeof SyncBURoleJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserBusinessSecretJob | typeof UserNotificationJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookEventJob | typeof WebhookLogJob | typeof WebhookSlugJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessageJob | typeof WhatsappTemplateJob | typeof WhitelistedWhatsappNumberJob)[];
|
|
428
|
+
libraries: (typeof EvaluateEmailRule | typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendFcmNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof ProcessWhatsappMessage | typeof SendWhatsappMessageNotification | typeof ProcessDbFind | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessListingCsvFile | typeof SendWebhookRequest | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessApiAccountList | typeof ProcessBulkUploadItemList | typeof ProcessBulkUploadList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessNotificationChannelPreferenceList | typeof ProcessBusinessScriptData | typeof ProcessBusinessScriptList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof ProcessEmailRuleData | typeof ProcessEmailRuleList | typeof SetFcmToken | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof CreateUserBusinessSecret | typeof ProcessUserNotificationList | typeof ProcessRevokeSlackIntegration | typeof ProcessRevokeZohoIntegration | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof SyncBusinessUserRole | typeof CommonTagController | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessNotification | typeof ProcessSlackMessage | typeof ProcessTestList)[];
|
|
423
429
|
middlewares: (typeof BusinessMiddleware | typeof ExternalAccessMiddleware | typeof UserBusinessAccessMiddleware)[];
|
|
424
430
|
services: (typeof SendEmailService | typeof GchatService | typeof SlackService | typeof WhatsappService | typeof NotificationService | typeof SlabsService | typeof UtilityService | typeof AccessBusinessService | typeof ListingService | typeof CustomFieldService | typeof WebhookService | typeof AuditLogService | typeof AccessReportService | typeof PlatformService | typeof ListingPreferenceService | typeof ScheduledReportService | typeof BusinessUserRoleService | typeof ApiAccountService | typeof UserBusinessAccessService | typeof AppIntegrationService | typeof BusinessPreferenceService | typeof BusinessPropertyService | typeof Es6JobsService | typeof Es6Service | typeof GptService | typeof LoadEntityService | typeof RequestLogService | typeof UserNotificationService | typeof UserPreferenceService)[];
|
|
425
|
-
subscribers: (typeof ApiAccountSubscriber | typeof AppIntegrationSubscriber | typeof BusinessAppIntegrationCredentialSubscriber | typeof BusinessAppIntegrationMessagesSubscriber | typeof BusinessAppIntegrationSubscriber | typeof BusinessDownloadableReportSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessMenuSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessPropertySubscriber | typeof BusinessReportSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserNotificationPreferenceSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | typeof BusinessWebhookSubscriber | typeof BzNotificationChannelPreferenceSubscriber | typeof ChildMenuSubscriber | typeof ChoiceListSubscriber | typeof ChoiceTypeSubscriber | typeof ConversationSubscriber | typeof CustomFieldSubscriber | typeof CustomReportSubscriber | typeof DashboardComponentSubscriber | typeof DashboardSubscriber | typeof DownloadLogSubscriber | typeof EmailAttachmentSubscriber | typeof EmailMessageSubscriber | typeof EmailRecipientSubscriber | typeof EmailRuleSubscriber | typeof EmailStyleSubscriber | typeof EmailTemplateLogSubscriber | typeof EmailTemplateRecipientSubscriber | typeof FcmMessageSubscriber | typeof FcmNotificationSubscriber | typeof FcmTemplateSubscriber | typeof FcmTokenSubscriber | typeof GchatMessageSubscriber | typeof GchatTemplateSubscriber | typeof GchatUserSubscriber | typeof GchatWebhookMessageSubscriber | typeof GchatWebhookSubscriber | typeof GroupMemberSubscriber | typeof GroupRoleSubscriber | typeof ListPreferenceSubscriber | typeof ListingColumnSubscriber | typeof ListingPageSubscriber | typeof ListingPreferenceSubscriber | typeof MenuActionSubscriber | typeof MenuRoleSubscriber | typeof MenuSubscriber | typeof ModuleMenuSubscriber | typeof ModuleSubscriber | typeof OnholdDocumentSubscriber | typeof PreferenceUserGroupSubscriber | typeof PreferenceUserSubscriber | typeof ProductSubscriber | typeof ReportLogSubscriber | typeof RequestLogSubscriber | typeof RoleGroupSubscriber | typeof ScheduledReportEmailSubscriber | typeof ScheduledReportItemSubscriber | typeof ScheduledReportSubscriber | typeof SlackIntegrationSubscriber | typeof SlackMessageSubscriber | typeof SlackTemplateSubscriber | typeof SlackUserSubscriber | typeof SlackWebhookMessageSubscriber | typeof SlackWebhookSubscriber | typeof UiActionRoleSubscriber | typeof UiActionSubscriber | typeof UserBusinessSecretSubscriber | typeof UserNotificationSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber | typeof WatchlistAssignmentSubscriber | typeof WebhookEventSubscriber | typeof WebhookLogSubscriber | typeof WebhookSlugSubscriber | typeof WebhookTypeSubscriber | typeof WhatsappMessageSubscriber | typeof WhatsappTemplateSubscriber | typeof WhitelistedWhatsappNumberSubscriber)[];
|
|
431
|
+
subscribers: (typeof ApiAccountSubscriber | typeof AppIntegrationSubscriber | typeof BusinessAppIntegrationCredentialSubscriber | typeof BusinessAppIntegrationMessagesSubscriber | typeof BusinessAppIntegrationSubscriber | typeof BusinessDownloadableReportSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessMenuSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessPropertySubscriber | typeof BusinessReportSubscriber | typeof BusinessScriptSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserNotificationPreferenceSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | typeof BusinessWebhookSubscriber | typeof BzNotificationChannelPreferenceSubscriber | typeof ChildMenuSubscriber | typeof ChoiceListSubscriber | typeof ChoiceTypeSubscriber | typeof ConversationSubscriber | typeof CustomFieldSubscriber | typeof CustomReportSubscriber | typeof DashboardComponentSubscriber | typeof DashboardSubscriber | typeof DownloadLogSubscriber | typeof EmailAttachmentSubscriber | typeof EmailMessageSubscriber | typeof EmailRecipientSubscriber | typeof EmailRuleSubscriber | typeof EmailStyleSubscriber | typeof EmailTemplateLogSubscriber | typeof EmailTemplateRecipientSubscriber | typeof FcmMessageSubscriber | typeof FcmNotificationSubscriber | typeof FcmTemplateSubscriber | typeof FcmTokenSubscriber | typeof GchatMessageSubscriber | typeof GchatTemplateSubscriber | typeof GchatUserSubscriber | typeof GchatWebhookMessageSubscriber | typeof GchatWebhookSubscriber | typeof GroupMemberSubscriber | typeof GroupRoleSubscriber | typeof ListPreferenceSubscriber | typeof ListingColumnSubscriber | typeof ListingPageSubscriber | typeof ListingPreferenceSubscriber | typeof MenuActionSubscriber | typeof MenuRoleSubscriber | typeof MenuSubscriber | typeof ModuleMenuSubscriber | typeof ModuleSubscriber | typeof OnholdDocumentSubscriber | typeof PreferenceUserGroupSubscriber | typeof PreferenceUserSubscriber | typeof ProductSubscriber | typeof ReportLogSubscriber | typeof RequestLogSubscriber | typeof RoleGroupSubscriber | typeof ScheduledReportEmailSubscriber | typeof ScheduledReportItemSubscriber | typeof ScheduledReportSubscriber | typeof SlackIntegrationSubscriber | typeof SlackMessageSubscriber | typeof SlackTemplateSubscriber | typeof SlackUserSubscriber | typeof SlackWebhookMessageSubscriber | typeof SlackWebhookSubscriber | typeof UiActionRoleSubscriber | typeof UiActionSubscriber | typeof UserBusinessSecretSubscriber | typeof UserNotificationSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber | typeof WatchlistAssignmentSubscriber | typeof WebhookEventSubscriber | typeof WebhookLogSubscriber | typeof WebhookSlugSubscriber | typeof WebhookTypeSubscriber | typeof WhatsappMessageSubscriber | typeof WhatsappTemplateSubscriber | typeof WhitelistedWhatsappNumberSubscriber)[];
|
|
426
432
|
};
|
|
427
433
|
export default es6Classes;
|
|
@@ -9,6 +9,7 @@ const business_app_integration_controller_1 = require("./controllers/business.ap
|
|
|
9
9
|
const business_notification_channel_preference_controller_1 = require("./controllers/business.notification.channel.preference.controller");
|
|
10
10
|
const business_preference_controller_1 = require("./controllers/business.preference.controller");
|
|
11
11
|
const business_report_controller_1 = require("./controllers/business.report.controller");
|
|
12
|
+
const business_script_controller_1 = require("./controllers/business.script.controller");
|
|
12
13
|
const business_user_group_controller_1 = require("./controllers/business.user.group.controller");
|
|
13
14
|
const business_user_notification_preference_controller_1 = require("./controllers/business.user.notification.preference.controller");
|
|
14
15
|
const business_webhook_controller_1 = require("./controllers/business.webhook.controller");
|
|
@@ -76,6 +77,8 @@ const business_notification_channel_preference_list_filter_dto_1 = require("./dt
|
|
|
76
77
|
const business_param_dto_1 = require("./dtos/business.param.dto");
|
|
77
78
|
const business_preference_attributes_dto_1 = require("./dtos/business.preference.attributes.dto");
|
|
78
79
|
const business_property_attributes_dto_1 = require("./dtos/business.property.attributes.dto");
|
|
80
|
+
const business_script_attributes_dto_1 = require("./dtos/business.script.attributes.dto");
|
|
81
|
+
const business_script_list_filter_dto_1 = require("./dtos/business.script.list.filter.dto");
|
|
79
82
|
const business_user_attributes_dto_1 = require("./dtos/business.user.attributes.dto");
|
|
80
83
|
const business_user_group_attributes_dto_1 = require("./dtos/business.user.group.attributes.dto");
|
|
81
84
|
const business_user_group_list_filter_dto_1 = require("./dtos/business.user.group.list.filter.dto");
|
|
@@ -211,6 +214,7 @@ const business_menu_entity_1 = require("./entities/business.menu.entity");
|
|
|
211
214
|
const business_preference_entity_1 = require("./entities/business.preference.entity");
|
|
212
215
|
const business_property_entity_1 = require("./entities/business.property.entity");
|
|
213
216
|
const business_report_entity_1 = require("./entities/business.report.entity");
|
|
217
|
+
const business_script_entity_1 = require("./entities/business.script.entity");
|
|
214
218
|
const business_user_entity_1 = require("./entities/business.user.entity");
|
|
215
219
|
const business_user_group_entity_1 = require("./entities/business.user.group.entity");
|
|
216
220
|
const business_user_notification_preference_entity_1 = require("./entities/business.user.notification.preference.entity");
|
|
@@ -301,6 +305,7 @@ const business_menu_job_1 = require("./jobs/business.menu.job");
|
|
|
301
305
|
const business_preference_job_1 = require("./jobs/business.preference.job");
|
|
302
306
|
const business_property_job_1 = require("./jobs/business.property.job");
|
|
303
307
|
const business_report_job_1 = require("./jobs/business.report.job");
|
|
308
|
+
const business_script_job_1 = require("./jobs/business.script.job");
|
|
304
309
|
const business_user_group_job_1 = require("./jobs/business.user.group.job");
|
|
305
310
|
const business_user_job_1 = require("./jobs/business.user.job");
|
|
306
311
|
const business_user_notification_preference_job_1 = require("./jobs/business.user.notification.preference.job");
|
|
@@ -393,6 +398,8 @@ const process_bulk_upload_item_list_1 = require("./libraries/process.bulk.upload
|
|
|
393
398
|
const process_bulk_upload_list_1 = require("./libraries/process.bulk.upload.list");
|
|
394
399
|
const process_business_group_role_updation_1 = require("./libraries/process.business.group.role.updation");
|
|
395
400
|
const process_business_notification_channel_preference_list_1 = require("./libraries/process.business.notification.channel.preference.list");
|
|
401
|
+
const process_business_script_data_1 = require("./libraries/process.business.script.data");
|
|
402
|
+
const process_business_script_list_1 = require("./libraries/process.business.script.list");
|
|
396
403
|
const process_business_user_group_list_1 = require("./libraries/process.business.user.group.list");
|
|
397
404
|
const process_business_user_notification_preference_list_1 = require("./libraries/process.business.user.notification.preference.list");
|
|
398
405
|
const process_business_user_role_update_1 = require("./libraries/process.business.user.role.update");
|
|
@@ -491,6 +498,7 @@ const business_menu_subscriber_1 = require("./subscribers/business.menu.subscrib
|
|
|
491
498
|
const business_preference_subscriber_1 = require("./subscribers/business.preference.subscriber");
|
|
492
499
|
const business_property_subscriber_1 = require("./subscribers/business.property.subscriber");
|
|
493
500
|
const business_report_subscriber_1 = require("./subscribers/business.report.subscriber");
|
|
501
|
+
const business_script_subscriber_1 = require("./subscribers/business.script.subscriber");
|
|
494
502
|
const business_user_group_subscriber_1 = require("./subscribers/business.user.group.subscriber");
|
|
495
503
|
const business_user_notification_preference_subscriber_1 = require("./subscribers/business.user.notification.preference.subscriber");
|
|
496
504
|
const business_user_role_subscriber_1 = require("./subscribers/business.user.role.subscriber");
|
|
@@ -574,6 +582,7 @@ const es6Classes = {
|
|
|
574
582
|
business_notification_channel_preference_controller_1.BusinessNotificationChannelPreferenceController,
|
|
575
583
|
business_preference_controller_1.BusinessPreferenceController,
|
|
576
584
|
business_report_controller_1.BusinessReportController,
|
|
585
|
+
business_script_controller_1.BusinessScriptController,
|
|
577
586
|
business_user_group_controller_1.BusinessUserGroupController,
|
|
578
587
|
business_user_notification_preference_controller_1.BusinessUserNotificationPreferenceController,
|
|
579
588
|
business_webhook_controller_1.BusinessWebhookController,
|
|
@@ -643,6 +652,8 @@ const es6Classes = {
|
|
|
643
652
|
business_param_dto_1.BusinessParamDto,
|
|
644
653
|
business_preference_attributes_dto_1.BusinessPreferenceAttributesDto,
|
|
645
654
|
business_property_attributes_dto_1.BusinessPropertyAttributesDto,
|
|
655
|
+
business_script_attributes_dto_1.BusinessScriptAttributesDto,
|
|
656
|
+
business_script_list_filter_dto_1.BusinessScriptListFilterDto,
|
|
646
657
|
business_user_attributes_dto_1.BusinessUserAttributesDto,
|
|
647
658
|
business_user_group_attributes_dto_1.BusinessUserGroupAttributesDto,
|
|
648
659
|
business_user_group_list_filter_dto_1.BusinessUserGroupListFilterDto,
|
|
@@ -780,6 +791,7 @@ const es6Classes = {
|
|
|
780
791
|
business_preference_entity_1.BusinessPreferenceEntity,
|
|
781
792
|
business_property_entity_1.BusinessPropertyEntity,
|
|
782
793
|
business_report_entity_1.BusinessReportEntity,
|
|
794
|
+
business_script_entity_1.BusinessScriptEntity,
|
|
783
795
|
business_user_entity_1.BusinessUserEntity,
|
|
784
796
|
business_user_group_entity_1.BusinessUserGroupEntity,
|
|
785
797
|
business_user_notification_preference_entity_1.BusinessUserNotificationPreferenceEntity,
|
|
@@ -867,6 +879,7 @@ const es6Classes = {
|
|
|
867
879
|
business_preference_job_1.BusinessPreferenceJob,
|
|
868
880
|
business_property_job_1.BusinessPropertyJob,
|
|
869
881
|
business_report_job_1.BusinessReportJob,
|
|
882
|
+
business_script_job_1.BusinessScriptJob,
|
|
870
883
|
business_user_group_job_1.BusinessUserGroupJob,
|
|
871
884
|
business_user_job_1.BusinessUserJob,
|
|
872
885
|
business_user_notification_preference_job_1.BusinessUserNotificationPreferenceJob,
|
|
@@ -961,6 +974,8 @@ const es6Classes = {
|
|
|
961
974
|
process_bulk_upload_list_1.ProcessBulkUploadList,
|
|
962
975
|
process_business_group_role_updation_1.ProcessBusinessGroupRoleUpdation,
|
|
963
976
|
process_business_notification_channel_preference_list_1.ProcessBusinessNotificationChannelPreferenceList,
|
|
977
|
+
process_business_script_data_1.ProcessBusinessScriptData,
|
|
978
|
+
process_business_script_list_1.ProcessBusinessScriptList,
|
|
964
979
|
process_business_user_group_list_1.ProcessBusinessUserGroupList,
|
|
965
980
|
process_business_user_notification_preference_list_1.ProcessBusinessUserNotificationPreferenceList,
|
|
966
981
|
process_business_user_role_update_1.ProcessBusinessUserRoleUpdate,
|
|
@@ -1061,6 +1076,7 @@ const es6Classes = {
|
|
|
1061
1076
|
business_preference_subscriber_1.BusinessPreferenceSubscriber,
|
|
1062
1077
|
business_property_subscriber_1.BusinessPropertySubscriber,
|
|
1063
1078
|
business_report_subscriber_1.BusinessReportSubscriber,
|
|
1079
|
+
business_script_subscriber_1.BusinessScriptSubscriber,
|
|
1064
1080
|
business_user_group_subscriber_1.BusinessUserGroupSubscriber,
|
|
1065
1081
|
business_user_notification_preference_subscriber_1.BusinessUserNotificationPreferenceSubscriber,
|
|
1066
1082
|
business_user_role_subscriber_1.BusinessUserRoleSubscriber,
|