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