@servicelabsco/slabs-access-manager 0.1.109 → 0.1.111

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.
Files changed (53) hide show
  1. package/dist/access/controllers/developer.mode.controller.d.ts +25 -0
  2. package/dist/access/controllers/developer.mode.controller.js +170 -0
  3. package/dist/access/controllers/developer.mode.controller.js.map +1 -0
  4. package/dist/access/controllers/index.d.ts +1 -0
  5. package/dist/access/controllers/index.js +1 -0
  6. package/dist/access/controllers/index.js.map +1 -1
  7. package/dist/access/dtos/developer.mode.set.listing.dto.d.ts +22 -0
  8. package/dist/access/dtos/developer.mode.set.listing.dto.js +133 -0
  9. package/dist/access/dtos/developer.mode.set.listing.dto.js.map +1 -0
  10. package/dist/access/dtos/edit.query.dto.d.ts +3 -0
  11. package/dist/access/dtos/edit.query.dto.js +24 -0
  12. package/dist/access/dtos/edit.query.dto.js.map +1 -0
  13. package/dist/access/dtos/email.message.attributes.dto.d.ts +3 -0
  14. package/dist/access/dtos/email.message.attributes.dto.js.map +1 -1
  15. package/dist/access/dtos/index.d.ts +6 -0
  16. package/dist/access/dtos/index.js +6 -0
  17. package/dist/access/dtos/index.js.map +1 -1
  18. package/dist/access/dtos/server.email.attachment.dto.d.ts +5 -0
  19. package/dist/access/dtos/server.email.attachment.dto.js +35 -0
  20. package/dist/access/dtos/server.email.attachment.dto.js.map +1 -0
  21. package/dist/access/dtos/server.email.message.dto.d.ts +13 -0
  22. package/dist/access/dtos/server.email.message.dto.js +70 -0
  23. package/dist/access/dtos/server.email.message.dto.js.map +1 -0
  24. package/dist/access/dtos/server.email.recipient.dto.d.ts +4 -0
  25. package/dist/access/dtos/server.email.recipient.dto.js +28 -0
  26. package/dist/access/dtos/server.email.recipient.dto.js.map +1 -0
  27. package/dist/access/dtos/server.email.recipients.dto.d.ts +5 -0
  28. package/dist/access/dtos/server.email.recipients.dto.js +35 -0
  29. package/dist/access/dtos/server.email.recipients.dto.js.map +1 -0
  30. package/dist/access/entities/email.message.entity.d.ts +1 -0
  31. package/dist/access/entities/email.message.entity.js +4 -0
  32. package/dist/access/entities/email.message.entity.js.map +1 -1
  33. package/dist/access/es6.classes.d.ts +8 -3
  34. package/dist/access/es6.classes.js +16 -0
  35. package/dist/access/es6.classes.js.map +1 -1
  36. package/dist/access/jobs/email.recipient.job.js +1 -1
  37. package/dist/access/jobs/email.recipient.job.js.map +1 -1
  38. package/dist/access/jobs/index.d.ts +1 -0
  39. package/dist/access/jobs/index.js +1 -0
  40. package/dist/access/jobs/index.js.map +1 -1
  41. package/dist/access/jobs/process.server.email.job.d.ts +17 -0
  42. package/dist/access/jobs/process.server.email.job.js +108 -0
  43. package/dist/access/jobs/process.server.email.job.js.map +1 -0
  44. package/dist/access/services/es6.jobs.service.d.ts +3 -1
  45. package/dist/access/services/es6.jobs.service.js +5 -1
  46. package/dist/access/services/es6.jobs.service.js.map +1 -1
  47. package/dist/accessUtility/libraries/slabs.util.d.ts +1 -1
  48. package/dist/accessUtility/libraries/slabs.util.js +3 -2
  49. package/dist/accessUtility/libraries/slabs.util.js.map +1 -1
  50. package/dist/migrations/1719663080003-AddEmailAtBzEmailMessagesTable.ts.d.ts +5 -0
  51. package/dist/migrations/1719663080003-AddEmailAtBzEmailMessagesTable.ts.js +15 -0
  52. package/dist/migrations/1719663080003-AddEmailAtBzEmailMessagesTable.ts.js.map +1 -0
  53. package/package.json +1 -1
