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