@servicelabsco/nestjs-utility-services 1.2.21 → 1.2.23

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 (52) hide show
  1. package/dist/platformUtility/dtos/index.d.ts +1 -0
  2. package/dist/platformUtility/dtos/index.js +1 -0
  3. package/dist/platformUtility/dtos/index.js.map +1 -1
  4. package/dist/platformUtility/dtos/kaleyra.callback.payload.dto.d.ts +11 -0
  5. package/dist/platformUtility/dtos/kaleyra.callback.payload.dto.js +7 -0
  6. package/dist/platformUtility/dtos/kaleyra.callback.payload.dto.js.map +1 -0
  7. package/dist/platformUtility/es6.classes.d.ts +6 -3
  8. package/dist/platformUtility/es6.classes.js +6 -0
  9. package/dist/platformUtility/es6.classes.js.map +1 -1
  10. package/dist/platformUtility/libraries/index.d.ts +1 -0
  11. package/dist/platformUtility/libraries/index.js +1 -0
  12. package/dist/platformUtility/libraries/index.js.map +1 -1
  13. package/dist/platformUtility/libraries/process.kaleyra.callback.response.d.ts +6 -0
  14. package/dist/platformUtility/libraries/process.kaleyra.callback.response.js +20 -0
  15. package/dist/platformUtility/libraries/process.kaleyra.callback.response.js.map +1 -0
  16. package/dist/platformUtility/libraries/process.kaleyra.sms.d.ts +1 -1
  17. package/dist/platformUtility/libraries/process.kaleyra.sms.js +16 -13
  18. package/dist/platformUtility/libraries/process.kaleyra.sms.js.map +1 -1
  19. package/dist/platformUtility/services/aws.secret.service.d.ts +10 -0
  20. package/dist/platformUtility/services/aws.secret.service.js +60 -0
  21. package/dist/platformUtility/services/aws.secret.service.js.map +1 -0
  22. package/dist/platformUtility/services/index.d.ts +1 -0
  23. package/dist/platformUtility/services/index.js +1 -0
  24. package/dist/platformUtility/services/index.js.map +1 -1
  25. package/dist/platformUtility/services/sms.service.d.ts +3 -3
  26. package/dist/platformUtility/services/sms.service.js +4 -4
  27. package/dist/platformUtility/services/sms.service.js.map +1 -1
  28. package/dist/system/dtos/add.direct.menu.dto.d.ts +7 -0
  29. package/dist/system/dtos/add.direct.menu.dto.js +46 -0
  30. package/dist/system/dtos/add.direct.menu.dto.js.map +1 -0
  31. package/dist/system/dtos/index.d.ts +1 -0
  32. package/dist/system/dtos/index.js +1 -0
  33. package/dist/system/dtos/index.js.map +1 -1
  34. package/dist/system/dtos/sms.message.attributes.dto.d.ts +1 -0
  35. package/dist/system/dtos/sms.message.attributes.dto.js.map +1 -1
  36. package/dist/system/es6.classes.d.ts +4 -2
  37. package/dist/system/es6.classes.js +12 -1
  38. package/dist/system/es6.classes.js.map +1 -1
  39. package/dist/system/jobs/sms.message.job.d.ts +1 -4
  40. package/dist/system/jobs/sms.message.job.js +3 -15
  41. package/dist/system/jobs/sms.message.job.js.map +1 -1
  42. package/dist/system/libraries/index.d.ts +1 -0
  43. package/dist/system/libraries/index.js +1 -0
  44. package/dist/system/libraries/index.js.map +1 -1
  45. package/dist/system/libraries/process.menu.creation.d.ts +9 -0
  46. package/dist/system/libraries/process.menu.creation.js +58 -0
  47. package/dist/system/libraries/process.menu.creation.js.map +1 -0
  48. package/dist/system/services/mobile.validation.service.d.ts +1 -3
  49. package/dist/system/services/mobile.validation.service.js +1 -1
  50. package/dist/system/services/mobile.validation.service.js.map +1 -1
  51. package/dist/tsconfig.build.tsbuildinfo +1 -1
  52. package/package.json +2 -1
@@ -3,6 +3,7 @@ export * from './common.attributes.dto';
3
3
  export * from './failed.bull.job.attributes.dto';
4
4
  export * from './fcm.response.dto';
5
5
  export * from './job.payload.dto';
6
+ export * from './kaleyra.callback.payload.dto';
6
7
  export * from './mail.options.dto';
7
8
  export * from './pending.bull.job.attributes.dto';
8
9
  export * from './push.notification.response.dto';
@@ -19,6 +19,7 @@ __exportStar(require("./common.attributes.dto"), exports);
19
19
  __exportStar(require("./failed.bull.job.attributes.dto"), exports);
20
20
  __exportStar(require("./fcm.response.dto"), exports);
21
21
  __exportStar(require("./job.payload.dto"), exports);
22
+ __exportStar(require("./kaleyra.callback.payload.dto"), exports);
22
23
  __exportStar(require("./mail.options.dto"), exports);
23
24
  __exportStar(require("./pending.bull.job.attributes.dto"), exports);