@@ -0,0 +1,25 @@
1
+ import { PropertyService, ReportEntity, SqlService, StringSearchDto, SystemScriptEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { AddListingPreferenceDto } from '../dtos/add.listing.preference.dto';
3
+ import { BusinessParamDto } from '../dtos/business.param.dto';
4
+ import { DeveloperModeSetListingDto } from '../dtos/developer.mode.set.listing.dto';
5
+ import { ListingColumnEntity } from '../entities/listing.column.entity';
6
+ import { AccessBusinessService } from '../services/access.business.service';
7
+ import { EditQueryDto } from '../dtos/edit.query.dto';
8
+ export declare class DeveloperModeController {
9
+ private readonly accessBusinessService;
10
+ private readonly propertyService;
11
+ private readonly sqlService;
12
+ constructor(accessBusinessService: AccessBusinessService, propertyService: PropertyService, sqlService: SqlService);
13
+ setListing(body: DeveloperModeSetListingDto): Promise<ListingColumnEntity>;
14
+ setListingColumnPriority(body: AddListingPreferenceDto & {
15
+ definitionKey: string;
16
+ }): Promise<{
17
+ success: boolean;
18
+ }>;
19
+ getListingColumns(param: BusinessParamDto): Promise<ListingColumnEntity>;
20
+ findColumnType(body: StringSearchDto): Promise<any>;
21
+ findListingModal(body: StringSearchDto): Promise<any>;
22
+ editQuery(params: BusinessParamDto, body: EditQueryDto): Promise<SystemScriptEntity>;
23
+ getDetail(params: BusinessParamDto): Promise<ReportEntity>;
24
+ private validate;
25
+ }
@@ -0,0 +1,170 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.DeveloperModeController = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
18
+ const business_param_dto_1 = require("../dtos/business.param.dto");
19
+ const developer_mode_set_listing_dto_1 = require("../dtos/developer.mode.set.listing.dto");
20
+ const listing_column_entity_1 = require("../entities/listing.column.entity");
21
+ const listing_page_entity_1 = require("../entities/listing.page.entity");
22
+ const process_db_find_1 = require("../libraries/process.db.find");
23
+ const access_business_service_1 = require("../services/access.business.service");
24
+ const edit_query_dto_1 = require("../dtos/edit.query.dto");
25
+ let DeveloperModeController = class DeveloperModeController {
26
+ constructor(accessBusinessService, propertyService, sqlService) {
27
+ this.accessBusinessService = accessBusinessService;
28
+ this.propertyService = propertyService;
29
+ this.sqlService = sqlService;
30
+ }
31
+ async setListing(body) {
32
+ await this.validate();
33
+ let listing = listing_column_entity_1.ListingColumnEntity.create();
34
+ if (body?.id)
35
+ listing = await listing_column_entity_1.ListingColumnEntity.findOne({ where: { id: body.id } });
36
+ Object.keys(body).map((key) => {
37
+ listing[key] = body[key];
38
+ });
39
+ return listing.save();
40
+ }
41
+ async setListingColumnPriority(body) {
42
+ await this.validate();
43
+ const listing = await listing_page_entity_1.ListingPageEntity.findOne({ where: { identifier: body.definitionKey } });
44
+ if (!listing)
45
+ throw new nestjs_utility_services_1.OperationException('No Listing');
46
+ let priority = 1;
47
+ for await (const cd of body.column_definition) {
48
+ const column = await listing_column_entity_1.ListingColumnEntity.findOne({
49
+ where: { listing_id: listing.id, identifier: cd.identifier },
50
+ });
51
+ if (!column)
52
+ continue;
53
+ column.priority = priority;
54
+ await column.save();
55
+ priority++;
56
+ }
57
+ return {
58
+ success: true,
59
+ };
60
+ }
61
+ async getListingColumns(param) {
62
+ await this.validate();
63
+ const listing = await listing_column_entity_1.ListingColumnEntity.findOne({ where: { id: param.id }, relations: ['listing'] });
64
+ if (!listing)
65
+ throw new nestjs_utility_services_1.OperationException('No listing defined');
66
+ return listing;
67
+ }
68
+ async findColumnType(body) {
69
+ await this.validate();
70
+ const config = {
71
+ primaryCondition: `a.deleted_at is null`,
72
+ searchCompareKeys: ['a.name'],
73
+ tableName: 'sys_column_definitions a',
74
+ columns: ['a.name', 'a.id'],
75
+ order: `a.name asc`,
76
+ idsCompareKey: 'a.id',
77
+ ...body,
78
+ };
79
+ return new process_db_find_1.ProcessDbFind(this.sqlService).process(config);
80
+ }
81
+ async findListingModal(body) {
82
+ await this.validate();
83
+ const config = {
84
+ primaryCondition: `a.deleted_at is null`,
85
+ searchCompareKeys: ['a.name'],
86
+ tableName: 'utl_listing_models a',
87
+ columns: ['a.name', 'a.id', 'a.identifier'],
88
+ order: `a.name asc`,
89
+ idsCompareKey: 'a.id',
90
+ ...body,
91
+ };
92
+ return new process_db_find_1.ProcessDbFind(this.sqlService).process(config);
93
+ }
94
+ async editQuery(params, body) {
95
+ await this.validate();
96
+ const script = await nestjs_utility_services_1.SystemScriptEntity.first(params?.id);
97
+ script.script = body?.query;
98
+ return script.save();
99
+ }
100
+ async getDetail(params) {
101
+ await this.validate();
102
+ return nestjs_utility_services_1.ReportEntity.findOne({ where: { name: params.slug }, relations: ['query'] });
103
+ }
104
+ async validate() {
105
+ const business = await this.accessBusinessService.validateAccess();
106
+ const auth = nestjs_utility_services_1.Auth.user();
107
+ const email = await this.propertyService.get('developer.mode.email', 'hemant.sah@finnoto.com');
108
+ const user = await nestjs_utility_services_1.UserEntity.findOne({ where: { email: email } });
109
+ if (user?.id !== auth.id)
110
+ throw new nestjs_utility_services_1.OperationException('You dont have access for this operation');
111
+ }
112
+ };
113
+ exports.DeveloperModeController = DeveloperModeController;
114
+ __decorate([
115
+ (0, common_1.Post)('set-columns'),
116
+ __param(0, (0, common_1.Body)()),
117
+ __metadata("design:type", Function),
118
+ __metadata("design:paramtypes", [developer_mode_set_listing_dto_1.DeveloperModeSetListingDto]),
119
+ __metadata("design:returntype", Promise)
120
+ ], DeveloperModeController.prototype, "setListing", null);
121
+ __decorate([
122
+ (0, common_1.Post)('set-columns-priority'),
123
+ __param(0, (0, common_1.Body)()),
124
+ __metadata("design:type", Function),
125
+ __metadata("design:paramtypes", [Object]),
126
+ __metadata("design:returntype", Promise)
127
+ ], DeveloperModeController.prototype, "setListingColumnPriority", null);
128
+ __decorate([
129
+ (0, common_1.Get)(':id/columns'),
130
+ __param(0, (0, common_1.Param)()),
131
+ __metadata("design:type", Function),
132
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
133
+ __metadata("design:returntype", Promise)
134
+ ], DeveloperModeController.prototype, "getListingColumns", null);
135
+ __decorate([
136
+ (0, common_1.Post)('find-column-type'),
137
+ __param(0, (0, common_1.Body)()),
138
+ __metadata("design:type", Function),
139
+ __metadata("design:paramtypes", [nestjs_utility_services_1.StringSearchDto]),
140
+ __metadata("design:returntype", Promise)
141
+ ], DeveloperModeController.prototype, "findColumnType", null);
142
+ __decorate([
143
+ (0, common_1.Post)('find-listing-modal'),
144
+ __param(0, (0, common_1.Body)()),
145
+ __metadata("design:type", Function),
146
+ __metadata("design:paramtypes", [nestjs_utility_services_1.StringSearchDto]),
147
+ __metadata("design:returntype", Promise)
148
+ ], DeveloperModeController.prototype, "findListingModal", null);
149
+ __decorate([
150
+ (0, common_1.Post)(':id/edit-script'),
151
+ __param(0, (0, common_1.Param)()),
152
+ __param(1, (0, common_1.Body)()),
153
+ __metadata("design:type", Function),
154
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto, edit_query_dto_1.EditQueryDto]),
155
+ __metadata("design:returntype", Promise)
156
+ ], DeveloperModeController.prototype, "editQuery", null);
157
+ __decorate([
158
+ (0, common_1.Get)(':slug/get-detail'),
159
+ __param(0, (0, common_1.Param)()),
160
+ __metadata("design:type", Function),
161
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
162
+ __metadata("design:returntype", Promise)
163
+ ], DeveloperModeController.prototype, "getDetail", null);
164
+ exports.DeveloperModeController = DeveloperModeController = __decorate([
165
+ (0, common_1.Controller)('api/b/developer-mode'),
166
+ __metadata("design:paramtypes", [access_business_service_1.AccessBusinessService,
167
+ nestjs_utility_services_1.PropertyService,
168
+ nestjs_utility_services_1.SqlService])
169
+ ], DeveloperModeController);
170
+ //# sourceMappingURL=developer.mode.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"developer.mode.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/developer.mode.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,oFASgD;AAEhD,mEAA8D;AAE9D,2FAAoF;AAEpF,6EAAwE;AACxE,yEAAoE;AACpE,kEAA6D;AAC7D,iFAA4E;AAC5E,2DAAsD;AAG/C,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAChC,YACqB,qBAA4C,EAC5C,eAAgC,EAChC,UAAsB;QAFtB,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,oBAAe,GAAf,eAAe,CAAiB;QAChC,eAAU,GAAV,UAAU,CAAY;IACxC,CAAC;IAGE,AAAN,KAAK,CAAC,UAAU,CAAS,IAAgC;QACrD,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;QAEtB,IAAI,OAAO,GAAG,2CAAmB,CAAC,MAAM,EAAE,CAAC;QAC3C,IAAI,IAAI,EAAE,EAAE;YAAE,OAAO,GAAG,MAAM,2CAAmB,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QAEtF,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAW,EAAE,EAAE;YAClC,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;QAEH,OAAO,OAAO,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;IAGK,AAAN,KAAK,CAAC,wBAAwB,CAAS,IAAyD;QAC5F,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;QAEtB,MAAM,OAAO,GAAG,MAAM,uCAAiB,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,EAAG,IAAY,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC;QACxG,IAAI,CAAC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,uBAAuB;IADnC,IAAA,mBAAU,EAAC,sBAAsB,CAAC;qCAGa,+CAAqB;QAC3B,yCAAe;QACpB,oCAAU;GAJlC,uBAAuB,CAoHnC"}
@@ -9,6 +9,7 @@ export * from './choice.type.controller';
9
9
  export * from './custom.field.controller';
