@servicelabsco/nestjs-utility-services 1.0.159 → 1.0.162

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 (99) hide show
  1. package/dist/app.controller.d.ts +1 -3
  2. package/dist/app.controller.js +2 -6
  3. package/dist/app.controller.js.map +1 -1
  4. package/dist/auth/controllers/index.js +5 -1
  5. package/dist/auth/controllers/index.js.map +1 -1
  6. package/dist/auth/dtos/index.js +5 -1
  7. package/dist/auth/dtos/index.js.map +1 -1
  8. package/dist/auth/entities/index.js +5 -1
  9. package/dist/auth/entities/index.js.map +1 -1
  10. package/dist/auth/index.js +5 -1
  11. package/dist/auth/index.js.map +1 -1
  12. package/dist/auth/middlewares/index.js +5 -1
  13. package/dist/auth/middlewares/index.js.map +1 -1
  14. package/dist/auth/services/index.js +5 -1
  15. package/dist/auth/services/index.js.map +1 -1
  16. package/dist/auth/strategies/index.js +5 -1
  17. package/dist/auth/strategies/index.js.map +1 -1
  18. package/dist/common/dtos/index.js +5 -1
  19. package/dist/common/dtos/index.js.map +1 -1
  20. package/dist/common/exceptions/index.js +5 -1
  21. package/dist/common/exceptions/index.js.map +1 -1
  22. package/dist/common/guards/index.js +5 -1
  23. package/dist/common/guards/index.js.map +1 -1
  24. package/dist/common/index.js +5 -1
  25. package/dist/common/index.js.map +1 -1
  26. package/dist/common/libraries/base.migration.utility.d.ts +1 -1
  27. package/dist/common/libraries/base.migration.utility.js +5 -3
  28. package/dist/common/libraries/base.migration.utility.js.map +1 -1
  29. package/dist/common/libraries/common.entity.d.ts +1 -0
  30. package/dist/common/libraries/common.entity.js +4 -0
  31. package/dist/common/libraries/common.entity.js.map +1 -1
  32. package/dist/common/libraries/index.js +5 -1
  33. package/dist/common/libraries/index.js.map +1 -1
  34. package/dist/index.js +5 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/platformUtility/commands/index.js +5 -1
  37. package/dist/platformUtility/commands/index.js.map +1 -1
  38. package/dist/platformUtility/consumers/index.js +5 -1
  39. package/dist/platformUtility/consumers/index.js.map +1 -1
  40. package/dist/platformUtility/dtos/index.js +5 -1
  41. package/dist/platformUtility/dtos/index.js.map +1 -1
  42. package/dist/platformUtility/es6.classes.d.ts +5 -2
  43. package/dist/platformUtility/es6.classes.js +14 -1
  44. package/dist/platformUtility/es6.classes.js.map +1 -1
  45. package/dist/platformUtility/index.js +5 -1
  46. package/dist/platformUtility/index.js.map +1 -1
  47. package/dist/platformUtility/jobs/index.js +5 -1
  48. package/dist/platformUtility/jobs/index.js.map +1 -1
  49. package/dist/platformUtility/libraries/index.d.ts +3 -0
  50. package/dist/platformUtility/libraries/index.js +8 -1
  51. package/dist/platformUtility/libraries/index.js.map +1 -1
  52. package/dist/platformUtility/libraries/process.common.mail.d.ts +9 -0
  53. package/dist/platformUtility/libraries/process.common.mail.js +60 -0
  54. package/dist/platformUtility/libraries/process.common.mail.js.map +1 -0
  55. package/dist/platformUtility/libraries/process.postmark.mail.d.ts +9 -0
  56. package/dist/platformUtility/libraries/process.postmark.mail.js +59 -0
  57. package/dist/platformUtility/libraries/process.postmark.mail.js.map +1 -0
  58. package/dist/platformUtility/libraries/process.sendgrid.mail.d.ts +8 -0
  59. package/dist/platformUtility/libraries/process.sendgrid.mail.js +50 -0
  60. package/dist/platformUtility/libraries/process.sendgrid.mail.js.map +1 -0
  61. package/dist/platformUtility/middlewares/index.js +5 -1
  62. package/dist/platformUtility/middlewares/index.js.map +1 -1
  63. package/dist/platformUtility/services/index.js +5 -1
  64. package/dist/platformUtility/services/index.js.map +1 -1
  65. package/dist/platformUtility/services/mail.service.d.ts +2 -6
  66. package/dist/platformUtility/services/mail.service.js +18 -73
  67. package/dist/platformUtility/services/mail.service.js.map +1 -1
  68. package/dist/platformUtility/services/sqs.service.d.ts +1 -0
  69. package/dist/platformUtility/services/sqs.service.js +9 -2
  70. package/dist/platformUtility/services/sqs.service.js.map +1 -1
  71. package/dist/platformUtility/subscribers/index.js +5 -1
  72. package/dist/platformUtility/subscribers/index.js.map +1 -1
  73. package/dist/security/entities/index.js +5 -1
  74. package/dist/security/entities/index.js.map +1 -1
  75. package/dist/security/index.js +5 -1
  76. package/dist/security/index.js.map +1 -1
  77. package/dist/system/commands/index.js +5 -1
  78. package/dist/system/commands/index.js.map +1 -1
  79. package/dist/system/controllers/index.js +5 -1
  80. package/dist/system/controllers/index.js.map +1 -1
  81. package/dist/system/dtos/index.d.ts +1 -0
  82. package/dist/system/dtos/index.js +6 -1
  83. package/dist/system/dtos/index.js.map +1 -1
  84. package/dist/system/entities/index.js +5 -1
  85. package/dist/system/entities/index.js.map +1 -1
  86. package/dist/system/es6.classes.d.ts +1 -1
  87. package/dist/system/index.js +5 -1
  88. package/dist/system/index.js.map +1 -1
  89. package/dist/system/jobs/index.js +5 -1
  90. package/dist/system/jobs/index.js.map +1 -1
  91. package/dist/system/libraries/index.js +5 -1
  92. package/dist/system/libraries/index.js.map +1 -1
  93. package/dist/system/modifiers/index.js +5 -1
  94. package/dist/system/modifiers/index.js.map +1 -1
  95. package/dist/system/services/index.js +5 -1
  96. package/dist/system/services/index.js.map +1 -1
  97. package/dist/system/subscribers/index.js +5 -1
  98. package/dist/system/subscribers/index.js.map +1 -1
  99. package/package.json +2 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAuC;AACvC,8DAA4C;AAC5C,iDAA+B;AAC/B,yDAAuC;AACvC,6DAA2C;AAC3C,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,wDAAsC;AACtC,uDAAqC;AACrC,uDAAqC;AACrC,gDAA8B;AAC9B,2DAAyC;AACzC,2DAAyC;AACzC,uDAAqC;AACrC,wDAAsC;AACtC,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,wDAAsC;AACtC,iDAA+B;AAC/B,8DAA4C;AAC5C,sDAAoC;AACpC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,2DAAyC;AACzC,uDAAqC;AACrC,wDAAsC;AACtC,oDAAkC;AAClC,wDAAsC;AACtC,yDAAuC;AACvC,kDAAgC;AAChC,wDAAsC;AACtC,+DAA6C;AAC7C,uDAAqC;AACrC,2DAAyC;AACzC,0DAAwC;AACxC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AACnC,gEAA8C;AAC9C,0DAAwC;AACxC,sDAAoC;AACpC,6DAA2C;AAC3C,iEAA+C;AAC/C,2DAAyC;AACzC,2DAAyC;AACzC,0DAAwC;AACxC,6DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,8DAA4C;AAC5C,iDAA+B;AAC/B,yDAAuC;AACvC,6DAA2C;AAC3C,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,wDAAsC;AACtC,uDAAqC;AACrC,uDAAqC;AACrC,gDAA8B;AAC9B,2DAAyC;AACzC,2DAAyC;AACzC,uDAAqC;AACrC,wDAAsC;AACtC,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,wDAAsC;AACtC,iDAA+B;AAC/B,8DAA4C;AAC5C,sDAAoC;AACpC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,2DAAyC;AACzC,uDAAqC;AACrC,wDAAsC;AACtC,oDAAkC;AAClC,wDAAsC;AACtC,yDAAuC;AACvC,kDAAgC;AAChC,wDAAsC;AACtC,+DAA6C;AAC7C,uDAAqC;AACrC,2DAAyC;AACzC,0DAAwC;AACxC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AACnC,gEAA8C;AAC9C,0DAAwC;AACxC,sDAAoC;AACpC,6DAA2C;AAC3C,iEAA+C;AAC/C,2DAAyC;AACzC,2DAAyC;AACzC,0DAAwC;AACxC,6DAA2C"}