24
25
  __exportStar(require("./push.notification.response.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/platformUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AAAA,0DAAwC;AAAA,mEAAiD;AAAA,qDAAmC;AAAA,oDAAkC;AAAA,qDAAmC;AAAA,oEAAkD;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,sDAAoC;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,sDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/platformUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AAAA,0DAAwC;AAAA,mEAAiD;AAAA,qDAAmC;AAAA,oDAAkC;AAAA,iEAA+C;AAAA,qDAAmC;AAAA,oEAAkD;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,sDAAoC;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,sDAAmC"}
@@ -0,0 +1,11 @@
1
+ export declare class KaleyraCallbackPayloadDto {
2
+ sent_time: string;
3
+ sender: string;
4
+ price: string;
5
+ length: string;
6
+ type: string;
7
+ id: string;
8
+ status: string;
9
+ message_id: string;
10
+ recipient: string;
11
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KaleyraCallbackPayloadDto = void 0;
4
+ class KaleyraCallbackPayloadDto {
5
+ }
6
+ exports.KaleyraCallbackPayloadDto = KaleyraCallbackPayloadDto;
7
+ //# sourceMappingURL=kaleyra.callback.payload.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kaleyra.callback.payload.dto.js","sourceRoot":"","sources":["../../../src/platformUtility/dtos/kaleyra.callback.payload.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,yBAAyB;CAUrC;AAVD,8DAUC"}
@@ -9,6 +9,7 @@ import { AwsConfigDto } from './dtos/aws.config.dto';
9
9
  import { CommonAttributesDto } from './dtos/common.attributes.dto';
10
10
  import { FcmResponseDto } from './dtos/fcm.response.dto';
11
11
  import { JobPayloadDto } from './dtos/job.payload.dto';
12
+ import { KaleyraCallbackPayloadDto } from './dtos/kaleyra.callback.payload.dto';
12
13
  import { MailOptionsDto } from './dtos/mail.options.dto';
13
14
  import { PushNotificationResponseDto } from './dtos/push.notification.response.dto';
14
15
  import { PushNotificationTemplateDto } from './dtos/push.notification.template.dto';
@@ -34,6 +35,7 @@ import { CreateIndexFile } from './libraries/create.index.file';
34
35
  import { FileSystemUtility } from './libraries/file.system.utility';
35
36
  import { ProcessAuditLogData } from './libraries/process.audit.log.data';
36
37
  import { ProcessCommonMail } from './libraries/process.common.mail';
38
+ import { ProcessKaleyraCallbackResponse } from './libraries/process.kaleyra.callback.response';
37
39
  import { ProcessKaleyraSms } from './libraries/process.kaleyra.sms';
38
40
  import { ProcessSmtpMail } from './libraries/process.smtp.mail';
39
41
  import { SetSmsMessage } from './libraries/set.sms.message';
@@ -41,6 +43,7 @@ import { MaintenanceMiddleware } from './middlewares/maintenance.middleware';
41
43
  import { TrimPipe } from './middlewares/trim.pipe';
42
44
  import { AuditService } from './services/audit.service';
43
45
  import { AwsConfigService } from './services/aws.config.service';
46
+ import { AwsSecretService } from './services/aws.secret.service';
44
47
  import { CacheService } from './services/cache.service';
45
48
  import { DynamoService } from './services/dynamo.service';
46
49
  import { Es6JobsService } from './services/es6.jobs.service';
@@ -60,12 +63,12 @@ declare const es6Classes: {
60
63
  commands: (typeof MaintenanceCommand | typeof SqsWorkerCommand | typeof SyncClassCommand)[];
61
64
  consumers: (typeof EventConsumer | typeof JobConsumer)[];
62
65
  controllers: (typeof BullJobController | typeof QueueController)[];
63
- dtos: (typeof JobPayloadDto | typeof QueueOptionsDto | typeof SourceColumnDto | typeof CommonAttributesDto | typeof AwsConfigDto | typeof SetSmsPayloadDto | typeof SmsPayloadDto | typeof RemoteRawResponseDto | typeof FcmResponseDto | typeof MailOptionsDto | typeof PushNotificationResponseDto | typeof PushNotificationTemplateDto | typeof SmtpConfigDto | typeof StringSearchDto)[];
66
+ dtos: (typeof JobPayloadDto | typeof QueueOptionsDto | typeof SourceColumnDto | typeof CommonAttributesDto | typeof AwsConfigDto | typeof FcmResponseDto | typeof KaleyraCallbackPayloadDto | typeof MailOptionsDto | typeof PushNotificationResponseDto | typeof PushNotificationTemplateDto | typeof RemoteRawResponseDto | typeof SetSmsPayloadDto | typeof SmsPayloadDto | typeof SmtpConfigDto | typeof StringSearchDto)[];
64
67
  entities: (typeof FailedBullJobEntity | typeof PendingBullJobEntity)[];
65
68
  jobs: (typeof LoadFailedBullJob | typeof RecordWatcherJob | typeof ReloadPendingBullJob | typeof TestJob)[];
66
- libraries: (typeof ProcessAuditLogData | typeof ProcessKaleyraSms | typeof SetSmsMessage | typeof CommonSqsPolling | typeof FileSystemUtility | typeof CreateEs6ClassesFile | typeof CreateEs6JobsFile | typeof CreateEntityConstantsFile | typeof CreateEs6ServiceFile | typeof CreateIndexFile | typeof ProcessCommonMail | typeof ProcessSmtpMail)[];
69
+ libraries: (typeof ProcessAuditLogData | typeof CommonSqsPolling | typeof FileSystemUtility | typeof CreateEs6ClassesFile | typeof CreateEs6JobsFile | typeof CreateEntityConstantsFile | typeof CreateEs6ServiceFile | typeof CreateIndexFile | typeof ProcessCommonMail | typeof ProcessKaleyraCallbackResponse | typeof ProcessKaleyraSms | typeof ProcessSmtpMail | typeof SetSmsMessage)[];
67
70
  middlewares: (typeof MaintenanceMiddleware | typeof TrimPipe)[];
68
- services: (typeof CacheService | typeof LocalPropertyService | typeof AwsConfigService | typeof SqsService | typeof QueueService | typeof SqlService | typeof DynamoService | typeof MaintenanceService | typeof AuditService | typeof RemoteRequestService | typeof SmsService | typeof Es6JobsService | typeof FcmNotificationService | typeof MailService | typeof ShutdownService | typeof StartupService)[];
71
+ services: (typeof CacheService | typeof LocalPropertyService | typeof AwsConfigService | typeof SqsService | typeof QueueService | typeof SqlService | typeof DynamoService | typeof MaintenanceService | typeof AuditService | typeof RemoteRequestService | typeof AwsSecretService | typeof Es6JobsService | typeof FcmNotificationService | typeof MailService | typeof ShutdownService | typeof SmsService | typeof StartupService)[];
69
72
  subscribers: (typeof BaseSubscriber)[];
70
73
  };
71
74
  export default es6Classes;
@@ -12,6 +12,7 @@ const common_attributes_dto_1 = require("./dtos/common.attributes.dto");
12
12
  const failed_bull_job_attributes_dto_1 = require("./dtos/failed.bull.job.attributes.dto");
13
13
  const fcm_response_dto_1 = require("./dtos/fcm.response.dto");
14
14
  const job_payload_dto_1 = require("./dtos/job.payload.dto");
15
+ const kaleyra_callback_payload_dto_1 = require("./dtos/kaleyra.callback.payload.dto");
15
16
  const mail_options_dto_1 = require("./dtos/mail.options.dto");
16
17
  const pending_bull_job_attributes_dto_1 = require("./dtos/pending.bull.job.attributes.dto");
17
18
  const push_notification_response_dto_1 = require("./dtos/push.notification.response.dto");
@@ -38,6 +39,7 @@ const create_index_file_1 = require("./libraries/create.index.file");
38
39
  const file_system_utility_1 = require("./libraries/file.system.utility");
39
40
  const process_audit_log_data_1 = require("./libraries/process.audit.log.data");
40
41
  const process_common_mail_1 = require("./libraries/process.common.mail");
42
+ const process_kaleyra_callback_response_1 = require("./libraries/process.kaleyra.callback.response");
41
43
  const process_kaleyra_sms_1 = require("./libraries/process.kaleyra.sms");
42
44
  const process_smtp_mail_1 = require("./libraries/process.smtp.mail");
43
45
  const set_sms_message_1 = require("./libraries/set.sms.message");
@@ -45,6 +47,7 @@ const maintenance_middleware_1 = require("./middlewares/maintenance.middleware")
45
47
  const trim_pipe_1 = require("./middlewares/trim.pipe");
46
48
  const audit_service_1 = require("./services/audit.service");
47
49
  const aws_config_service_1 = require("./services/aws.config.service");
50
+ const aws_secret_service_1 = require("./services/aws.secret.service");
48
51
  const cache_service_1 = require("./services/cache.service");
49
52
  const dynamo_service_1 = require("./services/dynamo.service");
50
53
  const es6_jobs_service_1 = require("./services/es6.jobs.service");
@@ -70,6 +73,7 @@ const es6Classes = {
70
73
  failed_bull_job_attributes_dto_1.FailedBullJobAttributesDto,
71
74
  fcm_response_dto_1.FcmResponseDto,
72
75
  job_payload_dto_1.JobPayloadDto,
76
+ kaleyra_callback_payload_dto_1.KaleyraCallbackPayloadDto,
73
77
  mail_options_dto_1.MailOptionsDto,
74
78
  pending_bull_job_attributes_dto_1.PendingBullJobAttributesDto,
75
79
  push_notification_response_dto_1.PushNotificationResponseDto,
@@ -94,6 +98,7 @@ const es6Classes = {
94
98
  file_system_utility_1.FileSystemUtility,
95
99
  process_audit_log_data_1.ProcessAuditLogData,
96
100
  process_common_mail_1.ProcessCommonMail,
101
+ process_kaleyra_callback_response_1.ProcessKaleyraCallbackResponse,
97
102
  process_kaleyra_sms_1.ProcessKaleyraSms,
98
103
  process_smtp_mail_1.ProcessSmtpMail,
99
104
  set_sms_message_1.SetSmsMessage,
@@ -102,6 +107,7 @@ const es6Classes = {
102
107
  services: [
103
108
  audit_service_1.AuditService,
104
109
  aws_config_service_1.AwsConfigService,
110
+ aws_secret_service_1.AwsSecretService,
105
111
  cache_service_1.CacheService,
106
112
  dynamo_service_1.DynamoService,
107
113
  es6_jobs_service_1.Es6JobsService,
@@ -1 +1 @@
1
- {"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/platformUtility/es6.classes.ts"],"names":[],"mappings":";;AAAA,wEAAoE;AACpE,sEAAiE;AACjE,sEAAiE;AACjE,+DAA2D;AAC3D,2DAAuD;AACvD,2EAAsE;AACtE,qEAAiE;AACjE,0DAAqD;AACrD,wEAAmE;AACnE,0FAAmF;AACnF,8DAAyD;AACzD,4DAAuD;AACvD,8DAAyD;AACzD,4FAAqF;AACrF,0FAAoF;AACpF,0FAAoF;AACpF,gEA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QACP,qCAAgB;QAChB,wDAAyB;QACzB,8CAAoB;QACpB,wCAAiB;QACjB,8CAAoB;QACpB,mCAAe;QACf,uCAAiB;QACjB,4CAAmB;QACnB,uCAAiB;QACjB,uCAAiB;QACjB,mCAAe;QACf,+BAAa;KAChB;IACD,WAAW,EAAE,CAAC,8CAAqB,EAAE,oBAAQ,CAAC;IAC9C,QAAQ,EAAE;QACN,4BAAY;QACZ,qCAAgB;QAChB,4BAAY;QACZ,8BAAa;QACb,iCAAc;QACd,iDAAsB;QACtB,6CAAoB;QACpB,0BAAW;QACX,wCAAkB;QAClB,4BAAY;QACZ,6CAAoB;QACpB,kCAAe;QACf,wBAAU;QACV,wBAAU;QACV,wBAAU;QACV,gCAAc;KACjB;IACD,WAAW,EAAE,CAAC,gCAAc,CAAC;CAChC,CAAC;AAEF,kBAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/platformUtility/es6.classes.ts"],"names":[],"mappings":";;AAAA,wEAAoE;AACpE,sEAAiE;AACjE,sEAAiE;AACjE,+DAA2D;AAC3D,2DAAuD;AACvD,2EAAsE;AACtE,qEAAiE;AACjE,0DAAqD;AACrD,wEAAmE;AACnE,0FAAmF;AACnF,8DAAyD;AACzD,4DAAuD;AACvD,sFAAgF;AAChF,8DAAyD;AACzD,4FAAqF;AACrF,0FAAoF;AACpF,0FAAoF;AACpF,gEAA2D;AAC3D,4EAAsE;AACtE,oEAA8D;AAC9D,4DAAuD;AACvD,4DAAuD;AACvD,gEAA2D;AAC3D,gEAA2D;AAC3D,8EAAwE;AACxE,gFAA0E;AAC1E,sEAAgE;AAChE,kEAA6D;AAC7D,4EAAsE;AACtE,8CAA0C;AAC1C,uEAAkE;AAClE,2FAAqF;AACrF,iFAA2E;AAC3E,2EAAqE;AACrE,iFAA2E;AAC3E,qEAAgE;AAChE,yEAAoE;AACpE,+EAAyE;AACzE,yEAAoE;AACpE,qGAA+F;AAC/F,yEAAoE;AACpE,qEAAg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Z,8BAAa;QACb,iCAAc;QACd,iDAAsB;QACtB,6CAAoB;QACpB,0BAAW;QACX,wCAAkB;QAClB,4BAAY;QACZ,6CAAoB;QACpB,kCAAe;QACf,wBAAU;QACV,wBAAU;QACV,wBAAU;QACV,gCAAc;KACjB;IACD,WAAW,EAAE,CAAC,gCAAc,CAAC;CAChC,CAAC;AAEF,kBAAe,UAAU,CAAC"}
@@ -7,6 +7,7 @@ export * from './create.index.file';
7
7
  export * from './file.system.utility';
8
8
  export * from './process.audit.log.data';
9
9
  export * from './process.common.mail';
10
+ export * from './process.kaleyra.callback.response';
10
11
  export * from './process.kaleyra.sms';
11
12
  export * from './process.smtp.mail';
12
13
  export * from './set.sms.message';
@@ -23,6 +23,7 @@ __exportStar(require("./create.index.file"), exports);
23
23
  __exportStar(require("./file.system.utility"), exports);
24
24
  __exportStar(require("./process.audit.log.data"), exports);
25
25
  __exportStar(require("./process.common.mail"), exports);
26
+ __exportStar(require("./process.kaleyra.callback.response"), exports);
26
27
  __exportStar(require("./process.kaleyra.sms"), exports);
27
28
  __exportStar(require("./process.smtp.mail"), exports);
28
29
  __exportStar(require("./set.sms.message"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/platformUtility/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AAAA,iEAA+C;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,sDAAoC;AAAA,wDAAsC;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/platformUtility/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AAAA,iEAA+C;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,sDAAoC;AAAA,wDAAsC;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,sEAAoD;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,oDAAiC"}
@@ -0,0 +1,6 @@
1
+ import { SmsMessageEntity } from '../../system/entities/sms.message.entity';
2
+ import { KaleyraCallbackPayloadDto } from '../dtos/kaleyra.callback.payload.dto';
3
+ export declare class ProcessKaleyraCallbackResponse {
4
+ process(payload: KaleyraCallbackPayloadDto): Promise<SmsMessageEntity>;
5
+ private setUTCDate;
6
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProcessKaleyraCallbackResponse = void 0;
4
+ const date_fns_1 = require("date-fns");
5
+ const sms_message_entity_1 = require("../../system/entities/sms.message.entity");
6
+ class ProcessKaleyraCallbackResponse {
7
+ async process(payload) {
8
+ const message = await sms_message_entity_1.SmsMessageEntity.findOne({ where: { gateway_id: 1, identifier: payload.message_id } });
9
+ if (payload.status.toLowerCase() !== 'delivered')
10
+ return;
11
+ message.delivered_on = this.setUTCDate(new Date(payload.sent_time));
12
+ return message.save();
13
+ }
14
+ setUTCDate(date) {
15
+ const systemOffset = new Date().getTimezoneOffset();
16
+ return (0, date_fns_1.subMinutes)(date, systemOffset);
17
+ }
18
+ }
19
+ exports.ProcessKaleyraCallbackResponse = ProcessKaleyraCallbackResponse;
20
+ //# sourceMappingURL=process.kaleyra.callback.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process.kaleyra.callback.response.js","sourceRoot":"","sources":["../../../src/platformUtility/libraries/process.kaleyra.callback.response.ts"],"names":[],"mappings":";;;AAAA,uCAAsC;AACtC,iFAA4E;AAG5E,MAAa,8BAA8B;IACvC,KAAK,CAAC,OAAO,CAAC,OAAkC;QAC5C,MAAM,OAAO,GAAG,MAAM,qCAAgB,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QAE7G,IAAI,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,KAAK,WAAW;YAAE,OAAO;QACzD,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;QAEpE,OAAO,OAAO,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;IAEO,UAAU,CAAC,IAAU;QACzB,MAAM,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC,iBAAiB,EAAE,CAAC;QAEpD,OAAO,IAAA,qBAAU,EAAC,IAAI,EAAE,YAAY,CAAC,CAAC;IAC1C,CAAC;CACJ;AAfD,wEAeC"}
@@ -6,7 +6,7 @@ export declare class ProcessKaleyraSms {
6
6
  private readonly remoteRequestService;
7
7
  private readonly propertyService;
8
8
  constructor(remoteRequestService: RemoteRequestService, propertyService: PropertyService);
9
- send(data: SmsPayloadDto): Promise<any>;
9
+ send(data: SmsPayloadDto): Promise<import("..").RemoteRawResponseDto | SmsPayloadDto>;
10
10
  sendSms(message: SmsMessageEntity): Promise<SmsMessageEntity | "test-environment here">;
11
11
  private trigger;
12
12
  }
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProcessKaleyraSms = void 0;
4
4
  const qs = require("qs");
5
5
  const operation_exception_1 = require("../../common/exceptions/operation.exception");
6
- const custom_crypt_1 = require("../../common/libraries/custom.crypt");
7
6
  const platform_utility_1 = require("../../common/libraries/platform.utility");
8
7
  const sms_template_entity_1 = require("../../system/entities/sms.template.entity");
9
8
  class ProcessKaleyraSms {
@@ -22,41 +21,45 @@ class ProcessKaleyraSms {
22
21
  const template = await sms_template_entity_1.SmsTemplateEntity.first(message.template_id);
23
22
  template.message = message.content;
24
23
  const payload = { mobile: message.mobile, template, content: message.content };
25
- const identifier = await this.trigger(payload);
26
- message.identifier = identifier;
27
- if (template.attributes?.is_sensitive)
28
- message.content = custom_crypt_1.CustomCrypt.encrypt(message.content);
24
+ const response = await this.trigger(payload);
25
+ global.console.log('response', response);
26
+ if (Array.isArray(response?.data?.data)) {
27
+ message.identifier = response?.data?.data[0].message_id;
28
+ }
29
+ else {
30
+ message.attributes = { ...message.attributes, error: response };
31
+ }
29
32
  return message.save();
30
33
  }
31
34
  async trigger(data) {
32
35
  const key = await this.propertyService.get('kaleyra.api.key', false);
33
36
  const sid = await this.propertyService.get('kaleyra.api.sid', false);
37
+ const callbackProfileId = await this.propertyService.get('kaleyra.callback.identifier', false);
34
38
  if (!(key && sid))
35
39
  throw new operation_exception_1.OperationException(`kaleyra api keys are not setup properly`);
36
- const apiUrl = process.env.SERVER_URL;
37
- const type = data.template?.attributes?.type || 'TXN';
38
40
  const payload = {
39
41
  api_key: key,
42
+ method: 'sms',
40
43
  body: data.content,
41
44
  to: `+91${data.mobile}`,
45
+ type: data?.template?.attributes?.type || 'TXN',
46
+ source: 'API',
42
47
  sender: data.template.sender,
43
- type,
44
48
  entity_id: data.template.entity_identifier,
45
49
  template_id: data.template.template_identifier,
46
- callback: `${apiUrl}/capture-kaleyra-webhook`,
47
50
  };
51
+ if (callbackProfileId)
52
+ payload.callback_profile_id = callbackProfileId;
48
53
  const options = {
49
54
  method: 'POST',
50
55
  url: `https://api.kaleyra.io/v1/${sid}/messages`,
51
- params: payload,
52
56
  headers: {
53
- 'Content-Type': 'application/x-www-form-urlencoded',
57
+ 'content-type': 'application/x-www-form-urlencoded',
54
58
  'api-key': key,
55
59
  },
56
60
  data: qs.stringify(payload),
57
61
  };
58
- const response = await this.remoteRequestService.sendThroughAxios(options);
59
- return response.data[0].message_id;
62
+ return this.remoteRequestService.getRawResponse(options);
60
63
  }
61
64
  }
62
65
  exports.ProcessKaleyraSms = ProcessKaleyraSms;
@@ -1 +1 @@
1
- {"version":3,"file":"process.kaleyra.sms.js","sourceRoot":"","sources":["../../../src/platformUtility/libraries/process.kaleyra.sms.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AACzB,qFAAiF;AACjF,sEAAkE;AAClE,8EAA0E;A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
+ import { AwsConfigService } from './aws.config.service';
2
+ export declare class AwsSecretService {
3
+ private readonly awsConfigService;
4
+ private client;
5
+ constructor(awsConfigService: AwsConfigService);
6
+ private init;
7
+ private getClient;
8
+ getItem(key: string): Promise<any>;
9
+ private fetchItem;
10
+ }
@@ -0,0 +1,60 @@
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.AwsSecretService = void 0;
13
+ const client_secrets_manager_1 = require("@aws-sdk/client-secrets-manager");
14
+ const common_1 = require("@nestjs/common");
15
+ const operation_exception_1 = require("../../common/exceptions/operation.exception");
16
+ const aws_config_service_1 = require("./aws.config.service");
17
+ let AwsSecretService = class AwsSecretService {
18
+ constructor(awsConfigService) {
19
+ this.awsConfigService = awsConfigService;
20
+ this.client = null;
21
+ }
22
+ async init() {
23
+ const config = await this.awsConfigService.getConfigOrThrowException();
24
+ this.client = new client_secrets_manager_1.SecretsManagerClient({
25
+ credentials: { accessKeyId: config.key, secretAccessKey: config.secret },
26
+ region: config.region,
27
+ });
28
+ }
29
+ async getClient() {
30
+ if (!this.client)
31
+ await this.init();
32
+ if (!this.client)
33
+ throw new operation_exception_1.OperationException(`Secret service is not working`);
34
+ return this.client;
35
+ }
36
+ async getItem(key) {
37
+ try {
38
+ const response = await this.fetchItem(key);
39
+ if (response?.SecretString)
40
+ return response.SecretString;
41
+ }
42
+ catch (error) {
43
+ global.console.log('error-aws-secret', error);
44
+ }
45
+ }
46
+ async fetchItem(key) {
47
+ const client = await this.getClient();
48
+ const command = new client_secrets_manager_1.GetSecretValueCommand({
49
+ SecretId: key,
50
+ VersionStage: 'AWSCURRENT',
51
+ });
52
+ return client.send(command);
53
+ }
54
+ };
55
+ exports.AwsSecretService = AwsSecretService;
56
+ exports.AwsSecretService = AwsSecretService = __decorate([
57
+ (0, common_1.Injectable)(),
58
+ __metadata("design:paramtypes", [aws_config_service_1.AwsConfigService])
59
+ ], AwsSecretService);
60
+ //# sourceMappingURL=aws.secret.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws.secret.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/aws.secret.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4EAA8F;AAC9F,2CAA4C;AAC5C,qFAAiF;AAEjF,6DAAwD;AAQjD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAYzB,YAA6B,gBAAkC;QAAlC,qBAAgB,GAAhB,gBAAgB,CAAkB;QANvD,WAAM,GAAG,IAAI,CAAC;IAM4C,CAAC;IAO3D,KAAK,CAAC,IAAI;QACd,MAAM,MAAM,GAAiB,MAAM,IAAI,CAAC,gBAAgB,CAAC,yBAAyB,EAAE,CAAC;QAErF,IAAI,CAAC,MAAM,GAAG,IAAI,6CAAoB,CAAC;YACnC,WAAW,EAAE,EAAE,WAAW,EAAE,MAAM,CAAC,GAAG,EAAE,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE;YACxE,MAAM,EAAE,MAAM,CAAC,MAAM;SACxB,CAAC,CAAC;IACP,CAAC;IAQO,KAAK,CAAC,SAAS;QACnB,IAAI,CAAC,IAAI,CAAC,MAAM;YAAE,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;QACpC,IAAI,CAAC,IAAI,CAAC,MAAM;YAAE,MAAM,IAAI,wCAAkB,CAAC,+BAA+B,CAAC,CAAC;QAEhF,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAQD,KAAK,CAAC,OAAO,CAAC,GAAW;QACrB,IAAI;YACA,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;YAC3C,IAAI,QAAQ,EAAE,YAAY;gBAAE,OAAO,QAAQ,CAAC,YAAY,CAAC;SAC5D;QAAC,OAAO,KAAK,EAAE;YACZ,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;SACjD;IACL,CAAC;IASO,KAAK,CAAC,SAAS,CAAC,GAAW;QAC/B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACtC,MAAM,OAAO,GAAG,IAAI,8CAAqB,CAAC;YACtC,QAAQ,EAAE,GAAG;YACb,YAAY,EAAE,YAAY;SAC7B,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;CACJ,CAAA;AAxEY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;qCAasC,qCAAgB;GAZtD,gBAAgB,CAwE5B"}
@@ -1,5 +1,6 @@
1
1
  export * from './audit.service';
2
2
  export * from './aws.config.service';
3
+ export * from './aws.secret.service';
3
4
  export * from './cache.service';
4
5
  export * from './dynamo.service';
5
6
  export * from './fcm.notification.service';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./audit.service"), exports);
18
18
  __exportStar(require("./aws.config.service"), exports);
19
+ __exportStar(require("./aws.secret.service"), exports);
19
20
  __exportStar(require("./cache.service"), exports);
20
21
  __exportStar(require("./dynamo.service"), exports);
21
22
  __exportStar(require("./fcm.notification.service"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/platformUtility/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,kDAAgC;AAAA,mDAAiC;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,iDAA+B;AAAA,wDAAsC;AAAA,kDAAgC;AAAA,2DAAyC;AAAA,qDAAmC;AAAA,gDAA8B;AAAA,gDAA8B;AAAA,gDAA8B;AAAA,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/platformUtility/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,kDAAgC;AAAA,mDAAiC;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,iDAA+B;AAAA,wDAAsC;AAAA,kDAAgC;AAAA,2DAAyC;AAAA,qDAAmC;AAAA,gDAA8B;AAAA,gDAA8B;AAAA,gDAA8B;AAAA,oDAAiC"}
@@ -7,8 +7,8 @@ export declare class SmsService {
7
7
  private readonly remoteRequestService;
8
8
  private readonly propertyService;
9
9
  constructor(remoteRequestService: RemoteRequestService, propertyService: PropertyService);
10
- send(data: SmsPayloadDto): Promise<any>;
11
- setSms(payload: SetSmsPayloadDto): Promise<SmsMessageEntity | "test-environment here">;
12
- sendSms(message: SmsMessageEntity): Promise<SmsMessageEntity | "test-environment here">;
10
+ sendWithoutMessage(data: SmsPayloadDto): Promise<import("..").RemoteRawResponseDto | SmsPayloadDto>;
11
+ setAndSendMessage(payload: SetSmsPayloadDto): Promise<SmsMessageEntity | "test-environment here">;
12
+ sendMessage(message: SmsMessageEntity): Promise<SmsMessageEntity | "test-environment here">;
13
13
  private handleTestEnvironment;
14
14
  }
@@ -21,16 +21,16 @@ let SmsService = class SmsService {
21
21
  this.remoteRequestService = remoteRequestService;
22
22
  this.propertyService = propertyService;
23
23
  }
24
- async send(data) {
24
+ async sendWithoutMessage(data) {
25
25
  if (!platform_utility_1.PlatformUtility.isProductionEnvironment())
26
26
  return data;
27
27
  return new process_kaleyra_sms_1.ProcessKaleyraSms(this.remoteRequestService, this.propertyService).send(data);
28
28
  }
29
- async setSms(payload) {
29
+ async setAndSendMessage(payload) {
30
30
  const message = await new set_sms_message_1.SetSmsMessage().process(payload);
31
- return this.sendSms(message);
31
+ return this.sendMessage(message);
32
32
  }
33
- async sendSms(message) {
33
+ async sendMessage(message) {
34
34
  if (!platform_utility_1.PlatformUtility.isProductionEnvironment())
35
35
  return this.handleTestEnvironment(message);
36
36
  return new process_kaleyra_sms_1.ProcessKaleyraSms(this.remoteRequestService, this.propertyService).sendSms(message);
@@ -1 +1 @@
1
- {"version":3,"file":"sms.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/sms.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,8EAA0E;AAE1E,6EAAyE;AAGzE,0EAAqE;AACrE,kEAA6D;AAC7D,qEAAgE;AAGzD,IAAM,UAAU,GAAhB,MAAM,UAAU;IAMnB,YACqB,oBAA0C,EAC1C,eAAgC;QADhC,yBAAoB,GAApB,oBAAoB,CAAsB;QAC1C,oBAAe,GAAf,eAAe,CAAiB;IAClD,CAAC;IAQJ,KAAK,CAAC,IAAI,CAAC,IAAmB;QAC1B,IAAI,CAAC,kCAAe,CAAC,uBAAuB,EAAE;YAAE,OAAO,IAAI,CAAC;QAC5D,OAAO,IAAI,uCAAiB,CAAC,IAAI,CAAC,oBAAoB,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7F,CAAC;IAQD,KAAK,CAAC,MAAM,CAAC,OAAyB;QAClC,MAAM,OAAO,GAAG,MAAM,IAAI,+BAAa,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IAQD,KAAK,CAAC,OAAO,CAAC,OAAyB;QACnC,IAAI,CAAC,k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C,CAAC;IACrC,CAAC;IAQD,KAAK,CAAC,WAAW,CAAC,OAAyB;QACvC,IAAI,CAAC,kCAAe,CAAC,uBAAuB,EAAE;YAAE,OAAO,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;QAE3F,OAAO,IAAI,uCAAiB,CAAC,IAAI,CAAC,oBAAoB,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACnG,CAAC;IASO,KAAK,CAAC,qBAAqB,CAAC,OAAyB;QACzD,OAAO,CAAC,UAAU,GAAG,kBAAkB,CAAC;QACxC,OAAO,OAAO,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;CACJ,CAAA;AAxDY,gCAAU;qBAAV,UAAU;IADtB,IAAA,mBAAU,GAAE;qCAQkC,6CAAoB;QACzB,kCAAe;GAR5C,UAAU,CAwDtB"}
@@ -0,0 +1,7 @@
1
+ export declare class AddDirectMenuDto {
2
+ model_id: number;
3
+ module_id: number;
4
+ name: string;
5
+ url: string;
6
+ no_detail_page?: boolean;
7
+ }
@@ -0,0 +1,46 @@
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.AddDirectMenuDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class AddDirectMenuDto {
16
+ }
17
+ exports.AddDirectMenuDto = AddDirectMenuDto;
18
+ __decorate([
19
+ (0, class_transformer_1.Expose)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ (0, class_validator_1.IsNumber)(),
22
+ __metadata("design:type", Number)
23
+ ], AddDirectMenuDto.prototype, "model_id", void 0);
24
+ __decorate([
25
+ (0, class_transformer_1.Expose)(),
26
+ (0, class_validator_1.IsNotEmpty)(),
27
+ (0, class_validator_1.IsNumber)(),
28
+ __metadata("design:type", Number)
29
+ ], AddDirectMenuDto.prototype, "module_id", void 0);
30
+ __decorate([
31
+ (0, class_transformer_1.Expose)(),
32
+ (0, class_validator_1.IsNotEmpty)(),
33
+ __metadata("design:type", String)
34
+ ], AddDirectMenuDto.prototype, "name", void 0);
35
+ __decorate([
36
+ (0, class_transformer_1.Expose)(),
37
+ (0, class_validator_1.IsNotEmpty)(),
38
+ __metadata("design:type", String)
39
+ ], AddDirectMenuDto.prototype, "url", void 0);
40
+ __decorate([
41
+ (0, class_transformer_1.Expose)(),
42
+ (0, class_validator_1.IsOptional)(),
43
+ (0, class_validator_1.IsBoolean)(),
44
+ __metadata("design:type", Boolean)
45
+ ], AddDirectMenuDto.prototype, "no_detail_page", void 0);
46
+ //# sourceMappingURL=add.direct.menu.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add.direct.menu.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/add.direct.menu.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA8E;AAE9E,MAAa,gBAAgB;CAuB5B;AAvBD,4CAuBC;AAnBG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACM;AAKjB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACO;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;8CACA;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;6CACD;AAKZ;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;wDACa"}
@@ -1,4 +1,5 @@
1
1
  export * from './add.comment.dto';
2
+ export * from './add.direct.menu.dto';
2
3
  export * from './client.attributes.dto';
3
4
  export * from './client.credential.attributes.dto';
4
5
  export * from './client.credential.dto';
@@ -15,6 +15,7 @@ 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("./add.direct.menu.dto"), exports);
18
19
  __exportStar(require("./client.attributes.dto"), exports);
19
20
  __exportStar(require("./client.credential.attributes.dto"), exports);
20
21
  __exportStar(require("./client.credential.dto"), exports);
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAAA,wDAAsC;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"}
@@ -1,4 +1,5 @@
1
1
  import { CommonAttributesDto } from '../../platformUtility/dtos/common.attributes.dto';
2
2
  export declare class SmsMessageAttributesDto extends CommonAttributesDto {
3
3
  encrypt?: boolean;
4
+ error?: any;
4
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sms.message.attributes.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/sms.message.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,4FAAuF;AAEvF,MAAa,uBAAwB,SAAQ,2CAAmB;CAE/D;AAFD,0DAEC"}
1
+ {"version":3,"file":"sms.message.attributes.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/sms.message.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,4FAAuF;AAEvF,MAAa,uBAAwB,SAAQ,2CAAmB;CAG/D;AAHD,0DAGC"}
@@ -15,6 +15,7 @@ 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 { AddDirectMenuDto } from './dtos/add.direct.menu.dto';
18
19
  import { ClientCredentialAttributesDto } from './dtos/client.credential.attributes.dto';
19
20
  import { ClientCredentialDto } from './dtos/client.credential.dto';
20
21
  import { FileUploadDto } from './dtos/file.upload.dto';
@@ -107,6 +108,7 @@ import { BusinessRuleFilterValidator } from './libraries/business.rule.filter.va
107
108
  import { BusinessRuleQueryEvaluator } from './libraries/business.rule.query.evaluator';
108
109
  import { ColumnManager } from './libraries/column.manager';
109
110
  import { ModelSync } from './libraries/model.sync';
111
+ import { ProcessMenuCreation } from './libraries/process.menu.creation';
110
112
  import { SecurityRuleEvaluator } from './libraries/security.rule.evaluator';
111
113
  import { SyncDynamoTables } from './libraries/sync.dynamo.tables';
112
114
  import { MenuListModifier } from './modifiers/menu.list.modifier';
@@ -155,10 +157,10 @@ import { UserGroupRoleSubscriber } from './subscribers/user.group.role.subscribe
155
157
  declare const es6Classes: {
156
158
  commands: (typeof DbScannerCommand | typeof DynamoScannerCommand | typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof SyncAllCommand)[];
157
159
  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)[];
160
+ dtos: (typeof ClientCredentialAttributesDto | typeof ModelFormPreferenceCreationDto | typeof FileUploadSpecDto | typeof S3UploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof UserPreferenceCreationDto | typeof AddCommentDto | typeof AddDirectMenuDto | typeof ClientCredentialDto | typeof FileUploadDto | typeof JobRecordParamDto | typeof MailValidationDto | typeof MobileValidationDto | typeof ModelAllowedColumnDto | typeof OtpGenerationDto | typeof ValidationOptionsDto)[];
159
161
  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
162
  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)[];
161
- libraries: (typeof SyncDynamoTables | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator)[];
163
+ libraries: (typeof SyncDynamoTables | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator | typeof ProcessMenuCreation)[];
162
164
  modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
163
165
  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
166
  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)[];