@docbrasil/api-systemmanager 1.1.19 → 1.1.21

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 (104) hide show
  1. package/api/admin/doctypes.js +3 -3
  2. package/api/admin/document.js +7 -7
  3. package/api/admin/form.js +3 -3
  4. package/api/admin/index.js +1 -1
  5. package/api/admin/list.js +3 -3
  6. package/api/admin/message.js +2 -2
  7. package/api/admin/notification.js +5 -5
  8. package/api/admin/organization.js +3 -3
  9. package/api/admin/plugin.js +2 -2
  10. package/api/admin/policy.js +3 -3
  11. package/api/admin/processes.js +4 -4
  12. package/api/admin/task.js +3 -3
  13. package/api/admin/user.js +6 -6
  14. package/api/dispatch.js +2 -2
  15. package/api/external.js +5 -5
  16. package/api/general/geoLocation.js +3 -3
  17. package/api/general/index.js +1 -1
  18. package/api/login.js +7 -7
  19. package/api/session.js +1 -1
  20. package/api/user/application.js +2 -2
  21. package/api/user/datasource.js +2 -2
  22. package/api/user/document.js +13 -13
  23. package/api/user/help.js +2 -2
  24. package/api/user/index.js +1 -1
  25. package/api/user/my_tasks.js +11 -11
  26. package/api/user/notification.js +4 -4
  27. package/api/user/organization.js +4 -4
  28. package/api/user/page.js +2 -2
  29. package/api/user/process.js +12 -12
  30. package/api/user/register.js +4 -4
  31. package/api/user/settings.js +5 -5
  32. package/api/user/task.js +41 -4
  33. package/api/user/task_available.js +3 -3
  34. package/api/user/updates.js +1 -1
  35. package/api/user/user.js +108 -9
  36. package/dist/bundle.cjs +279 -143
  37. package/dist/bundle.mjs +1 -1
  38. package/doc/api.md +202 -102
  39. package/docs/Admin.html +1 -1
  40. package/docs/AdminDocuments.html +6 -6
  41. package/docs/AdminForm.html +2 -2
  42. package/docs/AdminLists.html +2 -2
  43. package/docs/AdminNotification.html +4 -4
  44. package/docs/AdminPlugin.html +1 -1
  45. package/docs/AdminPolicy.html +1 -1
  46. package/docs/AdminProcesses.html +2 -2
  47. package/docs/AdminTask.html +1 -1
  48. package/docs/AdminUser.html +4 -4
  49. package/docs/Application.html +1 -1
  50. package/docs/Datasource.html +1 -1
  51. package/docs/Dispatch.html +1 -1
  52. package/docs/Documents.html +10 -10
  53. package/docs/External.html +4 -4
  54. package/docs/GeoLocation.html +1 -1
  55. package/docs/Help.html +1 -1
  56. package/docs/Login.html +6 -6
  57. package/docs/MyTasks.html +11 -11
  58. package/docs/Notification.html +3 -3
  59. package/docs/Organization.html +6 -6
  60. package/docs/Page.html +1 -1
  61. package/docs/Process.html +9 -9
  62. package/docs/Register.html +3 -3
  63. package/docs/Settings.html +3 -3
  64. package/docs/Task.html +287 -3
  65. package/docs/TaskAvailable.html +2 -2
  66. package/docs/User.html +925 -7
  67. package/docs/Users.html +2 -2
  68. package/docs/admin_doctypes.js.html +3 -3
  69. package/docs/admin_document.js.html +7 -7
  70. package/docs/admin_form.js.html +3 -3
  71. package/docs/admin_index.js.html +1 -1
  72. package/docs/admin_list.js.html +3 -3
  73. package/docs/admin_message.js.html +2 -2
  74. package/docs/admin_notification.js.html +5 -5
  75. package/docs/admin_organization.js.html +3 -3
  76. package/docs/admin_plugin.js.html +2 -2
  77. package/docs/admin_policy.js.html +3 -3
  78. package/docs/admin_processes.js.html +4 -4
  79. package/docs/admin_task.js.html +3 -3
  80. package/docs/admin_user.js.html +6 -6
  81. package/docs/dispatch.js.html +2 -2
  82. package/docs/external.js.html +5 -5
  83. package/docs/general_geoLocation.js.html +3 -3
  84. package/docs/general_index.js.html +1 -1
  85. package/docs/login.js.html +7 -7
  86. package/docs/session.js.html +1 -1
  87. package/docs/user_application.js.html +2 -2
  88. package/docs/user_datasource.js.html +2 -2
  89. package/docs/user_document.js.html +13 -13
  90. package/docs/user_help.js.html +2 -2
  91. package/docs/user_index.js.html +1 -1
  92. package/docs/user_my_tasks.js.html +12 -12
  93. package/docs/user_notification.js.html +4 -4
  94. package/docs/user_organization.js.html +4 -4
  95. package/docs/user_page.js.html +2 -2
  96. package/docs/user_process.js.html +12 -12
  97. package/docs/user_register.js.html +4 -4
  98. package/docs/user_settings.js.html +5 -5
  99. package/docs/user_task.js.html +41 -4
  100. package/docs/user_task_available.js.html +3 -3
  101. package/docs/user_updates.js.html +1 -1
  102. package/docs/user_user.js.html +108 -9
  103. package/package.json +1 -1
  104. package/.project +0 -11