10
10
  export * from './dashboard.component.controller';
11
11
  export * from './dashboard.controller';
12
+ export * from './developer.mode.controller';
12
13
  export * from './download.log.controller';
13
14
  export * from './group.member.controller';
14
15
  export * from './group.role.controller';
@@ -25,6 +25,7 @@ __exportStar(require("./choice.type.controller"), exports);
25
25
  __exportStar(require("./custom.field.controller"), exports);
26
26
  __exportStar(require("./dashboard.component.controller"), exports);
27
27
  __exportStar(require("./dashboard.controller"), exports);
28
+ __exportStar(require("./developer.mode.controller"), exports);
28
29
  __exportStar(require("./download.log.controller"), exports);
29
30
  __exportStar(require("./group.member.controller"), exports);
30
31
  __exportStar(require("./group.role.controller"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,4DAA0C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,iEAA+C;AAAA,+DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,4DAA0C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,iEAA+C;AAAA,+DAA4C"}
@@ -0,0 +1,22 @@
1
+ import { ColumnDefinitionEntity } from '@servicelabsco/nestjs-utility-services';
2
+ export declare class DeveloperModeSetListingDto {
3
+ id?: number;
4
+ listing_id?: number;
5
+ name?: string;
6
+ filter_name?: number;
7
+ identifier?: string;
8
+ filter_identifier?: string;
9
+ column_type_id?: number;
10
+ macro?: string;
11
+ reference_url?: string;
12
+ reference_column?: string;
13
+ priority?: number;
14
+ is_sortable?: boolean;
15
+ is_db_sortable?: boolean;
16
+ active?: boolean;
17
+ is_visible?: boolean;
18
+ is_report_enabled?: boolean;
19
+ reference_model_id?: number;
20
+ default?: boolean;
21
+ column_type?: ColumnDefinitionEntity;
22
+ }
@@ -0,0 +1,133 @@
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.DeveloperModeSetListingDto = void 0;
13
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const class_validator_1 = require("class-validator");
16
+ class DeveloperModeSetListingDto {
17
+ }
18
+ exports.DeveloperModeSetListingDto = DeveloperModeSetListingDto;
19
+ __decorate([
20
+ (0, class_transformer_1.Expose)(),
21
+ (0, class_validator_1.IsOptional)(),
22
+ (0, class_validator_1.IsNumber)(),
23
+ __metadata("design:type", Number)
24
+ ], DeveloperModeSetListingDto.prototype, "id", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsNumber)(),
29
+ __metadata("design:type", Number)
30
+ ], DeveloperModeSetListingDto.prototype, "listing_id", void 0);
31
+ __decorate([
32
+ (0, class_transformer_1.Expose)(),
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsString)(),
35
+ __metadata("design:type", String)
36
+ ], DeveloperModeSetListingDto.prototype, "name", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ (0, class_validator_1.IsString)(),
41
+ __metadata("design:type", Number)
42
+ ], DeveloperModeSetListingDto.prototype, "filter_name", void 0);
43
+ __decorate([
44
+ (0, class_transformer_1.Expose)(),
45
+ (0, class_validator_1.IsOptional)(),
46
+ (0, class_validator_1.IsString)(),
47
+ __metadata("design:type", String)
48
+ ], DeveloperModeSetListingDto.prototype, "identifier", void 0);
49
+ __decorate([
50
+ (0, class_transformer_1.Expose)(),
51
+ (0, class_validator_1.IsOptional)(),
52
+ (0, class_validator_1.IsString)(),
53
+ __metadata("design:type", String)
54
+ ], DeveloperModeSetListingDto.prototype, "filter_identifier", void 0);
55
+ __decorate([
56
+ (0, class_transformer_1.Expose)(),
57
+ (0, class_validator_1.IsOptional)(),
58
+ (0, class_validator_1.IsNumber)(),
59
+ __metadata("design:type", Number)
60
+ ], DeveloperModeSetListingDto.prototype, "column_type_id", void 0);
61
+ __decorate([
62
+ (0, class_transformer_1.Expose)(),
63
+ (0, class_validator_1.IsOptional)(),
64
+ (0, class_validator_1.IsString)(),
65
+ __metadata("design:type", String)
66
+ ], DeveloperModeSetListingDto.prototype, "macro", void 0);
67
+ __decorate([
68
+ (0, class_transformer_1.Expose)(),
69
+ (0, class_validator_1.IsOptional)(),
70
+ (0, class_validator_1.IsString)(),
71
+ __metadata("design:type", String)
72
+ ], DeveloperModeSetListingDto.prototype, "reference_url", void 0);
73
+ __decorate([
74
+ (0, class_transformer_1.Expose)(),
75
+ (0, class_validator_1.IsOptional)(),
76
+ (0, class_validator_1.IsString)(),
77
+ __metadata("design:type", String)
78
+ ], DeveloperModeSetListingDto.prototype, "reference_column", void 0);
79
+ __decorate([
80
+ (0, class_transformer_1.Expose)(),
81
+ (0, class_validator_1.IsOptional)(),
82
+ (0, class_validator_1.IsNumber)(),
83
+ __metadata("design:type", Number)
84
+ ], DeveloperModeSetListingDto.prototype, "priority", void 0);
85
+ __decorate([
86
+ (0, class_transformer_1.Expose)(),
87
+ (0, class_validator_1.IsOptional)(),
88
+ (0, class_validator_1.IsBoolean)(),
89
+ __metadata("design:type", Boolean)
90
+ ], DeveloperModeSetListingDto.prototype, "is_sortable", void 0);
91
+ __decorate([
92
+ (0, class_transformer_1.Expose)(),
93
+ (0, class_validator_1.IsOptional)(),
94
+ (0, class_validator_1.IsBoolean)(),
95
+ __metadata("design:type", Boolean)
96
+ ], DeveloperModeSetListingDto.prototype, "is_db_sortable", void 0);
97
+ __decorate([
98
+ (0, class_transformer_1.Expose)(),
99
+ (0, class_validator_1.IsOptional)(),
100
+ (0, class_validator_1.IsBoolean)(),
101
+ __metadata("design:type", Boolean)
102
+ ], DeveloperModeSetListingDto.prototype, "active", void 0);
103
+ __decorate([
104
+ (0, class_transformer_1.Expose)(),
105
+ (0, class_validator_1.IsOptional)(),
106
+ (0, class_validator_1.IsBoolean)(),
107
+ __metadata("design:type", Boolean)
108
+ ], DeveloperModeSetListingDto.prototype, "is_visible", void 0);
109
+ __decorate([
110
+ (0, class_transformer_1.Expose)(),
111
+ (0, class_validator_1.IsOptional)(),
112
+ (0, class_validator_1.IsBoolean)(),
113
+ __metadata("design:type", Boolean)
114
+ ], DeveloperModeSetListingDto.prototype, "is_report_enabled", void 0);
115
+ __decorate([
116
+ (0, class_transformer_1.Expose)(),
117
+ (0, class_validator_1.IsOptional)(),
118
+ (0, class_validator_1.IsBoolean)(),
119
+ __metadata("design:type", Number)
120
+ ], DeveloperModeSetListingDto.prototype, "reference_model_id", void 0);
121
+ __decorate([
122
+ (0, class_transformer_1.Expose)(),
123
+ (0, class_validator_1.IsOptional)(),
124
+ (0, class_validator_1.IsBoolean)(),
125
+ __metadata("design:type", Boolean)
126
+ ], DeveloperModeSetListingDto.prototype, "default", void 0);
127
+ __decorate([
128
+ (0, class_transformer_1.Expose)(),
129
+ (0, class_validator_1.IsOptional)(),
130
+ (0, class_validator_1.IsBoolean)(),
131
+ __metadata("design:type", nestjs_utility_services_1.ColumnDefinitionEntity)
132
+ ], DeveloperModeSetListingDto.prototype, "column_type", void 0);
133
+ //# sourceMappingURL=developer.mode.set.listing.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"developer.mode.set.listing.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/developer.mode.set.listing.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAgF;AAChF,yDAA2C;AAC3C,qDAA4E;AAE5E,MAAa,0BAA0B;CA+FtC;AA/FD,gEA+FC;AA3FG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACC;AAKZ;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8DACS;AAKpB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACG;AAKd;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+DACU;AAKrB;IAHC,IAAA,0BAAM,GAAE;IACR,I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IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;8BACE,gDAAsB;+DAAC"}
@@ -0,0 +1,3 @@
1
+ export declare class EditQueryDto {
2
+ query: string;
3
+ }
@@ -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.EditQueryDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class EditQueryDto {
16
+ }
17
+ exports.EditQueryDto = EditQueryDto;
18
+ __decorate([
19
+ (0, class_transformer_1.Expose)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ (0, class_validator_1.IsString)(),
22
+ __metadata("design:type", String)
23
+ ], EditQueryDto.prototype, "query", void 0);
24
+ //# sourceMappingURL=edit.query.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit.query.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/edit.query.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAuD;AAEvD,MAAa,YAAY;CAKxB;AALD,oCAKC;AADG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACG"}
@@ -4,6 +4,9 @@ export declare class EmailMessageAttributesDto extends CommonAttributesDto {
4
4
  recipients_count?: number;
5
5
  from_user_id?: number;
6
6
  in_reply_to?: string;
7
+ references?: string[];
8
+ date?: string;
9
+ message_id?: string;
7
10
  threads_count?: number;
8
11
  user_managed_tracking?: boolean;
9
12
  attachments?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"email.message.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.message.attributes.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA6E;AAC7E,yDAA2C;AAC3C,qDAAuD;AAEvD,MAAa,yBAA0B,SAAQ,6CAAmB;CAmCjE;AAnCD,8DAmCC;AAjCG;IADC,IAAA,0BAAQ,GAAE;;oEACgB;AAO3B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;+DACW"}
