@docbrasil/api-systemmanager 1.1.20 → 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.
- package/api/user/my_tasks.js +1 -1
- package/api/user/user.js +100 -1
- package/dist/bundle.cjs +101 -2
- package/dist/bundle.mjs +1 -1
- package/doc/api.md +75 -2
- package/docs/MyTasks.html +1 -1
- package/docs/User.html +919 -1
- package/docs/user_my_tasks.js.html +1 -1
- package/docs/user_user.js.html +100 -1
- package/package.json +1 -1
package/docs/User.html
CHANGED
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
const api = new API();
|
|
433
433
|
const id = '616eccaaa9360a05293b10fe';
|
|
434
434
|
const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
|
|
435
|
-
await api.user.changeOrganization
|
|
435
|
+
await api.user.changeOrganization(id, session);</code></pre>
|
|
436
436
|
|
|
437
437
|
|
|
438
438
|
|
|
@@ -1027,6 +1027,924 @@ await api.user.profile.findByIdAndUpdate(params, session);</code></pre>
|
|
|
1027
1027
|
|
|
1028
1028
|
|
|
1029
1029
|
|
|
1030
|
+
</div>
|
|
1031
|
+
|
|
1032
|
+
<div class="member">
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
<h4 class="name" id="getChartJWT">
|
|
1037
|
+
<a class="href-link" href="#getChartJWT">#</a>
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
<span class='tag'>async</span>
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
<span class="code-name">
|
|
1044
|
+
|
|
1045
|
+
getChartJWT<span class="signature">(query, session)</span><span class="type-signature"> → {Promise.<string>}</span>
|
|
1046
|
+
|
|
1047
|
+
</span>
|
|
1048
|
+
</h4>
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
<div class="description">
|
|
1054
|
+
Get the Atlas Chart JWT Token, so we can access authorized the created charts
|
|
1055
|
+
</div>
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
<h5>Parameters:</h5>
|
|
1067
|
+
|
|
1068
|
+
<div class="table-container">
|
|
1069
|
+
<table class="params table">
|
|
1070
|
+
<thead>
|
|
1071
|
+
<tr>
|
|
1072
|
+
|
|
1073
|
+
<th>Name</th>
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
<th>Type</th>
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
<th>Default</th>
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
<th class="last">Description</th>
|
|
1085
|
+
</tr>
|
|
1086
|
+
</thead>
|
|
1087
|
+
|
|
1088
|
+
<tbody>
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
<tr class="deep-level-0">
|
|
1093
|
+
|
|
1094
|
+
<td class="name"><code>query</code></td>
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
<td class="type">
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
<code class="param-type">object</code>
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
</td>
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
<td class="default">
|
|
1110
|
+
|
|
1111
|
+
{}
|
|
1112
|
+
|
|
1113
|
+
</td>
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
<td class="description last">The query, if any, to add to the JWT token</td>
|
|
1117
|
+
</tr>
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
<tr class="deep-level-1">
|
|
1123
|
+
|
|
1124
|
+
<td class="name"><code>orgIds</code></td>
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
<td class="type">
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
<code class="param-type">array.<string></code>
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
</td>
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
<td class="default">
|
|
1140
|
+
|
|
1141
|
+
</td>
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
<td class="description last">An array of orgIds that we want to filter by</td>
|
|
1145
|
+
</tr>
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
<tr class="deep-level-1">
|
|
1150
|
+
|
|
1151
|
+
<td class="name"><code>orgProcessIds</code></td>
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
<td class="type">
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
<code class="param-type">array.<string></code>
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
</td>
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
<td class="default">
|
|
1167
|
+
|
|
1168
|
+
</td>
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
<td class="description last">An array of orgProcessId that we want to filter by</td>
|
|
1172
|
+
</tr>
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
<tr class="deep-level-1">
|
|
1177
|
+
|
|
1178
|
+
<td class="name"><code>tags</code></td>
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
<td class="type">
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
<code class="param-type">array.<string></code>
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
</td>
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
<td class="default">
|
|
1194
|
+
|
|
1195
|
+
</td>
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
<td class="description last">An array of org processes tags that we want to filter by</td>
|
|
1199
|
+
</tr>
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
<tr class="deep-level-1">
|
|
1204
|
+
|
|
1205
|
+
<td class="name"><code>startDate</code></td>
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
<td class="type">
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
<code class="param-type">date</code>
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
</td>
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
<td class="default">
|
|
1221
|
+
|
|
1222
|
+
</td>
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
<td class="description last">The start date in ISO format that we want to filter by</td>
|
|
1226
|
+
</tr>
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
<tr class="deep-level-1">
|
|
1231
|
+
|
|
1232
|
+
<td class="name"><code>endDate</code></td>
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
<td class="type">
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
<code class="param-type">date</code>
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
</td>
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
<td class="default">
|
|
1248
|
+
|
|
1249
|
+
</td>
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
<td class="description last">The start date in ISO format that we want to filter by</td>
|
|
1253
|
+
</tr>
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
<tr class="deep-level-0">
|
|
1262
|
+
|
|
1263
|
+
<td class="name"><code>session</code></td>
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
<td class="type">
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
<code class="param-type">string</code>
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
</td>
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
<td class="default">
|
|
1279
|
+
|
|
1280
|
+
</td>
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
<td class="description last">Is token JWT of user NOT allow SU</td>
|
|
1284
|
+
</tr>
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
</tbody>
|
|
1289
|
+
</table>
|
|
1290
|
+
</div>
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
<dl class="details">
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
<dt class="tag-author">Author:</dt>
|
|
1316
|
+
<dd class="tag-author">
|
|
1317
|
+
<ul>
|
|
1318
|
+
<li><a href="mailto:augusto.pissarra@myndware.com">Myndware</a></li>
|
|
1319
|
+
</ul>
|
|
1320
|
+
</dd>
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
<p class="tag-source">
|
|
1336
|
+
<a href="user_user.js.html" class="button">View Source</a>
|
|
1337
|
+
<span>
|
|
1338
|
+
<a href="user_user.js.html">user/user.js</a>, <a href="user_user.js.html#line307">line 307</a>
|
|
1339
|
+
</span>
|
|
1340
|
+
</p>
|
|
1341
|
+
|
|
1342
|
+
</dl>
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
<div class='columns method-parameter'>
|
|
1362
|
+
<div class="column is-2"><label>Returns:</label></div>
|
|
1363
|
+
<div class="column is-10">
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
<div class="columns">
|
|
1368
|
+
|
|
1369
|
+
<div class='param-desc column is-7'>JWT Token</div>
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
<div class='column is-5 has-text-left'>
|
|
1373
|
+
<label>Type: </label>
|
|
1374
|
+
|
|
1375
|
+
<code class="param-type">Promise.<string></code>
|
|
1376
|
+
|
|
1377
|
+
|
|
1378
|
+
</div>
|
|
1379
|
+
|
|
1380
|
+
</div>
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
</div>
|
|
1384
|
+
</div>
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
<h5>Example</h5>
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
<pre class="prettyprint"><code>const API = require('@docbrasil/api-systemmanager');
|
|
1393
|
+
const api = new API();
|
|
1394
|
+
const query = { orgIds: ['616eccaaa9360a05293b10fe'] };
|
|
1395
|
+
const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
|
|
1396
|
+
const jwtToken = await api.user.changeOrganization.getChartJWT(query, session);</code></pre>
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
</div>
|
|
1401
|
+
|
|
1402
|
+
<div class="member">
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
<h4 class="name" id="getChartOrganizations">
|
|
1407
|
+
<a class="href-link" href="#getChartOrganizations">#</a>
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
<span class='tag'>async</span>
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
<span class="code-name">
|
|
1414
|
+
|
|
1415
|
+
getChartOrganizations<span class="signature">(session)</span><span class="type-signature"> → {Promise|array.<object>|array.<object>|array.<object>}</span>
|
|
1416
|
+
|
|
1417
|
+
</span>
|
|
1418
|
+
</h4>
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
<div class="description">
|
|
1424
|
+
Get the user organizations to run dashboard filtering
|
|
1425
|
+
</div>
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
<h5>Parameters:</h5>
|
|
1437
|
+
|
|
1438
|
+
<div class="table-container">
|
|
1439
|
+
<table class="params table">
|
|
1440
|
+
<thead>
|
|
1441
|
+
<tr>
|
|
1442
|
+
|
|
1443
|
+
<th>Name</th>
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
<th>Type</th>
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
<th class="last">Description</th>
|
|
1453
|
+
</tr>
|
|
1454
|
+
</thead>
|
|
1455
|
+
|
|
1456
|
+
<tbody>
|
|
1457
|
+
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
<tr class="deep-level-0">
|
|
1461
|
+
|
|
1462
|
+
<td class="name"><code>session</code></td>
|
|
1463
|
+
|
|
1464
|
+
|
|
1465
|
+
<td class="type">
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
<code class="param-type">string</code>
|
|
1469
|
+
|
|
1470
|
+
|
|
1471
|
+
|
|
1472
|
+
</td>
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
|
|
1478
|
+
<td class="description last">Is token JWT of user NOT allow SU</td>
|
|
1479
|
+
</tr>
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
</tbody>
|
|
1484
|
+
</table>
|
|
1485
|
+
</div>
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
<dl class="details">
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
<dt class="tag-author">Author:</dt>
|
|
1511
|
+
<dd class="tag-author">
|
|
1512
|
+
<ul>
|
|
1513
|
+
<li><a href="mailto:augusto.pissarra@myndware.com">Myndware</a></li>
|
|
1514
|
+
</ul>
|
|
1515
|
+
</dd>
|
|
1516
|
+
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
|
|
1530
|
+
<p class="tag-source">
|
|
1531
|
+
<a href="user_user.js.html" class="button">View Source</a>
|
|
1532
|
+
<span>
|
|
1533
|
+
<a href="user_user.js.html">user/user.js</a>, <a href="user_user.js.html#line338">line 338</a>
|
|
1534
|
+
</span>
|
|
1535
|
+
</p>
|
|
1536
|
+
|
|
1537
|
+
</dl>
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
|
|
1543
|
+
|
|
1544
|
+
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
<div class='columns method-parameter'>
|
|
1557
|
+
<div class="column is-2"><label>Returns:</label></div>
|
|
1558
|
+
<div class="column is-10">
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
<div class="columns">
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
<div class='column is-5 has-text-left'>
|
|
1566
|
+
<label>Type: </label>
|
|
1567
|
+
|
|
1568
|
+
<code class="param-type">Promise</code>
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
</div>
|
|
1572
|
+
|
|
1573
|
+
</div>
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
<div class="columns">
|
|
1579
|
+
|
|
1580
|
+
<div class='param-desc column is-7'>Array of organizations</div>
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
<div class='column is-5 has-text-left'>
|
|
1584
|
+
<label>Type: </label>
|
|
1585
|
+
|
|
1586
|
+
<code class="param-type">array.<object></code>
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
</div>
|
|
1590
|
+
|
|
1591
|
+
</div>
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
<div class="columns">
|
|
1597
|
+
|
|
1598
|
+
<div class='param-desc column is-7'>id The id of the organization</div>
|
|
1599
|
+
|
|
1600
|
+
|
|
1601
|
+
<div class='column is-5 has-text-left'>
|
|
1602
|
+
<label>Type: </label>
|
|
1603
|
+
|
|
1604
|
+
<code class="param-type">array.<object></code>
|
|
1605
|
+
|
|
1606
|
+
|
|
1607
|
+
</div>
|
|
1608
|
+
|
|
1609
|
+
</div>
|
|
1610
|
+
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
<div class="columns">
|
|
1615
|
+
|
|
1616
|
+
<div class='param-desc column is-7'>text The name of the organization</div>
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
<div class='column is-5 has-text-left'>
|
|
1620
|
+
<label>Type: </label>
|
|
1621
|
+
|
|
1622
|
+
<code class="param-type">array.<object></code>
|
|
1623
|
+
|
|
1624
|
+
|
|
1625
|
+
</div>
|
|
1626
|
+
|
|
1627
|
+
</div>
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
</div>
|
|
1631
|
+
</div>
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
<h5>Example</h5>
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
<pre class="prettyprint"><code>const API = require('@docbrasil/api-systemmanager');
|
|
1640
|
+
const api = new API();
|
|
1641
|
+
const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
|
|
1642
|
+
const organizations = await api.user.changeOrganization.getChartOrganizations(session);</code></pre>
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
</div>
|
|
1647
|
+
|
|
1648
|
+
<div class="member">
|
|
1649
|
+
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
<h4 class="name" id="getChartTags">
|
|
1653
|
+
<a class="href-link" href="#getChartTags">#</a>
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
<span class='tag'>async</span>
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
<span class="code-name">
|
|
1660
|
+
|
|
1661
|
+
getChartTags<span class="signature">(orgIds, session)</span><span class="type-signature"> → {Promise|array.<object>|srting|srting|array.<srting>}</span>
|
|
1662
|
+
|
|
1663
|
+
</span>
|
|
1664
|
+
</h4>
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
<div class="description">
|
|
1670
|
+
Given orgIds, return all the tags and org processes ids that can be used to filter dashboards
|
|
1671
|
+
</div>
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
<h5>Parameters:</h5>
|
|
1683
|
+
|
|
1684
|
+
<div class="table-container">
|
|
1685
|
+
<table class="params table">
|
|
1686
|
+
<thead>
|
|
1687
|
+
<tr>
|
|
1688
|
+
|
|
1689
|
+
<th>Name</th>
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
<th>Type</th>
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
|
|
1697
|
+
<th>Default</th>
|
|
1698
|
+
|
|
1699
|
+
|
|
1700
|
+
<th class="last">Description</th>
|
|
1701
|
+
</tr>
|
|
1702
|
+
</thead>
|
|
1703
|
+
|
|
1704
|
+
<tbody>
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
<tr class="deep-level-0">
|
|
1709
|
+
|
|
1710
|
+
<td class="name"><code>orgIds</code></td>
|
|
1711
|
+
|
|
1712
|
+
|
|
1713
|
+
<td class="type">
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
<code class="param-type">array.<string></code>
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
</td>
|
|
1721
|
+
|
|
1722
|
+
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
<td class="default">
|
|
1726
|
+
|
|
1727
|
+
[
|
|
1728
|
+
|
|
1729
|
+
</td>
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
<td class="description last">An array of orgIds</td>
|
|
1733
|
+
</tr>
|
|
1734
|
+
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
<tr class="deep-level-0">
|
|
1740
|
+
|
|
1741
|
+
<td class="name"><code>session</code></td>
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
<td class="type">
|
|
1745
|
+
|
|
1746
|
+
|
|
1747
|
+
<code class="param-type">string</code>
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
</td>
|
|
1752
|
+
|
|
1753
|
+
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
<td class="default">
|
|
1757
|
+
|
|
1758
|
+
</td>
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
<td class="description last">Is token JWT of user NOT allow SU</td>
|
|
1762
|
+
</tr>
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
|
|
1766
|
+
</tbody>
|
|
1767
|
+
</table>
|
|
1768
|
+
</div>
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
<dl class="details">
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
<dt class="tag-author">Author:</dt>
|
|
1794
|
+
<dd class="tag-author">
|
|
1795
|
+
<ul>
|
|
1796
|
+
<li><a href="mailto:augusto.pissarra@myndware.com">Myndware</a></li>
|
|
1797
|
+
</ul>
|
|
1798
|
+
</dd>
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
|
|
1802
|
+
|
|
1803
|
+
|
|
1804
|
+
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
|
|
1812
|
+
|
|
1813
|
+
<p class="tag-source">
|
|
1814
|
+
<a href="user_user.js.html" class="button">View Source</a>
|
|
1815
|
+
<span>
|
|
1816
|
+
<a href="user_user.js.html">user/user.js</a>, <a href="user_user.js.html#line370">line 370</a>
|
|
1817
|
+
</span>
|
|
1818
|
+
</p>
|
|
1819
|
+
|
|
1820
|
+
</dl>
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
|
|
1829
|
+
|
|
1830
|
+
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
|
|
1838
|
+
|
|
1839
|
+
<div class='columns method-parameter'>
|
|
1840
|
+
<div class="column is-2"><label>Returns:</label></div>
|
|
1841
|
+
<div class="column is-10">
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
<div class="columns">
|
|
1846
|
+
|
|
1847
|
+
|
|
1848
|
+
<div class='column is-5 has-text-left'>
|
|
1849
|
+
<label>Type: </label>
|
|
1850
|
+
|
|
1851
|
+
<code class="param-type">Promise</code>
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
</div>
|
|
1855
|
+
|
|
1856
|
+
</div>
|
|
1857
|
+
|
|
1858
|
+
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
<div class="columns">
|
|
1862
|
+
|
|
1863
|
+
<div class='param-desc column is-7'>The array of each org process and tags associated with them</div>
|
|
1864
|
+
|
|
1865
|
+
|
|
1866
|
+
<div class='column is-5 has-text-left'>
|
|
1867
|
+
<label>Type: </label>
|
|
1868
|
+
|
|
1869
|
+
<code class="param-type">array.<object></code>
|
|
1870
|
+
|
|
1871
|
+
|
|
1872
|
+
</div>
|
|
1873
|
+
|
|
1874
|
+
</div>
|
|
1875
|
+
|
|
1876
|
+
|
|
1877
|
+
|
|
1878
|
+
|
|
1879
|
+
<div class="columns">
|
|
1880
|
+
|
|
1881
|
+
<div class='param-desc column is-7'>id The id of the org process</div>
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
<div class='column is-5 has-text-left'>
|
|
1885
|
+
<label>Type: </label>
|
|
1886
|
+
|
|
1887
|
+
<code class="param-type">srting</code>
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
</div>
|
|
1891
|
+
|
|
1892
|
+
</div>
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
<div class="columns">
|
|
1898
|
+
|
|
1899
|
+
<div class='param-desc column is-7'>name The name of the org process</div>
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
<div class='column is-5 has-text-left'>
|
|
1903
|
+
<label>Type: </label>
|
|
1904
|
+
|
|
1905
|
+
<code class="param-type">srting</code>
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
</div>
|
|
1909
|
+
|
|
1910
|
+
</div>
|
|
1911
|
+
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
|
|
1915
|
+
<div class="columns">
|
|
1916
|
+
|
|
1917
|
+
<div class='param-desc column is-7'>tags The array of tags of the org process</div>
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
<div class='column is-5 has-text-left'>
|
|
1921
|
+
<label>Type: </label>
|
|
1922
|
+
|
|
1923
|
+
<code class="param-type">array.<srting></code>
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
</div>
|
|
1927
|
+
|
|
1928
|
+
</div>
|
|
1929
|
+
|
|
1930
|
+
|
|
1931
|
+
</div>
|
|
1932
|
+
</div>
|
|
1933
|
+
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
<h5>Example</h5>
|
|
1938
|
+
|
|
1939
|
+
|
|
1940
|
+
<pre class="prettyprint"><code>const API = require('@docbrasil/api-systemmanager');
|
|
1941
|
+
const api = new API();
|
|
1942
|
+
const orgIds: ['616eccaaa9360a05293b10fe'];
|
|
1943
|
+
const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
|
|
1944
|
+
const jwtToken = await api.user.changeOrganization.getChartTags(orgIds, session);</code></pre>
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
|
|
1030
1948
|
</div>
|
|
1031
1949
|
|
|
1032
1950
|
<div class="member">
|