@@ -119,7 +119,7 @@ declare const es6Classes: {
119
119
  jobs: (typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof ScheduledEventJob | typeof CleanScheduledEventJob | typeof ColumnMapperJob | typeof RelationshipMapperJob | typeof ScheduledEventsJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
120
120
  libraries: (typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator)[];
121
121
  modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
122
- 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 UploadService | typeof ScheduledEventService | typeof ColumnService | typeof CommentService | typeof DocumentService | typeof Es6JobsService | typeof Es6Service)[];
122
+ services: (typeof EventQueueService | typeof EventDetailService | typeof PropertyService | 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 UploadService | typeof ScheduledEventService | typeof ColumnService | typeof CommentService | typeof DocumentService | typeof Es6JobsService | typeof Es6Service)[];
123
123
  subscribers: (typeof ColumnSubscriber | typeof PropertySubscriber | typeof RelationshipSubscriber | typeof ScheduledEventSubscriber | typeof UserGroupMemberSubscriber | typeof UserGroupPermissionSubscriber | typeof UserGroupRoleSubscriber)[];
124
124
  };
125
125
  export default es6Classes;
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA2B;AAC3B,gDAA8B;AAC9B,yCAAuB;AACvB,6CAA2B;AAC3B,yCAAuB;AACvB,8CAA4B;AAC5B,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,gDAA8B;AAC9B,yCAAuB;AACvB,6CAA2B;AAC3B,yCAAuB;AACvB,8CAA4B;AAC5B,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,kDAAgC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8DAA4C;AAC5C,sDAAoC;AACpC,sDAAoC;AACpC,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,sDAAoC;AACpC,4DAA0C;AAC1C,2DAAyC;AACzC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,8DAA4C;AAC5C,wDAAsC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAAiD;AACjD,kEAAgD;AAChD,mDAAiC;AACjC,+CAA6B;AAC7B,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,kEAAgD;AAChD,mDAAiC;AACjC,+CAA6B;AAC7B,4DAA0C"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/modifiers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAqC;AACrC,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/modifiers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,yDAAuC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAAwC;AACxC,0DAAwC;AACxC,mDAAiC;AACjC,oDAAkC;AAClC,mDAAiC;AACjC,qDAAmC;AACnC,yDAAuC;AACvC,wDAAsC;AACtC,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,kDAAgC;AAChC,uDAAqC;AACrC,qDAAmC;AACnC,mDAAiC;AACjC,4DAA0C;AAC1C,0DAAwC;AACxC,sDAAoC;AACpC,mDAAiC;AACjC,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,0DAAwC;AACxC,mDAAiC;AACjC,oDAAkC;AAClC,mDAAiC;AACjC,qDAAmC;AACnC,yDAAuC;AACvC,wDAAsC;AACtC,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,kDAAgC;AAChC,uDAAqC;AACrC,qDAAmC;AACnC,mDAAiC;AACjC,4DAA0C;AAC1C,0DAAwC;AACxC,sDAAoC;AACpC,mDAAiC;AACjC,4DAA0C"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/subscribers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAoC;AACpC,wDAAsC;AACtC,4DAA0C;AAC1C,+DAA6C;AAC7C,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/subscribers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,wDAAsC;AACtC,4DAA0C;AAC1C,+DAA6C;AAC7C,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicelabsco/nestjs-utility-services",
3
- "version": "1.0.159",
3
+ "version": "1.0.162",
4
4
  "description": "NestJS generic packages to support development",
5
5
  "author": "Hemant Kumar Sah <hemantanshu@gmail.com>",
6
6
  "license": "MIT",
@@ -69,6 +69,7 @@
69
69
  "parse-bearer-token": "^1.0.1",
70
70
  "passport-facebook": "^3.0.0",
71
71
  "passport-google-oauth20": "^2.0.0",
72
+ "postmark": "^3.0.1",
72
73
  "prompt-sync": "^4.2.0",
73
74
  "randomstring": "^1.2.1",
74
75
  "ua-parser-js": "^0.7.28",