@servicelabsco/slabs-access-manager 0.1.169 → 0.1.171

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 (157) hide show
  1. package/dist/access/controllers/business.notification.channel.preference.controller.d.ts +17 -0
  2. package/dist/access/controllers/business.notification.channel.preference.controller.js +112 -0
  3. package/dist/access/controllers/business.notification.channel.preference.controller.js.map +1 -0
  4. package/dist/access/controllers/business.user.notification.preference.controller.d.ts +21 -0
  5. package/dist/access/controllers/business.user.notification.preference.controller.js +138 -0
  6. package/dist/access/controllers/business.user.notification.preference.controller.js.map +1 -0
  7. package/dist/access/controllers/business.webhook.controller.d.ts +13 -0
  8. package/dist/access/controllers/business.webhook.controller.js +81 -0
  9. package/dist/access/controllers/business.webhook.controller.js.map +1 -0
  10. package/dist/access/controllers/index.d.ts +3 -0
  11. package/dist/access/controllers/index.js +3 -0
  12. package/dist/access/controllers/index.js.map +1 -1
  13. package/dist/access/dtos/add.business.user.notification.preference.dto.d.ts +6 -0
  14. package/dist/access/dtos/add.business.user.notification.preference.dto.js +43 -0
  15. package/dist/access/dtos/add.business.user.notification.preference.dto.js.map +1 -0
  16. package/dist/access/dtos/add.notification.channel.preference.dto.d.ts +6 -0
  17. package/dist/access/dtos/add.notification.channel.preference.dto.js +43 -0
  18. package/dist/access/dtos/add.notification.channel.preference.dto.js.map +1 -0
  19. package/dist/access/dtos/add.webhook.dto.d.ts +5 -0
  20. package/dist/access/dtos/add.webhook.dto.js +36 -0
  21. package/dist/access/dtos/add.webhook.dto.js.map +1 -0
  22. package/dist/access/dtos/business.notification.channel.preference.list.filter.dto.d.ts +4 -0
  23. package/dist/access/dtos/business.notification.channel.preference.list.filter.dto.js +25 -0
  24. package/dist/access/dtos/business.notification.channel.preference.list.filter.dto.js.map +1 -0
  25. package/dist/access/dtos/business.user.notification.preference.attributes.dto.d.ts +3 -0
  26. package/dist/access/dtos/business.user.notification.preference.attributes.dto.js +8 -0
  27. package/dist/access/dtos/business.user.notification.preference.attributes.dto.js.map +1 -0
  28. package/dist/access/dtos/business.user.notification.preference.list.filter.dto.d.ts +5 -0
  29. package/dist/access/dtos/business.user.notification.preference.list.filter.dto.js +31 -0
  30. package/dist/access/dtos/business.user.notification.preference.list.filter.dto.js.map +1 -0
  31. package/dist/access/dtos/business.webhook.attributes.dto.d.ts +3 -0
  32. package/dist/access/dtos/business.webhook.attributes.dto.js +8 -0
  33. package/dist/access/dtos/business.webhook.attributes.dto.js.map +1 -0
  34. package/dist/access/dtos/bz.notification.channel.preference.attributes.dto.d.ts +3 -0
  35. package/dist/access/dtos/bz.notification.channel.preference.attributes.dto.js +8 -0
  36. package/dist/access/dtos/bz.notification.channel.preference.attributes.dto.js.map +1 -0
  37. package/dist/access/dtos/index.d.ts +11 -0
  38. package/dist/access/dtos/index.js +11 -0
  39. package/dist/access/dtos/index.js.map +1 -1
  40. package/dist/access/dtos/send.webhook.request.payload.d.ts +4 -0
  41. package/dist/access/dtos/send.webhook.request.payload.js +7 -0
  42. package/dist/access/dtos/send.webhook.request.payload.js.map +1 -0
  43. package/dist/access/dtos/webhook.event.attributes.dto.d.ts +3 -0
  44. package/dist/access/dtos/webhook.event.attributes.dto.js +8 -0
  45. package/dist/access/dtos/webhook.event.attributes.dto.js.map +1 -0
  46. package/dist/access/dtos/webhook.log.attributes.dto.d.ts +3 -0
  47. package/dist/access/dtos/webhook.log.attributes.dto.js +8 -0
  48. package/dist/access/dtos/webhook.log.attributes.dto.js.map +1 -0
  49. package/dist/access/entities/app.integration.entity.d.ts +1 -0
  50. package/dist/access/entities/app.integration.entity.js +4 -0
  51. package/dist/access/entities/app.integration.entity.js.map +1 -1
  52. package/dist/access/entities/business.user.notification.preference.entity.d.ts +15 -0
  53. package/dist/access/entities/business.user.notification.preference.entity.js +68 -0
  54. package/dist/access/entities/business.user.notification.preference.entity.js.map +1 -0
  55. package/dist/access/entities/business.webhook.entity.d.ts +12 -0
  56. package/dist/access/entities/business.webhook.entity.js +52 -0
  57. package/dist/access/entities/business.webhook.entity.js.map +1 -0
  58. package/dist/access/entities/bz.notification.channel.preference.entity.d.ts +13 -0
  59. package/dist/access/entities/bz.notification.channel.preference.entity.js +59 -0
  60. package/dist/access/entities/bz.notification.channel.preference.entity.js.map +1 -0
  61. package/dist/access/entities/index.d.ts +5 -0
  62. package/dist/access/entities/index.js +5 -0
  63. package/dist/access/entities/index.js.map +1 -1
  64. package/dist/access/entities/webhook.event.entity.d.ts +9 -0
  65. package/dist/access/entities/webhook.event.entity.js +42 -0
  66. package/dist/access/entities/webhook.event.entity.js.map +1 -0
  67. package/dist/access/entities/webhook.log.entity.d.ts +16 -0
  68. package/dist/access/entities/webhook.log.entity.js +66 -0
  69. package/dist/access/entities/webhook.log.entity.js.map +1 -0
  70. package/dist/access/enums/index.d.ts +1 -0
  71. package/dist/access/enums/index.js +1 -0
  72. package/dist/access/enums/index.js.map +1 -1
  73. package/dist/access/enums/notification.channel.type.enum.d.ts +7 -0
  74. package/dist/access/enums/notification.channel.type.enum.js +12 -0
  75. package/dist/access/enums/notification.channel.type.enum.js.map +1 -0
  76. package/dist/access/es6.classes.d.ts +30 -8
  77. package/dist/access/es6.classes.js +67 -2
  78. package/dist/access/es6.classes.js.map +1 -1
  79. package/dist/access/jobs/business.user.notification.preference.job.d.ts +7 -0
  80. package/dist/access/jobs/business.user.notification.preference.job.js +29 -0
  81. package/dist/access/jobs/business.user.notification.preference.job.js.map +1 -0
  82. package/dist/access/jobs/business.webhook.job.d.ts +7 -0
  83. package/dist/access/jobs/business.webhook.job.js +29 -0
  84. package/dist/access/jobs/business.webhook.job.js.map +1 -0
  85. package/dist/access/jobs/bz.notification.channel.preference.job.d.ts +7 -0
  86. package/dist/access/jobs/bz.notification.channel.preference.job.js +29 -0
  87. package/dist/access/jobs/bz.notification.channel.preference.job.js.map +1 -0
  88. package/dist/access/jobs/index.d.ts +5 -0
  89. package/dist/access/jobs/index.js +5 -0
  90. package/dist/access/jobs/index.js.map +1 -1
  91. package/dist/access/jobs/webhook.event.job.d.ts +7 -0
  92. package/dist/access/jobs/webhook.event.job.js +29 -0
  93. package/dist/access/jobs/webhook.event.job.js.map +1 -0
  94. package/dist/access/jobs/webhook.log.job.d.ts +7 -0
  95. package/dist/access/jobs/webhook.log.job.js +29 -0
  96. package/dist/access/jobs/webhook.log.job.js.map +1 -0
  97. package/dist/access/libraries/business.notification.channel.preference.list.d.ts +21 -0
  98. package/dist/access/libraries/business.notification.channel.preference.list.js +41 -0
  99. package/dist/access/libraries/business.notification.channel.preference.list.js.map +1 -0
  100. package/dist/access/libraries/business.user.notification.preference.list.d.ts +22 -0
  101. package/dist/access/libraries/business.user.notification.preference.list.js +47 -0
  102. package/dist/access/libraries/business.user.notification.preference.list.js.map +1 -0
  103. package/dist/access/libraries/index.d.ts +3 -0
  104. package/dist/access/libraries/index.js +3 -0
  105. package/dist/access/libraries/index.js.map +1 -1
  106. package/dist/access/libraries/send.webhook.request.d.ts +20 -0
  107. package/dist/access/libraries/send.webhook.request.js +71 -0
  108. package/dist/access/libraries/send.webhook.request.js.map +1 -0
  109. package/dist/access/services/es6.jobs.service.d.ts +11 -1
  110. package/dist/access/services/es6.jobs.service.js +21 -1
  111. package/dist/access/services/es6.jobs.service.js.map +1 -1
  112. package/dist/access/services/webhook.service.d.ts +5 -2
  113. package/dist/access/services/webhook.service.js +12 -2
  114. package/dist/access/services/webhook.service.js.map +1 -1
  115. package/dist/access/subscribers/business.user.notification.preference.subscriber.d.ts +10 -0
  116. package/dist/access/subscribers/business.user.notification.preference.subscriber.js +34 -0
  117. package/dist/access/subscribers/business.user.notification.preference.subscriber.js.map +1 -0
  118. package/dist/access/subscribers/business.webhook.subscriber.d.ts +10 -0
  119. package/dist/access/subscribers/business.webhook.subscriber.js +34 -0
  120. package/dist/access/subscribers/business.webhook.subscriber.js.map +1 -0
  121. package/dist/access/subscribers/bz.notification.channel.preference.subscriber.d.ts +10 -0
  122. package/dist/access/subscribers/bz.notification.channel.preference.subscriber.js +34 -0
  123. package/dist/access/subscribers/bz.notification.channel.preference.subscriber.js.map +1 -0
  124. package/dist/access/subscribers/index.d.ts +5 -0
  125. package/dist/access/subscribers/index.js +5 -0
  126. package/dist/access/subscribers/index.js.map +1 -1
  127. package/dist/access/subscribers/webhook.event.subscriber.d.ts +10 -0
  128. package/dist/access/subscribers/webhook.event.subscriber.js +34 -0
  129. package/dist/access/subscribers/webhook.event.subscriber.js.map +1 -0
  130. package/dist/access/subscribers/webhook.log.subscriber.d.ts +10 -0
  131. package/dist/access/subscribers/webhook.log.subscriber.js +34 -0
  132. package/dist/access/subscribers/webhook.log.subscriber.js.map +1 -0
  133. package/dist/config/entity.constants.d.ts +10 -0
  134. package/dist/config/entity.constants.js +10 -0
  135. package/dist/config/entity.constants.js.map +1 -1
  136. package/dist/migrations/1725343070093-AddEnabledGloballyBzAppIntegrationsTable.d.ts +5 -0
  137. package/dist/migrations/1725343070093-AddEnabledGloballyBzAppIntegrationsTable.js +15 -0
  138. package/dist/migrations/1725343070093-AddEnabledGloballyBzAppIntegrationsTable.js.map +1 -0
  139. package/dist/migrations/1725343451546-AddNotificationChannelDataSeederTable.d.ts +7 -0
  140. package/dist/migrations/1725343451546-AddNotificationChannelDataSeederTable.js +65 -0
  141. package/dist/migrations/1725343451546-AddNotificationChannelDataSeederTable.js.map +1 -0
  142. package/dist/migrations/1725343967311-CreateBzUserNotificationPreferencesTable.d.ts +5 -0
  143. package/dist/migrations/1725343967311-CreateBzUserNotificationPreferencesTable.js +22 -0
  144. package/dist/migrations/1725343967311-CreateBzUserNotificationPreferencesTable.js.map +1 -0
  145. package/dist/migrations/1725354088464-CreateBzNotificationChannelPreferenceTable.d.ts +5 -0
  146. package/dist/migrations/1725354088464-CreateBzNotificationChannelPreferenceTable.js +21 -0
  147. package/dist/migrations/1725354088464-CreateBzNotificationChannelPreferenceTable.js.map +1 -0
  148. package/dist/migrations/1725422481585-CreateBusinessWebhookTable.d.ts +5 -0
  149. package/dist/migrations/1725422481585-CreateBusinessWebhookTable.js +22 -0
  150. package/dist/migrations/1725422481585-CreateBusinessWebhookTable.js.map +1 -0
  151. package/dist/migrations/1725428002811-CreateWebhookEventTable.d.ts +5 -0
  152. package/dist/migrations/1725428002811-CreateWebhookEventTable.js +21 -0
  153. package/dist/migrations/1725428002811-CreateWebhookEventTable.js.map +1 -0
  154. package/dist/migrations/1725428278040-CreateWebhookLogTable.d.ts +5 -0
  155. package/dist/migrations/1725428278040-CreateWebhookLogTable.js +24 -0
  156. package/dist/migrations/1725428278040-CreateWebhookLogTable.js.map +1 -0
  157. package/package.json +1 -1