1
+ {"version":3,"file":"email.message.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/email.message.attributes.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA6E;AAC7E,yDAA2C;AAC3C,qDAAuD;AAEvD,MAAa,yBAA0B,SAAQ,6CAAmB;CAsCjE;AAtCD,8DAsCC;AApCG;IADC,IAAA,0BAAQ,GAAE;;oEACgB;AAO3B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;+DACW"}
@@ -42,8 +42,10 @@ export * from './date.filter.dto';
42
42
  export * from './date.range.filter.dto';
43
43
  export * from './db.find.dto';
44
44
  export * from './db.find.options.dto';
45
+ export * from './developer.mode.set.listing.dto';
45
46
  export * from './download.log.attributes.dto';
46
47
  export * from './download.log.list.filter.dto';
48
+ export * from './edit.query.dto';
47
49
  export * from './email.attachment.attributes.dto';
48
50
  export * from './email.message.attributes.dto';
49
51
  export * from './email.notification.payload.dto';
@@ -86,6 +88,10 @@ export * from './scheduled.report.item.attributes.dto';
86
88
  export * from './scheduled.report.item.list.filter.dto';
87
89
  export * from './scheduled.report.list.filter.dto';
88
90
  export * from './send.email.notification.data.dto';
91
+ export * from './server.email.attachment.dto';
92
+ export * from './server.email.message.dto';
93
+ export * from './server.email.recipient.dto';
94
+ export * from './server.email.recipients.dto';
89
95
  export * from './slack.integration.attributes.dto';