package/docs/Users.html CHANGED
@@ -231,7 +231,7 @@
231
231
  <dt class="tag-author">Author:</dt>
232
232
  <dd class="tag-author">
233
233
  <ul>
234
- <li><a href="mailto:abernardo.br@gmail.com">CloudBrasil</a></li>
234
+ <li><a href="mailto:augusto.pissarra@myndware.com">Myndware</a></li>
235
235
  </ul>
236
236
  </dd>
237
237
 
@@ -464,7 +464,7 @@
464
464
  <dt class="tag-author">Author:</dt>
465
465
  <dd class="tag-author">
466
466
  <ul>
467
- <li><a href="mailto:abernardo.br@gmail.com">CloudBrasil</a></li>
467
+ <li><a href="mailto:augusto.pissarra@myndware.com">Myndware</a></li>
468
468
  </ul>
469
469
  </dd>
470
470
 
@@ -100,7 +100,7 @@ class AdminDocTypes {
100
100
  }
101
101
 
102
102
  /**
103
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
103
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
104
104
  * @description Get the return data and check for errors
105
105
  * @param {object} retData Response HTTP
106
106
  * @return {*}
@@ -115,7 +115,7 @@ class AdminDocTypes {
115
115
  }
116
116
 
117
117
  /**
118
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
118
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
119
119
  * @description Set header with new session
120
120
  * @param {string} session Session, token JWT
121
121
  * @return {object} header with new session
@@ -130,7 +130,7 @@ class AdminDocTypes {
130
130
  }
131
131
 
132
132
  /**
133
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
133
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
134
134
  * @description Request profile by userId
135
135
  * @param {object} params The params
136
136
  * @param {string} params.id The organization document type id (_id database)
@@ -120,7 +120,7 @@ class AdminDocuments {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -135,7 +135,7 @@ class AdminDocuments {
135
135
  }
136
136
 
137
137
  /**
138
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
138
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
139
139
  * @description Advanced search of document in elastic search ussing system manager
140
140
  * @param {!object} params - Params to search document
141
141
  * @param {!string} params.docId - Document id (_id database)
@@ -194,7 +194,7 @@ class AdminDocuments {
194
194
  }
195
195
 
196
196
  /**
197
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
197
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
198
198
  * @description Get document by id
199
199
  * @param {object} params - Params to get document by id
200
200
  * @param {string} params.docId - Document id (_id database)
@@ -233,7 +233,7 @@ class AdminDocuments {
233
233
 
234
234
  /**
235
235
  *
236
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
236
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
237
237
  * @description Request signed url url to put or get
238
238
  * @param {object} params Params to request signed url
239
239
  * @param {string} params.methodType Method type HTTP get or put
@@ -287,7 +287,7 @@ class AdminDocuments {
287
287
 
288
288
  /**
289
289
  *
290
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
290
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
291
291
  * @description Update a document content
292
292
  * @param {object} params Params to request signed url
293
293
  * @param {string} params.content The content text
@@ -328,7 +328,7 @@ class AdminDocuments {
328
328
 
329
329
  /**
330
330
  *
331
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
331
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
332
332
  * @description Update a document content
333
333
  * @param {object} params Params to request signed url
334
334
  * @param {string} params.content The content text
@@ -374,7 +374,7 @@ class AdminDocuments {
374
374
 
375
375
  /**
376
376
  *
377
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
377
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
378
378
  * @description Get the content of a document
379
379
  * @param {object} params Params to request signed url
380
380
  * @param {string} params.docId The unique id of the document
@@ -120,7 +120,7 @@ class AdminForm {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -135,7 +135,7 @@ class AdminForm {
135
135
  }
136
136
 
137
137
  /**
138
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
138
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
139
139
  * @description Get advance form by ID
140
140
  * @param {object} params Params to find form by id
141
141
  * @param {string} params.id Formulary Id (_id database)
@@ -173,7 +173,7 @@ class AdminForm {
173
173
  }
174
174
 
175
175
  /**
176
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
176
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
177
177
  * @description Request signed url url to put or get
178
178
  * @param {object} params - Params to get form list
179
179
  * @param {string} params.orgId - Organization id (_id database)
@@ -105,7 +105,7 @@ import AdminOrganizations from './organization.js';
105
105
  */
