@servicelabsco/slabs-access-manager 2.0.11 → 2.0.13
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/AGENTS.md +2 -0
- package/CLAUDE.md +2 -0
- package/dist/access/controllers/business.preference.controller.js.map +1 -1
- package/dist/access/controllers/developer.menu.controller.d.ts +81 -0
- package/dist/access/controllers/developer.menu.controller.js +158 -0
- package/dist/access/controllers/developer.menu.controller.js.map +1 -0
- package/dist/access/controllers/developer.report.controller.d.ts +88 -0
- package/dist/access/controllers/developer.report.controller.js +128 -0
- package/dist/access/controllers/developer.report.controller.js.map +1 -0
- package/dist/access/controllers/index.d.ts +2 -0
- package/dist/access/controllers/index.js +2 -0
- package/dist/access/controllers/index.js.map +1 -1
- package/dist/access/controllers/ui.action.controller.d.ts +47 -0
- package/dist/access/controllers/ui.action.controller.js +49 -0
- package/dist/access/controllers/ui.action.controller.js.map +1 -1
- package/dist/access/dtos/business.downloadable.report.dto.d.ts +4 -0
- package/dist/access/dtos/business.downloadable.report.dto.js +28 -0
- package/dist/access/dtos/business.downloadable.report.dto.js.map +1 -0
- package/dist/access/dtos/business.menu.layout.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/business.menu.layout.attributes.dto.js +8 -0
- package/dist/access/dtos/business.menu.layout.attributes.dto.js.map +1 -0
- package/dist/access/dtos/business.ui.action.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/business.ui.action.attributes.dto.js +8 -0
- package/dist/access/dtos/business.ui.action.attributes.dto.js.map +1 -0
- package/dist/access/dtos/developer.business.query.dto.d.ts +3 -0
- package/dist/access/dtos/developer.business.query.dto.js +25 -0
- package/dist/access/dtos/developer.business.query.dto.js.map +1 -0
- package/dist/access/dtos/developer.business.search.dto.d.ts +4 -0
- package/dist/access/dtos/developer.business.search.dto.js +32 -0
- package/dist/access/dtos/developer.business.search.dto.js.map +1 -0
- package/dist/access/dtos/developer.search.query.dto.d.ts +4 -0
- package/dist/access/dtos/developer.search.query.dto.js +24 -0
- package/dist/access/dtos/developer.search.query.dto.js.map +1 -0
- package/dist/access/dtos/downloadable.report.dto.d.ts +8 -0
- package/dist/access/dtos/downloadable.report.dto.js +54 -0
- package/dist/access/dtos/downloadable.report.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +12 -0
- package/dist/access/dtos/index.js +12 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/dtos/menu.layout.dto.d.ts +7 -0
- package/dist/access/dtos/menu.layout.dto.js +43 -0
- package/dist/access/dtos/menu.layout.dto.js.map +1 -0
- package/dist/access/dtos/report.sheet.dto.d.ts +9 -0
- package/dist/access/dtos/report.sheet.dto.js +59 -0
- package/dist/access/dtos/report.sheet.dto.js.map +1 -0
- package/dist/access/dtos/set.active.dto.d.ts +3 -0
- package/dist/access/dtos/set.active.dto.js +23 -0
- package/dist/access/dtos/set.active.dto.js.map +1 -0
- package/dist/access/dtos/set.menus.active.dto.d.ts +7 -0
- package/dist/access/dtos/set.menus.active.dto.js +41 -0
- package/dist/access/dtos/set.menus.active.dto.js.map +1 -0
- package/dist/access/dtos/set.ui.action.businesses.dto.d.ts +3 -0
- package/dist/access/dtos/set.ui.action.businesses.dto.js +26 -0
- package/dist/access/dtos/set.ui.action.businesses.dto.js.map +1 -0
- package/dist/access/entities/business.menu.layout.entity.d.ts +13 -0
- package/dist/access/entities/business.menu.layout.entity.js +51 -0
- package/dist/access/entities/business.menu.layout.entity.js.map +1 -0
- package/dist/access/entities/business.ui.action.entity.d.ts +11 -0
- package/dist/access/entities/business.ui.action.entity.js +46 -0
- package/dist/access/entities/business.ui.action.entity.js.map +1 -0
- package/dist/access/entities/index.d.ts +2 -0
- package/dist/access/entities/index.js +2 -0
- package/dist/access/entities/index.js.map +1 -1
- package/dist/access/es6.classes.d.ts +22 -10
- package/dist/access/es6.classes.js +48 -0
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/libraries/apply.menu.layout.d.ts +4 -0
- package/dist/access/libraries/apply.menu.layout.js +52 -0
- package/dist/access/libraries/apply.menu.layout.js.map +1 -0
- package/dist/access/libraries/business.ui.action.availability.d.ts +8 -0
- package/dist/access/libraries/business.ui.action.availability.js +34 -0
- package/dist/access/libraries/business.ui.action.availability.js.map +1 -0
- package/dist/access/libraries/index.d.ts +7 -0
- package/dist/access/libraries/index.js +7 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/process.application.menu.d.ts +1 -0
- package/dist/access/libraries/process.application.menu.js +11 -5
- package/dist/access/libraries/process.application.menu.js.map +1 -1
- package/dist/access/libraries/process.business.ui.action.d.ts +35 -0
- package/dist/access/libraries/process.business.ui.action.js +27 -0
- package/dist/access/libraries/process.business.ui.action.js.map +1 -0
- package/dist/access/libraries/process.developer.menu.d.ts +80 -0
- package/dist/access/libraries/process.developer.menu.js +156 -0
- package/dist/access/libraries/process.developer.menu.js.map +1 -0
- package/dist/access/libraries/process.downloadable.report.d.ts +91 -0
- package/dist/access/libraries/process.downloadable.report.js +221 -0
- package/dist/access/libraries/process.downloadable.report.js.map +1 -0
- package/dist/access/libraries/process.menu.details.js +12 -3
- package/dist/access/libraries/process.menu.details.js.map +1 -1
- package/dist/access/libraries/search.developer.businesses.d.ts +9 -0
- package/dist/access/libraries/search.developer.businesses.js +24 -0
- package/dist/access/libraries/search.developer.businesses.js.map +1 -0
- package/dist/access/libraries/ui.action.businesses.d.ts +12 -0
- package/dist/access/libraries/ui.action.businesses.js +56 -0
- package/dist/access/libraries/ui.action.businesses.js.map +1 -0
- package/dist/access/services/developer.mode.access.service.d.ts +5 -1
- package/dist/access/services/developer.mode.access.service.js +37 -3
- package/dist/access/services/developer.mode.access.service.js.map +1 -1
- package/dist/auth.controller.d.ts +6 -1
- package/dist/auth.controller.js +22 -3
- package/dist/auth.controller.js.map +1 -1
- package/dist/development/controllers/development.report.controller.d.ts +82 -0
- package/dist/development/controllers/development.report.controller.js +89 -0
- package/dist/development/controllers/development.report.controller.js.map +1 -1
- package/dist/development/controllers/development.ui.action.controller.d.ts +7 -0
- package/dist/development/controllers/development.ui.action.controller.js +48 -0
- package/dist/development/controllers/development.ui.action.controller.js.map +1 -0
- package/dist/development/controllers/index.d.ts +1 -0
- package/dist/development/controllers/index.js +1 -0
- package/dist/development/controllers/index.js.map +1 -1
- package/dist/development/es6.classes.d.ts +4 -2
- package/dist/development/es6.classes.js +10 -2
- package/dist/development/es6.classes.js.map +1 -1
- package/dist/development/services/development.ui.action.service.d.ts +12 -0
- package/dist/development/services/development.ui.action.service.js +38 -0
- package/dist/development/services/development.ui.action.service.js.map +1 -0
- package/dist/development/services/index.d.ts +1 -0
- package/dist/development/services/index.js +1 -0
- package/dist/development/services/index.js.map +1 -1
- package/dist/mcp/admin/tools/admin.tool.registry.js +16 -0
- package/dist/mcp/admin/tools/admin.tool.registry.js.map +1 -1
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.business.get.tool.d.ts +19 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.business.get.tool.js +24 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.business.get.tool.js.map +1 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.business.set.tool.d.ts +22 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.business.set.tool.js +26 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.business.set.tool.js.map +1 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.businesses.list.tool.d.ts +19 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.businesses.list.tool.js +25 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.businesses.list.tool.js.map +1 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.get.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.get.tool.js +23 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.get.tool.js.map +1 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.list.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.list.tool.js +24 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.list.tool.js.map +1 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.upsert.tool.d.ts +26 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.upsert.tool.js +50 -0
- package/dist/mcp/admin/tools/downloadable_report/downloadable.report.upsert.tool.js.map +1 -0
- package/dist/mcp/admin/tools/downloadable_report/index.d.ts +8 -0
- package/dist/mcp/admin/tools/downloadable_report/index.js +25 -0
- package/dist/mcp/admin/tools/downloadable_report/index.js.map +1 -0
- package/dist/mcp/admin/tools/downloadable_report/report.sheet.delete.tool.d.ts +19 -0
- package/dist/mcp/admin/tools/downloadable_report/report.sheet.delete.tool.js +24 -0
- package/dist/mcp/admin/tools/downloadable_report/report.sheet.delete.tool.js.map +1 -0
- package/dist/mcp/admin/tools/downloadable_report/report.sheet.upsert.tool.d.ts +30 -0
- package/dist/mcp/admin/tools/downloadable_report/report.sheet.upsert.tool.js +48 -0
- package/dist/mcp/admin/tools/downloadable_report/report.sheet.upsert.tool.js.map +1 -0
- package/dist/mcp/admin/tools/index.d.ts +1 -0
- package/dist/mcp/admin/tools/index.js +1 -0
- package/dist/mcp/admin/tools/index.js.map +1 -1
- package/dist/mcp/admin/tools/ui_action/ui.action.create.tool.d.ts +3 -1
- package/dist/mcp/admin/tools/ui_action/ui.action.create.tool.js +3 -2
- package/dist/mcp/admin/tools/ui_action/ui.action.create.tool.js.map +1 -1
- package/dist/mcp/admin/tools/ui_action/ui.action.get.tool.d.ts +1 -1
- package/dist/mcp/admin/tools/ui_action/ui.action.get.tool.js +2 -2
- package/dist/mcp/admin/tools/ui_action/ui.action.get.tool.js.map +1 -1
- package/dist/mcp/admin/tools/ui_action/ui.action.update.tool.d.ts +3 -1
- package/dist/mcp/admin/tools/ui_action/ui.action.update.tool.js +6 -3
- package/dist/mcp/admin/tools/ui_action/ui.action.update.tool.js.map +1 -1
- package/dist/migrations/1791742796375-CreateBusinessUiActionTable.d.ts +5 -0
- package/dist/migrations/1791742796375-CreateBusinessUiActionTable.js +19 -0
- package/dist/migrations/1791742796375-CreateBusinessUiActionTable.js.map +1 -0
- package/dist/migrations/1791746059175-CreateBusinessMenuLayoutTable.d.ts +5 -0
- package/dist/migrations/1791746059175-CreateBusinessMenuLayoutTable.js +20 -0
- package/dist/migrations/1791746059175-CreateBusinessMenuLayoutTable.js.map +1 -0
- package/package.json +1 -1
|
@@ -16,13 +16,33 @@ exports.UiActionController = 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 business_param_dto_1 = require("../dtos/business.param.dto");
|
|
19
|
+
const developer_business_query_dto_1 = require("../dtos/developer.business.query.dto");
|
|
20
|
+
const set_ui_action_businesses_dto_1 = require("../dtos/set.ui.action.businesses.dto");
|
|
19
21
|
const update_ui_action_attributes_dto_1 = require("../dtos/update.ui.action.attributes.dto");
|
|
20
22
|
const ui_action_entity_1 = require("../entities/ui.action.entity");
|
|
23
|
+
const process_business_ui_action_1 = require("../libraries/process.business.ui.action");
|
|
24
|
+
const ui_action_businesses_1 = require("../libraries/ui.action.businesses");
|
|
21
25
|
const developer_mode_access_service_1 = require("../services/developer.mode.access.service");
|
|
22
26
|
let UiActionController = class UiActionController {
|
|
23
27
|
constructor(developerModeAccessService) {
|
|
24
28
|
this.developerModeAccessService = developerModeAccessService;
|
|
25
29
|
}
|
|
30
|
+
async menuActions(params, query) {
|
|
31
|
+
const business = await this.developerModeAccessService.resolveBusiness(query.business_id);
|
|
32
|
+
return new process_business_ui_action_1.ProcessBusinessUiAction(business).list(params.id);
|
|
33
|
+
}
|
|
34
|
+
async businesses(params) {
|
|
35
|
+
await this.developerModeAccessService.validate();
|
|
36
|
+
await this.findUiAction(params.id);
|
|
37
|
+
return new ui_action_businesses_1.UiActionBusinesses().describe(params.id);
|
|
38
|
+
}
|
|
39
|
+
async setBusinesses(params, body) {
|
|
40
|
+
await this.developerModeAccessService.validate();
|
|
41
|
+
await this.findUiAction(params.id);
|
|
42
|
+
const businesses = new ui_action_businesses_1.UiActionBusinesses();
|
|
43
|
+
await businesses.sync(params.id, await businesses.validate(body.business_ids));
|
|
44
|
+
return businesses.describe(params.id);
|
|
45
|
+
}
|
|
26
46
|
async show(params) {
|
|
27
47
|
await this.developerModeAccessService.validate();
|
|
28
48
|
const entity = await ui_action_entity_1.UiActionEntity.findOne({ where: { id: params.id } });
|
|
@@ -42,8 +62,37 @@ let UiActionController = class UiActionController {
|
|
|
42
62
|
await entity.save();
|
|
43
63
|
return entity;
|
|
44
64
|
}
|
|
65
|
+
async findUiAction(id) {
|
|
66
|
+
const entity = await ui_action_entity_1.UiActionEntity.findOne({ where: { id } });
|
|
67
|
+
if (!entity)
|
|
68
|
+
throw new nestjs_utility_services_1.OperationException(`No ui action found with id ${id}`);
|
|
69
|
+
return entity;
|
|
70
|
+
}
|
|
45
71
|
};
|
|
46
72
|
exports.UiActionController = UiActionController;
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, common_1.Get)('menu/:id'),
|
|
75
|
+
__param(0, (0, common_1.Param)()),
|
|
76
|
+
__param(1, (0, common_1.Query)()),
|
|
77
|
+
__metadata("design:type", Function),
|
|
78
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto, developer_business_query_dto_1.DeveloperBusinessQueryDto]),
|
|
79
|
+
__metadata("design:returntype", Promise)
|
|
80
|
+
], UiActionController.prototype, "menuActions", null);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, common_1.Get)(':id/businesses'),
|
|
83
|
+
__param(0, (0, common_1.Param)()),
|
|
84
|
+
__metadata("design:type", Function),
|
|
85
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
|
|
86
|
+
__metadata("design:returntype", Promise)
|
|
87
|
+
], UiActionController.prototype, "businesses", null);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, common_1.Post)(':id/businesses'),
|
|
90
|
+
__param(0, (0, common_1.Param)()),
|
|
91
|
+
__param(1, (0, common_1.Body)()),
|
|
92
|
+
__metadata("design:type", Function),
|
|
93
|
+
__metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto, set_ui_action_businesses_dto_1.SetUiActionBusinessesDto]),
|
|
94
|
+
__metadata("design:returntype", Promise)
|
|
95
|
+
], UiActionController.prototype, "setBusinesses", null);
|
|
47
96
|
__decorate([
|
|
48
97
|
(0, common_1.Get)(':id'),
|
|
49
98
|
__param(0, (0, common_1.Param)()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.action.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/ui.action.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"ui.action.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/ui.action.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA2E;AAC3E,oFAA4E;AAC5E,mEAA8D;AAC9D,uFAAiF;AACjF,uFAAgF;AAChF,6FAAsF;AACtF,mEAA8D;AAC9D,wFAAkF;AAClF,4EAAuE;AACvE,6FAAuF;AAUhF,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC3B,YAA6B,0BAAsD;QAAtD,+BAA0B,GAA1B,0BAA0B,CAA4B;IAAG,CAAC;IAMjF,AAAN,KAAK,CAAC,WAAW,CAAU,MAAwB,EAAW,KAAgC;QAC1F,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,0BAA0B,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAE1F,OAAO,IAAI,oDAAuB,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACjE,CAAC;IAMK,AAAN,KAAK,CAAC,UAAU,CAAU,MAAwB;QAC9C,MAAM,IAAI,CAAC,0BAA0B,CAA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O3C;AAMK;IADL,IAAA,aAAI,EAAC,KAAK,CAAC;IACY,WAAA,IAAA,cAAK,GAAE,CAAA;IAA4B,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAzB,qCAAgB,EAAgB,6DAA2B;;0DAclG;6BArEQ,kBAAkB;IAD9B,IAAA,mBAAU,EAAC,iBAAiB,CAAC;qCAE+B,0DAA0B;GAD1E,kBAAkB,CAoF9B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.BusinessDownloadableReportDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class BusinessDownloadableReportDto {
|
|
15
|
+
}
|
|
16
|
+
exports.BusinessDownloadableReportDto = BusinessDownloadableReportDto;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsBoolean)(),
|
|
19
|
+
__metadata("design:type", Boolean)
|
|
20
|
+
], BusinessDownloadableReportDto.prototype, "active", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsArray)(),
|
|
24
|
+
(0, class_validator_1.ArrayMaxSize)(50),
|
|
25
|
+
(0, class_validator_1.IsEmail)({}, { each: true }),
|
|
26
|
+
__metadata("design:type", Array)
|
|
27
|
+
], BusinessDownloadableReportDto.prototype, "emails", void 0);
|
|
28
|
+
//# sourceMappingURL=business.downloadable.report.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.downloadable.report.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.downloadable.report.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwF;AAOxF,MAAa,6BAA6B;CAUzC;AAVD,sEAUC;AARG;IADC,IAAA,2BAAS,GAAE;;6DACI;AAOhB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,EAAE,CAAC;IAChB,IAAA,yBAAO,EAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6DACV"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessMenuLayoutAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class BusinessMenuLayoutAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BusinessMenuLayoutAttributesDto = BusinessMenuLayoutAttributesDto;
|
|
8
|
+
//# sourceMappingURL=business.menu.layout.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.menu.layout.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.menu.layout.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAQ7E,MAAa,+BAAgC,SAAQ,6CAAmB;CAAG;AAA3E,0EAA2E"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessUiActionAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class BusinessUiActionAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.BusinessUiActionAttributesDto = BusinessUiActionAttributesDto;
|
|
8
|
+
//# sourceMappingURL=business.ui.action.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.ui.action.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/business.ui.action.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAQ7E,MAAa,6BAA8B,SAAQ,6CAAmB;CAAG;AAAzE,sEAAyE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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.DeveloperBusinessQueryDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class DeveloperBusinessQueryDto {
|
|
16
|
+
}
|
|
17
|
+
exports.DeveloperBusinessQueryDto = DeveloperBusinessQueryDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
21
|
+
(0, class_validator_1.IsInt)(),
|
|
22
|
+
(0, class_validator_1.IsPositive)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], DeveloperBusinessQueryDto.prototype, "business_id", void 0);
|
|
25
|
+
//# sourceMappingURL=developer.business.query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer.business.query.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/developer.business.query.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAgE;AAOhE,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AADG;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;8DACQ"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.DeveloperBusinessSearchDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class DeveloperBusinessSearchDto {
|
|
16
|
+
}
|
|
17
|
+
exports.DeveloperBusinessSearchDto = DeveloperBusinessSearchDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.MaxLength)(100),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], DeveloperBusinessSearchDto.prototype, "q", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
27
|
+
(0, class_validator_1.IsInt)(),
|
|
28
|
+
(0, class_validator_1.Min)(1),
|
|
29
|
+
(0, class_validator_1.Max)(50),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], DeveloperBusinessSearchDto.prototype, "limit", void 0);
|
|
32
|
+
//# sourceMappingURL=developer.business.search.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer.business.search.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/developer.business.search.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAmF;AAOnF,MAAa,0BAA0B;CAatC;AAbD,gEAaC;AARG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;qDACJ;AAOX;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;IACN,IAAA,qBAAG,EAAC,EAAE,CAAC;;yDACO"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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.DeveloperSearchQueryDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const developer_business_query_dto_1 = require("./developer.business.query.dto");
|
|
15
|
+
class DeveloperSearchQueryDto extends developer_business_query_dto_1.DeveloperBusinessQueryDto {
|
|
16
|
+
}
|
|
17
|
+
exports.DeveloperSearchQueryDto = DeveloperSearchQueryDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.MaxLength)(100),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], DeveloperSearchQueryDto.prototype, "q", void 0);
|
|
24
|
+
//# sourceMappingURL=developer.search.query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer.search.query.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/developer.search.query.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAClE,iFAA2E;AAQ3E,MAAa,uBAAwB,SAAQ,wDAAyB;CAMrE;AAND,0DAMC;AADG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;kDACJ"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.DownloadableReportDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class DownloadableReportDto {
|
|
16
|
+
}
|
|
17
|
+
exports.DownloadableReportDto = DownloadableReportDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
21
|
+
(0, class_validator_1.IsInt)(),
|
|
22
|
+
(0, class_validator_1.IsPositive)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], DownloadableReportDto.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.ValidateIf)((body) => !body.id || body.name !== undefined),
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.MaxLength)(200),
|
|
30
|
+
(0, class_validator_1.Matches)(/^[a-z0-9][a-z0-9._-]*$/, { message: 'name must be a lowercase slug (letters, digits, ".", "_" or "-")' }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], DownloadableReportDto.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_validator_1.MaxLength)(1000),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], DownloadableReportDto.prototype, "description", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_validator_1.IsObject)(),
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
|
+
], DownloadableReportDto.prototype, "configurations", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_validator_1.IsObject)(),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], DownloadableReportDto.prototype, "attributes", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], DownloadableReportDto.prototype, "pre_script", void 0);
|
|
54
|
+
//# sourceMappingURL=downloadable.report.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"downloadable.report.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/downloadable.report.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAgI;AAShI,MAAa,qBAAqB;CAqCjC;AArCD,sDAqCC;AAhCG;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;iDACD;AAQZ;IALC,IAAA,4BAAU,EAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC;IACzD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;IACd,IAAA,yBAAO,EAAC,wBAAwB,EAAE,EAAE,OAAO,EAAE,kEAAkE,EAAE,CAAC;;mDACrG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,IAAI,CAAC;;0DACK;AAQrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DAC0B;AAKrC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACsB;AAKjC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACgB"}
|
|
@@ -49,10 +49,12 @@ export * from './business.app.integration.message.payload.dto';
|
|
|
49
49
|
export * from './business.app.integration.messages.attributes.dto';
|
|
50
50
|
export * from './business.currency.attributes.dto';
|
|
51
51
|
export * from './business.currency.list.filter.dto';
|
|
52
|
+
export * from './business.downloadable.report.dto';
|
|
52
53
|
export * from './business.email.attributes.dto';
|
|
53
54
|
export * from './business.email.list.filter.dto';
|
|
54
55
|
export * from './business.feature.attributes.dto';
|
|
55
56
|
export * from './business.menu.attributes.dto';
|
|
57
|
+
export * from './business.menu.layout.attributes.dto';
|
|
56
58
|
export * from './business.notification.channel.preference.list.filter.dto';
|
|
57
59
|
export * from './business.param.dto';
|
|
58
60
|
export * from './business.preference.attributes.dto';
|
|
@@ -60,6 +62,7 @@ export * from './business.property.attributes.dto';
|
|
|
60
62
|
export * from './business.property.list.filter.dto';
|
|
61
63
|
export * from './business.script.attributes.dto';
|
|
62
64
|
export * from './business.script.list.filter.dto';
|
|
65
|
+
export * from './business.ui.action.attributes.dto';
|
|
63
66
|
export * from './business.user.attributes.dto';
|
|
64
67
|
export * from './business.user.group.attributes.dto';
|
|
65
68
|
export * from './business.user.group.list.filter.dto';
|
|
@@ -87,11 +90,15 @@ export * from './date.filter.dto';
|
|
|
87
90
|
export * from './date.range.filter.dto';
|
|
88
91
|
export * from './db.find.dto';
|
|
89
92
|
export * from './db.find.options.dto';
|
|
93
|
+
export * from './developer.business.query.dto';
|
|
94
|
+
export * from './developer.business.search.dto';
|
|
90
95
|
export * from './developer.mode.set.listing.dto';
|
|
96
|
+
export * from './developer.search.query.dto';
|
|
91
97
|
export * from './device.decide.dto';
|
|
92
98
|
export * from './device.poll.dto';
|
|
93
99
|
export * from './download.log.attributes.dto';
|
|
94
100
|
export * from './download.log.list.filter.dto';
|
|
101
|
+
export * from './downloadable.report.dto';
|
|
95
102
|
export * from './edit.query.dto';
|
|
96
103
|
export * from './email.attachment.attributes.dto';
|
|
97
104
|
export * from './email.message.attributes.dto';
|
|
@@ -146,6 +153,7 @@ export * from './lock.script.attributes.dto';
|
|
|
146
153
|
export * from './lock.script.list.filter.dto';
|
|
147
154
|
export * from './menu.action.attributes.dto';
|
|
148
155
|
export * from './menu.attributes.dto';
|
|
156
|
+
export * from './menu.layout.dto';
|
|
149
157
|
export * from './menu.role.attributes.dto';
|
|
150
158
|
export * from './modify.custom.field.dto';
|
|
151
159
|
export * from './modify.custom.field.status.dto';
|
|
@@ -166,6 +174,7 @@ export * from './process.listing.payload.dto';
|
|
|
166
174
|
export * from './product.attributes.dto';
|
|
167
175
|
export * from './recurring.definition.dto';
|
|
168
176
|
export * from './report.log.attributes.dto';
|
|
177
|
+
export * from './report.sheet.dto';
|
|
169
178
|
export * from './report.view.query.dto';
|
|
170
179
|
export * from './request.log.attributes.dto';
|
|
171
180
|
export * from './request.log.options.dto';
|
|
@@ -182,6 +191,9 @@ export * from './server.email.attachment.dto';
|
|
|
182
191
|
export * from './server.email.message.dto';
|
|
183
192
|
export * from './server.email.recipient.dto';
|
|
184
193
|
export * from './server.email.recipients.dto';
|
|
194
|
+
export * from './set.active.dto';
|
|
195
|
+
export * from './set.menus.active.dto';
|
|
196
|
+
export * from './set.ui.action.businesses.dto';
|
|
185
197
|
export * from './slack.integration.attributes.dto';
|
|
186
198
|
export * from './slack.message.attributes.dto';
|
|
187
199
|
export * from './slack.message.data.dto';
|
|
@@ -65,10 +65,12 @@ __exportStar(require("./business.app.integration.message.payload.dto"), exports)
|
|
|
65
65
|
__exportStar(require("./business.app.integration.messages.attributes.dto"), exports);
|
|
66
66
|
__exportStar(require("./business.currency.attributes.dto"), exports);
|
|
67
67
|
__exportStar(require("./business.currency.list.filter.dto"), exports);
|
|
68
|
+
__exportStar(require("./business.downloadable.report.dto"), exports);
|
|
68
69
|
__exportStar(require("./business.email.attributes.dto"), exports);
|
|
69
70
|
__exportStar(require("./business.email.list.filter.dto"), exports);
|
|
70
71
|
__exportStar(require("./business.feature.attributes.dto"), exports);
|
|
71
72
|
__exportStar(require("./business.menu.attributes.dto"), exports);
|
|
73
|
+
__exportStar(require("./business.menu.layout.attributes.dto"), exports);
|
|
72
74
|
__exportStar(require("./business.notification.channel.preference.list.filter.dto"), exports);
|
|
73
75
|
__exportStar(require("./business.param.dto"), exports);
|
|
74
76
|
__exportStar(require("./business.preference.attributes.dto"), exports);
|
|
@@ -76,6 +78,7 @@ __exportStar(require("./business.property.attributes.dto"), exports);
|
|
|
76
78
|
__exportStar(require("./business.property.list.filter.dto"), exports);
|
|
77
79
|
__exportStar(require("./business.script.attributes.dto"), exports);
|
|
78
80
|
__exportStar(require("./business.script.list.filter.dto"), exports);
|
|
81
|
+
__exportStar(require("./business.ui.action.attributes.dto"), exports);
|
|
79
82
|
__exportStar(require("./business.user.attributes.dto"), exports);
|
|
80
83
|
__exportStar(require("./business.user.group.attributes.dto"), exports);
|
|
81
84
|
__exportStar(require("./business.user.group.list.filter.dto"), exports);
|
|
@@ -103,11 +106,15 @@ __exportStar(require("./date.filter.dto"), exports);
|
|
|
103
106
|
__exportStar(require("./date.range.filter.dto"), exports);
|
|
104
107
|
__exportStar(require("./db.find.dto"), exports);
|
|
105
108
|
__exportStar(require("./db.find.options.dto"), exports);
|
|
109
|
+
__exportStar(require("./developer.business.query.dto"), exports);
|
|
110
|
+
__exportStar(require("./developer.business.search.dto"), exports);
|
|
106
111
|
__exportStar(require("./developer.mode.set.listing.dto"), exports);
|
|
112
|
+
__exportStar(require("./developer.search.query.dto"), exports);
|
|
107
113
|
__exportStar(require("./device.decide.dto"), exports);
|
|
108
114
|
__exportStar(require("./device.poll.dto"), exports);
|
|
109
115
|
__exportStar(require("./download.log.attributes.dto"), exports);
|
|
110
116
|
__exportStar(require("./download.log.list.filter.dto"), exports);
|
|
117
|
+
__exportStar(require("./downloadable.report.dto"), exports);
|
|
111
118
|
__exportStar(require("./edit.query.dto"), exports);
|
|
112
119
|
__exportStar(require("./email.attachment.attributes.dto"), exports);
|
|
113
120
|
__exportStar(require("./email.message.attributes.dto"), exports);
|
|
@@ -162,6 +169,7 @@ __exportStar(require("./lock.script.attributes.dto"), exports);
|
|
|
162
169
|
__exportStar(require("./lock.script.list.filter.dto"), exports);
|
|
163
170
|
__exportStar(require("./menu.action.attributes.dto"), exports);
|
|
164
171
|
__exportStar(require("./menu.attributes.dto"), exports);
|
|
172
|
+
__exportStar(require("./menu.layout.dto"), exports);
|
|
165
173
|
__exportStar(require("./menu.role.attributes.dto"), exports);
|
|
166
174
|
__exportStar(require("./modify.custom.field.dto"), exports);
|
|
167
175
|
__exportStar(require("./modify.custom.field.status.dto"), exports);
|
|
@@ -182,6 +190,7 @@ __exportStar(require("./process.listing.payload.dto"), exports);
|
|
|
182
190
|
__exportStar(require("./product.attributes.dto"), exports);
|
|
183
191
|
__exportStar(require("./recurring.definition.dto"), exports);
|
|
184
192
|
__exportStar(require("./report.log.attributes.dto"), exports);
|
|
193
|
+
__exportStar(require("./report.sheet.dto"), exports);
|
|
185
194
|
__exportStar(require("./report.view.query.dto"), exports);
|
|
186
195
|
__exportStar(require("./request.log.attributes.dto"), exports);
|
|
187
196
|
__exportStar(require("./request.log.options.dto"), exports);
|
|
@@ -198,6 +207,9 @@ __exportStar(require("./server.email.attachment.dto"), exports);
|
|
|
198
207
|
__exportStar(require("./server.email.message.dto"), exports);
|
|
199
208
|
__exportStar(require("./server.email.recipient.dto"), exports);
|
|
200
209
|
__exportStar(require("./server.email.recipients.dto"), exports);
|
|
210
|
+
__exportStar(require("./set.active.dto"), exports);
|
|
211
|
+
__exportStar(require("./set.menus.active.dto"), exports);
|
|
212
|
+
__exportStar(require("./set.ui.action.businesses.dto"), exports);
|
|
201
213
|
__exportStar(require("./slack.integration.attributes.dto"), exports);
|
|
202
214
|
__exportStar(require("./slack.message.attributes.dto"), exports);
|
|
203
215
|
__exportStar(require("./slack.message.data.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,8DAA4C;AAC5C,mEAAiD;AACjD,wDAAsC;AACtC,qEAAmD;AACnD,8DAA4C;AAC5C,gEAA8C;AAC9C,8DAA4C;AAC5C,4DAA0C;AAC1C,gEAA8C;AAC9C,kFAAgE;AAChE,wDAAsC;AACtC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,yDAAuC;AACvC,gEAA8C;AAC9C,2EAAyD;AACzD,uDAAqC;AACrC,0DAAwC;AACxC,wDAAsC;AACtC,yDAAuC;AACvC,wDAAsC;AACtC,mEAAiD;AACjD,yDAAuC;AACvC,+DAA6C;AAC7C,wDAAsC;AACtC,iDAA+B;AAC/B,mDAAiC;AACjC,wDAAsC;AACtC,4EAA0D;AAC1D,8DAA4C;AAC5C,iDAA+B;AAC/B,6DAA2C;AAC3C,sDAAoC;A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D,2DAAyC;AACzC,wDAAsC;AACtC,wEAAsD;AACtD,qEAAmD;AACnD,sEAAoD;AACpD,mEAAiD;AACjD,6DAA2C;AAC3C,wEAAsD;AACtD,iEAA+C;AAC/C,+DAA6C;AAC7C,gEAA8C;AAC9C,gEAA8C;AAC9C,oEAAkD;AAClD,iEAA+C;AAC/C,qEAAmD;AACnD,+EAA6D"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,8DAA4C;AAC5C,mEAAiD;AACjD,wDAAsC;AACtC,qEAAmD;AACnD,8DAA4C;AAC5C,gEAA8C;AAC9C,8DAA4C;AAC5C,4DAA0C;AAC1C,gEAA8C;AAC9C,kFAAgE;AAChE,wDAAsC;AACtC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,yDAAuC;AACvC,gEAA8C;AAC9C,2EAAyD;AACzD,uDAAqC;AACrC,0DAAwC;AACxC,wDAAsC;AACtC,yDAAuC;AACvC,wDAAsC;AACtC,mEAAiD;AACjD,yDAAuC;AACvC,+DAA6C;AAC7C,wDAAsC;AACtC,iDAA+B;AAC/B,mDAAiC;AACjC,wDAAsC;AACtC,4EAA0D;AAC1D,8DAA4C;AAC5C,iDAA+B;AAC/B,6DAA2C;AAC3C,sDAAoC;AACpC,gDAA8B;AAC9B,4DAA0C;AAC1C,wDAAsC;AACtC,oDAAkC;AAClC,+DAA6C;AAC7C,gEAA8C;AAC9C,mEAAiD;AACjD,6DAA2C;AAC3C,2EAAyD;AACzD,qEAAmD;AACnD,gEAA8C;AAC9C,4EAA0D;AAC1D,uFAAqE;AACrE,iFAA+D;AAC/D,qFAAmE;AACnE,qEAAmD;AACnD,sEAAoD;AACpD,qEAAmD;AACnD,kEAAgD;AAChD,mEAAiD;AACjD,oEAAkD;AAClD,iEAA+C;AAC/C,wEAAsD;AACtD,6FAA2E;AAC3E,uDAAqC;AACrC,uEAAqD;AACrD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EAAmD;AACnD,+EAA6D"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.MenuLayoutDto = exports.MenuLayoutModuleDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class MenuLayoutModuleDto {
|
|
16
|
+
}
|
|
17
|
+
exports.MenuLayoutModuleDto = MenuLayoutModuleDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
(0, class_validator_1.IsInt)(),
|
|
21
|
+
(0, class_validator_1.IsPositive)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], MenuLayoutModuleDto.prototype, "module_id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_validator_1.IsArray)(),
|
|
27
|
+
(0, class_validator_1.ArrayMaxSize)(1000),
|
|
28
|
+
(0, class_validator_1.IsInt)({ each: true }),
|
|
29
|
+
(0, class_validator_1.IsPositive)({ each: true }),
|
|
30
|
+
__metadata("design:type", Array)
|
|
31
|
+
], MenuLayoutModuleDto.prototype, "menus", void 0);
|
|
32
|
+
class MenuLayoutDto {
|
|
33
|
+
}
|
|
34
|
+
exports.MenuLayoutDto = MenuLayoutDto;
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
(0, class_validator_1.IsArray)(),
|
|
38
|
+
(0, class_validator_1.ArrayMaxSize)(500),
|
|
39
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
40
|
+
(0, class_transformer_1.Type)(() => MenuLayoutModuleDto),
|
|
41
|
+
__metadata("design:type", Array)
|
|
42
|
+
], MenuLayoutDto.prototype, "modules", void 0);
|
|
43
|
+
//# sourceMappingURL=menu.layout.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.layout.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/menu.layout.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA2F;AAO3F,MAAa,mBAAmB;CAY/B;AAZD,kDAYC;AARG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;sDACK;AAOlB;IALC,IAAA,0BAAM,GAAE;IACR,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,IAAI,CAAC;IAClB,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,IAAA,4BAAU,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACX;AAQpB,MAAa,aAAa;CAOzB;AAPD,sCAOC;AADG;IALC,IAAA,0BAAM,GAAE;IACR,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,GAAG,CAAC;IACjB,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC;;8CACD"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.ReportSheetDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class ReportSheetDto {
|
|
16
|
+
}
|
|
17
|
+
exports.ReportSheetDto = ReportSheetDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
21
|
+
(0, class_validator_1.IsInt)(),
|
|
22
|
+
(0, class_validator_1.IsPositive)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], ReportSheetDto.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.ValidateIf)((body) => !body.id || body.name !== undefined),
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.MaxLength)(31),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], ReportSheetDto.prototype, "name", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.ValidateIf)((body) => !body.id || body.query !== undefined),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ReportSheetDto.prototype, "query", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], ReportSheetDto.prototype, "pre_script", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsString)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ReportSheetDto.prototype, "post_script", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
51
|
+
(0, class_validator_1.IsInt)(),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], ReportSheetDto.prototype, "priority", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
(0, class_validator_1.IsBoolean)(),
|
|
57
|
+
__metadata("design:type", Boolean)
|
|
58
|
+
], ReportSheetDto.prototype, "active", void 0);
|
|
59
|
+
//# sourceMappingURL=report.sheet.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report.sheet.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/report.sheet.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAwH;AASxH,MAAa,cAAc;CAuC1B;AAvCD,wCAuCC;AAlCG;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;0CACD;AAOZ;IAJC,IAAA,4BAAU,EAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC;IACzD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;;4CACA;AAMd;IAHC,IAAA,4BAAU,EAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC;IAC1D,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACI;AAKf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACgB;AAK3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACiB;AAM5B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,GAAE;;gDACU;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;8CACK"}
|