@servicelabsco/slabs-access-manager 1.0.28 → 1.0.30
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 +3 -1
- package/dist/access/controllers/business.script.controller.js +6 -3
- package/dist/access/controllers/business.script.controller.js.map +1 -1
- package/dist/access/dtos/email.message.normalized.dto.d.ts +2 -0
- package/dist/access/dtos/email.message.normalized.dto.js +5 -0
- package/dist/access/dtos/email.message.normalized.dto.js.map +1 -1
- package/dist/access/es6.classes.d.ts +3 -2
- package/dist/access/es6.classes.js +2 -0
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/jobs/business.currency.job.js.map +1 -1
- package/dist/access/jobs/business.feature.job.js.map +1 -1
- package/dist/access/jobs/business.property.job.d.ts +4 -1
- package/dist/access/jobs/business.property.job.js +15 -2
- package/dist/access/jobs/business.property.job.js.map +1 -1
- package/dist/access/jobs/currency.rate.job.js.map +1 -1
- package/dist/access/jobs/email.message.job.js.map +1 -1
- package/dist/access/jobs/evaluate.email.rule.job.d.ts +3 -1
- package/dist/access/jobs/evaluate.email.rule.job.js +6 -3
- package/dist/access/jobs/evaluate.email.rule.job.js.map +1 -1
- package/dist/access/jobs/execute.business.script.job.d.ts +3 -1
- package/dist/access/jobs/execute.business.script.job.js +6 -3
- package/dist/access/jobs/execute.business.script.job.js.map +1 -1
- package/dist/access/jobs/feature.job.js.map +1 -1
- package/dist/access/jobs/feature.menu.job.js.map +1 -1
- package/dist/access/jobs/gmail.integration.fetch.messages.job.js.map +1 -1
- package/dist/access/jobs/gst.mapping.job.js.map +1 -1
- 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/jobs/lock.script.job.js.map +1 -1
- package/dist/access/jobs/refresh.business.property.job.d.ts +8 -0
- package/dist/access/jobs/refresh.business.property.job.js +32 -0
- package/dist/access/jobs/refresh.business.property.job.js.map +1 -0
- package/dist/access/jobs/send.business.report.notification.job.js.map +1 -1
- package/dist/access/jobs/set.business.script.schedule.job.js.map +1 -1
- package/dist/access/jobs/set.email.unread.count.job.js.map +1 -1
- package/dist/access/jobs/sync.email.message.metrics.job.js.map +1 -1
- package/dist/access/jobs/sync.menu.job.js.map +1 -1
- package/dist/access/libraries/evaluate.email.rule.d.ts +4 -1
- package/dist/access/libraries/evaluate.email.rule.js +14 -4
- package/dist/access/libraries/evaluate.email.rule.js.map +1 -1
- package/dist/access/libraries/execute.business.script.d.ts +4 -4
- package/dist/access/libraries/execute.business.script.js +8 -11
- package/dist/access/libraries/execute.business.script.js.map +1 -1
- package/dist/access/services/business.email.service.js.map +1 -1
- package/dist/access/services/business.property.service.d.ts +4 -0
- package/dist/access/services/business.property.service.js +30 -2
- package/dist/access/services/business.property.service.js.map +1 -1
- package/dist/access/services/business.script.service.d.ts +3 -1
- package/dist/access/services/business.script.service.js +6 -3
- package/dist/access/services/business.script.service.js.map +1 -1
- 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/services/gmail.integration.service.js.map +1 -1
- package/dist/accessUtility/controllers/business.policy.controller.d.ts +16 -0
- package/dist/accessUtility/controllers/{business.ui.policies.controller.js → business.policy.controller.js} +20 -20
- package/dist/accessUtility/controllers/business.policy.controller.js.map +1 -0
- package/dist/accessUtility/controllers/index.d.ts +1 -1
- package/dist/accessUtility/controllers/index.js +1 -1
- package/dist/accessUtility/controllers/index.js.map +1 -1
- package/dist/accessUtility/dtos/add.business.policy.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/{add.ui.business.policies.dto.js → add.business.policy.dto.js} +5 -5
- package/dist/accessUtility/dtos/add.business.policy.dto.js.map +1 -0
- package/dist/accessUtility/dtos/business.policy.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/business.policy.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/business.policy.attributes.dto.js.map +1 -0
- package/dist/accessUtility/dtos/index.d.ts +2 -2
- package/dist/accessUtility/dtos/index.js +2 -2
- package/dist/accessUtility/dtos/index.js.map +1 -1
- package/dist/accessUtility/entities/{business.ui.policies.entity.d.ts → business.policy.entity.d.ts} +3 -3
- package/dist/accessUtility/entities/{business.ui.policies.entity.js → business.policy.entity.js} +16 -16
- package/dist/accessUtility/entities/business.policy.entity.js.map +1 -0
- package/dist/accessUtility/entities/index.d.ts +1 -1
- package/dist/accessUtility/entities/index.js +1 -1
- package/dist/accessUtility/entities/index.js.map +1 -1
- package/dist/accessUtility/enums/bulk.upload.status.type.enum.d.ts +4 -4
- package/dist/accessUtility/enums/bulk.upload.status.type.enum.js +4 -4
- package/dist/accessUtility/enums/bulk.upload.status.type.enum.js.map +1 -1
- package/dist/accessUtility/es6.classes.d.ts +13 -12
- package/dist/accessUtility/es6.classes.js +9 -220
- package/dist/accessUtility/es6.classes.js.map +1 -1
- package/dist/accessUtility/jobs/bulk.upload.job.js.map +1 -1
- package/dist/accessUtility/jobs/business.bulk.definition.job.js.map +1 -1
- package/dist/accessUtility/jobs/business.policy.job.d.ts +10 -0
- package/dist/accessUtility/jobs/{business.ui.policies.job.js → business.policy.job.js} +12 -12
- package/dist/accessUtility/jobs/business.policy.job.js.map +1 -0
- package/dist/accessUtility/jobs/currency.job.js.map +1 -1
- package/dist/accessUtility/jobs/gst.state.job.js.map +1 -1
- package/dist/accessUtility/jobs/index.d.ts +2 -1
- package/dist/accessUtility/jobs/index.js +2 -1
- package/dist/accessUtility/jobs/index.js.map +1 -1
- package/dist/accessUtility/jobs/item.violation.job.js.map +1 -1
- package/dist/accessUtility/jobs/reset.business.policy.job.d.ts +8 -0
- package/dist/accessUtility/jobs/reset.business.policy.job.js +32 -0
- package/dist/accessUtility/jobs/reset.business.policy.job.js.map +1 -0
- package/dist/accessUtility/services/{business.ui.policy.service.d.ts → business.policy.service.d.ts} +3 -2
- package/dist/accessUtility/services/{business.ui.policy.service.js → business.policy.service.js} +20 -9
- package/dist/accessUtility/services/business.policy.service.js.map +1 -0
- package/dist/accessUtility/services/es6.jobs.service.d.ts +5 -3
- package/dist/accessUtility/services/es6.jobs.service.js +9 -5
- package/dist/accessUtility/services/es6.jobs.service.js.map +1 -1
- package/dist/accessUtility/services/file.upload.service.js.map +1 -1
- package/dist/accessUtility/services/google.drive.service.js.map +1 -1
- package/dist/accessUtility/services/index.d.ts +1 -1
- package/dist/accessUtility/services/index.js +1 -1
- package/dist/accessUtility/services/index.js.map +1 -1
- package/dist/accessUtility/subscribers/business.policy.subscriber.d.ts +10 -0
- package/dist/accessUtility/subscribers/{business.ui.policies.subscriber.js → business.policy.subscriber.js} +10 -10
- package/dist/accessUtility/subscribers/business.policy.subscriber.js.map +1 -0
- package/dist/accessUtility/subscribers/index.d.ts +1 -1
- package/dist/accessUtility/subscribers/index.js +1 -1
- package/dist/accessUtility/subscribers/index.js.map +1 -1
- package/dist/accessWorkflow/es6.classes.js +1 -96
- package/dist/accessWorkflow/es6.classes.js.map +1 -1
- package/dist/accessWorkflow/jobs/bulk.upload.workflow.stage.status.job.js.map +1 -1
- package/dist/accessWorkflow/jobs/handle.duplicate.workflow.activity.job.js.map +1 -1
- package/dist/accessWorkflow/jobs/performance.record.job.js.map +1 -1
- package/dist/config/entity.constants.d.ts +2 -2
- package/dist/config/entity.constants.js +2 -2
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/development/services/development.crud.service.js.map +1 -1
- package/dist/mcp/es6.classes.d.ts +71 -0
- package/dist/mcp/es6.classes.js +127 -0
- package/dist/mcp/es6.classes.js.map +1 -0
- package/dist/migrations/1780645998210-AddBulkUploadStatusTypeDataSeederTable.js +9 -9
- package/dist/migrations/1780645998210-AddBulkUploadStatusTypeDataSeederTable.js.map +1 -1
- package/dist/migrations/1784000000000-RenameBzBusinessUiPoliciesTable.d.ts +8 -0
- package/dist/migrations/1784000000000-RenameBzBusinessUiPoliciesTable.js +19 -0
- package/dist/migrations/1784000000000-RenameBzBusinessUiPoliciesTable.js.map +1 -0
- package/package.json +1 -1
- package/dist/accessUtility/controllers/business.ui.policies.controller.d.ts +0 -16
- package/dist/accessUtility/controllers/business.ui.policies.controller.js.map +0 -1
- package/dist/accessUtility/dtos/add.ui.business.policies.dto.d.ts +0 -3
- package/dist/accessUtility/dtos/add.ui.business.policies.dto.js.map +0 -1
- package/dist/accessUtility/dtos/business.ui.policies.attributes.dto.d.ts +0 -3
- package/dist/accessUtility/dtos/business.ui.policies.attributes.dto.js +0 -8
- package/dist/accessUtility/dtos/business.ui.policies.attributes.dto.js.map +0 -1
- package/dist/accessUtility/entities/business.ui.policies.entity.js.map +0 -1
- package/dist/accessUtility/jobs/business.ui.policies.job.d.ts +0 -10
- package/dist/accessUtility/jobs/business.ui.policies.job.js.map +0 -1
- package/dist/accessUtility/services/business.ui.policy.service.js.map +0 -1
- package/dist/accessUtility/subscribers/business.ui.policies.subscriber.d.ts +0 -10
- package/dist/accessUtility/subscribers/business.ui.policies.subscriber.js.map +0 -1
|
@@ -12,16 +12,16 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
12
12
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
15
|
+
exports.BusinessPolicyController = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
17
|
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
18
18
|
const typeorm_1 = require("typeorm");
|
|
19
19
|
const business_param_dto_1 = require("../../access/dtos/business.param.dto");
|
|
20
20
|
const access_business_service_1 = require("../../access/services/access.business.service");
|
|
21
|
-
const
|
|
22
|
-
const
|
|
21
|
+
const add_business_policy_dto_1 = require("../dtos/add.business.policy.dto");
|
|
22
|
+
const business_policy_entity_1 = require("../entities/business.policy.entity");
|
|
23
23
|
const ui_policies_entity_1 = require("../entities/ui.policies.entity");
|
|
24
|
-
let
|
|
24
|
+
let BusinessPolicyController = class BusinessPolicyController {
|
|
25
25
|
constructor(businessAccessService) {
|
|
26
26
|
this.businessAccessService = businessAccessService;
|
|
27
27
|
}
|
|
@@ -31,7 +31,7 @@ let BusinessUiPoliciesController = class BusinessUiPoliciesController {
|
|
|
31
31
|
if (!systemPolicies.length)
|
|
32
32
|
return [];
|
|
33
33
|
const ids = systemPolicies.map((systemPolicy) => systemPolicy?.id);
|
|
34
|
-
return
|
|
34
|
+
return business_policy_entity_1.BusinessPolicyEntity.find({
|
|
35
35
|
where: { business_id: business.id, policy_id: (0, typeorm_1.In)(ids), active: true },
|
|
36
36
|
relations: ['policy.type', 'policy.script'],
|
|
37
37
|
});
|
|
@@ -45,13 +45,13 @@ let BusinessUiPoliciesController = class BusinessUiPoliciesController {
|
|
|
45
45
|
const systemPolicies = await ui_policies_entity_1.UiPoliciesEntity.findOne({ where: { id: params.id } });
|
|
46
46
|
if (!systemPolicies)
|
|
47
47
|
throw new nestjs_utility_services_1.OperationException('Invalid Slug');
|
|
48
|
-
const c = await
|
|
48
|
+
const c = await business_policy_entity_1.BusinessPolicyEntity.firstOrCreate({ business_id: business.id, policy_id: systemPolicies?.id });
|
|
49
49
|
c.properties = body.properties;
|
|
50
50
|
return c.save();
|
|
51
51
|
}
|
|
52
52
|
async deleteTag(params) {
|
|
53
53
|
const business = await this.businessAccessService?.validateAccess();
|
|
54
|
-
const c = await
|
|
54
|
+
const c = await business_policy_entity_1.BusinessPolicyEntity.first(params?.second_id);
|
|
55
55
|
if (c?.business_id !== business.id)
|
|
56
56
|
throw new nestjs_utility_services_1.AccessException();
|
|
57
57
|
return c.softDelete();
|
|
@@ -64,7 +64,7 @@ let BusinessUiPoliciesController = class BusinessUiPoliciesController {
|
|
|
64
64
|
}
|
|
65
65
|
async handleStatus(status, id) {
|
|
66
66
|
const business = await this.businessAccessService.validateAccess();
|
|
67
|
-
const r = await
|
|
67
|
+
const r = await business_policy_entity_1.BusinessPolicyEntity.first(id);
|
|
68
68
|
if (r?.business_id !== business.id)
|
|
69
69
|
throw new nestjs_utility_services_1.AccessException();
|
|
70
70
|
if (status === r.active)
|
|
@@ -73,51 +73,51 @@ let BusinessUiPoliciesController = class BusinessUiPoliciesController {
|
|
|
73
73
|
return r.save();
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
exports.
|
|
76
|
+
exports.BusinessPolicyController = BusinessPolicyController;
|
|
77
77
|
__decorate([
|
|
78
78
|
(0, common_1.Get)(':slug/list'),
|
|
79
79
|
__param(0, (0, common_1.Param)()),
|
|
80
80
|
__metadata("design:type", Function),
|
|
81
81
|
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
82
82
|
__metadata("design:returntype", Promise)
|
|
83
|
-
],
|
|
83
|
+
], BusinessPolicyController.prototype, "getPolicies", null);
|
|
84
84
|
__decorate([
|
|
85
85
|
(0, common_1.Get)('available-policies'),
|
|
86
86
|
__metadata("design:type", Function),
|
|
87
87
|
__metadata("design:paramtypes", []),
|
|
88
88
|
__metadata("design:returntype", Promise)
|
|
89
|
-
],
|
|
89
|
+
], BusinessPolicyController.prototype, "systemPolicies", null);
|
|
90
90
|
__decorate([
|
|
91
91
|
(0, common_1.Post)(':id/create'),
|
|
92
92
|
__param(0, (0, common_1.Param)()),
|
|
93
93
|
__param(1, (0, common_1.Body)()),
|
|
94
94
|
__metadata("design:type", Function),
|
|
95
|
-
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto,
|
|
95
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto, add_business_policy_dto_1.AddBusinessPolicyDto]),
|
|
96
96
|
__metadata("design:returntype", Promise)
|
|
97
|
-
],
|
|
97
|
+
], BusinessPolicyController.prototype, "createPolicy", null);
|
|
98
98
|
__decorate([
|
|
99
99
|
(0, common_1.Delete)(':second_id/delete'),
|
|
100
100
|
__param(0, (0, common_1.Param)()),
|
|
101
101
|
__metadata("design:type", Function),
|
|
102
102
|
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
103
103
|
__metadata("design:returntype", Promise)
|
|
104
|
-
],
|
|
104
|
+
], BusinessPolicyController.prototype, "deleteTag", null);
|
|
105
105
|
__decorate([
|
|
106
106
|
(0, common_1.Post)(':id/activate'),
|
|
107
107
|
__param(0, (0, common_1.Param)()),
|
|
108
108
|
__metadata("design:type", Function),
|
|
109
109
|
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
110
110
|
__metadata("design:returntype", Promise)
|
|
111
|
-
],
|
|
111
|
+
], BusinessPolicyController.prototype, "activate", null);
|
|
112
112
|
__decorate([
|
|
113
113
|
(0, common_1.Post)(':id/deactivate'),
|
|
114
114
|
__param(0, (0, common_1.Param)()),
|
|
115
115
|
__metadata("design:type", Function),
|
|
116
116
|
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
117
117
|
__metadata("design:returntype", Promise)
|
|
118
|
-
],
|
|
119
|
-
exports.
|
|
120
|
-
(0, common_1.Controller)('api/b/
|
|
118
|
+
], BusinessPolicyController.prototype, "deactivate", null);
|
|
119
|
+
exports.BusinessPolicyController = BusinessPolicyController = __decorate([
|
|
120
|
+
(0, common_1.Controller)('api/b/business-policies'),
|
|
121
121
|
__metadata("design:paramtypes", [access_business_service_1.AccessBusinessService])
|
|
122
|
-
],
|
|
123
|
-
//# sourceMappingURL=business.
|
|
122
|
+
], BusinessPolicyController);
|
|
123
|
+
//# sourceMappingURL=business.policy.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.policy.controller.js","sourceRoot":"","sources":["../../../src/accessUtility/controllers/business.policy.controller.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './bulk.definition.controller';
|
|
2
|
-
export * from './business.
|
|
2
|
+
export * from './business.policy.controller';
|
|
3
3
|
export * from './gst.state.controller';
|
|
4
4
|
export * from './item.unit.controller';
|
|
5
5
|
export * from './notification.recipient.controller';
|
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./bulk.definition.controller"), exports);
|
|
18
|
-
__exportStar(require("./business.
|
|
18
|
+
__exportStar(require("./business.policy.controller"), exports);
|
|
19
19
|
__exportStar(require("./gst.state.controller"), exports);
|
|
20
20
|
__exportStar(require("./item.unit.controller"), exports);
|
|
21
21
|
__exportStar(require("./notification.recipient.controller"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,sEAAoD;AAAA,4DAA0C;AAAA,oEAAiD"}
|
package/dist/accessUtility/dtos/{add.ui.business.policies.dto.js → add.business.policy.dto.js}
RENAMED
|
@@ -9,15 +9,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.AddBusinessPolicyDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
class
|
|
15
|
+
class AddBusinessPolicyDto {
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
17
|
+
exports.AddBusinessPolicyDto = AddBusinessPolicyDto;
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, class_transformer_1.Expose)(),
|
|
20
20
|
(0, class_validator_1.IsOptional)(),
|
|
21
21
|
__metadata("design:type", Object)
|
|
22
|
-
],
|
|
23
|
-
//# sourceMappingURL=add.
|
|
22
|
+
], AddBusinessPolicyDto.prototype, "properties", void 0);
|
|
23
|
+
//# sourceMappingURL=add.business.policy.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.business.policy.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/add.business.policy.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA6C;AAE7C,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AADG;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;wDACG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessPolicyAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class BusinessPolicyAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BusinessPolicyAttributesDto = BusinessPolicyAttributesDto;
|
|
8
|
+
//# sourceMappingURL=business.policy.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.policy.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/business.policy.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,2BAA4B,SAAQ,6CAAmB;CAAG;AAAvE,kEAAuE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './add.bulk.definition.dto';
|
|
2
|
+
export * from './add.business.policy.dto';
|
|
2
3
|
export * from './add.item.unit.dto';
|
|
3
4
|
export * from './add.notification.recipient.dto';
|
|
4
|
-
export * from './add.ui.business.policies.dto';
|
|
5
5
|
export * from './bulk.definition.attributes.dto';
|
|
6
6
|
export * from './bulk.definition.list.filter.dto';
|
|
7
7
|
export * from './bulk.definition.load.attributes.dto';
|
|
@@ -12,8 +12,8 @@ export * from './bulk.upload.item.attributes.dto';
|
|
|
12
12
|
export * from './bulk.upload.sheet.dto';
|
|
13
13
|
export * from './bulk.upload.type.attributes.dto';
|
|
14
14
|
export * from './business.bulk.definition.attributes.dto';
|
|
15
|
+
export * from './business.policy.attributes.dto';
|
|
15
16
|
export * from './business.report.list.filter.dto';
|
|
16
|
-
export * from './business.ui.policies.attributes.dto';
|
|
17
17
|
export * from './business.violation.approval.dto';
|
|
18
18
|
export * from './business.violation.attributes.dto';
|
|
19
19
|
export * from './currency.attributes.dto';
|
|
@@ -15,9 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./add.bulk.definition.dto"), exports);
|
|
18
|
+
__exportStar(require("./add.business.policy.dto"), exports);
|
|
18
19
|
__exportStar(require("./add.item.unit.dto"), exports);
|
|
19
20
|
__exportStar(require("./add.notification.recipient.dto"), exports);
|
|
20
|
-
__exportStar(require("./add.ui.business.policies.dto"), exports);
|
|
21
21
|
__exportStar(require("./bulk.definition.attributes.dto"), exports);
|
|
22
22
|
__exportStar(require("./bulk.definition.list.filter.dto"), exports);
|
|
23
23
|
__exportStar(require("./bulk.definition.load.attributes.dto"), exports);
|
|
@@ -28,8 +28,8 @@ __exportStar(require("./bulk.upload.item.attributes.dto"), exports);
|
|
|
28
28
|
__exportStar(require("./bulk.upload.sheet.dto"), exports);
|
|
29
29
|
__exportStar(require("./bulk.upload.type.attributes.dto"), exports);
|
|
30
30
|
__exportStar(require("./business.bulk.definition.attributes.dto"), exports);
|
|
31
|
+
__exportStar(require("./business.policy.attributes.dto"), exports);
|
|
31
32
|
__exportStar(require("./business.report.list.filter.dto"), exports);
|
|
32
|
-
__exportStar(require("./business.ui.policies.attributes.dto"), exports);
|
|
33
33
|
__exportStar(require("./business.violation.approval.dto"), exports);
|
|
34
34
|
__exportStar(require("./business.violation.attributes.dto"), exports);
|
|
35
35
|
__exportStar(require("./currency.attributes.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,sDAAoC;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,oEAAkD;AAAA,wEAAsD;AAAA,8EAA4D;AAAA,+DAA6C;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,0DAAwC;AAAA,oEAAkD;AAAA,4EAA0D;AAAA,mEAAiD;AAAA,oEAAkD;AAAA,oEAAkD;AAAA,sEAAoD;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,kEAAgD;AAAA,6DAA2C;AAAA,sEAAoD;AAAA,uDAAqC;AAAA,oEAAkD;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,6DAA2C;AAAA,mDAAiC;AAAA,sEAAoD;AAAA,6DAA2C;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,mDAAiC;AAAA,iEAA+C;AAAA,gEAA8C;AAAA,0EAAwD;AAAA,gEAA8C;AAAA,0DAAwC;AAAA,2DAAyC;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,kEAAgD;AAAA,+DAA6C;AAAA,uEAAqD;AAAA,wEAAsD;AAAA,yEAAuD;AAAA,2DAAyC;AAAA,mEAAiD;AAAA,yEAAsD"}
|
package/dist/accessUtility/entities/{business.ui.policies.entity.d.ts → business.policy.entity.d.ts}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
2
|
import { AccessBusinessEntity } from '../../access/entities/access.business.entity';
|
|
3
|
-
import {
|
|
3
|
+
import { BusinessPolicyAttributesDto } from '../dtos/business.policy.attributes.dto';
|
|
4
4
|
import { UiPoliciesEntity } from './ui.policies.entity';
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class BusinessPolicyEntity extends CommonEntity {
|
|
6
6
|
policy_id: number;
|
|
7
7
|
business_id: number;
|
|
8
8
|
active: boolean;
|
|
9
|
-
attributes:
|
|
9
|
+
attributes: BusinessPolicyAttributesDto;
|
|
10
10
|
properties: any;
|
|
11
11
|
policy: UiPoliciesEntity;
|
|
12
12
|
business: AccessBusinessEntity;
|
package/dist/accessUtility/entities/{business.ui.policies.entity.js → business.policy.entity.js}
RENAMED
|
@@ -9,46 +9,46 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.BusinessPolicyEntity = void 0;
|
|
13
13
|
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const access_business_entity_1 = require("../../access/entities/access.business.entity");
|
|
16
|
-
const
|
|
16
|
+
const business_policy_attributes_dto_1 = require("../dtos/business.policy.attributes.dto");
|
|
17
17
|
const ui_policies_entity_1 = require("./ui.policies.entity");
|
|
18
|
-
let
|
|
18
|
+
let BusinessPolicyEntity = class BusinessPolicyEntity extends nestjs_utility_services_1.CommonEntity {
|
|
19
19
|
};
|
|
20
|
-
exports.
|
|
20
|
+
exports.BusinessPolicyEntity = BusinessPolicyEntity;
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, typeorm_1.Column)(),
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
|
-
],
|
|
24
|
+
], BusinessPolicyEntity.prototype, "policy_id", void 0);
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, typeorm_1.Column)(),
|
|
27
27
|
__metadata("design:type", Number)
|
|
28
|
-
],
|
|
28
|
+
], BusinessPolicyEntity.prototype, "business_id", void 0);
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, typeorm_1.Column)(),
|
|
31
31
|
__metadata("design:type", Boolean)
|
|
32
|
-
],
|
|
32
|
+
], BusinessPolicyEntity.prototype, "active", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Column)('json'),
|
|
35
|
-
__metadata("design:type",
|
|
36
|
-
],
|
|
35
|
+
__metadata("design:type", business_policy_attributes_dto_1.BusinessPolicyAttributesDto)
|
|
36
|
+
], BusinessPolicyEntity.prototype, "attributes", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, typeorm_1.Column)('json'),
|
|
39
39
|
__metadata("design:type", Object)
|
|
40
|
-
],
|
|
40
|
+
], BusinessPolicyEntity.prototype, "properties", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, typeorm_1.ManyToOne)(() => ui_policies_entity_1.UiPoliciesEntity),
|
|
43
43
|
(0, typeorm_1.JoinColumn)({ name: 'policy_id' }),
|
|
44
44
|
__metadata("design:type", ui_policies_entity_1.UiPoliciesEntity)
|
|
45
|
-
],
|
|
45
|
+
], BusinessPolicyEntity.prototype, "policy", void 0);
|
|
46
46
|
__decorate([
|
|
47
47
|
(0, typeorm_1.ManyToOne)(() => access_business_entity_1.AccessBusinessEntity),
|
|
48
48
|
(0, typeorm_1.JoinColumn)({ name: 'policy_id' }),
|
|
49
49
|
__metadata("design:type", access_business_entity_1.AccessBusinessEntity)
|
|
50
|
-
],
|
|
51
|
-
exports.
|
|
52
|
-
(0, typeorm_1.Entity)('
|
|
53
|
-
],
|
|
54
|
-
//# sourceMappingURL=business.
|
|
50
|
+
], BusinessPolicyEntity.prototype, "business", void 0);
|
|
51
|
+
exports.BusinessPolicyEntity = BusinessPolicyEntity = __decorate([
|
|
52
|
+
(0, typeorm_1.Entity)('bz_business_policies')
|
|
53
|
+
], BusinessPolicyEntity);
|
|
54
|
+
//# sourceMappingURL=business.policy.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.policy.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/business.policy.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAgE;AAChE,yFAAoF;AACpF,2FAAqF;AACrF,6DAAwD;AASjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;CAmBrD,CAAA;AAnBY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;uDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;yDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;oDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,4DAA2B;wDAAC;AAGxC;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;wDACC;AAGsD;IAArE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAgB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAAS,qCAAgB;oDAAC;AACrB;IAAzE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAAW,6CAAoB;sDAAC;+BAlBhG,oBAAoB;IADhC,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,oBAAoB,CAmBhC"}
|
|
@@ -6,7 +6,7 @@ export * from './bulk.upload.entity';
|
|
|
6
6
|
export * from './bulk.upload.item.entity';
|
|
7
7
|
export * from './bulk.upload.type.entity';
|
|
8
8
|
export * from './business.bulk.definition.entity';
|
|
9
|
-
export * from './business.
|
|
9
|
+
export * from './business.policy.entity';
|
|
10
10
|
export * from './business.violation.entity';
|
|
11
11
|
export * from './currency.entity';
|
|
12
12
|
export * from './data.access.entity';
|
|
@@ -22,7 +22,7 @@ __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
24
|
__exportStar(require("./business.bulk.definition.entity"), exports);
|
|
25
|
-
__exportStar(require("./business.
|
|
25
|
+
__exportStar(require("./business.policy.entity"), exports);
|
|
26
26
|
__exportStar(require("./business.violation.entity"), exports);
|
|
27
27
|
__exportStar(require("./currency.entity"), exports);
|
|
28
28
|
__exportStar(require("./data.access.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,oEAAkD;AAAA,
|
|
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,oEAAkD;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,oDAAkC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,qDAAmC;AAAA,8DAA4C;AAAA,qDAAmC;AAAA,0DAAwC;AAAA,yDAAuC;AAAA,wDAAsC;AAAA,kEAAgD;AAAA,yDAAuC;AAAA,mDAAiC;AAAA,yDAAuC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,iEAA8C"}
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BulkUploadStatusTypeEnum = void 0;
|
|
4
4
|
var BulkUploadStatusTypeEnum;
|
|
5
5
|
(function (BulkUploadStatusTypeEnum) {
|
|
6
|
-
BulkUploadStatusTypeEnum[BulkUploadStatusTypeEnum["PENDING_APPROVAL"] =
|
|
7
|
-
BulkUploadStatusTypeEnum[BulkUploadStatusTypeEnum["APPROVED"] =
|
|
8
|
-
BulkUploadStatusTypeEnum[BulkUploadStatusTypeEnum["REJECTED"] =
|
|
9
|
-
BulkUploadStatusTypeEnum[BulkUploadStatusTypeEnum["ON_HOLD"] =
|
|
6
|
+
BulkUploadStatusTypeEnum[BulkUploadStatusTypeEnum["PENDING_APPROVAL"] = 100001] = "PENDING_APPROVAL";
|
|
7
|
+
BulkUploadStatusTypeEnum[BulkUploadStatusTypeEnum["APPROVED"] = 100002] = "APPROVED";
|
|
8
|
+
BulkUploadStatusTypeEnum[BulkUploadStatusTypeEnum["REJECTED"] = 100003] = "REJECTED";
|
|
9
|
+
BulkUploadStatusTypeEnum[BulkUploadStatusTypeEnum["ON_HOLD"] = 100004] = "ON_HOLD";
|
|
10
10
|
})(BulkUploadStatusTypeEnum || (exports.BulkUploadStatusTypeEnum = BulkUploadStatusTypeEnum = {}));
|
|
11
11
|
//# sourceMappingURL=bulk.upload.status.type.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk.upload.status.type.enum.js","sourceRoot":"","sources":["../../../src/accessUtility/enums/bulk.upload.status.type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAChC,
|
|
1
|
+
{"version":3,"file":"bulk.upload.status.type.enum.js","sourceRoot":"","sources":["../../../src/accessUtility/enums/bulk.upload.status.type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAChC,oGAAyB,CAAA;IACzB,oFAAiB,CAAA;IACjB,oFAAiB,CAAA;IACjB,kFAAgB,CAAA;AACpB,CAAC,EALW,wBAAwB,wCAAxB,wBAAwB,QAKnC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { BulkDefinitionController } from './controllers/bulk.definition.controller';
|
|
2
|
-
import {
|
|
2
|
+
import { BusinessPolicyController } from './controllers/business.policy.controller';
|
|
3
3
|
import { GstStateController } from './controllers/gst.state.controller';
|
|
4
4
|
import { ItemUnitController } from './controllers/item.unit.controller';
|
|
5
5
|
import { NotificationRecipientController } from './controllers/notification.recipient.controller';
|
|
6
6
|
import { PdfDocumentController } from './controllers/pdf.document.controller';
|
|
7
7
|
import { ViolationDefinitionController } from './controllers/violation.definition.controller';
|
|
8
|
+
import { AddBusinessPolicyDto } from './dtos/add.business.policy.dto';
|
|
8
9
|
import { AddNotificationRecipientDto } from './dtos/add.notification.recipient.dto';
|
|
9
|
-
import { AddUiBusinessPoliciesDto } from './dtos/add.ui.business.policies.dto';
|
|
10
10
|
import { BulkDefinitionListFilterDto } from './dtos/bulk.definition.list.filter.dto';
|
|
11
11
|
import { BulkUploadSheetDto } from './dtos/bulk.upload.sheet.dto';
|
|
12
12
|
import { BusinessViolationApprovalDto } from './dtos/business.violation.approval.dto';
|
|
@@ -25,7 +25,7 @@ import { BulkUploadEntity } from './entities/bulk.upload.entity';
|
|
|
25
25
|
import { BulkUploadItemEntity } from './entities/bulk.upload.item.entity';
|
|
26
26
|
import { BulkUploadTypeEntity } from './entities/bulk.upload.type.entity';
|
|
27
27
|
import { BusinessBulkDefinitionEntity } from './entities/business.bulk.definition.entity';
|
|
28
|
-
import {
|
|
28
|
+
import { BusinessPolicyEntity } from './entities/business.policy.entity';
|
|
29
29
|
import { BusinessViolationEntity } from './entities/business.violation.entity';
|
|
30
30
|
import { CurrencyEntity } from './entities/currency.entity';
|
|
31
31
|
import { DataAccessEntity } from './entities/data.access.entity';
|
|
@@ -67,7 +67,7 @@ import { BulkUploadJob } from './jobs/bulk.upload.job';
|
|
|
67
67
|
import { BulkUploadStatsJob } from './jobs/bulk.upload.stats.job';
|
|
68
68
|
import { BulkUploadTypeJob } from './jobs/bulk.upload.type.job';
|
|
69
69
|
import { BusinessBulkDefinitionJob } from './jobs/business.bulk.definition.job';
|
|
70
|
-
import {
|
|
70
|
+
import { BusinessPolicyJob } from './jobs/business.policy.job';
|
|
71
71
|
import { BusinessViolationJob } from './jobs/business.violation.job';
|
|
72
72
|
import { CurrencyJob } from './jobs/currency.job';
|
|
73
73
|
import { DataAccessJob } from './jobs/data.access.job';
|
|
@@ -85,6 +85,7 @@ import { NotificationRecipientJob } from './jobs/notification.recipient.job';
|
|
|
85
85
|
import { PdfLogJob } from './jobs/pdf.log.job';
|
|
86
86
|
import { PdfDocumentJob } from './jobs/pdfDocument.job';
|
|
87
87
|
import { PushToBulkItemJob } from './jobs/push.to.bulk.item.job';
|
|
88
|
+
import { ResetBusinessPolicyJob } from './jobs/reset.business.policy.job';
|
|
88
89
|
import { SanitizeBulkUploadJob } from './jobs/sanitize.bulk.upload.job';
|
|
89
90
|
import { SetBulkUploadStatusJob } from './jobs/set.bulk.upload.status.job';
|
|
90
91
|
import { SlackNotificationJob } from './jobs/slack.notification.job';
|
|
@@ -112,7 +113,7 @@ import { ReadXlsFile } from './libraries/read.xls.file';
|
|
|
112
113
|
import { SetBulkUploadLogFile } from './libraries/set.bulk.upload.log.file';
|
|
113
114
|
import { SlabsUtil } from './libraries/slabs.util';
|
|
114
115
|
import { BulkUploadService } from './services/bulk.upload.service';
|
|
115
|
-
import {
|
|
116
|
+
import { BusinessPolicyService } from './services/business.policy.service';
|
|
116
117
|
import { DataAccessService } from './services/data.access.service';
|
|
117
118
|
import { Es6JobsService } from './services/es6.jobs.service';
|
|
118
119
|
import { Es6Service } from './services/es6.service';
|
|
@@ -129,7 +130,7 @@ import { BulkUploadItemSubscriber } from './subscribers/bulk.upload.item.subscri
|
|
|
129
130
|
import { BulkUploadSubscriber } from './subscribers/bulk.upload.subscriber';
|
|
130
131
|
import { BulkUploadTypeSubscriber } from './subscribers/bulk.upload.type.subscriber';
|
|
131
132
|
import { BusinessBulkDefinitionSubscriber } from './subscribers/business.bulk.definition.subscriber';
|
|
132
|
-
import {
|
|
133
|
+
import { BusinessPolicySubscriber } from './subscribers/business.policy.subscriber';
|
|
133
134
|
import { BusinessViolationSubscriber } from './subscribers/business.violation.subscriber';
|
|
134
135
|
import { CurrencySubscriber } from './subscribers/currency.subscriber';
|
|
135
136
|
import { DataAccessSubscriber } from './subscribers/data.access.subscriber';
|
|
@@ -155,13 +156,13 @@ import { ViolationDefinitionSubscriber } from './subscribers/violation.definitio
|
|
|
155
156
|
import { WebhookRequestSubscriber } from './subscribers/webhook.request.subscriber';
|
|
156
157
|
import { WhatsappNotificationSubscriber } from './subscribers/whatsapp.notification.subscriber';
|
|
157
158
|
declare const es6Classes: {
|
|
158
|
-
controllers: (typeof BulkDefinitionController | typeof
|
|
159
|
-
dtos: (typeof TagAssignmentAttributesDto | typeof BusinessViolationApprovalDto | typeof BulkUploadSheetDto | typeof DocumentFileUploadDto | typeof BulkDefinitionListFilterDto | typeof ErrorHandlingDto | typeof
|
|
160
|
-
entities: (typeof TagAssignmentEntity | typeof FcmTemplateEntity | typeof FcmNotificationEntity | typeof NotificationEntity | typeof InappNotificationEntity | typeof SmsNotificationEntity | typeof WhatsappNotificationEntity | typeof EmailNotificationEntity | typeof ViolationDefinitionEntity | typeof BusinessViolationEntity | typeof DataViolationEntity | typeof BulkUploadColumnEntity | typeof BulkUploadTypeEntity | typeof BulkDefinitionEntity | typeof BulkDefinitionProcessingEntity | typeof BulkUploadItemEntity | typeof BulkUploadEntity | typeof UploadModificationEntity | typeof PdfTemplatesEntity | typeof CurrencyEntity | typeof ListingModelEntity | typeof BusinessBulkDefinitionEntity | typeof UiPoliciesEntity | typeof
|
|
159
|
+
controllers: (typeof BulkDefinitionController | typeof BusinessPolicyController | typeof GstStateController | typeof ItemUnitController | typeof NotificationRecipientController | typeof PdfDocumentController | typeof ViolationDefinitionController)[];
|
|
160
|
+
dtos: (typeof TagAssignmentAttributesDto | typeof BusinessViolationApprovalDto | typeof BulkUploadSheetDto | typeof DocumentFileUploadDto | typeof BulkDefinitionListFilterDto | typeof ErrorHandlingDto | typeof AddBusinessPolicyDto | typeof IdPayloadDto | typeof ItemUnitListFilterDto | typeof AddNotificationRecipientDto | typeof GeneratePdfDocumentDto | typeof LambdaZipDto | typeof PdfDocumentDataDto)[];
|
|
161
|
+
entities: (typeof TagAssignmentEntity | typeof FcmTemplateEntity | typeof FcmNotificationEntity | typeof NotificationEntity | typeof InappNotificationEntity | typeof SmsNotificationEntity | typeof WhatsappNotificationEntity | typeof EmailNotificationEntity | typeof ViolationDefinitionEntity | typeof BusinessViolationEntity | typeof DataViolationEntity | typeof BulkUploadColumnEntity | typeof BulkUploadTypeEntity | typeof BulkDefinitionEntity | typeof BulkDefinitionProcessingEntity | typeof BulkUploadItemEntity | typeof BulkUploadEntity | typeof UploadModificationEntity | typeof PdfTemplatesEntity | typeof CurrencyEntity | typeof ListingModelEntity | typeof BusinessBulkDefinitionEntity | typeof UiPoliciesEntity | typeof BusinessPolicyEntity | typeof DataAccessEntity | typeof DataMappingEntity | typeof GstStateEntity | typeof ItemUnitEntity | typeof ItemViolationEntity | typeof NotificationRecipientEntity | typeof PdfLogEntity | typeof PdfDocumentsEntity | typeof WebhookRequestEntity)[];
|
|
161
162
|
enums: (typeof UiPoliciesTypeEnum | typeof BulkUploadStatusTypeEnum | typeof DataViolationStatusTypeEnum | typeof DriveResourceAccessRoleTypeEnum | typeof ViolationColumnTypeEnum | typeof ViolationTypeEnum)[];
|
|
162
|
-
jobs: (typeof PushToBulkItemJob | typeof AnalyseBulkUploadJob | typeof BulkDefinitionJob | typeof BulkDefinitionLoadJob | typeof BulkDefinitionProcessingJob | typeof BulkUploadColumnJob | typeof BulkUploadStatsJob | typeof BulkUploadItemJob | typeof SetBulkUploadStatusJob | typeof BulkUploadJob | typeof BulkUploadTypeJob | typeof BusinessBulkDefinitionJob | typeof
|
|
163
|
+
jobs: (typeof PushToBulkItemJob | typeof AnalyseBulkUploadJob | typeof BulkDefinitionJob | typeof BulkDefinitionLoadJob | typeof BulkDefinitionProcessingJob | typeof BulkUploadColumnJob | typeof BulkUploadStatsJob | typeof BulkUploadItemJob | typeof SetBulkUploadStatusJob | typeof BulkUploadJob | typeof BulkUploadTypeJob | typeof BusinessBulkDefinitionJob | typeof BusinessPolicyJob | typeof BusinessViolationJob | typeof CurrencyJob | typeof DataAccessJob | typeof DataMappingJob | typeof DataViolationJob | typeof EmailNotificationJob | typeof GchatNotificationJob | typeof GstStateJob | typeof InappNotificationJob | typeof ItemUnitJob | typeof ItemViolationJob | typeof ListingModelJob | typeof NotificationJob | typeof NotificationRecipientJob | typeof PdfLogJob | typeof PdfDocumentJob | typeof ResetBusinessPolicyJob | typeof SanitizeBulkUploadJob | typeof SlackNotificationJob | typeof SmsNotificationJob | typeof TagAssignmentJob | typeof UiPoliciesJob | typeof UploadModificationJob | typeof ViolationDefinitionJob | typeof WebhookRequestJob | typeof WhatsappNotificationJob)[];
|
|
163
164
|
libraries: (typeof ReadXlsFile | typeof AnalyseBulkUpload | typeof ProcessCommonData | typeof ProcessBulkDefinitionData | typeof ProcessBulkDefinitionList | typeof ProcessItemUnitData | typeof ProcessItemUnitList | typeof ProcessViolationDefinitionList | typeof ProcessManualPdfDocument | typeof GenerateBulkUploadSheet | typeof JsonEvaluator | typeof LoadXlsFile | typeof ProcessPdfDocument | typeof ProcessReportListing | typeof SetBulkUploadLogFile | typeof SlabsUtil)[];
|
|
164
|
-
services: (typeof BulkUploadService | typeof FileUploadService | typeof PdfService | typeof PdfDocumentService | typeof
|
|
165
|
-
subscribers: (typeof BulkDefinitionLoadSubscriber | typeof BulkDefinitionProcessingSubscriber | typeof BulkDefinitionSubscriber | typeof BulkUploadColumnSubscriber | typeof BulkUploadItemSubscriber | typeof BulkUploadSubscriber | typeof BulkUploadTypeSubscriber | typeof BusinessBulkDefinitionSubscriber | typeof
|
|
165
|
+
services: (typeof BulkUploadService | typeof FileUploadService | typeof PdfService | typeof PdfDocumentService | typeof BusinessPolicyService | typeof LambdaService | typeof DataAccessService | typeof Es6JobsService | typeof Es6Service | typeof GoogleDriveService)[];
|
|
166
|
+
subscribers: (typeof BulkDefinitionLoadSubscriber | typeof BulkDefinitionProcessingSubscriber | typeof BulkDefinitionSubscriber | typeof BulkUploadColumnSubscriber | typeof BulkUploadItemSubscriber | typeof BulkUploadSubscriber | typeof BulkUploadTypeSubscriber | typeof BusinessBulkDefinitionSubscriber | typeof BusinessPolicySubscriber | typeof BusinessViolationSubscriber | typeof CurrencySubscriber | typeof DataAccessSubscriber | typeof DataMappingSubscriber | typeof DataViolationSubscriber | typeof EmailNotificationSubscriber | typeof GchatNotificationSubscriber | typeof GstStateSubscriber | typeof InappNotificationSubscriber | typeof ItemUnitSubscriber | typeof ItemViolationSubscriber | typeof ListingModelSubscriber | typeof NotificationRecipientSubscriber | typeof NotificationSubscriber | typeof PdfDocumentSubscriber | typeof PdfLogSubscriber | typeof SlackNotificationSubscriber | typeof SmsNotificationSubscriber | typeof TagAssignmentSubscriber | typeof UiPoliciesSubscriber | typeof UploadModificationSubscriber | typeof ViolationDefinitionSubscriber | typeof WebhookRequestSubscriber | typeof WhatsappNotificationSubscriber)[];
|
|
166
167
|
};
|
|
167
168
|
export default es6Classes;
|