90
96
  export * from './slack.message.attributes.dto';
91
97
  export * from './slack.posting.payload.dto';
@@ -58,8 +58,10 @@ __exportStar(require("./date.filter.dto"), exports);
58
58
  __exportStar(require("./date.range.filter.dto"), exports);
59
59
  __exportStar(require("./db.find.dto"), exports);
60
60
  __exportStar(require("./db.find.options.dto"), exports);
61
+ __exportStar(require("./developer.mode.set.listing.dto"), exports);
61
62
  __exportStar(require("./download.log.attributes.dto"), exports);
62
63
  __exportStar(require("./download.log.list.filter.dto"), exports);
64
+ __exportStar(require("./edit.query.dto"), exports);
63
65
  __exportStar(require("./email.attachment.attributes.dto"), exports);
64
66
  __exportStar(require("./email.message.attributes.dto"), exports);
65
67
  __exportStar(require("./email.notification.payload.dto"), exports);
@@ -102,6 +104,10 @@ __exportStar(require("./scheduled.report.item.attributes.dto"), exports);
102
104
  __exportStar(require("./scheduled.report.item.list.filter.dto"), exports);
103
105
  __exportStar(require("./scheduled.report.list.filter.dto"), exports);
104
106
  __exportStar(require("./send.email.notification.data.dto"), exports);
