@servicelabsco/slabs-access-manager 0.1.254 → 0.1.256
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/developer.mode.controller.js +5 -4
- package/dist/access/controllers/developer.mode.controller.js.map +1 -1
- package/dist/accessUtility/controllers/business.ui.policies.controller.d.ts +8 -0
- package/dist/accessUtility/controllers/business.ui.policies.controller.js +50 -0
- package/dist/accessUtility/controllers/business.ui.policies.controller.js.map +1 -0
- package/dist/accessUtility/controllers/index.d.ts +1 -0
- package/dist/accessUtility/controllers/index.js +1 -0
- package/dist/accessUtility/controllers/index.js.map +1 -1
- package/dist/accessUtility/dtos/business.ui.policies.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/business.ui.policies.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/business.ui.policies.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/index.d.ts +2 -0
- package/dist/accessUtility/dtos/index.js +2 -0
- package/dist/accessUtility/dtos/index.js.map +1 -1
- package/dist/accessUtility/dtos/ui.policies.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/ui.policies.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/ui.policies.attributes.dto.js.map +1 -0
- package/dist/accessUtility/entities/business.ui.policies.entity.d.ts +12 -0
- package/dist/accessUtility/entities/business.ui.policies.entity.js +50 -0
- package/dist/accessUtility/entities/business.ui.policies.entity.js.map +1 -0
- package/dist/accessUtility/entities/index.d.ts +2 -0
- package/dist/accessUtility/entities/index.js +2 -0
- package/dist/accessUtility/entities/index.js.map +1 -1
- package/dist/accessUtility/entities/ui.policies.entity.d.ts +14 -0
- package/dist/accessUtility/entities/ui.policies.entity.js +61 -0
- package/dist/accessUtility/entities/ui.policies.entity.js.map +1 -0
- package/dist/accessUtility/enums/index.d.ts +1 -0
- package/dist/accessUtility/enums/index.js +18 -0
- package/dist/accessUtility/enums/index.js.map +1 -0
- package/dist/accessUtility/enums/ui.policies.type.enum.d.ts +4 -0
- package/dist/accessUtility/enums/ui.policies.type.enum.js +9 -0
- package/dist/accessUtility/enums/ui.policies.type.enum.js.map +1 -0
- package/dist/accessUtility/es6.classes.d.ts +13 -4
- package/dist/accessUtility/es6.classes.js +20 -1
- package/dist/accessUtility/es6.classes.js.map +1 -1
- package/dist/accessUtility/index.d.ts +1 -0
- package/dist/accessUtility/index.js +1 -0
- package/dist/accessUtility/index.js.map +1 -1
- package/dist/accessUtility/jobs/business.ui.policies.job.d.ts +7 -0
- package/dist/accessUtility/jobs/business.ui.policies.job.js +29 -0
- package/dist/accessUtility/jobs/business.ui.policies.job.js.map +1 -0
- package/dist/accessUtility/jobs/index.d.ts +2 -0
- package/dist/accessUtility/jobs/index.js +2 -0
- package/dist/accessUtility/jobs/index.js.map +1 -1
- package/dist/accessUtility/jobs/ui.policies.job.d.ts +7 -0
- package/dist/accessUtility/jobs/ui.policies.job.js +29 -0
- package/dist/accessUtility/jobs/ui.policies.job.js.map +1 -0
- package/dist/accessUtility/services/es6.jobs.service.d.ts +5 -1
- package/dist/accessUtility/services/es6.jobs.service.js +10 -2
- package/dist/accessUtility/services/es6.jobs.service.js.map +1 -1
- package/dist/accessUtility/subscribers/business.ui.policies.subscriber.d.ts +10 -0
- package/dist/accessUtility/subscribers/business.ui.policies.subscriber.js +34 -0
- package/dist/accessUtility/subscribers/business.ui.policies.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/index.d.ts +2 -0
- package/dist/accessUtility/subscribers/index.js +2 -0
- package/dist/accessUtility/subscribers/index.js.map +1 -1
- package/dist/accessUtility/subscribers/ui.policies.subscriber.d.ts +10 -0
- package/dist/accessUtility/subscribers/ui.policies.subscriber.js +34 -0
- package/dist/accessUtility/subscribers/ui.policies.subscriber.js.map +1 -0
- package/dist/config/entity.constants.d.ts +4 -0
- package/dist/config/entity.constants.js +4 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/migrations/1753420725186-CreateUiPoliciesTable.d.ts +5 -0
- package/dist/migrations/1753420725186-CreateUiPoliciesTable.js +23 -0
- package/dist/migrations/1753420725186-CreateUiPoliciesTable.js.map +1 -0
- package/dist/migrations/1753421232909-AddUiPoliciesTypeDataSeederTable.d.ts +7 -0
- package/dist/migrations/1753421232909-AddUiPoliciesTypeDataSeederTable.js +44 -0
- package/dist/migrations/1753421232909-AddUiPoliciesTypeDataSeederTable.js.map +1 -0
- package/dist/migrations/1753421771122-CreateBusinessUiPoliciesTable.d.ts +5 -0
- package/dist/migrations/1753421771122-CreateBusinessUiPoliciesTable.js +20 -0
- package/dist/migrations/1753421771122-CreateBusinessUiPoliciesTable.js.map +1 -0
- package/package.json +1 -1
|
@@ -106,12 +106,13 @@ let DeveloperModeController = class DeveloperModeController {
|
|
|
106
106
|
return await listing_page_entity_1.ListingPageEntity.findOne({ where: { identifier: params.slug }, relations: ['query'] });
|
|
107
107
|
}
|
|
108
108
|
async validate() {
|
|
109
|
-
|
|
109
|
+
await this.accessBusinessService.validateAccess();
|
|
110
110
|
const auth = nestjs_utility_services_1.Auth.user();
|
|
111
|
-
const
|
|
112
|
-
const
|
|
113
|
-
if (
|
|
111
|
+
const emailsStr = await this.propertyService.get('developer.mode.email', 'hemant.sah@finnoto.com');
|
|
112
|
+
const emails = emailsStr.split(',').map((e) => e.trim());
|
|
113
|
+
if (!emails.includes(auth.email)) {
|
|
114
114
|
throw new nestjs_utility_services_1.OperationException('You dont have access for this operation');
|
|
115
|
+
}
|
|
115
116
|
}
|
|
116
117
|
};
|
|
117
118
|
exports.DeveloperModeController = DeveloperModeController;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"developer.mode.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/developer.mode.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"developer.mode.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/developer.mode.controller.ts"],"names":[],"mappings":";;;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,GAAE,CAAA;IAA4B,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAzB,qCAAgB,EAAgB,6BAAY;;wDAO5E;AAGK;IADL,IAAA,YAAG,EAAC,kBAAkB,CAAC;IACP,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;wDAGhD;AAGK;IADL,IAAA,YAAG,EAAC,sBAAsB,CAAC;IACJ,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;+DAGvD;kCA/GQ,uBAAuB;IADnC,IAAA,mBAAU,EAAC,sBAAsB,CAAC;qCAGa,+CAAqB;QAC3B,yCAAe;QACpB,oCAAU;GAJlC,uBAAuB,CA6HnC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BusinessParamDto } from '../../access/dtos/business.param.dto';
|
|
2
|
+
import { AccessBusinessService } from '../../access/services/access.business.service';
|
|
3
|
+
import { BusinessUiPoliciesEntity } from '../entities/business.ui.policies.entity';
|
|
4
|
+
export declare class BusinessUiPoliciesController {
|
|
5
|
+
private readonly businessAccessService;
|
|
6
|
+
constructor(businessAccessService: AccessBusinessService);
|
|
7
|
+
getPolicies(param: BusinessParamDto): Promise<BusinessUiPoliciesEntity[]>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.BusinessUiPoliciesController = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const typeorm_1 = require("typeorm");
|
|
18
|
+
const business_param_dto_1 = require("../../access/dtos/business.param.dto");
|
|
19
|
+
const access_business_service_1 = require("../../access/services/access.business.service");
|
|
20
|
+
const business_ui_policies_entity_1 = require("../entities/business.ui.policies.entity");
|
|
21
|
+
const ui_policies_entity_1 = require("../entities/ui.policies.entity");
|
|
22
|
+
let BusinessUiPoliciesController = class BusinessUiPoliciesController {
|
|
23
|
+
constructor(businessAccessService) {
|
|
24
|
+
this.businessAccessService = businessAccessService;
|
|
25
|
+
}
|
|
26
|
+
async getPolicies(param) {
|
|
27
|
+
const business = await this.businessAccessService.validateAccess();
|
|
28
|
+
const systemPolicies = await ui_policies_entity_1.UiPoliciesEntity.find({ where: { source_type: param.slug, active: true } });
|
|
29
|
+
if (!systemPolicies.length)
|
|
30
|
+
return [];
|
|
31
|
+
const ids = systemPolicies.map((systemPolicy) => systemPolicy?.id);
|
|
32
|
+
return business_ui_policies_entity_1.BusinessUiPoliciesEntity.find({
|
|
33
|
+
where: { business_id: business.id, policy_id: (0, typeorm_1.In)(ids), active: true },
|
|
34
|
+
relations: ['policy.type', 'policy.script'],
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
exports.BusinessUiPoliciesController = BusinessUiPoliciesController;
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, common_1.Get)(':slug/list'),
|
|
41
|
+
__param(0, (0, common_1.Param)()),
|
|
42
|
+
__metadata("design:type", Function),
|
|
43
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
44
|
+
__metadata("design:returntype", Promise)
|
|
45
|
+
], BusinessUiPoliciesController.prototype, "getPolicies", null);
|
|
46
|
+
exports.BusinessUiPoliciesController = BusinessUiPoliciesController = __decorate([
|
|
47
|
+
(0, common_1.Controller)('api/b/ui-policies'),
|
|
48
|
+
__metadata("design:paramtypes", [access_business_service_1.AccessBusinessService])
|
|
49
|
+
], BusinessUiPoliciesController);
|
|
50
|
+
//# sourceMappingURL=business.ui.policies.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.ui.policies.controller.js","sourceRoot":"","sources":["../../../src/accessUtility/controllers/business.ui.policies.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwD;AACxD,qCAA6B;AAC7B,6EAAwE;AACxE,2FAAsF;AACtF,yFAAmF;AACnF,uEAAkE;AAQ3D,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IACrC,YAA6B,qBAA4C;QAA5C,0BAAqB,GAArB,qBAAqB,CAAuB;IAAG,CAAC;IAGvE,AAAN,KAAK,CAAC,WAAW,CAAU,KAAuB;QAC9C,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,CAAC;QAEnE,MAAM,cAAc,GAAG,MAAM,qCAAgB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;QACzG,IAAI,CAAC,cAAc,CAAC,MAAM;YAAE,OAAO,EAAE,CAAC;QAEtC,MAAM,GAAG,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;QACnE,OAAO,sDAAwB,CAAC,IAAI,CAAC;YACjC,KAAK,EAAE,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAA,YAAE,EAAC,GAAG,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE;YACrE,SAAS,EAAE,CAAC,aAAa,EAAE,eAAe,CAAC;SAC9C,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AAhBY,oEAA4B;AAI/B;IADL,IAAA,YAAG,EAAC,YAAY,CAAC;IACC,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAQ,qCAAgB;;+DAWjD;uCAfQ,4BAA4B;IADxC,IAAA,mBAAU,EAAC,mBAAmB,CAAC;qCAEwB,+CAAqB;GADhE,4BAA4B,CAgBxC"}
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./business.ui.policies.controller"), exports);
|
|
17
18
|
__exportStar(require("./pdf.document.controller"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAAA,4DAAyC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessUiPoliciesAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class BusinessUiPoliciesAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BusinessUiPoliciesAttributesDto = BusinessUiPoliciesAttributesDto;
|
|
8
|
+
//# sourceMappingURL=business.ui.policies.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.ui.policies.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/business.ui.policies.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,+BAAgC,SAAQ,6CAAmB;CAAG;AAA3E,0EAA2E"}
|
|
@@ -6,6 +6,7 @@ export * from './bulk.upload.column.attributes.dto';
|
|
|
6
6
|
export * from './bulk.upload.item.attributes.dto';
|
|
7
7
|
export * from './bulk.upload.sheet.dto';
|
|
8
8
|
export * from './bulk.upload.type.attributes.dto';
|
|
9
|
+
export * from './business.ui.policies.attributes.dto';
|
|
9
10
|
export * from './data.mapping.attributes.dto';
|
|
10
11
|
export * from './document.file.upload.dto';
|
|
11
12
|
export * from './email.notification.attributes.dto';
|
|
@@ -24,6 +25,7 @@ export * from './pdf.log.attributes.dto';
|
|
|
24
25
|
export * from './slack.notification.attributes.dto';
|
|
25
26
|
export * from './sms.notification.attributes.dto';
|
|
26
27
|
export * from './tag.assignment.attributes.dto';
|
|
28
|
+
export * from './ui.policies.attributes.dto';
|
|
27
29
|
export * from './upload.modification.attributes.dto';
|
|
28
30
|
export * from './webhook.attributes.dto';
|
|
29
31
|
export * from './webhook.request.attributes.dto';
|
|
@@ -22,6 +22,7 @@ __exportStar(require("./bulk.upload.column.attributes.dto"), exports);
|
|
|
22
22
|
__exportStar(require("./bulk.upload.item.attributes.dto"), exports);
|
|
23
23
|
__exportStar(require("./bulk.upload.sheet.dto"), exports);
|
|
24
24
|
__exportStar(require("./bulk.upload.type.attributes.dto"), exports);
|
|
25
|
+
__exportStar(require("./business.ui.policies.attributes.dto"), exports);
|
|
25
26
|
__exportStar(require("./data.mapping.attributes.dto"), exports);
|
|
26
27
|
__exportStar(require("./document.file.upload.dto"), exports);
|
|
27
28
|
__exportStar(require("./email.notification.attributes.dto"), exports);
|
|
@@ -40,6 +41,7 @@ __exportStar(require("./pdf.log.attributes.dto"), exports);
|
|
|
40
41
|
__exportStar(require("./slack.notification.attributes.dto"), exports);
|
|
41
42
|
__exportStar(require("./sms.notification.attributes.dto"), exports);
|
|
42
43
|
__exportStar(require("./tag.assignment.attributes.dto"), exports);
|
|
44
|
+
__exportStar(require("./ui.policies.attributes.dto"), exports);
|
|
43
45
|
__exportStar(require("./upload.modification.attributes.dto"), exports);
|
|
44
46
|
__exportStar(require("./webhook.attributes.dto"), exports);
|
|
45
47
|
__exportStar(require("./webhook.request.attributes.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,wEAAsD;AAAA,8EAA4D;AAAA,+DAA6C;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,0DAAwC;AAAA,oEAAkD;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,sEAAoD;AAAA,uDAAqC;AAAA,oEAAkD;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,sEAAoD;AAAA,6DAA2C;AAAA,iEAA+C;AAAA,gEAA8C;AAAA,0EAAwD;AAAA,gEAA8C;AAAA,0DAAwC;AAAA,2DAAyC;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,kEAAgD;AAAA,uEAAqD;AAAA,2DAAyC;AAAA,mEAAiD;AAAA,yEAAsD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,wEAAsD;AAAA,8EAA4D;AAAA,+DAA6C;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,0DAAwC;AAAA,oEAAkD;AAAA,wEAAsD;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,sEAAoD;AAAA,uDAAqC;AAAA,oEAAkD;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,sEAAoD;AAAA,6DAA2C;AAAA,iEAA+C;AAAA,gEAA8C;AAAA,0EAAwD;AAAA,gEAA8C;AAAA,0DAAwC;AAAA,2DAAyC;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,kEAAgD;AAAA,+DAA6C;AAAA,uEAAqD;AAAA,2DAAyC;AAAA,mEAAiD;AAAA,yEAAsD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UiPoliciesAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class UiPoliciesAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.UiPoliciesAttributesDto = UiPoliciesAttributesDto;
|
|
8
|
+
//# sourceMappingURL=ui.policies.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.policies.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/ui.policies.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,uBAAwB,SAAQ,6CAAmB;CAAG;AAAnE,0DAAmE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { AccessBusinessEntity } from '../../access/entities/access.business.entity';
|
|
3
|
+
import { BusinessUiPoliciesAttributesDto } from '../dtos/business.ui.policies.attributes.dto';
|
|
4
|
+
import { UiPoliciesEntity } from './ui.policies.entity';
|
|
5
|
+
export declare class BusinessUiPoliciesEntity extends CommonEntity {
|
|
6
|
+
policy_id: number;
|
|
7
|
+
business_id: number;
|
|
8
|
+
active: boolean;
|
|
9
|
+
attributes: BusinessUiPoliciesAttributesDto;
|
|
10
|
+
policy: UiPoliciesEntity;
|
|
11
|
+
business: AccessBusinessEntity;
|
|
12
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.BusinessUiPoliciesEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const access_business_entity_1 = require("../../access/entities/access.business.entity");
|
|
16
|
+
const business_ui_policies_attributes_dto_1 = require("../dtos/business.ui.policies.attributes.dto");
|
|
17
|
+
const ui_policies_entity_1 = require("./ui.policies.entity");
|
|
18
|
+
let BusinessUiPoliciesEntity = class BusinessUiPoliciesEntity extends nestjs_utility_services_1.CommonEntity {
|
|
19
|
+
};
|
|
20
|
+
exports.BusinessUiPoliciesEntity = BusinessUiPoliciesEntity;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], BusinessUiPoliciesEntity.prototype, "policy_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], BusinessUiPoliciesEntity.prototype, "business_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], BusinessUiPoliciesEntity.prototype, "active", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)('json'),
|
|
35
|
+
__metadata("design:type", business_ui_policies_attributes_dto_1.BusinessUiPoliciesAttributesDto)
|
|
36
|
+
], BusinessUiPoliciesEntity.prototype, "attributes", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.ManyToOne)(() => ui_policies_entity_1.UiPoliciesEntity),
|
|
39
|
+
(0, typeorm_1.JoinColumn)({ name: 'policy_id' }),
|
|
40
|
+
__metadata("design:type", ui_policies_entity_1.UiPoliciesEntity)
|
|
41
|
+
], BusinessUiPoliciesEntity.prototype, "policy", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
44
|
+
(0, typeorm_1.JoinColumn)({ name: 'policy_id' }),
|
|
45
|
+
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
46
|
+
], BusinessUiPoliciesEntity.prototype, "business", void 0);
|
|
47
|
+
exports.BusinessUiPoliciesEntity = BusinessUiPoliciesEntity = __decorate([
|
|
48
|
+
(0, typeorm_1.Entity)('bz_business_ui_policies')
|
|
49
|
+
], BusinessUiPoliciesEntity);
|
|
50
|
+
//# sourceMappingURL=business.ui.policies.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.ui.policies.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/business.ui.policies.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAgE;AAChE,yFAAoF;AACpF,qGAA8F;AAC9F,6DAAwD;AASjD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,sCAAY;CAgBzD,CAAA;AAhBY,4DAAwB;AAEjC;IADC,IAAA,gBAAM,GAAE;;2DACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;6DACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;wDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,qEAA+B;4DAAC;AAG0B;IAArE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAgB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAAS,qCAAgB;wDAAC;AACrB;IAAzE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAAW,6CAAoB;0DAAC;mCAfhG,wBAAwB;IADpC,IAAA,gBAAM,EAAC,yBAAyB,CAAC;GACrB,wBAAwB,CAgBpC"}
|
|
@@ -5,6 +5,7 @@ export * from './bulk.upload.column.entity';
|
|
|
5
5
|
export * from './bulk.upload.entity';
|
|
6
6
|
export * from './bulk.upload.item.entity';
|
|
7
7
|
export * from './bulk.upload.type.entity';
|
|
8
|
+
export * from './business.ui.policies.entity';
|
|
8
9
|
export * from './data.mapping.entity';
|
|
9
10
|
export * from './email.notification.entity';
|
|
10
11
|
export * from './fcm.notification.entity';
|
|
@@ -21,6 +22,7 @@ export * from './pdf.templates.entity';
|
|
|
21
22
|
export * from './slack.notification.entity';
|
|
22
23
|
export * from './sms.notification.entity';
|
|
23
24
|
export * from './tag.assignment.entity';
|
|
25
|
+
export * from './ui.policies.entity';
|
|
24
26
|
export * from './upload.modification.entity';
|
|
25
27
|
export * from './webhook.request.entity';
|
|
26
28
|
export * from './whatsapp.notification.entity';
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./bulk.upload.column.entity"), exports);
|
|
|
21
21
|
__exportStar(require("./bulk.upload.entity"), exports);
|
|
22
22
|
__exportStar(require("./bulk.upload.item.entity"), exports);
|
|
23
23
|
__exportStar(require("./bulk.upload.type.entity"), exports);
|
|
24
|
+
__exportStar(require("./business.ui.policies.entity"), exports);
|
|
24
25
|
__exportStar(require("./data.mapping.entity"), exports);
|
|
25
26
|
__exportStar(require("./email.notification.entity"), exports);
|
|
26
27
|
__exportStar(require("./fcm.notification.entity"), exports);
|
|
@@ -37,6 +38,7 @@ __exportStar(require("./pdf.templates.entity"), exports);
|
|
|
37
38
|
__exportStar(require("./slack.notification.entity"), exports);
|
|
38
39
|
__exportStar(require("./sms.notification.entity"), exports);
|
|
39
40
|
__exportStar(require("./tag.assignment.entity"), exports);
|
|
41
|
+
__exportStar(require("./ui.policies.entity"), exports);
|
|
40
42
|
__exportStar(require("./upload.modification.entity"), exports);
|
|
41
43
|
__exportStar(require("./webhook.request.entity"), exports);
|
|
42
44
|
__exportStar(require("./whatsapp.notification.entity"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,8DAA4C;AAAA,qDAAmC;AAAA,yDAAuC;AAAA,wDAAsC;AAAA,kEAAgD;AAAA,yDAAuC;AAAA,mDAAiC;AAAA,yDAAuC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,2DAAyC;AAAA,iEAA8C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,gEAA8C;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,8DAA4C;AAAA,qDAAmC;AAAA,yDAAuC;AAAA,wDAAsC;AAAA,kEAAgD;AAAA,yDAAuC;AAAA,mDAAiC;AAAA,yDAAuC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,+DAA6C;AAAA,2DAAyC;AAAA,iEAA8C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CommonEntity, LookupValueEntity, SystemScriptEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { UiPoliciesAttributesDto } from '../dtos/ui.policies.attributes.dto';
|
|
3
|
+
import { UiPoliciesTypeEnum } from '../enums/ui.policies.type.enum';
|
|
4
|
+
export declare class UiPoliciesEntity extends CommonEntity {
|
|
5
|
+
identifier: string;
|
|
6
|
+
description: string;
|
|
7
|
+
source_type: string;
|
|
8
|
+
type_id: UiPoliciesTypeEnum;
|
|
9
|
+
active: boolean;
|
|
10
|
+
script_id: number;
|
|
11
|
+
attributes: UiPoliciesAttributesDto;
|
|
12
|
+
type: LookupValueEntity;
|
|
13
|
+
script: SystemScriptEntity;
|
|
14
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.UiPoliciesEntity = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const ui_policies_attributes_dto_1 = require("../dtos/ui.policies.attributes.dto");
|
|
16
|
+
const ui_policies_type_enum_1 = require("../enums/ui.policies.type.enum");
|
|
17
|
+
let UiPoliciesEntity = class UiPoliciesEntity extends nestjs_utility_services_1.CommonEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.UiPoliciesEntity = UiPoliciesEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], UiPoliciesEntity.prototype, "identifier", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], UiPoliciesEntity.prototype, "description", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], UiPoliciesEntity.prototype, "source_type", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], UiPoliciesEntity.prototype, "type_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)(),
|
|
38
|
+
__metadata("design:type", Boolean)
|
|
39
|
+
], UiPoliciesEntity.prototype, "active", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)(),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], UiPoliciesEntity.prototype, "script_id", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)('json'),
|
|
46
|
+
__metadata("design:type", ui_policies_attributes_dto_1.UiPoliciesAttributesDto)
|
|
47
|
+
], UiPoliciesEntity.prototype, "attributes", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.LookupValueEntity),
|
|
50
|
+
(0, typeorm_1.JoinColumn)({ name: 'type_id' }),
|
|
51
|
+
__metadata("design:type", nestjs_utility_services_1.LookupValueEntity)
|
|
52
|
+
], UiPoliciesEntity.prototype, "type", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.ManyToOne)(() => nestjs_utility_services_1.SystemScriptEntity),
|
|
55
|
+
(0, typeorm_1.JoinColumn)({ name: 'script_id' }),
|
|
56
|
+
__metadata("design:type", nestjs_utility_services_1.SystemScriptEntity)
|
|
57
|
+
], UiPoliciesEntity.prototype, "script", void 0);
|
|
58
|
+
exports.UiPoliciesEntity = UiPoliciesEntity = __decorate([
|
|
59
|
+
(0, typeorm_1.Entity)('utl_ui_policies')
|
|
60
|
+
], UiPoliciesEntity);
|
|
61
|
+
//# sourceMappingURL=ui.policies.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.policies.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/ui.policies.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA6G;AAC7G,qCAAgE;AAChE,mFAA6E;AAC7E,0EAAoE;AAS7D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,sCAAY;CAyBjD,CAAA;AAzBY,4CAAgB;AAEzB;IADC,IAAA,gBAAM,GAAE;;oDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;qDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;qDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;iDACmB;AAG5B;IADC,IAAA,gBAAM,GAAE;;gDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;mDACS;AAGlB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,oDAAuB;oDAAC;AAGiC;IAApE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAiB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAAO,2CAAiB;8CAAC;AACrB;IAAvE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4CAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAAS,4CAAkB;gDAAC;2BAxB1F,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,iBAAiB,CAAC;GACb,gBAAgB,CAyB5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui.policies.type.enum';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ui.policies.type.enum"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UiPoliciesTypeEnum = void 0;
|
|
4
|
+
var UiPoliciesTypeEnum;
|
|
5
|
+
(function (UiPoliciesTypeEnum) {
|
|
6
|
+
UiPoliciesTypeEnum[UiPoliciesTypeEnum["INITIALIZER"] = 80] = "INITIALIZER";
|
|
7
|
+
UiPoliciesTypeEnum[UiPoliciesTypeEnum["FINALIZER"] = 81] = "FINALIZER";
|
|
8
|
+
})(UiPoliciesTypeEnum || (exports.UiPoliciesTypeEnum = UiPoliciesTypeEnum = {}));
|
|
9
|
+
//# sourceMappingURL=ui.policies.type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.policies.type.enum.js","sourceRoot":"","sources":["../../../src/accessUtility/enums/ui.policies.type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,0EAAgB,CAAA;IAChB,sEAAc,CAAA;AAClB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BusinessUiPoliciesController } from './controllers/business.ui.policies.controller';
|
|
1
2
|
import { PdfDocumentController } from './controllers/pdf.document.controller';
|
|
2
3
|
import { BulkUploadSheetDto } from './dtos/bulk.upload.sheet.dto';
|
|
3
4
|
import { DocumentFileUploadDto } from './dtos/document.file.upload.dto';
|
|
@@ -11,6 +12,7 @@ import { BulkUploadColumnEntity } from './entities/bulk.upload.column.entity';
|
|
|
11
12
|
import { BulkUploadEntity } from './entities/bulk.upload.entity';
|
|
12
13
|
import { BulkUploadItemEntity } from './entities/bulk.upload.item.entity';
|
|
13
14
|
import { BulkUploadTypeEntity } from './entities/bulk.upload.type.entity';
|
|
15
|
+
import { BusinessUiPoliciesEntity } from './entities/business.ui.policies.entity';
|
|
14
16
|
import { DataMappingEntity } from './entities/data.mapping.entity';
|
|
15
17
|
import { EmailNotificationEntity } from './entities/email.notification.entity';
|
|
16
18
|
import { FcmNotificationEntity } from './entities/fcm.notification.entity';
|
|
@@ -23,9 +25,11 @@ import { PdfDocumentsEntity } from './entities/pdf.documents.entity';
|
|
|
23
25
|
import { PdfLogEntity } from './entities/pdf.log.entity';
|
|
24
26
|
import { SmsNotificationEntity } from './entities/sms.notification.entity';
|
|
25
27
|
import { TagAssignmentEntity } from './entities/tag.assignment.entity';
|
|
28
|
+
import { UiPoliciesEntity } from './entities/ui.policies.entity';
|
|
26
29
|
import { UploadModificationEntity } from './entities/upload.modification.entity';
|
|
27
30
|
import { WebhookRequestEntity } from './entities/webhook.request.entity';
|
|
28
31
|
import { WhatsappNotificationEntity } from './entities/whatsapp.notification.entity';
|
|
32
|
+
import { UiPoliciesTypeEnum } from './enums/ui.policies.type.enum';
|
|
29
33
|
import { AnalyseBulkUploadJob } from './jobs/analyse.bulk.upload.job';
|
|
30
34
|
import { BulkDefinitionJob } from './jobs/bulk.definition.job';
|
|
31
35
|
import { BulkDefinitionLoadJob } from './jobs/bulk.definition.load.job';
|
|
@@ -35,6 +39,7 @@ import { BulkUploadItemJob } from './jobs/bulk.upload.item.job';
|
|
|
35
39
|
import { BulkUploadJob } from './jobs/bulk.upload.job';
|
|
36
40
|
import { BulkUploadStatsJob } from './jobs/bulk.upload.stats.job';
|
|
37
41
|
import { BulkUploadTypeJob } from './jobs/bulk.upload.type.job';
|
|
42
|
+
import { BusinessUiPoliciesJob } from './jobs/business.ui.policies.job';
|
|
38
43
|
import { DataMappingJob } from './jobs/data.mapping.job';
|
|
39
44
|
import { EmailNotificationJob } from './jobs/email.notification.job';
|
|
40
45
|
import { GchatNotificationJob } from './jobs/gchat.notification.job';
|
|
@@ -49,6 +54,7 @@ import { PushToBulkItemJob } from './jobs/push.to.bulk.item.job';
|
|
|
49
54
|
import { SlackNotificationJob } from './jobs/slack.notification.job';
|
|
50
55
|
import { SmsNotificationJob } from './jobs/sms.notification.job';
|
|
51
56
|
import { TagAssignmentJob } from './jobs/tag.assignment.job';
|
|
57
|
+
import { UiPoliciesJob } from './jobs/ui.policies.job';
|
|
52
58
|
import { UploadModificationJob } from './jobs/upload.modification.job';
|
|
53
59
|
import { WebhookRequestJob } from './jobs/webhook.request.job';
|
|
54
60
|
import { WhatsappNotificationJob } from './jobs/whatsapp.notification.job';
|
|
@@ -74,6 +80,7 @@ import { BulkUploadColumnSubscriber } from './subscribers/bulk.upload.column.sub
|
|
|
74
80
|
import { BulkUploadItemSubscriber } from './subscribers/bulk.upload.item.subscriber';
|
|
75
81
|
import { BulkUploadSubscriber } from './subscribers/bulk.upload.subscriber';
|
|
76
82
|
import { BulkUploadTypeSubscriber } from './subscribers/bulk.upload.type.subscriber';
|
|
83
|
+
import { BusinessUiPoliciesSubscriber } from './subscribers/business.ui.policies.subscriber';
|
|
77
84
|
import { DataMappingSubscriber } from './subscribers/data.mapping.subscriber';
|
|
78
85
|
import { EmailNotificationSubscriber } from './subscribers/email.notification.subscriber';
|
|
79
86
|
import { GchatNotificationSubscriber } from './subscribers/gchat.notification.subscriber';
|
|
@@ -87,16 +94,18 @@ import { PdfLogSubscriber } from './subscribers/pdf.log.subscriber';
|
|
|
87
94
|
import { SlackNotificationSubscriber } from './subscribers/slack.notification.subscriber';
|
|
88
95
|
import { SmsNotificationSubscriber } from './subscribers/sms.notification.subscriber';
|
|
89
96
|
import { TagAssignmentSubscriber } from './subscribers/tag.assignment.subscriber';
|
|
97
|
+
import { UiPoliciesSubscriber } from './subscribers/ui.policies.subscriber';
|
|
90
98
|
import { UploadModificationSubscriber } from './subscribers/upload.modification.subscriber';
|
|
91
99
|
import { WebhookRequestSubscriber } from './subscribers/webhook.request.subscriber';
|
|
92
100
|
import { WhatsappNotificationSubscriber } from './subscribers/whatsapp.notification.subscriber';
|
|
93
101
|
declare const es6Classes: {
|
|
94
|
-
controllers: (typeof PdfDocumentController)[];
|
|
102
|
+
controllers: (typeof BusinessUiPoliciesController | typeof PdfDocumentController)[];
|
|
95
103
|
dtos: (typeof TagAssignmentAttributesDto | typeof BulkUploadSheetDto | typeof DocumentFileUploadDto | typeof GeneratePdfDocumentDto | typeof ErrorHandlingDto | typeof PdfDocumentDataDto)[];
|
|
96
|
-
entities: (typeof TagAssignmentEntity | typeof FcmTemplateEntity | typeof FcmNotificationEntity | typeof InappNotificationEntity | typeof SmsNotificationEntity | typeof WhatsappNotificationEntity | typeof EmailNotificationEntity | typeof BulkUploadColumnEntity | typeof BulkUploadTypeEntity | typeof BulkDefinitionEntity | typeof BulkDefinitionProcessingEntity | typeof BulkUploadItemEntity | typeof BulkUploadEntity | typeof UploadModificationEntity | typeof ListingModelEntity | typeof DataMappingEntity | typeof ItemUnitEntity | typeof NotificationRecipientEntity | typeof PdfLogEntity | typeof PdfDocumentsEntity | typeof WebhookRequestEntity)[];
|
|
97
|
-
|
|
104
|
+
entities: (typeof TagAssignmentEntity | typeof FcmTemplateEntity | typeof FcmNotificationEntity | typeof InappNotificationEntity | typeof SmsNotificationEntity | typeof WhatsappNotificationEntity | typeof EmailNotificationEntity | typeof BulkUploadColumnEntity | typeof BulkUploadTypeEntity | typeof BulkDefinitionEntity | typeof BulkDefinitionProcessingEntity | typeof BulkUploadItemEntity | typeof BulkUploadEntity | typeof UploadModificationEntity | typeof ListingModelEntity | typeof UiPoliciesEntity | typeof BusinessUiPoliciesEntity | typeof DataMappingEntity | typeof ItemUnitEntity | typeof NotificationRecipientEntity | typeof PdfLogEntity | typeof PdfDocumentsEntity | typeof WebhookRequestEntity)[];
|
|
105
|
+
enums: (typeof UiPoliciesTypeEnum)[];
|
|
106
|
+
jobs: (typeof PushToBulkItemJob | typeof AnalyseBulkUploadJob | typeof BulkDefinitionJob | typeof BulkDefinitionLoadJob | typeof BulkDefinitionProcessingJob | typeof BulkUploadColumnJob | typeof BulkUploadStatsJob | typeof BulkUploadItemJob | typeof BulkUploadJob | typeof BulkUploadTypeJob | typeof BusinessUiPoliciesJob | typeof DataMappingJob | typeof EmailNotificationJob | typeof GchatNotificationJob | typeof InappNotificationJob | typeof ItemUnitJob | typeof ListingModelJob | typeof NotificationJob | typeof NotificationRecipientJob | typeof PdfLogJob | typeof PdfDocumentJob | typeof SlackNotificationJob | typeof SmsNotificationJob | typeof TagAssignmentJob | typeof UiPoliciesJob | typeof UploadModificationJob | typeof WebhookRequestJob | typeof WhatsappNotificationJob)[];
|
|
98
107
|
libraries: (typeof ReadXlsFile | typeof AnalyseBulkUpload | typeof ProcessManualPdfDocument | typeof GenerateBulkUploadSheet | typeof LoadXlsFile | typeof ProcessCommonData | typeof ProcessPdfDocument | typeof SetBulkUploadLogFile | typeof SlabsUtil)[];
|
|
99
108
|
services: (typeof BulkUploadService | typeof PdfDocumentService | typeof FileUploadService | typeof LambdaService | typeof Es6JobsService | typeof Es6Service)[];
|
|
100
|
-
subscribers: (typeof BulkDefinitionLoadSubscriber | typeof BulkDefinitionProcessingSubscriber | typeof BulkDefinitionSubscriber | typeof BulkUploadColumnSubscriber | typeof BulkUploadItemSubscriber | typeof BulkUploadSubscriber | typeof BulkUploadTypeSubscriber | typeof DataMappingSubscriber | typeof EmailNotificationSubscriber | typeof GchatNotificationSubscriber | typeof InappNotificationSubscriber | typeof ItemUnitSubscriber | typeof ListingModelSubscriber | typeof NotificationRecipientSubscriber | typeof NotificationSubscriber | typeof PdfDocumentSubscriber | typeof PdfLogSubscriber | typeof SlackNotificationSubscriber | typeof SmsNotificationSubscriber | typeof TagAssignmentSubscriber | typeof UploadModificationSubscriber | typeof WebhookRequestSubscriber | typeof WhatsappNotificationSubscriber)[];
|
|
109
|
+
subscribers: (typeof BulkDefinitionLoadSubscriber | typeof BulkDefinitionProcessingSubscriber | typeof BulkDefinitionSubscriber | typeof BulkUploadColumnSubscriber | typeof BulkUploadItemSubscriber | typeof BulkUploadSubscriber | typeof BulkUploadTypeSubscriber | typeof BusinessUiPoliciesSubscriber | typeof DataMappingSubscriber | typeof EmailNotificationSubscriber | typeof GchatNotificationSubscriber | typeof InappNotificationSubscriber | typeof ItemUnitSubscriber | typeof ListingModelSubscriber | typeof NotificationRecipientSubscriber | typeof NotificationSubscriber | typeof PdfDocumentSubscriber | typeof PdfLogSubscriber | typeof SlackNotificationSubscriber | typeof SmsNotificationSubscriber | typeof TagAssignmentSubscriber | typeof UiPoliciesSubscriber | typeof UploadModificationSubscriber | typeof WebhookRequestSubscriber | typeof WhatsappNotificationSubscriber)[];
|
|
101
110
|
};
|
|
102
111
|
export default es6Classes;
|