@servicelabsco/nestjs-utility-services 1.1.84 → 1.1.85

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 (156) hide show
  1. package/dist/app.controller.d.ts +7 -4
  2. package/dist/app.controller.js +14 -5
  3. package/dist/app.controller.js.map +1 -1
  4. package/dist/app.module.js +0 -2
  5. package/dist/app.module.js.map +1 -1
  6. package/dist/app.service.d.ts +2 -2
  7. package/dist/app.service.js +1 -3
  8. package/dist/app.service.js.map +1 -1
  9. package/dist/auth/dtos/user.access.dto.d.ts +13 -12
  10. package/dist/auth/dtos/user.access.dto.js.map +1 -1
  11. package/dist/auth/entities/user.entity.js +0 -2
  12. package/dist/auth/entities/user.entity.js.map +1 -1
  13. package/dist/auth/es6.classes.d.ts +2 -1
  14. package/dist/auth/middlewares/jwt.middleware.d.ts +2 -2
  15. package/dist/auth/middlewares/jwt.middleware.js +2 -1
  16. package/dist/auth/middlewares/jwt.middleware.js.map +1 -1
  17. package/dist/auth/services/refresh.token.service.js +1 -2
  18. package/dist/auth/services/refresh.token.service.js.map +1 -1
  19. package/dist/common/es6.classes.js +2 -0
  20. package/dist/common/es6.classes.js.map +1 -1
  21. package/dist/common/libraries/common.mongo.entity.d.ts +21 -0
  22. package/dist/common/libraries/common.mongo.entity.js +121 -0
  23. package/dist/common/libraries/common.mongo.entity.js.map +1 -0
  24. package/dist/common/libraries/index.d.ts +1 -0
  25. package/dist/common/libraries/index.js +1 -0
  26. package/dist/common/libraries/index.js.map +1 -1
  27. package/dist/common/libraries/platform.utility.d.ts +1 -0
  28. package/dist/common/libraries/platform.utility.js +5 -0
  29. package/dist/common/libraries/platform.utility.js.map +1 -1
  30. package/dist/config/cache.config.d.ts +1 -0
  31. package/dist/config/cache.config.js +3 -2
  32. package/dist/config/cache.config.js.map +1 -1
  33. package/dist/config/mongo.config.d.ts +3 -0
  34. package/dist/config/mongo.config.js +25 -0
  35. package/dist/config/mongo.config.js.map +1 -0
  36. package/dist/migrations/1686046172898-CreateMailValidationTable.js +1 -1
  37. package/dist/migrations/1686048669716-CreateMobileValidationTable.js +1 -0
  38. package/dist/migrations/1686048669716-CreateMobileValidationTable.js.map +1 -1
  39. package/dist/platformUtility/es6.classes.d.ts +3 -4
  40. package/dist/platformUtility/es6.classes.js +0 -2
  41. package/dist/platformUtility/es6.classes.js.map +1 -1
  42. package/dist/platformUtility/jobs/record.watcher.job.js +1 -1
  43. package/dist/platformUtility/jobs/record.watcher.job.js.map +1 -1
  44. package/dist/platformUtility/libraries/index.d.ts +0 -1
  45. package/dist/platformUtility/libraries/index.js +0 -1
  46. package/dist/platformUtility/libraries/index.js.map +1 -1
  47. package/dist/platformUtility/platform.utility.module.js +2 -1
  48. package/dist/platformUtility/platform.utility.module.js.map +1 -1
  49. package/dist/platformUtility/services/audit.service.d.ts +1 -1
  50. package/dist/platformUtility/services/audit.service.js +10 -8
  51. package/dist/platformUtility/services/audit.service.js.map +1 -1
  52. package/dist/platformUtility/services/cache.service.d.ts +2 -2
  53. package/dist/platformUtility/services/cache.service.js +5 -5
  54. package/dist/platformUtility/services/cache.service.js.map +1 -1
  55. package/dist/platformUtility/services/mail.service.js +0 -3
  56. package/dist/platformUtility/services/mail.service.js.map +1 -1
  57. package/dist/platformUtility/services/sms.service.d.ts +3 -1
  58. package/dist/platformUtility/services/sms.service.js +7 -3
  59. package/dist/platformUtility/services/sms.service.js.map +1 -1
  60. package/dist/security/entities/permission.entity.js +0 -4
  61. package/dist/security/entities/permission.entity.js.map +1 -1
  62. package/dist/security/entities/role.entity.js +0 -5
  63. package/dist/security/entities/role.entity.js.map +1 -1
  64. package/dist/system/dtos/index.d.ts +4 -1
  65. package/dist/system/dtos/index.js +4 -1
  66. package/dist/system/dtos/index.js.map +1 -1
  67. package/dist/system/dtos/mail.validation.dto.d.ts +5 -0
  68. package/dist/system/dtos/mail.validation.dto.js +7 -0
  69. package/dist/system/dtos/mail.validation.dto.js.map +1 -0
  70. package/dist/system/dtos/{otp.validation.dto.d.ts → mobile.validation.dto.d.ts} +1 -1
  71. package/dist/system/dtos/mobile.validation.dto.js +7 -0
  72. package/dist/system/dtos/mobile.validation.dto.js.map +1 -0
  73. package/dist/system/dtos/sms.message.attributes.dto.d.ts +4 -0
  74. package/dist/system/dtos/sms.message.attributes.dto.js +8 -0
  75. package/dist/system/dtos/sms.message.attributes.dto.js.map +1 -0
  76. package/dist/system/dtos/validation.options.dto.d.ts +4 -0
  77. package/dist/system/dtos/validation.options.dto.js +7 -0
  78. package/dist/system/dtos/validation.options.dto.js.map +1 -0
  79. package/dist/system/entities/business.rule.entity.js +0 -13
  80. package/dist/system/entities/business.rule.entity.js.map +1 -1
  81. package/dist/system/entities/column.definition.entity.js +0 -4
  82. package/dist/system/entities/column.definition.entity.js.map +1 -1
  83. package/dist/system/entities/column.entity.js +0 -15
  84. package/dist/system/entities/column.entity.js.map +1 -1
  85. package/dist/system/entities/list.preference.entity.js +0 -4
  86. package/dist/system/entities/list.preference.entity.js.map +1 -1
  87. package/dist/system/entities/lookup.type.entity.js +0 -3
  88. package/dist/system/entities/lookup.type.entity.js.map +1 -1
  89. package/dist/system/entities/lookup.value.entity.js +0 -5
  90. package/dist/system/entities/lookup.value.entity.js.map +1 -1
  91. package/dist/system/entities/mail.validation.entity.d.ts +1 -1
  92. package/dist/system/entities/mail.validation.entity.js +1 -1
  93. package/dist/system/entities/menu.entity.js +0 -4
  94. package/dist/system/entities/menu.entity.js.map +1 -1
  95. package/dist/system/entities/menu.role.entity.js +0 -3
  96. package/dist/system/entities/menu.role.entity.js.map +1 -1
  97. package/dist/system/entities/model.entity.js +0 -9
  98. package/dist/system/entities/model.entity.js.map +1 -1
  99. package/dist/system/entities/model.relationship.entity.js +0 -2
  100. package/dist/system/entities/model.relationship.entity.js.map +1 -1
  101. package/dist/system/entities/module.entity.js +0 -4
  102. package/dist/system/entities/module.entity.js.map +1 -1
  103. package/dist/system/entities/module.menu.entity.js +0 -4
  104. package/dist/system/entities/module.menu.entity.js.map +1 -1
  105. package/dist/system/entities/page.definition.entity.js +0 -4
  106. package/dist/system/entities/page.definition.entity.js.map +1 -1
  107. package/dist/system/entities/parent.menu.entity.js +0 -3
  108. package/dist/system/entities/parent.menu.entity.js.map +1 -1
  109. package/dist/system/entities/relationship.entity.js +0 -10
  110. package/dist/system/entities/relationship.entity.js.map +1 -1
  111. package/dist/system/entities/security.rule.entity.js +0 -9
  112. package/dist/system/entities/security.rule.entity.js.map +1 -1
  113. package/dist/system/entities/sms.message.entity.d.ts +2 -1
  114. package/dist/system/entities/sms.message.entity.js +2 -1
  115. package/dist/system/entities/sms.message.entity.js.map +1 -1
  116. package/dist/system/entities/system.script.entity.js +0 -6
  117. package/dist/system/entities/system.script.entity.js.map +1 -1
  118. package/dist/system/entities/user.group.entity.js +0 -4
  119. package/dist/system/entities/user.group.entity.js.map +1 -1
  120. package/dist/system/entities/user.group.member.entity.js +0 -3
  121. package/dist/system/entities/user.group.member.entity.js.map +1 -1
  122. package/dist/system/entities/user.group.role.entity.js +0 -3
  123. package/dist/system/entities/user.group.role.entity.js.map +1 -1
  124. package/dist/system/entities/user.preference.entity.js +0 -4
  125. package/dist/system/entities/user.preference.entity.js.map +1 -1
  126. package/dist/system/es6.classes.d.ts +10 -6
  127. package/dist/system/es6.classes.js +12 -2
  128. package/dist/system/es6.classes.js.map +1 -1
  129. package/dist/system/jobs/index.d.ts +1 -0
  130. package/dist/system/jobs/index.js +1 -0
  131. package/dist/system/jobs/index.js.map +1 -1
  132. package/dist/system/jobs/sms.message.job.d.ts +12 -0
  133. package/dist/system/jobs/sms.message.job.js +39 -0
  134. package/dist/system/jobs/sms.message.job.js.map +1 -0
  135. package/dist/system/services/es6.jobs.service.d.ts +3 -1
  136. package/dist/system/services/es6.jobs.service.js +5 -1
  137. package/dist/system/services/es6.jobs.service.js.map +1 -1
  138. package/dist/system/services/mail.validation.service.d.ts +9 -2
  139. package/dist/system/services/mail.validation.service.js +67 -24
  140. package/dist/system/services/mail.validation.service.js.map +1 -1
  141. package/dist/system/services/mobile.validation.service.d.ts +8 -4
  142. package/dist/system/services/mobile.validation.service.js +51 -38
  143. package/dist/system/services/mobile.validation.service.js.map +1 -1
  144. package/dist/system/services/scheduled.event.service.js.map +1 -1
  145. package/dist/system/subscribers/index.d.ts +1 -0
  146. package/dist/system/subscribers/index.js +1 -0
  147. package/dist/system/subscribers/index.js.map +1 -1
  148. package/dist/system/subscribers/sms.message.subscriber.d.ts +12 -0
  149. package/dist/system/subscribers/sms.message.subscriber.js +39 -0
  150. package/dist/system/subscribers/sms.message.subscriber.js.map +1 -0
  151. package/package.json +5 -4
  152. package/dist/platformUtility/libraries/process.postmark.mail.d.ts +0 -9
  153. package/dist/platformUtility/libraries/process.postmark.mail.js +0 -44
  154. package/dist/platformUtility/libraries/process.postmark.mail.js.map +0 -1
  155. package/dist/system/dtos/otp.validation.dto.js +0 -7
  156. package/dist/system/dtos/otp.validation.dto.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"parent.menu.entity.js","sourceRoot":"","sources":["../../../src/system/entities/parent.menu.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA6C;AAC7C,qCAAgE;AAChE,wEAAoE;AACpE,+CAA2C;AASpC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4BAAY;CAgBjD,CAAA;AAfG;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;iDAAiB;AAEvD;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;wDAAwB;AAE9D;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;;oDAAiB;AAIhC;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC3B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAC1B,wBAAU;8CAAC;AAEjB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC3B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;8BAC1B,wBAAU;qDAAC;AAff,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,gBAAgB,CAgB5B;AAhBY,4CAAgB"}
