@servicelabsco/slabs-access-manager 0.1.47 → 0.1.49
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/access.menu.controller.d.ts +2 -4
- package/dist/access/controllers/dashboard.controller.d.ts +2 -1
- package/dist/access/controllers/dashboard.controller.js.map +1 -1
- package/dist/access/controllers/download.log.controller.d.ts +10 -0
- package/dist/access/controllers/download.log.controller.js +46 -0
- package/dist/access/controllers/download.log.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/listing.controller.d.ts +3 -2
- package/dist/access/controllers/listing.controller.js.map +1 -1
- package/dist/access/controllers/scheduled.report.controller.d.ts +17 -0
- package/dist/access/controllers/scheduled.report.controller.js +91 -0
- package/dist/access/controllers/scheduled.report.controller.js.map +1 -0
- package/dist/access/dtos/add.conversation.dto.d.ts +7 -0
- package/dist/access/dtos/add.conversation.dto.js +43 -0
- package/dist/access/dtos/add.conversation.dto.js.map +1 -0
- package/dist/access/dtos/add.scheduled.report.dto.d.ts +7 -0
- package/dist/access/dtos/add.scheduled.report.dto.js +45 -0
- package/dist/access/dtos/add.scheduled.report.dto.js.map +1 -0
- package/dist/access/dtos/common.list.filter.dto.d.ts +1 -0
- package/dist/access/dtos/common.list.filter.dto.js +5 -0
- package/dist/access/dtos/common.list.filter.dto.js.map +1 -1
- package/dist/access/dtos/conversation.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/conversation.attributes.dto.js +8 -0
- package/dist/access/dtos/conversation.attributes.dto.js.map +1 -0
- package/dist/access/dtos/download.log.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/download.log.attributes.dto.js +8 -0
- package/dist/access/dtos/download.log.attributes.dto.js.map +1 -0
- package/dist/access/dtos/download.log.list.filter.dto.d.ts +3 -0
- package/dist/access/dtos/download.log.list.filter.dto.js +8 -0
- package/dist/access/dtos/download.log.list.filter.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +8 -0
- package/dist/access/dtos/index.js +8 -0
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/dtos/scheduled.report.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/scheduled.report.attributes.dto.js +8 -0
- package/dist/access/dtos/scheduled.report.attributes.dto.js.map +1 -0
- package/dist/access/dtos/scheduled.report.list.filter.dto.d.ts +3 -0
- package/dist/access/dtos/scheduled.report.list.filter.dto.js +8 -0
- package/dist/access/dtos/scheduled.report.list.filter.dto.js.map +1 -0
- package/dist/access/dtos/tagged.user.dto.d.ts +6 -0
- package/dist/access/dtos/tagged.user.dto.js +30 -0
- package/dist/access/dtos/tagged.user.dto.js.map +1 -0
- package/dist/access/entities/conversation.entity.d.ts +11 -0
- package/dist/access/entities/conversation.entity.js +46 -0
- package/dist/access/entities/conversation.entity.js.map +1 -0
- package/dist/access/entities/download.log.entity.d.ts +12 -0
- package/dist/access/entities/download.log.entity.js +53 -0
- package/dist/access/entities/download.log.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/scheduled.report.entity.d.ts +15 -0
- package/dist/access/entities/scheduled.report.entity.js +65 -0
- package/dist/access/entities/scheduled.report.entity.js.map +1 -0
- package/dist/access/es6.classes.d.ts +26 -6
- package/dist/access/es6.classes.js +50 -0
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/jobs/conversation.job.d.ts +7 -0
- package/dist/access/jobs/conversation.job.js +29 -0
- package/dist/access/jobs/conversation.job.js.map +1 -0
- package/dist/access/jobs/download.log.job.d.ts +7 -0
- package/dist/access/jobs/download.log.job.js +29 -0
- package/dist/access/jobs/download.log.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/scheduled.report.job.d.ts +10 -0
- package/dist/access/jobs/scheduled.report.job.js +37 -0
- package/dist/access/jobs/scheduled.report.job.js.map +1 -0
- package/dist/access/jobs/scheduled.report.processing.job.d.ts +10 -0
- package/dist/access/jobs/scheduled.report.processing.job.js +51 -0
- package/dist/access/jobs/scheduled.report.processing.job.js.map +1 -0
- package/dist/access/libraries/conversation.controller.d.ts +11 -0
- package/dist/access/libraries/conversation.controller.js +71 -0
- package/dist/access/libraries/conversation.controller.js.map +1 -0
- package/dist/access/libraries/index.d.ts +5 -0
- package/dist/access/libraries/index.js +5 -0
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/process.conversation.data.d.ts +15 -0
- package/dist/access/libraries/process.conversation.data.js +67 -0
- package/dist/access/libraries/process.conversation.data.js.map +1 -0
- package/dist/access/libraries/process.download.log.list.d.ts +21 -0
- package/dist/access/libraries/process.download.log.list.js +35 -0
- package/dist/access/libraries/process.download.log.list.js.map +1 -0
- package/dist/access/libraries/process.listing.csv.file.d.ts +1 -0
- package/dist/access/libraries/process.listing.csv.file.js +13 -1
- package/dist/access/libraries/process.listing.csv.file.js.map +1 -1
- package/dist/access/libraries/process.report.data.js +2 -1
- package/dist/access/libraries/process.report.data.js.map +1 -1
- package/dist/access/libraries/process.scheduled.report.data.d.ts +23 -0
- package/dist/access/libraries/process.scheduled.report.data.js +76 -0
- package/dist/access/libraries/process.scheduled.report.data.js.map +1 -0
- package/dist/access/libraries/process.scheduled.report.list.d.ts +21 -0
- package/dist/access/libraries/process.scheduled.report.list.js +34 -0
- package/dist/access/libraries/process.scheduled.report.list.js.map +1 -0
- package/dist/access/libraries/process.test.list.d.ts +2 -1
- package/dist/access/libraries/process.test.list.js.map +1 -1
- package/dist/access/services/es6.jobs.service.d.ts +9 -1
- package/dist/access/services/es6.jobs.service.js +17 -1
- package/dist/access/services/es6.jobs.service.js.map +1 -1
- package/dist/access/services/listing.service.js.map +1 -1
- package/dist/access/subscribers/conversation.subscriber.d.ts +12 -0
- package/dist/access/subscribers/conversation.subscriber.js +40 -0
- package/dist/access/subscribers/conversation.subscriber.js.map +1 -0
- package/dist/access/subscribers/download.log.subscriber.d.ts +12 -0
- package/dist/access/subscribers/download.log.subscriber.js +40 -0
- package/dist/access/subscribers/download.log.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/scheduled.report.subscriber.d.ts +12 -0
- package/dist/access/subscribers/scheduled.report.subscriber.js +40 -0
- package/dist/access/subscribers/scheduled.report.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/1709547386675-CreateScheduledReportTable.d.ts +5 -0
- package/dist/migrations/1709547386675-CreateScheduledReportTable.js +24 -0
- package/dist/migrations/1709547386675-CreateScheduledReportTable.js.map +1 -0
- package/dist/migrations/1710140902345-CreateConversationTable.d.ts +5 -0
- package/dist/migrations/1710140902345-CreateConversationTable.js +22 -0
- package/dist/migrations/1710140902345-CreateConversationTable.js.map +1 -0
- package/dist/migrations/1710413708360-CreateDownloadLogTable.d.ts +5 -0
- package/dist/migrations/1710413708360-CreateDownloadLogTable.js +21 -0
- package/dist/migrations/1710413708360-CreateDownloadLogTable.js.map +1 -0
- package/package.json +1 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -17,9 +17,11 @@ const business_user_group_job_1 = require("../jobs/business.user.group.job");
|
|
|
17
17
|
const business_user_job_1 = require("../jobs/business.user.job");
|
|
18
18
|
const business_user_role_job_1 = require("../jobs/business.user.role.job");
|
|
19
19
|
const child_menu_job_1 = require("../jobs/child.menu.job");
|
|
20
|
+
const conversation_job_1 = require("../jobs/conversation.job");
|
|
20
21
|
const custom_report_job_1 = require("../jobs/custom.report.job");
|
|
21
22
|
const dashboard_component_job_1 = require("../jobs/dashboard.component.job");
|
|
22
23
|
const dashboard_job_1 = require("../jobs/dashboard.job");
|
|
24
|
+
const download_log_job_1 = require("../jobs/download.log.job");
|
|
23
25
|
const group_member_job_1 = require("../jobs/group.member.job");
|
|
24
26
|
const group_role_job_1 = require("../jobs/group.role.job");
|
|
25
27
|
const list_preference_job_1 = require("../jobs/list.preference.job");
|
|
@@ -35,22 +37,26 @@ const preference_user_group_job_1 = require("../jobs/preference.user.group.job")
|
|
|
35
37
|
const preference_users_job_1 = require("../jobs/preference.users.job");
|
|
36
38
|
const product_job_1 = require("../jobs/product.job");
|
|
37
39
|
const role_group_job_1 = require("../jobs/role.group.job");
|
|
40
|
+
const scheduled_report_job_1 = require("../jobs/scheduled.report.job");
|
|
41
|
+
const scheduled_report_processing_job_1 = require("../jobs/scheduled.report.processing.job");
|
|
38
42
|
const ui_action_job_1 = require("../jobs/ui.action.job");
|
|
39
43
|
const ui_action_role_job_1 = require("../jobs/ui.action.role.job");
|
|
40
44
|
const user_preference_job_1 = require("../jobs/user.preference.job");
|
|
41
45
|
const user_role_job_1 = require("../jobs/user.role.job");
|
|
42
46
|
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
43
47
|
let Es6JobsService = class Es6JobsService {
|
|
44
|
-
constructor(businessGroupRoleJob, businessPreferenceJob, businessUserGroupJob, businessUserJob, businessUserRoleJob, childMenuJob, customReportJob, dashboardComponentJob, dashboardJob, groupMemberJob, groupRoleJob, listPreferenceJob, listingColumnJob, listingPageJob, listingPreferenceJob, menuActionJob, menuJob, menuRoleJob, moduleJob, moduleMenuJob, preferenceUserGroupJob, preferenceUsersJob, productJob, roleGroupJob, uiActionJob, uiActionRoleJob, userPreferenceJob, userRoleJob) {
|
|
48
|
+
constructor(businessGroupRoleJob, businessPreferenceJob, businessUserGroupJob, businessUserJob, businessUserRoleJob, childMenuJob, conversationJob, customReportJob, dashboardComponentJob, dashboardJob, downloadLogJob, groupMemberJob, groupRoleJob, listPreferenceJob, listingColumnJob, listingPageJob, listingPreferenceJob, menuActionJob, menuJob, menuRoleJob, moduleJob, moduleMenuJob, preferenceUserGroupJob, preferenceUsersJob, productJob, roleGroupJob, scheduledReportJob, scheduledReportProcessingJob, uiActionJob, uiActionRoleJob, userPreferenceJob, userRoleJob) {
|
|
45
49
|
this.businessGroupRoleJob = businessGroupRoleJob;
|
|
46
50
|
this.businessPreferenceJob = businessPreferenceJob;
|
|
47
51
|
this.businessUserGroupJob = businessUserGroupJob;
|
|
48
52
|
this.businessUserJob = businessUserJob;
|
|
49
53
|
this.businessUserRoleJob = businessUserRoleJob;
|
|
50
54
|
this.childMenuJob = childMenuJob;
|
|
55
|
+
this.conversationJob = conversationJob;
|
|
51
56
|
this.customReportJob = customReportJob;
|
|
52
57
|
this.dashboardComponentJob = dashboardComponentJob;
|
|
53
58
|
this.dashboardJob = dashboardJob;
|
|
59
|
+
this.downloadLogJob = downloadLogJob;
|
|
54
60
|
this.groupMemberJob = groupMemberJob;
|
|
55
61
|
this.groupRoleJob = groupRoleJob;
|
|
56
62
|
this.listPreferenceJob = listPreferenceJob;
|
|
@@ -66,6 +72,8 @@ let Es6JobsService = class Es6JobsService {
|
|
|
66
72
|
this.preferenceUsersJob = preferenceUsersJob;
|
|
67
73
|
this.productJob = productJob;
|
|
68
74
|
this.roleGroupJob = roleGroupJob;
|
|
75
|
+
this.scheduledReportJob = scheduledReportJob;
|
|
76
|
+
this.scheduledReportProcessingJob = scheduledReportProcessingJob;
|
|
69
77
|
this.uiActionJob = uiActionJob;
|
|
70
78
|
this.uiActionRoleJob = uiActionRoleJob;
|
|
71
79
|
this.userPreferenceJob = userPreferenceJob;
|
|
@@ -82,9 +90,11 @@ let Es6JobsService = class Es6JobsService {
|
|
|
82
90
|
'1df027a19ec3d416b60ffd7024e39e5c': this.businessUserJob,
|
|
83
91
|
'4a7a00b3a8090e793aeabb9277e2d725': this.businessUserRoleJob,
|
|
84
92
|
'589559e61985b6f208ec30499776da52': this.childMenuJob,
|
|
93
|
+
'31d846a78f49fba8ebb82899415b6391': this.conversationJob,
|
|
85
94
|
'8b3d598688b3d4111694c0e07c6294b7': this.customReportJob,
|
|
86
95
|
e3b7f33d4173dbbdf182ba26d62526cd: this.dashboardComponentJob,
|
|
87
96
|
'602b37b1d7d36da5bf800ed3fdb23fe5': this.dashboardJob,
|
|
97
|
+
'407e94e22bd99c6c5cdb517cd3e978b5': this.downloadLogJob,
|
|
88
98
|
'19909d0969494ac331b1e53a8a80445d': this.groupMemberJob,
|
|
89
99
|
'3cc58c9673f618e58e3080f8ab64118d': this.groupRoleJob,
|
|
90
100
|
'13cb7ad5630f26a75b84e33afc467b4a': this.listPreferenceJob,
|
|
@@ -100,6 +110,8 @@ let Es6JobsService = class Es6JobsService {
|
|
|
100
110
|
'5e4290185523173053f4c2bd2d6f781a': this.preferenceUsersJob,
|
|
101
111
|
'380f3258c132c9a6bdcda56024f25fcc': this.productJob,
|
|
102
112
|
cc942b35323b7ed6158469df81dee73a: this.roleGroupJob,
|
|
113
|
+
'3cbddf2a88ec88cffc308489beece27c': this.scheduledReportJob,
|
|
114
|
+
'456b07cd4c84c02e2fddcb4026891d31': this.scheduledReportProcessingJob,
|
|
103
115
|
'7e7d83369da7953ef5749c629446db5e': this.uiActionJob,
|
|
104
116
|
'0c812ceb276252bca70289acf23b2197': this.uiActionRoleJob,
|
|
105
117
|
cde37d522acab091e506685644fa3a97: this.userPreferenceJob,
|
|
@@ -119,9 +131,11 @@ exports.Es6JobsService = Es6JobsService = __decorate([
|
|
|
119
131
|
business_user_job_1.BusinessUserJob,
|
|
120
132
|
business_user_role_job_1.BusinessUserRoleJob,
|
|
121
133
|
child_menu_job_1.ChildMenuJob,
|
|
134
|
+
conversation_job_1.ConversationJob,
|
|
122
135
|
custom_report_job_1.CustomReportJob,
|
|
123
136
|
dashboard_component_job_1.DashboardComponentJob,
|
|
124
137
|
dashboard_job_1.DashboardJob,
|
|
138
|
+
download_log_job_1.DownloadLogJob,
|
|
125
139
|
group_member_job_1.GroupMemberJob,
|
|
126
140
|
group_role_job_1.GroupRoleJob,
|
|
127
141
|
list_preference_job_1.ListPreferenceJob,
|
|
@@ -137,6 +151,8 @@ exports.Es6JobsService = Es6JobsService = __decorate([
|
|
|
137
151
|
preference_users_job_1.PreferenceUsersJob,
|
|
138
152
|
product_job_1.ProductJob,
|
|
139
153
|
role_group_job_1.RoleGroupJob,
|
|
154
|
+
scheduled_report_job_1.ScheduledReportJob,
|
|
155
|
+
scheduled_report_processing_job_1.ScheduledReportProcessingJob,
|
|
140
156
|
ui_action_job_1.UiActionJob,
|
|
141
157
|
ui_action_role_job_1.UiActionRoleJob,
|
|
142
158
|
user_preference_job_1.UserPreferenceJob,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es6.jobs.service.js","sourceRoot":"","sources":["../../../src/access/services/es6.jobs.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6EAAuE;AACvE,6EAAwE;AACxE,6EAAuE;AACvE,iEAA4D;AAC5D,2EAAqE;AACrE,2DAAsD;AACtD,iEAA4D;AAC5D,6EAAwE;AACxE,yDAAqD;AACrD,+DAA0D;AAC1D,2DAAsD;AACtD,qEAAgE;AAChE,mEAA8D;AAC9D,+DAA0D;AAC1D,2EAAsE;AACtE,6DAAwD;AACxD,+CAA2C;AAC3C,yDAAoD;AACpD,mDAA+C;AAC/C,6DAAwD;AACxD,iFAA2E;AAC3E,uEAAkE;AAClE,qDAAiD;AACjD,2DAAsD;AACtD,yDAAoD;AACpD,mEAA6D;AAC7D,qEAAgE;AAChE,yDAAoD;AACpD,oFAAyE;AAQlE,IAAM,cAAc,GAApB,MAAM,cAAc;IAGvB,YACqB,oBAA0C,EAC1C,qBAA4C,EAC5C,oBAA0C,EAC1C,eAAgC,EAChC,mBAAwC,EACxC,YAA0B,EAC1B,eAAgC,EAChC,qBAA4C,EAC5C,YAA0B,EAC1B,cAA8B,EAC9B,YAA0B,EAC1B,iBAAoC,EACpC,gBAAkC,EAClC,cAA8B,EAC9B,oBAA0C,EAC1C,aAA4B,EAC5B,OAAgB,EAChB,WAAwB,EACxB,SAAoB,EACpB,aAA4B,EAC5B,sBAA8C,EAC9C,kBAAsC,EACtC,UAAsB,EACtB,YAA0B,EAC1B,WAAwB,EACxB,eAAgC,EAChC,iBAAoC,EACpC,WAAwB;
|
|
1
|
+
{"version":3,"file":"es6.jobs.service.js","sourceRoot":"","sources":["../../../src/access/services/es6.jobs.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6EAAuE;AACvE,6EAAwE;AACxE,6EAAuE;AACvE,iEAA4D;AAC5D,2EAAqE;AACrE,2DAAsD;AACtD,+DAA2D;AAC3D,iEAA4D;AAC5D,6EAAwE;AACxE,yDAAqD;AACrD,+DAA0D;AAC1D,+DAA0D;AAC1D,2DAAsD;AACtD,qEAAgE;AAChE,mEAA8D;AAC9D,+DAA0D;AAC1D,2EAAsE;AACtE,6DAAwD;AACxD,+CAA2C;AAC3C,yDAAoD;AACpD,mDAA+C;AAC/C,6DAAwD;AACxD,iFAA2E;AAC3E,uEAAkE;AAClE,qDAAiD;AACjD,2DAAsD;AACtD,uEAAkE;AAClE,6FAAuF;AACvF,yDAAoD;AACpD,mEAA6D;AAC7D,qEAAgE;AAChE,yDAAoD;AACpD,oFAAyE;AAQlE,IAAM,cAAc,GAApB,MAAM,cAAc;IAGvB,YACqB,oBAA0C,EAC1C,qBAA4C,EAC5C,oBAA0C,EAC1C,eAAgC,EAChC,mBAAwC,EACxC,YAA0B,EAC1B,eAAgC,EAChC,eAAgC,EAChC,qBAA4C,EAC5C,YAA0B,EAC1B,cAA8B,EAC9B,cAA8B,EAC9B,YAA0B,EAC1B,iBAAoC,EACpC,gBAAkC,EAClC,cAA8B,EAC9B,oBAA0C,EAC1C,aAA4B,EAC5B,OAAgB,EAChB,WAAwB,EACxB,SAAoB,EACpB,aAA4B,EAC5B,sBAA8C,EAC9C,kBAAsC,EACtC,UAAsB,EACtB,YAA0B,EAC1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ACrE,kCAAkC,EAAE,IAAI,CAAC,WAAW;YACpD,kCAAkC,EAAE,IAAI,CAAC,eAAe;YACxD,gCAAgC,EAAE,IAAI,CAAC,iBAAiB;YACxD,kCAAkC,EAAE,IAAI,CAAC,WAAW;SACvD,CAAC;IACN,CAAC;IAMD,OAAO;QACH,yCAAe,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;CACJ,CAAA;AAzFY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,mBAAU,GAAE;qCAKkC,8CAAoB;QACnB,+CAAqB;QACtB,8CAAoB;QACzB,mCAAe;QACX,4CAAmB;QAC1B,6BAAY;QACT,kCAAe;QACf,mCAAe;QACT,+CAAqB;QAC9B,4BAAY;QACV,iCAAc;QACd,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;QAC1B,wBAAU;QACR,6BAAY;QACN,yCAAkB;QACR,8DAA4B;QAC7C,2BAAW;QACP,oCAAe;QACb,uCAAiB;QACvB,2BAAW;GAnCpC,cAAc,CAyF1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listing.service.js","sourceRoot":"","sources":["../../../src/access/services/listing.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,oFAA0G;AAC1G,qCAAiC;AAGjC,6EAAwE;AAExE,qFAAgF;AAGzE,IAAM,cAAc,GAApB,MAAM,cAAc;IACvB,YACqB,aAA4B,EAC5B,UAAsB;QADtB,kBAAa,GAAb,aAAa,CAAe;QAC5B,eAAU,GAAV,UAAU,CAAY;IACxC,CAAC;IAEJ,KAAK,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"listing.service.js","sourceRoot":"","sources":["../../../src/access/services/listing.service.ts"],"names":[],"mappings":";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C;IACnC,CAAC;IAEO,YAAY;QAChB,IAAI,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;YAAE,OAAO,IAAI,CAAC;QAE9E,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ,CAAA;AA1EY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,mBAAU,GAAE;qCAG2B,uCAAa;QAChB,oCAAU;GAHlC,cAAc,CA0E1B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { ConversationEntity } from '../entities/conversation.entity';
|
|
4
|
+
import { ConversationJob } from '../jobs/conversation.job';
|
|
5
|
+
export declare class ConversationSubscriber extends CommonSubscriber<ConversationEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly conversationJob;
|
|
8
|
+
constructor(dataSource: DataSource, conversationJob: ConversationJob);
|
|
9
|
+
listenTo(): typeof ConversationEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<ConversationEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<ConversationEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.ConversationSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const conversation_entity_1 = require("../entities/conversation.entity");
|
|
16
|
+
const conversation_job_1 = require("../jobs/conversation.job");
|
|
17
|
+
let ConversationSubscriber = class ConversationSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, conversationJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.conversationJob = conversationJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return conversation_entity_1.ConversationEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.conversationJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.conversationJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
exports.ConversationSubscriber = ConversationSubscriber;
|
|
35
|
+
exports.ConversationSubscriber = ConversationSubscriber = __decorate([
|
|
36
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
37
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
38
|
+
conversation_job_1.ConversationJob])
|
|
39
|
+
], ConversationSubscriber);
|
|
40
|
+
//# sourceMappingURL=conversation.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/conversation.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,yEAAqE;AACrE,+DAA2D;AAEpD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,0CAAoC;IAC5E,YACqB,UAAsB,EACtB,eAAgC;QAEjD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,oBAAe,GAAf,eAAe,CAAiB;QAGjD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,wCAAkB,CAAC;IAC9B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAsC;QACpD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAsC;QACpD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;CACJ,CAAA;AAlBY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACL,kCAAe;GAH5C,sBAAsB,CAkBlC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { DownloadLogEntity } from '../entities/download.log.entity';
|
|
4
|
+
import { DownloadLogJob } from '../jobs/download.log.job';
|
|
5
|
+
export declare class DownloadLogSubscriber extends CommonSubscriber<DownloadLogEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly downloadLogJob;
|
|
8
|
+
constructor(dataSource: DataSource, downloadLogJob: DownloadLogJob);
|
|
9
|
+
listenTo(): typeof DownloadLogEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<DownloadLogEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<DownloadLogEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.DownloadLogSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const download_log_entity_1 = require("../entities/download.log.entity");
|
|
16
|
+
const download_log_job_1 = require("../jobs/download.log.job");
|
|
17
|
+
let DownloadLogSubscriber = class DownloadLogSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, downloadLogJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.downloadLogJob = downloadLogJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return download_log_entity_1.DownloadLogEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.downloadLogJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.downloadLogJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
exports.DownloadLogSubscriber = DownloadLogSubscriber;
|
|
35
|
+
exports.DownloadLogSubscriber = DownloadLogSubscriber = __decorate([
|
|
36
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
37
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
38
|
+
download_log_job_1.DownloadLogJob])
|
|
39
|
+
], DownloadLogSubscriber);
|
|
40
|
+
//# sourceMappingURL=download.log.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download.log.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/download.log.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,yEAAoE;AACpE,+DAA0D;AAEnD,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,0CAAmC;IAC1E,YACqB,UAAsB,EACtB,cAA8B;QAE/C,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,mBAAc,GAAd,cAAc,CAAgB;QAG/C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,uCAAiB,CAAC;IAC7B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAqC;QACnD,MAAM,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACxE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAqC;QACnD,MAAM,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACxE,CAAC;CACJ,CAAA;AAlBY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACN,iCAAc;GAH1C,qBAAqB,CAkBjC"}
|
|
@@ -4,9 +4,11 @@ export * from './business.user.group.subscriber';
|
|
|
4
4
|
export * from './business.user.role.subscriber';
|
|
5
5
|
export * from './business.user.subscriber';
|
|
6
6
|
export * from './child.menu.subscriber';
|
|
7
|
+
export * from './conversation.subscriber';
|
|
7
8
|
export * from './custom.report.subscriber';
|
|
8
9
|
export * from './dashboard.component.subscriber';
|
|
9
10
|
export * from './dashboard.subscriber';
|
|
11
|
+
export * from './download.log.subscriber';
|
|
10
12
|
export * from './group.member.subscriber';
|
|
11
13
|
export * from './group.role.subscriber';
|
|
12
14
|
export * from './list.preference.subscriber';
|
|
@@ -22,6 +24,7 @@ export * from './preference.user.group.subscriber';
|
|
|
22
24
|
export * from './preference.user.subscriber';
|
|
23
25
|
export * from './product.subscriber';
|
|
24
26
|
export * from './role.group.subscriber';
|
|
27
|
+
export * from './scheduled.report.subscriber';
|
|
25
28
|
export * from './ui.action.role.subscriber';
|
|
26
29
|
export * from './ui.action.subscriber';
|
|
27
30
|
export * from './user.preference.subscriber';
|
|
@@ -20,9 +20,11 @@ __exportStar(require("./business.user.group.subscriber"), exports);
|
|
|
20
20
|
__exportStar(require("./business.user.role.subscriber"), exports);
|
|
21
21
|
__exportStar(require("./business.user.subscriber"), exports);
|
|
22
22
|
__exportStar(require("./child.menu.subscriber"), exports);
|
|
23
|
+
__exportStar(require("./conversation.subscriber"), exports);
|
|
23
24
|
__exportStar(require("./custom.report.subscriber"), exports);
|
|
24
25
|
__exportStar(require("./dashboard.component.subscriber"), exports);
|
|
25
26
|
__exportStar(require("./dashboard.subscriber"), exports);
|
|
27
|
+
__exportStar(require("./download.log.subscriber"), exports);
|
|
26
28
|
__exportStar(require("./group.member.subscriber"), exports);
|
|
27
29
|
__exportStar(require("./group.role.subscriber"), exports);
|
|
28
30
|
__exportStar(require("./list.preference.subscriber"), exports);
|
|
@@ -38,6 +40,7 @@ __exportStar(require("./preference.user.group.subscriber"), exports);
|
|
|
38
40
|
__exportStar(require("./preference.user.subscriber"), exports);
|
|
39
41
|
__exportStar(require("./product.subscriber"), exports);
|
|
40
42
|
__exportStar(require("./role.group.subscriber"), exports);
|
|
43
|
+
__exportStar(require("./scheduled.report.subscriber"), exports);
|
|
41
44
|
__exportStar(require("./ui.action.role.subscriber"), exports);
|
|
42
45
|
__exportStar(require("./ui.action.subscriber"), exports);
|
|
43
46
|
__exportStar(require("./user.preference.subscriber"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/subscribers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,kEAAgD;AAAA,6DAA2C;AAAA,0DAAwC;AAAA,6DAA2C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,kEAAgD;AAAA,2DAAyC;AAAA,yDAAuC;AAAA,oDAAkC;AAAA,2DAAyC;AAAA,sDAAoC;AAAA,qEAAmD;AAAA,+DAA6C;AAAA,uDAAqC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,yDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/subscribers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,mEAAiD;AAAA,kEAAgD;AAAA,6DAA2C;AAAA,0DAAwC;AAAA,4DAA0C;AAAA,6DAA2C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,kEAAgD;AAAA,2DAAyC;AAAA,yDAAuC;AAAA,oDAAkC;AAAA,2DAAyC;AAAA,sDAAoC;AAAA,qEAAmD;AAAA,+DAA6C;AAAA,uDAAqC;AAAA,0DAAwC;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,yDAAuC;AAAA,+DAA6C;AAAA,yDAAsC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { ScheduledReportEntity } from '../entities/scheduled.report.entity';
|
|
4
|
+
import { ScheduledReportJob } from '../jobs/scheduled.report.job';
|
|
5
|
+
export declare class ScheduledReportSubscriber extends CommonSubscriber<ScheduledReportEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly scheduledReportJob;
|
|
8
|
+
constructor(dataSource: DataSource, scheduledReportJob: ScheduledReportJob);
|
|
9
|
+
listenTo(): typeof ScheduledReportEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<ScheduledReportEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<ScheduledReportEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.ScheduledReportSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const scheduled_report_entity_1 = require("../entities/scheduled.report.entity");
|
|
16
|
+
const scheduled_report_job_1 = require("../jobs/scheduled.report.job");
|
|
17
|
+
let ScheduledReportSubscriber = class ScheduledReportSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, scheduledReportJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.scheduledReportJob = scheduledReportJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return scheduled_report_entity_1.ScheduledReportEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.scheduledReportJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.scheduledReportJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
exports.ScheduledReportSubscriber = ScheduledReportSubscriber;
|
|
35
|
+
exports.ScheduledReportSubscriber = ScheduledReportSubscriber = __decorate([
|
|
36
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
37
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
38
|
+
scheduled_report_job_1.ScheduledReportJob])
|
|
39
|
+
], ScheduledReportSubscriber);
|
|
40
|
+
//# sourceMappingURL=scheduled.report.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduled.report.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/scheduled.report.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,iFAA4E;AAC5E,uEAAkE;AAE3D,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,0CAAuC;IAClF,YACqB,UAAsB,EACtB,kBAAsC;QAEvD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,uBAAkB,GAAlB,kBAAkB,CAAoB;QAGvD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,+CAAqB,CAAC;IACjC,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAyC;QACvD,MAAM,IAAI,CAAC,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5E,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAyC;QACvD,MAAM,IAAI,CAAC,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5E,CAAC;CACJ,CAAA;AAlBY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACF,yCAAkB;GAHlD,yBAAyB,CAkBrC"}
|
|
@@ -5,9 +5,11 @@ import { BusinessUserEntity } from '../access/entities/business.user.entity';
|
|
|
5
5
|
import { BusinessUserGroupEntity } from '../access/entities/business.user.group.entity';
|
|
6
6
|
import { BusinessUserRoleEntity } from '../access/entities/business.user.role.entity';
|
|
7
7
|
import { ChildMenuEntity } from '../access/entities/child.menu.entity';
|
|
8
|
+
import { ConversationEntity } from '../access/entities/conversation.entity';
|
|
8
9
|
import { CustomReportEntity } from '../access/entities/custom.report.entity';
|
|
9
10
|
import { DashboardComponentEntity } from '../access/entities/dashboard.component.entity';
|
|
10
11
|
import { DashboardEntity } from '../access/entities/dashboard.entity';
|
|
12
|
+
import { DownloadLogEntity } from '../access/entities/download.log.entity';
|
|
11
13
|
import { GroupMemberEntity } from '../access/entities/group.member.entity';
|
|
12
14
|
import { GroupRoleEntity } from '../access/entities/group.role.entity';
|
|
13
15
|
import { ListPreferenceEntity } from '../access/entities/list.preference.entity';
|
|
@@ -23,6 +25,7 @@ import { PreferenceUserEntity } from '../access/entities/preference.user.entity'
|
|
|
23
25
|
import { PreferenceUserGroupEntity } from '../access/entities/preference.user.group.entity';
|
|
24
26
|
import { ProductEntity } from '../access/entities/product.entity';
|
|
25
27
|
import { RoleGroupEntity } from '../access/entities/role.group.entity';
|
|
28
|
+
import { ScheduledReportEntity } from '../access/entities/scheduled.report.entity';
|
|
26
29
|
import { UiActionEntity } from '../access/entities/ui.action.entity';
|
|
27
30
|
import { UiActionRoleEntity } from '../access/entities/ui.action.role.entity';
|
|
28
31
|
import { UserPreferenceEntity } from '../access/entities/user.preference.entity';
|
|
@@ -45,9 +48,11 @@ declare const entityConstants: {
|
|
|
45
48
|
a699176389a8f376116bc1adc00df79c: typeof BusinessUserGroupEntity;
|
|
46
49
|
db2456e356ed67bad6d4d1b02760663e: typeof BusinessUserRoleEntity;
|
|
47
50
|
'70d7e2ccf454713ab4774a37daf4188d': typeof ChildMenuEntity;
|
|
51
|
+
fe8198a2a84e178059dd61d58666a0f8: typeof ConversationEntity;
|
|
48
52
|
'5ac0953e4565c548f1e16dd056801fc3': typeof CustomReportEntity;
|
|
49
53
|
'928d3e3bf036a18950ca1f099f25e374': typeof DashboardComponentEntity;
|
|
50
54
|
cb3277c9b0177cb369d162e6785c68b2: typeof DashboardEntity;
|
|
55
|
+
'9cebcabed7c84a3f1cdbca4d56e9bfa1': typeof DownloadLogEntity;
|
|
51
56
|
'20f23c4fb23ea7e31f1db48bb44fe1e6': typeof GroupMemberEntity;
|
|
52
57
|
'9757c354b6a42e5de9e21593a75b77d8': typeof GroupRoleEntity;
|
|
53
58
|
'91aaebde27f2d32ade69bff5b2b125cf': typeof ListPreferenceEntity;
|
|
@@ -63,6 +68,7 @@ declare const entityConstants: {
|
|
|
63
68
|
'0281d0bcca066ad6a61f1eeae81c40dd': typeof PreferenceUserGroupEntity;
|
|
64
69
|
'84c30d0701d352a4435904a05cc018c4': typeof ProductEntity;
|
|
65
70
|
'6e61f45b585911c9b7aeb6dd9723adf2': typeof RoleGroupEntity;
|
|
71
|
+
'16f90e4b4cb3e99e12ba604c4feafaa9': typeof ScheduledReportEntity;
|
|
66
72
|
'032b5b69fb3bb1932e431c946a38d5e2': typeof UiActionEntity;
|
|
67
73
|
'5a7cee7ff3b8db1685f34eb599fc0f1e': typeof UiActionRoleEntity;
|
|
68
74
|
'0c52a732ac1a3d79a48d5706ac8254f6': typeof UserPreferenceEntity;
|
|
@@ -6,9 +6,11 @@ const business_user_entity_1 = require("../access/entities/business.user.entity"
|
|
|
6
6
|
const business_user_group_entity_1 = require("../access/entities/business.user.group.entity");
|
|
7
7
|
const business_user_role_entity_1 = require("../access/entities/business.user.role.entity");
|
|
8
8
|
const child_menu_entity_1 = require("../access/entities/child.menu.entity");
|
|
9
|
+
const conversation_entity_1 = require("../access/entities/conversation.entity");
|
|
9
10
|
const custom_report_entity_1 = require("../access/entities/custom.report.entity");
|
|
10
11
|
const dashboard_component_entity_1 = require("../access/entities/dashboard.component.entity");
|
|
11
12
|
const dashboard_entity_1 = require("../access/entities/dashboard.entity");
|
|
13
|
+
const download_log_entity_1 = require("../access/entities/download.log.entity");
|
|
12
14
|
const group_member_entity_1 = require("../access/entities/group.member.entity");
|
|
13
15
|
const group_role_entity_1 = require("../access/entities/group.role.entity");
|
|
14
16
|
const list_preference_entity_1 = require("../access/entities/list.preference.entity");
|
|
@@ -24,6 +26,7 @@ const preference_user_entity_1 = require("../access/entities/preference.user.ent
|
|
|
24
26
|
const preference_user_group_entity_1 = require("../access/entities/preference.user.group.entity");
|
|
25
27
|
const product_entity_1 = require("../access/entities/product.entity");
|
|
26
28
|
const role_group_entity_1 = require("../access/entities/role.group.entity");
|
|
29
|
+
const scheduled_report_entity_1 = require("../access/entities/scheduled.report.entity");
|
|
27
30
|
const ui_action_entity_1 = require("../access/entities/ui.action.entity");
|
|
28
31
|
const ui_action_role_entity_1 = require("../access/entities/ui.action.role.entity");
|
|
29
32
|
const user_preference_entity_1 = require("../access/entities/user.preference.entity");
|
|
@@ -46,9 +49,11 @@ const entityConstants = {
|
|
|
46
49
|
a699176389a8f376116bc1adc00df79c: business_user_group_entity_1.BusinessUserGroupEntity,
|
|
47
50
|
db2456e356ed67bad6d4d1b02760663e: business_user_role_entity_1.BusinessUserRoleEntity,
|
|
48
51
|
'70d7e2ccf454713ab4774a37daf4188d': child_menu_entity_1.ChildMenuEntity,
|
|
52
|
+
fe8198a2a84e178059dd61d58666a0f8: conversation_entity_1.ConversationEntity,
|
|
49
53
|
'5ac0953e4565c548f1e16dd056801fc3': custom_report_entity_1.CustomReportEntity,
|
|
50
54
|
'928d3e3bf036a18950ca1f099f25e374': dashboard_component_entity_1.DashboardComponentEntity,
|
|
51
55
|
cb3277c9b0177cb369d162e6785c68b2: dashboard_entity_1.DashboardEntity,
|
|
56
|
+
'9cebcabed7c84a3f1cdbca4d56e9bfa1': download_log_entity_1.DownloadLogEntity,
|
|
52
57
|
'20f23c4fb23ea7e31f1db48bb44fe1e6': group_member_entity_1.GroupMemberEntity,
|
|
53
58
|
'9757c354b6a42e5de9e21593a75b77d8': group_role_entity_1.GroupRoleEntity,
|
|
54
59
|
'91aaebde27f2d32ade69bff5b2b125cf': list_preference_entity_1.ListPreferenceEntity,
|
|
@@ -64,6 +69,7 @@ const entityConstants = {
|
|
|
64
69
|
'0281d0bcca066ad6a61f1eeae81c40dd': preference_user_group_entity_1.PreferenceUserGroupEntity,
|
|
65
70
|
'84c30d0701d352a4435904a05cc018c4': product_entity_1.ProductEntity,
|
|
66
71
|
'6e61f45b585911c9b7aeb6dd9723adf2': role_group_entity_1.RoleGroupEntity,
|
|
72
|
+
'16f90e4b4cb3e99e12ba604c4feafaa9': scheduled_report_entity_1.ScheduledReportEntity,
|
|
67
73
|
'032b5b69fb3bb1932e431c946a38d5e2': ui_action_entity_1.UiActionEntity,
|
|
68
74
|
'5a7cee7ff3b8db1685f34eb599fc0f1e': ui_action_role_entity_1.UiActionRoleEntity,
|
|
69
75
|
'0c52a732ac1a3d79a48d5706ac8254f6': user_preference_entity_1.UserPreferenceEntity,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity.constants.js","sourceRoot":"","sources":["../../src/config/entity.constants.ts"],"names":[],"mappings":";AAAA,sFAAiF;AACjF,8FAAwF;AACxF,8FAAyF;AACzF,kFAA6E;AAC7E,8FAAwF;AACxF,4FAAsF;AACtF,4EAAuE;AACvE,kFAA6E;AAC7E,8FAAyF;AACzF,0EAAsE;AACtE,gFAA2E;AAC3E,4EAAuE;AACvE,sFAAiF;AACjF,oFAA+E;AAC/E,gFAA2E;AAC3E,4FAAuF;AACvF,8EAAyE;AACzE,gEAA4D;AAC5D,0EAAqE;AACrE,oEAAgE;AAChE,8EAAyE;AACzE,sFAAiF;AACjF,kGAA4F;AAC5F,sEAAkE;AAClE,4EAAuE;AACvE,0EAAqE;AACrE,oFAA8E;AAC9E,sFAAiF;AACjF,0EAAqE;AACrE,6FAAwF;AACxF,uGAAiG;AACjG,mHAA6G;AAC7G,mGAA6F;AAC7F,qFAAgF;AAChF,+FAAyF;AACzF,+FAAyF;AACzF,uFAAkF;AAClF,yFAAoF;AACpF,2FAAsF;AAEtF,MAAM,eAAe,GAAG;IACpB,kCAAkC,EAAE,6CAAoB;IACxD,kCAAkC,EAAE,oDAAuB;IAC3D,kCAAkC,EAAE,qDAAwB;IAC5D,gCAAgC,EAAE,yCAAkB;IACpD,gCAAgC,EAAE,oDAAuB;IACzD,gCAAgC,EAAE,kDAAsB;IACxD,kCAAkC,EAAE,mCAAe;IACnD,kCAAkC,EAAE,yCAAkB;IACtD,kCAAkC,EAAE,qDAAwB;IAC5D,gCAAgC,EAAE,kCAAe;IACjD,kCAAkC,EAAE,uCAAiB;IACrD,kCAAkC,EAAE,mCAAe;IACnD,kCAAkC,EAAE,6CAAoB;IACxD,kCAAkC,EAAE,2CAAmB;IACvD,kCAAkC,EAAE,uCAAiB;IACrD,gCAAgC,EAAE,mDAAuB;IACzD,kCAAkC,EAAE,qCAAgB;IACpD,kCAAkC,EAAE,wBAAU;IAC9C,kCAAkC,EAAE,iCAAc;IAClD,kCAAkC,EAAE,4BAAY;IAChD,kCAAkC,EAAE,qCAAgB;IACpD,gCAAgC,EAAE,6CAAoB;IACtD,kCAAkC,EAAE,wDAAyB;IAC7D,kCAAkC,EAAE,8BAAa;IACjD,kCAAkC,EAAE,mCAAe;IACnD,kCAAkC,EAAE,iCAAc;IAClD,kCAAkC,EAAE,0CAAkB;IACtD,kCAAkC,EAAE,6CAAoB;IACxD,kCAAkC,EAAE,iCAAc;IAClD,gCAAgC,EAAE,6CAAoB;IACtD,kCAAkC,EAAE,sDAAwB;IAC5D,gCAAgC,EAAE,kEAA8B;IAChE,gCAAgC,EAAE,kDAAsB;IACxD,kCAAkC,EAAE,qCAAgB;IACpD,gCAAgC,EAAE,8CAAoB;IACtD,gCAAgC,EAAE,8CAAoB;IACtD,kCAAkC,EAAE,uCAAiB;IACrD,gCAAgC,EAAE,yCAAkB;IACpD,kCAAkC,EAAE,2CAAmB;CAC1D,CAAC;AAEF,iBAAS,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"entity.constants.js","sourceRoot":"","sources":["../../src/config/entity.constants.ts"],"names":[],"mappings":";AAAA,sFAAiF;AACjF,8FAAwF;AACxF,8FAAyF;AACzF,kFAA6E;AAC7E,8FAAwF;AACxF,4FAAsF;AACtF,4EAAuE;AACvE,gFAA4E;AAC5E,kFAA6E;AAC7E,8FAAyF;AACzF,0EAAsE;AACtE,gFAA2E;AAC3E,gFAA2E;AAC3E,4EAAuE;AACvE,sFAAiF;AACjF,oFAA+E;AAC/E,gFAA2E;AAC3E,4FAAuF;AACvF,8EAAyE;AACzE,gEAA4D;AAC5D,0EAAqE;AACrE,oEAAgE;AAChE,8EAAyE;AACzE,sFAAiF;AACjF,k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tD,kCAAkC,EAAE,sDAAwB;IAC5D,gCAAgC,EAAE,kEAA8B;IAChE,gCAAgC,EAAE,kDAAsB;IACxD,kCAAkC,EAAE,qCAAgB;IACpD,gCAAgC,EAAE,8CAAoB;IACtD,gCAAgC,EAAE,8CAAoB;IACtD,kCAAkC,EAAE,uCAAiB;IACrD,gCAAgC,EAAE,yCAAkB;IACpD,kCAAkC,EAAE,2CAAmB;CAC1D,CAAC;AAEF,iBAAS,eAAe,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateScheduledReportTable1709547386675 = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class CreateScheduledReportTable1709547386675 extends nestjs_utility_services_1.MigrationUtility {
|
|
6
|
+
constructor() {
|
|
7
|
+
super('utl_scheduled_reports');
|
|
8
|
+
this.process();
|
|
9
|
+
}
|
|
10
|
+
process() {
|
|
11
|
+
this.primary();
|
|
12
|
+
this.foreign({ name: 'business_id', foreignTable: 'bz_business_details' });
|
|
13
|
+
this.foreign({ name: 'report_id', foreignTable: 'sys_report_details' });
|
|
14
|
+
this.dateTime('scheduled_at');
|
|
15
|
+
this.string('email');
|
|
16
|
+
this.json('options');
|
|
17
|
+
this.dateTime('processed_at');
|
|
18
|
+
this.string('file_url');
|
|
19
|
+
this.json('attributes');
|
|
20
|
+
this.whoColumns();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.CreateScheduledReportTable1709547386675 = CreateScheduledReportTable1709547386675;
|
|
24
|
+
//# sourceMappingURL=1709547386675-CreateScheduledReportTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1709547386675-CreateScheduledReportTable.js","sourceRoot":"","sources":["../../src/migrations/1709547386675-CreateScheduledReportTable.ts"],"names":[],"mappings":";;;AAAA,oFAA0E;AAE1E,MAAa,uCAAwC,SAAQ,0CAAgB;IACzE;QACI,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAC/B,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC,CAAC;QAC3E,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAC,CAAC;QACxE,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;QAC9B,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACrB,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACrB,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;QAC9B,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAExB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxB,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CACJ;AApBD,0FAoBC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateConversationTable1710140902345 = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class CreateConversationTable1710140902345 extends nestjs_utility_services_1.MigrationUtility {
|
|
6
|
+
constructor() {
|
|
7
|
+
super('utl_conversations');
|
|
8
|
+
this.process();
|
|
9
|
+
}
|
|
10
|
+
process() {
|
|
11
|
+
this.primary();
|
|
12
|
+
this.foreign({ name: 'parent_id', foreignTable: 'utl_conversations' });
|
|
13
|
+
this.string('source_type');
|
|
14
|
+
this.number('source_id');
|
|
15
|
+
this.json('tagged_users');
|
|
16
|
+
this.string('comments');
|
|
17
|
+
this.json('attributes');
|
|
18
|
+
this.whoColumns();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.CreateConversationTable1710140902345 = CreateConversationTable1710140902345;
|
|
22
|
+
//# sourceMappingURL=1710140902345-CreateConversationTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1710140902345-CreateConversationTable.js","sourceRoot":"","sources":["../../src/migrations/1710140902345-CreateConversationTable.ts"],"names":[],"mappings":";;;AAAA,oFAA0E;AAE1E,MAAa,oCAAqC,SAAQ,0CAAgB;IACtE;QACI,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,mBAAmB,EAAE,CAAC,CAAC;QACvE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAC3B,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACzB,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC1B,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAExB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxB,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CACJ;AAlBD,oFAkBC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateDownloadLogTable1710413708360 = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class CreateDownloadLogTable1710413708360 extends nestjs_utility_services_1.MigrationUtility {
|
|
6
|
+
constructor() {
|
|
7
|
+
super('bz_download_logs');
|
|
8
|
+
this.process();
|
|
9
|
+
}
|
|
10
|
+
process() {
|
|
11
|
+
this.primary();
|
|
12
|
+
this.foreign({ name: 'business_id', foreignTable: 'bz_business_details' });
|
|
13
|
+
this.foreign({ name: 'user_id', foreignTable: 'sys_users' });
|
|
14
|
+
this.string('file_url');
|
|
15
|
+
this.string('slug');
|
|
16
|
+
this.json('attributes');
|
|
17
|
+
this.whoColumns();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.CreateDownloadLogTable1710413708360 = CreateDownloadLogTable1710413708360;
|
|
21
|
+
//# sourceMappingURL=1710413708360-CreateDownloadLogTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1710413708360-CreateDownloadLogTable.js","sourceRoot":"","sources":["../../src/migrations/1710413708360-CreateDownloadLogTable.ts"],"names":[],"mappings":";;;AAAA,oFAA0E;AAE1E,MAAa,mCAAoC,SAAQ,0CAAgB;IACrE;QACI,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAC1B,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC,CAAC;QAC3E,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC,CAAC;QAC7D,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACxB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAEpB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxB,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CACJ;AAjBD,kFAiBC"}
|
package/package.json
CHANGED