106
106
  class Admin {
107
107
  /**
108
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
108
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
109
109
  * @constructor
110
110
  * @param {object} options Params of the constructor
111
111
  * @param {object} options.parent This of the pararent
@@ -120,7 +120,7 @@ class AdminLists {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -135,7 +135,7 @@ class AdminLists {
135
135
  }
136
136
 
137
137
  /**
138
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
138
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
139
139
  * @description Get list by ID
140
140
  * @param {object} params Params to find list by id
141
141
  * @param {string} params.id List Id (_id database)
@@ -173,7 +173,7 @@ class AdminLists {
173
173
  }
174
174
 
175
175
  /**
176
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
176
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
177
177
  * @description Get all lists
178
178
  * @param {object} params={} Params to pagination and orgId
179
179
  * @param {number} [params.page=0] Current page to pagination
@@ -105,7 +105,7 @@ class AdminMessage {
105
105
  }
106
106
 
107
107
  /**
108
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
108
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
109
109
  * @description Get the return data and check for errors
110
110
  * @param {object} retData Response HTTP
111
111
  * @return {*}
@@ -120,7 +120,7 @@ class AdminMessage {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -120,7 +120,7 @@ class AdminNotification {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -159,7 +159,7 @@ class AdminNotification {
159
159
  }
160
160
 
161
161
  /**
162
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
162
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
163
163
  * @description Create notification
164
164
  * @param {object} params Params to create notification
165
165
  * @param {string} params.orgId OrgId of the user SU
@@ -200,7 +200,7 @@ class AdminNotification {
200
200
  }
201
201
 
202
202
  /**
203
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
203
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
204
204
  * @description Search notification using (notificationId or userId)
205
205
  * @param {object} params Params to create notification
206
206
  * @param {string} params.orgId OrgId of the user SU
@@ -238,7 +238,7 @@ class AdminNotification {
238
238
  }
239
239
 
240
240
  /**
241
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
241
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
242
242
  * @description Update notification using (notificationId or userId)
243
243
  * @param {object} params Params to create notification
244
244
  * @param {string} params.orgId OrgId of the user SU
@@ -279,7 +279,7 @@ class AdminNotification {
279
279
  }
280
280
 
281
281
  /**
282
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
282
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
283
283
  * @description Delete notification using (notificationId or userId)
284
284
  * @param {object} params Params to create notification
285
285
  * @param {string} params.orgId OrgId of the user SU
@@ -120,7 +120,7 @@ class Organization {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -135,7 +135,7 @@ class Organization {
135
135
  }
136
136
 
137
137
  /**
138
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
138
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
139
139
  * @description Update avatar of organization by session of user not allow session user SU
140
140
  * @param {object} params Params to update avatar
141
141
  * @param {string} params.orgId - Organization id
@@ -178,7 +178,7 @@ class Organization {
178
178
  }
179
179
 
180
180
  /**
181
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
181
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
182
182
  * @description Remove avatar of user by session of user not allow session user SU
183
183
  * @param {string} params.orgId - Organization id
184
184
  * @param {string} session - Is token JWT of user SU
@@ -120,7 +120,7 @@ class AdminPlugin {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -170,7 +170,7 @@ class AdminPlugin {
170
170
  }
171
171
 
172
172
  /**
173
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
173
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
174
174
  * @description Get plugin by ID
175
175
  * @param {string} id Plugin Id (_id database)
176
176
  * @param {string} session Session, token JWT
@@ -105,7 +105,7 @@ class AdminPolicy {
105
105
  }
106
106
 
107
107
  /**
108
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
108
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
109
109
  * @description Get the return data and check for errors
110
110
  * @param {object} retData Response HTTP
111
111
  * @return {*}
@@ -120,7 +120,7 @@ class AdminPolicy {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -135,7 +135,7 @@ class AdminPolicy {
135
135
  }
136
136
 
137
137
  /**
138
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
138
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
139
139
  * @description Find all policies
140
140
  * @param {string} session Session, token JWT
141
141
  * @return {Promise}
@@ -293,7 +293,7 @@ class AdminProcesses {
293
293
  }
294
294
 
295
295
  /**
296
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
296
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
297
297
  * @description Set header with new session
298
298
  * @param {string} session Session, token JWT
299
299
  * @return {object} header with new session
@@ -308,7 +308,7 @@ class AdminProcesses {
308
308
  }
309
309
 
310
310
  /**
311
- * @author Thiago Anselmo &lt;thiagoo.anselmoo@gmail.com>
311
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
312
312
  * @description Mount query string to send in URL
313
313
  * @param {object} params Params to mount query string
314
314
  * @private
@@ -343,7 +343,7 @@ class AdminProcesses {
343
343
 
344
344
  /**
345
345
  * @see https://confluence.external-share.com/content/7450b014-52c6-4d9e-b30e-a062b57453b5/17104899/17694721/532545537
346
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
346
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
347
347
  * @description Advanced search of processes, check documentation, to verify all params, pass to method search
348
348
  * @return {Promise}
349
349
  * @public
@@ -405,7 +405,7 @@ class AdminProcesses {
405
405
  }
406
406
 
407
407
  /**
408
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
408
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
409
409
  * @description Advanced search of process in elastic search ussing system manager
410
410
  * @param {!object} params - Params to search document
411
411
  * @param {!string} params.orgProcessId - Document id (_id database) of the process
@@ -120,7 +120,7 @@ class AdminTask {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -135,7 +135,7 @@ class AdminTask {
135
135
  }
136
136
 
137
137
  /**
138
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
138
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
139
139
  * @description Get filter to search tasks
140
140
  * @param {string} filter Filter type
141
141
  * @return {*}
@@ -154,7 +154,7 @@ class AdminTask {
154
154
  }
155
155
 
156
156
  /**
157
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
157
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
158
158
  * @description Get task by user Id
159
159
  * @param {object} params Params to get task
160
160
  * @param {string} params.userId User id (_id database)
@@ -105,7 +105,7 @@ class AdminUser {
105
105
  }
106
106
 
107
107
  /**
108
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
108
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
109
109
  * @description Get the return data and check for errors
110
110
  * @param {object} retData Response HTTP
111
111
  * @return {*}
@@ -120,7 +120,7 @@ class AdminUser {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -135,7 +135,7 @@ class AdminUser {
135
135
  }
136
136
 
137
137
  /**
138
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
138
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
139
139
  * @description Request profile by userId
140
140
  * @param {string} userId User identifier (_id database)
141
141
  * @param {string} session Is token JWT
@@ -166,7 +166,7 @@ class AdminUser {
166
166
  }
167
167
 
168
168
  /**
169
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
169
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
170
170
  * @description Request profile by userId
171
171
  * @param {string} userIds Users identifier (_id database)
172
172
  * @param {string} apiKey Api to use to search users
@@ -196,7 +196,7 @@ class AdminUser {
196
196
  }
197
197
 
198
198
  /**
199
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
199
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
200
200
  * @description Update password by userId
201
201
  * @param {object} params Params to update password
202
202
  * @param {string} params.userId Id of the user
@@ -237,7 +237,7 @@ class AdminUser {
237
237
  }
238
238
 
239
239
  /**
240
- * @author Thiago Anselmo &lt;thiagoo.anselmoo@gmail.com>
240
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
241
241
  * @description Check if email is unique
242
242
  * @param {string} email Check if email is unique
243
243
  * @param {string} session Is token JWT
@@ -120,7 +120,7 @@ class Dispatch {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -164,7 +164,7 @@ class Dispatch {
164
164
  }
165
165
 
166
166
  /**
167
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
167
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
168
168
  * @description Get client Axios
169
169
  * @return {promise} return client axios
170
170
  * @public
@@ -120,7 +120,7 @@ class External {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -135,7 +135,7 @@ class External {
135
135
  }
136
136
 
137
137
  /**
138
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
138
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
139
139
  * @description Create new document
140
140
  * @param {object} params Object for add new document
141
141
  * @param {string} params.id Organization form id
@@ -174,7 +174,7 @@ class External {
174
174
  }
175
175
 
176
176
  /**
177
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
177
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
178
178
  * @description Get an upload signed url, so it will be possible to upload documents temporarily during the use of the external form
179
179
  * @param {string} mime the mime type of the document
180
180
  * @param {string} authorization a legal authorization
@@ -212,7 +212,7 @@ class External {
212
212
  }
213
213
 
214
214
  /**
215
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
215
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
216
216
  * @description Get an upload signed url, for many documents. So it will be possible to upload documents temporarily during the use of the external form
217
217
  * @param {array&lt;object>} docs the list of documents
218
218
  * @param {string} docs.mime the mime type of the document
@@ -253,7 +253,7 @@ class External {
253
253
  }
254
254
 
255
255
  /**
256
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
256
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
257
257
  * @description Handles the execution of an external form
258
258
  * @param {string} authorization a legal authorization
259
259
  * @param {object} params the parameters to handle the execution of an external form
@@ -105,7 +105,7 @@ class GeoLocation {
105
105
  }
106
106
 
107
107
  /**
108
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
108
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
109
109
  * @description Get the return data and check for errors
110
110
  * @param {object} retData Response HTTP
111
111
  * @return {*}
@@ -120,7 +120,7 @@ class GeoLocation {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -135,7 +135,7 @@ class GeoLocation {
135
135
  }
136
136
 
137
137
  /**
138
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
138
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
139
139
  * @description Get geo location of the address
140
140
  * @param {!object} params - Params to get geo location
141
141
  * @param {!string} params.address - The address to get the location for
@@ -93,7 +93,7 @@ import Geo from './geoLocation.js';
93
93
  */
94
94
  class Users {
95
95
  /**
96
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
96
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
97
97
  * @constructor
98
98
  * @param {object} options Params of the constructor
99
99
  * @param {object} options.parent This of the pararent
@@ -119,7 +119,7 @@ class Login {
119
119
  }
120
120
 
121
121
  /**
122
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
122
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
123
123
  * @description Set header with new session
124
124
  * @param {string} session Session, token JWT
125
125
  * @return {object} header with new session
@@ -134,7 +134,7 @@ class Login {
134
134
  }
135
135
 
136
136
  /**
137
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
137
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
138
138
  * @description Login with social login Facebook
139
139
  * @param {object} params Params to login Facebook
140
140
  * @param {string} params.accessToken Access token of the system manager
@@ -174,7 +174,7 @@ class Login {
174
174
  }
175
175
 
176
176
  /**
177
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
177
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
178
178
  * @description Login with social login Google
179
179
  * @param {object} params Params to login Google
180
180
  * @param {string} params.accessToken Access token of the system manager
@@ -214,7 +214,7 @@ class Login {
214
214
  }
215
215
 
216
216
  /**
217
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
217
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
218
218
  * @description Login with apikey
219
219
  * @param {string} apikey Access key
220
220
  * @return {promise&lt;object>} data
@@ -245,7 +245,7 @@ class Login {
245
245
  }
246
246
 
247
247
  /**
248
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
248
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
249
249
  * @description Login with user and password
250
250
  * @param {object} params Object with user and password
251
251
  * @param {string} params.username Username or email of the user
@@ -289,7 +289,7 @@ class Login {
289
289
  }
290
290
 
291
291
  /**
292
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
292
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
293
293
  * @description Logout user system manager
294
294
  * @param {string} session Session, token JWT
295
295
  * @return {promise&lt;object>}} data
@@ -320,7 +320,7 @@ class Login {
320
320
  }
321
321
 
322
322
  /**
323
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
323
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
324
324
  * @description Recover the password
325
325
  * @param {string} username The username or email
326
326
  * @return {promise&lt;object>}} data
@@ -122,7 +122,7 @@ class Session {
122
122
  }
123
123
 
124
124
  /**
125
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
125
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
126
126
  * @description Set header with new session
127
127
  * @param {string} session Session, token JWT
128
128
  * @return {object} header with new session
@@ -122,7 +122,7 @@ class Application {
122
122
  }
123
123
 
124
124
  /**
125
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
125
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
126
126
  * @description Set header with new session
127
127
  * @param {string} session Session, token JWT
128
128
  * @return {object} header with new session
@@ -137,7 +137,7 @@ class Application {
137
137
  }
138
138
 
139
139
  /**
140
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
140
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
141
141
  * @description Get the available applications for this user in this organizations
142
142
  * @param {object} params Params to get task
143
143
  * @param {object} params.orgId Organization id (_id database)
@@ -120,7 +120,7 @@ class Datasource {
120
120
  }
121
121
 
122
122
  /**
123
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
123
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
124
124
  * @description Set header with new session
125
125
  * @param {string} session Session, token JWT
126
126
  * @return {object} header with new session
@@ -139,7 +139,7 @@ class Datasource {
139
139
  }
140
140
 
141
141
  /**
142
- * @author CloudBrasil &lt;abernardo.br@gmail.com>
142
+ * @author Myndware &lt;augusto.pissarra@myndware.com>
143
143
  * @description Method to get autocomplete data from a datasource
144
144
  * @param {object} params Params to add notification token
145
145
  * @param {string} params.orgId The user organization _id