@resolveio/server-lib 20.1.13 → 20.1.15
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/managers/mongo.manager.js +1 -1
- package/managers/mongo.manager.js.map +1 -1
- package/methods.ts +109 -109
- package/package.json +1 -1
- package/publications.ts +42 -42
package/methods.ts
CHANGED
|
@@ -3,140 +3,137 @@ import { UserModel } from './models/user.model';
|
|
|
3
3
|
|
|
4
4
|
export function SERVER_METHODS(resolveioServer) {
|
|
5
5
|
return {
|
|
6
|
-
cronEmailMergedDocsCleanUp: (cb?: Function): Promise<any> => {
|
|
7
|
-
return resolveioServer.call('cronEmailMergedDocsCleanUp', cb);
|
|
8
|
-
},
|
|
9
|
-
stuckCronJob: (cb?: Function): Promise<any> => {
|
|
10
|
-
return resolveioServer.call('stuckCronJob', cb);
|
|
11
|
-
},
|
|
12
|
-
reportbuilderCronJob: (data: Object, cb?: Function): Promise<any> => {
|
|
13
|
-
return resolveioServer.call('reportbuilderCronJob', data, cb);
|
|
14
|
-
},
|
|
15
|
-
insertErrorLog: (message, data, cb?: Function): Promise<any> => {
|
|
16
|
-
return resolveioServer.call('insertErrorLog', message, data, cb);
|
|
17
|
-
},
|
|
18
|
-
insertSubscriptionLog: (type, subscription, collection_name, subData, cb?: Function): Promise<any> => {
|
|
19
|
-
return resolveioServer.call('insertSubscriptionLog', type, subscription, collection_name, subData, cb);
|
|
20
|
-
},
|
|
21
|
-
insertMethodLatencyLog: (method, cb?: Function): Promise<any> => {
|
|
22
|
-
return resolveioServer.call('insertMethodLatencyLog', method, cb);
|
|
23
|
-
},
|
|
24
|
-
superadminAPM: (date_start: Date, date_end: Date, graphInterval, cb?: Function): Promise<any> => {
|
|
25
|
-
return resolveioServer.call('superadminAPM', date_start, date_end, graphInterval, cb);
|
|
26
|
-
},
|
|
27
6
|
collectionListAll: (cb?: Function): Promise<any> => {
|
|
28
7
|
return resolveioServer.call('collectionListAll', cb);
|
|
29
8
|
},
|
|
30
9
|
collectionListRB: (cb?: Function): Promise<any> => {
|
|
31
10
|
return resolveioServer.call('collectionListRB', cb);
|
|
32
11
|
},
|
|
33
|
-
|
|
34
|
-
return resolveioServer.call('
|
|
12
|
+
countCollection: (collectionType: string, cb?: Function): Promise<any> => {
|
|
13
|
+
return resolveioServer.call('countCollection', collectionType, cb);
|
|
35
14
|
},
|
|
36
|
-
|
|
37
|
-
return resolveioServer.call('
|
|
15
|
+
countCollectionWithQuery: (collectionType: string, query: Object, cb?: Function): Promise<any> => {
|
|
16
|
+
return resolveioServer.call('countCollectionWithQuery', collectionType, query, cb);
|
|
38
17
|
},
|
|
39
|
-
|
|
40
|
-
return resolveioServer.call('
|
|
18
|
+
createUserAndEmailEnrollment: (newUser: UserModel, sendEnrollmentEmail = true, cb?: Function): Promise<any> => {
|
|
19
|
+
return resolveioServer.call('createUserAndEmailEnrollment', newUser, sendEnrollmentEmail, cb);
|
|
41
20
|
},
|
|
42
|
-
|
|
43
|
-
return resolveioServer.call('
|
|
21
|
+
cronEmailMergedDocsCleanUp: (cb?: Function): Promise<any> => {
|
|
22
|
+
return resolveioServer.call('cronEmailMergedDocsCleanUp', cb);
|
|
44
23
|
},
|
|
45
|
-
|
|
46
|
-
return resolveioServer.call('
|
|
24
|
+
deleteFile: (key: string, cb?: Function): Promise<any> => {
|
|
25
|
+
return resolveioServer.call('deleteFile', key, cb);
|
|
47
26
|
},
|
|
48
|
-
|
|
49
|
-
return resolveioServer.call('
|
|
27
|
+
deleteFileWithId: (id_file: string, cb?: Function): Promise<any> => {
|
|
28
|
+
return resolveioServer.call('deleteFileWithId', id_file, cb);
|
|
50
29
|
},
|
|
51
|
-
|
|
52
|
-
return resolveioServer.call('
|
|
30
|
+
deleteFiles: (keys: string[], cb?: Function): Promise<any> => {
|
|
31
|
+
return resolveioServer.call('deleteFiles', keys, cb);
|
|
53
32
|
},
|
|
54
|
-
|
|
55
|
-
return resolveioServer.call('
|
|
33
|
+
disconnectWS: (id_ws, cb?: Function): Promise<any> => {
|
|
34
|
+
return resolveioServer.call('disconnectWS', id_ws, cb);
|
|
56
35
|
},
|
|
57
|
-
|
|
58
|
-
return resolveioServer.call('
|
|
36
|
+
emailFile: (id_file: string, email: string, additional_message, cb?: Function): Promise<any> => {
|
|
37
|
+
return resolveioServer.call('emailFile', id_file, email, additional_message, cb);
|
|
59
38
|
},
|
|
60
|
-
|
|
61
|
-
return resolveioServer.call('
|
|
39
|
+
find: (collection: string, query = {}, sortQuery = {}, cb?: Function): Promise<any> => {
|
|
40
|
+
return resolveioServer.call('find', collection, query, sortQuery, cb);
|
|
62
41
|
},
|
|
63
|
-
|
|
64
|
-
return resolveioServer.call('
|
|
42
|
+
findOne: (collection: string, query = {}, cb?: Function): Promise<any> => {
|
|
43
|
+
return resolveioServer.call('findOne', collection, query, cb);
|
|
65
44
|
},
|
|
66
|
-
|
|
67
|
-
return resolveioServer.call('
|
|
45
|
+
findWithOptions: (collection: string, query: Object, options: PaginationOptions, cb?: Function): Promise<any> => {
|
|
46
|
+
return resolveioServer.call('findWithOptions', collection, query, options, cb);
|
|
68
47
|
},
|
|
69
|
-
|
|
70
|
-
return resolveioServer.call('
|
|
48
|
+
generatePDF: (html, fileName, orientation = 'portrait', fontSize = '12px', upload = false, uploadFileOrder = -1, uploadFileType = '', cb?: Function): Promise<any> => {
|
|
49
|
+
return resolveioServer.call('generatePDF', html, fileName, orientation, fontSize, upload, uploadFileOrder, uploadFileType, cb);
|
|
71
50
|
},
|
|
72
|
-
|
|
73
|
-
return resolveioServer.call('
|
|
51
|
+
generatePDFNoPageNumber: (html, fileName, orientation = 'portrait', fontSize = '12px', upload = false, uploadFileOrder = -1, uploadFileType = '', cb?: Function): Promise<any> => {
|
|
52
|
+
return resolveioServer.call('generatePDFNoPageNumber', html, fileName, orientation, fontSize, upload, uploadFileOrder, uploadFileType, cb);
|
|
74
53
|
},
|
|
75
|
-
|
|
76
|
-
return resolveioServer.call('
|
|
54
|
+
getDataURIfromURL: (url: string, cb?: Function): Promise<any> => {
|
|
55
|
+
return resolveioServer.call('getDataURIfromURL', url, cb);
|
|
77
56
|
},
|
|
78
|
-
|
|
79
|
-
return resolveioServer.call('
|
|
57
|
+
getSignedUrl: (key: string, expires: number, cb?: Function): Promise<any> => {
|
|
58
|
+
return resolveioServer.call('getSignedUrl', key, expires, cb);
|
|
80
59
|
},
|
|
81
|
-
|
|
82
|
-
return resolveioServer.call('
|
|
60
|
+
getSignedUrlUSEast1BucketAndKey: (bucket: string, key: string, expires: number, cb?: Function): Promise<any> => {
|
|
61
|
+
return resolveioServer.call('getSignedUrlUSEast1BucketAndKey', bucket, key, expires, cb);
|
|
83
62
|
},
|
|
84
|
-
|
|
85
|
-
return resolveioServer.call('
|
|
63
|
+
getSignedUrlWithId: (id_file: string, expires: number, cb?: Function): Promise<any> => {
|
|
64
|
+
return resolveioServer.call('getSignedUrlWithId', id_file, expires, cb);
|
|
86
65
|
},
|
|
87
|
-
|
|
88
|
-
return resolveioServer.call('
|
|
66
|
+
getSignedUrls: (keys: string[], expires: number, cb?: Function): Promise<any> => {
|
|
67
|
+
return resolveioServer.call('getSignedUrls', keys, expires, cb);
|
|
89
68
|
},
|
|
90
69
|
getSignedUrlsAndFilesWithId: (ids: string[], expires: number, cb?: Function): Promise<any> => {
|
|
91
70
|
return resolveioServer.call('getSignedUrlsAndFilesWithId', ids, expires, cb);
|
|
92
71
|
},
|
|
93
|
-
|
|
94
|
-
return resolveioServer.call('
|
|
95
|
-
},
|
|
96
|
-
getSignedUrlUSEast1BucketAndKey: (bucket: string, key: string, expires: number, cb?: Function): Promise<any> => {
|
|
97
|
-
return resolveioServer.call('getSignedUrlUSEast1BucketAndKey', bucket, key, expires, cb);
|
|
72
|
+
incCounter: (counterType: string, cb?: Function): Promise<any> => {
|
|
73
|
+
return resolveioServer.call('incCounter', counterType, cb);
|
|
98
74
|
},
|
|
99
|
-
|
|
100
|
-
return resolveioServer.call('
|
|
75
|
+
incorrectUser: (old_user, new_user, client_subs, cb?: Function): Promise<any> => {
|
|
76
|
+
return resolveioServer.call('incorrectUser', old_user, new_user, client_subs, cb);
|
|
101
77
|
},
|
|
102
|
-
|
|
103
|
-
return resolveioServer.call('
|
|
78
|
+
insertDocument: (collection: string, document: Object, cb?: Function): Promise<any> => {
|
|
79
|
+
return resolveioServer.call('insertDocument', collection, document, cb);
|
|
104
80
|
},
|
|
105
|
-
|
|
106
|
-
return resolveioServer.call('
|
|
81
|
+
insertErrorLog: (message, data, cb?: Function): Promise<any> => {
|
|
82
|
+
return resolveioServer.call('insertErrorLog', message, data, cb);
|
|
107
83
|
},
|
|
108
|
-
|
|
109
|
-
return resolveioServer.call('
|
|
84
|
+
insertManyDocuments: (collection: string, documents: Object[], cb?: Function): Promise<any> => {
|
|
85
|
+
return resolveioServer.call('insertManyDocuments', collection, documents, cb);
|
|
110
86
|
},
|
|
111
|
-
|
|
112
|
-
return resolveioServer.call('
|
|
87
|
+
insertMethodLatencyLog: (method, cb?: Function): Promise<any> => {
|
|
88
|
+
return resolveioServer.call('insertMethodLatencyLog', method, cb);
|
|
113
89
|
},
|
|
114
|
-
|
|
115
|
-
return resolveioServer.call('
|
|
90
|
+
insertSubscriptionLog: (type, subscription, collection_name, subData, cb?: Function): Promise<any> => {
|
|
91
|
+
return resolveioServer.call('insertSubscriptionLog', type, subscription, collection_name, subData, cb);
|
|
116
92
|
},
|
|
117
93
|
mergePDFResolve: (fileKeys: string[], fileName: string, fileType?: string, cb?: Function): Promise<any> => {
|
|
118
94
|
return resolveioServer.call('mergePDFResolve', fileKeys, fileName, fileType, cb);
|
|
119
95
|
},
|
|
96
|
+
mergePDFResolveHtml: (htmls: string[], fileName: string, fileType?: string, save = true, cb?: Function): Promise<any> => {
|
|
97
|
+
return resolveioServer.call('mergePDFResolveHtml', htmls, fileName, fileType, save, cb);
|
|
98
|
+
},
|
|
120
99
|
mergePDFResolveNoSave: (fileKeys: string[], cb?: Function): Promise<any> => {
|
|
121
100
|
return resolveioServer.call('mergePDFResolveNoSave', fileKeys, cb);
|
|
122
101
|
},
|
|
123
|
-
|
|
124
|
-
return resolveioServer.call('
|
|
102
|
+
monitorCPUs: (cb?: Function): Promise<any> => {
|
|
103
|
+
return resolveioServer.call('monitorCPUs', cb);
|
|
125
104
|
},
|
|
126
|
-
|
|
127
|
-
return resolveioServer.call('
|
|
105
|
+
monitorMemorys: (cb?: Function): Promise<any> => {
|
|
106
|
+
return resolveioServer.call('monitorMemorys', cb);
|
|
128
107
|
},
|
|
129
|
-
|
|
130
|
-
return resolveioServer.call('
|
|
108
|
+
monitorMongos: (cb?: Function): Promise<any> => {
|
|
109
|
+
return resolveioServer.call('monitorMongos', cb);
|
|
131
110
|
},
|
|
132
111
|
reconnectWS: (id_ws, cb?: Function): Promise<any> => {
|
|
133
112
|
return resolveioServer.call('reconnectWS', id_ws, cb);
|
|
134
113
|
},
|
|
135
|
-
|
|
136
|
-
return resolveioServer.call('
|
|
114
|
+
reloadWS: (id_ws, cb?: Function): Promise<any> => {
|
|
115
|
+
return resolveioServer.call('reloadWS', id_ws, cb);
|
|
137
116
|
},
|
|
138
|
-
|
|
139
|
-
return resolveioServer.call('
|
|
117
|
+
removeDocument: (collection: string, doc_id: string, cb?: Function): Promise<any> => {
|
|
118
|
+
return resolveioServer.call('removeDocument', collection, doc_id, cb);
|
|
119
|
+
},
|
|
120
|
+
removeDocumentWithQuery: (collection: string, query: Object, cb?: Function): Promise<any> => {
|
|
121
|
+
return resolveioServer.call('removeDocumentWithQuery', collection, query, cb);
|
|
122
|
+
},
|
|
123
|
+
removeDocumentsWithQuery: (collection: string, query: Object, cb?: Function): Promise<any> => {
|
|
124
|
+
return resolveioServer.call('removeDocumentsWithQuery', collection, query, cb);
|
|
125
|
+
},
|
|
126
|
+
reportBuilderBuildTree: (collection_root: string, cb?: Function): Promise<any> => {
|
|
127
|
+
return resolveioServer.call('reportBuilderBuildTree', collection_root, cb);
|
|
128
|
+
},
|
|
129
|
+
reportBuilderGetDistinctValue: (treeLeaf, cb?: Function): Promise<any> => {
|
|
130
|
+
return resolveioServer.call('reportBuilderGetDistinctValue', treeLeaf, cb);
|
|
131
|
+
},
|
|
132
|
+
reportBuilderGetResults: (reportType: string, rootCollectionName: string, rootOptions: PaginationOptions, filters: any[] = [], filterArrays: any[] = [], filterArrayFields: any[] = [], selectedFields: any[] = [], customFields: any[] = [], groupsRow: any[] = [], fieldsTotal: any[] = [], fieldsLink: any[] = [], date_field = '', date_interval = '', displayType = '', cb?: Function): Promise<any> => {
|
|
133
|
+
return resolveioServer.call('reportBuilderGetResults', reportType, rootCollectionName, rootOptions, filters, filterArrays, filterArrayFields, selectedFields, customFields, groupsRow, fieldsTotal, fieldsLink, date_field, date_interval, displayType, cb);
|
|
134
|
+
},
|
|
135
|
+
reportbuilderCronJob: (data: Object, cb?: Function): Promise<any> => {
|
|
136
|
+
return resolveioServer.call('reportbuilderCronJob', data, cb);
|
|
140
137
|
},
|
|
141
138
|
resetUserPassword: (userId: string, cb?: Function): Promise<any> => {
|
|
142
139
|
return resolveioServer.call('resetUserPassword', userId, cb);
|
|
@@ -144,21 +141,18 @@ export function SERVER_METHODS(resolveioServer) {
|
|
|
144
141
|
setUserPassword: (userId: string, password: string, cb?: Function): Promise<any> => {
|
|
145
142
|
return resolveioServer.call('setUserPassword', userId, password, cb);
|
|
146
143
|
},
|
|
144
|
+
stuckCronJob: (cb?: Function): Promise<any> => {
|
|
145
|
+
return resolveioServer.call('stuckCronJob', cb);
|
|
146
|
+
},
|
|
147
|
+
superadminAPM: (date_start: Date, date_end: Date, graphInterval, cb?: Function): Promise<any> => {
|
|
148
|
+
return resolveioServer.call('superadminAPM', date_start, date_end, graphInterval, cb);
|
|
149
|
+
},
|
|
147
150
|
superadminMonitorGraphData: (date_start: Date, date_end: Date, collection: string, instance: string, client: string, graphInterval: string, variable: string, variableType: string, cb?: Function): Promise<any> => {
|
|
148
151
|
return resolveioServer.call('superadminMonitorGraphData', date_start, date_end, collection, instance, client, graphInterval, variable, variableType, cb);
|
|
149
152
|
},
|
|
150
153
|
superadminMonitorTableData: (date_start: Date, date_end: Date, collection: string, instance: string, client: string, graphInterval: string, variable: string, variableType: string, cb?: Function): Promise<any> => {
|
|
151
154
|
return resolveioServer.call('superadminMonitorTableData', date_start, date_end, collection, instance, client, graphInterval, variable, variableType, cb);
|
|
152
155
|
},
|
|
153
|
-
monitorMongos: (cb?: Function): Promise<any> => {
|
|
154
|
-
return resolveioServer.call('monitorMongos', cb);
|
|
155
|
-
},
|
|
156
|
-
monitorCPUs: (cb?: Function): Promise<any> => {
|
|
157
|
-
return resolveioServer.call('monitorCPUs', cb);
|
|
158
|
-
},
|
|
159
|
-
monitorMemorys: (cb?: Function): Promise<any> => {
|
|
160
|
-
return resolveioServer.call('monitorMemorys', cb);
|
|
161
|
-
},
|
|
162
156
|
supportCreateBillingUser: (user, cb?: Function): Promise<any> => {
|
|
163
157
|
return resolveioServer.call('supportCreateBillingUser', user, cb);
|
|
164
158
|
},
|
|
@@ -171,29 +165,35 @@ export function SERVER_METHODS(resolveioServer) {
|
|
|
171
165
|
supportUpdateSupportTicket: (supportTicket, cb?: Function): Promise<any> => {
|
|
172
166
|
return resolveioServer.call('supportUpdateSupportTicket', supportTicket, cb);
|
|
173
167
|
},
|
|
168
|
+
supportticketCount: (searchString, filters, cb?: Function): Promise<any> => {
|
|
169
|
+
return resolveioServer.call('supportticketCount', searchString, filters, cb);
|
|
170
|
+
},
|
|
174
171
|
supportticketsWithOptions: (options, searchString, filters, cb?: Function): Promise<any> => {
|
|
175
172
|
return resolveioServer.call('supportticketsWithOptions', options, searchString, filters, cb);
|
|
176
173
|
},
|
|
177
|
-
|
|
178
|
-
return resolveioServer.call('
|
|
174
|
+
updateDocument: (collection: string, f_document: Object, cb?: Function): Promise<any> => {
|
|
175
|
+
return resolveioServer.call('updateDocument', collection, f_document, cb);
|
|
179
176
|
},
|
|
180
|
-
|
|
181
|
-
return resolveioServer.call('
|
|
177
|
+
updateDocumentOffline: (collection: string, f_document: Object, cb?: Function): Promise<any> => {
|
|
178
|
+
return resolveioServer.call('updateDocumentOffline', collection, f_document, cb);
|
|
182
179
|
},
|
|
183
|
-
|
|
184
|
-
return resolveioServer.call('
|
|
180
|
+
updateDocumentProps: (collection: string, doc_id: string, updateParams: any[], doc__v?: number, cb?: Function): Promise<any> => {
|
|
181
|
+
return resolveioServer.call('updateDocumentProps', collection, doc_id, updateParams, doc__v, cb);
|
|
185
182
|
},
|
|
186
|
-
|
|
187
|
-
return resolveioServer.call('
|
|
183
|
+
updateDocumentPropsOffline: (collection: string, doc_id: string, updateParams: any[], doc__v: number, cb?: Function): Promise<any> => {
|
|
184
|
+
return resolveioServer.call('updateDocumentPropsOffline', collection, doc_id, updateParams, doc__v, cb);
|
|
188
185
|
},
|
|
189
|
-
|
|
190
|
-
return resolveioServer.call('
|
|
186
|
+
uploadFileAndSave: (fileName: string, fileData: string, fileSize: number, fileOrder: number, fileType: string, compress: Boolean, cb?: Function): Promise<any> => {
|
|
187
|
+
return resolveioServer.call('uploadFileAndSave', fileName, fileData, fileSize, fileOrder, fileType, compress, cb);
|
|
191
188
|
},
|
|
192
|
-
|
|
193
|
-
return resolveioServer.call('
|
|
189
|
+
uploadNonPDFBufferAndSave: (fileName: string, fileDataBuffer, fileSize: number, fileOrder: number, fileType: string, cb?: Function): Promise<any> => {
|
|
190
|
+
return resolveioServer.call('uploadNonPDFBufferAndSave', fileName, fileDataBuffer, fileSize, fileOrder, fileType, cb);
|
|
194
191
|
},
|
|
195
|
-
|
|
196
|
-
return resolveioServer.call('
|
|
192
|
+
uploadNonPDFFileAndSave: (fileName: string, fileData: string, fileSize: number, fileOrder: number, fileType: string, cb?: Function): Promise<any> => {
|
|
193
|
+
return resolveioServer.call('uploadNonPDFFileAndSave', fileName, fileData, fileSize, fileOrder, fileType, cb);
|
|
194
|
+
},
|
|
195
|
+
uploadNonPDFStreamAndSave: (fileName: string, fileData: string, fileOrder: number, fileType: string, cb?: Function): Promise<any> => {
|
|
196
|
+
return resolveioServer.call('uploadNonPDFStreamAndSave', fileName, fileData, fileOrder, fileType, cb);
|
|
197
197
|
},
|
|
198
198
|
};
|
|
199
199
|
}
|
package/package.json
CHANGED
package/publications.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
|
|
3
3
|
export function SERVER_PUBLICATIONS(resolveioServer) {
|
|
4
4
|
return {
|
|
5
|
-
|
|
6
|
-
return <Observable<any>> resolveioServer.subscribe('
|
|
5
|
+
appstatus: () => {
|
|
6
|
+
return <Observable<any>> resolveioServer.subscribe('appstatus');
|
|
7
7
|
},
|
|
8
8
|
cronjobs: () => {
|
|
9
9
|
return <Observable<any>> resolveioServer.subscribe('cronjobs');
|
|
@@ -11,35 +11,20 @@ export function SERVER_PUBLICATIONS(resolveioServer) {
|
|
|
11
11
|
cronjobsReportBuilderWithIdUser: (id_user: string) => {
|
|
12
12
|
return <Observable<any>> resolveioServer.subscribe('cronjobsReportBuilderWithIdUser', id_user);
|
|
13
13
|
},
|
|
14
|
-
|
|
15
|
-
return <Observable<any>> resolveioServer.subscribe('
|
|
14
|
+
fileWithId: (id_file: string) => {
|
|
15
|
+
return <Observable<any>> resolveioServer.subscribe('fileWithId', id_file);
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
return <Observable<any>> resolveioServer.subscribe('
|
|
17
|
+
filesIn: (id_files: string[]) => {
|
|
18
|
+
return <Observable<any>> resolveioServer.subscribe('filesIn', id_files);
|
|
19
|
+
},
|
|
20
|
+
flagWithType: (flagType: string) => {
|
|
21
|
+
return <Observable<any>> resolveioServer.subscribe('flagWithType', flagType);
|
|
19
22
|
},
|
|
20
23
|
loggedInUsers: () => {
|
|
21
24
|
return <Observable<any>> resolveioServer.subscribe('loggedInUsers');
|
|
22
25
|
},
|
|
23
|
-
|
|
24
|
-
return <Observable<any>> resolveioServer.subscribe('
|
|
25
|
-
},
|
|
26
|
-
reportbuilderreports: () => {
|
|
27
|
-
return <Observable<any>> resolveioServer.subscribe('reportbuilderreports');
|
|
28
|
-
},
|
|
29
|
-
reportbuilderreportsWithIdUser: (id_user: string) => {
|
|
30
|
-
return <Observable<any>> resolveioServer.subscribe('reportbuilderreportsWithIdUser', id_user);
|
|
31
|
-
},
|
|
32
|
-
reportbuilderreportWithId: (id: string) => {
|
|
33
|
-
return <Observable<any>> resolveioServer.subscribe('reportbuilderreportWithId', id);
|
|
34
|
-
},
|
|
35
|
-
reportbuilderreportsWithCustomerId: (id: string) => {
|
|
36
|
-
return <Observable<any>> resolveioServer.subscribe('reportbuilderreportsWithCustomerId', id);
|
|
37
|
-
},
|
|
38
|
-
logsWithType: (type: string) => {
|
|
39
|
-
return <Observable<any>> resolveioServer.subscribe('logsWithType', type);
|
|
40
|
-
},
|
|
41
|
-
logsWithTypes: (types: string[]) => {
|
|
42
|
-
return <Observable<any>> resolveioServer.subscribe('logsWithTypes', types);
|
|
26
|
+
logsWithCollection: (collection: string) => {
|
|
27
|
+
return <Observable<any>> resolveioServer.subscribe('logsWithCollection', collection);
|
|
43
28
|
},
|
|
44
29
|
logsWithIdDocument: (id_document: string) => {
|
|
45
30
|
return <Observable<any>> resolveioServer.subscribe('logsWithIdDocument', id_document);
|
|
@@ -50,38 +35,53 @@ export function SERVER_PUBLICATIONS(resolveioServer) {
|
|
|
50
35
|
logsWithRoute: (route: string) => {
|
|
51
36
|
return <Observable<any>> resolveioServer.subscribe('logsWithRoute', route);
|
|
52
37
|
},
|
|
53
|
-
|
|
54
|
-
return <Observable<any>> resolveioServer.subscribe('
|
|
38
|
+
logsWithType: (type: string) => {
|
|
39
|
+
return <Observable<any>> resolveioServer.subscribe('logsWithType', type);
|
|
40
|
+
},
|
|
41
|
+
logsWithTypes: (types: string[]) => {
|
|
42
|
+
return <Observable<any>> resolveioServer.subscribe('logsWithTypes', types);
|
|
55
43
|
},
|
|
56
44
|
methodlatencies: () => {
|
|
57
45
|
return <Observable<any>> resolveioServer.subscribe('methodlatencies');
|
|
58
46
|
},
|
|
59
|
-
userGuides: () => {
|
|
60
|
-
return <Observable<any>> resolveioServer.subscribe('userGuides');
|
|
61
|
-
},
|
|
62
|
-
flagWithType: (flagType: string) => {
|
|
63
|
-
return <Observable<any>> resolveioServer.subscribe('flagWithType', flagType);
|
|
64
|
-
},
|
|
65
47
|
methodresponses: () => {
|
|
66
48
|
return <Observable<any>> resolveioServer.subscribe('methodresponses');
|
|
67
49
|
},
|
|
50
|
+
notifications: () => {
|
|
51
|
+
return <Observable<any>> resolveioServer.subscribe('notifications');
|
|
52
|
+
},
|
|
53
|
+
reportbuilderdashboardWithId: (id_dashboard: string) => {
|
|
54
|
+
return <Observable<any>> resolveioServer.subscribe('reportbuilderdashboardWithId', id_dashboard);
|
|
55
|
+
},
|
|
56
|
+
reportbuilderdashboards: () => {
|
|
57
|
+
return <Observable<any>> resolveioServer.subscribe('reportbuilderdashboards');
|
|
58
|
+
},
|
|
68
59
|
reportbuilderlibraries: () => {
|
|
69
60
|
return <Observable<any>> resolveioServer.subscribe('reportbuilderlibraries');
|
|
70
61
|
},
|
|
62
|
+
reportbuilderlibrariesForUser: (id_user: string) => {
|
|
63
|
+
return <Observable<any>> resolveioServer.subscribe('reportbuilderlibrariesForUser', id_user);
|
|
64
|
+
},
|
|
71
65
|
reportbuilderlibrariesWithIdUser: (id_user: string) => {
|
|
72
66
|
return <Observable<any>> resolveioServer.subscribe('reportbuilderlibrariesWithIdUser', id_user);
|
|
73
67
|
},
|
|
74
|
-
|
|
75
|
-
return <Observable<any>> resolveioServer.subscribe('
|
|
68
|
+
reportbuilderreportWithId: (id: string) => {
|
|
69
|
+
return <Observable<any>> resolveioServer.subscribe('reportbuilderreportWithId', id);
|
|
76
70
|
},
|
|
77
|
-
|
|
78
|
-
return <Observable<any>> resolveioServer.subscribe('
|
|
71
|
+
reportbuilderreports: () => {
|
|
72
|
+
return <Observable<any>> resolveioServer.subscribe('reportbuilderreports');
|
|
79
73
|
},
|
|
80
|
-
|
|
81
|
-
return <Observable<any>> resolveioServer.subscribe('
|
|
74
|
+
reportbuilderreportsWithCustomerId: (id: string) => {
|
|
75
|
+
return <Observable<any>> resolveioServer.subscribe('reportbuilderreportsWithCustomerId', id);
|
|
82
76
|
},
|
|
83
|
-
|
|
84
|
-
return <Observable<any>> resolveioServer.subscribe('
|
|
77
|
+
reportbuilderreportsWithIdUser: (id_user: string) => {
|
|
78
|
+
return <Observable<any>> resolveioServer.subscribe('reportbuilderreportsWithIdUser', id_user);
|
|
79
|
+
},
|
|
80
|
+
userGuides: () => {
|
|
81
|
+
return <Observable<any>> resolveioServer.subscribe('userGuides');
|
|
82
|
+
},
|
|
83
|
+
usergroups: () => {
|
|
84
|
+
return <Observable<any>> resolveioServer.subscribe('usergroups');
|
|
85
85
|
},
|
|
86
86
|
};
|
|
87
87
|
}
|