@servicelabsco/nestjs-utility-services 1.2.15 → 1.2.16
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/app.controller.js +1 -5
- package/dist/app.controller.js.map +1 -1
- package/dist/auth/controllers/index.js.map +1 -1
- package/dist/auth/dtos/index.js.map +1 -1
- package/dist/auth/entities/index.js.map +1 -1
- package/dist/auth/es6.classes.d.ts +5 -4
- package/dist/auth/es6.classes.js +2 -1
- package/dist/auth/es6.classes.js.map +1 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/middlewares/client.connect.middleware.d.ts +10 -0
- package/dist/auth/middlewares/client.connect.middleware.js +45 -0
- package/dist/auth/middlewares/client.connect.middleware.js.map +1 -0
- package/dist/auth/middlewares/index.d.ts +1 -0
- package/dist/auth/middlewares/index.js +1 -0
- package/dist/auth/middlewares/index.js.map +1 -1
- package/dist/auth/services/access.manager.d.ts +1 -0
- package/dist/auth/services/access.manager.js +10 -0
- package/dist/auth/services/access.manager.js.map +1 -1
- package/dist/auth/services/index.js.map +1 -1
- package/dist/auth/services/user.service.js +5 -5
- package/dist/auth/services/user.service.js.map +1 -1
- package/dist/common/adapters/index.js.map +1 -1
- package/dist/common/dtos/database.event.dto.d.ts +1 -1
- package/dist/common/dtos/index.js.map +1 -1
- package/dist/common/dtos/report.data.manager.dto.d.ts +1 -1
- package/dist/common/dtos/report.data.manager.dto.js.map +1 -1
- package/dist/common/es6.classes.d.ts +1 -1
- package/dist/common/exceptions/index.js.map +1 -1
- package/dist/common/index.js.map +1 -1
- package/dist/common/libraries/common.job.d.ts +1 -1
- package/dist/common/libraries/common.job.js.map +1 -1
- package/dist/common/libraries/index.js.map +1 -1
- package/dist/common/libraries/platform.utility.d.ts +1 -1
- package/dist/common/libraries/platform.utility.js.map +1 -1
- package/dist/config/entity.constants.d.ts +6 -0
- package/dist/config/entity.constants.js +6 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.ts.d.ts +1 -1
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.ts.js +2 -2
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.ts.js.map +1 -1
- package/dist/migrations/1669970181143-CreateDynamoTableTable.d.ts +1 -1
- package/dist/migrations/1669970181143-CreateDynamoTableTable.js +2 -2
- package/dist/migrations/1669970181143-CreateDynamoTableTable.js.map +1 -1
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.ts.d.ts +1 -1
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.ts.js +2 -2
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.ts.js.map +1 -1
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.ts.d.ts +1 -1
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.ts.js +2 -2
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.ts.js.map +1 -1
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.d.ts +1 -1
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.js +2 -2
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.js.map +1 -1
- package/dist/migrations/1697532611670-CreateClientTable.d.ts +5 -0
- package/dist/migrations/1697532611670-CreateClientTable.js +19 -0
- package/dist/migrations/1697532611670-CreateClientTable.js.map +1 -0
- package/dist/migrations/1697536293283-CreateClientCredentialTable.d.ts +5 -0
- package/dist/migrations/1697536293283-CreateClientCredentialTable.js +23 -0
- package/dist/migrations/1697536293283-CreateClientCredentialTable.js.map +1 -0
- package/dist/migrations/1697536852083-CreateCredentialIpTable.d.ts +5 -0
- package/dist/migrations/1697536852083-CreateCredentialIpTable.js +19 -0
- package/dist/migrations/1697536852083-CreateCredentialIpTable.js.map +1 -0
- package/dist/platformUtility/commands/index.js.map +1 -1
- package/dist/platformUtility/commands/sync.class.command.js +2 -2
- package/dist/platformUtility/commands/sync.class.command.js.map +1 -1
- package/dist/platformUtility/consumers/index.js.map +1 -1
- package/dist/platformUtility/controllers/index.js.map +1 -1
- package/dist/platformUtility/dtos/index.js.map +1 -1
- package/dist/platformUtility/entities/index.js.map +1 -1
- package/dist/platformUtility/es6.classes.d.ts +5 -5
- package/dist/platformUtility/index.js.map +1 -1
- package/dist/platformUtility/jobs/index.js.map +1 -1
- package/dist/platformUtility/jobs/test.job.js +2 -2
- package/dist/platformUtility/jobs/test.job.js.map +1 -1
- package/dist/platformUtility/libraries/index.js.map +1 -1
- package/dist/platformUtility/libraries/process.kaleyra.sms.js +5 -4
- package/dist/platformUtility/libraries/process.kaleyra.sms.js.map +1 -1
- package/dist/platformUtility/middlewares/index.js.map +1 -1
- package/dist/platformUtility/services/aws.config.service.js +2 -2
- package/dist/platformUtility/services/aws.config.service.js.map +1 -1
- package/dist/platformUtility/services/dynamo.service.js.map +1 -1
- package/dist/platformUtility/services/index.js.map +1 -1
- package/dist/platformUtility/services/shutdown.service.d.ts +0 -1
- package/dist/platformUtility/services/shutdown.service.js +2 -5
- package/dist/platformUtility/services/shutdown.service.js.map +1 -1
- package/dist/platformUtility/services/sqs.service.js.map +1 -1
- package/dist/platformUtility/subscribers/index.js.map +1 -1
- package/dist/security/entities/index.js.map +1 -1
- package/dist/security/index.js.map +1 -1
- package/dist/system/commands/db.scanner.command.js +2 -2
- package/dist/system/commands/db.scanner.command.js.map +1 -1
- package/dist/system/commands/index.js.map +1 -1
- package/dist/system/commands/sync.all.command.d.ts +1 -1
- package/dist/system/commands/sync.all.command.js +4 -4
- package/dist/system/commands/sync.all.command.js.map +1 -1
- package/dist/system/controllers/form.controller.d.ts +2 -2
- package/dist/system/controllers/form.controller.js +2 -2
- package/dist/system/controllers/form.controller.js.map +1 -1
- package/dist/system/controllers/index.js.map +1 -1
- package/dist/system/controllers/report.controller.d.ts +1 -1
- package/dist/system/controllers/report.controller.js +2 -2
- package/dist/system/controllers/report.controller.js.map +1 -1
- package/dist/system/dtos/client.attributes.dto.d.ts +3 -0
- package/dist/system/dtos/client.attributes.dto.js +8 -0
- package/dist/system/dtos/client.attributes.dto.js.map +1 -0
- package/dist/system/dtos/client.credential.attributes.dto.d.ts +3 -0
- package/dist/system/dtos/client.credential.attributes.dto.js +8 -0
- package/dist/system/dtos/client.credential.attributes.dto.js.map +1 -0
- package/dist/system/dtos/client.credential.dto.d.ts +5 -0
- package/dist/system/dtos/client.credential.dto.js +7 -0
- package/dist/system/dtos/client.credential.dto.js.map +1 -0
- package/dist/system/dtos/credential.ip.attributes.dto.d.ts +3 -0
- package/dist/system/dtos/credential.ip.attributes.dto.js +8 -0
- package/dist/system/dtos/credential.ip.attributes.dto.js.map +1 -0
- package/dist/system/dtos/index.d.ts +4 -0
- package/dist/system/dtos/index.js +4 -0
- package/dist/system/dtos/index.js.map +1 -1
- package/dist/system/dtos/model.allowed.column.dto.d.ts +1 -1
- package/dist/system/entities/client.credential.entity.d.ts +14 -0
- package/dist/system/entities/client.credential.entity.js +57 -0
- package/dist/system/entities/client.credential.entity.js.map +1 -0
- package/dist/system/entities/client.entity.d.ts +9 -0
- package/dist/system/entities/client.entity.js +39 -0
- package/dist/system/entities/client.entity.js.map +1 -0
- package/dist/system/entities/credential.ip.entity.d.ts +9 -0
- package/dist/system/entities/credential.ip.entity.js +40 -0
- package/dist/system/entities/credential.ip.entity.js.map +1 -0
- package/dist/system/entities/dynamo.table.entity.d.ts +1 -1
- package/dist/system/entities/dynamo.table.entity.js +2 -2
- package/dist/system/entities/dynamo.table.entity.js.map +1 -1
- package/dist/system/entities/index.d.ts +3 -0
- package/dist/system/entities/index.js +3 -0
- package/dist/system/entities/index.js.map +1 -1
- package/dist/system/es6.classes.d.ts +18 -7
- package/dist/system/es6.classes.js +28 -0
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/index.js.map +1 -1
- package/dist/system/jobs/client.credential.job.d.ts +13 -0
- package/dist/system/jobs/client.credential.job.js +44 -0
- package/dist/system/jobs/client.credential.job.js.map +1 -0
- package/dist/system/jobs/client.job.d.ts +12 -0
- package/dist/system/jobs/client.job.js +43 -0
- package/dist/system/jobs/client.job.js.map +1 -0
- package/dist/system/jobs/column.mapper.job.js +2 -2
- package/dist/system/jobs/column.mapper.job.js.map +1 -1
- package/dist/system/jobs/comment.job.js +2 -2
- package/dist/system/jobs/comment.job.js.map +1 -1
- package/dist/system/jobs/credential.ip.job.d.ts +12 -0
- package/dist/system/jobs/credential.ip.job.js +40 -0
- package/dist/system/jobs/credential.ip.job.js.map +1 -0
- package/dist/system/jobs/document.job.js +2 -2
- package/dist/system/jobs/document.job.js.map +1 -1
- package/dist/system/jobs/index.d.ts +3 -0
- package/dist/system/jobs/index.js +3 -0
- package/dist/system/jobs/index.js.map +1 -1
- package/dist/system/jobs/model.scanner.job.js +3 -3
- package/dist/system/jobs/model.scanner.job.js.map +1 -1
- package/dist/system/jobs/property.job.d.ts +2 -1
- package/dist/system/jobs/property.job.js +2 -2
- package/dist/system/jobs/property.job.js.map +1 -1
- package/dist/system/jobs/user.group.role.job.d.ts +1 -1
- package/dist/system/jobs/user.group.role.job.js.map +1 -1
- package/dist/system/libraries/business.rule.query.evaluator.js +2 -2
- package/dist/system/libraries/business.rule.query.evaluator.js.map +1 -1
- package/dist/system/libraries/index.js.map +1 -1
- package/dist/system/libraries/model.sync.js +2 -2
- package/dist/system/libraries/model.sync.js.map +1 -1
- package/dist/system/modifiers/index.js.map +1 -1
- package/dist/system/services/business.rule.service.js +2 -2
- package/dist/system/services/business.rule.service.js.map +1 -1
- package/dist/system/services/client.credential.service.d.ts +14 -0
- package/dist/system/services/client.credential.service.js +63 -0
- package/dist/system/services/client.credential.service.js.map +1 -0
- package/dist/system/services/comment.service.d.ts +1 -1
- package/dist/system/services/comment.service.js.map +1 -1
- package/dist/system/services/document.service.js +4 -3
- package/dist/system/services/document.service.js.map +1 -1
- package/dist/system/services/es6.jobs.service.d.ts +7 -1
- package/dist/system/services/es6.jobs.service.js +13 -1
- package/dist/system/services/es6.jobs.service.js.map +1 -1
- package/dist/system/services/index.d.ts +1 -0
- package/dist/system/services/index.js +1 -0
- package/dist/system/services/index.js.map +1 -1
- package/dist/system/services/report.service.d.ts +1 -1
- package/dist/system/services/report.service.js +6 -4
- package/dist/system/services/report.service.js.map +1 -1
- package/dist/system/subscribers/client.credential.subscriber.d.ts +13 -0
- package/dist/system/subscribers/client.credential.subscriber.js +44 -0
- package/dist/system/subscribers/client.credential.subscriber.js.map +1 -0
- package/dist/system/subscribers/client.subscriber.d.ts +12 -0
- package/dist/system/subscribers/client.subscriber.js +40 -0
- package/dist/system/subscribers/client.subscriber.js.map +1 -0
- package/dist/system/subscribers/credential.ip.subscriber.d.ts +12 -0
- package/dist/system/subscribers/credential.ip.subscriber.js +40 -0
- package/dist/system/subscribers/credential.ip.subscriber.js.map +1 -0
- package/dist/system/subscribers/index.d.ts +3 -0
- package/dist/system/subscribers/index.js +3 -0
- package/dist/system/subscribers/index.js.map +1 -1
- package/dist/system/subscribers/property.subscriber.d.ts +2 -2
- package/dist/system/subscribers/property.subscriber.js +5 -5
- package/dist/system/subscribers/property.subscriber.js.map +1 -1
- package/dist/system/subscribers/user.group.member.subscriber.d.ts +1 -1
- package/dist/system/subscribers/user.group.member.subscriber.js +2 -2
- package/dist/system/subscribers/user.group.member.subscriber.js.map +1 -1
- package/dist/system/subscribers/user.group.permission.subscriber.d.ts +1 -1
- package/dist/system/subscribers/user.group.permission.subscriber.js +2 -2
- package/dist/system/subscribers/user.group.permission.subscriber.js.map +1 -1
- package/dist/system/subscribers/user.group.role.subscriber.d.ts +1 -1
- package/dist/system/subscribers/user.group.role.subscriber.js +2 -2
- package/dist/system/subscribers/user.group.role.subscriber.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -14,18 +14,18 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
exports.FormController = void 0;
|
16
16
|
const common_1 = require("@nestjs/common");
|
17
|
-
const entities_1 = require("../entities");
|
18
17
|
const form_service_1 = require("../services/form.service");
|
19
18
|
const preference_service_1 = require("../services/preference.service");
|
20
19
|
const client_script_entity_1 = require("./../entities/client.script.entity");
|
21
20
|
const SOURCEHASH = require("../../config/source.hash");
|
21
|
+
const form_entity_1 = require("../entities/form.entity");
|
22
22
|
let FormController = class FormController {
|
23
23
|
constructor(formService, preferenceService) {
|
24
24
|
this.formService = formService;
|
25
25
|
this.preferenceService = preferenceService;
|
26
26
|
}
|
27
27
|
async show(id) {
|
28
|
-
const form = await
|
28
|
+
const form = await form_entity_1.FormEntity.first(id);
|
29
29
|
const dictionary = {};
|
30
30
|
dictionary[form.identifier] = await this.formService.getDictionary(form);
|
31
31
|
const form_layouts = await this.preferenceService.getFormPreferences(SOURCEHASH.form, form.id);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"form.controller.js","sourceRoot":"","sources":["../../../src/system/controllers/form.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwD;AACxD,
|
1
|
+
{"version":3,"file":"form.controller.js","sourceRoot":"","sources":["../../../src/system/controllers/form.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwD;AACxD,2DAAuD;AACvD,uEAAmE;AACnE,6EAAwE;AACxE,uDAAwD;AACxD,yDAAqD;AAG9C,IAAM,cAAc,GAApB,MAAM,cAAc;IACvB,YACqB,WAAwB,EACxB,iBAAoC;QADpC,gBAAW,GAAX,WAAW,CAAa;QACxB,sBAAiB,GAAjB,iBAAiB,CAAmB;IACtD,CAAC;IAGE,AAAN,KAAK,CAAC,IAAI,CAAc,EAAU;QAC9B,MAAM,IAAI,GAAG,MAAM,wBAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAExC,MAAM,UAAU,GAAG,EAAE,CAAC;QACtB,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAEzE,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;QAE/F,MAAM,cAAc,GAAG,MAAM,yCAAkB,CAAC,IAAI,CAAC;YACjD,KAAK,EAAE,EAAE,WAAW,EAAE,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;YACzE,SAAS,EAAE,CAAC,QAAQ,CAAC;SACxB,CAAC,CAAC;QAEH,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC;IAC9D,CAAC;CACJ,CAAA;AAtBY,wCAAc;AAOjB;IADL,IAAA,YAAG,EAAC,MAAM,CAAC;IACA,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;0CActB;yBArBQ,cAAc;IAD1B,IAAA,mBAAU,EAAC,gBAAgB,CAAC;qCAGS,0BAAW;QACL,sCAAiB;GAHhD,cAAc,CAsB1B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,sDAAoC;AAAA,+DAA4C"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { CacheService } from '../../platformUtility/services';
|
2
1
|
import { SqlService } from '../../platformUtility/services/sql.service';
|
3
2
|
import { ReportEntity } from '../entities/report.entity';
|
4
3
|
import { ReportColumnSyncJob } from '../jobs/report.column.sync.job';
|
@@ -6,6 +5,7 @@ import { ListService } from '../services/list.service';
|
|
6
5
|
import { ModelService } from '../services/model.service';
|
7
6
|
import { PreferenceService } from '../services/preference.service';
|
8
7
|
import { ReportService } from '../services/report.service';
|
8
|
+
import { CacheService } from '../../platformUtility/services/cache.service';
|
9
9
|
export declare class ReportController {
|
10
10
|
private readonly reportColumnSyncJob;
|
11
11
|
private readonly reportService;
|
@@ -18,7 +18,6 @@ const access_exception_1 = require("../../common/exceptions/access.exception");
|
|
18
18
|
const report_body_parser_1 = require("../../common/libraries/report.body.parser");
|
19
19
|
const report_list_manager_1 = require("../../common/libraries/report.list.manager");
|
20
20
|
const SOURCEHASH = require("../../config/source.hash");
|
21
|
-
const services_1 = require("../../platformUtility/services");
|
22
21
|
const sql_service_1 = require("../../platformUtility/services/sql.service");
|
23
22
|
const chart_entity_1 = require("../entities/chart.entity");
|
24
23
|
const report_entity_1 = require("../entities/report.entity");
|
@@ -27,6 +26,7 @@ const list_service_1 = require("../services/list.service");
|
|
27
26
|
const model_service_1 = require("../services/model.service");
|
28
27
|
const preference_service_1 = require("../services/preference.service");
|
29
28
|
const report_service_1 = require("../services/report.service");
|
29
|
+
const cache_service_1 = require("../../platformUtility/services/cache.service");
|
30
30
|
let ReportController = class ReportController {
|
31
31
|
constructor(reportColumnSyncJob, reportService, listService, modelService, preferenceService, cacheService, sqlService) {
|
32
32
|
this.reportColumnSyncJob = reportColumnSyncJob;
|
@@ -111,7 +111,7 @@ exports.ReportController = ReportController = __decorate([
|
|
111
111
|
list_service_1.ListService,
|
112
112
|
model_service_1.ModelService,
|
113
113
|
preference_service_1.PreferenceService,
|
114
|
-
|
114
|
+
cache_service_1.CacheService,
|
115
115
|
sql_service_1.SqlService])
|
116
116
|
], ReportController);
|
117
117
|
//# sourceMappingURL=report.controller.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"report.controller.js","sourceRoot":"","sources":["../../../src/system/controllers/report.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,+EAA2E;AAC3E,kFAA6E;AAC7E,oFAA+E;AAC/E,uDAAwD;AACxD,
|
1
|
+
{"version":3,"file":"report.controller.js","sourceRoot":"","sources":["../../../src/system/controllers/report.controller.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ClientAttributesDto = void 0;
|
4
|
+
const common_attributes_dto_1 = require("../../platformUtility/dtos/common.attributes.dto");
|
5
|
+
class ClientAttributesDto extends common_attributes_dto_1.CommonAttributesDto {
|
6
|
+
}
|
7
|
+
exports.ClientAttributesDto = ClientAttributesDto;
|
8
|
+
//# sourceMappingURL=client.attributes.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"client.attributes.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/client.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,4FAAuF;AAEvF,MAAa,mBAAoB,SAAQ,2CAAmB;CAAG;AAA/D,kDAA+D"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ClientCredentialAttributesDto = void 0;
|
4
|
+
const common_attributes_dto_1 = require("../../platformUtility/dtos/common.attributes.dto");
|
5
|
+
class ClientCredentialAttributesDto extends common_attributes_dto_1.CommonAttributesDto {
|
6
|
+
}
|
7
|
+
exports.ClientCredentialAttributesDto = ClientCredentialAttributesDto;
|
8
|
+
//# sourceMappingURL=client.credential.attributes.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"client.credential.attributes.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/client.credential.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,4FAAuF;AACvF,MAAa,6BAA8B,SAAQ,2CAAmB;CAAG;AAAzE,sEAAyE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"client.credential.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/client.credential.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,mBAAmB;CAI/B;AAJD,kDAIC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CredentialIpAttributesDto = void 0;
|
4
|
+
const common_attributes_dto_1 = require("../../platformUtility/dtos/common.attributes.dto");
|
5
|
+
class CredentialIpAttributesDto extends common_attributes_dto_1.CommonAttributesDto {
|
6
|
+
}
|
7
|
+
exports.CredentialIpAttributesDto = CredentialIpAttributesDto;
|
8
|
+
//# sourceMappingURL=credential.ip.attributes.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"credential.ip.attributes.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/credential.ip.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,4FAAuF;AAEvF,MAAa,yBAA0B,SAAQ,2CAAmB;CAAG;AAArE,8DAAqE"}
|
@@ -1,5 +1,9 @@
|
|
1
1
|
export * from './add.comment.dto';
|
2
|
+
export * from './client.attributes.dto';
|
3
|
+
export * from './client.credential.attributes.dto';
|
4
|
+
export * from './client.credential.dto';
|
2
5
|
export * from './comment.attributes.dto';
|
6
|
+
export * from './credential.ip.attributes.dto';
|
3
7
|
export * from './document.attributes.dto';
|
4
8
|
export * from './file.upload.dto';
|
5
9
|
export * from './file.upload.spec.dto';
|
@@ -15,7 +15,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./add.comment.dto"), exports);
|
18
|
+
__exportStar(require("./client.attributes.dto"), exports);
|
19
|
+
__exportStar(require("./client.credential.attributes.dto"), exports);
|
20
|
+
__exportStar(require("./client.credential.dto"), exports);
|
18
21
|
__exportStar(require("./comment.attributes.dto"), exports);
|
22
|
+
__exportStar(require("./credential.ip.attributes.dto"), exports);
|
19
23
|
__exportStar(require("./document.attributes.dto"), exports);
|
20
24
|
__exportStar(require("./file.upload.dto"), exports);
|
21
25
|
__exportStar(require("./file.upload.spec.dto"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAAA,0DAAwC;AAAA,qEAAmD;AAAA,0DAAwC;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,6DAA2C;AAAA,wDAAsC;AAAA,sEAAoD;AAAA,0DAAwC;AAAA,6DAA2C;AAAA,uEAAqD;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,iEAA+C;AAAA,2DAAwC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { CommonEntity } from '../../common/libraries/common.entity';
|
2
|
+
import { ClientCredentialAttributesDto } from '../dtos/client.credential.attributes.dto';
|
3
|
+
import { ClientEntity } from './client.entity';
|
4
|
+
import { CredentialIpEntity } from './credential.ip.entity';
|
5
|
+
export declare class ClientCredentialEntity extends CommonEntity {
|
6
|
+
client_id: number;
|
7
|
+
name: string;
|
8
|
+
identifier: string;
|
9
|
+
credential: string;
|
10
|
+
active: boolean;
|
11
|
+
attributes: ClientCredentialAttributesDto;
|
12
|
+
client: ClientEntity;
|
13
|
+
ips: CredentialIpEntity[];
|
14
|
+
}
|
@@ -0,0 +1,57 @@
|
|
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.ClientCredentialEntity = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const common_entity_1 = require("../../common/libraries/common.entity");
|
15
|
+
const client_credential_attributes_dto_1 = require("../dtos/client.credential.attributes.dto");
|
16
|
+
const client_entity_1 = require("./client.entity");
|
17
|
+
const credential_ip_entity_1 = require("./credential.ip.entity");
|
18
|
+
let ClientCredentialEntity = class ClientCredentialEntity extends common_entity_1.CommonEntity {
|
19
|
+
};
|
20
|
+
exports.ClientCredentialEntity = ClientCredentialEntity;
|
21
|
+
__decorate([
|
22
|
+
(0, typeorm_1.Column)(),
|
23
|
+
__metadata("design:type", Number)
|
24
|
+
], ClientCredentialEntity.prototype, "client_id", void 0);
|
25
|
+
__decorate([
|
26
|
+
(0, typeorm_1.Column)(),
|
27
|
+
__metadata("design:type", String)
|
28
|
+
], ClientCredentialEntity.prototype, "name", void 0);
|
29
|
+
__decorate([
|
30
|
+
(0, typeorm_1.Column)(),
|
31
|
+
__metadata("design:type", String)
|
32
|
+
], ClientCredentialEntity.prototype, "identifier", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, typeorm_1.Column)(),
|
35
|
+
__metadata("design:type", String)
|
36
|
+
], ClientCredentialEntity.prototype, "credential", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, typeorm_1.Column)(),
|
39
|
+
__metadata("design:type", Boolean)
|
40
|
+
], ClientCredentialEntity.prototype, "active", void 0);
|
41
|
+
__decorate([
|
42
|
+
(0, typeorm_1.Column)('json'),
|
43
|
+
__metadata("design:type", client_credential_attributes_dto_1.ClientCredentialAttributesDto)
|
44
|
+
], ClientCredentialEntity.prototype, "attributes", void 0);
|
45
|
+
__decorate([
|
46
|
+
(0, typeorm_1.ManyToOne)(() => client_entity_1.ClientEntity),
|
47
|
+
(0, typeorm_1.JoinColumn)({ name: 'client_id' }),
|
48
|
+
__metadata("design:type", client_entity_1.ClientEntity)
|
49
|
+
], ClientCredentialEntity.prototype, "client", void 0);
|
50
|
+
__decorate([
|
51
|
+
(0, typeorm_1.OneToMany)(() => credential_ip_entity_1.CredentialIpEntity, (ip) => ip.credential),
|
52
|
+
__metadata("design:type", Array)
|
53
|
+
], ClientCredentialEntity.prototype, "ips", void 0);
|
54
|
+
exports.ClientCredentialEntity = ClientCredentialEntity = __decorate([
|
55
|
+
(0, typeorm_1.Entity)('sys_client_credentials')
|
56
|
+
], ClientCredentialEntity);
|
57
|
+
//# sourceMappingURL=client.credential.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"client.credential.entity.js","sourceRoot":"","sources":["../../../src/system/entities/client.credential.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA2E;AAC3E,wEAAoE;AACpE,+FAAyF;AACzF,mDAA+C;AAC/C,iEAA4D;AASrD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,4BAAY;CAsBvD,CAAA;AAtBY,wDAAsB;AAE/B;IADC,IAAA,gBAAM,GAAE;;yDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;oDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;0DACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;0DACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;sDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,gEAA6B;0DAAC;AAGwB;IAAjE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAAS,4BAAY;sDAAC;AAC3B;IAA3D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC;;mDAA2B;iCArB7E,sBAAsB;IADlC,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,sBAAsB,CAsBlC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { CommonEntity } from '../../common/libraries/common.entity';
|
2
|
+
import { ClientAttributesDto } from '../dtos/client.attributes.dto';
|
3
|
+
import { ClientCredentialEntity } from './client.credential.entity';
|
4
|
+
export declare class ClientEntity extends CommonEntity {
|
5
|
+
name: string;
|
6
|
+
active: boolean;
|
7
|
+
attributes: ClientAttributesDto;
|
8
|
+
credentials: ClientCredentialEntity[];
|
9
|
+
}
|
@@ -0,0 +1,39 @@
|
|
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.ClientEntity = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const common_entity_1 = require("../../common/libraries/common.entity");
|
15
|
+
const client_attributes_dto_1 = require("../dtos/client.attributes.dto");
|
16
|
+
const client_credential_entity_1 = require("./client.credential.entity");
|
17
|
+
let ClientEntity = class ClientEntity extends common_entity_1.CommonEntity {
|
18
|
+
};
|
19
|
+
exports.ClientEntity = ClientEntity;
|
20
|
+
__decorate([
|
21
|
+
(0, typeorm_1.Column)(),
|
22
|
+
__metadata("design:type", String)
|
23
|
+
], ClientEntity.prototype, "name", void 0);
|
24
|
+
__decorate([
|
25
|
+
(0, typeorm_1.Column)(),
|
26
|
+
__metadata("design:type", Boolean)
|
27
|
+
], ClientEntity.prototype, "active", void 0);
|
28
|
+
__decorate([
|
29
|
+
(0, typeorm_1.Column)('json'),
|
30
|
+
__metadata("design:type", client_attributes_dto_1.ClientAttributesDto)
|
31
|
+
], ClientEntity.prototype, "attributes", void 0);
|
32
|
+
__decorate([
|
33
|
+
(0, typeorm_1.OneToMany)(() => client_credential_entity_1.ClientCredentialEntity, (credential) => credential.client),
|
34
|
+
__metadata("design:type", Array)
|
35
|
+
], ClientEntity.prototype, "credentials", void 0);
|
36
|
+
exports.ClientEntity = ClientEntity = __decorate([
|
37
|
+
(0, typeorm_1.Entity)('sys_client_details')
|
38
|
+
], ClientEntity);
|
39
|
+
//# sourceMappingURL=client.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"client.entity.js","sourceRoot":"","sources":["../../../src/system/entities/client.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,wEAAoE;AACpE,yEAAoE;AACpE,yEAAoE;AAS7D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;CAY7C,CAAA;AAZY,oCAAY;AAErB;IADC,IAAA,gBAAM,GAAE;;0CACI;AAGb;IADC,IAAA,gBAAM,GAAE;;4CACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,2CAAmB;gDAAC;AAG4C;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iDAAsB,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;;iDAAuC;uBAXzG,YAAY;IADxB,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,YAAY,CAYxB"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { CommonEntity } from '../../common/libraries/common.entity';
|
2
|
+
import { CredentialIpAttributesDto } from '../dtos/credential.ip.attributes.dto';
|
3
|
+
import { ClientCredentialEntity } from './client.credential.entity';
|
4
|
+
export declare class CredentialIpEntity extends CommonEntity {
|
5
|
+
credential_id: number;
|
6
|
+
ip: string;
|
7
|
+
attributes: CredentialIpAttributesDto;
|
8
|
+
credential: ClientCredentialEntity;
|
9
|
+
}
|
@@ -0,0 +1,40 @@
|
|
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.CredentialIpEntity = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const common_entity_1 = require("../../common/libraries/common.entity");
|
15
|
+
const credential_ip_attributes_dto_1 = require("../dtos/credential.ip.attributes.dto");
|
16
|
+
const client_credential_entity_1 = require("./client.credential.entity");
|
17
|
+
let CredentialIpEntity = class CredentialIpEntity extends common_entity_1.CommonEntity {
|
18
|
+
};
|
19
|
+
exports.CredentialIpEntity = CredentialIpEntity;
|
20
|
+
__decorate([
|
21
|
+
(0, typeorm_1.Column)(),
|
22
|
+
__metadata("design:type", Number)
|
23
|
+
], CredentialIpEntity.prototype, "credential_id", void 0);
|
24
|
+
__decorate([
|
25
|
+
(0, typeorm_1.Column)(),
|
26
|
+
__metadata("design:type", String)
|
27
|
+
], CredentialIpEntity.prototype, "ip", void 0);
|
28
|
+
__decorate([
|
29
|
+
(0, typeorm_1.Column)('json'),
|
30
|
+
__metadata("design:type", credential_ip_attributes_dto_1.CredentialIpAttributesDto)
|
31
|
+
], CredentialIpEntity.prototype, "attributes", void 0);
|
32
|
+
__decorate([
|
33
|
+
(0, typeorm_1.ManyToOne)(() => client_credential_entity_1.ClientCredentialEntity),
|
34
|
+
(0, typeorm_1.JoinColumn)({ name: 'credential_id' }),
|
35
|
+
__metadata("design:type", client_credential_entity_1.ClientCredentialEntity)
|
36
|
+
], CredentialIpEntity.prototype, "credential", void 0);
|
37
|
+
exports.CredentialIpEntity = CredentialIpEntity = __decorate([
|
38
|
+
(0, typeorm_1.Entity)('sys_credential_ips')
|
39
|
+
], CredentialIpEntity);
|
40
|
+
//# sourceMappingURL=credential.ip.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"credential.ip.entity.js","sourceRoot":"","sources":["../../../src/system/entities/credential.ip.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,wEAAoE;AACpE,uFAAiF;AACjF,yEAAoE;AAS7D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4BAAY;CAYnD,CAAA;AAZY,gDAAkB;AAE3B;IADC,IAAA,gBAAM,GAAE;;yDACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;8CACE;AAGX;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,wDAAyB;sDAAC;AAG0C;IAA/E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iDAAsB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;8BAAa,iDAAsB;sDAAC;6BAX1G,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,kBAAkB,CAY9B"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CommonEntity } from '../../common';
|
1
|
+
import { CommonEntity } from '../../common/libraries/common.entity';
|
2
2
|
import { ColumnDefinitionEntity } from './column.definition.entity';
|
3
3
|
export declare class DynamoTableEntity extends CommonEntity {
|
4
4
|
table_name: string;
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.DynamoTableEntity = void 0;
|
13
13
|
const typeorm_1 = require("typeorm");
|
14
|
-
const
|
14
|
+
const common_entity_1 = require("../../common/libraries/common.entity");
|
15
15
|
const column_definition_entity_1 = require("./column.definition.entity");
|
16
|
-
let DynamoTableEntity = class DynamoTableEntity extends
|
16
|
+
let DynamoTableEntity = class DynamoTableEntity extends common_entity_1.CommonEntity {
|
17
17
|
};
|
18
18
|
exports.DynamoTableEntity = DynamoTableEntity;
|
19
19
|
__decorate([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dynamo.table.entity.js","sourceRoot":"","sources":["../../../src/system/entities/dynamo.table.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,
|
1
|
+
{"version":3,"file":"dynamo.table.entity.js","sourceRoot":"","sources":["../../../src/system/entities/dynamo.table.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,wEAAoE;AACpE,yEAAoE;AAS7D,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,4BAAY;CAkBlD,CAAA;AAlBY,8CAAiB;AAE1B;IADC,IAAA,gBAAM,GAAE;;qDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;sDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;mDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;uDACY;AAGrB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;qDACC;AAG+D;IAA9E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iDAAsB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;8BAAY,iDAAsB;oDAAC;4BAjBxG,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,mBAAmB,CAAC;GACf,iBAAiB,CAkB7B"}
|
@@ -1,10 +1,13 @@
|
|
1
1
|
export * from './business.rule.entity';
|
2
2
|
export * from './business.rule.role.entity';
|
3
3
|
export * from './chart.entity';
|
4
|
+
export * from './client.credential.entity';
|
5
|
+
export * from './client.entity';
|
4
6
|
export * from './client.script.entity';
|
5
7
|
export * from './column.definition.entity';
|
6
8
|
export * from './column.entity';
|
7
9
|
export * from './comment.entity';
|
10
|
+
export * from './credential.ip.entity';
|
8
11
|
export * from './document.entity';
|
9
12
|
export * from './dynamo.table.entity';
|
10
13
|
export * from './email.template.entity';
|
@@ -17,10 +17,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./business.rule.entity"), exports);
|
18
18
|
__exportStar(require("./business.rule.role.entity"), exports);
|
19
19
|
__exportStar(require("./chart.entity"), exports);
|
20
|
+
__exportStar(require("./client.credential.entity"), exports);
|
21
|
+
__exportStar(require("./client.entity"), exports);
|
20
22
|
__exportStar(require("./client.script.entity"), exports);
|
21
23
|
__exportStar(require("./column.definition.entity"), exports);
|
22
24
|
__exportStar(require("./column.entity"), exports);
|
23
25
|
__exportStar(require("./comment.entity"), exports);
|
26
|
+
__exportStar(require("./credential.ip.entity"), exports);
|
24
27
|
__exportStar(require("./document.entity"), exports);
|
25
28
|
__exportStar(require("./dynamo.table.entity"), exports);
|
26
29
|
__exportStar(require("./email.template.entity"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AAAA,8DAA4C;AAAA,iDAA+B;AAAA,6DAA2C;AAAA,kDAAgC;AAAA,yDAAuC;AAAA,6DAA2C;AAAA,kDAAgC;AAAA,mDAAiC;AAAA,yDAAuC;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,gDAA8B;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,2DAAyC;AAAA,gDAA8B;AAAA,qDAAmC;AAAA,6DAA2C;AAAA,wDAAsC;AAAA,iDAA+B;AAAA,8DAA4C;AAAA,sDAAoC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,kDAAgC;AAAA,yDAAuC;AAAA,wDAAsC;AAAA,+DAA6C;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,0DAAwC;AAAA,yDAAuC;AAAA,mDAAiC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,qDAAmC;AAAA,gEAA8C;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,iEAA+C;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,6DAA0C"}
|
@@ -15,7 +15,8 @@ import { ReportController } from './controllers/report.controller';
|
|
15
15
|
import { UploadController } from './controllers/upload.controller';
|
16
16
|
import { UserPreferenceController } from './controllers/user.preference.controller';
|
17
17
|
import { AddCommentDto } from './dtos/add.comment.dto';
|
18
|
-
import {
|
18
|
+
import { ClientCredentialAttributesDto } from './dtos/client.credential.attributes.dto';
|
19
|
+
import { ClientCredentialDto } from './dtos/client.credential.dto';
|
19
20
|
import { FileUploadDto } from './dtos/file.upload.dto';
|
20
21
|
import { FileUploadSpecDto } from './dtos/file.upload.spec.dto';
|
21
22
|
import { JobRecordParamDto } from './dtos/job.record.param.dto';
|
@@ -32,10 +33,13 @@ import { ValidationOptionsDto } from './dtos/validation.options.dto';
|
|
32
33
|
import { BusinessRuleEntity } from './entities/business.rule.entity';
|
33
34
|
import { BusinessRuleRoleEntity } from './entities/business.rule.role.entity';
|
34
35
|
import { ChartEntity } from './entities/chart.entity';
|
36
|
+
import { ClientCredentialEntity } from './entities/client.credential.entity';
|
37
|
+
import { ClientEntity } from './entities/client.entity';
|
35
38
|
import { ClientScriptEntity } from './entities/client.script.entity';
|
36
39
|
import { ColumnDefinitionEntity } from './entities/column.definition.entity';
|
37
40
|
import { ColumnEntity } from './entities/column.entity';
|
38
41
|
import { CommentEntity } from './entities/comment.entity';
|
42
|
+
import { CredentialIpEntity } from './entities/credential.ip.entity';
|
39
43
|
import { DocumentEntity } from './entities/document.entity';
|
40
44
|
import { DynamoTableEntity } from './entities/dynamo.table.entity';
|
41
45
|
import { EventDetailEntity } from './entities/event.detail.entity';
|
@@ -80,8 +84,11 @@ import { UserGroupRoleEntity } from './entities/user.group.role.entity';
|
|
80
84
|
import { UserPreferenceEntity } from './entities/user.preference.entity';
|
81
85
|
import { WhatsappTemplateEntity } from './entities/whatsapp.template.entity';
|
82
86
|
import { CleanScheduledEventJob } from './jobs/clean.scheduled.event.job';
|
87
|
+
import { ClientCredentialJob } from './jobs/client.credential.job';
|
88
|
+
import { ClientJob } from './jobs/client.job';
|
83
89
|
import { ColumnMapperJob } from './jobs/column.mapper.job';
|
84
90
|
import { CommentJob } from './jobs/comment.job';
|
91
|
+
import { CredentialIpJob } from './jobs/credential.ip.job';
|
85
92
|
import { DocumentJob } from './jobs/document.job';
|
86
93
|
import { MailValidationJob } from './jobs/mail.validation.job';
|
87
94
|
import { MobileValidationJob } from './jobs/mobile.validation.job';
|
@@ -106,6 +113,7 @@ import { MenuListModifier } from './modifiers/menu.list.modifier';
|
|
106
113
|
import { ModuleListModifier } from './modifiers/module.list.modifier';
|
107
114
|
import { AwsS3Service } from './services/aws.s3.service';
|
108
115
|
import { BusinessRuleService } from './services/business.rule.service';
|
116
|
+
import { ClientCredentialService } from './services/client.credential.service';
|
109
117
|
import { ClientScriptService } from './services/client.script.service';
|
110
118
|
import { ColumnService } from './services/column.service';
|
111
119
|
import { CommentService } from './services/comment.service';
|
@@ -129,8 +137,11 @@ import { SecurityRuleService } from './services/security.rule.service';
|
|
129
137
|
import { UiActionService } from './services/ui.action.service';
|
130
138
|
import { UploadService } from './services/upload.service';
|
131
139
|
import { UserPreferenceService } from './services/user.preference.service';
|
140
|
+
import { ClientCredentialSubscriber } from './subscribers/client.credential.subscriber';
|
141
|
+
import { ClientSubscriber } from './subscribers/client.subscriber';
|
132
142
|
import { ColumnSubscriber } from './subscribers/column.subscriber';
|
133
143
|
import { CommentSubscriber } from './subscribers/comment.subscriber';
|
144
|
+
import { CredentialIpSubscriber } from './subscribers/credential.ip.subscriber';
|
134
145
|
import { DocumentSubscriber } from './subscribers/document.subscriber';
|
135
146
|
import { MailValidationSubscriber } from './subscribers/mail.validation.subscriber';
|
136
147
|
import { MobileValidationSubscriber } from './subscribers/mobile.validation.subscriber';
|
@@ -143,13 +154,13 @@ import { UserGroupPermissionSubscriber } from './subscribers/user.group.permissi
|
|
143
154
|
import { UserGroupRoleSubscriber } from './subscribers/user.group.role.subscriber';
|
144
155
|
declare const es6Classes: {
|
145
156
|
commands: (typeof DbScannerCommand | typeof DynamoScannerCommand | typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof SyncAllCommand)[];
|
146
|
-
controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof
|
147
|
-
dtos: (typeof ModelFormPreferenceCreationDto | typeof FileUploadSpecDto | typeof S3UploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof UserPreferenceCreationDto | typeof AddCommentDto | typeof
|
148
|
-
entities: (typeof
|
149
|
-
jobs: (typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof ScheduledEventJob | typeof CleanScheduledEventJob | typeof ColumnMapperJob | typeof CommentJob | typeof DocumentJob | typeof MailValidationJob | typeof MobileValidationJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof RelationshipMapperJob | typeof ScheduledEventsJob | typeof SmsMessageJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
157
|
+
controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof ReportController | typeof UploadController | typeof UserPreferenceController)[];
|
158
|
+
dtos: (typeof ClientCredentialAttributesDto | typeof ModelFormPreferenceCreationDto | typeof FileUploadSpecDto | typeof S3UploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof UserPreferenceCreationDto | typeof AddCommentDto | typeof ClientCredentialDto | typeof FileUploadDto | typeof JobRecordParamDto | typeof MailValidationDto | typeof MobileValidationDto | typeof ModelAllowedColumnDto | typeof OtpGenerationDto | typeof ValidationOptionsDto)[];
|
159
|
+
entities: (typeof LookupTypeEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof ColumnDefinitionEntity | typeof ColumnEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof SystemScriptEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ClientEntity | typeof ClientCredentialEntity | typeof CredentialIpEntity | typeof ClientScriptEntity | typeof CommentEntity | typeof DocumentEntity | typeof DynamoTableEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof MailLogEntity | typeof MailValidationEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof MobileValidationEntity | typeof OpenPropertyEntity | typeof ReportFilterEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ReportColumnEntity | typeof ScheduledEventEntity | typeof SecurityRuleEntity | typeof ServiceEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
|
160
|
+
jobs: (typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof ScheduledEventJob | typeof CleanScheduledEventJob | typeof ClientCredentialJob | typeof ClientJob | typeof ColumnMapperJob | typeof CommentJob | typeof CredentialIpJob | typeof DocumentJob | typeof MailValidationJob | typeof MobileValidationJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof RelationshipMapperJob | typeof ScheduledEventsJob | typeof SmsMessageJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
150
161
|
libraries: (typeof SyncDynamoTables | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator)[];
|
151
162
|
modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
|
152
|
-
services: (typeof PropertyService | typeof EventQueueService | typeof EventDetailService | typeof SecurityRuleService | typeof UiActionService | typeof ModelService | typeof CommonService | typeof ClientScriptService | typeof PreferenceService | typeof BusinessRuleService | typeof ListService | typeof FormService | typeof MenuService | typeof UserPreferenceService | typeof ReportService | typeof AwsS3Service | typeof UploadService | typeof ScheduledEventService | typeof ColumnService | typeof CommentService | typeof DocumentService | typeof
|
153
|
-
subscribers: (typeof ColumnSubscriber | typeof CommentSubscriber | typeof DocumentSubscriber | typeof MailValidationSubscriber | typeof MobileValidationSubscriber | typeof PropertySubscriber | typeof RelationshipSubscriber | typeof ScheduledEventSubscriber | typeof SmsMessageSubscriber | typeof UserGroupMemberSubscriber | typeof UserGroupPermissionSubscriber | typeof UserGroupRoleSubscriber)[];
|
163
|
+
services: (typeof PropertyService | typeof EventQueueService | typeof EventDetailService | typeof SecurityRuleService | typeof UiActionService | typeof ModelService | typeof CommonService | typeof ClientScriptService | typeof PreferenceService | typeof BusinessRuleService | typeof ListService | typeof FormService | typeof MenuService | typeof UserPreferenceService | typeof ReportService | typeof AwsS3Service | typeof UploadService | typeof ScheduledEventService | typeof ClientCredentialService | typeof ColumnService | typeof CommentService | typeof DocumentService | typeof Es6JobsService | typeof Es6Service | typeof MailValidationService | typeof MobileValidationService)[];
|
164
|
+
subscribers: (typeof ClientCredentialSubscriber | typeof ClientSubscriber | typeof ColumnSubscriber | typeof CommentSubscriber | typeof CredentialIpSubscriber | typeof DocumentSubscriber | typeof MailValidationSubscriber | typeof MobileValidationSubscriber | typeof PropertySubscriber | typeof RelationshipSubscriber | typeof ScheduledEventSubscriber | typeof SmsMessageSubscriber | typeof UserGroupMemberSubscriber | typeof UserGroupPermissionSubscriber | typeof UserGroupRoleSubscriber)[];
|
154
165
|
};
|
155
166
|
export default es6Classes;
|