107
+ __exportStar(require("./server.email.attachment.dto"), exports);
108
+ __exportStar(require("./server.email.message.dto"), exports);
109
+ __exportStar(require("./server.email.recipient.dto"), exports);
110
+ __exportStar(require("./server.email.recipients.dto"), exports);
105
111
  __exportStar(require("./slack.integration.attributes.dto"), exports);
106
112
  __exportStar(require("./slack.message.attributes.dto"), exports);
107
113
  __exportStar(require("./slack.posting.payload.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,wDAAsC;AAAA,gEAA8C;A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yEAAuD;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,mEAAiD;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,+DAA6C;AAAA,wDAAsC;AAAA,6DAA2C;AAAA,mEAAiD;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,yEAAuD;AAAA,oEAAkD;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,6DAA2C;AAAA,8DAA4C;AAAA,oEAAkD;AAAA,0EAAwD;AAAA,yEAAuD;AAAA,0EAAwD;AAAA,qEAAmD;AAAA,qEAAmD;AAAA,gEAA8C;AAAA,6DAA2C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,iEAA+C;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,8DAA4C;AAAA,iEAA+C;AAAA,yEAAuD;AAAA,sDAAoC;AAAA,oDAAkC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,wDAAsC;AAAA,qEAAmD;AAAA,sEAAoD;AAAA,mEAAiD;AAAA,6DAA2C;AAAA,wEAAsD;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,qEAAkD"}
@@ -0,0 +1,5 @@
1
+ export declare class ServerEmailAttachmentDto {
2
+ url: string;
3
+ size: number;
4
+ name: string;
5
+ }
@@ -0,0 +1,35 @@
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.ServerEmailAttachmentDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class ServerEmailAttachmentDto {
16
+ }
17
+ exports.ServerEmailAttachmentDto = ServerEmailAttachmentDto;
18
+ __decorate([
19
+ (0, class_transformer_1.Expose)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ (0, class_validator_1.IsUrl)(),
22
+ __metadata("design:type", String)
23
+ ], ServerEmailAttachmentDto.prototype, "url", void 0);
24
+ __decorate([
25
+ (0, class_transformer_1.Expose)(),
26
+ (0, class_validator_1.IsNumber)(),
27
+ (0, class_validator_1.IsNotEmpty)(),
28
+ __metadata("design:type", Number)
29
+ ], ServerEmailAttachmentDto.prototype, "size", void 0);
30
+ __decorate([
31
+ (0, class_transformer_1.Expose)(),
32
+ (0, class_validator_1.IsNotEmpty)(),
33
+ __metadata("design:type", String)
34
+ ], ServerEmailAttachmentDto.prototype, "name", void 0);
35
+ //# sourceMappingURL=server.email.attachment.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.email.attachment.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/server.email.attachment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA8D;AAE9D,MAAa,wBAAwB;CAcpC;AAdD,4DAcC;AAVG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;qDACI;AAKZ;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACA;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;sDACA"}
@@ -0,0 +1,13 @@
1
+ import { ServerEmailAttachmentDto } from './server.email.attachment.dto';
2
+ import { ServerEmailRecipientsDto } from './server.email.recipients.dto';
3
+ export declare class ServerEmailMessageDto {
4
+ email_id: number;
5
+ identifier: string;
6
+ from_email: string;
7
+ subject: string;
8
+ body: string;
9
+ recipients?: ServerEmailRecipientsDto;
10
+ attachments: ServerEmailAttachmentDto[];
11
+ attributes?: any;
12
+ original?: any;
13
+ }
@@ -0,0 +1,70 @@
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.ServerEmailMessageDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const server_email_attachment_dto_1 = require("./server.email.attachment.dto");
16
+ const server_email_recipients_dto_1 = require("./server.email.recipients.dto");
17
+ class ServerEmailMessageDto {
18
+ }
19
+ exports.ServerEmailMessageDto = ServerEmailMessageDto;
20
+ __decorate([
21
+ (0, class_transformer_1.Expose)(),
22
+ (0, class_validator_1.IsNumber)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", Number)
25
+ ], ServerEmailMessageDto.prototype, "email_id", void 0);
26
+ __decorate([
27
+ (0, class_transformer_1.Expose)(),
28
+ (0, class_validator_1.IsNotEmpty)(),
29
+ __metadata("design:type", String)
30
+ ], ServerEmailMessageDto.prototype, "identifier", void 0);
31
+ __decorate([
32
+ (0, class_transformer_1.Expose)(),
33
+ (0, class_validator_1.IsNotEmpty)(),
34
+ __metadata("design:type", String)
35
+ ], ServerEmailMessageDto.prototype, "from_email", void 0);
36
+ __decorate([
37
+ (0, class_transformer_1.Expose)(),
38
+ (0, class_validator_1.IsNotEmpty)(),
39
+ __metadata("design:type", String)
40
+ ], ServerEmailMessageDto.prototype, "subject", void 0);
41
+ __decorate([
42
+ (0, class_transformer_1.Expose)(),
43
+ (0, class_validator_1.IsNotEmpty)(),
44
+ __metadata("design:type", String)
45
+ ], ServerEmailMessageDto.prototype, "body", void 0);
46
+ __decorate([
47
+ (0, class_transformer_1.Expose)(),
48
+ (0, class_validator_1.ValidateNested)(),
49
+ (0, class_validator_1.IsOptional)(),
50
+ (0, class_transformer_1.Type)(() => server_email_recipients_dto_1.ServerEmailRecipientsDto),
51
+ __metadata("design:type", server_email_recipients_dto_1.ServerEmailRecipientsDto)
52
+ ], ServerEmailMessageDto.prototype, "recipients", void 0);
53
+ __decorate([
54
+ (0, class_transformer_1.Expose)(),
55
+ (0, class_validator_1.ValidateNested)(),
56
+ (0, class_validator_1.IsOptional)(),
57
+ (0, class_transformer_1.Type)(() => server_email_attachment_dto_1.ServerEmailAttachmentDto),
58
+ __metadata("design:type", Array)
59
+ ], ServerEmailMessageDto.prototype, "attachments", void 0);
60
+ __decorate([
61
+ (0, class_transformer_1.Expose)(),
62
+ (0, class_validator_1.IsOptional)(),
63
+ __metadata("design:type", Object)
64
+ ], ServerEmailMessageDto.prototype, "attributes", void 0);
65
+ __decorate([
66
+ (0, class_transformer_1.Expose)(),
67
+ (0, class_validator_1.IsOptional)(),
68
+ __metadata("design:type", Object)
69
+ ], ServerEmailMessageDto.prototype, "original", void 0);
70
+ //# sourceMappingURL=server.email.message.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.email.message.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/server.email.message.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAAmF;AACnF,+EAAyE;AACzE,+EAAyE;AAEzE,MAAa,qBAAqB;CAyCjC;AAzCD,sDAyCC;AArCG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;yDACM;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;yDACM;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;sDACG;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;mDACA;AAMb;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sDAAwB,CAAC;8BACxB,sDAAwB;yDAAC;AAMtC;IAJC,IAAA,0BAAM,GAAE;IACR,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sDAAwB,CAAC;;0DACG;AAIxC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;yDACI;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;uDACE"}
@@ -0,0 +1,4 @@
1
+ export declare class ServerEmailRecipientDto {
2
+ email: string;
3
+ name?: string;
4
+ }