@servicelabsco/slabs-access-manager 0.1.228 → 0.1.230
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.
- package/dist/access/controllers/business.report.controller.d.ts +17 -0
- package/dist/access/controllers/business.report.controller.js +96 -0
- package/dist/access/controllers/business.report.controller.js.map +1 -0
- package/dist/access/controllers/index.d.ts +2 -0
- package/dist/access/controllers/index.js +2 -0
- package/dist/access/controllers/index.js.map +1 -1
- package/dist/access/controllers/user.business.secret.controller.d.ts +14 -0
- package/dist/access/controllers/user.business.secret.controller.js +100 -0
- package/dist/access/controllers/user.business.secret.controller.js.map +1 -0
- package/dist/access/dtos/add.custom.field.dto.d.ts +1 -0
- package/dist/access/dtos/add.custom.field.dto.js +5 -0
- package/dist/access/dtos/add.custom.field.dto.js.map +1 -1
- package/dist/access/dtos/add.user.secret.dto.d.ts +3 -0
- package/dist/access/dtos/add.user.secret.dto.js +24 -0
- package/dist/access/dtos/add.user.secret.dto.js.map +1 -0
- package/dist/access/dtos/generate.business.report.dto.d.ts +4 -0
- package/dist/access/dtos/generate.business.report.dto.js +28 -0
- package/dist/access/dtos/generate.business.report.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +3 -0
- package/dist/access/dtos/index.js +3 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/dtos/user.business.secret.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/user.business.secret.attributes.dto.js +8 -0
- package/dist/access/dtos/user.business.secret.attributes.dto.js.map +1 -0
- package/dist/access/entities/business.downloadable.report.entity.d.ts +10 -0
- package/dist/access/entities/business.downloadable.report.entity.js +48 -0
- package/dist/access/entities/business.downloadable.report.entity.js.map +1 -0
- package/dist/access/entities/business.report.entity.d.ts +15 -0
- package/dist/access/entities/business.report.entity.js +69 -0
- package/dist/access/entities/business.report.entity.js.map +1 -0
- package/dist/access/entities/index.d.ts +3 -0
- package/dist/access/entities/index.js +3 -0
- package/dist/access/entities/index.js.map +1 -1
- package/dist/access/entities/user.business.secret.entity.d.ts +17 -0
- package/dist/access/entities/user.business.secret.entity.js +73 -0
- package/dist/access/entities/user.business.secret.entity.js.map +1 -0
- package/dist/access/es6.classes.d.ts +23 -8
- package/dist/access/es6.classes.js +36 -1
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/jobs/business.downloadable.report.job.d.ts +7 -0
- package/dist/access/jobs/business.downloadable.report.job.js +29 -0
- package/dist/access/jobs/business.downloadable.report.job.js.map +1 -0
- package/dist/access/jobs/business.report.job.d.ts +10 -0
- package/dist/access/jobs/business.report.job.js +41 -0
- package/dist/access/jobs/business.report.job.js.map +1 -0
- package/dist/access/jobs/generate.business.report.job.d.ts +16 -0
- package/dist/access/jobs/generate.business.report.job.js +52 -0
- package/dist/access/jobs/generate.business.report.job.js.map +1 -0
- package/dist/access/jobs/index.d.ts +4 -0
- package/dist/access/jobs/index.js +4 -0
- package/dist/access/jobs/index.js.map +1 -1
- package/dist/access/jobs/user.business.secret.job.d.ts +7 -0
- package/dist/access/jobs/user.business.secret.job.js +29 -0
- package/dist/access/jobs/user.business.secret.job.js.map +1 -0
- package/dist/access/libraries/create.user.business.secret.d.ts +15 -0
- package/dist/access/libraries/create.user.business.secret.js +51 -0
- package/dist/access/libraries/create.user.business.secret.js.map +1 -0
- package/dist/access/libraries/index.d.ts +1 -0
- package/dist/access/libraries/index.js +1 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/process.custom.field.creation.js +4 -3
- package/dist/access/libraries/process.custom.field.creation.js.map +1 -1
- package/dist/access/middlewares/index.d.ts +1 -0
- package/dist/access/middlewares/index.js +1 -0
- package/dist/access/middlewares/index.js.map +1 -1
- package/dist/access/middlewares/user.business.access.middleware.d.ts +9 -0
- package/dist/access/middlewares/user.business.access.middleware.js +45 -0
- package/dist/access/middlewares/user.business.access.middleware.js.map +1 -0
- package/dist/access/services/access.report.service.d.ts +2 -0
- package/dist/access/services/access.report.service.js +17 -0
- package/dist/access/services/access.report.service.js.map +1 -1
- package/dist/access/services/es6.jobs.service.d.ts +9 -1
- package/dist/access/services/es6.jobs.service.js +18 -2
- package/dist/access/services/es6.jobs.service.js.map +1 -1
- package/dist/access/services/index.d.ts +1 -0
- package/dist/access/services/index.js +1 -0
- package/dist/access/services/index.js.map +1 -1
- package/dist/access/services/user.business.access.service.d.ts +18 -0
- package/dist/access/services/user.business.access.service.js +69 -0
- package/dist/access/services/user.business.access.service.js.map +1 -0
- package/dist/access/subscribers/business.downloadable.report.subscriber.d.ts +10 -0
- package/dist/access/subscribers/business.downloadable.report.subscriber.js +34 -0
- package/dist/access/subscribers/business.downloadable.report.subscriber.js.map +1 -0
- package/dist/access/subscribers/business.report.subscriber.d.ts +10 -0
- package/dist/access/subscribers/business.report.subscriber.js +34 -0
- package/dist/access/subscribers/business.report.subscriber.js.map +1 -0
- package/dist/access/subscribers/index.d.ts +3 -0
- package/dist/access/subscribers/index.js +3 -0
- package/dist/access/subscribers/index.js.map +1 -1
- package/dist/access/subscribers/user.business.secret.subscriber.d.ts +11 -0
- package/dist/access/subscribers/user.business.secret.subscriber.js +37 -0
- package/dist/access/subscribers/user.business.secret.subscriber.js.map +1 -0
- package/dist/config/entity.constants.d.ts +6 -0
- package/dist/config/entity.constants.js +6 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/migrations/1733723463746-CreateBusinessDownloadableReportTable.d.ts +5 -0
- package/dist/migrations/1733723463746-CreateBusinessDownloadableReportTable.js +20 -0
- package/dist/migrations/1733723463746-CreateBusinessDownloadableReportTable.js.map +1 -0
- package/dist/migrations/1733724130691-CreateBusinessReportTable.d.ts +5 -0
- package/dist/migrations/1733724130691-CreateBusinessReportTable.js +24 -0
- package/dist/migrations/1733724130691-CreateBusinessReportTable.js.map +1 -0
- package/dist/migrations/1748933950283-CreateUserBusinessSecretTable.d.ts +5 -0
- package/dist/migrations/1748933950283-CreateUserBusinessSecretTable.js +26 -0
- package/dist/migrations/1748933950283-CreateUserBusinessSecretTable.js.map +1 -0
- package/package.json +1 -1
|
@@ -134,6 +134,23 @@ let AccessReportService = class AccessReportService {
|
|
|
134
134
|
}
|
|
135
135
|
return this.sqlService.read(sql);
|
|
136
136
|
}
|
|
137
|
+
filterParams(report) {
|
|
138
|
+
const params = {};
|
|
139
|
+
if (report?.params?.date_filter) {
|
|
140
|
+
const { min, max } = new process_date_filter_1.ProcessDateFilter().process(report?.params?.date_filter);
|
|
141
|
+
params.start_time = nestjs_utility_services_1.DateUtil.getDateInFormat(min);
|
|
142
|
+
params.end_time = nestjs_utility_services_1.DateUtil.getDateInFormat(max);
|
|
143
|
+
}
|
|
144
|
+
if (report?.params?.month_filter) {
|
|
145
|
+
const { min, max } = {
|
|
146
|
+
min: nestjs_utility_services_1.DateUtil.getDateInFormat((0, date_fns_1.startOfMonth)(report?.params?.month_filter)),
|
|
147
|
+
max: nestjs_utility_services_1.DateUtil.getDateInFormat((0, date_fns_1.endOfMonth)(report?.params?.month_filter)),
|
|
148
|
+
};
|
|
149
|
+
params.start_time = min;
|
|
150
|
+
params.end_time = max;
|
|
151
|
+
}
|
|
152
|
+
return params;
|
|
153
|
+
}
|
|
137
154
|
};
|
|
138
155
|
exports.AccessReportService = AccessReportService;
|
|
139
156
|
exports.AccessReportService = AccessReportService = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.report.service.js","sourceRoot":"","sources":["../../../src/access/services/access.report.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,oFAUgD;AAChD,
|
|
1
|
+
{"version":3,"file":"access.report.service.js","sourceRoot":"","sources":["../../../src/access/services/access.report.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,oFAUgD;AAChD,uCAAgE;AAChE,yEAAoE;AACpE,8FAAwF;AACxF,0EAAqE;AACrE,0EAAqE;AACrE,uEAAkE;AAClE,uDAAmD;AAI5C,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC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EvB,IAAI,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;YAC9B,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,uCAAiB,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;YAClF,MAAM,CAAC,UAAU,GAAG,kCAAQ,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;YAClD,MAAM,CAAC,QAAQ,GAAG,kCAAQ,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;QACpD,CAAC;QAED,IAAI,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC;YAC/B,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG;gBACjB,GAAG,EAAE,kCAAQ,CAAC,eAAe,CAAC,IAAA,uBAAY,EAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;gBACzE,GAAG,EAAE,kCAAQ,CAAC,eAAe,CAAC,IAAA,qBAAU,EAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;aAC1E,CAAC;YAEF,MAAM,CAAC,UAAU,GAAG,GAAG,CAAC;YACxB,MAAM,CAAC,QAAQ,GAAG,GAAG,CAAC;QAC1B,CAAC;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ,CAAA;AAxMY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;qCAG0B,oCAAU;QACP,uCAAa;QACb,uCAAa;QACL,+CAAqB;QAC5B,gCAAc;GAN5C,mBAAmB,CAwM/B"}
|
|
@@ -4,10 +4,12 @@ import { AppIntegrationJob } from '../jobs/app.integration.job';
|
|
|
4
4
|
import { BusinessAppIntegrationCredentialJob } from '../jobs/business.app.integration.credential.job';
|
|
5
5
|
import { BusinessAppIntegrationJob } from '../jobs/business.app.integration.job';
|
|
6
6
|
import { BusinessAppIntegrationMessagesJob } from '../jobs/business.app.integration.messages.job';
|
|
7
|
+
import { BusinessDownloadableReportJob } from '../jobs/business.downloadable.report.job';
|
|
7
8
|
import { BusinessEmailJob } from '../jobs/business.email.job';
|
|
8
9
|
import { BusinessGroupRoleJob } from '../jobs/business.group.role.job';
|
|
9
10
|
import { BusinessMenuJob } from '../jobs/business.menu.job';
|
|
10
11
|
import { BusinessPreferenceJob } from '../jobs/business.preference.job';
|
|
12
|
+
import { BusinessReportJob } from '../jobs/business.report.job';
|
|
11
13
|
import { BusinessUserGroupJob } from '../jobs/business.user.group.job';
|
|
12
14
|
import { BusinessUserJob } from '../jobs/business.user.job';
|
|
13
15
|
import { BusinessUserNotificationPreferenceJob } from '../jobs/business.user.notification.preference.job';
|
|
@@ -40,6 +42,7 @@ import { GchatTemplateJob } from '../jobs/gchat.template.job';
|
|
|
40
42
|
import { GchatUserJob } from '../jobs/gchat.user.job';
|
|
41
43
|
import { GchatWebhookJob } from '../jobs/gchat.webhook.job';
|
|
42
44
|
import { GchatWebhookMessageJob } from '../jobs/gchat.webhook.message.job';
|
|
45
|
+
import { GenerateBusinessReportJob } from '../jobs/generate.business.report.job';
|
|
43
46
|
import { GroupMemberJob } from '../jobs/group.member.job';
|
|
44
47
|
import { GroupRoleJob } from '../jobs/group.role.job';
|
|
45
48
|
import { ListPreferenceJob } from '../jobs/list.preference.job';
|
|
@@ -70,6 +73,7 @@ import { SlackWebhookMessageJob } from '../jobs/slack.webhook.message.job';
|
|
|
70
73
|
import { SyncBURoleJob } from '../jobs/sync.b.u.role.job';
|
|
71
74
|
import { UiActionJob } from '../jobs/ui.action.job';
|
|
72
75
|
import { UiActionRoleJob } from '../jobs/ui.action.role.job';
|
|
76
|
+
import { UserBusinessSecretJob } from '../jobs/user.business.secret.job';
|
|
73
77
|
import { UserNotificationJob } from '../jobs/user.notification.job';
|
|
74
78
|
import { UserPreferenceJob } from '../jobs/user.preference.job';
|
|
75
79
|
import { UserRoleJob } from '../jobs/user.role.job';
|
|
@@ -90,10 +94,12 @@ export declare class Es6JobsService {
|
|
|
90
94
|
private readonly businessAppIntegrationCredentialJob;
|
|
91
95
|
private readonly businessAppIntegrationJob;
|
|
92
96
|
private readonly businessAppIntegrationMessagesJob;
|
|
97
|
+
private readonly businessDownloadableReportJob;
|
|
93
98
|
private readonly businessEmailJob;
|
|
94
99
|
private readonly businessGroupRoleJob;
|
|
95
100
|
private readonly businessMenuJob;
|
|
96
101
|
private readonly businessPreferenceJob;
|
|
102
|
+
private readonly businessReportJob;
|
|
97
103
|
private readonly businessUserGroupJob;
|
|
98
104
|
private readonly businessUserJob;
|
|
99
105
|
private readonly businessUserNotificationPreferenceJob;
|
|
@@ -126,6 +132,7 @@ export declare class Es6JobsService {
|
|
|
126
132
|
private readonly gchatUserJob;
|
|
127
133
|
private readonly gchatWebhookJob;
|
|
128
134
|
private readonly gchatWebhookMessageJob;
|
|
135
|
+
private readonly generateBusinessReportJob;
|
|
129
136
|
private readonly groupMemberJob;
|
|
130
137
|
private readonly groupRoleJob;
|
|
131
138
|
private readonly listPreferenceJob;
|
|
@@ -156,6 +163,7 @@ export declare class Es6JobsService {
|
|
|
156
163
|
private readonly syncBURoleJob;
|
|
157
164
|
private readonly uiActionJob;
|
|
158
165
|
private readonly uiActionRoleJob;
|
|
166
|
+
private readonly userBusinessSecretJob;
|
|
159
167
|
private readonly userNotificationJob;
|
|
160
168
|
private readonly userPreferenceJob;
|
|
161
169
|
private readonly userRoleJob;
|
|
@@ -170,7 +178,7 @@ export declare class Es6JobsService {
|
|
|
170
178
|
private readonly whatsappTemplateJob;
|
|
171
179
|
private readonly whitelistedWhatsappNumberJob;
|
|
172
180
|
private jobs;
|
|
173
|
-
constructor(accessTestJob: AccessTestJob, apiAccountJob: ApiAccountJob, appIntegrationJob: AppIntegrationJob, businessAppIntegrationCredentialJob: BusinessAppIntegrationCredentialJob, businessAppIntegrationJob: BusinessAppIntegrationJob, businessAppIntegrationMessagesJob: BusinessAppIntegrationMessagesJob, businessEmailJob: BusinessEmailJob, businessGroupRoleJob: BusinessGroupRoleJob, businessMenuJob: BusinessMenuJob, businessPreferenceJob: BusinessPreferenceJob, businessUserGroupJob: BusinessUserGroupJob, businessUserJob: BusinessUserJob, businessUserNotificationPreferenceJob: BusinessUserNotificationPreferenceJob, businessUserRoleJob: BusinessUserRoleJob, businessWebhookJob: BusinessWebhookJob, bzNotificationChannelPreferenceJob: BzNotificationChannelPreferenceJob, childMenuJob: ChildMenuJob, choiceListJob: ChoiceListJob, choiceTypeJob: ChoiceTypeJob, conversationJob: ConversationJob, customFieldJob: CustomFieldJob, customReportJob: CustomReportJob, dashboardComponentJob: DashboardComponentJob, dashboardJob: DashboardJob, downloadLogJob: DownloadLogJob, emailAttachmentJob: EmailAttachmentJob, emailMessageJob: EmailMessageJob, emailRecipientJob: EmailRecipientJob, emailRuleJob: EmailRuleJob, emailStyleJob: EmailStyleJob, emailTemplateLogJob: EmailTemplateLogJob, evaluateEmailRuleJob: EvaluateEmailRuleJob, fcmMessageJob: FcmMessageJob, fcmNotificationJob: FcmNotificationJob, fcmTemplateJob: FcmTemplateJob, fcmTokenJob: FcmTokenJob, gchatIncomingWebhookJob: GchatIncomingWebhookJob, gchatMessageJob: GchatMessageJob, gchatTemplateJob: GchatTemplateJob, gchatUserJob: GchatUserJob, gchatWebhookJob: GchatWebhookJob, gchatWebhookMessageJob: GchatWebhookMessageJob, groupMemberJob: GroupMemberJob, groupRoleJob: GroupRoleJob, listPreferenceJob: ListPreferenceJob, listingColumnJob: ListingColumnJob, listingPageJob: ListingPageJob, listingPreferenceJob: ListingPreferenceJob, menuActionJob: MenuActionJob, menuJob: MenuJob, menuRoleJob: MenuRoleJob, moduleJob: ModuleJob, moduleMenuJob: ModuleMenuJob, preferenceUserGroupJob: PreferenceUserGroupJob, preferenceUsersJob: PreferenceUsersJob, processServerEmailJob: ProcessServerEmailJob, productJob: ProductJob, requestLogJob: RequestLogJob, roleGroupJob: RoleGroupJob, scheduledReportEmailJob: ScheduledReportEmailJob, scheduledReportItemJob: ScheduledReportItemJob, scheduledReportJob: ScheduledReportJob, slackIncomingWebhookJob: SlackIncomingWebhookJob, slackIntegrationJob: SlackIntegrationJob, slackMessageJob: SlackMessageJob, slackTemplateJob: SlackTemplateJob, slackUserJob: SlackUserJob, slackWebhookJob: SlackWebhookJob, slackWebhookMessageJob: SlackWebhookMessageJob, syncBURoleJob: SyncBURoleJob, uiActionJob: UiActionJob, uiActionRoleJob: UiActionRoleJob, userNotificationJob: UserNotificationJob, userPreferenceJob: UserPreferenceJob, userRoleJob: UserRoleJob, watchlistAssignmentJob: WatchlistAssignmentJob, webhookEventJob: WebhookEventJob, webhookLogJob: WebhookLogJob, webhookSlugJob: WebhookSlugJob, webhookTypeJob: WebhookTypeJob, whatsappIncomingWebhookJob: WhatsappIncomingWebhookJob, whatsappMessageJob: WhatsappMessageJob, whatsappMessagePayloadDto: WhatsappMessagePayloadDto, whatsappTemplateJob: WhatsappTemplateJob, whitelistedWhatsappNumberJob: WhitelistedWhatsappNumberJob);
|
|
181
|
+
constructor(accessTestJob: AccessTestJob, apiAccountJob: ApiAccountJob, appIntegrationJob: AppIntegrationJob, businessAppIntegrationCredentialJob: BusinessAppIntegrationCredentialJob, businessAppIntegrationJob: BusinessAppIntegrationJob, businessAppIntegrationMessagesJob: BusinessAppIntegrationMessagesJob, businessDownloadableReportJob: BusinessDownloadableReportJob, businessEmailJob: BusinessEmailJob, businessGroupRoleJob: BusinessGroupRoleJob, businessMenuJob: BusinessMenuJob, businessPreferenceJob: BusinessPreferenceJob, businessReportJob: BusinessReportJob, businessUserGroupJob: BusinessUserGroupJob, businessUserJob: BusinessUserJob, businessUserNotificationPreferenceJob: BusinessUserNotificationPreferenceJob, businessUserRoleJob: BusinessUserRoleJob, businessWebhookJob: BusinessWebhookJob, bzNotificationChannelPreferenceJob: BzNotificationChannelPreferenceJob, childMenuJob: ChildMenuJob, choiceListJob: ChoiceListJob, choiceTypeJob: ChoiceTypeJob, conversationJob: ConversationJob, customFieldJob: CustomFieldJob, customReportJob: CustomReportJob, dashboardComponentJob: DashboardComponentJob, dashboardJob: DashboardJob, downloadLogJob: DownloadLogJob, emailAttachmentJob: EmailAttachmentJob, emailMessageJob: EmailMessageJob, emailRecipientJob: EmailRecipientJob, emailRuleJob: EmailRuleJob, emailStyleJob: EmailStyleJob, emailTemplateLogJob: EmailTemplateLogJob, evaluateEmailRuleJob: EvaluateEmailRuleJob, fcmMessageJob: FcmMessageJob, fcmNotificationJob: FcmNotificationJob, fcmTemplateJob: FcmTemplateJob, fcmTokenJob: FcmTokenJob, gchatIncomingWebhookJob: GchatIncomingWebhookJob, gchatMessageJob: GchatMessageJob, gchatTemplateJob: GchatTemplateJob, gchatUserJob: GchatUserJob, gchatWebhookJob: GchatWebhookJob, gchatWebhookMessageJob: GchatWebhookMessageJob, generateBusinessReportJob: GenerateBusinessReportJob, groupMemberJob: GroupMemberJob, groupRoleJob: GroupRoleJob, listPreferenceJob: ListPreferenceJob, listingColumnJob: ListingColumnJob, listingPageJob: ListingPageJob, listingPreferenceJob: ListingPreferenceJob, menuActionJob: MenuActionJob, menuJob: MenuJob, menuRoleJob: MenuRoleJob, moduleJob: ModuleJob, moduleMenuJob: ModuleMenuJob, preferenceUserGroupJob: PreferenceUserGroupJob, preferenceUsersJob: PreferenceUsersJob, processServerEmailJob: ProcessServerEmailJob, productJob: ProductJob, requestLogJob: RequestLogJob, roleGroupJob: RoleGroupJob, scheduledReportEmailJob: ScheduledReportEmailJob, scheduledReportItemJob: ScheduledReportItemJob, scheduledReportJob: ScheduledReportJob, slackIncomingWebhookJob: SlackIncomingWebhookJob, slackIntegrationJob: SlackIntegrationJob, slackMessageJob: SlackMessageJob, slackTemplateJob: SlackTemplateJob, slackUserJob: SlackUserJob, slackWebhookJob: SlackWebhookJob, slackWebhookMessageJob: SlackWebhookMessageJob, syncBURoleJob: SyncBURoleJob, uiActionJob: UiActionJob, uiActionRoleJob: UiActionRoleJob, userBusinessSecretJob: UserBusinessSecretJob, userNotificationJob: UserNotificationJob, userPreferenceJob: UserPreferenceJob, userRoleJob: UserRoleJob, watchlistAssignmentJob: WatchlistAssignmentJob, webhookEventJob: WebhookEventJob, webhookLogJob: WebhookLogJob, webhookSlugJob: WebhookSlugJob, webhookTypeJob: WebhookTypeJob, whatsappIncomingWebhookJob: WhatsappIncomingWebhookJob, whatsappMessageJob: WhatsappMessageJob, whatsappMessagePayloadDto: WhatsappMessagePayloadDto, whatsappTemplateJob: WhatsappTemplateJob, whitelistedWhatsappNumberJob: WhitelistedWhatsappNumberJob);
|
|
174
182
|
alignJobs(): void;
|
|
175
183
|
setJobs(): void;
|
|
176
184
|
}
|
|
@@ -11,16 +11,19 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Es6JobsService = void 0;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
15
|
const access_test_job_1 = require("../jobs/access.test.job");
|
|
15
16
|
const api_account_job_1 = require("../jobs/api.account.job");
|
|
16
17
|
const app_integration_job_1 = require("../jobs/app.integration.job");
|
|
17
18
|
const business_app_integration_credential_job_1 = require("../jobs/business.app.integration.credential.job");
|
|
18
19
|
const business_app_integration_job_1 = require("../jobs/business.app.integration.job");
|
|
19
20
|
const business_app_integration_messages_job_1 = require("../jobs/business.app.integration.messages.job");
|
|
21
|
+
const business_downloadable_report_job_1 = require("../jobs/business.downloadable.report.job");
|
|
20
22
|
const business_email_job_1 = require("../jobs/business.email.job");
|
|
21
23
|
const business_group_role_job_1 = require("../jobs/business.group.role.job");
|
|
22
24
|
const business_menu_job_1 = require("../jobs/business.menu.job");
|
|
23
25
|
const business_preference_job_1 = require("../jobs/business.preference.job");
|
|
26
|
+
const business_report_job_1 = require("../jobs/business.report.job");
|
|
24
27
|
const business_user_group_job_1 = require("../jobs/business.user.group.job");
|
|
25
28
|
const business_user_job_1 = require("../jobs/business.user.job");
|
|
26
29
|
const business_user_notification_preference_job_1 = require("../jobs/business.user.notification.preference.job");
|
|
@@ -53,6 +56,7 @@ const gchat_template_job_1 = require("../jobs/gchat.template.job");
|
|
|
53
56
|
const gchat_user_job_1 = require("../jobs/gchat.user.job");
|
|
54
57
|
const gchat_webhook_job_1 = require("../jobs/gchat.webhook.job");
|
|
55
58
|
const gchat_webhook_message_job_1 = require("../jobs/gchat.webhook.message.job");
|
|
59
|
+
const generate_business_report_job_1 = require("../jobs/generate.business.report.job");
|
|
56
60
|
const group_member_job_1 = require("../jobs/group.member.job");
|
|
57
61
|
const group_role_job_1 = require("../jobs/group.role.job");
|
|
58
62
|
const list_preference_job_1 = require("../jobs/list.preference.job");
|
|
@@ -83,6 +87,7 @@ const slack_webhook_message_job_1 = require("../jobs/slack.webhook.message.job")
|
|
|
83
87
|
const sync_b_u_role_job_1 = require("../jobs/sync.b.u.role.job");
|
|
84
88
|
const ui_action_job_1 = require("../jobs/ui.action.job");
|
|
85
89
|
const ui_action_role_job_1 = require("../jobs/ui.action.role.job");
|
|
90
|
+
const user_business_secret_job_1 = require("../jobs/user.business.secret.job");
|
|
86
91
|
const user_notification_job_1 = require("../jobs/user.notification.job");
|
|
87
92
|
const user_preference_job_1 = require("../jobs/user.preference.job");
|
|
88
93
|
const user_role_job_1 = require("../jobs/user.role.job");
|
|
@@ -96,19 +101,20 @@ const whatsapp_message_job_1 = require("../jobs/whatsapp.message.job");
|
|
|
96
101
|
const whatsapp_message_payload_dto_1 = require("../jobs/whatsapp.message.payload.dto");
|
|
97
102
|
const whatsapp_template_job_1 = require("../jobs/whatsapp.template.job");
|
|
98
103
|
const whitelisted_whatsapp_number_job_1 = require("../jobs/whitelisted.whatsapp.number.job");
|
|
99
|
-
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
100
104
|
let Es6JobsService = class Es6JobsService {
|
|
101
|
-
constructor(accessTestJob, apiAccountJob, appIntegrationJob, businessAppIntegrationCredentialJob, businessAppIntegrationJob, businessAppIntegrationMessagesJob, businessEmailJob, businessGroupRoleJob, businessMenuJob, businessPreferenceJob, businessUserGroupJob, businessUserJob, businessUserNotificationPreferenceJob, businessUserRoleJob, businessWebhookJob, bzNotificationChannelPreferenceJob, childMenuJob, choiceListJob, choiceTypeJob, conversationJob, customFieldJob, customReportJob, dashboardComponentJob, dashboardJob, downloadLogJob, emailAttachmentJob, emailMessageJob, emailRecipientJob, emailRuleJob, emailStyleJob, emailTemplateLogJob, evaluateEmailRuleJob, fcmMessageJob, fcmNotificationJob, fcmTemplateJob, fcmTokenJob, gchatIncomingWebhookJob, gchatMessageJob, gchatTemplateJob, gchatUserJob, gchatWebhookJob, gchatWebhookMessageJob, groupMemberJob, groupRoleJob, listPreferenceJob, listingColumnJob, listingPageJob, listingPreferenceJob, menuActionJob, menuJob, menuRoleJob, moduleJob, moduleMenuJob, preferenceUserGroupJob, preferenceUsersJob, processServerEmailJob, productJob, requestLogJob, roleGroupJob, scheduledReportEmailJob, scheduledReportItemJob, scheduledReportJob, slackIncomingWebhookJob, slackIntegrationJob, slackMessageJob, slackTemplateJob, slackUserJob, slackWebhookJob, slackWebhookMessageJob, syncBURoleJob, uiActionJob, uiActionRoleJob, userNotificationJob, userPreferenceJob, userRoleJob, watchlistAssignmentJob, webhookEventJob, webhookLogJob, webhookSlugJob, webhookTypeJob, whatsappIncomingWebhookJob, whatsappMessageJob, whatsappMessagePayloadDto, whatsappTemplateJob, whitelistedWhatsappNumberJob) {
|
|
105
|
+
constructor(accessTestJob, apiAccountJob, appIntegrationJob, businessAppIntegrationCredentialJob, businessAppIntegrationJob, businessAppIntegrationMessagesJob, businessDownloadableReportJob, businessEmailJob, businessGroupRoleJob, businessMenuJob, businessPreferenceJob, businessReportJob, businessUserGroupJob, businessUserJob, businessUserNotificationPreferenceJob, businessUserRoleJob, businessWebhookJob, bzNotificationChannelPreferenceJob, childMenuJob, choiceListJob, choiceTypeJob, conversationJob, customFieldJob, customReportJob, dashboardComponentJob, dashboardJob, downloadLogJob, emailAttachmentJob, emailMessageJob, emailRecipientJob, emailRuleJob, emailStyleJob, emailTemplateLogJob, evaluateEmailRuleJob, fcmMessageJob, fcmNotificationJob, fcmTemplateJob, fcmTokenJob, gchatIncomingWebhookJob, gchatMessageJob, gchatTemplateJob, gchatUserJob, gchatWebhookJob, gchatWebhookMessageJob, generateBusinessReportJob, groupMemberJob, groupRoleJob, listPreferenceJob, listingColumnJob, listingPageJob, listingPreferenceJob, menuActionJob, menuJob, menuRoleJob, moduleJob, moduleMenuJob, preferenceUserGroupJob, preferenceUsersJob, processServerEmailJob, productJob, requestLogJob, roleGroupJob, scheduledReportEmailJob, scheduledReportItemJob, scheduledReportJob, slackIncomingWebhookJob, slackIntegrationJob, slackMessageJob, slackTemplateJob, slackUserJob, slackWebhookJob, slackWebhookMessageJob, syncBURoleJob, uiActionJob, uiActionRoleJob, userBusinessSecretJob, userNotificationJob, userPreferenceJob, userRoleJob, watchlistAssignmentJob, webhookEventJob, webhookLogJob, webhookSlugJob, webhookTypeJob, whatsappIncomingWebhookJob, whatsappMessageJob, whatsappMessagePayloadDto, whatsappTemplateJob, whitelistedWhatsappNumberJob) {
|
|
102
106
|
this.accessTestJob = accessTestJob;
|
|
103
107
|
this.apiAccountJob = apiAccountJob;
|
|
104
108
|
this.appIntegrationJob = appIntegrationJob;
|
|
105
109
|
this.businessAppIntegrationCredentialJob = businessAppIntegrationCredentialJob;
|
|
106
110
|
this.businessAppIntegrationJob = businessAppIntegrationJob;
|
|
107
111
|
this.businessAppIntegrationMessagesJob = businessAppIntegrationMessagesJob;
|
|
112
|
+
this.businessDownloadableReportJob = businessDownloadableReportJob;
|
|
108
113
|
this.businessEmailJob = businessEmailJob;
|
|
109
114
|
this.businessGroupRoleJob = businessGroupRoleJob;
|
|
110
115
|
this.businessMenuJob = businessMenuJob;
|
|
111
116
|
this.businessPreferenceJob = businessPreferenceJob;
|
|
117
|
+
this.businessReportJob = businessReportJob;
|
|
112
118
|
this.businessUserGroupJob = businessUserGroupJob;
|
|
113
119
|
this.businessUserJob = businessUserJob;
|
|
114
120
|
this.businessUserNotificationPreferenceJob = businessUserNotificationPreferenceJob;
|
|
@@ -141,6 +147,7 @@ let Es6JobsService = class Es6JobsService {
|
|
|
141
147
|
this.gchatUserJob = gchatUserJob;
|
|
142
148
|
this.gchatWebhookJob = gchatWebhookJob;
|
|
143
149
|
this.gchatWebhookMessageJob = gchatWebhookMessageJob;
|
|
150
|
+
this.generateBusinessReportJob = generateBusinessReportJob;
|
|
144
151
|
this.groupMemberJob = groupMemberJob;
|
|
145
152
|
this.groupRoleJob = groupRoleJob;
|
|
146
153
|
this.listPreferenceJob = listPreferenceJob;
|
|
@@ -171,6 +178,7 @@ let Es6JobsService = class Es6JobsService {
|
|
|
171
178
|
this.syncBURoleJob = syncBURoleJob;
|
|
172
179
|
this.uiActionJob = uiActionJob;
|
|
173
180
|
this.uiActionRoleJob = uiActionRoleJob;
|
|
181
|
+
this.userBusinessSecretJob = userBusinessSecretJob;
|
|
174
182
|
this.userNotificationJob = userNotificationJob;
|
|
175
183
|
this.userPreferenceJob = userPreferenceJob;
|
|
176
184
|
this.userRoleJob = userRoleJob;
|
|
@@ -196,10 +204,12 @@ let Es6JobsService = class Es6JobsService {
|
|
|
196
204
|
d34b52a4445ce255082dad9416c0541e: this.businessAppIntegrationCredentialJob,
|
|
197
205
|
'070ade8425d9a922c07310751136ec76': this.businessAppIntegrationJob,
|
|
198
206
|
'6e1de62723b466f5ffef7c4dd354efb1': this.businessAppIntegrationMessagesJob,
|
|
207
|
+
e06f3bbf9bb97b2b862a1e3cf2a9ab26: this.businessDownloadableReportJob,
|
|
199
208
|
'959c1abba8882d63a9f588dce339ba69': this.businessEmailJob,
|
|
200
209
|
f456a6f7d1791af00f58d78bbaab144b: this.businessGroupRoleJob,
|
|
201
210
|
'7dfe8ebcfc1d7b45160555265fc9225a': this.businessMenuJob,
|
|
202
211
|
b31ffc403925101fb511c12e81892e68: this.businessPreferenceJob,
|
|
212
|
+
'42a63b8aa2b8fc74248ed67fbfcd4468': this.businessReportJob,
|
|
203
213
|
'8d9bc56e4c29169dde8f2de343ce44b9': this.businessUserGroupJob,
|
|
204
214
|
'1df027a19ec3d416b60ffd7024e39e5c': this.businessUserJob,
|
|
205
215
|
bef296dfcb922abc58344ca1934086c1: this.businessUserNotificationPreferenceJob,
|
|
@@ -232,6 +242,7 @@ let Es6JobsService = class Es6JobsService {
|
|
|
232
242
|
'7faae96bc487ebb1fabac83a50c8951e': this.gchatUserJob,
|
|
233
243
|
'63ba43bcbf41e67220047c3993110882': this.gchatWebhookJob,
|
|
234
244
|
'3bf0d9d990295eb3393ea42f50be0b6e': this.gchatWebhookMessageJob,
|
|
245
|
+
'4f909f5daec4483cf67381a89175ef32': this.generateBusinessReportJob,
|
|
235
246
|
'19909d0969494ac331b1e53a8a80445d': this.groupMemberJob,
|
|
236
247
|
'3cc58c9673f618e58e3080f8ab64118d': this.groupRoleJob,
|
|
237
248
|
'13cb7ad5630f26a75b84e33afc467b4a': this.listPreferenceJob,
|
|
@@ -262,6 +273,7 @@ let Es6JobsService = class Es6JobsService {
|
|
|
262
273
|
'6bcfa2c351f27fb43727695788e994b1': this.syncBURoleJob,
|
|
263
274
|
'7e7d83369da7953ef5749c629446db5e': this.uiActionJob,
|
|
264
275
|
'0c812ceb276252bca70289acf23b2197': this.uiActionRoleJob,
|
|
276
|
+
'7fdb2355d27209b17eb519e077e14f65': this.userBusinessSecretJob,
|
|
265
277
|
'1f022206af0476719e1bc1938b3f04c5': this.userNotificationJob,
|
|
266
278
|
cde37d522acab091e506685644fa3a97: this.userPreferenceJob,
|
|
267
279
|
'98f60308658ff30626fe84c0b0b55165': this.userRoleJob,
|
|
@@ -290,10 +302,12 @@ exports.Es6JobsService = Es6JobsService = __decorate([
|
|
|
290
302
|
business_app_integration_credential_job_1.BusinessAppIntegrationCredentialJob,
|
|
291
303
|
business_app_integration_job_1.BusinessAppIntegrationJob,
|
|
292
304
|
business_app_integration_messages_job_1.BusinessAppIntegrationMessagesJob,
|
|
305
|
+
business_downloadable_report_job_1.BusinessDownloadableReportJob,
|
|
293
306
|
business_email_job_1.BusinessEmailJob,
|
|
294
307
|
business_group_role_job_1.BusinessGroupRoleJob,
|
|
295
308
|
business_menu_job_1.BusinessMenuJob,
|
|
296
309
|
business_preference_job_1.BusinessPreferenceJob,
|
|
310
|
+
business_report_job_1.BusinessReportJob,
|
|
297
311
|
business_user_group_job_1.BusinessUserGroupJob,
|
|
298
312
|
business_user_job_1.BusinessUserJob,
|
|
299
313
|
business_user_notification_preference_job_1.BusinessUserNotificationPreferenceJob,
|
|
@@ -326,6 +340,7 @@ exports.Es6JobsService = Es6JobsService = __decorate([
|
|
|
326
340
|
gchat_user_job_1.GchatUserJob,
|
|
327
341
|
gchat_webhook_job_1.GchatWebhookJob,
|
|
328
342
|
gchat_webhook_message_job_1.GchatWebhookMessageJob,
|
|
343
|
+
generate_business_report_job_1.GenerateBusinessReportJob,
|
|
329
344
|
group_member_job_1.GroupMemberJob,
|
|
330
345
|
group_role_job_1.GroupRoleJob,
|
|
331
346
|
list_preference_job_1.ListPreferenceJob,
|
|
@@ -356,6 +371,7 @@ exports.Es6JobsService = Es6JobsService = __decorate([
|
|
|
356
371
|
sync_b_u_role_job_1.SyncBURoleJob,
|
|
357
372
|
ui_action_job_1.UiActionJob,
|
|
358
373
|
ui_action_role_job_1.UiActionRoleJob,
|
|
374
|
+
user_business_secret_job_1.UserBusinessSecretJob,
|
|
359
375
|
user_notification_job_1.UserNotificationJob,
|
|
360
376
|
user_preference_job_1.UserPreferenceJob,
|
|
361
377
|
user_role_job_1.UserRoleJob,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es6.jobs.service.js","sourceRoot":"","sources":["../../../src/access/services/es6.jobs.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6DAAwD;AACxD,6DAAwD;AACxD,qEAAgE;AAChE,6GAAsG;AACtG,uFAAiF;AACjF,yGAAkG;AAClG,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C,gEAA6B;QAC1C,qCAAgB;QACZ,8CAAoB;QACzB,mCAAe;QACT,+CAAqB;QACzB,uCAAiB;QACd,8CAAoB;QACzB,mCAAe;QACO,iFAAqC;QACvD,4CAAmB;QACpB,yCAAkB;QACF,2EAAkC;QACxD,6BAAY;QACX,+BAAa;QACb,+BAAa;QACX,kCAAe;QAChB,iCAAc;QACb,mCAAe;QACT,+CAAqB;QAC9B,4BAAY;QACV,iCAAc;QACV,yCAAkB;QACrB,mCAAe;QACb,uCAAiB;QACtB,6BAAY;QACX,+BAAa;QACP,4CAAmB;QAClB,8CAAoB;QAC3B,+BAAa;QACR,yCAAkB;QACtB,iCAAc;QACjB,2BAAW;QACC,oDAAuB;QAC/B,mCAAe;QACd,qCAAgB;QACpB,6BAAY;QACT,mCAAe;QACR,kDAAsB;QACnB,wDAAyB;QACpC,iCAAc;QAChB,6BAAY;QACP,uCAAiB;QAClB,qCAAgB;QAClB,iCAAc;QACR,6CAAoB;QAC3B,+BAAa;QACnB,kBAAO;QACH,2BAAW;QACb,sBAAS;QACL,+BAAa;QACJ,kDAAsB;QAC1B,yCAAkB;QACf,gDAAqB;QAChC,wBAAU;QACP,+BAAa;QACd,6BAAY;QACD,oDAAuB;QACxB,kDAAsB;QAC1B,yCAAkB;QACb,oDAAuB;QAC3B,2CAAmB;QACvB,mCAAe;QACd,qCAAgB;QACpB,6BAAY;QACT,mCAAe;QACR,kDAAsB;QAC/B,iCAAa;QACf,2BAAW;QACP,oCAAe;QACT,gDAAqB;QACvB,2CAAmB;QACrB,uCAAiB;QACvB,2BAAW;QACA,iDAAsB;QAC7B,mCAAe;QACjB,+BAAa;QACZ,iCAAc;QACd,iCAAc;QACF,0DAA0B;QAClC,yCAAkB;QACX,wDAAyB;QAC/B,2CAAmB;QACV,8DAA4B;GA5FtE,cAAc,CA2M1B"}
|
|
@@ -18,6 +18,7 @@ export * from './scheduled.report.service';
|
|
|
18
18
|
export * from './send.email.service';
|
|
19
19
|
export * from './slabs.service';
|
|
20
20
|
export * from './slack.service';
|
|
21
|
+
export * from './user.business.access.service';
|
|
21
22
|
export * from './user.notification.service';
|
|
22
23
|
export * from './user.preference.service';
|
|
23
24
|
export * from './utility.service';
|
|
@@ -34,6 +34,7 @@ __exportStar(require("./scheduled.report.service"), exports);
|
|
|
34
34
|
__exportStar(require("./send.email.service"), exports);
|
|
35
35
|
__exportStar(require("./slabs.service"), exports);
|
|
36
36
|
__exportStar(require("./slack.service"), exports);
|
|
37
|
+
__exportStar(require("./user.business.access.service"), exports);
|
|
37
38
|
__exportStar(require("./user.notification.service"), exports);
|
|
38
39
|
__exportStar(require("./user.preference.service"), exports);
|
|
39
40
|
__exportStar(require("./utility.service"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,sDAAoC;AAAA,gEAA8C;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,kDAAgC;AAAA,gDAA8B;AAAA,+DAA6C;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,6DAA2C;AAAA,uDAAqC;AAAA,kDAAgC;AAAA,kDAAgC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,qDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,sDAAoC;AAAA,gEAA8C;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,kDAAgC;AAAA,gDAA8B;AAAA,+DAA6C;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,6DAA2C;AAAA,uDAAqC;AAAA,kDAAgC;AAAA,kDAAgC;AAAA,iEAA+C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,qDAAkC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CacheService, ClientCredentialDto } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { UserBusinessSecretEntity } from '../entities/user.business.secret.entity';
|
|
3
|
+
export declare class UserBusinessAccessService {
|
|
4
|
+
private readonly cacheService;
|
|
5
|
+
constructor(cacheService: CacheService);
|
|
6
|
+
validate(payload: ClientCredentialDto): Promise<UserBusinessSecretEntity>;
|
|
7
|
+
setCredentialCache(key: string): Promise<void | {
|
|
8
|
+
credential: string;
|
|
9
|
+
business_id: number;
|
|
10
|
+
client_id: string;
|
|
11
|
+
ips: any;
|
|
12
|
+
user_id: number;
|
|
13
|
+
}>;
|
|
14
|
+
private getCredential;
|
|
15
|
+
private getClientDetails;
|
|
16
|
+
dropKey(key: string): Promise<void>;
|
|
17
|
+
private getCacheIdentifier;
|
|
18
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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.UserBusinessAccessService = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const date_fns_1 = require("date-fns");
|
|
16
|
+
const user_business_secret_entity_1 = require("../entities/user.business.secret.entity");
|
|
17
|
+
let UserBusinessAccessService = class UserBusinessAccessService {
|
|
18
|
+
constructor(cacheService) {
|
|
19
|
+
this.cacheService = cacheService;
|
|
20
|
+
}
|
|
21
|
+
async validate(payload) {
|
|
22
|
+
const data = await this.getCredential(payload.client_id);
|
|
23
|
+
if (!data)
|
|
24
|
+
throw new nestjs_utility_services_1.AccessException(`Invalid client id`);
|
|
25
|
+
const validated = nestjs_utility_services_1.Hash.compare(payload.client_secret, data.credential);
|
|
26
|
+
if (!validated)
|
|
27
|
+
throw new nestjs_utility_services_1.AccessException(`Invalid client credential`);
|
|
28
|
+
if (!data?.ips?.length)
|
|
29
|
+
return data;
|
|
30
|
+
const isIpSet = data.ips.includes(payload.ip);
|
|
31
|
+
if (isIpSet)
|
|
32
|
+
return data;
|
|
33
|
+
throw new nestjs_utility_services_1.AccessException(`IP is not whitelisted`);
|
|
34
|
+
}
|
|
35
|
+
async setCredentialCache(key) {
|
|
36
|
+
const credentials = await this.getClientDetails(key);
|
|
37
|
+
if (!credentials)
|
|
38
|
+
return this.dropKey(key);
|
|
39
|
+
const identifier = this.getCacheIdentifier(key);
|
|
40
|
+
await this.cacheService.set(identifier, credentials, (0, date_fns_1.addHours)(new Date(), 1));
|
|
41
|
+
return credentials;
|
|
42
|
+
}
|
|
43
|
+
async getCredential(key) {
|
|
44
|
+
const identifier = this.getCacheIdentifier(key);
|
|
45
|
+
const data = await this.cacheService.get(identifier, null);
|
|
46
|
+
if (data)
|
|
47
|
+
return data;
|
|
48
|
+
return this.setCredentialCache(key);
|
|
49
|
+
}
|
|
50
|
+
async getClientDetails(key) {
|
|
51
|
+
const r = await user_business_secret_entity_1.UserBusinessSecretEntity.findOne({ where: { client_id: key } });
|
|
52
|
+
if (!r?.active)
|
|
53
|
+
return this.dropKey(key);
|
|
54
|
+
return { credential: r.client_secret, business_id: r.business_id, client_id: r.client_id, ips: r.ips, user_id: r.user_id };
|
|
55
|
+
}
|
|
56
|
+
async dropKey(key) {
|
|
57
|
+
const identifier = this.getCacheIdentifier(key);
|
|
58
|
+
await this.cacheService.delete(identifier);
|
|
59
|
+
}
|
|
60
|
+
getCacheIdentifier(key) {
|
|
61
|
+
return `user.business.secret.${key}.identifier`;
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
exports.UserBusinessAccessService = UserBusinessAccessService;
|
|
65
|
+
exports.UserBusinessAccessService = UserBusinessAccessService = __decorate([
|
|
66
|
+
(0, common_1.Injectable)(),
|
|
67
|
+
__metadata("design:paramtypes", [nestjs_utility_services_1.CacheService])
|
|
68
|
+
], UserBusinessAccessService);
|
|
69
|
+
//# sourceMappingURL=user.business.access.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.business.access.service.js","sourceRoot":"","sources":["../../../src/access/services/user.business.access.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,oFAAkH;AAClH,uCAAoC;AACpC,yFAAmF;AAQ5E,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAMlC,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IAAG,CAAC;IAQ3D,KAAK,CAAC,QAAQ,CAAC,OAA4B;QACvC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACzD,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,yCAAe,CAAC,mBAAmB,CAAC,CAAC;QAE1D,MAAM,SAAS,GAAG,8BAAI,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC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E,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;QAChF,IAAI,CAAC,CAAC,EAAE,MAAM;YAAE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEzC,OAAO,EAAE,UAAU,EAAE,CAAC,CAAC,aAAa,EAAE,WAAW,EAAE,CAAC,CAAC,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;IAC/H,CAAC;IAOD,KAAK,CAAC,OAAO,CAAC,GAAW;QACrB,MAAM,UAAU,GAAG,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC;QAChD,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAC/C,CAAC;IASO,kBAAkB,CAAC,GAAW;QAClC,OAAO,wBAAwB,GAAG,aAAa,CAAC;IACpD,CAAC;CACJ,CAAA;AA/FY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,mBAAU,GAAE;qCAOkC,sCAAY;GAN9C,yBAAyB,CA+FrC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource } from 'typeorm';
|
|
3
|
+
import { BusinessDownloadableReportEntity } from '../entities/business.downloadable.report.entity';
|
|
4
|
+
import { BusinessDownloadableReportJob } from '../jobs/business.downloadable.report.job';
|
|
5
|
+
export declare class BusinessDownloadableReportSubscriber extends CommonSubscriber<BusinessDownloadableReportEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
protected readonly entityJob: BusinessDownloadableReportJob;
|
|
8
|
+
constructor(dataSource: DataSource, entityJob: BusinessDownloadableReportJob);
|
|
9
|
+
listenTo(): typeof BusinessDownloadableReportEntity;
|
|
10
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.BusinessDownloadableReportSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const business_downloadable_report_entity_1 = require("../entities/business.downloadable.report.entity");
|
|
16
|
+
const business_downloadable_report_job_1 = require("../jobs/business.downloadable.report.job");
|
|
17
|
+
let BusinessDownloadableReportSubscriber = class BusinessDownloadableReportSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, entityJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.entityJob = entityJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return business_downloadable_report_entity_1.BusinessDownloadableReportEntity;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.BusinessDownloadableReportSubscriber = BusinessDownloadableReportSubscriber;
|
|
29
|
+
exports.BusinessDownloadableReportSubscriber = BusinessDownloadableReportSubscriber = __decorate([
|
|
30
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
31
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
32
|
+
business_downloadable_report_job_1.BusinessDownloadableReportJob])
|
|
33
|
+
], BusinessDownloadableReportSubscriber);
|
|
34
|
+
//# sourceMappingURL=business.downloadable.report.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.downloadable.report.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/business.downloadable.report.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAsD;AACtD,yGAAmG;AACnG,+FAAyF;AAGlF,IAAM,oCAAoC,GAA1C,MAAM,oCAAqC,SAAQ,0CAAkD;IACxG,YACqB,UAAsB,EACpB,SAAwC;QAE3D,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACpB,cAAS,GAAT,SAAS,CAA+B;QAG3D,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,sEAAgC,CAAC;IAC5C,CAAC;CACJ,CAAA;AAXY,oFAAoC;+CAApC,oCAAoC;IADhD,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACT,gEAA6B;GAHtD,oCAAoC,CAWhD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource } from 'typeorm';
|
|
3
|
+
import { BusinessReportEntity } from '../entities/business.report.entity';
|
|
4
|
+
import { BusinessReportJob } from '../jobs/business.report.job';
|
|
5
|
+
export declare class BusinessReportSubscriber extends CommonSubscriber<BusinessReportEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
protected readonly entityJob: BusinessReportJob;
|
|
8
|
+
constructor(dataSource: DataSource, entityJob: BusinessReportJob);
|
|
9
|
+
listenTo(): typeof BusinessReportEntity;
|
|
10
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.BusinessReportSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const business_report_entity_1 = require("../entities/business.report.entity");
|
|
16
|
+
const business_report_job_1 = require("../jobs/business.report.job");
|
|
17
|
+
let BusinessReportSubscriber = class BusinessReportSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, entityJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.entityJob = entityJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return business_report_entity_1.BusinessReportEntity;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.BusinessReportSubscriber = BusinessReportSubscriber;
|
|
29
|
+
exports.BusinessReportSubscriber = BusinessReportSubscriber = __decorate([
|
|
30
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
31
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
32
|
+
business_report_job_1.BusinessReportJob])
|
|
33
|
+
], BusinessReportSubscriber);
|
|
34
|
+
//# sourceMappingURL=business.report.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.report.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/business.report.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAsD;AACtD,+EAA0E;AAC1E,qEAAgE;AAGzD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,0CAAsC;IAChF,YACqB,UAAsB,EACpB,SAA4B;QAE/C,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACpB,cAAS,GAAT,SAAS,CAAmB;QAG/C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,6CAAoB,CAAC;IAChC,CAAC;CACJ,CAAA;AAXY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACT,uCAAiB;GAH1C,wBAAwB,CAWpC"}
|
|
@@ -3,10 +3,12 @@ export * from './app.integration.subscriber';
|
|
|
3
3
|
export * from './business.app.integration.credential.subscriber';
|
|
4
4
|
export * from './business.app.integration.messages.subscriber';
|
|
5
5
|
export * from './business.app.integration.subscriber';
|
|
6
|
+
export * from './business.downloadable.report.subscriber';
|
|
6
7
|
export * from './business.email.subscriber';
|
|
7
8
|
export * from './business.group.role.subscriber';
|
|
8
9
|
export * from './business.menu.subscriber';
|
|
9
10
|
export * from './business.preference.subscriber';
|
|
11
|
+
export * from './business.report.subscriber';
|
|
10
12
|
export * from './business.user.group.subscriber';
|
|
11
13
|
export * from './business.user.notification.preference.subscriber';
|
|
12
14
|
export * from './business.user.role.subscriber';
|
|
@@ -64,6 +66,7 @@ export * from './slack.webhook.message.subscriber';
|
|
|
64
66
|
export * from './slack.webhook.subscriber';
|
|
65
67
|
export * from './ui.action.role.subscriber';
|
|
66
68
|
export * from './ui.action.subscriber';
|
|
69
|
+
export * from './user.business.secret.subscriber';
|
|
67
70
|
export * from './user.notification.subscriber';
|
|
68
71
|
export * from './user.preference.subscriber';
|
|
69
72
|
export * from './user.role.subscriber';
|
|
@@ -19,10 +19,12 @@ __exportStar(require("./app.integration.subscriber"), exports);
|
|
|
19
19
|
__exportStar(require("./business.app.integration.credential.subscriber"), exports);
|
|
20
20
|
__exportStar(require("./business.app.integration.messages.subscriber"), exports);
|
|
21
21
|
__exportStar(require("./business.app.integration.subscriber"), exports);
|
|
22
|
+
__exportStar(require("./business.downloadable.report.subscriber"), exports);
|
|
22
23
|
__exportStar(require("./business.email.subscriber"), exports);
|
|
23
24
|
__exportStar(require("./business.group.role.subscriber"), exports);
|
|
24
25
|
__exportStar(require("./business.menu.subscriber"), exports);
|
|
25
26
|
__exportStar(require("./business.preference.subscriber"), exports);
|
|
27
|
+
__exportStar(require("./business.report.subscriber"), exports);
|
|
26
28
|
__exportStar(require("./business.user.group.subscriber"), exports);
|
|
27
29
|
__exportStar(require("./business.user.notification.preference.subscriber"), exports);
|
|
28
30
|
__exportStar(require("./business.user.role.subscriber"), exports);
|
|
@@ -80,6 +82,7 @@ __exportStar(require("./slack.webhook.message.subscriber"), exports);
|
|
|
80
82
|
__exportStar(require("./slack.webhook.subscriber"), exports);
|
|
81
83
|
__exportStar(require("./ui.action.role.subscriber"), exports);
|
|
82
84
|
__exportStar(require("./ui.action.subscriber"), exports);
|
|
85
|
+
__exportStar(require("./user.business.secret.subscriber"), exports);
|
|
83
86
|
__exportStar(require("./user.notification.subscriber"), exports);
|
|
84
87
|
__exportStar(require("./user.preference.subscriber"), exports);
|
|
85
88
|
__exportStar(require("./user.role.subscriber"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/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} from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent } from 'typeorm';
|
|
3
|
+
import { UserBusinessSecretEntity } from '../entities/user.business.secret.entity';
|
|
4
|
+
import { UserBusinessSecretJob } from '../jobs/user.business.secret.job';
|
|
5
|
+
export declare class UserBusinessSecretSubscriber extends CommonSubscriber<UserBusinessSecretEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
protected readonly entityJob: UserBusinessSecretJob;
|
|
8
|
+
constructor(dataSource: DataSource, entityJob: UserBusinessSecretJob);
|
|
9
|
+
listenTo(): typeof UserBusinessSecretEntity;
|
|
10
|
+
beforeInsert(evt: InsertEvent<UserBusinessSecretEntity>): Promise<void>;
|
|
11
|
+
}
|