@@ -26,7 +26,10 @@ __exportStar(require("./business.menu.entity"), exports);
26
26
  __exportStar(require("./business.preference.entity"), exports);
27
27
  __exportStar(require("./business.user.entity"), exports);
28
28
  __exportStar(require("./business.user.group.entity"), exports);
29
+ __exportStar(require("./business.user.notification.preference.entity"), exports);
29
30
  __exportStar(require("./business.user.role.entity"), exports);
31
+ __exportStar(require("./business.webhook.entity"), exports);
32
+ __exportStar(require("./bz.notification.channel.preference.entity"), exports);
30
33
  __exportStar(require("./child.menu.entity"), exports);
31
34
  __exportStar(require("./choice.list.entity"), exports);
32
35
  __exportStar(require("./choice.type.entity"), exports);
@@ -76,6 +79,8 @@ __exportStar(require("./user.notification.entity"), exports);
76
79
  __exportStar(require("./user.preference.entity"), exports);
77
80
  __exportStar(require("./user.role.entity"), exports);
78
81
  __exportStar(require("./watchlist.assignment.entity"), exports);
82
+ __exportStar(require("./webhook.event.entity"), exports);
83
+ __exportStar(require("./webhook.log.entity"), exports);
79
84
  __exportStar(require("./webhook.slug.entity"), exports);