1
+ {"version":3,"file":"parent.menu.entity.js","sourceRoot":"","sources":["../../../src/system/entities/parent.menu.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,qCAAgE;AAChE,wEAAoE;AACpE,+CAA2C;AASpC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4BAAY;CAgBjD,CAAA;AAfG;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,gBAAM,GAAE;;iDAAiB;AAExC;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,gBAAM,GAAE;;wDAAwB;AAE/C;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;;oDAAiB;AAIhC;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC3B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAC1B,wBAAU;8CAAC;AAEjB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC3B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;8BAC1B,wBAAU;qDAAC;AAff,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,gBAAgB,CAgB5B;AAhBY,4CAAgB"}
@@ -10,7 +10,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.RelationshipEntity = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
13
  const class_validator_1 = require("class-validator");
15
14
  const typeorm_1 = require("typeorm");
16
15
  const common_entity_1 = require("../../common/libraries/common.entity");
@@ -29,51 +28,42 @@ __decorate([
29
28
  ], RelationshipEntity.prototype, "source_id", void 0);
30
29
  __decorate([
31
30
  (0, class_validator_1.IsNotEmpty)(),
32
- (0, swagger_1.ApiProperty)(),
33
31
  (0, typeorm_1.Column)(),
34
32
  __metadata("design:type", String)
35
33
  ], RelationshipEntity.prototype, "name", void 0);
36
34
  __decorate([
37
35
  (0, class_validator_1.IsNotEmpty)(),
38
- (0, swagger_1.ApiProperty)(),
39
36
  (0, typeorm_1.Column)(),
40
37
  __metadata("design:type", String)
41
38
  ], RelationshipEntity.prototype, "display_name", void 0);
42
39
  __decorate([
43
40
  (0, class_validator_1.IsNotEmpty)(),
44
- (0, swagger_1.ApiProperty)(),
45
41
  (0, typeorm_1.Column)(),
46
42
  __metadata("design:type", String)
47
43
  ], RelationshipEntity.prototype, "description", void 0);
48
44
  __decorate([
49
45
  (0, class_validator_1.IsNotEmpty)(),
50
- (0, swagger_1.ApiProperty)(),
51
46
  (0, typeorm_1.Column)(),
52
47
  __metadata("design:type", String)
53
48
  ], RelationshipEntity.prototype, "join_definition", void 0);
54
49
  __decorate([
55
- (0, swagger_1.ApiPropertyOptional)(),
56
50
  (0, typeorm_1.Column)(),
57
51
  __metadata("design:type", Number)
58
52
  ], RelationshipEntity.prototype, "reference_type_id", void 0);
59
53
  __decorate([
60
- (0, swagger_1.ApiPropertyOptional)(),
61
54
  (0, typeorm_1.Column)(),
62
55
  __metadata("design:type", Number)
63
56
  ], RelationshipEntity.prototype, "reference_model_id", void 0);
64
57
  __decorate([
65
- (0, swagger_1.ApiPropertyOptional)(),
66
58
  (0, typeorm_1.Column)(),
67
59
  __metadata("design:type", Number)
68
60
  ], RelationshipEntity.prototype, "source_column_id", void 0);
69
61
  __decorate([
70
- (0, swagger_1.ApiPropertyOptional)(),
71
62
  (0, typeorm_1.Column)(),
72
63
  __metadata("design:type", Number)
73
64
  ], RelationshipEntity.prototype, "alias_column_id", void 0);
74
65
  __decorate([
75
66
  (0, class_validator_1.IsNotEmpty)(),
76
- (0, swagger_1.ApiProperty)(),
77
67
  (0, typeorm_1.Column)(),
78
68
  __metadata("design:type", String)
79
69
  ], RelationshipEntity.prototype, "default_ordering", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"relationship.entity.js","sourceRoot":"","sources":["../../../src/system/entities/relationship.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDAA6C;AAC7C,qCAAgE;AAChE,wEAAoE;AACpE,mDAA+C;AAC/C,+DAA0D;AAC1D,iDAA6C;AAStC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4BAAY;CAuCnD,CAAA;AAtCG;IAAC,IAAA,gBAAM,GAAE;;uDACW;AAEpB;IAAC,IAAA,gBAAM,GAAE;;qDACS;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,gBAAM,GAAE;;gDACI;AAEb;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;wDAAsB;AAC5D;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;uDAAqB;AAC3D;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;2DAAyB;AAC/D;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;6DAA2B;AAC3D;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;8DAA4B;AAC5D;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;4DAA0B;AAC1D;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;2DAAyB;AACzD;IAAC,IAAA,4BAAU,GAAE;IA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  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SecurityRuleEntity = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
13
  const class_validator_1 = require("class-validator");
15
14
  const typeorm_1 = require("typeorm");
16
15
  const common_entity_1 = require("../../common/libraries/common.entity");
@@ -19,46 +18,38 @@ let SecurityRuleEntity = class SecurityRuleEntity extends common_entity_1.Common
19
18
  };
20
19
  __decorate([
21
20
  (0, class_validator_1.IsNotEmpty)(),
22
- (0, swagger_1.ApiProperty)(),
23
21
  (0, typeorm_1.Column)(),
24
22
  __metadata("design:type", String)
25
23
  ], SecurityRuleEntity.prototype, "name", void 0);
26
24
  __decorate([
27
25
  (0, class_validator_1.IsNotEmpty)(),
28
- (0, swagger_1.ApiProperty)(),
29
26
  (0, typeorm_1.Column)(),
30
27
  __metadata("design:type", String)
31
28
  ], SecurityRuleEntity.prototype, "description", void 0);
32
29
  __decorate([
33
30
  (0, class_validator_1.IsNotEmpty)(),
34
- (0, swagger_1.ApiProperty)(),
35
31
  (0, typeorm_1.Column)(),
36
32
  __metadata("design:type", String)
37
33
  ], SecurityRuleEntity.prototype, "source_type", void 0);
38
34
  __decorate([
39
- (0, swagger_1.ApiPropertyOptional)(),
40
35
  (0, typeorm_1.Column)(),
41
36
  __metadata("design:type", Number)
42
37
  ], SecurityRuleEntity.prototype, "source_id", void 0);
43
38
  __decorate([
44
39
  (0, class_validator_1.IsNotEmpty)(),
45
- (0, swagger_1.ApiProperty)(),
46
40
  (0, typeorm_1.Column)(),
47
41
  __metadata("design:type", String)
48
42
  ], SecurityRuleEntity.prototype, "operation", void 0);
49
43
  __decorate([
50
44
  (0, class_validator_1.IsNotEmpty)(),
51
- (0, swagger_1.ApiProperty)(),
52
45
  (0, typeorm_1.Column)(),
53
46
  __metadata("design:type", Number)
54
47
  ], SecurityRuleEntity.prototype, "filter_condition_id", void 0);
55
48
  __decorate([
56
- (0, swagger_1.ApiPropertyOptional)(),
57
49
  (0, typeorm_1.Column)(),
58
50
  __metadata("design:type", Number)
59
51
  ], SecurityRuleEntity.prototype, "script_id", void 0);
60
52
  __decorate([
61
- (0, swagger_1.ApiPropertyOptional)(),
62
53
  (0, typeorm_1.Column)(),
63
54
  __metadata("design:type", Boolean)
64
55
  ], SecurityRuleEntity.prototype, "active", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"security.rule.entity.js","sourceRoot":"","sources":["../../../src/system/entities/security.rule.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDAA6C;AAC7C,qCAA+D;AAC/D,wEAAoE;AACpE,iEAA4D;AASrD,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4BAAY;CAoBnD,CAAA;AAnBG;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;gDAAc;AACpD;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;uDAAqB;AAC3D;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;uDAAqB;AAC3D;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;qDAAmB;AACnD;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;qDAAmB;AACzD;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;+DAA6B;AACnE;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;qDAAmB;AACnD;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;kDAAiB;AAEjD;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;;sDAAiB;AAGhC;IAAC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IAClC,I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AAC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IAClC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;8BAC1B,yCAAkB;4DAAC;AAnB5B,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,kBAAkB,CAoB9B;AApBY,gDAAkB"}
@@ -1,3 +1,4 @@
1
+ import { SmsMessageAttributesDto } from '../dtos/sms.message.attributes.dto';
1
2
  import { CommonEntity } from './../../common/libraries/common.entity';
2
3
  import { LookupValueEntity } from './lookup.value.entity';
3
4
  import { SmsTemplateEntity } from './sms.template.entity';
@@ -11,7 +12,7 @@ export declare class SmsMessageEntity extends CommonEntity {
11
12
  gateway_id: number;
12
13
  delivered_on: Date;
13
14
  identifier: string;
14
- attributes: any;
15
+ attributes: SmsMessageAttributesDto;
15
16
  template: SmsTemplateEntity;
16
17
  gateway: LookupValueEntity;
17
18
  }
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SmsMessageEntity = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
+ const sms_message_attributes_dto_1 = require("../dtos/sms.message.attributes.dto");
14
15
  const common_entity_1 = require("./../../common/libraries/common.entity");
15
16
  const lookup_value_entity_1 = require("./lookup.value.entity");
16
17
  const sms_template_entity_1 = require("./sms.template.entity");
@@ -54,7 +55,7 @@ __decorate([
54
55
  ], SmsMessageEntity.prototype, "identifier", void 0);
55
56
  __decorate([
56
57
  (0, typeorm_1.Column)('json'),
57
- __metadata("design:type", Object)
58
+ __metadata("design:type", sms_message_attributes_dto_1.SmsMessageAttributesDto)
58
59
  ], SmsMessageEntity.prototype, "attributes", void 0);
59
60
  __decorate([
60
61
  (0, typeorm_1.ManyToOne)(() => sms_template_entity_1.SmsTemplateEntity),
@@ -1 +1 @@
1
- {"version":3,"file":"sms.message.entity.js","sourceRoot":"","sources":["../../../src/system/entities/sms.message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,0EAAsE;AACtE,+DAA0D;AAC1D,+DAA0D;AASnD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4BAAY;CAkCjD,CAAA;AAjCG;IAAC,IAAA,gBAAM,GAAE;;qDACW;AAEpB;IAAC,IAAA,gBAAM,GAAE;;mDACS;AAElB;IAAC,IAAA,gBAAM,GAAE;;sDACY;AAErB;IAAC,IAAA,gBAAM,GAAE;;gDACM;AAEf;IAAC,IAAA,gBAAM,GAAE;;iDACO;AAEhB;IAAC,IAAA,gBAAM,GAAE;;qDACW;AAEpB;IAAC,IAAA,gBAAM,GAAE;;oDACU;AAEnB;IAAC,IAAA,gBAAM,GAAE;8BACK,IAAI;sDAAC;AAEnB;IAAC,IAAA,gBAAM,GAAE;;oDACU;AAEnB;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;;oDACC;AAGhB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,uCAAiB;kDAAC;AACrG;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAAU,uCAAiB;iDAAC;AAjC1F,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,gBAAgB,CAkC5B;AAlCY,4CAAgB"}
1
+ {"version":3,"file":"sms.message.entity.js","sourceRoot":"","sources":["../../../src/system/entities/sms.message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,mFAA6E;AAC7E,0EAAsE;AACtE,+DAA0D;AAC1D,+DAA0D;AASnD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4BAAY;CAkCjD,CAAA;AAjCG;IAAC,IAAA,gBAAM,GAAE;;qDACW;AAEpB;IAAC,IAAA,gBAAM,GAAE;;mDACS;AAElB;IAAC,IAAA,gBAAM,GAAE;;sDACY;AAErB;IAAC,IAAA,gBAAM,GAAE;;gDACM;AAEf;IAAC,IAAA,gBAAM,GAAE;;iDACO;AAEhB;IAAC,IAAA,gBAAM,GAAE;;qDACW;AAEpB;IAAC,IAAA,gBAAM,GAAE;;oDACU;AAEnB;IAAC,IAAA,gBAAM,GAAE;8BACK,IAAI;sDAAC;AAEnB;IAAC,IAAA,gBAAM,GAAE;;oDACU;AAEnB;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,oDAAuB;oDAAC;AAGpC;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAAW,uCAAiB;kDAAC;AACrG;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAAU,uCAAiB;iDAAC;AAjC1F,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,gBAAgB,CAkC5B;AAlCY,4CAAgB"}
@@ -10,7 +10,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SystemScriptEntity = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
13
  const class_validator_1 = require("class-validator");
15
14
  const typeorm_1 = require("typeorm");
16
15
  const common_entity_1 = require("../../common/libraries/common.entity");
@@ -19,29 +18,24 @@ let SystemScriptEntity = class SystemScriptEntity extends common_entity_1.Common
19
18
  };
20
19
  __decorate([
21
20
  (0, class_validator_1.IsNotEmpty)(),
22
- (0, swagger_1.ApiProperty)(),
23
21
  (0, typeorm_1.Column)(),
24
22
  __metadata("design:type", String)
25
23
  ], SystemScriptEntity.prototype, "name", void 0);
26
24
  __decorate([
27
- (0, swagger_1.ApiPropertyOptional)(),
28
25
  (0, typeorm_1.Column)(),
29
26
  __metadata("design:type", Number)
30
27
  ], SystemScriptEntity.prototype, "type_id", void 0);
31
28
  __decorate([
32
29
  (0, class_validator_1.IsNotEmpty)(),
33
- (0, swagger_1.ApiProperty)(),
34
30
  (0, typeorm_1.Column)(),
35
31
  __metadata("design:type", String)
36
32
  ], SystemScriptEntity.prototype, "source_type", void 0);
37
33
  __decorate([
38
- (0, swagger_1.ApiPropertyOptional)(),
39
34
  (0, typeorm_1.Column)(),
40
35
  __metadata("design:type", Number)
41
36
  ], SystemScriptEntity.prototype, "source_id", void 0);
42
37
  __decorate([
43
38
  (0, class_validator_1.IsNotEmpty)(),
44
- (0, swagger_1.ApiProperty)(),
45
39
  (0, typeorm_1.Column)(),
46
40
  __metadata("design:type", String)
47
41
  ], SystemScriptEntity.prototype, "script", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"system.script.entity.js","sourceRoot":"","sources":["../../../src/system/entities/system.script.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDAA6C;AAC7C,qCAAgE;AAChE,wEAAoE;AACpE,+DAA0D;AASnD,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4BAAY;CAanD,CAAA;AAZG;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;gDAAc;AACpD;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;mDAAiB;AACjD;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;uDAAqB;AAC3D;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;qDAAmB;AACnD;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;kDAAgB;AACtD;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;;sDAAiB;AAIhC;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;IAClC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAC1B,uCAAiB;gDAAC;AAZf,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,kBAAkB,CAa9B;AAbY,gDAAkB"}
1
+ {"version":3,"file":"system.script.entity.js","sourceRoot":"","sources":["../../../src/system/entities/system.script.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,qCAAgE;AAChE,wEAAoE;AACpE,+DAA0D;AASnD,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4BAAY;CAanD,CAAA;AAZG;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,gBAAM,GAAE;;gDAAc;AACrC;IAAC,IAAA,gBAAM,GAAE;;mDAAiB;AAC1B;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,gBAAM,GAAE;;uDAAqB;AAC5C;IAAC,IAAA,gBAAM,GAAE;;qDAAmB;AAC5B;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,gBAAM,GAAE;;kDAAgB;AACvC;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;;sDAAiB;AAIhC;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;IAClC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAC1B,uCAAiB;gDAAC;AAZf,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,kBAAkB,CAa9B;AAbY,gDAAkB"}
@@ -10,7 +10,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UserGroupEntity = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
13
  const class_validator_1 = require("class-validator");
15
14
  const typeorm_1 = require("typeorm");
16
15
  const creator_entity_1 = require("../../auth/entities/creator.entity");
@@ -22,18 +21,15 @@ let UserGroupEntity = class UserGroupEntity extends common_entity_1.CommonEntity
22
21
  };
23
22
  __decorate([
24
23
  (0, class_validator_1.IsNotEmpty)(),
25
- (0, swagger_1.ApiProperty)(),
26
24
  (0, typeorm_1.Column)(),
27
25
  __metadata("design:type", String)
28
26
  ], UserGroupEntity.prototype, "name", void 0);
29
27
  __decorate([
30
28
  (0, class_validator_1.IsNotEmpty)(),
31
- (0, swagger_1.ApiProperty)(),
32
29
  (0, typeorm_1.Column)(),
33
30
  __metadata("design:type", String)
34
31
  ], UserGroupEntity.prototype, "description", void 0);
35
32
  __decorate([
36
- (0, swagger_1.ApiPropertyOptional)(),
37
33
  (0, typeorm_1.Column)(),
38
34
  __metadata("design:type", Number)
39
35
  ], UserGroupEntity.prototype, "manager_id", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"user.group.entity.js","sourceRoot":"","sources":["../../../src/system/entities/user.group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDAA6C;AAC7C,qCAAkG;AAClG,uEAAmE;AACnE,wEAAoE;AACpE,qEAAiE;AACjE,yEAAmE;AACnE,qEAA+D;AASxD,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,4BAAY;CAyBhD,CAAA;AAxBG;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;6CAAc;AACpD;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;oDAAqB;AAC3D;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;mDAAoB;AAEpD;IAAC,IAAA,gBAA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C,MAAM,CAAC;;mDAAiB;AAGhC;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gDAAqB,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;;gDACvC;AAEjC;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4CAAmB,EAAE,CAAC,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,CAAC,UAAU,CAAC;;yDAChD;AAExC;IAAC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC5B,IAAA,mBAAS,EAAC;QACP,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE;QACrC,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KACzC,CAAC;;8CACkB;AAEpB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC;IAC9B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAC1B,8BAAa;gDAAC;AAxBd,eAAe;IAD3B,IAAA,gBAAM,EAAC,iBAAiB,CAAC;GACb,eAAe,CAyB3B;AAzBY,0CAAe"}
@@ -10,7 +10,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UserGroupMemberEntity = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
13
  const typeorm_1 = require("typeorm");
15
14
  const user_entity_1 = require("../../auth/entities/user.entity");
16
15
  const common_entity_1 = require("../../common/libraries/common.entity");
@@ -18,12 +17,10 @@ const user_group_entity_1 = require("./user.group.entity");
18
17
  let UserGroupMemberEntity = class UserGroupMemberEntity extends common_entity_1.CommonEntity {
19
18
  };
20
19
  __decorate([
21
- (0, swagger_1.ApiPropertyOptional)(),
22
20
  (0, typeorm_1.Column)(),
23
21
  __metadata("design:type", Number)
24
22
  ], UserGroupMemberEntity.prototype, "user_group_id", void 0);
25
23
  __decorate([
26
- (0, swagger_1.ApiPropertyOptional)(),
27
24
  (0, typeorm_1.Column)(),
28
25
  __metadata("design:type", Number)
29
26
  ], UserGroupMemberEntity.prototype, "user_id", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"user.group.member.entity.js","sourceRoot":"","sources":["../../../src/system/entities/user.group.member.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAsD;AACtD,qCAA+D;AAC/D,iEAA6D;AAC7D,wEAAoE;AACpE,2DAAsD;AAS/C,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,4BAAY;CActD,CAAA;AAbG;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;4DAAuB;AACvD;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;sDAAiB;AAEjD;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;;yDAAiB;AAGhC;IAAC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC1B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAC1B,wBAAU;mDAAC;AAEjB;IAAC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,mCAAe,CAAC;IAC/B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;8BAC1B,mCAAe;yDAAC;AAbnB,qBAAqB;IADjC,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,qBAAqB,CAcjC;AAdY,sDAAqB"}
1
+ {"version":3,"file":"user.group.member.entity.js","sourceRoot":"","sources":["../../../src/system/entities/user.group.member.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,iEAA6D;AAC7D,wEAAoE;AACpE,2DAAsD;AAS/C,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,4BAAY;CActD,CAAA;AAbG;IAAC,IAAA,gBAAM,GAAE;;4DAAuB;AAChC;IAAC,IAAA,gBAAM,GAAE;;sDAAiB;AAE1B;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;;yDAAiB;AAGhC;IAAC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC1B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAC1B,wBAAU;mDAAC;AAEjB;IAAC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,mCAAe,CAAC;IAC/B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;8BAC1B,mCAAe;yDAAC;AAbnB,qBAAqB;IADjC,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,qBAAqB,CAcjC;AAdY,sDAAqB"}
@@ -10,7 +10,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UserGroupRoleEntity = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
13
  const typeorm_1 = require("typeorm");
15
14
  const common_entity_1 = require("../../common/libraries/common.entity");
16
15
  const role_entity_1 = require("../../security/entities/role.entity");
@@ -18,12 +17,10 @@ const user_group_entity_1 = require("./user.group.entity");
18
17
  let UserGroupRoleEntity = class UserGroupRoleEntity extends common_entity_1.CommonEntity {
19
18
  };
20
19
  __decorate([
21
- (0, swagger_1.ApiPropertyOptional)(),
22
20
  (0, typeorm_1.Column)(),
23
21
  __metadata("design:type", Number)
24
22
  ], UserGroupRoleEntity.prototype, "user_group_id", void 0);
25
23
  __decorate([
26
- (0, swagger_1.ApiPropertyOptional)(),
27
24
  (0, typeorm_1.Column)(),
28
25
  __metadata("design:type", Number)
29
26
  ], UserGroupRoleEntity.prototype, "role_id", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"user.group.role.entity.js","sourceRoot":"","sources":["../../../src/system/entities/user.group.role.entity.ts"],"names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S,EAAE,CAAC;8BAC1B,wBAAU;iDAAC;AAEjB;IAAC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,mCAAe,CAAC;IAC/B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;8BAC1B,mCAAe;uDAAC;AAbnB,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,mBAAmB,CAc/B;AAdY,kDAAmB"}
@@ -10,26 +10,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UserPreferenceEntity = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
13
  const class_validator_1 = require("class-validator");
15
14
  const typeorm_1 = require("typeorm");
16
15
  const common_entity_1 = require("../../common/libraries/common.entity");
17
16
  let UserPreferenceEntity = class UserPreferenceEntity extends common_entity_1.CommonEntity {
18
17
  };
19
18
  __decorate([
20
- (0, swagger_1.ApiPropertyOptional)(),
21
19
  (0, typeorm_1.Column)(),
22
20
  __metadata("design:type", Number)
23
21
  ], UserPreferenceEntity.prototype, "user_id", void 0);
24
22
  __decorate([
25
23
  (0, class_validator_1.IsNotEmpty)(),
26
- (0, swagger_1.ApiProperty)(),
27
24
  (0, typeorm_1.Column)(),
28
25
  __metadata("design:type", String)
29
26
  ], UserPreferenceEntity.prototype, "name", void 0);
30
27
  __decorate([
31
28
  (0, class_validator_1.IsNotEmpty)(),
32
- (0, swagger_1.ApiProperty)(),
33
29
  (0, typeorm_1.Column)('json'),
34
30
  __metadata("design:type", Object)
35
31
  ], UserPreferenceEntity.prototype, "value", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"user.preference.entity.js","sourceRoot":"","sources":["../../../src/system/entities/user.preference.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDAA6C;AAC7C,qCAAyC;AACzC,wEAAoE;AAS7D,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,4BAAY;CASrD,CAAA;AARG;IAAC,IAAA,6BAAmB,GAAE;IAAE,IAAA,gBAAM,GAAE;;qDAAiB;AAEjD;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,GAAE;;kDAAc;AACpD;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,qBAAW,GAAE;IAAE,IAAA,gBAAM,EAAC,MAAM,CAAC;;mDAAY;AAExD;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;;wDAAiB;AANvB,oBAAoB;IADhC,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,oBAAoB,CAShC;AATY,oDAAoB"}
1
+ {"version":3,"file":"user.preference.entity.js","sourceRoot":"","sources":["../../../src/system/entities/user.preference.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,qCAAyC;AACzC,wEAAoE;AAS7D,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,4BAAY;CASrD,CAAA;AARG;IAAC,IAAA,gBAAM,GAAE;;qDAAiB;AAE1B;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,gBAAM,GAAE;;kDAAc;AACrC;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,gBAAM,EAAC,MAAM,CAAC;;mDAAY;AAEzC;IAAC,IAAA,gBAAM,EAAC,MAAM,CAAC;;wDAAiB;AANvB,oBAAoB;IADhC,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,oBAAoB,CAShC;AATY,oDAAoB"}
@@ -20,13 +20,15 @@ import { FileUploadSpecDto } from './dtos/file.upload.spec.dto';
20
20
  import { JobRecordParamDto } from './dtos/job.record.param.dto';
21
21
  import { LocalFileS3UploadDto } from './dtos/local.file.s3.upload.dto';
22
22
  import { MailValidationAttributesDto } from './dtos/mail.validation.attributes.dto';
23
+ import { MailValidationDto } from './dtos/mail.validation.dto';
24
+ import { MobileValidationDto } from './dtos/mobile.validation.dto';
23
25
  import { ModelAllowedColumnDto } from './dtos/model.allowed.column.dto';
24
26
  import { ModelFormPreferenceCreationDto } from './dtos/model.form.preference.creation.dto';
25
27
  import { OtpGenerationDto } from './dtos/otp.generation.dto';
26
- import { OtpValidationDto } from './dtos/otp.validation.dto';
27
28
  import { S3ObjectInfoDto } from './dtos/s3.object.info.dto';
28
29
  import { S3UploadOptionsDto } from './dtos/s3.upload.options.dto';
29
30
  import { UserPreferenceCreationDto } from './dtos/user.preference.creation.dto';
31
+ import { ValidationOptionsDto } from './dtos/validation.options.dto';
30
32
  import { BusinessRuleEntity } from './entities/business.rule.entity';
31
33
  import { BusinessRuleRoleEntity } from './entities/business.rule.role.entity';
32
34
  import { ChartEntity } from './entities/chart.entity';
@@ -88,6 +90,7 @@ import { RelationshipMapperJob } from './jobs/relationship.mapper.job';
88
90
  import { ReportColumnSyncJob } from './jobs/report.column.sync.job';
89
91
  import { ScheduledEventJob } from './jobs/scheduled.event.job';
90
92
  import { ScheduledEventsJob } from './jobs/scheduled.events.job';
93
+ import { SmsMessageJob } from './jobs/sms.message.job';
91
94
  import { UserGroupMemberJob } from './jobs/user.group.member.job';
92
95
  import { UserGroupPermissionJob } from './jobs/user.group.permission.job';
93
96
  import { UserGroupRoleJob } from './jobs/user.group.role.job';
@@ -130,18 +133,19 @@ import { MobileValidationSubscriber } from './subscribers/mobile.validation.subs
130
133
  import { PropertySubscriber } from './subscribers/property.subscriber';
131
134
  import { RelationshipSubscriber } from './subscribers/relationship.subscriber';
132
135
  import { ScheduledEventSubscriber } from './subscribers/scheduled.event.subscriber';
136
+ import { SmsMessageSubscriber } from './subscribers/sms.message.subscriber';
133
137
  import { UserGroupMemberSubscriber } from './subscribers/user.group.member.subscriber';
134
138
  import { UserGroupPermissionSubscriber } from './subscribers/user.group.permission.subscriber';
135
139
  import { UserGroupRoleSubscriber } from './subscribers/user.group.role.subscriber';
136
140
  declare const es6Classes: {
137
141
  commands: (typeof DbScannerCommand | typeof DynamoScannerCommand | typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof SyncAllCommand)[];
138
- controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof ReportController | typeof UploadController | typeof UserPreferenceController)[];
139
- dtos: (typeof MailValidationAttributesDto | typeof ModelFormPreferenceCreationDto | typeof S3UploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof FileUploadSpecDto | typeof UserPreferenceCreationDto | typeof AddCommentDto | typeof FileUploadDto | typeof JobRecordParamDto | typeof ModelAllowedColumnDto | typeof OtpGenerationDto | typeof OtpValidationDto)[];
140
- 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 ClientScriptEntity | typeof CommentEntity | typeof DocumentEntity | typeof DynamoTableEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof ReportColumnEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ServiceEntity | typeof SecurityRuleEntity | typeof MailLogEntity | typeof MailValidationEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof MobileValidationEntity | typeof OpenPropertyEntity | typeof ReportFilterEntity | typeof ScheduledEventEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
141
- jobs: (typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof ScheduledEventJob | typeof CleanScheduledEventJob | typeof ColumnMapperJob | typeof MailValidationJob | typeof MobileValidationJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof RelationshipMapperJob | typeof ScheduledEventsJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
142
+ controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof UploadController | typeof UserPreferenceController | typeof ReportController)[];
143
+ dtos: (typeof MailValidationAttributesDto | typeof ModelFormPreferenceCreationDto | typeof S3UploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof FileUploadSpecDto | typeof UserPreferenceCreationDto | typeof AddCommentDto | typeof FileUploadDto | typeof JobRecordParamDto | typeof MailValidationDto | typeof MobileValidationDto | typeof ModelAllowedColumnDto | typeof OtpGenerationDto | typeof ValidationOptionsDto)[];
144
+ 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 ClientScriptEntity | typeof CommentEntity | typeof DocumentEntity | typeof DynamoTableEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof ReportColumnEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ServiceEntity | typeof SecurityRuleEntity | typeof MailLogEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof MailValidationEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof MobileValidationEntity | typeof OpenPropertyEntity | typeof ReportFilterEntity | typeof ScheduledEventEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
145
+ jobs: (typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof ScheduledEventJob | typeof CleanScheduledEventJob | typeof ColumnMapperJob | typeof MailValidationJob | typeof MobileValidationJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof RelationshipMapperJob | typeof ScheduledEventsJob | typeof SmsMessageJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
142
146
  libraries: (typeof SyncDynamoTables | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator)[];
143
147
  modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
144
148
  services: (typeof PropertyService | typeof EventQueueService | typeof EventDetailService | typeof SecurityRuleService | typeof UiActionService | typeof ModelService | typeof CommonService | typeof ClientScriptService | typeof PreferenceService | typeof BusinessRuleService | typeof ListService | typeof FormService | typeof MenuService | typeof UserPreferenceService | typeof ReportService | typeof AwsS3Service | typeof UploadService | typeof ScheduledEventService | typeof ColumnService | typeof CommentService | typeof DocumentService | typeof MailValidationService | typeof MobileValidationService | typeof Es6JobsService | typeof Es6Service)[];
145
- subscribers: (typeof ColumnSubscriber | typeof MailValidationSubscriber | typeof MobileValidationSubscriber | typeof PropertySubscriber | typeof RelationshipSubscriber | typeof ScheduledEventSubscriber | typeof UserGroupMemberSubscriber | typeof UserGroupPermissionSubscriber | typeof UserGroupRoleSubscriber)[];
149
+ subscribers: (typeof ColumnSubscriber | typeof MailValidationSubscriber | typeof MobileValidationSubscriber | typeof PropertySubscriber | typeof RelationshipSubscriber | typeof ScheduledEventSubscriber | typeof SmsMessageSubscriber | typeof UserGroupMemberSubscriber | typeof UserGroupPermissionSubscriber | typeof UserGroupRoleSubscriber)[];
146
150
  };
147
151
  export default es6Classes;
@@ -24,15 +24,18 @@ const file_upload_spec_dto_1 = require("./dtos/file.upload.spec.dto");
24
24
  const job_record_param_dto_1 = require("./dtos/job.record.param.dto");
25
25
  const local_file_s3_upload_dto_1 = require("./dtos/local.file.s3.upload.dto");
26
26
  const mail_validation_attributes_dto_1 = require("./dtos/mail.validation.attributes.dto");
27
+ const mail_validation_dto_1 = require("./dtos/mail.validation.dto");
27
28
  const menu_list_preference_creation_dto_1 = require("./dtos/menu.list.preference.creation.dto");
28
29
  const mobile_validation_attributes_dto_1 = require("./dtos/mobile.validation.attributes.dto");
30
+ const mobile_validation_dto_1 = require("./dtos/mobile.validation.dto");
29
31
  const model_allowed_column_dto_1 = require("./dtos/model.allowed.column.dto");
30
32
  const model_form_preference_creation_dto_1 = require("./dtos/model.form.preference.creation.dto");
31
33
  const otp_generation_dto_1 = require("./dtos/otp.generation.dto");
32
- const otp_validation_dto_1 = require("./dtos/otp.validation.dto");
33
34
  const s3_object_info_dto_1 = require("./dtos/s3.object.info.dto");
34
35
  const s3_upload_options_dto_1 = require("./dtos/s3.upload.options.dto");
36
+ const sms_message_attributes_dto_1 = require("./dtos/sms.message.attributes.dto");
35
37
  const user_preference_creation_dto_1 = require("./dtos/user.preference.creation.dto");
38
+ const validation_options_dto_1 = require("./dtos/validation.options.dto");
36
39
  const business_rule_entity_1 = require("./entities/business.rule.entity");
37
40
  const business_rule_role_entity_1 = require("./entities/business.rule.role.entity");
38
41
  const chart_entity_1 = require("./entities/chart.entity");
@@ -101,6 +104,7 @@ const relationship_mapper_job_1 = require("./jobs/relationship.mapper.job");
101
104
  const report_column_sync_job_1 = require("./jobs/report.column.sync.job");
102
105
  const scheduled_event_job_1 = require("./jobs/scheduled.event.job");
103
106
  const scheduled_events_job_1 = require("./jobs/scheduled.events.job");
107
+ const sms_message_job_1 = require("./jobs/sms.message.job");
104
108
  const user_group_member_job_1 = require("./jobs/user.group.member.job");
105
109
  const user_group_permission_job_1 = require("./jobs/user.group.permission.job");
106
110
  const user_group_role_job_1 = require("./jobs/user.group.role.job");
@@ -143,6 +147,7 @@ const mobile_validation_subscriber_1 = require("./subscribers/mobile.validation.
143
147
  const property_subscriber_1 = require("./subscribers/property.subscriber");
144
148
  const relationship_subscriber_1 = require("./subscribers/relationship.subscriber");
145
149
  const scheduled_event_subscriber_1 = require("./subscribers/scheduled.event.subscriber");
150
+ const sms_message_subscriber_1 = require("./subscribers/sms.message.subscriber");
146
151
  const user_group_member_subscriber_1 = require("./subscribers/user.group.member.subscriber");
147
152
  const user_group_permission_subscriber_1 = require("./subscribers/user.group.permission.subscriber");
148
153
  const user_group_role_subscriber_1 = require("./subscribers/user.group.role.subscriber");
@@ -176,15 +181,18 @@ const es6Classes = {
176
181
  job_record_param_dto_1.JobRecordParamDto,
177
182
  local_file_s3_upload_dto_1.LocalFileS3UploadDto,
178
183
  mail_validation_attributes_dto_1.MailValidationAttributesDto,
184
+ mail_validation_dto_1.MailValidationDto,
179
185
  menu_list_preference_creation_dto_1.MenuListPreferenceCreationDto,
180
186
  mobile_validation_attributes_dto_1.MobileValidationAttributesDto,
187
+ mobile_validation_dto_1.MobileValidationDto,
181
188
  model_allowed_column_dto_1.ModelAllowedColumnDto,
182
189
  model_form_preference_creation_dto_1.ModelFormPreferenceCreationDto,
183
190
  otp_generation_dto_1.OtpGenerationDto,
184
- otp_validation_dto_1.OtpValidationDto,
185
191
  s3_object_info_dto_1.S3ObjectInfoDto,
186
192
  s3_upload_options_dto_1.S3UploadOptionsDto,
193
+ sms_message_attributes_dto_1.SmsMessageAttributesDto,
187
194
  user_preference_creation_dto_1.UserPreferenceCreationDto,
195
+ validation_options_dto_1.ValidationOptionsDto,
188
196
  ],
189
197
  entities: [
190
198
  business_rule_entity_1.BusinessRuleEntity,
@@ -257,6 +265,7 @@ const es6Classes = {
257
265
  report_column_sync_job_1.ReportColumnSyncJob,
258
266
  scheduled_event_job_1.ScheduledEventJob,
259
267
  scheduled_events_job_1.ScheduledEventsJob,
268
+ sms_message_job_1.SmsMessageJob,
260
269
  user_group_member_job_1.UserGroupMemberJob,
261
270
  user_group_permission_job_1.UserGroupPermissionJob,
262
271
  user_group_role_job_1.UserGroupRoleJob,
@@ -297,6 +306,7 @@ const es6Classes = {
297
306
  property_subscriber_1.PropertySubscriber,
298
307
  relationship_subscriber_1.RelationshipSubscriber,
299
308
  scheduled_event_subscriber_1.ScheduledEventSubscriber,
309
+ sms_message_subscriber_1.SmsMessageSubscriber,
300
310
  user_group_member_subscriber_1.UserGroupMemberSubscriber,
301
311
  user_group_permission_subscriber_1.UserGroupPermissionSubscriber,
302
312
  user_group_role_subscriber_1.UserGroupRoleSubscriber,
@@ -1 +1 @@
1
- {"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,8EAAyE;AACzE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAAyE;AACzE,gFAA2E;AAC3E,kEAA6D;AAC7D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,+EAA2E;AAC3E,uEAAmE;AACnE,uEAAmE;AACnE,yFAAoF;AACpF,4DAAuD;AACvD,0EAAqE;AACrE,4EAAuE;AACvE,4DAAuD;AACvD,sEAAgE;AAChE,sEAAgE;AAChE,8EAAuE;AACvE,0FAAoF;AACpF,gGAAyF;AACzF,8FAAwF;AACxF,8EAAwE;AACxE,kGAA2F;AAC3F,kEAA6D;AAC7D,kEAA6D;AAC7D,kEAA4D;AAC5D,wEAAkE;AAClE,sFAAgF;AAChF,0EAAqE;AACrE,oFAA8E;AAC9E,0DAAsD;AACtD,0EAAqE;AACrE,kFAA6E;AAC7E,4DAAwD;AACxD,8DAA0D;AAC1D,gEAA4D;AAC5D,wEAAmE;AACnE,4EAAuE;AACvE,wEAAmE;AACnE,sEAAiE;AACjE,sEAAiE;AACjE,w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zB,gEAA6B;QAC7B,oDAAuB;KAC1B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,8EAAyE;AACzE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAAyE;AACzE,gFAA2E;AAC3E,kEAA6D;AAC7D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,+EAA2E;AAC3E,uEAAmE;AACnE,uEAAmE;AACnE,yFAAoF;AACpF,4DAAuD;AACvD,0EAAqE;AACrE,4EAAuE;AACvE,4DAAuD;AACvD,sEAAgE;AAChE,sEAAgE;AAChE,8EAAuE;AACvE,0FAAoF;AACpF,oEAA+D;AAC/D,gGAAyF;AACzF,8FAAwF;AACxF,wEAAmE;AACnE,8EAAwE;AACxE,kGAA2F;AAC3F,kEAA6D;AAC7D,kEAA4D;AAC5D,wEAAkE;AAClE,kFAA4E;AAC5E,sFAAgF;AAChF,0EAAqE;AACrE,0EAAqE;AACrE,oFAA8E;AAC9E,0DAAsD;AACtD,0EAAqE;AACrE,kFAA6E;AAC7E,4DAAwD;AACxD,8DAA0D;AAC1D,gEAA4D;AAC5D,wEAAmE;AACnE,4EAAuE;AACvE,wEAAmE;AACnE,sEAAiE;AACjE,sEAAiE;AACjE,wDAAoD;AACpD,8EAAyE;AACzE,8EAAyE;AACzE,sEAAiE;AACjE,wEAAmE;AACnE,gEAA2D;AAC3D,8EAAyE;AACzE,wDAAoD;AACpD,kEAA6D;AAC7D,kFAA6E;AAC7E,wEAAmE;AACnE,0DAAsD;AACtD,oFAA+E;AAC/E,oEAA+D;AAC/D,4DAAwD;AACxD,sEAAiE;AACjE,0EAAqE;AACrE,8EAAyE;AACzE,sEAAiE;AACjE,wEAAmE;AACnE,gEAA4D;AAC5D,wEAAoE;AACpE,0EAAqE;AACrE,4DAAwD;A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wB;QACxB,0CAAkB;QAClB,mCAAe;QACf,gDAAqB;QACrB,wDAAyB;QACzB,4CAAmB;QACnB,6CAAoB;QACpB,iDAAsB;KACzB;IACD,IAAI,EAAE;QACF,kDAAsB;QACtB,mCAAe;QACf,uCAAiB;QACjB,2CAAmB;QACnB,mCAAe;QACf,0BAAW;QACX,oDAAuB;QACvB,+CAAqB;QACrB,4CAAmB;QACnB,uCAAiB;QACjB,yCAAkB;QAClB,+BAAa;QACb,0CAAkB;QAClB,kDAAsB;QACtB,sCAAgB;KACnB;IACD,SAAS,EAAE,CAAC,4DAA2B,EAAE,0DAA0B,EAAE,8BAAa,EAAE,sBAAS,EAAE,+CAAqB,EAAE,qCAAgB,CAAC;IACvI,SAAS,EAAE,CAAC,qCAAgB,EAAE,yCAAkB,CAAC;IACjD,QAAQ,EAAE;QACN,6BAAY;QACZ,2CAAmB;QACnB,2CAAmB;QACnB,8BAAa;QACb,gCAAc;QACd,8BAAa;QACb,kCAAe;QACf,iCAAc;QACd,wBAAU;QACV,yCAAkB;QAClB,uCAAiB;QACjB,0BAAW;QACX,0BAAW;QACX,+CAAqB;QACrB,0BAAW;QACX,mDAAuB;QACvB,4BAAY;QACZ,sCAAiB;QACjB,kCAAe;QACf,8BAAa;QACb,+CAAqB;QACrB,2CAAmB;QACnB,mCAAe;QACf,8BAAa;QACb,+CAAqB;KACxB;IACD,WAAW,EAAE;QACT,oCAAgB;QAChB,qDAAwB;QACxB,yDAA0B;QAC1B,wCAAkB;QAClB,gDAAsB;QACtB,qDAAwB;QACxB,6CAAoB;QACpB,wDAAyB;QACzB,gEAA6B;QAC7B,oDAAuB;KAC1B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
@@ -9,6 +9,7 @@ export * from './relationship.mapper.job';
9
9
  export * from './report.column.sync.job';
10
10
  export * from './scheduled.event.job';
11
11
  export * from './scheduled.events.job';
12
+ export * from './sms.message.job';
12
13
  export * from './user.group.member.job';
13
14
  export * from './user.group.permission.job';
14
15
  export * from './user.group.role.job';
@@ -25,6 +25,7 @@ __exportStar(require("./relationship.mapper.job"), exports);
25
25
  __exportStar(require("./report.column.sync.job"), exports);
26
26
  __exportStar(require("./scheduled.event.job"), exports);
27
27
  __exportStar(require("./scheduled.events.job"), exports);
28
+ __exportStar(require("./sms.message.job"), exports);
28
29
  __exportStar(require("./user.group.member.job"), exports);
29
30
  __exportStar(require("./user.group.permission.job"), exports);
30
31
  __exportStar(require("./user.group.role.job"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,sDAAoC;AACpC,wDAAsC;AACtC,0DAAwC;AACxC,sDAAoC;AACpC,iDAA+B;AAC/B,+DAA6C;AAC7C,4DAA0C;AAC1C,2DAAyC;AACzC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,8DAA4C;AAC5C,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,sDAAoC;AACpC,wDAAsC;AACtC,0DAAwC;AACxC,sDAAoC;AACpC,iDAA+B;AAC/B,+DAA6C;AAC7C,4DAA0C;AAC1C,2DAAyC;AACzC,wDAAsC;AACtC,yDAAuC;AACvC,oDAAkC;AAClC,0DAAwC;AACxC,8DAA4C;AAC5C,wDAAsC"}
@@ -0,0 +1,12 @@
1
+ import { DatabaseEventDto } from '../../common/dtos/database.event.dto';
2
+ import { CommonJob } from '../../common/libraries/common.job';
3
+ import { QueueService } from '../../platformUtility/services/queue.service';
4
+ import { SmsService } from '../../platformUtility/services/sms.service';
5
+ import { SmsMessageEntity } from '../entities/sms.message.entity';
6
+ export declare class SmsMessageJob extends CommonJob {
7
+ protected readonly queueService: QueueService;
8
+ private readonly smsService;
9
+ constructor(queueService: QueueService, smsService: SmsService);
10
+ handle(evt: DatabaseEventDto<SmsMessageEntity>): Promise<void>;
11
+ private sendMessage;
12
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.SmsMessageJob = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const common_job_1 = require("../../common/libraries/common.job");
15
+ const queue_service_1 = require("../../platformUtility/services/queue.service");
16
+ const sms_service_1 = require("../../platformUtility/services/sms.service");
17
+ const sms_message_entity_1 = require("../entities/sms.message.entity");
18
+ let SmsMessageJob = class SmsMessageJob extends common_job_1.CommonJob {
19
+ constructor(queueService, smsService) {
20
+ super();
21
+ this.queueService = queueService;
22
+ this.smsService = smsService;
23
+ }
24
+ async handle(evt) {
25
+ await this.sendMessage(evt);
26
+ }
27
+ async sendMessage(evt) {
28
+ if (!this.isNewRecord(evt))
29
+ return;
30
+ const message = await sms_message_entity_1.SmsMessageEntity.first(evt.entity.id);
31
+ return this.smsService.sendSms(message);
32
+ }
33
+ };
34
+ SmsMessageJob = __decorate([
35
+ (0, common_1.Injectable)(),
36
+ __metadata("design:paramtypes", [queue_service_1.QueueService, sms_service_1.SmsService])
37
+ ], SmsMessageJob);
38
+ exports.SmsMessageJob = SmsMessageJob;
39
+ //# sourceMappingURL=sms.message.job.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms.message.job.js","sourceRoot":"","sources":["../../../src/system/jobs/sms.message.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAE5C,kEAA8D;AAC9D,gFAA4E;AAC5E,4EAAwE;AACxE,uEAAkE;AAG3D,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,sBAAS;IACxC,YAA+B,YAA0B,EAAmB,UAAsB;QAC9F,KAAK,EAAE,CAAC;QADmB,iBAAY,GAAZ,YAAY,CAAc;QAAmB,eAAU,GAAV,UAAU,CAAY;IAElG,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,GAAuC;QAChD,MAAM,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;IAEO,KAAK,CAAC,WAAW,CAAC,GAAuC;QAC7D,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC;YAAE,OAAO;QAEnC,MAAM,OAAO,GAAG,MAAM,qCAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC5D,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CACJ,CAAA;AAdY,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAEoC,4BAAY,EAA+B,wBAAU;GADzF,aAAa,CAczB;AAdY,sCAAa"}