80
85
  __exportStar(require("./webhook.type.entity"), exports);
81
86
  __exportStar(require("./whatsapp.message.entity"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,+EAA6D;AAAA,oEAAkD;AAAA,6EAA2D;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,8DAA4C;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,qDAAmC;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,2DAAyC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,gDAA8B;AAAA,qDAAmC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,mDAAiC;AAAA,sDAAoC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,qDAAmC;AAAA,0DAAwC;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,qDAAmC;AAAA,gEAA8C;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,6DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,+EAA6D;AAAA,oEAAkD;AAAA,6EAA2D;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,iFAA+D;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,8EAA4D;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,qDAAmC;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,2DAAyC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,gDAA8B;AAAA,qDAAmC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,mDAAiC;AAAA,sDAAoC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,qDAAmC;AAAA,0DAAwC;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,qDAAmC;AAAA,gEAA8C;AAAA,yDAAuC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,6DAA0C"}
@@ -0,0 +1,9 @@
1
+ import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { WebhookEventAttributesDto } from '../dtos/webhook.event.attributes.dto';
3
+ export declare class WebhookEventEntity extends CommonEntity {
4
+ name: string;
5
+ description: string;
6
+ identifier: string;
7
+ active: boolean;
8
+ attributes: WebhookEventAttributesDto;
9
+ }
@@ -0,0 +1,42 @@
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.WebhookEventEntity = void 0;
13
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
14
+ const typeorm_1 = require("typeorm");
15
+ const webhook_event_attributes_dto_1 = require("../dtos/webhook.event.attributes.dto");
16
+ let WebhookEventEntity = class WebhookEventEntity extends nestjs_utility_services_1.CommonEntity {
17
+ };
18
+ exports.WebhookEventEntity = WebhookEventEntity;
19
+ __decorate([
20
+ (0, typeorm_1.Column)(),
21
+ __metadata("design:type", String)
22
+ ], WebhookEventEntity.prototype, "name", void 0);
23
+ __decorate([
24
+ (0, typeorm_1.Column)(),
25
+ __metadata("design:type", String)
26
+ ], WebhookEventEntity.prototype, "description", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)(),
29
+ __metadata("design:type", String)
30
+ ], WebhookEventEntity.prototype, "identifier", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)(),
33
+ __metadata("design:type", Boolean)
34
+ ], WebhookEventEntity.prototype, "active", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)('json'),
37
+ __metadata("design:type", webhook_event_attributes_dto_1.WebhookEventAttributesDto)
38
+ ], WebhookEventEntity.prototype, "attributes", void 0);
39
+ exports.WebhookEventEntity = WebhookEventEntity = __decorate([
40
+ (0, typeorm_1.Entity)('utl_webhook_events')
41
+ ], WebhookEventEntity);
42
+ //# sourceMappingURL=webhook.event.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook.event.entity.js","sourceRoot":"","sources":["../../../src/access/entities/webhook.event.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAyC;AACzC,uFAAiF;AAS1E,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,sCAAY;CAiBnD,CAAA;AAjBY,gDAAkB;AAE3B;IADC,IAAA,gBAAM,GAAE;;gDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;uDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;kDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,wDAAyB;sDAAC;6BAd7B,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,kBAAkB,CAiB9B"}
@@ -0,0 +1,16 @@
1
+ import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { WebhookLogAttributesDto } from '../dtos/webhook.log.attributes.dto';
3
+ import { BusinessWebhookEntity } from './business.webhook.entity';
4
+ import { WebhookEventEntity } from './webhook.event.entity';
5
+ export declare class WebhookLogEntity extends CommonEntity {
6
+ webhook_id: number;
7
+ event_id: number;
8
+ response_code: number;
9
+ attempted_at: Date;
10
+ is_success: boolean;
11
+ payload: any;
12
+ response_body: any;
13
+ attributes: WebhookLogAttributesDto;
14
+ webhook: BusinessWebhookEntity;
15
+ event: WebhookEventEntity;
16
+ }
@@ -0,0 +1,66 @@
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.WebhookLogEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
15
+ const webhook_log_attributes_dto_1 = require("../dtos/webhook.log.attributes.dto");
16
+ const business_webhook_entity_1 = require("./business.webhook.entity");
17
+ const webhook_event_entity_1 = require("./webhook.event.entity");
18
+ let WebhookLogEntity = class WebhookLogEntity extends nestjs_utility_services_1.CommonEntity {
19
+ };
20
+ exports.WebhookLogEntity = WebhookLogEntity;
21
+ __decorate([
22
+ (0, typeorm_1.Column)(),
23
+ __metadata("design:type", Number)
24
+ ], WebhookLogEntity.prototype, "webhook_id", void 0);
25
+ __decorate([
26
+ (0, typeorm_1.Column)(),
27
+ __metadata("design:type", Number)
28
+ ], WebhookLogEntity.prototype, "event_id", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)(),
31
+ __metadata("design:type", Number)
32
+ ], WebhookLogEntity.prototype, "response_code", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)(),
35
+ __metadata("design:type", Date)
36
+ ], WebhookLogEntity.prototype, "attempted_at", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)(),
39
+ __metadata("design:type", Boolean)
40
+ ], WebhookLogEntity.prototype, "is_success", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.Column)('json'),
43
+ __metadata("design:type", Object)
44
+ ], WebhookLogEntity.prototype, "payload", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.Column)('json'),
47
+ __metadata("design:type", Object)
48
+ ], WebhookLogEntity.prototype, "response_body", void 0);
49
+ __decorate([
50
+ (0, typeorm_1.Column)('json'),
51
+ __metadata("design:type", webhook_log_attributes_dto_1.WebhookLogAttributesDto)
52
+ ], WebhookLogEntity.prototype, "attributes", void 0);
53
+ __decorate([
54
+ (0, typeorm_1.ManyToOne)(() => business_webhook_entity_1.BusinessWebhookEntity),
55
+ (0, typeorm_1.JoinColumn)({ name: 'webhook_id' }),
56
+ __metadata("design:type", business_webhook_entity_1.BusinessWebhookEntity)
57
+ ], WebhookLogEntity.prototype, "webhook", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.ManyToOne)(() => webhook_event_entity_1.WebhookEventEntity),
60
+ (0, typeorm_1.JoinColumn)({ name: 'event_id' }),
61
+ __metadata("design:type", webhook_event_entity_1.WebhookEventEntity)
62
+ ], WebhookLogEntity.prototype, "event", void 0);
63
+ exports.WebhookLogEntity = WebhookLogEntity = __decorate([
64
+ (0, typeorm_1.Entity)('utl_webhook_logs')
65
+ ], WebhookLogEntity);
66
+ //# sourceMappingURL=webhook.log.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook.log.entity.js","sourceRoot":"","sources":["../../../src/access/entities/webhook.log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,oFAAkF;AAClF,mFAA6E;AAC7E,uEAAkE;AAClE,iEAA4D;AASrD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,sCAAY;CA4BjD,CAAA;AA5BY,4CAAgB;AAEzB;IADC,IAAA,gBAAM,GAAE;;oDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;kDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;uDACa;AAGtB;IADC,IAAA,gBAAM,GAAE;8BACK,IAAI;sDAAC;AAGnB;IADC,IAAA,gBAAM,GAAE;;oDACW;AAGpB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;iDACF;AAGb;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;uDACI;AAGnB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,oDAAuB;oDAAC;AAGwC;IAA3E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,+CAAqB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAAU,+CAAqB;iDAAC;AACpC;IAAtE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAAQ,yCAAkB;+CAAC;2BA3BxF,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,gBAAgB,CA4B5B"}
@@ -1,4 +1,5 @@
1
1
  export * from './custom.column.type.enum';
2
+ export * from './notification.channel.type.enum';
2
3
  export * from './notification.type.enum';
3
4
  export * from './platform.type.enum';
4
5
  export * from './recurring.period.enum';
@@ -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("./custom.column.type.enum"), exports);
18
+ __exportStar(require("./notification.channel.type.enum"), exports);
18
19
  __exportStar(require("./notification.type.enum"), exports);
19
20
  __exportStar(require("./platform.type.enum"), exports);
20
21
  __exportStar(require("./recurring.period.enum"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,0DAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,0DAAuC"}
@@ -0,0 +1,7 @@
1
+ export declare enum NotificationChannelTypeEnum {
2
+ SLACK = 5000,
3
+ EMAIL = 5001,
4
+ WHATSAPP = 5002,
5
+ TEAMS = 5003,
6
+ GCHAT = 5004
7
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationChannelTypeEnum = void 0;
4
+ var NotificationChannelTypeEnum;
5
+ (function (NotificationChannelTypeEnum) {
6
+ NotificationChannelTypeEnum[NotificationChannelTypeEnum["SLACK"] = 5000] = "SLACK";
7
+ NotificationChannelTypeEnum[NotificationChannelTypeEnum["EMAIL"] = 5001] = "EMAIL";
8
+ NotificationChannelTypeEnum[NotificationChannelTypeEnum["WHATSAPP"] = 5002] = "WHATSAPP";
9
+ NotificationChannelTypeEnum[NotificationChannelTypeEnum["TEAMS"] = 5003] = "TEAMS";
10
+ NotificationChannelTypeEnum[NotificationChannelTypeEnum["GCHAT"] = 5004] = "GCHAT";
11
+ })(NotificationChannelTypeEnum || (exports.NotificationChannelTypeEnum = NotificationChannelTypeEnum = {}));
12
+ //# sourceMappingURL=notification.channel.type.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.channel.type.enum.js","sourceRoot":"","sources":["../../../src/access/enums/notification.channel.type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAMX;AAND,WAAY,2BAA2B;IACnC,kFAAY,CAAA;IACZ,kFAAY,CAAA;IACZ,wFAAe,CAAA;IACf,kFAAY,CAAA;IACZ,kFAAY,CAAA;AAChB,CAAC,EANW,2BAA2B,2CAA3B,2BAA2B,QAMtC"}
@@ -4,8 +4,11 @@ import { ApiAccountController } from './controllers/api.account.controller';
4
4
  import { BulkUploadController } from './controllers/bulk.upload.controller';
5
5
  import { BulkUploadItemController } from './controllers/bulk.upload.item.controller';
6
6
  import { BusinessAppIntegrationController } from './controllers/business.app.integration.controller';
7
+ import { BusinessNotificationChannelPreferenceController } from './controllers/business.notification.channel.preference.controller';
7
8
  import { BusinessPreferenceController } from './controllers/business.preference.controller';
8
9
  import { BusinessUserGroupController } from './controllers/business.user.group.controller';
10
+ import { BusinessUserNotificationPreferenceController } from './controllers/business.user.notification.preference.controller';
11
+ import { BusinessWebhookController } from './controllers/business.webhook.controller';
9
12
  import { ChoiceListController } from './controllers/choice.list.controller';
10
13
  import { ChoiceTypeController } from './controllers/choice.type.controller';
11
14
  import { CommonWebhookController } from './controllers/common.webhook.controller';
@@ -38,6 +41,7 @@ import { AddRoleDto } from './dtos/add.role.dto';
38
41
  import { AddScheduledReportDto } from './dtos/add.scheduled.report.dto';
39
42
  import { AddShortUrlDto } from './dtos/add.short.url.dto';
40
43
  import { AddTagDto } from './dtos/add.tag.dto';
44
+ import { AddWebhookDto } from './dtos/add.webhook.dto';
41
45
  import { BankAccountPayloadDto } from './dtos/bank.account.payload.dto';
42
46
  import { BusinessAppIntegrationMessagePayloadDto } from './dtos/business.app.integration.message.payload.dto';
43
47
  import { CommonListFilterDto } from './dtos/common.list.filter.dto';
@@ -57,6 +61,7 @@ import { ProcessCommonListConfigDto } from './dtos/process.common.list.config.dt
57
61
  import { ProcessListingPayloadDto } from './dtos/process.listing.payload.dto';
58
62
  import { RecurringDefinitionDto } from './dtos/recurring.definition.dto';
59
63
  import { SendEmailNotificationDataDto } from './dtos/send.email.notification.data.dto';
64
+ import { SendWebhookRequestPayload } from './dtos/send.webhook.request.payload';
60
65
  import { ServerEmailMessageDto } from './dtos/server.email.message.dto';
61
66
  import { ServerEmailRecipientsDto } from './dtos/server.email.recipients.dto';
62
67
  import { SlackMessageDataDto } from './dtos/slack.message.data.dto';
@@ -70,6 +75,8 @@ import { BusinessGroupRoleEntity } from './entities/business.group.role.entity';
70
75
  import { BusinessMenuEntity } from './entities/business.menu.entity';
71
76
  import { BusinessUserEntity } from './entities/business.user.entity';
72
77
  import { BusinessUserRoleEntity } from './entities/business.user.role.entity';
78
+ import { BusinessWebhookEntity } from './entities/business.webhook.entity';
79
+ import { BzNotificationChannelPreferenceEntity } from './entities/bz.notification.channel.preference.entity';
73
80
  import { ChildMenuEntity } from './entities/child.menu.entity';
74
81
  import { ConversationEntity } from './entities/conversation.entity';
75
82
  import { DashboardComponentEntity } from './entities/dashboard.component.entity';
@@ -101,10 +108,12 @@ import { UiActionRoleEntity } from './entities/ui.action.role.entity';
101
108
  import { UserNotificationEntity } from './entities/user.notification.entity';
102
109
  import { UserRoleEntity } from './entities/user.role.entity';
103
110
  import { WatchlistAssignmentEntity } from './entities/watchlist.assignment.entity';
111
+ import { WebhookLogEntity } from './entities/webhook.log.entity';
104
112
  import { WebhookSlugEntity } from './entities/webhook.slug.entity';
105
113
  import { WhatsappMessageEntity } from './entities/whatsapp.message.entity';
106
114
  import { WhatsappPreferenceEntity } from './entities/whatsapp.preference.entity';
107
115
  import { CustomColumnTypeEnum } from './enums/custom.column.type.enum';
116
+ import { NotificationChannelTypeEnum } from './enums/notification.channel.type.enum';
108
117
  import { NotificationTypeEnum } from './enums/notification.type.enum';
109
118
  import { PlatformTypeEnum } from './enums/platform.type.enum';
110
119
  import { RecurringPeriodEnum } from './enums/recurring.period.enum';
@@ -120,7 +129,10 @@ import { BusinessMenuJob } from './jobs/business.menu.job';
120
129
  import { BusinessPreferenceJob } from './jobs/business.preference.job';
121
130
  import { BusinessUserGroupJob } from './jobs/business.user.group.job';
122
131
  import { BusinessUserJob } from './jobs/business.user.job';
132
+ import { BusinessUserNotificationPreferenceJob } from './jobs/business.user.notification.preference.job';
123
133
  import { BusinessUserRoleJob } from './jobs/business.user.role.job';
134
+ import { BusinessWebhookJob } from './jobs/business.webhook.job';
135
+ import { BzNotificationChannelPreferenceJob } from './jobs/bz.notification.channel.preference.job';
124
136
  import { ChildMenuJob } from './jobs/child.menu.job';
125
137
  import { ChoiceListJob } from './jobs/choice.list.job';
126
138
  import { ChoiceTypeJob } from './jobs/choice.type.job';
@@ -176,11 +188,15 @@ import { UserNotificationJob } from './jobs/user.notification.job';
176
188
  import { UserPreferenceJob } from './jobs/user.preference.job';
177
189
  import { UserRoleJob } from './jobs/user.role.job';
178
190
  import { WatchlistAssignmentJob } from './jobs/watchlist.assignment.job';
191
+ import { WebhookEventJob } from './jobs/webhook.event.job';
192
+ import { WebhookLogJob } from './jobs/webhook.log.job';
179
193
  import { WebhookSlugJob } from './jobs/webhook.slug.job';
180
194
  import { WebhookTypeJob } from './jobs/webhook.type.job';
181
195
  import { WhatsappIncomingWebhookJob } from './jobs/whatsapp.incoming.webhook.job';
182
196
  import { WhatsappMessageJob } from './jobs/whatsapp.message.job';
183
197
  import { WhatsappTemplateJob } from './jobs/whatsapp.template.job';
198
+ import { ProcessBusinessNotificationChannelPreferenceList } from './libraries/business.notification.channel.preference.list';
199
+ import { ProcessBusinessUserNotificationPreferenceList } from './libraries/business.user.notification.preference.list';
184
200
  import { CommonTagController } from './libraries/common.tag.controller';
185
201
  import { ConversationController } from './libraries/conversation.controller';
186
202
  import { ProcessApiAccountData } from './libraries/process.api.account.data';
@@ -202,8 +218,8 @@ import { ProcessCreateDashboardComponent } from './libraries/process.create.dash
202
218
  import { ProcessCustomFieldCreation } from './libraries/process.custom.field.creation';
203
219
  import { ProcessCustomFieldList } from './libraries/process.custom.field.list';
204
220
  import { ProcessDashboardComponent } from './libraries/process.dashboard.component';
205
- import { ProcessDashboardReportData } from './libraries/process.dashboard.report.data';
206
221
  import { ProcessDashboardReport } from './libraries/process.dashboard.report';
222
+ import { ProcessDashboardReportData } from './libraries/process.dashboard.report.data';
207
223
  import { ProcessDateFilter } from './libraries/process.date.filter';
208
224
  import { ProcessDbFind } from './libraries/process.db.find';
209
225
  import { ProcessDownloadLogList } from './libraries/process.download.log.list';
@@ -233,6 +249,7 @@ import { SendGchatMessageNotification } from './libraries/send.gchat.message.not
233
249
  import { SendGchatWebhookNotification } from './libraries/send.gchat.webhook.notification';
234
250
  import { SendSlackMessageNotification } from './libraries/send.slack.message.notification';
235
251
  import { SendSlackWebhookNotification } from './libraries/send.slack.webhook.notification.';
252
+ import { SendWebhookRequest } from './libraries/send.webhook.request';
236
253
  import { SendWhatsappMessageNotification } from './libraries/send.whatsapp.message.notification';
237
254
  import { SetFcmToken } from './libraries/set.fcm.token';
238
255
  import { SyncBusinessUserRole } from './libraries/sync.business.user.role';
@@ -274,8 +291,11 @@ import { BusinessGroupRoleSubscriber } from './subscribers/business.group.role.s
274
291
  import { BusinessMenuSubscriber } from './subscribers/business.menu.subscriber';
275
292
  import { BusinessPreferenceSubscriber } from './subscribers/business.preference.subscriber';
276
293
  import { BusinessUserGroupSubscriber } from './subscribers/business.user.group.subscriber';
294
+ import { BusinessUserNotificationPreferenceSubscriber } from './subscribers/business.user.notification.preference.subscriber';
277
295
  import { BusinessUserRoleSubscriber } from './subscribers/business.user.role.subscriber';
278
296
  import { BusinessUserSubscriber } from './subscribers/business.user.subscriber';
297
+ import { BusinessWebhookSubscriber } from './subscribers/business.webhook.subscriber';
298
+ import { BzNotificationChannelPreferenceSubscriber } from './subscribers/bz.notification.channel.preference.subscriber';
279
299
  import { ChildMenuSubscriber } from './subscribers/child.menu.subscriber';
280
300
  import { ChoiceListSubscriber } from './subscribers/choice.list.subscriber';
281
301
  import { ChoiceTypeSubscriber } from './subscribers/choice.type.subscriber';
@@ -327,20 +347,22 @@ import { UserNotificationSubscriber } from './subscribers/user.notification.subs
327
347
  import { UserPreferenceSubscriber } from './subscribers/user.preference.subscriber';
328
348
  import { UserRoleSubscriber } from './subscribers/user.role.subscriber';
329
349
  import { WatchlistAssignmentSubscriber } from './subscribers/watchlist.assignment.subscriber';
350
+ import { WebhookEventSubscriber } from './subscribers/webhook.event.subscriber';
351
+ import { WebhookLogSubscriber } from './subscribers/webhook.log.subscriber';
330
352
  import { WebhookSlugSubscriber } from './subscribers/webhook.slug.subscriber';
331
353
  import { WebhookTypeSubscriber } from './subscribers/webhook.type.subscriber';
332
354
  import { WhatsappMessageSubscriber } from './subscribers/whatsapp.message.subscriber';
333
355
  import { WhatsappTemplateSubscriber } from './subscribers/whatsapp.template.subscriber';
334
356
  declare const es6Classes: {
335
357
  commands: (typeof WebhookPollCommand)[];
336
- controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessAppIntegrationController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CommonWebhookController | typeof CustomFieldController | typeof DashboardBuilderController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperModeController | typeof DownloadLogController | typeof FcmTokenController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserNotificationController | typeof UserPreferenceController)[];
337
- dtos: (typeof FcmTemplateAttributesDto | typeof NotificationPayloadDto | typeof SendEmailNotificationDataDto | typeof GchatPostingPayloadDto | typeof AddShortUrlDto | typeof BankAccountPayloadDto | typeof RecurringDefinitionDto | typeof AccessBusinessParamDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof DbFindDto | typeof ListResponseDto | typeof AddListingPreferenceDto | typeof ProcessCommonListConfigDto | typeof AddBusinessPreferenceDto | typeof ModifyCustomFieldStatusDto | typeof GetScriptValuesDto | typeof AddDashboardComponentPropertiesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof EditQueryDto | typeof TokenPayloadDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddBusinessAppIntegrationDto | typeof AddConversationDto | typeof AddTagDto | typeof BusinessAppIntegrationMessagePayloadDto | typeof ProcessListingPayloadDto | typeof ServerEmailRecipientsDto | typeof ServerEmailMessageDto | typeof SlackMessageDataDto)[];
338
- entities: (typeof AccessBusinessEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof GchatUserEntity | typeof GchatMessageEntity | typeof GchatWebhookMessageEntity | typeof SlackIntegrationEntity | typeof SlackMessageEntity | typeof SlackUserEntity | typeof WhatsappMessageEntity | typeof WhatsappPreferenceEntity | typeof FcmMessageEntity | typeof FcmTokenEntity | typeof BusinessAppIntegrationCredentialEntity | typeof BusinessAppIntegrationMessagesEntity | typeof BusinessEmailEntity | typeof BusinessGroupRoleEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof ChildMenuEntity | typeof BusinessMenuEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof ConversationEntity | typeof DashboardComponentEntity | typeof DownloadLogEntity | typeof EmailRecipientEntity | typeof EmailMessageEntity | typeof GroupMemberEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof ScheduledReportEntity | typeof ScheduledReportEmailEntity | typeof ScheduledReportItemEntity | typeof SlackWebhookMessageEntity | typeof UserNotificationEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookSlugEntity)[];
339
- enums: (typeof NotificationTypeEnum | typeof RecurringPeriodEnum | typeof CustomColumnTypeEnum | typeof PlatformTypeEnum)[];
340
- jobs: (typeof AccessTestJob | typeof ApiAccountJob | typeof AppIntegrationJob | typeof BusinessAppIntegrationCredentialJob | typeof BusinessAppIntegrationJob | typeof BusinessAppIntegrationMessagesJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessMenuJob | typeof BusinessPreferenceJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserRoleJob | typeof ChildMenuJob | typeof ChoiceListJob | typeof ChoiceTypeJob | typeof ConversationJob | typeof CustomFieldJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof EmailAttachmentJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof FcmMessageJob | typeof FcmNotificationJob | typeof FcmTemplateJob | typeof FcmTokenJob | typeof GchatIncomingWebhookJob | typeof GchatMessageJob | typeof GchatTemplateJob | typeof GchatUserJob | typeof GchatWebhookJob | typeof GchatWebhookMessageJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof ListPreferenceJob | typeof ListingColumnJob | typeof ListingPageJob | typeof ListingPreferenceJob | typeof MenuActionJob | typeof MenuJob | typeof MenuRoleJob | typeof ModuleJob | typeof ModuleMenuJob | typeof PreferenceUserGroupJob | typeof PreferenceUsersJob | typeof ProcessServerEmailJob | typeof ProductJob | typeof RoleGroupJob | typeof ScheduledReportEmailJob | typeof ScheduledReportItemJob | typeof ScheduledReportJob | typeof SlackIncomingWebhookJob | typeof SlackIntegrationJob | typeof SlackMessageJob | typeof SlackTemplateJob | typeof SlackUserJob | typeof SlackWebhookJob | typeof SlackWebhookMessageJob | typeof SyncBURoleJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserNotificationJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookSlugJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessageJob | typeof WhatsappTemplateJob)[];
341
- libraries: (typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof SendWhatsappMessageNotification | typeof SendFcmNotification | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessListingCsvFile | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof SetFcmToken | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof ProcessUserNotificationList | typeof ProcessRevokeSlackIntegration | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof SyncBusinessUserRole | typeof CommonTagController | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessNotification | typeof ProcessSlackMessage | typeof ProcessTestList)[];
358
+ controllers: (typeof AccessMenuController | typeof ApiAccountController | typeof BulkUploadController | typeof BulkUploadItemController | typeof BusinessAppIntegrationController | typeof BusinessNotificationChannelPreferenceController | typeof BusinessPreferenceController | typeof BusinessUserGroupController | typeof BusinessUserNotificationPreferenceController | typeof BusinessWebhookController | typeof ChoiceListController | typeof ChoiceTypeController | typeof CommonWebhookController | typeof CustomFieldController | typeof DashboardBuilderController | typeof DashboardComponentController | typeof DashboardController | typeof DashboardReportController | typeof DeveloperModeController | typeof DownloadLogController | typeof FcmTokenController | typeof GroupMemberController | typeof GroupRoleController | typeof ListingController | typeof ListingPreferenceController | typeof ScheduledReportController | typeof ScheduledReportItemController | typeof TagController | typeof UserNotificationController | typeof UserPreferenceController)[];
359
+ dtos: (typeof FcmTemplateAttributesDto | typeof NotificationPayloadDto | typeof SendEmailNotificationDataDto | typeof GchatPostingPayloadDto | typeof AddShortUrlDto | typeof BankAccountPayloadDto | typeof RecurringDefinitionDto | typeof SendWebhookRequestPayload | typeof AccessBusinessParamDto | typeof DateRangeFilterDto | typeof DateFilterDto | typeof ListResponseFormatDto | typeof NumberRangeFilterDto | typeof CommonListFilterDto | typeof DbFindDto | typeof ListResponseDto | typeof AddListingPreferenceDto | typeof ProcessCommonListConfigDto | typeof AddBusinessPreferenceDto | typeof AddWebhookDto | typeof ModifyCustomFieldStatusDto | typeof GetScriptValuesDto | typeof AddDashboardComponentPropertiesDto | typeof AddDashboardComponentDto | typeof StringSearchDto | typeof EditQueryDto | typeof TokenPayloadDto | typeof AddGroupMemberDto | typeof AddRoleDto | typeof AddScheduledReportDto | typeof AddBusinessAppIntegrationDto | typeof AddConversationDto | typeof AddTagDto | typeof BusinessAppIntegrationMessagePayloadDto | typeof ProcessListingPayloadDto | typeof ServerEmailRecipientsDto | typeof ServerEmailMessageDto | typeof SlackMessageDataDto)[];
360
+ entities: (typeof AccessBusinessEntity | typeof BusinessUserEntity | typeof ProductEntity | typeof GchatUserEntity | typeof GchatMessageEntity | typeof GchatWebhookMessageEntity | typeof SlackIntegrationEntity | typeof SlackMessageEntity | typeof SlackUserEntity | typeof WhatsappMessageEntity | typeof WhatsappPreferenceEntity | typeof FcmMessageEntity | typeof FcmTokenEntity | typeof BusinessAppIntegrationCredentialEntity | typeof BusinessAppIntegrationMessagesEntity | typeof BusinessEmailEntity | typeof BusinessGroupRoleEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof UiActionRoleEntity | typeof MenuActionEntity | typeof ChildMenuEntity | typeof BusinessMenuEntity | typeof GroupRoleEntity | typeof BusinessUserRoleEntity | typeof BusinessWebhookEntity | typeof BzNotificationChannelPreferenceEntity | typeof ConversationEntity | typeof DashboardComponentEntity | typeof DownloadLogEntity | typeof EmailRecipientEntity | typeof EmailMessageEntity | typeof GroupMemberEntity | typeof PreferenceUserEntity | typeof PreferenceUserGroupEntity | typeof ModuleMenuEntity | typeof ScheduledReportEntity | typeof ScheduledReportEmailEntity | typeof ScheduledReportItemEntity | typeof SlackWebhookMessageEntity | typeof UserNotificationEntity | typeof UserRoleEntity | typeof WatchlistAssignmentEntity | typeof WebhookLogEntity | typeof WebhookSlugEntity)[];
361
+ enums: (typeof NotificationTypeEnum | typeof RecurringPeriodEnum | typeof NotificationChannelTypeEnum | typeof CustomColumnTypeEnum | typeof PlatformTypeEnum)[];
362
+ jobs: (typeof AccessTestJob | typeof ApiAccountJob | typeof AppIntegrationJob | typeof BusinessAppIntegrationCredentialJob | typeof BusinessAppIntegrationJob | typeof BusinessAppIntegrationMessagesJob | typeof BusinessEmailJob | typeof BusinessGroupRoleJob | typeof BusinessMenuJob | typeof BusinessPreferenceJob | typeof BusinessUserGroupJob | typeof BusinessUserJob | typeof BusinessUserNotificationPreferenceJob | typeof BusinessUserRoleJob | typeof BusinessWebhookJob | typeof BzNotificationChannelPreferenceJob | typeof ChildMenuJob | typeof ChoiceListJob | typeof ChoiceTypeJob | typeof ConversationJob | typeof CustomFieldJob | typeof CustomReportJob | typeof DashboardComponentJob | typeof DashboardJob | typeof DownloadLogJob | typeof EmailAttachmentJob | typeof EmailMessageJob | typeof EmailRecipientJob | typeof FcmMessageJob | typeof FcmNotificationJob | typeof FcmTemplateJob | typeof FcmTokenJob | typeof GchatIncomingWebhookJob | typeof GchatMessageJob | typeof GchatTemplateJob | typeof GchatUserJob | typeof GchatWebhookJob | typeof GchatWebhookMessageJob | typeof GroupMemberJob | typeof GroupRoleJob | typeof ListPreferenceJob | typeof ListingColumnJob | typeof ListingPageJob | typeof ListingPreferenceJob | typeof MenuActionJob | typeof MenuJob | typeof MenuRoleJob | typeof ModuleJob | typeof ModuleMenuJob | typeof PreferenceUserGroupJob | typeof PreferenceUsersJob | typeof ProcessServerEmailJob | typeof ProductJob | typeof RoleGroupJob | typeof ScheduledReportEmailJob | typeof ScheduledReportItemJob | typeof ScheduledReportJob | typeof SlackIncomingWebhookJob | typeof SlackIntegrationJob | typeof SlackMessageJob | typeof SlackTemplateJob | typeof SlackUserJob | typeof SlackWebhookJob | typeof SlackWebhookMessageJob | typeof SyncBURoleJob | typeof UiActionJob | typeof UiActionRoleJob | typeof UserNotificationJob | typeof UserPreferenceJob | typeof UserRoleJob | typeof WatchlistAssignmentJob | typeof WebhookEventJob | typeof WebhookLogJob | typeof WebhookSlugJob | typeof WebhookTypeJob | typeof WhatsappIncomingWebhookJob | typeof WhatsappMessageJob | typeof WhatsappTemplateJob)[];
363
+ libraries: (typeof ProcessEmailNotification | typeof SendEmailNotification | typeof SendGchatMessageNotification | typeof SendGchatWebhookNotification | typeof SendSlackMessageNotification | typeof SendSlackWebhookNotification | typeof SendWhatsappMessageNotification | typeof SendFcmNotification | typeof SendWebhookRequest | typeof ProcessApplicationMenu | typeof ProcessMenuDetails | typeof ProcessApiAccountData | typeof ProcessListingCsvFile | typeof ProcessDateFilter | typeof ProcessCommonList | typeof ProcessApiAccountList | typeof ProcessDbFind | typeof ProcessBulkUploadList | typeof ProcessBulkUploadItemList | typeof ProcessWhatsappIntegration | typeof ProcessAppIntegration | typeof ProcessBusinessNotificationChannelPreferenceList | typeof ProcessBusinessUserGroupList | typeof ProcessUserGroupCreation | typeof ProcessBusinessUserNotificationPreferenceList | typeof ProcessChoiceListData | typeof ProcessChoiceTypeList | typeof ProcessChoiceTypeData | typeof ProcessSlackIntegration | typeof ProcessZohoIntegration | typeof ProcessCustomFieldList | typeof ProcessCustomFieldCreation | typeof ProcessDashboardReportData | typeof ProcessReportData | typeof ProcessCreateDashboardComponent | typeof ProcessDashboardComponent | typeof ProcessDashboardReport | typeof ProcessDownloadLogList | typeof SetFcmToken | typeof ProcessGroupMemberList | typeof ProcessGroupRoleList | typeof ProcessPreferenceData | typeof ProcessScheduledReportData | typeof ProcessScheduledReportList | typeof ProcessScheduledReportItemList | typeof ProcessUserNotificationList | typeof ProcessRevokeSlackIntegration | typeof ProcessBusinessGroupRoleUpdation | typeof ProcessBusinessUserRoleUpdate | typeof ProcessGroupMemberUpdation | typeof SyncBusinessUserRole | typeof CommonTagController | typeof ProcessConversationData | typeof ConversationController | typeof ValidateCustomFieldData | typeof ProcessCommonCustomField | typeof ProcessNotification | typeof ProcessSlackMessage | typeof ProcessTestList)[];
342
364
  middlewares: (typeof BusinessMiddleware | typeof ExternalAccessMiddleware)[];
343
365
  services: (typeof SendEmailService | typeof GchatService | typeof SlackService | typeof WhatsappService | typeof NotificationService | typeof SlabsService | typeof WebhookService | typeof AccessBusinessService | typeof ListingService | typeof AuditLogService | typeof AccessReportService | typeof PlatformService | typeof ListingPreferenceService | typeof ScheduledReportService | typeof BusinessUserRoleService | typeof UtilityService | typeof CustomFieldService | typeof ApiAccountService | typeof AppIntegrationService | typeof BusinessPreferenceService | typeof Es6JobsService | typeof GptService | typeof LoadEntityService | typeof UserNotificationService | typeof UserPreferenceService)[];
344
- subscribers: (typeof ApiAccountSubscriber | typeof AppIntegrationSubscriber | typeof BusinessAppIntegrationCredentialSubscriber | typeof BusinessAppIntegrationMessagesSubscriber | typeof BusinessAppIntegrationSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessMenuSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | typeof ChildMenuSubscriber | typeof ChoiceListSubscriber | typeof ChoiceTypeSubscriber | typeof ConversationSubscriber | typeof CustomFieldSubscriber | typeof CustomReportSubscriber | typeof DashboardComponentSubscriber | typeof DashboardSubscriber | typeof DownloadLogSubscriber | typeof EmailAttachmentSubscriber | typeof EmailMessageSubscriber | typeof EmailRecipientSubscriber | typeof FcmMessageSubscriber | typeof FcmNotificationSubscriber | typeof FcmTemplateSubscriber | typeof FcmTokenSubscriber | typeof GchatMessageSubscriber | typeof GchatTemplateSubscriber | typeof GchatUserSubscriber | typeof GchatWebhookMessageSubscriber | typeof GchatWebhookSubscriber | typeof GroupMemberSubscriber | typeof GroupRoleSubscriber | typeof ListPreferenceSubscriber | typeof ListingColumnSubscriber | typeof ListingPageSubscriber | typeof ListingPreferenceSubscriber | typeof MenuActionSubscriber | typeof MenuRoleSubscriber | typeof MenuSubscriber | typeof ModuleMenuSubscriber | typeof ModuleSubscriber | typeof PreferenceUserGroupSubscriber | typeof PreferenceUserSubscriber | typeof ProductSubscriber | typeof RoleGroupSubscriber | typeof ScheduledReportEmailSubscriber | typeof ScheduledReportItemSubscriber | typeof ScheduledReportSubscriber | typeof SlackIntegrationSubscriber | typeof SlackMessageSubscriber | typeof SlackTemplateSubscriber | typeof SlackUserSubscriber | typeof SlackWebhookMessageSubscriber | typeof SlackWebhookSubscriber | typeof UiActionRoleSubscriber | typeof UiActionSubscriber | typeof UserNotificationSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber | typeof WatchlistAssignmentSubscriber | typeof WebhookSlugSubscriber | typeof WebhookTypeSubscriber | typeof WhatsappMessageSubscriber | typeof WhatsappTemplateSubscriber)[];
366
+ subscribers: (typeof ApiAccountSubscriber | typeof AppIntegrationSubscriber | typeof BusinessAppIntegrationCredentialSubscriber | typeof BusinessAppIntegrationMessagesSubscriber | typeof BusinessAppIntegrationSubscriber | typeof BusinessEmailSubscriber | typeof BusinessGroupRoleSubscriber | typeof BusinessMenuSubscriber | typeof BusinessPreferenceSubscriber | typeof BusinessUserGroupSubscriber | typeof BusinessUserNotificationPreferenceSubscriber | typeof BusinessUserRoleSubscriber | typeof BusinessUserSubscriber | typeof BusinessWebhookSubscriber | typeof BzNotificationChannelPreferenceSubscriber | typeof ChildMenuSubscriber | typeof ChoiceListSubscriber | typeof ChoiceTypeSubscriber | typeof ConversationSubscriber | typeof CustomFieldSubscriber | typeof CustomReportSubscriber | typeof DashboardComponentSubscriber | typeof DashboardSubscriber | typeof DownloadLogSubscriber | typeof EmailAttachmentSubscriber | typeof EmailMessageSubscriber | typeof EmailRecipientSubscriber | typeof FcmMessageSubscriber | typeof FcmNotificationSubscriber | typeof FcmTemplateSubscriber | typeof FcmTokenSubscriber | typeof GchatMessageSubscriber | typeof GchatTemplateSubscriber | typeof GchatUserSubscriber | typeof GchatWebhookMessageSubscriber | typeof GchatWebhookSubscriber | typeof GroupMemberSubscriber | typeof GroupRoleSubscriber | typeof ListPreferenceSubscriber | typeof ListingColumnSubscriber | typeof ListingPageSubscriber | typeof ListingPreferenceSubscriber | typeof MenuActionSubscriber | typeof MenuRoleSubscriber | typeof MenuSubscriber | typeof ModuleMenuSubscriber | typeof ModuleSubscriber | typeof PreferenceUserGroupSubscriber | typeof PreferenceUserSubscriber | typeof ProductSubscriber | typeof RoleGroupSubscriber | typeof ScheduledReportEmailSubscriber | typeof ScheduledReportItemSubscriber | typeof ScheduledReportSubscriber | typeof SlackIntegrationSubscriber | typeof SlackMessageSubscriber | typeof SlackTemplateSubscriber | typeof SlackUserSubscriber | typeof SlackWebhookMessageSubscriber | typeof SlackWebhookSubscriber | typeof UiActionRoleSubscriber | typeof UiActionSubscriber | typeof UserNotificationSubscriber | typeof UserPreferenceSubscriber | typeof UserRoleSubscriber | typeof WatchlistAssignmentSubscriber | typeof WebhookEventSubscriber | typeof WebhookLogSubscriber | typeof WebhookSlugSubscriber | typeof WebhookTypeSubscriber | typeof WhatsappMessageSubscriber | typeof WhatsappTemplateSubscriber)[];
345
367
  };
346
368
  export default es6Classes;